:root {
    --primary-start: #00E5CC;
    --primary-end: #00C2FF;
    --secondary: #363C45;
    --bg-light: #F8F9FA;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--secondary);
    /* Dark theme base from reference image */
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--secondary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 229, 204, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-secondary:hover {
    border-color: var(--primary-start);
    color: var(--primary-start);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
header {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    top: 0;
}

nav {
    display: flex;
    align-items: center;
    /* justify-content: space-between; Removed to allow center alignment */
    padding: 0 1rem;
    /* Add side padding to nav itself if container is tight */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.nav-logo {
    height: auto;
    width: 140px;
    /* Slightly refined size for balance */
    display: block;
}

/* Removed .nav-brand styles as text is gone */

.nav-links {
    display: flex;
    gap: 2.5rem;
    /* Balanced spacing */
    list-style: none;
    margin: 0 auto;
    /* Absolute centering */
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    /* Higher contrast */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    /* Refined font size */
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
    /* Premium feel */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.icon-btn:hover {
    opacity: 1;
}

.user-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    /* Space for header */
    padding-bottom: 4rem;
    background-image:
        linear-gradient(rgba(54, 60, 69, 0.95), rgba(54, 60, 69, 0.95)),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300E5CC' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 229, 204, 0.1) 0%, rgba(54, 60, 69, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.cta-subtext {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin: 0;
}


.dashboard-preview {
    position: relative;
    z-index: 5;
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #2A3038;
}

.dashboard-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* Widgets Grid (from reference) */
.widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.widget-card {
    background: #242930;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.widget-card:hover {
    transform: translateY(-5px);
}

.widget-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.widget-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.widget-graph {
    height: 60px;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 229, 204, 0.1), rgba(0, 229, 204, 0));
    position: relative;
    border-radius: 4px;
}

.widget-graph::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='60' viewBox='0 0 300 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 Q40,20 80,40 T160,30 T240,40 T300,10' fill='none' stroke='%2300E5CC' stroke-width='2'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.bg-darker {
    background: #242930;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Steps Grid (How It Works) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 229, 204, 0.3);
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Features Refined */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 204, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Why Dealers Love It */
.love-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.love-list {
    list-style: none;
    margin: 2rem 0;
}

.love-list li {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.love-summary {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-start);
}

.love-visual {
    text-align: center;
    font-size: 10rem;
    opacity: 0.1;
}

.love-icon-large {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pricing */
.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(145deg, #2A3038, #242930);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.price-header h3 {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.period {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.price-features {
    margin: 2.5rem 0;
    text-align: left;
    display: inline-block;
}

.price-features p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features i {
    color: var(--primary-start);
}

/* CTA Section Update */
.cta-section {
    padding: 6rem 1rem;
    background: var(--gradient-primary);
    text-align: center;
    color: var(--secondary);
}

.cta-section h2 {
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--secondary);
    color: white;
}

.cta-section .btn-primary:hover {
    background: #1a1e24;
    color: white;
}

.cta-section .btn-secondary {
    border-color: var(--secondary);
    color: var(--secondary);
}

.cta-section .btn-secondary:hover {
    background: var(--secondary);
    color: white;
}

/* Footer */
footer {
    background: #1F242B;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    nav {
        justify-content: space-between;
        padding: 0 1rem;
        position: relative;
    }

    .nav-left {
        flex-shrink: 0;
    }

    .nav-logo {
        width: 120px;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Nav Dropdown */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f1216;
        /* Dark background matching header */
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        /* Animation properties */
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        pointer-events: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    /* Open State */
    nav.nav-open .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav-actions {
        margin-left: auto;
        /* Push to right, next to burger */
        gap: 0.5rem;
    }

    .nav-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Steps Grid Mobile */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Features Grid Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .love-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}