:root {
  --dark: #0f0f1a;
  --dark2: #1a1a2e;
  --indigo: #6366f1;
  --indigo-light: #818cf8;
  --purple: #a78bfa;
  --green: #00d48a;
  --red: #ff4458;
  --warm: #faf9f7;
  --gray: #8888a0;
  --gray-light: #c4c4d4;
  --surface: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--dark);
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  transition: all .3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { width: 36px; height: 36px; }
.nav-wordmark { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; color: #fff; }
.nav-wordmark span { color: var(--indigo); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--gray); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--indigo) !important; color: #fff !important;
  padding: 10px 22px !important; border-radius: 10px;
  font-weight: 600 !important; transition: transform .2s, box-shadow .2s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(99,102,241,0.4); }

/* Mobile menu */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger svg { width: 24px; height: 24px; stroke: #fff; }

/* ── SECTIONS ── */
.section { padding: 120px 40px; position: relative; }
.section-light { background: var(--warm); color: var(--dark2); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; text-align: center;
  letter-spacing: -1px; line-height: 1.2;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-sub {
  text-align: center; font-size: 17px; color: var(--gray);
  margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ── FORMS ── */
.waitlist-form, .cta-form {
  display: flex; gap: 10px; margin-top: 36px;
}
.waitlist-form input, .cta-form input {
  flex: 1; padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px; color: #fff;
  font-family: 'Outfit', sans-serif; font-size: 15px; outline: none;
  transition: border-color .2s;
}
.waitlist-form input::placeholder, .cta-form input::placeholder { color: rgba(255,255,255,0.3); }
.waitlist-form input:focus, .cta-form input:focus { border-color: var(--indigo); background: rgba(99,102,241,0.06); }
.waitlist-form button, .cta-form button {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--indigo), #4f46e5);
  border: none; border-radius: 14px;
  color: #fff; font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.waitlist-form button:hover, .cta-form button:hover {
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,0.4);
}
.waitlist-hint { font-size: 13px; color: rgba(255,255,255,0.25); margin-top: 12px; }
.waitlist-success {
  display: none; margin-top: 36px; padding: 20px 24px; border-radius: 14px;
  background: rgba(0,212,138,0.1); border: 1px solid rgba(0,212,138,0.2);
  color: var(--green); font-weight: 600;
}

/* ── CARDS / STEPS ── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 1000px; margin: 64px auto 0;
}
.step {
  text-align: center; padding: 32px 20px; border-radius: 20px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.2); }
.section-light .step { background: #fff; border: 1px solid #eee; box-shadow: 0 2px 20px rgba(0,0,0,0.04); }
.step-num {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(99,102,241,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 20px; font-weight: 800; color: var(--indigo);
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.section-light .step h3 { color: var(--dark2); }
.step p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── FEATURE CARDS ── */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; max-width: 800px; margin: 56px auto 0;
}
.feature-card {
  padding: 28px; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: transform .3s;
}
.feature-card:hover { transform: translateY(-3px); }
.section-light .feature-card { background: #fff; border: 1px solid #eee; box-shadow: 0 2px 16px rgba(0,0,0,0.04); }
.feature-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.section-light .feature-card h3 { color: var(--dark2); }
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── SCREENSHOT CAROUSEL ── */
.carousel-container { max-width: 1100px; margin: 56px auto 0; position: relative; overflow: hidden; }
.carousel-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px 0; scrollbar-width: none; -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex-shrink: 0; width: 260px; scroll-snap-align: center;
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  transition: transform .3s, border-color .3s;
  background: var(--dark2);
}
.carousel-item:hover { transform: scale(1.03); border-color: rgba(99,102,241,0.3); }
.carousel-item img { width: 100%; display: block; }
.carousel-label {
  padding: 14px 16px; font-size: 13px; font-weight: 600;
  color: var(--gray-light); text-align: center;
}
.section-light .carousel-item { border: 2px solid #eee; background: #fff; }
.section-light .carousel-label { color: var(--gray); }

/* ── VIDEO SECTION ── */
.video-container {
  max-width: 720px; margin: 48px auto 0;
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  background: #000; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}
.video-container video, .video-container iframe { width: 100%; height: 100%; border: none; }
.video-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: var(--gray); font-size: 15px;
}
.video-placeholder .play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(99,102,241,0.2); border: 2px solid rgba(99,102,241,0.4);
  display: flex; align-items: center; justify-content: center;
}

/* ── FAQ ── */
.faq-container { max-width: 700px; margin: 56px auto 0; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0;
}
.section-light .faq-item { border-bottom-color: #eee; }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600;
  color: #fff; text-align: left; transition: color .2s;
}
.section-light .faq-question { color: var(--dark2); }
.faq-question:hover { color: var(--indigo-light); }
.faq-question svg { flex-shrink: 0; transition: transform .3s; }
.faq-question.open svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  font-size: 15px; color: var(--gray); line-height: 1.7;
}
.faq-answer.open { max-height: 300px; padding-bottom: 24px; }

/* ── CTA SECTION ── */
.cta-section { padding: 120px 40px; text-align: center; position: relative; }
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-box { max-width: 600px; margin: 0 auto; position: relative; z-index: 2; }
.cta-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -1px;
}
.cta-box p { font-size: 17px; color: var(--gray); margin-top: 16px; line-height: 1.7; }

/* ── FOOTER ── */
footer {
  padding: 40px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
footer .left { font-size: 13px; color: var(--gray); }
footer .links { display: flex; gap: 24px; }
footer .links a { color: var(--gray); text-decoration: none; font-size: 13px; transition: color .2s; }
footer .links a:hover { color: #fff; }

/* ── PAGE HERO (for sub-pages) ── */
.page-hero {
  padding: 160px 40px 80px; text-align: center; position: relative;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.15; position: relative; z-index: 2;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero p {
  font-size: 18px; color: var(--gray); margin-top: 20px;
  max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7;
  position: relative; z-index: 2;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-glow { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.7; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.fade-in { animation: fadeUp .6s ease both; }
.fade-in-d1 { animation: fadeUp .6s ease .1s both; }
.fade-in-d2 { animation: fadeUp .6s ease .2s both; }
.fade-in-d3 { animation: fadeUp .6s ease .3s both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-hamburger { display: block; }
  .section { padding: 80px 20px; }
  .page-hero { padding: 120px 20px 60px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .waitlist-form, .cta-form { flex-direction: column; }
  .waitlist-form button, .cta-form button { width: 100%; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 500px) {
  .steps { grid-template-columns: 1fr; }
  .carousel-item { width: 220px; }
}
