/* ===== Variables & Reset ===== */
:root {
    --navy: #1a2744;
    --navy-dark: #111c33;
    --navy-light: #243352;
    --teal: #0891b2;
    --teal-light: #22d3ee;
    --mint: #00d4aa;
    --gradient: linear-gradient(135deg, #00d4aa 0%, #0891b2 100%);
    --gradient-reverse: linear-gradient(135deg, #0891b2 0%, #00d4aa 100%);
    --bg: #f8fafb;
    --bg-white: #ffffff;
    --text: #1a2744;
    --text-light: #5a6a82;
    --text-lighter: #8896aa;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(26, 39, 68, 0.08);
    --shadow-lg: 0 12px 48px rgba(26, 39, 68, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--teal);
}

.btn-nav {
    background: var(--gradient);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
}

.btn-nav:hover {
    opacity: 0.9;
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: var(--bg-white);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(8, 145, 178, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 10px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08) inset;
    position: relative;
}

.phone-screen {
    background: #f5f5f5;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 9/19;
    display: flex;
    flex-direction: column;
}

/* App top bar */
.app-top-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 14px 10px;
    background: #fff;
    border-bottom: 1px solid #eee;
    font-size: 0.6rem;
    color: var(--text-light);
}

.app-next-label {
    font-weight: 800;
    color: var(--navy);
    font-size: 0.55rem;
    letter-spacing: 0.5px;
}

.app-next-instruction {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-next-distance {
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

/* App main navigation */
.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: linear-gradient(180deg, #eef4f7 0%, #f5f5f5 100%);
    gap: 4px;
}

.app-turn-arrow {
    width: 90px;
    height: 98px;
    filter: drop-shadow(0 3px 12px rgba(8, 145, 178, 0.25));
    margin-bottom: 8px;
}

.app-distance {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.app-street-instruction {
    font-size: 0.7rem;
    color: var(--text-light);
    text-align: center;
}

.app-street-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
}

/* App bottom bar */
.app-bottom-bar {
    background: #fff;
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #eee;
}

.app-stats {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-stat {
    flex: 1;
    text-align: center;
}

.app-stat strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.app-stat span {
    font-size: 0.55rem;
    color: var(--text-lighter);
}

.app-stat-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

.app-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 40px;
    height: 40px;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 12px;
}

.app-control-btn svg {
    width: 16px;
    height: 16px;
}

.app-control-btn span {
    font-size: 0.45rem;
    color: var(--text-light);
    font-weight: 500;
}

.app-control-stop {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #fde8e8;
    color: #e53e3e;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 12px;
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: 0;
    width: 60%;
    max-width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(8,145,178,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== Sections Common ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===== Features ===== */
.features {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

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

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-white);
}

.steps {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.step-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 16px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--navy);
    padding-top: 2px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step + .step {
    margin-top: 32px;
    position: relative;
}

.step + .step::before {
    content: '';
    position: absolute;
    top: -28px;
    left: 25px;
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--teal-light), var(--teal));
    border-radius: 2px;
    opacity: 0.3;
}

/* ===== Waarom ===== */
.waarom {
    padding: 100px 0;
}

.waarom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.waarom-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.waarom-lead {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.waarom-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.waarom-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.check-icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    color: var(--teal);
    margin-top: 2px;
}

.waarom-list span {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.waarom-list strong {
    color: var(--navy);
}

/* Comparison Cards */
.comparison {
    display: flex;
    gap: 20px;
}

.comparison-card {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-white);
}

.comparison-label {
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-lighter);
    border-bottom: 1px solid var(--border);
}

.comparison-content {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.comparison-verdict {
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-lighter);
}

.comparison-verdict-good {
    color: var(--teal);
    background: rgba(8, 145, 178, 0.05);
}

/* Fake map */
.fake-map {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f0f0f0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.fake-road {
    position: absolute;
    background: #d0d0d0;
    border-radius: 2px;
}

.fake-road-1 {
    width: 100%;
    height: 3px;
    top: 40%;
    transform: rotate(-15deg);
}

.fake-road-2 {
    width: 3px;
    height: 100%;
    left: 35%;
    transform: rotate(10deg);
}

.fake-road-3 {
    width: 80%;
    height: 3px;
    top: 70%;
    left: 10%;
    transform: rotate(5deg);
}

.fake-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    top: 38%;
    left: 33%;
}

.fake-label {
    position: absolute;
    font-size: 0.6rem;
    color: #999;
    top: 25%;
    left: 50%;
    font-weight: 600;
}

.fake-label-2 {
    top: 55%;
    left: 15%;
}

.comparison-arrow {
    width: 60px;
    height: 72px;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 170, 0.3));
}

.comparison-new {
    border-color: rgba(8, 145, 178, 0.2);
}

/* ===== Download ===== */
.download {
    padding: 100px 0;
    background: var(--bg-white);
}

.download-card {
    background: var(--navy-dark);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.download-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.download-card h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.download-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 28px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.store-icon {
    width: 28px;
    height: 28px;
}

.store-btn small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    text-align: left;
}

.store-btn strong {
    display: block;
    font-size: 1rem;
    text-align: left;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    color: var(--text-lighter);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-lighter);
    font-size: 0.85rem;
}

/* ===== Scroll Animations ===== */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.animate-in:nth-child(2) { transition-delay: 0.1s; }
.feature-card.animate-in:nth-child(3) { transition-delay: 0.2s; }
.feature-card.animate-in:nth-child(4) { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .waarom-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .waarom-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .download-card {
        padding: 48px 24px;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 48px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .phone-mockup {
        width: 240px;
    }

    .comparison {
        flex-direction: column;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .waarom-content h2 {
        font-size: 1.75rem;
    }
}
