/* ===== DESIGN TOKENS ===== */
:root {
    --bg:       #09090b;
    --bg-2:     #111116;
    --bg-card:  rgba(24, 24, 31, 0.4);
    --border:   rgba(255,255,255,0.07);
    --gold:     #FFD700;
    --gold-dim: rgba(255,215,0,0.15);
    --gold-glow:rgba(255,215,0,0.35);
    --green:    #34C759;
    --red:      #FF3B30;
    --text:     #FFFFFF;
    --muted:    #8E8E9A;
    --radius:   16px;
    --radius-lg:28px;
    --shadow-card: 0 8px 32px rgba(0,0,0,0.5);
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Light Theme Overrides */
[data-theme="light"] {
    --bg:       #fafafa;
    --bg-2:     #ffffff;
    --bg-card:  rgba(255, 255, 255, 0.7);
    --border:   rgba(0,0,0,0.06);
    --gold:     #d97706; /* deeper gold for contrast */
    --gold-dim: rgba(217, 119, 6, 0.1);
    --gold-glow:rgba(217, 119, 6, 0.2);
    --green:    #16a34a;
    --text:     #111116;
    --muted:    #6b7280;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.06);
}
[data-theme="light"] .navbar { background: rgba(255,255,255,0.85); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
[data-theme="light"] .logo { color: #111; }
[data-theme="light"] .hero-glow { filter: blur(90px); opacity: 0.3; }
[data-theme="light"] .map-status { background: rgba(255,255,255,0.85); color: #000; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
[data-theme="light"] .btn-primary { color: #fff; background: #000; box-shadow: 0 8px 25px rgba(0,0,0,0.15); border: 1px solid #222; }
[data-theme="light"] .btn-primary:hover { background: #222; box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
[data-theme="light"] .phone { background: #e5e5ea; border-color: #d1d1d6; box-shadow: inset 0 0 0 3px #111, 0 40px 80px rgba(0,0,0,0.15); }
[data-theme="light"] .sc-phone { background: #e5e5ea; border-color: #d1d1d6; box-shadow: inset 0 0 0 3px #111, 0 30px 60px rgba(0,0,0,0.1); }
[data-theme="light"] footer { background: #f4f4f5; border-top: 1px solid var(--border); }
[data-theme="light"] .footer-logo, [data-theme="light"] .footer-copy { color: #111; }
[data-theme="light"] .footer-links a { color: var(--muted); }
[data-theme="light"] .footer-links a:hover { color: #000; }
[data-theme="light"] .radar-sweep { background: conic-gradient(from 0deg, rgba(217, 119, 6, 0.2) 0deg, transparent 45deg, transparent 360deg); mix-blend-mode: multiply; }
[data-theme="light"] .map-vignette { background: linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%), linear-gradient(to right, var(--bg) 0%, transparent 10%, transparent 90%, var(--bg) 100%); }
[data-theme="light"] .leaflet-tile { filter: brightness(110%) contrast(90%) hue-rotate(180deg) invert(100%); opacity: 0.15; }
[data-theme="light"] .float-chip { background: rgba(255,255,255,0.9); box-shadow: 0 8px 24px rgba(0,0,0,0.1); color: var(--text); }
[data-theme="light"] .driver-badge { background: rgba(22, 163, 74, 0.1); border-color: rgba(22, 163, 74, 0.2); }
[data-theme="light"] .hero-badge { background: rgba(217, 119, 6, 0.1); border-color: rgba(217, 119, 6, 0.2); }



/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); overflow-x: hidden; }
h1,h2,h3,h4,.logo { font-family: var(--font-head); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
section { padding: 100px 0; }
.mt-3 { margin-top: 1.2rem; }

/* ===== NAV ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(9,9,11,0.85); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; color: var(--text); }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.btn-nav-driver {
    font-size: 13px; font-weight: 700; color: var(--gold);
    border: 1px solid var(--gold); padding: 8px 16px; border-radius: 8px;
    transition: .25s;
}
.btn-nav-driver:hover { background: var(--gold-dim); }

.lang-switcher { display: flex; gap: 4px; }
.lang-switcher button, .theme-toggle {
    background: transparent; border: 1px solid var(--border);
    color: var(--muted); font-size: 14px; font-weight: 700;
    padding: 6px 12px; border-radius: 8px; cursor: pointer; transition: .2s; outline: none;
}
.theme-toggle { margin-right: 6px; }
.lang-switcher button.active { background: var(--gold); color: #fff; border-color: var(--gold); }
[data-theme="light"] .lang-switcher button.active { color: #fff; }
.lang-switcher button:hover, .theme-toggle:hover { background: var(--border); color: var(--text); }
[data-theme="light"] .theme-toggle i { color: #d97706; }

/* Mobile Menu */
.mobile-menu-btn { display: none; font-size: 24px; color: var(--text); background: transparent; border: none; cursor: pointer; padding: 4px; transition: .2s; }
.mobile-nav-overlay {
    position: fixed; top: 72px; left: 0; right: 0; background: var(--bg-card);
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    padding: 24px; display: flex; flex-direction: column; gap: 24px;
    transform: translateY(-150%); opacity: 0; visibility: hidden; transition: .4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 998;
}
.mobile-nav-overlay.active { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav-overlay a { font-size: 18px; font-weight: 700; color: var(--text); text-align: center; padding: 12px; border-radius: 12px; background: rgba(128,128,128,0.05); }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--gold); color: #000;
    font-family: var(--font-head); font-weight: 800; font-size: 16px;
    padding: 16px 32px; border-radius: 40px;
    box-shadow: 0 0 30px var(--gold-glow);
    transition: transform .2s, box-shadow .2s;
    border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px var(--gold-glow); }
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1.5px solid var(--gold); color: var(--gold);
    font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 40px;
    transition: .25s;
}
.btn-outline:hover { background: var(--gold-dim); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 110px; position: relative; overflow: hidden;
}
.hero-glow {
    position: absolute; top: -10%; left: -5%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
    filter: blur(80px); pointer-events: none; z-index: 0;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    color: var(--gold); background: var(--gold-dim); border: 1px solid var(--gold-glow);
    padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero-text h1 { font-size: 58px; line-height: 1.08; margin-bottom: 20px; }
.hero-text p { font-size: 18px; color: var(--muted); margin-bottom: 36px; max-width: 480px; }
.pwa-hint { font-size: 13px; color: var(--muted); margin-top: 14px; display: flex; align-items: center; gap: 6px; }

/* Phone Stack */
.hero-phones { position: relative; display: flex; justify-content: center; align-items: center; height: 600px; }
.phone-stack { position: relative; width: 280px; height: 570px; }
.phone {
    position: absolute;
    width: 260px; height: 540px;
    background: #0f0f11; border-radius: 46px;
    border: 5px solid #2e2e30;
    box-shadow: 
        inset 0 0 0 3px #000, 
        inset 0 0 10px rgba(255,255,255,0.1), 
        0 40px 80px rgba(0,0,0,0.8), 
        0 0 0 2px rgba(255,255,255,0.03);
    overflow: hidden;
}
.phone::before {
    content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 90px; height: 26px; background: #000; border-radius: 20px; z-index: 20;
    box-shadow: inset 0 0 4px rgba(255,255,255,0.05); pointer-events: none;
}
.phone::after {
    content: ''; position: absolute; inset: 0; border-radius: 46px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none; z-index: 10;
}
.phone-screen { width: calc(100% - 6px); height: calc(100% - 6px); background: #000; overflow: hidden; border-radius: 40px; margin: 3px; position: relative; z-index: 1; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-back {
    transform: rotate(4deg) translate(30px, 30px) scale(0.93);
    filter: brightness(0.6);
    z-index: 1;
}
.phone-front { top: 0; left: 0; z-index: 2; transform: rotate(-3deg); }

/* Floating Chips */
.float-chip {
    position: absolute; background: rgba(0,0,0,0.9); border: 1px solid var(--border);
    padding: 9px 16px; border-radius: 30px; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; gap: 7px; backdrop-filter: blur(8px); z-index: 10;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.chip-a { top: 80px; left: -30px; animation: chip-float 5s ease-in-out infinite; }
.chip-b { bottom: 120px; right: -20px; animation: chip-float 6s ease-in-out infinite reverse; }
@keyframes chip-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg-2); }
.section-title { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--muted); max-width: 580px; margin: 0 auto 50px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.step-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 40px 30px; position: relative; overflow: hidden;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    transition: transform .3s, border-color .3s, box-shadow .3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.step-card:hover { transform: translateY(-6px); border-color: var(--gold-glow); box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 40px rgba(255,215,0,0.1); }
[data-theme="light"] .step-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 40px rgba(217, 119, 6, 0.1); border-color: var(--gold-glow); }
.step-num { position: absolute; top: 20px; right: 24px; font-size: 80px; font-weight: 900; color: rgba(255,215,0,0.05); line-height: 1; font-family: var(--font-head); }
[data-theme="light"] .step-num { color: rgba(0,0,0,0.03); }
.step-icon { font-size: 36px; color: var(--gold); margin-bottom: 20px; }
.step-card h3 { font-size: 20px; margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ===== LIVE MAP ===== */
.map-section { padding: 0; }
.map-section .container { padding-top: 80px; }
.map-wrapper { position: relative; width: 100%; height: 560px; overflow: hidden; margin-top: 40px; }
#liveMap { width: 100%; height: 100%; z-index: 1; }
.map-vignette {
    position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%),
                linear-gradient(to right, var(--bg) 0%, transparent 10%, transparent 90%, var(--bg) 100%);
}
.radar-sweep {
    position: absolute; top: 50%; left: 50%;
    width: 300%; height: 300%;
    transform-origin: 0 0;
    background: conic-gradient(from 0deg, rgba(255,215,0,0.3) 0deg, transparent 45deg, transparent 360deg);
    animation: radar-rotate 6s linear infinite;
    z-index: 2; pointer-events: none; mix-blend-mode: screen;
}
@keyframes radar-rotate { to { transform: rotate(360deg); } }
.map-status {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 4; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
    border: 1px solid var(--gold); padding: 10px 22px; border-radius: 30px;
    display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--gold);
}
.status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(52,199,89,.4)} 50%{opacity:.7;box-shadow:0 0 0 6px transparent} }

/* ===== SCREENSHOTS (Phone Mockup Cards) ===== */
.screenshots-section { background: var(--bg-2); }
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 50px;
    align-items: start;
    justify-items: center;
}

/* The outer wrapper: centers the phone + label */
.screenshot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: transform .3s;
}
.screenshot-card:hover { transform: translateY(-8px); }

/* The phone bezel */
.sc-phone {
    position: relative;
    width: 200px;
    background: #0f0f11;
    border-radius: 36px;
    border: 4px solid #2e2e30;
    box-shadow:
        inset 0 0 0 2px #000,
        inset 0 0 6px rgba(255,255,255,0.05),
        0 24px 60px rgba(0,0,0,0.8),
        0 0 0 1px rgba(255,255,255,0.03);
    padding: 3px;
}

/* Glossy screen reflection */
.sc-phone::after {
    content: ''; position: absolute; inset: 0; border-radius: 38px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none; z-index: 10;
}

/* Side buttons (purely decorative CSS) */
.sc-phone::before {
    content: ''; position: absolute; right: -7px; top: 80px;
    width: 3px; height: 50px; background: #2e2e30; border-radius: 2px;
}

/* Dynamic island Replacement */
.sc-phone-notch { display: none; }
.sc-phone-bar { display: none; }

.sc-phone::before {
    content: ''; position: absolute; right: auto; left: 50%; top: 8px; transform: translateX(-50%);
    width: 60px; height: 18px; background: #000; border-radius: 12px; z-index: 20;
    box-shadow: inset 0 0 3px rgba(255,255,255,0.05);
}

/* Screen area */
.sc-phone-screen {
    background: #000; border-radius: 32px; overflow: hidden; position: relative; z-index: 1;
}

/* Image: full original proportion, never cropped */
.sc-phone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Home bar */
.sc-phone-bar {
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin: 10px auto 0;
}

.screenshot-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    max-width: 160px;
    line-height: 1.4;
}

/* ===== FEATURES ===== */
.features-section { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item {
    background: var(--bg-card); border: 1px solid var(--border);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg); padding: 36px;
    transition: .3s; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.feature-item:hover { border-color: var(--gold-glow); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.feature-item i { font-size: 32px; color: var(--gold); margin-bottom: 18px; }
.feature-item h3 { font-size: 18px; margin-bottom: 10px; }
.feature-item p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ===== HONESTY SECTION ===== */
.honesty-section { background: var(--bg); padding-top: 40px; padding-bottom: 80px; }
.honesty-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg); padding: 48px; text-align: center;
    position: relative; overflow: hidden; max-width: 800px; margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.honesty-card::before {
    content: ''; position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 100px; background: rgba(52,199,89,0.3); filter: blur(80px);
}
.honesty-icon { font-size: 48px; color: var(--green); margin-bottom: 24px; }
.honesty-title { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.honesty-desc { font-size: 16px; color: var(--muted); line-height: 1.7; }

/* ===== PWA ===== */
.pwa-section { background: var(--bg-2); }
.pwa-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.pwa-text h2 { font-size: 40px; margin-bottom: 16px; }
.pwa-text p { font-size: 16px; color: var(--muted); max-width: 480px; line-height: 1.7; }
.phone-pwa { width: 220px; height: 440px; }
.phone-pwa .phone-screen img { object-position: top; }

/* ===== DRIVER PAGE HERO ===== */
.driver-hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 110px; background: var(--bg); position: relative; overflow: hidden;
}
.driver-hero-glow {
    position: absolute; top: -10%; right: -5%; width: 55vw; height: 55vw;
    background: radial-gradient(circle, rgba(52,199,89,0.2) 0%, transparent 65%);
    filter: blur(80px); pointer-events: none; z-index: 0;
}
.driver-hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.driver-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    color: var(--green); background: rgba(52,199,89,.12); border: 1px solid rgba(52,199,89,.3);
    padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.driver-hero-text h1 { font-size: 54px; line-height: 1.08; margin-bottom: 20px; }
.driver-hero-text p { font-size: 18px; color: var(--muted); margin-bottom: 36px; }

/* Driver Features */
.driver-feats { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.driver-feat { display: flex; align-items: flex-start; gap: 14px; }
.driver-feat i { color: var(--green); font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.driver-feat h4 { font-size: 17px; margin-bottom: 4px; }
.driver-feat p { font-size: 14px; color: var(--muted); }
.store-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btns img { height: 46px; transition: .25s; }
.store-btns img:hover { transform: translateY(-4px); }

/* Referral Block */
.referral-section { background: var(--bg-2); }
.referral-card {
    background: var(--bg-card); border: 1px solid rgba(255,215,0,0.2);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg); padding: 60px; text-align: center;
    position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.ref-bg-icon { position: absolute; right: -40px; top: -40px; font-size: 280px; color: var(--gold); opacity: 0.04; transform: rotate(15deg); pointer-events: none; }
.referral-title { font-size: 38px; color: var(--gold); margin-bottom: 14px; text-shadow: 0 0 40px var(--gold-glow); }
.referral-desc { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto 48px; }
.money-flow { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
.money-node {
    width: 240px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px 24px; text-align: center; transition: .3s;
}
.money-node.highlight { border-color: var(--gold); box-shadow: 0 0 40px rgba(255,215,0,0.12); }
.money-node i { font-size: 36px; color: var(--muted); margin-bottom: 14px; }
.money-node.highlight i { color: var(--gold); }
.money-node h4 { font-size: 16px; margin-bottom: 12px; }
.money-amount { font-size: 44px; font-weight: 900; font-family: var(--font-head); }
.money-node small { font-size: 13px; color: var(--muted); display: block; margin-top: 8px; }
.money-node.highlight .money-amount { color: var(--gold); }
.flow-arrow { font-size: 28px; color: rgba(255,215,0,.4); }

/* ===== FOOTER ===== */
footer { background: #000; padding: 48px 0 28px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-size: 20px; font-weight: 900; font-family: var(--font-head); }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); transition: .2s; }
.footer-links a:hover { color: var(--text); }
.footer-cities { font-size: 12px; color: #333; line-height: 2; margin-bottom: 24px; border-top: 1px solid var(--border); padding-top: 24px; }
.footer-cities span { margin-right: 4px; }
.footer-copy { font-size: 12px; color: #333; text-align: center; }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; visibility: hidden; }

/* ===== LEAFLET CUSTOMIZATION ===== */
.leaflet-tile { filter: invert(100%) hue-rotate(180deg) brightness(80%) contrast(110%); }
.leaflet-container { background: var(--bg); }

/* ===================================================
   RESPONSIVE — TABLET  ≤ 960px
   =================================================== */
@media (max-width: 960px) {
    section { padding: 70px 0; }

    /* Nav */
    .nav-links { display: none; }
    .btn-nav-driver { display: none; }
    .mobile-menu-btn { display: block; }
    .logo { font-size: 18px; }

    /* Hero */
    .hero { padding-top: 90px; min-height: auto; padding-bottom: 60px; }
    .hero-inner,
    .driver-hero-inner,
    .pwa-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 42px; }
    .driver-hero-text h1 { font-size: 40px; }
    .hero-text p,
    .driver-hero-text p { margin-left: auto; margin-right: auto; }
    .pwa-hint { justify-content: center; }
    .hero-badge, .driver-badge { margin-left: auto; margin-right: auto; }

    /* Phone stack in hero */
    .hero-phones { height: 420px; margin-top: 20px; }
    .phone-stack { width: 220px; height: 430px; }
    .phone { width: 210px; height: 418px; border-radius: 36px; }
    .chip-a { left: 0px; top: 40px; font-size: 12px; padding: 7px 12px; }
    .chip-b { right: 0px; bottom: 80px; font-size: 12px; padding: 7px 12px; }

    /* Steps & Features */
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 32px; }

    /* Screenshots — 2 cols */
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .sc-phone { width: 170px; }

    /* Map */
    .map-wrapper { height: 400px; }

    /* PWA */
    .pwa-phone { display: none; }
    .pwa-inner { grid-template-columns: 1fr; }

    /* Driver features */
    .driver-feats { text-align: left; }
    .store-btns { justify-content: center; }

    /* Referral */
    .referral-card { padding: 40px 24px; }
    .referral-title { font-size: 28px; }
    .money-flow { flex-direction: column; gap: 16px; }
    .flow-arrow { transform: rotate(90deg); font-size: 20px; }
    .money-node { width: 100%; max-width: 280px; padding: 28px 20px; }
    .money-amount { font-size: 36px; }

    /* Footer */
    .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===================================================
   RESPONSIVE — MOBILE  ≤ 640px
   =================================================== */
@media (max-width: 640px) {
    section { padding: 56px 0; }
    .container { padding: 0 16px; }

    /* Nav — logo + lang only */
    .nav-container { height: 60px; }
    .btn-nav-driver { display: none; }
    .logo { font-size: 16px; }

    /* Hero */
    .hero { padding-top: 76px; }
    .hero-text h1 { font-size: 32px; line-height: 1.12; }
    .driver-hero-text h1 { font-size: 30px; }
    .hero-text p,
    .driver-hero-text p { font-size: 15px; }
    .btn-primary { font-size: 14px; padding: 14px 24px; width: 100%; justify-content: center; }

    /* Phone stack — smaller on small screens */
    .hero-phones { height: 360px; }
    .phone-stack { width: 180px; height: 360px; }
    .phone { width: 170px; height: 348px; border-radius: 30px; border-width: 6px; }
    .float-chip { display: none; } /* hide chips — too cramped */

    /* Steps & Features — single column */
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .section-title { font-size: 26px; }
    .section-sub { font-size: 15px; }
    .step-card { padding: 28px 20px; }
    .step-num { font-size: 60px; }
    .feature-item { padding: 24px 20px; }

    /* Screenshots — 2 cols but smaller phones */
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .sc-phone { width: 140px; border-width: 5px; border-radius: 28px; padding: 10px 6px; }
    .sc-phone-notch { width: 44px; height: 8px; margin-bottom: 7px; }
    .screenshot-label { font-size: 12px; }

    /* Map */
    .map-wrapper { height: 320px; }
    .map-section .container { padding-top: 50px; }
    .map-status { font-size: 11px; padding: 8px 14px; white-space: nowrap; }

    /* Driver feats */
    .driver-feat h4 { font-size: 15px; }
    .driver-feat p { font-size: 13px; }
    .driver-feats { gap: 14px; }

    /* Referral */
    .referral-card { padding: 28px 16px; }
    .referral-title { font-size: 22px; }
    .referral-desc { font-size: 14px; margin-bottom: 28px; }

    /* Footer */
    .footer-links { flex-direction: column; gap: 12px; }
    .footer-cities { font-size: 11px; line-height: 1.9; }
}

/* ===================================================
   RESPONSIVE — TINY  ≤ 380px
   =================================================== */
@media (max-width: 380px) {
    .hero-text h1 { font-size: 26px; }
    .screenshots-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sc-phone { width: 120px; }
    .section-title { font-size: 22px; }
}

/* ===================================================
   COOKIE BANNER
   =================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 9999;
    margin: 0 auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    transform: translateY(20px);
    opacity: 0;
}
.cookie-content { display: flex; align-items: center; gap: 16px; }
.cookie-content p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cookie-content i { color: var(--gold); font-size: 24px; }
.cookie-content a { color: var(--gold); text-decoration: underline; transition: 0.2s; }
.cookie-content a:hover { color: var(--text); }
.cookie-btn { background: var(--gold); color: #000; border: none; padding: 10px 24px; border-radius: 20px; font-weight: 700; font-size: 14px; cursor: pointer; transition: 0.2s; white-space: nowrap; margin-left: 20px; box-shadow: 0 4px 15px rgba(255,215,0,0.3); }
[data-theme="light"] .cookie-btn { color: #fff; }
.cookie-btn:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; text-align: center; gap: 16px; padding: 20px; }
    .cookie-btn { margin-left: 0; width: 100%; }
}

