:root {
  --bg: #0a0a14;
  --bg-elevated: #12121f;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eceaf6;
  --text-muted: #9b97ad;
  --accent-1: #7c6cff;
  --accent-2: #4dd0e1;
  --gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  --radius: 14px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.glow-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: var(--accent-1);
}

.glow-2 {
  width: 420px;
  height: 420px;
  top: 20%;
  right: -160px;
  background: var(--accent-2);
  opacity: 0.2;
}

.glow-3 {
  width: 560px;
  height: 560px;
  bottom: -220px;
  left: 30%;
  background: #5b4bd4;
  opacity: 0.25;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a,
.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 24px 24px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:not(.btn) {
  color: var(--text-muted);
  padding: 10px 4px;
  font-size: 1rem;
}

.mobile-menu.open {
  display: flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(124, 108, 255, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.hero {
  padding: 170px 0 90px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

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

.hero-sub {
  max-width: 620px;
  margin: 24px auto 36px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.section {
  padding: 90px 0;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin: 14px auto 52px;
  max-width: 520px;
}

.section-sub a {
  color: var(--accent-2);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 108, 255, 0.45);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.18), rgba(77, 208, 225, 0.18));
  color: var(--accent-2);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.step-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-card {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.price-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.price {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 14px 0 22px;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  flex: 1;
}

.price-card li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}

.featured {
  border-color: rgba(124, 108, 255, 0.5);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.08), var(--bg-elevated));
  box-shadow: 0 10px 40px rgba(124, 108, 255, 0.15);
}

.price-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gradient);
  font-size: 0.75rem;
  font-weight: 700;
}

.price-card {
  position: relative;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 22px;
  transition: border-color 0.25s;
}

.faq[open] {
  border-color: rgba(124, 108, 255, 0.4);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.faq[open] .faq-arrow {
  transform: rotate(-135deg);
}

.faq p {
  color: var(--text-muted);
  padding-bottom: 20px;
  font-size: 0.95rem;
}

.waitlist-card {
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 32px;
  background-image: radial-gradient(circle at 50% 0%, rgba(124, 108, 255, 0.14), transparent 60%);
}

.waitlist-card h2 {
  margin-bottom: 12px;
}

.waitlist-card > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

#waitlistForm {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

#emailInput {
  flex: 1;
  min-width: 0;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

#emailInput:focus {
  outline: none;
  border-color: var(--accent-1);
}

#emailInput::placeholder {
  color: var(--text-muted);
}

.form-note {
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-note.success {
  color: #6ee7a8;
}

.form-note.error {
  color: #ff8a8a;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-inner > .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero {
    padding: 130px 0 60px;
  }
  .hero-stats {
    gap: 32px;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
  #waitlistForm {
    flex-direction: column;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}