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

:root {
  --bg: #050508;
  --bg-elevated: #0c0c12;
  --fg: #f0f0f2;
  --muted: #7a7a8c;
  --accent: #eca8d6;
  --accent-2: #a78bfa;
  --accent-3: #67e8f9;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.15);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--fg);
  color: var(--bg);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(236, 168, 214, 0.2);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 168, 214, 0.15), transparent 70%);
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.1), transparent 70%);
  bottom: 20%;
  left: -5%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.08), transparent 70%);
  top: 50%;
  left: 40%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.4s forwards;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.6s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.8s forwards;
}

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

.btn-primary {
  position: relative;
  padding: 1rem 2.25rem;
  background: var(--fg);
  color: var(--bg);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(236, 168, 214, 0.25);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  padding: 1rem 2.25rem;
  background: transparent;
  color: var(--fg);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s var(--ease-out-expo);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Stats */
.stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 1s forwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Section base */
.section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--border-hover);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.section-title .muted {
  color: var(--muted);
}

.section-description {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

/* Format Cards */
.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.format-card {
  position: relative;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elevated);
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
  overflow: hidden;
}

.format-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(236, 168, 214, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}

.format-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.format-card:hover::before {
  opacity: 1;
}

.format-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(236, 168, 214, 0.1), rgba(167, 139, 250, 0.1));
  border: 1px solid rgba(236, 168, 214, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.format-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.format-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.format-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.format-tag {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.3rem 0.75rem;
  background: rgba(236, 168, 214, 0.08);
  border: 1px solid rgba(236, 168, 214, 0.15);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* How it Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elevated);
  transition: border-color 0.3s, transform 0.3s var(--ease-out-expo);
}

.step:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.step-number {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Pricing */
.pricing-section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.pricing-card {
  position: relative;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elevated);
  transition: border-color 0.3s, transform 0.3s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(236, 168, 214, 0.03), var(--bg-elevated));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.pricing-price .period {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.pricing-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
}

.pricing-cta {
  width: 100%;
  padding: 0.875rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  border: none;
}

.pricing-cta:hover {
  transform: translateY(-1px);
}

.pricing-cta-primary {
  background: var(--fg);
  color: var(--bg);
}

.pricing-cta-primary:hover {
  box-shadow: 0 8px 32px rgba(236, 168, 214, 0.2);
}

.pricing-cta-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.pricing-cta-secondary:hover {
  border-color: var(--border-hover);
}

/* Waitlist Section */
.waitlist-section {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}

.waitlist-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(236, 168, 214, 0.04), transparent 60%);
  pointer-events: none;
}

.waitlist-box {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 3rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-elevated);
}

.waitlist-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.waitlist-desc {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.waitlist-form {
  display: flex;
  gap: 0.625rem;
  max-width: 420px;
  margin: 0 auto;
}

.waitlist-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.waitlist-input::placeholder {
  color: var(--muted);
}

.waitlist-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(236, 168, 214, 0.1);
}

.waitlist-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.footer-text {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--fg);
}

/* Divider */
.section-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-divider hr {
  border: none;
  height: 1px;
  background: var(--border);
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .stats {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .section,
  .pricing-section {
    padding: 5rem 1.5rem;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-box {
    padding: 3rem 1.5rem;
  }

  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .format-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 1rem;
  }
}
