/* ─── Reset & base ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #080809;
  --surface:    #0e0e10;
  --surface-2:  #111113;
  --border:     rgba(255,255,255,0.08);
  --border-md:  rgba(255,255,255,0.11);
  --blue:       #3B82F6;
  --blue-dark:  #2563eb;
  --blue-glow:  rgba(59,130,246,0.14);
  --text:       #ffffff;
  --text-2:     rgba(255,255,255,0.60);
  --text-3:     rgba(255,255,255,0.35);
  --success:    #22c55e;
  --error:      #ef4444;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ─── Nav ───────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,8,9,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text);
}

.nav-cta {
  height: 38px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.15s;
}
.nav-cta:active { opacity: 0.8; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  padding: 116px 0 72px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px;
  background: rgba(255,255,255,0.03);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  flex-shrink: 0;
}

.hero-headline {
  font-size: clamp(42px, 11vw, 76px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.04;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(15px, 3.5vw, 18px);
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* ─── Forms ─────────────────────────────────────────────────────────────────── */

.hero-form-wrap { max-width: 480px; margin: 0 auto; }

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.15s;
}
.email-input::placeholder { color: var(--text-3); }
.email-input:focus { border-color: var(--blue); }

.btn-primary {
  width: 100%;
  height: 54px;
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: opacity 0.15s;
}
.btn-primary:active { opacity: 0.85; }

.form-error {
  font-size: 13px;
  color: var(--error);
  margin-top: 8px;
  min-height: 18px;
}

/* ─── Animated counter ───────────────────────────────────────────────────────── */

.counter-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(6px);
  animation: counterReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes counterReveal {
  to { opacity: 1; transform: translateY(0); }
}

.counter-num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1;
  text-shadow:
    0 0 12px rgba(59, 130, 246, 0.55),
    0 0 32px rgba(59, 130, 246, 0.20);
}

.counter-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-3);
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .counter-wrap { animation: none; opacity: 1; transform: none; }
}

/* legacy — no longer used, kept for safety */
.waitlist-count {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 14px;
}

.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.form-success p { font-size: 14px; font-weight: 500; color: var(--success); }

.success-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--success);
}

/* ─── Phone frame ────────────────────────────────────────────────────────────── */

.phone-frame {
  width: 260px;
  aspect-ratio: 9 / 19.5;
  border-radius: 40px;
  border: 8px solid #1a1a1c;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 1px #2a2a2c,
    0 48px 120px rgba(0,0,0,0.65),
    0 0 80px rgba(59,130,246,0.07);
  flex-shrink: 0;
  position: relative;
}

.phone-frame-sm {
  width: 220px;
  border-radius: 34px;
  border-width: 7px;
}

/* ─── Showcase ───────────────────────────────────────────────────────────────── */

.showcase {
  padding: 0 0 72px;
  text-align: center;
}

.showcase-phone {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.showcase .phone-frame {
  width: min(290px, 76vw);
}

.showcase-caption {
  font-size: 14px;
  color: var(--text-3);
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ─── Features ───────────────────────────────────────────────────────────────── */

.features { padding: 0 0 16px; }

.feature-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.feature-text {
  text-align: center;
  max-width: 440px;
}

.feature-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--blue);
  margin-bottom: 14px;
}

.feature-headline {
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}

.feature-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.72;
}

.feature-phone { display: flex; justify-content: center; }

/* ─── What's included ────────────────────────────────────────────────────────── */

.included {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.included-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}

.included-text { width: 100%; max-width: 480px; text-align: center; }

.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--text);
}

.included-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

.included-phone { display: flex; justify-content: center; }

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */

.faq {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.faq .section-eyebrow,
.faq .section-title { text-align: center; }

.faq-list {
  max-width: 620px;
  margin: 0 auto;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  line-height: 1.4;
  min-height: 60px;
}

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-3);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  transition: transform 0.2s, color 0.2s;
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue); }

.faq-a {
  display: none;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.72;
  padding-bottom: 22px;
}

.faq-item.open .faq-a { display: block; }

/* ─── CTA ────────────────────────────────────────────────────────────────────── */

.cta {
  padding: 88px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(30px, 8vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 14px;
}

.cta-sub {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 36px;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-left { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--text); }
.footer-tagline { font-size: 12px; color: var(--text-3); }

.footer-right { display: flex; gap: 20px; align-items: center; }

.footer-link {
  font-size: 12px;
  color: var(--text-3);
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text-2); }

/* ─── Hero entrance animations ───────────────────────────────────────────────── */

@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Staggered entrance for hero elements on page load */
.hero-badge    { animation: heroUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.hero-headline { animation: heroUp 0.70s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both; }
.hero-sub      { animation: heroUp 0.70s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both; }
.hero-form-wrap{ animation: heroUp 0.70s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both; }

/* ─── Scroll reveal system ────────────────────────────────────────────────────── */
/* Elements start hidden; JS adds .revealed when they enter the viewport.         */
/* Uses transform + opacity only — no layout-triggering properties (skill rule).  */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Respect prefers-reduced-motion — skip all animations */
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero-headline, .hero-sub, .hero-form-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .counter-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .counter-num { text-shadow: none; }
}

/* ─── Desktop 768px+ ─────────────────────────────────────────────────────────── */

@media (min-width: 768px) {

  .nav-inner { padding: 0 32px; }
  .container  { padding: 0 32px; }

  /* Hero */
  .hero { padding: 150px 0 88px; }

  /* Form inline */
  .form-row { flex-direction: row; }
  .btn-primary { width: auto; white-space: nowrap; padding: 0 28px; flex-shrink: 0; }

  /* Features */
  .feature-block {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
    padding: 80px 0;
  }
  .feature-block-reverse { flex-direction: row-reverse; }
  .feature-text { text-align: left; flex: 1; max-width: none; }
  .feature-phone { flex-shrink: 0; }

  /* Included */
  .included-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
  }
  .included-text { text-align: left; flex: 1; max-width: none; }
  .included-phone { flex-shrink: 0; }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ─── Desktop 1024px+ ────────────────────────────────────────────────────────── */

@media (min-width: 1024px) {
  .phone-frame-sm { width: 256px; }
  .showcase .phone-frame { width: 310px; }
  .hero-headline { letter-spacing: -3.5px; }
}
