:root {
  --bg: #0b1418;
  --card: #14232c;
  --card-2: #182933;
  --border: rgba(255, 255, 255, 0.09);
  --text: #eaf1f3;
  --muted: #93a8b1;
  --accent: #38bdf8;
  --accent-deep: #2563eb;
  --green: #34d399;
  --amber: #f59e0b;
  --grad: linear-gradient(135deg, #eaf7ff 0%, #7dd3fc 45%, #38bdf8 100%);
  --radius: 18px;
  --maxw: 1080px;
  font-synthesis: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-glow {
  position: fixed;
  top: -25%; left: 50%;
  width: 1100px; height: 1100px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(37, 99, 235, 0.06) 35%, transparent 65%);
  pointer-events: none; z-index: 0;
}
main, .nav, .footer, .announce { position: relative; z-index: 1; }

/* Pre-release announcement bar */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--grad);
  color: #06222e;
  font-size: 14px; font-weight: 600;
  padding: 11px 18px; text-align: center;
}
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: #06222e; animation: pulse 1.6s infinite; }
.announce strong { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.announce-go { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.announce-go svg { width: 15px; height: 15px; fill: none; stroke: #06222e; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 20px 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 20px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  background: var(--grad);
  color: #06222e; font-weight: 700; border: none; border-radius: 12px;
  padding: 13px 22px; font-size: 15px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.25); white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 10px 28px rgba(56,189,248,.35); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-xs { padding: 7px 14px; font-size: 13px; border-radius: 10px; box-shadow: none; }
.btn-lg { padding: 16px 28px; font-size: 16.5px; border-radius: 14px; }

/* Pre-release badge */
.badge-pre {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.3);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.badge-pre::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(56,189,248,.18); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  max-width: var(--maxw); margin: 44px auto 90px; padding: 0 24px;
}
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; }
.lede { color: var(--muted); font-size: 18px; margin: 22px 0 30px; max-width: 30em; }

.waitlist { display: flex; gap: 10px; max-width: 470px; }
.waitlist input {
  flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 16px; color: var(--text); font-size: 15px; outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.waitlist-lg input { padding: 16px 18px; font-size: 16px; border-radius: 14px; }
.waitlist input::placeholder { color: #6c818b; }
.waitlist input:focus { border-color: var(--accent); background: rgba(56,189,248,.06); }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 14px; }
.form-note.ok { color: var(--green); }
.form-note.err { color: #f87171; }
.ico-inline { width: 15px; height: 15px; fill: var(--accent); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.icon-halo { position: relative; padding: 10px; }
.icon-halo::after {
  content: ""; position: absolute; inset: -30px;
  background: radial-gradient(circle, rgba(56,189,248,.3), transparent 70%);
  filter: blur(20px); z-index: -1;
}
.hero-icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 18px 50px rgba(0,0,0,.5); }

.trip-card {
  width: 100%; max-width: 340px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
}
.trip-route { display: flex; align-items: center; margin-bottom: 8px; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.15); }
.dot-blue { background: var(--accent); box-shadow: 0 0 0 4px rgba(56,189,248,.15); }
.trip-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--green), var(--accent)); margin: 0 8px; border-radius: 2px; }
.trip-stops { display: flex; justify-content: space-between; margin-bottom: 16px; }
.trip-stops div { display: flex; flex-direction: column; }
.trip-stops div:last-child { text-align: right; }
.trip-stops strong { font-size: 15px; }
.trip-stops span { font-size: 12px; color: var(--muted); }
.trip-meta { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--border); }
.pill-amber { color: var(--amber); border-color: rgba(245,158,11,.3); }
.pill-star { color: #fbbf24; }
.pill-star svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.trip-driver { display: flex; align-items: center; gap: 11px; padding-top: 14px; border-top: 1px solid var(--border); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #06222e; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.trip-driver div { display: flex; flex-direction: column; flex: 1; }
.trip-driver strong { font-size: 14px; }
.trip-driver span { font-size: 12px; color: var(--muted); }

/* Sections */
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; text-align: center; letter-spacing: -0.02em; line-height: 1.1; }

.how { max-width: var(--maxw); margin: 0 auto 100px; padding: 0 24px; }
.how .section-title { margin-bottom: 44px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.how-col { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.how-tag { display: inline-block; font-size: 13px; font-weight: 650; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.tag-blue { background: rgba(56,189,248,.12); color: var(--accent); }
.tag-green { background: rgba(52,211,153,.12); color: var(--green); }
.how-col ol { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
.how-col li { counter-increment: step; position: relative; padding-left: 44px; color: var(--muted); }
.how-col li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  display: grid; place-items: center; font-weight: 700; color: var(--text); font-size: 14px;
}
.how-col strong { color: var(--text); }

/* Features — centered icons */
.features { max-width: var(--maxw); margin: 0 auto 100px; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.feature-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 18px; }
.feature-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-blue { background: rgba(56,189,248,.12); color: var(--accent); }
.ico-green { background: rgba(52,211,153,.12); color: var(--green); }
.ico-amber { background: rgba(245,158,11,.12); color: var(--amber); }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

.trust { max-width: 720px; margin: 0 auto 100px; padding: 0 24px; text-align: center; }
.trust .section-title { margin-bottom: 20px; }
.trust p { color: var(--muted); font-size: 18px; }

.cta {
  max-width: 720px; margin: 0 auto 90px; padding: 56px 24px; text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(56,189,248,.1), transparent 70%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta .badge-pre { margin-bottom: 16px; }
.cta h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.cta p { color: var(--muted); margin: 14px 0 26px; }
.waitlist-center { margin: 0 auto; }

/* Sticky pre-release bar */
.sticky-cta {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 160%);
  z-index: 50; width: calc(100% - 32px); max-width: 660px;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  background: rgba(20, 35, 44, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-text { font-size: 14px; color: var(--muted); white-space: nowrap; }
.sticky-text strong { color: var(--text); }
.sticky-form { gap: 8px; flex: 1; max-width: 360px; }
.sticky-form input { padding: 11px 14px; font-size: 14px; }
.sticky-form .btn { padding: 11px 16px; font-size: 14px; }

/* App preview */
.preview { max-width: var(--maxw); margin: 0 auto 100px; padding: 0 24px; text-align: center; }
.preview .section-title { margin-bottom: 12px; }
.preview-sub { color: var(--muted); font-size: 17px; max-width: 34em; margin: 0 auto 50px; }
.phones { display: flex; justify-content: center; align-items: center; gap: 26px; }
.phone {
  position: relative; flex: 0 0 auto; width: 232px; aspect-ratio: 9 / 19.3;
  background: #05090b; border: 8px solid #1f2f38; border-radius: 42px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.03);
  overflow: hidden;
}
.phone-up { transform: translateY(-22px) scale(1.04); z-index: 2; }
.phone .island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 74px; height: 21px; background: #000; border-radius: 12px; z-index: 6; }
.phone-screen { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; padding: 40px 12px 0; text-align: left; font-size: 11px; line-height: 1.35; }
.m-bar { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; color: var(--text); padding: 0 4px 8px; }
.m-bars { display: inline-flex; gap: 3px; align-items: flex-end; }
.m-bars i { width: 3px; height: 9px; background: var(--muted); border-radius: 1px; }
.m-h { font-size: 17px; font-weight: 800; padding: 0 4px; }
.m-hsub { color: var(--muted); font-size: 10px; padding: 2px 4px 12px; }
.m-card { background: var(--card); border: 1px solid var(--border); border-radius: 13px; padding: 11px; margin-bottom: 9px; }
.m-route { display: flex; align-items: center; margin-bottom: 5px; }
.m-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.m-dot.g { background: var(--green); }
.m-dot.b { background: var(--accent); }
.m-line { flex: 1; height: 2px; margin: 0 5px; background: linear-gradient(90deg, var(--green), var(--accent)); border-radius: 2px; }
.m-stops { display: flex; justify-content: space-between; gap: 8px; }
.m-stops strong { font-size: 12px; }
.m-stops strong:last-child { text-align: right; }
.m-times { display: flex; justify-content: space-between; color: var(--muted); font-size: 9.5px; margin: 3px 0 9px; }
.m-foot { display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 1px solid var(--border); }
.m-av { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: #06222e; font-weight: 800; font-size: 10px; display: grid; place-items: center; flex-shrink: 0; }
.m-av.sm { width: 18px; height: 18px; font-size: 9px; }
.m-name { font-weight: 700; font-size: 11px; }
.m-rate { display: inline-flex; align-items: center; gap: 3px; color: #fbbf24; font-size: 10px; font-weight: 600; }
.m-rate.sm { margin-left: auto; }
.m-rate .m-star { width: 10px; height: 10px; fill: currentColor; }
.m-seat { margin-left: auto; font-size: 9.5px; color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid var(--border); padding: 2px 7px; border-radius: 7px; }
.m-tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 4px 14px; border-top: 1px solid var(--border); }
.m-tabs svg { width: 19px; height: 19px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-tabs svg.on { stroke: var(--accent); }
.m-map { position: relative; height: 38%; margin: 4px -12px 0; background: linear-gradient(160deg, #16252e, #0e1a20); border-bottom: 1px solid var(--border); overflow: hidden; }
.m-mroute { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 3; opacity: .85; }
.m-pin { position: absolute; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--bg); }
.m-pin.g { background: var(--green); left: 14%; top: 72%; }
.m-pin.b { background: var(--accent); left: 80%; top: 20%; }
.m-detail { padding: 12px 4px; display: flex; flex-direction: column; gap: 9px; }
.m-foot.big { border: 0; padding: 0; }
.m-chips { display: flex; gap: 6px; }
.m-chips span { font-size: 9.5px; color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid var(--border); padding: 4px 8px; border-radius: 8px; }
.m-cta { margin-top: 4px; text-align: center; background: var(--grad); color: #06222e; font-weight: 800; font-size: 12px; padding: 11px; border-radius: 11px; }
.m-chathead { display: flex; align-items: center; gap: 6px; padding: 0 4px 9px; border-bottom: 1px solid var(--border); }
.m-hint { display: flex; align-items: center; gap: 5px; font-size: 9px; color: var(--accent); background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.2); border-radius: 8px; padding: 6px 8px; margin: 9px 0; }
.m-hint svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.m-msgs { display: flex; flex-direction: column; gap: 7px; flex: 1; padding-top: 2px; }
.m-msg { max-width: 80%; font-size: 10.5px; padding: 7px 10px; border-radius: 13px; }
.m-msg.in { align-self: flex-start; background: var(--card-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.m-msg.out { align-self: flex-end; background: var(--accent); color: #06222e; font-weight: 500; border-bottom-right-radius: 4px; }
.m-inputbar { display: flex; align-items: center; gap: 7px; padding: 9px 2px 14px; }
.m-field { flex: 1; color: #6c818b; font-size: 10.5px; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; }
.m-send { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.m-send svg { width: 14px; height: 14px; fill: none; stroke: #06222e; stroke-width: 2; stroke-linejoin: round; }
.doc .back svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Doc pages */
.doc { max-width: 760px; margin: 12px auto 80px; padding: 0 24px; position: relative; z-index: 1; }
.doc h1 { font-size: 34px; margin-bottom: 6px; letter-spacing: -.02em; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc .draft { display: inline-block; font-size: 12px; color: var(--amber); border: 1px solid rgba(245,158,11,.3); background: rgba(245,158,11,.08); padding: 4px 11px; border-radius: 999px; margin: 14px 0 24px; }
.doc h2 { font-size: 20px; margin: 28px 0 10px; color: var(--text); }
.doc p, .doc li { color: var(--muted); margin-bottom: 12px; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--accent); }
.doc .back { font-size: 14px; color: var(--accent); display: inline-block; margin-bottom: 22px; }

/* Footer */
.footer {
  max-width: var(--maxw); margin: 0 auto; padding: 30px 24px 90px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-top: 1px solid var(--border); flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.footer-brand .brand-mark { width: 26px; height: 26px; border-radius: 7px; }
.footer-links { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.copyright { font-size: 13px; color: #5f747d; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 50px; margin-bottom: 70px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .waitlist { margin: 0 auto; }
  .hero-visual { order: -1; }
  .how-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .announce-text { display: none; }
  .phones { overflow-x: auto; justify-content: flex-start; gap: 18px; padding-bottom: 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .phone { scroll-snap-align: center; }
  .phone-up { transform: none; }
}
@media (max-width: 600px) {
  .sticky-text { display: none; }
  .sticky-form { max-width: none; }
}
@media (max-width: 520px) {
  .nav-links a:not(.btn) { display: none; }
  .features { grid-template-columns: 1fr; }
  .waitlist { flex-direction: column; }
  .footer { flex-direction: column; text-align: center; }
}
