/* Flying Car AI — mobile-first product landing */
:root {
  --bg: #070b14;
  --bg-elev: #0e1524;
  --bg-alt: #0b1220;
  --card: #121a2c;
  --text: #eef2ff;
  --muted: #9aa8c7;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #5b8cff;
  --accent-2: #22d3ee;
  --accent-hot: #ff6b4a;
  --ok: #34d399;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 10% -10%, #1a2a55 0%, transparent 55%),
              radial-gradient(900px 500px at 90% 0%, #123046 0%, transparent 50%),
              var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}
.narrow { width: min(720px, calc(100% - 2rem)); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 20, 0.75);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 0.9rem;
}
.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #7c5cff);
  color: #fff;
  box-shadow: 0 10px 30px rgba(91, 140, 255, 0.35);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: rgba(148, 163, 184, 0.4); }

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(91, 140, 255, 0.12);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}
.bullets {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.bullets li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
  font-size: 0.98rem;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.disclaimer {
  margin: 0;
  font-size: 0.8rem;
  color: #7382a3;
  max-width: 36rem;
}

/* Phone mock */
.hero-card { justify-self: center; width: min(100%, 320px); }
.phone {
  background: #05080f;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0.65rem;
  box-shadow: var(--shadow);
}
.phone-bar {
  width: 36%;
  height: 6px;
  margin: 0.25rem auto 0.65rem;
  border-radius: 999px;
  background: #2a354d;
}
.phone-screen {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #0a1020;
}
.scene {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.sky {
  position: absolute;
  inset: 0 0 35% 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.35), transparent 12%),
    linear-gradient(180deg, #1b3a6b 0%, #6b8ec7 45%, #f0b27a 100%);
}
.road {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background:
    repeating-linear-gradient(
      90deg,
      #1a1f2b 0 18px,
      #2a3142 18px 20px
    ),
    linear-gradient(180deg, #2c3344, #12161f);
}
.road::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 4px; height: 100%;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    180deg,
    #f5d76e 0 16px,
    transparent 16px 28px
  );
  opacity: 0.7;
}
.car {
  position: absolute;
  left: 50%;
  bottom: 28%;
  width: 58%;
  transform: translateX(-50%);
  animation: lift 3.6s ease-in-out infinite;
}
.car-body {
  height: 42px;
  border-radius: 14px 18px 10px 10px;
  background: linear-gradient(180deg, #f4f7fb, #9aa7b8 55%, #5d6777);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  position: relative;
}
.car-body::before {
  content: "";
  position: absolute;
  left: 18%; right: 28%;
  top: 8px;
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1c2738, #31445e);
}
.car-glow {
  position: absolute;
  left: 10%; right: 10%;
  bottom: -18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.55), transparent 70%);
  filter: blur(2px);
}
.scene-label {
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  margin: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  text-align: center;
}
.card-caption {
  margin: 0.9rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

@keyframes lift {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-28px); }
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(18, 26, 44, 0.65), transparent);
}
.section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}
.section-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 42rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(91, 140, 255, 0.18);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}
.steps h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.feature-grid {
  display: grid;
  gap: 1rem;
}
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.feature h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* CTA / waitlist */
.cta-section { padding-top: 1rem; }
.cta-box {
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(91, 140, 255, 0.2), transparent 60%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.waitlist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  max-width: 480px;
}
.waitlist input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.65);
  color: var(--text);
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  outline: none;
}
.waitlist input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.25);
}
.waitlist .btn { width: 100%; }
.form-note {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.form-note.ok { color: var(--ok); }
.form-note.err { color: #fca5a5; }

.upload-mock { max-width: 480px; }
.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  min-height: 120px;
  border: 1.5px dashed rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  background: rgba(7, 11, 20, 0.4);
  color: var(--muted);
  font-size: 0.92rem;
}
.upload-icon { font-size: 1.5rem; }
.upload-badge {
  position: absolute;
  top: 0.65rem; right: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 107, 74, 0.18);
  color: #ffb4a3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* FAQ */
details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: var(--bg-elev);
  margin-bottom: 0.65rem;
}
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
details[open] summary::after { content: "–"; }
details p {
  margin: 0.75rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.5rem;
  margin-top: 1rem;
}
.footer-inner p { margin: 0 0 0.4rem; color: var(--muted); font-size: 0.88rem; }
.footer-note { font-size: 0.8rem !important; }

@media (min-width: 720px) {
  .nav { display: flex; }
  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-box { padding: 2.25rem; }
  .waitlist {
    flex-direction: row;
    align-items: stretch;
  }
  .waitlist .btn { width: auto; white-space: nowrap; }
}
