* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Makoti brand — same greens and gold as the app (src/constants/colors.js) */
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --forest: #0B2A0E;
    --gold: #C8A84B;
    --gold-light: #E4CD8C;

    --background: #FFFFFF;
    --surface: #F4FAF4;
    --surface-2: #E8F3E8;
    --text: #12301A;
    --text-soft: #4A6550;
    --border: #D0E8D0;

    --radius-s: 12px;
    --radius-m: 18px;
    --radius-l: 28px;
    --radius-pill: 999px;
    --shadow: 0 10px 30px rgba(11, 42, 14, 0.10);
    --ease: 180ms ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); }

.container { max-width: 1560px; margin: 0 auto; padding: 0 48px; }

/* ---------- Navigation ---------- */
.navbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 48px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--primary-dark); text-decoration: none; }
.nav-logo img { width: 36px; height: 36px; border-radius: 9px; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-soft); text-decoration: none; font-size: 14px; font-weight: 600; transition: color var(--ease); }
.nav-links a:hover { color: var(--primary-dark); }
.nav-cta {
    background: var(--primary); color: #fff; padding: 10px 22px;
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 700;
    text-decoration: none; white-space: nowrap; transition: background-color var(--ease);
}
.nav-cta:hover { background: var(--primary-dark); }
.nav-hamburger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; color: var(--primary-dark); }

/* ---------- Hero ---------- */
.hero {
    background: radial-gradient(1200px 500px at 80% -10%, rgba(200, 168, 75, 0.18), transparent 60%),
                linear-gradient(160deg, #12401A 0%, #1B5E20 55%, #0B2A0E 100%);
    color: #fff;
    padding: 72px 0 88px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, 0.82); max-width: 540px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: var(--radius-pill);
    font-size: 15px; font-weight: 700; text-decoration: none;
    transition: transform var(--ease), background-color var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); }
.btn-green { background: var(--primary); color: #fff; }
.btn-green:hover { background: var(--primary-dark); }


.trust-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A84B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
    display: inline-flex; align-items: center; gap: 12px;
    min-width: 176px; padding: 10px 22px 10px 18px; border-radius: var(--radius-s);
    background: #fff; color: var(--forest); text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform var(--ease);
}
.store-badge:hover { transform: translateY(-2px); }
.store-icon { flex: 0 0 auto; }
.store-text { display: flex; flex-direction: column; justify-content: center; }
.store-badge small { font-size: 11px; color: var(--text-soft); line-height: 1.2; }
.store-badge strong { font-size: 17px; line-height: 1.25; }
.stores.on-light .store-badge { background: var(--forest); color: #fff; }
.stores.on-light .store-badge small { color: var(--gold-light); }

/* ---------- Video ---------- */
.video-section { padding-top: 72px; }
.video-frame {
    position: relative; max-width: 1040px; margin: 0 auto;
    aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden;
    background: var(--forest); box-shadow: 0 24px 60px rgba(11, 42, 14, 0.28);
}
.video-frame video, .video-play { display: block; width: 100%; height: 100%; }
.video-frame video { object-fit: cover; background: #000; }
.video-play { position: relative; border: none; padding: 0; cursor: pointer; background: transparent; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 42, 14, 0.45), rgba(11, 42, 14, 0.05)); }
.play-icon {
    position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 88px; height: 88px; border-radius: 50%;
    background: var(--gold); color: var(--forest);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform var(--ease), background-color var(--ease);
}
.video-play:hover .play-icon { transform: translate(-50%, -50%) scale(1.07); background: var(--gold-light); }
.video-play:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; color: var(--primary-dark); }
.section-head p { margin-top: 12px; font-size: 17px; color: var(--text-soft); }
.alt { background: var(--surface); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-m); padding: 28px 24px; position: relative; }
.step::before {
    counter-increment: step; content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--text-soft); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-m); padding: 28px; transition: box-shadow var(--ease), transform var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: background-color var(--ease), color var(--ease); }
.card:hover .icon { background: var(--primary); color: #fff; }
.card h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 6px; }
.card p { font-size: 15px; color: var(--text-soft); }

/* Items chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.chip { padding: 9px 18px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--primary-dark); }

/* Pricing explainer */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.pricing-box { background: var(--forest); color: #fff; border-radius: var(--radius-l); padding: 36px; }
.pricing-box h3 { color: var(--gold); font-size: 20px; margin-bottom: 14px; }
.pricing-box li { list-style: none; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px; color: rgba(255, 255, 255, 0.88); }
.pricing-box li:last-child { border-bottom: none; }
.pricing-box li::before { content: "→ "; color: var(--gold); font-weight: 800; }
.pricing-text h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; color: var(--primary-dark); letter-spacing: -0.02em; }
.pricing-text p { margin-top: 14px; color: var(--text-soft); font-size: 16px; }

/* Split (apps + driver) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: var(--radius-l); padding: 40px; }
.panel.green { background: linear-gradient(160deg, #1B5E20, #0B2A0E); color: #fff; }
.panel.light { background: var(--surface-2); }
.panel h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; }
.panel.light h3 { color: var(--primary-dark); }
.panel p { font-size: 16px; margin-bottom: 20px; }
.panel.green p { color: rgba(255, 255, 255, 0.82); }
.panel.light p { color: var(--text-soft); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-s); background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px; color: var(--primary-dark); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--gold); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--text-soft); font-size: 15px; }

/* CTA band */
.cta-band { background: linear-gradient(160deg, #1B5E20, #0B2A0E); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; }
.cta-band p { margin: 12px auto 28px; color: rgba(255, 255, 255, 0.8); max-width: 560px; }
.cta-band .stores { justify-content: center; }

/* Contact page */
.page-hero { background: linear-gradient(160deg, #12401A 0%, #1B5E20 60%, #0B2A0E 100%); color: #fff; padding: 56px 0; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; }
.page-hero p { margin-top: 10px; color: rgba(255, 255, 255, 0.82); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; margin: 0 auto; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-m); padding: 28px; }
.contact-card h3 { color: var(--primary-dark); margin-bottom: 6px; }
.contact-card p { color: var(--text-soft); font-size: 15px; }

/* Footer */
footer { background: var(--forest); color: rgba(255, 255, 255, 0.75); padding: 48px 0 32px; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 18px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand small { display: block; color: var(--gold-light); font-style: italic; font-weight: 400; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-links a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* 404 */
.notfound { text-align: center; padding: 120px 24px; }
.notfound h1 { font-size: 64px; color: var(--primary-dark); }
.notfound p { margin: 12px 0 28px; color: var(--text-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-inner, .pricing, .split { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: 1fr; }
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: #fff; border-bottom: 1px solid var(--border); padding: 8px 24px 16px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 0; width: 100%; }
}
@media (max-width: 560px) {
    .container { padding: 0 20px; }
    .nav-inner { padding: 12px 20px; }
    .play-icon { width: 64px; height: 64px; }
    section { padding: 56px 0; }
    .hero { padding: 48px 0 56px; }
    .steps, .contact-grid { grid-template-columns: 1fr; }
    .panel { padding: 28px; }
    .nav-cta { padding: 9px 16px; font-size: 13px; }
}

/* ---------- Hero phones (pure HTML/CSS, no images) ---------- */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phones { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 640px; height: 580px; }
.phone {
    position: relative; flex: 0 0 auto;
    background: #07160a; border-radius: 42px; padding: 9px;
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}
.phone::before { content: ""; position: absolute; z-index: 5; top: 17px; left: 50%; transform: translateX(-50%); width: 74px; height: 20px; background: #07160a; border-radius: 12px; }
.phone-screen { position: relative; overflow: hidden; border-radius: 34px; height: 100%; background: #fff; }
.phone-main { width: 270px; height: 560px; z-index: 3; }
.phone-side { width: 232px; height: 480px; opacity: 0.96; }
.phone-left { z-index: 2; margin-right: -46px; transform: rotate(-5deg) translateY(14px); }
.phone-right { z-index: 2; margin-left: -46px; transform: rotate(5deg) translateY(14px); }

.status-bar { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 0; font-size: 11px; font-weight: 700; color: var(--forest); }
.status-bar.light { color: #fff; }
.sb-dots { width: 34px; height: 9px; border-radius: 3px; background: currentColor; opacity: 0.55; }

/* splash */
.splash { background: linear-gradient(165deg, #1B5E20 0%, #12401A 55%, #0B2A0E 100%); display: flex; flex-direction: column; color: #fff; }
.splash-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 22px; }
.logo-plate {
    width: 196px; height: 196px; border-radius: 40px; background: #fff; padding: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.10);
}
.logo-plate img { width: 100%; height: 100%; object-fit: contain; border-radius: 34px; }
.splash-tag { margin-top: 22px; font-size: 13px; font-style: italic; color: var(--gold-light); letter-spacing: 0.01em; text-align: center; }
.splash-btn { margin: 0 22px 26px; padding: 14px 0; text-align: center; border-radius: 999px; background: var(--gold); color: var(--forest); font-weight: 800; font-size: 14px; }

/* tracking */
.app-screen { background: linear-gradient(180deg, #F4FAF4, #fff 40%); color: var(--text); }
.app-head { padding: 18px 20px 0; }
.app-head small { display: block; font-size: 11px; color: var(--text-soft); }
.app-head strong { font-size: 22px; letter-spacing: -0.02em; color: var(--primary-dark); }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 20px 0; }
.pill { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill-green { background: #DCEFDC; color: var(--primary-dark); }
.pill-gold { background: #F6EBC8; color: #7A5E10; }
.timeline { list-style: none; margin: 16px 20px 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 28px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding: 0 0 14px 28px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--border); }
.timeline li b { display: block; font-size: 13px; color: var(--text); }
.timeline li span { font-size: 10.5px; color: var(--text-soft); }
.timeline li.done::before { background: var(--primary); border-color: var(--primary); box-shadow: inset 0 0 0 3px #fff; }
.timeline li.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(200, 168, 75, 0.25); }
.timeline li.now b { color: var(--primary-dark); }

/* map */
.map-screen { background: #E9F3E4; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-sheet {
    position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 14px 16px;
    background: rgba(255, 255, 255, 0.94); border-radius: 20px;
    box-shadow: 0 10px 24px rgba(11, 42, 14, 0.18);
}
.map-sheet small { display: block; font-size: 10.5px; font-weight: 700; color: #9A7A1F; text-transform: uppercase; letter-spacing: 0.06em; }
.map-sheet strong { display: block; font-size: 14px; color: var(--primary-dark); margin: 2px 0 10px; }
.bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--primary), var(--gold)); border-radius: 99px; }

@media (prefers-reduced-motion: no-preference) {
    .phone-main { animation: float 6s ease-in-out infinite; }
    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

@media (max-width: 900px) {
    .phones { height: 500px; }
    .phone-side { display: none; }
    .phone-main { width: 250px; height: 500px; }
}

/* video: unmute hint */
.video-hint {
    position: absolute; z-index: 3; left: 16px; bottom: 16px; padding: 8px 14px;
    border-radius: 999px; background: rgba(11, 42, 14, 0.78); color: #fff; font-size: 13px; font-weight: 600;
    pointer-events: none; transition: opacity 400ms ease;
}

/* ---------- Legal pages (privacy, terms) ---------- */
.legal-section { padding: 48px 0 72px; background: var(--surface); }
.legal-card { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-l); padding: 44px 48px; box-shadow: var(--shadow); }
.legal-card h2 { font-size: 20px; color: var(--primary-dark); margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { font-size: 15.5px; line-height: 1.75; color: #3f5546; margin-bottom: 12px; }
.legal-card ul { margin: 8px 0 14px 22px; }
.legal-card li { font-size: 15.5px; line-height: 1.75; color: #3f5546; margin-bottom: 6px; }
.legal-card .updated { font-size: 13px; color: var(--text-soft); margin-bottom: 26px; }
@media (max-width: 560px) { .legal-card { padding: 28px 22px; } }
