/* ==========================================================
   TowDynamiq Homepage Styles
   Feature-flagged: new homepage + old "coming soon" fallback
   ========================================================== */


/* ==========================================================
   OLD "COMING SOON" HOMEPAGE
   Only applies when <body class="coming-soon">
   ========================================================== */
body.coming-soon {
    font-family: 'Poppins', sans-serif;
    background-color: #ebebe8;
    color: #333;
    text-align: center;
    padding: 50px 20px;
    margin: 0;
    line-height: normal;
    overflow-x: auto;
}

.coming-soon-logo img {
    width: 400px;
    margin: 0 auto;
    display: inline;
}

.coming-soon-title {
    font-size: 28px;
    color: #002f44;
    font-weight: 600;
    margin-top: 0;
}

.coming-soon .dots span {
    opacity: 0;
    animation: coming-soon-pulse 1s infinite;
}

.coming-soon .dots span:nth-child(1) { animation-delay: 0s; }
.coming-soon .dots span:nth-child(2) { animation-delay: 0.2s; }
.coming-soon .dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes coming-soon-pulse {
    0%, 100% { opacity: 0; }
    50%      { opacity: 1; }
}

@media (max-width: 600px) {
    body.coming-soon {
        padding: 30px 15px;
    }

    .coming-soon-title {
        font-size: 22px;
    }

    .coming-soon-logo img {
        max-width: 300px;
    }
}


/* ==========================================================
   NEW HOMEPAGE - B2B SaaS Landing Page Styles
   Dynamic Pricing Intelligence for Towing Companies

   Brand Colors (strict):
     Navy:       #002f44
     Navy-light: #004d66
     Navy-dark:  #001f2e
     Teal:       #2a9d8f (logo accent)
     Teal-dark:  #228176
     Teal-light: #35b8a8
     BG:         #f5f5f3, #ebebe8
     White:      #ffffff
   ========================================================== */

/* ===== CSS Custom Properties ===== */
:root {
    --navy:        #002f44;
    --navy-light:  #004d66;
    --navy-dark:   #001f2e;
    --teal:        #2a9d8f;
    --teal-dark:   #228176;
    --teal-light:  #35b8a8;
    --bg:          #f5f5f3;
    --bg-alt:      #ebebe8;
    --white:       #ffffff;
    --text:        #2c3e50;
    --text-light:  #5a6a7a;
    --text-muted:  #8899aa;
    --border:      #dde2e8;
    --shadow-sm:   0 1px 3px rgba(0, 47, 68, 0.06);
    --shadow-md:   0 4px 16px rgba(0, 47, 68, 0.10);
    --shadow-lg:   0 12px 40px rgba(0, 47, 68, 0.15);
    --shadow-xl:   0 20px 60px rgba(0, 47, 68, 0.20);
    --radius:      12px;
    --radius-sm:   8px;
    --radius-lg:   20px;
    --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition:  all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: var(--font); }

.container {
    max-width: 1140px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}


/* ===== Shared Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    background: rgba(42, 157, 143, 0.08);
    color: var(--teal);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag-light {
    background: rgba(42, 157, 143, 0.15);
    color: var(--teal-light);
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-header-light .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header-light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}


/* ===== Shared Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-sm {
    padding: 9px 22px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 17px;
}

.btn-accent {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.btn-accent:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full { width: 100%; }


/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 31, 46, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(0, 31, 46, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.12);
}

.header-container {
    max-width: 1140px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* Logo */
.logo { flex-shrink: 0; }

.logo-img {
    height: 42px;
    width: auto;
}

/* Desktop Nav */
.main-nav { display: flex; align-items: center; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-login {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 6px;
}

.header-login:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.open .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 68px;
    background: var(--navy-dark);
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav-overlay.open {
    display: block;
    animation: fadeSlideDown 0.25s ease;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav { padding: 20px 24px 40px; }

.mobile-nav-links { margin-bottom: 20px; }

.mobile-nav-link {
    display: block;
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:hover { color: var(--teal-light); }

.mobile-login-btn {
    display: block;
    text-align: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.mobile-demo-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: var(--teal);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
}

.mobile-demo-btn:hover { background: var(--teal-dark); }


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    overflow: hidden;
    padding: 140px 20px 80px;
}

/* Subtle grid pattern */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Glow */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(42, 157, 143, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(42, 157, 143, 0.12);
    color: var(--teal-light);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(42, 157, 143, 0.2);
    margin-bottom: 28px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-accent {
    color: var(--teal-light);
}

.hero-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}


/* ===== Dashboard Mockup ===== */
.hero-mockup {
    max-width: 840px;
    margin: 0 auto;
    perspective: 1000px;
}

.mockup-window {
    background: var(--navy-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.mockup-body {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 260px;
}

.mockup-sidebar {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    border-radius: 6px;
    margin-bottom: 2px;
    font-weight: 500;
}

.mockup-sidebar-item i {
    font-size: 13px;
    width: 16px;
    text-align: center;
}

.mockup-sidebar-item.active {
    background: rgba(42, 157, 143, 0.15);
    color: var(--teal-light);
}

.mockup-main {
    padding: 20px;
}

.mockup-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.mockup-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 14px;
}

.mockup-stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
    font-weight: 500;
}

.mockup-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.mockup-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
}

.mockup-stat-change.up { color: var(--teal-light); }
.mockup-stat-change.neutral { color: rgba(255,255,255,0.35); }

.mockup-pricing-row {
    background: rgba(42, 157, 143, 0.08);
    border: 1px solid rgba(42, 157, 143, 0.15);
    border-radius: 8px;
    padding: 16px;
}

.mockup-pricing-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-weight: 500;
}

.mockup-tag {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 6px;
    animation: pulse-tag 2s infinite;
}

@keyframes pulse-tag {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.mockup-factors {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.mockup-factor {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-price-output {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-price-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.mockup-price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--teal-light);
    letter-spacing: -0.5px;
}


/* ============================================
   PROBLEM SECTION (Dark)
   ============================================ */
.problem {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--navy-dark), var(--navy));
    position: relative;
}

.problem::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.problem .container { position: relative; z-index: 1; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 157, 143, 0.12);
    color: var(--teal-light);
    font-size: 20px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.problem-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}


/* ============================================
   HOW IT WORKS (3-Step)
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    padding: 0 28px;
    max-width: 300px;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 18px;
    box-shadow: 0 4px 14px rgba(42, 157, 143, 0.25);
}

.step-icon {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 14px;
    opacity: 0.6;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--border);
    font-size: 16px;
    margin-top: 22px;
    flex-shrink: 0;
}

.connector-line {
    width: 40px;
    height: 1px;
    background: var(--border);
}


/* ============================================
   FEATURES GRID
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: rgba(42, 157, 143, 0.08);
    color: var(--teal);
    font-size: 20px;
    border-radius: 12px;
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(42, 157, 143, 0.1);
    color: var(--teal);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}


/* ============================================
   INTEGRATIONS (Dark)
   ============================================ */
.integrations {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--navy), var(--navy-dark));
    position: relative;
}

.integrations::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.integrations .container { position: relative; z-index: 1; }

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.integration-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.integration-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(42, 157, 143, 0.3);
    transform: translateY(-3px);
}

.integration-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: rgba(42, 157, 143, 0.12);
    color: var(--teal-light);
    font-size: 22px;
    border-radius: 14px;
}

.integration-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.integration-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 14px;
}

.integration-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
}

.integration-status.available {
    background: rgba(42, 157, 143, 0.15);
    color: var(--teal-light);
}

.integration-status.api {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}


/* ============================================
   BENEFITS / VALUE PROP
   ============================================ */
.benefits {
    padding: 100px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.benefit-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: transparent;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(42, 157, 143, 0.08);
    color: var(--teal);
    font-size: 24px;
    border-radius: 16px;
}

.benefit-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}


/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    padding: 80px 0;
    background: var(--bg);
}

.social-proof-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.social-proof-icon {
    font-size: 32px;
    color: var(--teal);
    opacity: 0.3;
    margin-bottom: 20px;
}

.social-proof-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.social-proof-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.social-proof-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-stat { text-align: center; }

.proof-stat-number {
    display: inline;
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
}

.proof-stat-suffix {
    font-size: 20px;
    font-weight: 600;
    color: var(--teal);
}

.proof-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.proof-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}


/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--navy-dark), var(--navy), var(--navy-light));
    position: relative;
}

.final-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(42, 157, 143, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 32px;
}

.cta-note {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 56px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 0.7fr);
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.footer-col h4 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-col ul li a:hover {
    color: var(--teal-light);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-email { color: rgba(255, 255, 255, 0.35); }


/* ============================================
   DEMO MODAL
   ============================================ */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 15, 23, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-header-section {
    margin-bottom: 28px;
}

.modal-header-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.modal-header-section p {
    font-size: 14px;
    color: var(--text-light);
}

/* Demo Form */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field { display: flex; flex-direction: column; }

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-field select {
    appearance: auto;
    -webkit-appearance: auto;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.12);
}

.form-field input::placeholder { color: var(--text-muted); }

.field-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 3px;
    min-height: 14px;
}

.form-field.has-error input,
.form-field.has-error select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/* Form success */
.form-success {
    display: none;
    text-align: center;
    padding: 28px;
}

.form-success.show { display: block; }

.form-success i {
    font-size: 40px;
    color: var(--teal);
    margin-bottom: 14px;
    display: block;
}

.form-success strong {
    display: block;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}


/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 500;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal);
    transform: translateY(-2px);
}


/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* ============================================
   RESPONSIVE - TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .header-actions { display: none; }
    .mobile-toggle { display: flex; }
    .main-nav { display: none; }

    .hero-title { font-size: 44px; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    /* Hide sidebar on tablet */
    .mockup-sidebar { display: none; }
    .mockup-body { grid-template-columns: 1fr; }
}


/* ============================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
    .container { width: 92%; padding: 0 16px; }

    .hero { padding: 110px 16px 56px; }
    .hero-title { font-size: 34px; letter-spacing: -1px; }
    .hero-subtitle { font-size: 16px; }
    .hero-badge { font-size: 11px; padding: 6px 14px; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 15px; }
    .section-header { margin-bottom: 36px; }

    .problem,
    .how-it-works,
    .features,
    .integrations,
    .benefits,
    .social-proof,
    .final-cta {
        padding: 64px 0;
    }

    .problem-grid { grid-template-columns: 1fr; }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .step-connector { transform: rotate(90deg); }
    .connector-line { width: 30px; }
    .step-card { max-width: 100%; }

    .features-grid,
    .integrations-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .social-proof-stats { gap: 20px; }
    .proof-stat-divider { display: none; }
    .proof-stat-number { font-size: 28px; }

    .cta-content h2 { font-size: 28px; }
    .cta-content p { font-size: 16px; }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-brand { text-align: center; }
    .footer-brand p { max-width: 100%; }
    .footer-logo { margin: 0 auto 14px; }
    .footer-social { justify-content: center; }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Modal */
    .modal-content { padding: 28px 20px; }
    .form-row-2col { grid-template-columns: 1fr; }

    /* Mockup adjustments */
    .mockup-sidebar { display: none; }
    .mockup-body { grid-template-columns: 1fr; }
    .mockup-stats-row { grid-template-columns: 1fr; gap: 8px; }
    .mockup-stat-value { font-size: 18px; }
    .mockup-price-value { font-size: 22px; }
    .mockup-factors { gap: 4px; }
    .mockup-factor { font-size: 10px; padding: 3px 8px; }

    .btn { padding: 12px 22px; font-size: 14px; }
    .btn-lg { padding: 14px 28px; font-size: 15px; }
}


/* ============================================
   RESPONSIVE - SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
    .hero-title { font-size: 28px; }

    .section-title { font-size: 24px; }

    .feature-card { padding: 24px 20px; }
    .benefit-card { padding: 28px 20px; }
    .problem-card { padding: 24px 20px; }
    .integration-card { padding: 24px 20px; }

    .social-proof-stats { flex-direction: column; gap: 16px; }

    .mockup-pricing-row { padding: 12px; }
    .mockup-price-output { flex-direction: column; gap: 4px; align-items: flex-start; }
}
