/* VieGo public landing page — mobile first, no framework. */
:root {
    --y: #ffea00;
    --y-600: #f5d800;
    --y-soft: #fff9c2;
    --ink: #0f0f10;
    --ink-2: #26262b;
    --muted: #5d5f68;
    --line: #ececf0;
    --bg: #ffffff;
    --bg-2: #fafaf7;
    --ok: #12b76a;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow: 0 10px 30px -12px rgba(15, 15, 16, .18);
    --shadow-lg: 0 30px 60px -20px rgba(15, 15, 16, .35);
    --wrap: 1180px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem;
    padding: 11px 18px; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; min-width: 168px;
    background: var(--ink); color: #fff; border-radius: 16px; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.store i { font-size: 1.75rem; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1.05rem; }
.store small { font-weight: 500; font-size: .7rem; opacity: .75; }
.store:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.store.light { background: #fff; color: var(--ink); }
.store.is-soon { cursor: default; opacity: .82; }
.store.is-soon:hover { transform: none; box-shadow: none; }

/* ---------- Nav ---------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.brand img { border-radius: 10px; }
.nav-links { display: none; margin-left: auto; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-weight: 500; color: var(--ink-2); transition: background .2s; }
.nav-links a:hover { background: rgba(15, 15, 16, .06); }
.nav-cta { display: none; }
.nav-toggle {
    margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--ink);
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease); }
.nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav.open { background: #fff; }
.nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 8px 16px 20px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25);
}
.nav.open .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--y); padding: 108px 0 0; overflow: hidden; }
.hero-glow {
    position: absolute; inset: auto -20% -40% auto; width: 680px; height: 680px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 65%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: rgba(15, 15, 16, .08); font-weight: 600; font-size: .85rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(18, 183, 106, .6); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2.3rem, 9vw, 4.4rem); font-weight: 800; margin: 18px 0 16px; }
.mark { position: relative; white-space: nowrap; }
.mark::after {
    content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
    background: #fff; border-radius: 6px; transform-origin: left; animation: draw 1s .5s var(--ease) both;
}
.mark { z-index: 0; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 540px; margin-bottom: 26px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .9rem; font-weight: 500; }
.trust i { margin-right: 4px; }

.hero-visual { position: relative; height: 500px; display: flex; justify-content: center; }
.phone {
    position: relative; width: 270px; height: 540px; border-radius: 44px; background: var(--ink); padding: 12px;
    box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a3a40; transform: rotate(-4deg) translateY(20px);
    animation: floaty 7s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 12px; left: 50%; width: 92px; height: 24px; background: var(--ink); border-radius: 0 0 16px 16px; transform: translateX(-50%); z-index: 2; }
.screen { height: 100%; border-radius: 34px; background: #f6f6f8; padding: 40px 14px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-top small { display: block; font-size: .65rem; color: var(--muted); }
.app-top strong { font-size: .82rem; }
.app-top strong i { color: #e5484d; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--y); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.app-search { background: #fff; border-radius: 12px; padding: 9px 12px; font-size: .75rem; color: var(--muted); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.app-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-tabs span { background: #fff; border-radius: 12px; padding: 8px 4px; text-align: center; font-size: .65rem; font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.app-tabs span i { font-size: 1.05rem; }
.app-tabs .active { background: var(--y); }
.app-card { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 9px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); animation: slideIn .7s var(--ease) both; }
.app-card strong { display: block; font-size: .74rem; }
.app-card small { font-size: .62rem; color: var(--muted); }
.thumb { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.food-1 .thumb { background: #ffe8cc; color: #d9480f; }
.food-2 .thumb { background: #ffe3e3; color: #c92a2a; }
.food-3 .thumb { background: #e7f5ff; color: #1971c2; }
.food-1 { animation-delay: .6s; } .food-2 { animation-delay: .8s; } .food-3 { animation-delay: 1s; }

.float-card {
    position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; padding: 10px 14px 10px 10px;
    border-radius: 16px; box-shadow: var(--shadow); font-size: .78rem; animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .8rem; }
.float-card small { color: var(--muted); }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--y); display: grid; place-items: center; }
.fc-icon.ok { background: #d3f9d8; color: var(--ok); }
.fc-1 { top: 30px; left: 0; animation-delay: -2s; }
.fc-2 { bottom: 60px; right: 0; animation-delay: -4s; }
.fc-3 { display: none; }

.marquee { margin-top: 30px; background: var(--ink); color: var(--y); overflow: hidden; padding: 14px 0; transform: rotate(-1.5deg) scale(1.03); }
.marquee-track { display: flex; gap: 26px; width: max-content; align-items: center; animation: marquee 26s linear infinite; font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.marquee-track i { font-size: .9rem; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px; text-align: center; }
.stat i { color: var(--y); font-size: 1.4rem; }
.stat strong { display: block; font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 800; color: var(--y); line-height: 1.1; margin: 6px 0 2px; }
.stat span { color: #c8c8cf; font-size: .82rem; line-height: 1.3; display: block; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head.left { text-align: left; margin: 0 0 24px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--y-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section-head a { text-decoration: underline; text-underline-offset: 3px; }

.services { display: grid; gap: 18px; }
.service {
    position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--y); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px; transition: transform .35s var(--ease); }
.service:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.service p { color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.service ul i { color: var(--ok); margin-right: 6px; }
.service-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-dark p { color: #b9b9c2; }
.service-dark ul i { color: var(--y); }

.how { background: var(--bg-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); position: relative; }
.step-no { font-size: 2.6rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--ink); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); }

.partners { display: grid; gap: 18px; }
.partner {
    position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 32px; border-radius: var(--radius-lg);
    min-height: 240px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.partner:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.partner h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.partner p { max-width: 420px; opacity: .85; }
.partner .link { display: inline-flex; gap: 6px; align-items: center; margin-top: 20px; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.partner .link i { transition: transform .25s var(--ease); }
.partner:hover .link i { transform: translateX(5px); }
.partner-art { position: absolute; right: -10px; bottom: -30px; font-size: 9rem; opacity: .14; transition: transform .5s var(--ease); }
.partner:hover .partner-art { transform: translateX(-12px) rotate(-6deg); }
.partner-driver { background: var(--y); }
.partner-shop { background: var(--ink); color: #fff; }

/* ---------- Reviews ---------- */
.reviews { background: var(--ink); color: #fff; overflow: hidden; }
.reviews .eyebrow { background: rgba(255, 234, 0, .16); color: var(--y); }
.reviews .section-head p { color: #b9b9c2; }
.review-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.review-track { display: flex; gap: 18px; width: max-content; padding: 0 20px; }
.review-track.is-moving { animation: marquee 60s linear infinite; }
.review-track:hover { animation-play-state: paused; }
.review-rail::-webkit-scrollbar { display: none; }
.review { margin: 0; width: min(320px, 82vw); scroll-snap-align: start; background: #1c1c20; border: 1px solid #2c2c33; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--y); letter-spacing: 2px; }
.review blockquote { margin: 0; color: #e7e7ea; font-size: .98rem; flex: 1; }
.review figcaption { display: flex; gap: 12px; align-items: center; }
.review figcaption strong { display: block; }
.review figcaption small { color: #9a9aa4; }
.r-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--y); color: var(--ink); display: grid; place-items: center; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 20px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; transition: background .2s, border-color .2s; }
.faq details[open] { background: #fff; border-color: var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p + p { margin-top: 8px; }
.faq .answer ul { margin: 8px 0 0; padding-left: 20px; }
.faq .answer a { color: var(--ink); text-decoration: underline; }

/* ---------- CTA & footer ---------- */
.cta { padding: 0 0 80px; }
.cta-inner {
    background: var(--y); border-radius: var(--radius-lg); padding: 40px 28px; display: grid; gap: 24px;
    position: relative; overflow: hidden;
}
.cta-inner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .45); }
.cta h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 800; margin-bottom: 6px; }
.cta p { color: var(--ink-2); }
.cta .store-row { position: relative; z-index: 1; }

.footer { background: var(--ink); color: #c8c8cf; padding: 56px 0 24px; font-size: .92rem; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 28px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer-grid > div > a:not(.brand) { display: block; padding: 4px 0; transition: color .2s; }
.footer a:hover { color: var(--y); }
.muted { color: #9a9aa4; line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: #1c1c20; display: grid; place-items: center; font-size: 1.05rem; transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--y); color: var(--ink); transform: translateY(-2px); }
.copyright { margin-top: 36px; padding-top: 20px; border-top: 1px solid #26262b; font-size: .82rem; color: #8a8a94; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Hero copy animates on load, never waits for scrolling. */
.rise { animation: rise .8s var(--ease) both; }
.hero-copy .rise:nth-child(2) { animation-delay: .08s; }
.hero-copy .rise:nth-child(3) { animation-delay: .16s; }
.hero-copy .rise:nth-child(4) { animation-delay: .24s; }
.hero-copy .rise:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .6); } 70% { box-shadow: 0 0 0 10px rgba(18, 183, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0); } }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
    .services, .partners { grid-template-columns: repeat(2, 1fr); }
    .services .service:last-child { grid-column: 1 / -1; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .fc-3 { display: flex; top: 220px; left: -30px; animation-delay: -1s; }
}

@media (min-width: 960px) {
    .wrap { padding: 0 32px; }
    .nav-links { display: flex; }
    .nav-cta { display: inline-flex; }
    .nav-toggle { display: none; }
    .hero { padding-top: 130px; }
    .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 20px; }
    .hero-visual { height: 600px; }
    .phone { width: 300px; height: 600px; }
    .fc-1 { left: -10px; top: 70px; }
    .fc-2 { right: -10px; bottom: 90px; }
    .services { grid-template-columns: repeat(3, 1fr); }
    .services .service:last-child { grid-column: auto; }
    .section { padding: 110px 0; }
    .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
    .faq-grid .section-head { position: sticky; top: 100px; }
    .cta-inner { grid-template-columns: 1fr auto; align-items: center; padding: 56px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 380px) {
    .store { min-width: 0; flex: 1; }
    .phone { width: 240px; height: 480px; }
    .hero-visual { height: 470px; }
    .float-card { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal, .rise { opacity: 1; transform: none; }
}
