:root {
  --bg: #07080d;
  --bg-2: #0f1220;
  --card: rgba(255, 255, 255, 0.045);
  --stroke: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #9a9aa6;
  --ride: #ff3b30;
  --ride-2: #ff9f0a;
  --table: #e07a4f;
  --table-2: #ffd29a;
  --gold: #ffd60a;
  --green: #34c759;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* ambient glow behind everything */
.aura { position: fixed; inset: -20vh -20vw; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 15% 10%, rgba(255, 59, 48, 0.16), transparent 70%),
    radial-gradient(45vw 45vw at 90% 20%, rgba(90, 92, 240, 0.18), transparent 70%),
    radial-gradient(50vw 40vw at 50% 100%, rgba(224, 122, 79, 0.12), transparent 70%);
}

/* nav */
.nav { position: sticky; top: 0; z-index: 20; padding: 12px 0; background: rgba(7, 8, 13, 0.6); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 0.5px solid var(--stroke); }
.nav .wrap { display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -0.04em; font-size: 18px; margin-right: auto; }
.logo svg { width: 26px; height: 26px; }
.tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 0.5px solid var(--stroke); }
.tabs a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.2s, background 0.3s var(--ease); }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; border: 0; cursor: pointer; transition: transform 0.4s var(--spring), box-shadow 0.3s; }
.btn:active { transform: scale(0.95); }
.btn.primary { background: #fff; color: #0b0d14; }
.btn.ghost { background: rgba(255, 255, 255, 0.08); border: 0.5px solid var(--stroke); }
.btn.ride { background: linear-gradient(180deg, #ff5a4f, var(--ride)); color: #fff; box-shadow: 0 10px 30px rgba(255, 59, 48, 0.35); }
.btn.table { background: linear-gradient(180deg, #ffe066, var(--gold) 55%, #ffb800); color: #1a1406; box-shadow: 0 10px 30px rgba(255, 196, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.nav .btn { padding: 8px 14px; font-size: 14px; }

/* hero */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--gold); }
h1 { margin: 10px 0 0; font-size: clamp(44px, 7.4vw, 84px); line-height: 0.98; letter-spacing: -0.055em; font-weight: 800; text-wrap: balance; }
h1 .grad { background: linear-gradient(100deg, #fff 10%, var(--gold) 45%, var(--ride) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { margin: 18px 0 0; font-size: clamp(17px, 2vw, 20px); color: #c7c7d1; max-width: 520px; text-wrap: pretty; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* the unfolding QR in the hero: one canvas, drawn only while on screen */
.qrstage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.qrstage::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 10, 0.16), transparent); z-index: -1; }
#qrc { width: 100%; height: 100%; display: block; }
.qrcap { position: absolute; bottom: 2%; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }

/* sections */
section.block { padding: 56px 0; }
h2 { margin: 0; font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.045em; line-height: 1.05; font-weight: 800; text-wrap: balance; }
.sub { margin: 12px 0 0; color: var(--muted); font-size: 17px; max-width: 620px; }

/* product cards on home */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.pcard { position: relative; overflow: hidden; border-radius: 28px; border: 0.5px solid var(--stroke); min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate; transition: transform 0.6s var(--spring); }
.pcard:hover { transform: translateY(-4px); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pcard:hover img { transform: scale(1.04); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(7, 8, 13, 0.92) 78%); }
.pcard .tag { font-size: 13px; font-weight: 700; }
.pcard.ride .tag { color: var(--ride-2); }
.pcard.table .tag { color: var(--table-2); }
.pcard h3 { margin: 6px 0 0; font-size: 36px; letter-spacing: -0.045em; font-weight: 800; line-height: 1; }
.pcard p { margin: 10px 0 18px; color: #c7c7d1; max-width: 420px; }
.pcard .go { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.step { padding: 24px; border-radius: 24px; background: var(--card); border: 0.5px solid var(--stroke); }
.step b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 214, 10, 0.14); color: var(--gold); font-size: 15px; }
.step h4 { margin: 16px 0 6px; font-size: 20px; letter-spacing: -0.03em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.feat { padding: 22px; border-radius: 22px; background: var(--card); border: 0.5px solid var(--stroke); }
.feat .ic { font-size: 26px; line-height: 1; }
.feat h4 { margin: 14px 0 6px; font-size: 18px; letter-spacing: -0.025em; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

/* product page hero with phone */
.phero { padding: 64px 0 24px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.phone { width: 320px; height: 660px; border-radius: 48px; padding: 10px; background: linear-gradient(160deg, #2a2d3a, #0d0f16); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 100px rgba(0, 0, 0, 0.6); position: relative; }
.phone .screen { width: 100%; height: 100%; border-radius: 39px; overflow: hidden; background: #000; position: relative; }
.phone iframe, .phone img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.phone .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.25); }
.phone .notch { position: absolute; top: 18px; left: 50%; width: 96px; height: 28px; border-radius: 99px; background: #000; transform: translateX(-50%); z-index: 2; }
.ptitle { font-size: clamp(48px, 8vw, 88px); }
.ride-page .ptitle .grad { background: linear-gradient(100deg, #fff 5%, var(--ride-2) 50%, var(--ride) 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.table-page .ptitle .grad { background: linear-gradient(100deg, #fff 5%, var(--table-2) 50%, var(--table) 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ride-page .eyebrow { color: var(--ride-2); }
.table-page .eyebrow { color: var(--table-2); }

.promise { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.promise span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 0.5px solid var(--stroke); color: #d4d4dc; }

/* pilot banner */
.pilot { margin: 24px 0 72px; padding: 40px; border-radius: 32px; text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(255, 214, 10, 0.14), transparent 70%), var(--bg-2); border: 0.5px solid var(--stroke); }
.pilot p { color: #c7c7d1; max-width: 560px; margin: 12px auto 24px; font-size: 17px; }

footer { padding: 28px 0 40px; border-top: 0.5px solid var(--stroke); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

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

@media (max-width: 860px) {
  .hero, .phero { grid-template-columns: 1fr; padding-top: 40px; gap: 24px; }
  .qrstage { max-width: 380px; margin: 0 auto; width: 100%; }
  .products, .steps, .features { grid-template-columns: 1fr; }
  .pcard { min-height: 440px; }
  .phone { width: 280px; height: 580px; margin: 0 auto; }
  .nav .btn { display: none; }
  .tabs a { padding: 7px 11px; font-size: 13px; }
  .pilot { padding: 28px 20px; }
}
@media (max-width: 420px) { .logo span { display: none; } }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
