/* ============================================
   Savurn — Premium Design System
   Dark/Light mode | Helvetica Neue | Glass
   ============================================ */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

:root {
  --bg: #000000;
  --bg-2: #080808;
  --bg-3: #101010;
  --surface: rgba(255,255,255,0.03);
  --surface-md: rgba(255,255,255,0.055);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.12);
  --border-strong: rgba(255,255,255,0.18);
  --text: #ffffff;
  --text-2: rgba(255,255,255,0.5);
  --text-3: rgba(255,255,255,0.22);
  --nav-bg: rgba(0,0,0,0.55);
  --btn-bg: #ffffff;
  --btn-text: #000000;
  --btn-hover: #e8e8e8;
  --tag-bg: rgba(255,255,255,0.05);
  --tag-text: rgba(255,255,255,0.45);
  --glow: rgba(255,255,255,0.04);
  --card-shadow: 0 1px 0 0 rgba(255,255,255,0.05) inset, 0 32px 80px rgba(0,0,0,0.7);
  --card-shadow-hover: 0 1px 0 0 rgba(255,255,255,0.08) inset, 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.06);
  --glass-blur: saturate(180%) blur(28px);
}

[data-theme="light"] {
  --bg: #f8fbff;
  --bg-2: #f0f5fb;
  --bg-3: #e4edf7;
  --surface: rgba(0,0,0,0.025);
  --surface-md: rgba(0,0,0,0.045);
  --surface-hover: rgba(0,0,0,0.06);
  --border: rgba(0,0,0,0.07);
  --border-md: rgba(0,0,0,0.1);
  --border-strong: rgba(0,0,0,0.16);
  --text: #000000;
  --text-2: rgba(0,0,0,0.48);
  --text-3: rgba(0,0,0,0.22);
  --nav-bg: rgba(255,255,255,0.65);
  --btn-bg: #000000;
  --btn-text: #ffffff;
  --btn-hover: #1a1a1a;
  --tag-bg: rgba(0,0,0,0.05);
  --tag-text: rgba(0,0,0,0.45);
  --glow: rgba(0,0,0,0.03);
  --card-shadow: 0 1px 0 0 rgba(255,255,255,0.9) inset, 0 16px 48px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 1px 0 0 rgba(255,255,255,1) inset, 0 24px 64px rgba(0,0,0,0.12);
  --glass-blur: saturate(180%) blur(28px);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-text-size-adjust: 100%;
}

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

/* ============ BACKGROUND CANVASES ============ */
#star-field, #cloud-field {
  position: fixed;
  inset: -5%;
  width: 110%; height: 110%;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  will-change: transform;
}
#star-field {
  opacity: 1;
}
#cloud-field {
  opacity: 0;
}
[data-theme="light"] #star-field { opacity: 0; }
[data-theme="light"] #cloud-field { opacity: 1; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 6px 20px;
  height: 52px;
  border-radius: 999px;
  background: var(--nav-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-md);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 8px 32px rgba(0,0,0,0.4);
  white-space: nowrap;
  transition: background 0.45s, box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 12px 48px rgba(0,0,0,0.6); }

.nav-logo a {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text);
  margin-right: 8px;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 13px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-hover); }

.theme-toggle, .mobile-theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover, .mobile-theme-toggle:hover { background: var(--surface-hover); color: var(--text); }
.theme-toggle .icon-sun, .mobile-theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon, .mobile-theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun,
[data-theme="light"] .mobile-theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon,
[data-theme="light"] .mobile-theme-toggle .icon-moon { display: none; }

.nav-cta {
  display: inline-flex; align-items: center; padding: 0 18px;
  height: 40px; font-size: 13px; font-weight: 600;
  background: var(--btn-bg); color: var(--btn-text);
  border-radius: 999px; flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-cta:hover { background: var(--btn-hover); transform: scale(1.02); }

/* ============ MOBILE HEADER ============ */
.mobile-header {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  align-items: center; justify-content: space-between;
  padding: 0 16px; height: 56px;
  background: var(--nav-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
}
.mobile-logo { font-size: 17px; font-weight: 700; letter-spacing: -0.4px; }
.mobile-header-right { display: flex; align-items: center; gap: 8px; }

.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; width: 16px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
  z-index: 490; background: var(--bg);
  display: flex; flex-direction: column;
  padding: 40px 28px 48px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-drawer.open { transform: none; }
.mobile-drawer-links { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mobile-drawer-links a {
  font-size: 32px; font-weight: 700; letter-spacing: -1.5px;
  color: var(--text-3); padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-drawer-links a:hover, .mobile-drawer-links a:active { color: var(--text); }
.mobile-drawer-cta {
  display: flex; align-items: center; justify-content: center;
  height: 54px; font-size: 16px; font-weight: 600;
  background: var(--btn-bg); color: var(--btn-text);
  border-radius: 999px; margin-top: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  z-index: 1;
}

/* Dot grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .hero::before {
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
}

.hero-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 140px 56px 100px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; width: 100%;
  position: relative; z-index: 1;
}

/* Centered hero (no Saturn) */
.hero-inner.hero-centered {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 160px 56px 120px;
  max-width: 860px;
}

.hero-content { position: relative; }
.hero-content-centered {
  display: flex; flex-direction: column; align-items: center;
}
.hero-content-centered .hero-sub { max-width: 520px; text-align: center; }
.hero-content-centered .hero-actions { justify-content: center; }
.hero-content-centered .hero-badge { align-self: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--tag-text); border: 1px solid var(--border-md);
  border-radius: 999px; background: var(--tag-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  margin-bottom: 32px;
  box-shadow: var(--card-shadow);
}

.badge-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-2);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.hero h1 {
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 700; line-height: 1.0;
  letter-spacing: -3.5px; margin-bottom: 24px;
}

.hero h1 .dim { color: var(--text-2); }

.hero-sub {
  font-size: 17px; line-height: 1.8;
  color: var(--text-2); margin-bottom: 44px; max-width: 430px;
}

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; font-size: 14px; font-weight: 600;
  background: var(--btn-bg); color: var(--btn-text);
  border: none; border-radius: 999px; cursor: pointer;
  font-family: inherit; letter-spacing: -0.1px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--btn-hover); transform: scale(1.025);
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; font-size: 14px; font-weight: 500;
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--border-md); border-radius: 999px; cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-strong); }

/* Live ticker */
.hero-ticker {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--surface-md);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-md); border-radius: 16px;
  box-shadow: var(--card-shadow);
  position: relative; overflow: hidden;
}

.hero-ticker::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.ticker-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--surface-hover); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); flex-shrink: 0;
}

.ticker-label { font-size: 11px; color: var(--text-3); font-weight: 500; letter-spacing: 0.2px; }
.ticker-value {
  font-size: 15px; font-weight: 600; letter-spacing: -0.4px;
}

/* ============ STATS STRIP ============ */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
  background: var(--bg);
}

.stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 44px; font-weight: 700;
  letter-spacing: -2.5px; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat-label { font-size: 13px; color: var(--text-2); font-weight: 500; }

/* ============ MARQUEE ============ */
.marquee-section {
  padding: 0; overflow: hidden;
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 1; background: var(--bg);
}

.marquee-label {
  text-align: center;
  font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-3);
  padding: 24px 0 16px;
}

.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 40s linear infinite;
  padding-bottom: 24px;
}

.marquee-item {
  display: flex; align-items: center;
  padding: 0 44px;
  color: var(--text-3);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.marquee-item:hover { opacity: 1; }
.marquee-item svg { display: block; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ FEATURES ============ */
.features {
  padding: 140px 56px;
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 1;
}

.features-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end; margin-bottom: 72px;
}

.features-header h2 {
  font-size: clamp(38px, 4vw, 54px); font-weight: 700;
  letter-spacing: -2.5px; line-height: 1.04;
}

.features-header p { font-size: 16px; color: var(--text-2); line-height: 1.8; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-cell {
  padding: 36px 32px;
  border-radius: 20px;
  position: relative; overflow: hidden;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset;
  transition: background 0.35s, border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}

[data-theme="light"] .feature-cell {
  background: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.9) inset;
}

.feature-cell:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.08) inset;
}

[data-theme="light"] .feature-cell:hover {
  background: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,1) inset;
}

.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface-hover);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); margin-bottom: 24px;
  transition: border-color 0.3s;
}
.feature-cell:hover .feature-icon { border-color: var(--border-strong); }

.feature-cell h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 10px; }
.feature-cell p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; }

/* ============ HOW IT WORKS ============ */
.how-it-works {
  padding: 140px 56px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}

.how-inner { max-width: 1280px; margin: 0 auto; }

.section-tag {
  display: inline-block; padding: 5px 13px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px;
  color: var(--tag-text); border: 1px solid var(--border-md); border-radius: 999px;
  background: var(--tag-bg); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); margin-bottom: 20px;
}

.how-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end; margin-bottom: 72px;
}

.how-header h2 {
  font-size: clamp(38px, 4vw, 54px); font-weight: 700;
  letter-spacing: -2.5px; line-height: 1.04;
}

.how-header p { font-size: 16px; color: var(--text-2); line-height: 1.8; }

.dim-heading { color: var(--text-2); }

/* New timeline steps */
.steps-timeline {
  display: flex; flex-direction: column; gap: 0;
  max-width: 800px; margin: 0 auto;
}

.step-card-new {
  display: flex; align-items: flex-start; gap: 28px;
  padding: 36px 40px;
  border-radius: 20px;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.05) inset;
  transition: background 0.35s, border-color 0.35s, transform 0.25s;
}

[data-theme="light"] .step-card-new {
  background: rgba(255,255,255,0.52);
  border-color: rgba(255,255,255,0.75);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07), 0 1px 0 rgba(255,255,255,0.9) inset;
}

.step-card-new:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

[data-theme="light"] .step-card-new:hover {
  background: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.9);
}

.step-num-pill {
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface-hover);
  border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; letter-spacing: -1px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.step-card-body { flex: 1; }

.step-card-title-row {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 10px;
}

.step-card-title-row h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.4px;
}

.step-time-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--tag-bg); color: var(--tag-text);
  border: 1px solid var(--border-md);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.step-card-body p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

.step-connector {
  display: flex; justify-content: flex-start;
  padding-left: 64px; /* aligns with center of pill (28px gap + 52px/2 ≈ 54px) */
  height: 64px; color: var(--border-md);
}

.step-connector svg { width: 35px; height: 64px; }

/* Legacy step-card kept for safety */
.step-num {
  font-size: 80px; font-weight: 700; letter-spacing: -5px;
  color: var(--border-strong); line-height: 1; margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}

/* ============ FAQ ============ */
.faq-section {
  padding: 120px 56px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}

.faq-inner { max-width: 760px; margin: 0 auto; }

.faq-header {
  text-align: center; margin-bottom: 56px;
}

.faq-header h2 {
  font-size: clamp(38px, 4vw, 54px); font-weight: 700;
  letter-spacing: -2.5px; margin-bottom: 12px; margin-top: 16px;
}

.faq-header p { font-size: 16px; color: var(--text-2); }

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

.faq-item {
  border-radius: 16px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: background 0.25s, border-color 0.25s;
}

[data-theme="light"] .faq-item {
  background: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.7);
}

.faq-item.open {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.13);
}

[data-theme="light"] .faq-item.open {
  background: rgba(255,255,255,0.68);
  border-color: rgba(255,255,255,0.85);
}

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 24px;
  background: none; border: none; cursor: pointer;
  text-align: left; color: var(--text); font-family: inherit;
  font-size: 15px; font-weight: 600; letter-spacing: -0.2px;
  line-height: 1.4;
}

.faq-q:hover { color: var(--text); }

.faq-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  color: var(--text-2); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}

.faq-a.open {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq-a p {
  padding: 0 24px;
  font-size: 14px; color: var(--text-2); line-height: 1.75;
}

/* ============ WAITLIST HERO ============ */
.wl-section {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

/* Background layers */
.wl-bg {
  position: absolute; inset: 0; pointer-events: none;
}

#wl-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.wl-radial {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.01) 45%,
    transparent 70%);
  pointer-events: none;
}
[data-theme="light"] .wl-radial {
  background: radial-gradient(ellipse 60% 50% at 50% 50%,
    rgba(0,0,0,0.035) 0%,
    rgba(0,0,0,0.008) 45%,
    transparent 70%);
}

.wl-fade-left {
  position: absolute; top: 0; left: 0; bottom: 0; width: 180px;
  background: linear-gradient(to right, var(--bg), transparent);
}
.wl-fade-right {
  position: absolute; top: 0; right: 0; bottom: 0; width: 180px;
  background: linear-gradient(to left, var(--bg), transparent);
}
.wl-fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* Content */
.wl-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 120px 40px;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

/* Badge */
.wl-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  font-size: 12px; font-weight: 500; letter-spacing: -0.02em;
  color: rgba(240,240,240,0.85);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  margin-bottom: 36px;
}
[data-theme="light"] .wl-badge {
  color: rgba(30,30,30,0.85);
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
}

/* Heading — matches Framer waitlist template style */
.wl-heading {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: rgb(240,240,240);
  margin-bottom: 20px;
}
[data-theme="light"] .wl-heading { color: rgb(16,16,16); }

.wl-heading em {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0em;
}

/* Sub */
.wl-sub {
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,0.56);
  margin-bottom: 40px;
  letter-spacing: -0.04em;
}
[data-theme="light"] .wl-sub { color: rgba(0,0,0,0.5); }

/* Form — Framer-style overlapping button */
.wl-form {
  width: 100%; max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.wl-input {
  width: 100%;
  padding: 18px 155px 18px 20px;
  border-radius: 10px;
  font-size: 14px; font-family: inherit;
  font-style: normal; letter-spacing: -0.04em; line-height: 1.2;
  background: rgba(10,10,10,0.56);
  color: #ffffff;
  border: none; outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  transition: box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
[data-theme="light"] .wl-input {
  background: rgba(255,255,255,0.7);
  color: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.wl-input::placeholder { color: rgba(255,255,255,0.4); }
[data-theme="light"] .wl-input::placeholder { color: rgba(0,0,0,0.35); }
.wl-input:focus { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
[data-theme="light"] .wl-input:focus { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25); }

.wl-submit-wrap {
  position: absolute; top: 5px; right: 5px; bottom: 5px;
}

.wl-submit {
  width: 140px; height: 100%;
  border: none; outline: none; cursor: pointer;
  border-radius: 6px;
  font-size: 13.5px; font-family: inherit; font-weight: 500;
  font-style: normal; letter-spacing: -0.04em;
  background: rgb(240,240,240); color: rgb(10,10,10);
  transition: background 0.18s, transform 0.12s;
  -webkit-appearance: none; appearance: none;
}
.wl-submit:hover { background: #fff; transform: scale(1.01); }
.wl-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.wl-msg {
  margin-top: 16px; font-size: 13px; font-weight: 500;
  letter-spacing: -0.03em; min-height: 20px;
  color: rgba(255,255,255,0.56);
}
[data-theme="light"] .wl-msg { color: rgba(0,0,0,0.5); }

/* ============ FOOTER ============ */
.footer {
  padding: 48px 56px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1; background: var(--bg);
}

.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}

.footer-left { display: flex; align-items: center; gap: 32px; }
.footer-logo { font-size: 17px; font-weight: 700; letter-spacing: -0.4px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-3); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-3); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 120px 40px 80px; gap: 64px; }
  .hero-inner.hero-centered { padding: 130px 40px 100px; }
  .hero-sub, .hero-badge { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-ticker { display: inline-flex; }
  .features-header, .how-header { grid-template-columns: 1fr; gap: 24px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .navbar { display: none; }
  .mobile-header { display: flex; }
  .hero-inner { padding: 80px 20px 60px; text-align: center; }
  .hero-inner.hero-centered { padding: 100px 20px 80px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { text-align: center; }
  .features, .how-it-works, .faq-section { padding: 80px 20px; }
  .footer { padding: 40px 20px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-left { flex-direction: column; gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .wl-content { padding: 80px 20px; }
  .wl-heading { font-size: clamp(34px, 8vw, 48px); }
  .wl-input { padding: 16px 16px 16px 16px; }
  .wl-submit-wrap { position: static; margin-top: 10px; }
  .wl-submit { width: 100%; height: 50px; border-radius: 8px; }
  .wl-form { max-width: 100%; }
  .wl-sub br { display: none; }
  .step-card-new { flex-direction: column; gap: 16px; }
  .step-connector { padding-left: 44px; }
}
