:root {
  --bg: #070713;
  --bg-2: #0b0b1a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #a1a1aa;
  --cyan: #22d3ee;
  --pink: #ec4899;
  --violet: #7c3aed;
  --green: #34d399;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.28), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(34, 211, 238, 0.16), transparent 28rem),
    linear-gradient(145deg, #070713 0%, #0b0b1a 45%, #111226 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.75; }
img { max-width: 100%; display: block; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.section-pad { padding: 112px 0; position: relative; }
.section-pad.compact { padding: 86px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 12px 14px 12px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled {
  background: rgba(7, 7, 19, 0.78);
  border-color: var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 0 34px rgba(236, 72, 153, 0.36);
  position: relative;
  overflow: hidden;
}
.brand-mark::after { content: "AI"; font-size: 12px; font-weight: 900; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.desktop-nav { display: flex; align-items: center; gap: 28px; color: rgba(255, 255, 255, 0.76); font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--border); background: var(--panel); border-radius: 50%; color: #fff; padding: 10px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 4px; }
.mobile-nav { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 18px 46px rgba(236, 72, 153, 0.28); }
.btn-secondary { background: rgba(255,255,255,0.07); border-color: var(--border); color: #fff; backdrop-filter: blur(14px); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 14px; }

.hero { min-height: calc(100vh - 76px); display: grid; align-items: center; padding-top: 72px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, rgba(7, 7, 19, 0.74)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: 58px; align-items: center; }
.eyebrow { display: inline-flex; color: var(--cyan); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(48px, 8vw, 94px); line-height: .95; font-weight: 900; max-width: 780px; }
.hero-sub { max-width: 640px; font-size: clamp(18px, 2.6vw, 22px); margin: 26px 0 0; color: rgba(255, 255, 255, 0.78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-cta.center { justify-content: center; }
.micro-copy { max-width: 620px; font-size: 14px; margin-top: 16px; color: rgba(255,255,255,.58); }

.hero-visual { position: relative; min-height: 650px; display: grid; place-items: center; }
.phone-mockup {
  width: min(340px, 82vw);
  aspect-ratio: 9 / 18.5;
  padding: 14px;
  border-radius: 46px;
  background: linear-gradient(155deg, rgba(255,255,255,.26), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow), 0 0 90px rgba(124, 58, 237, 0.28);
  position: relative;
}
.phone-screen { height: 100%; border-radius: 34px; padding: 18px; background: linear-gradient(160deg, #111226, #0b0b1a 52%, #17112c); overflow: hidden; position: relative; }
.phone-image { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: cover; border-radius: 34px; z-index: 3; }
.phone-top { width: 86px; height: 20px; margin: 0 auto 24px; border-radius: 999px; background: #05050c; }
.app-pill { width: max-content; padding: 8px 12px; border-radius: 999px; background: rgba(34, 211, 238, .12); color: var(--cyan); font-size: 12px; font-weight: 800; }
.phone-screen h2 { font-size: 28px; margin: 18px 0; line-height: 1.1; }
.chat-card, .suggestion-card { border: 1px solid var(--border); background: rgba(255,255,255,.07); border-radius: 20px; padding: 16px; color: rgba(255,255,255,.86); line-height: 1.55; }
.score-row { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; padding: 14px; border-radius: 18px; background: rgba(52,211,153,.12); color: #c8ffe7; }
.score-row strong { color: var(--green); }
.phone-button { width: 100%; margin-top: 18px; min-height: 46px; border: 0; border-radius: 999px; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--violet), var(--pink)); }
.floating-card { position: absolute; z-index: 2; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid var(--border); backdrop-filter: blur(18px); box-shadow: 0 18px 50px rgba(0,0,0,.28); font-size: 13px; font-weight: 800; animation: drift 5s ease-in-out infinite; }
.float-a { top: 120px; left: 0; }
.float-b { right: 0; top: 250px; animation-delay: 1s; }
.float-c { left: 18px; bottom: 138px; animation-delay: 2s; }
@keyframes drift { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

.section-heading { text-align: center; max-width: 780px; margin: 0 auto 38px; }
.section-heading.left { text-align: left; margin: 0; }
.section-heading h2, .journey-copy h2, .final-panel h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.03; font-weight: 900; }
.section-heading p, .journey-copy p, .final-panel p { font-size: 18px; margin-top: 18px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.glass-card, .feature-card, .screen-card, .waitlist-form, .journey-panel, .faq-item, .final-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
}
.glass-card, .feature-card { padding: 26px; min-height: 210px; }
.glass-card h3, .feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.glass-card p, .feature-card p { margin: 0; }
.feature-card span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 34px; padding: 0 10px; border-radius: 999px; margin-bottom: 18px; background: rgba(34,211,238,.12); color: var(--cyan); font-size: 13px; font-weight: 900; }

.split-section, .journey-grid, .beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.step span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, var(--violet), var(--pink)); font-weight: 900; }
.step h3 { font-size: 22px; }

.preview-section { background: linear-gradient(180deg, transparent, rgba(255,255,255,.03), transparent); }
.screens-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.screen-card { padding: 14px; margin: 0; text-align: center; }
.mini-screen { aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; position: relative; display: grid; place-items: end center; padding: 18px; background: linear-gradient(160deg, rgba(124,58,237,.6), rgba(236,72,153,.35), rgba(34,211,238,.18)); }
.mini-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.mini-screen span { z-index: 1; font-size: 24px; font-weight: 900; }
.screen-card figcaption { color: rgba(255,255,255,.72); margin-top: 12px; font-weight: 700; }

.check-list { display: grid; gap: 14px; padding: 0; margin: 26px 0 30px; list-style: none; color: rgba(255,255,255,.82); }
.check-list li { padding-left: 34px; position: relative; line-height: 1.6; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--green)); box-shadow: 0 0 22px rgba(34,211,238,.35); }
.journey-panel { padding: 28px; min-height: 430px; display: grid; align-content: center; gap: 16px; background: linear-gradient(160deg, rgba(124,58,237,.17), rgba(255,255,255,.06)); }
.xp-ring { width: 190px; height: 190px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--cyan) 0 68%, rgba(255,255,255,.1) 68% 100%); position: relative; }
.xp-ring::after { content: ""; position: absolute; inset: 14px; border-radius: inherit; background: #0b0b1a; }
.xp-ring span { position: relative; z-index: 1; font-size: 28px; font-weight: 900; }
.mission { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.78); border: 1px solid var(--border); font-weight: 700; }
.mission.done { color: #c8ffe7; border-color: rgba(52,211,153,.34); }
.mission.active { color: #fff; border-color: rgba(34,211,238,.42); background: rgba(34,211,238,.11); }

.waitlist-form { padding: 28px; display: grid; gap: 16px; }
.waitlist-form label { display: grid; gap: 8px; color: rgba(255,255,255,.82); font-weight: 800; }
input, select { width: 100%; min-height: 52px; padding: 0 15px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.08); color: #fff; outline: none; font: inherit; }
select option { color: #111; }
input:focus, select:focus { border-color: rgba(34,211,238,.72); box-shadow: 0 0 0 4px rgba(34,211,238,.1); }
.form-button { width: 100%; margin-top: 6px; }
.privacy-note { font-size: 14px !important; color: rgba(255,255,255,.6) !important; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.trust-item { min-height: 94px; display: grid; place-items: center; text-align: center; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid var(--border); font-weight: 800; color: rgba(255,255,255,.84); }

.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 20px 22px; }
.faq-item summary { cursor: pointer; font-size: 18px; font-weight: 900; }
.faq-item p { margin: 14px 0 0; }
.final-panel { padding: clamp(34px, 7vw, 76px); text-align: center; background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(236,72,153,.14), rgba(34,211,238,.1)); }
.final-panel p { max-width: 740px; margin-inline: auto; }

.site-footer { padding: 46px 0 54px; border-top: 1px solid var(--border); background: rgba(0,0,0,.18); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr 1fr; gap: 28px; align-items: start; }
.footer-brand { margin-bottom: 12px; }
.footer-links { display: grid; gap: 12px; color: rgba(255,255,255,.72); font-weight: 700; }
.footer-meta p { margin: 0 0 10px; font-size: 14px; }
.footer-meta a { color: var(--cyan); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 120ms; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(7,7,19,.94);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
  }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a { padding: 13px 14px; border-radius: 14px; color: rgba(255,255,255,.82); font-weight: 800; }
  .hero-grid, .split-section, .journey-grid, .beta-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 580px; }
  .cards-grid, .cards-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screens-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .section-pad { padding: 76px 0; }
  .section-pad.compact { padding: 66px 0; }
  .site-header { width: calc(100% - 16px); padding-left: 12px; }
  .brand span:last-child { font-size: 15px; }
  .header-actions .btn { display: none; }
  h1 { font-size: 54px; }
  .hero-copy { padding-top: 18px; }
  .hero-sub { font-size: 18px; }
  .btn { width: 100%; min-height: 54px; white-space: normal; text-align: center; }
  .hero-visual { min-height: 530px; }
  .floating-card { font-size: 12px; padding: 10px 12px; }
  .float-a { top: 56px; left: 4px; }
  .float-b { top: 180px; right: 0; }
  .float-c { left: 0; bottom: 86px; }
  .cards-grid, .cards-grid.four, .screens-grid, .trust-grid { grid-template-columns: 1fr; }
  .glass-card, .feature-card { min-height: auto; }
  .step { grid-template-columns: 1fr; }
  .phone-mockup { width: min(300px, 84vw); }
  .section-heading.left { text-align: center; }
}

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