:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #18182480;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #c46dff;
  --accent-glow: #c46dff40;
  --accent-secondary: #ff6b9d;
  --accent-tertiary: #4de8c2;
  --border: #2a2a3a;
  --gradient-purple: linear-gradient(135deg, #c46dff 0%, #8b5cf6 50%, #6366f1 100%);
  --gradient-warm: linear-gradient(135deg, #ff6b9d 0%, #c46dff 100%);
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 400px at 30% 20%, #c46dff12 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 70% 60%, #ff6b9d0a 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 80%, #4de8c208 0%, transparent 70%);
  animation: drift 20s ease-in-out infinite alternate;
}

@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-3%, 2%) rotate(1deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: left;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

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

.hero .lede {
  font-size: 1.25rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- PROBLEM ---- */
.problem {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

.problem-text {
  font-size: 1.15rem;
  color: var(--fg-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.problem-text strong {
  color: var(--fg);
}

/* ---- FEATURES ---- */
.features {
  padding: 6rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.features-header p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 500px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent-glow);
  transform: translateY(-2px);
}

.feature-card.wide {
  grid-column: 1 / -1;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-glow);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- HOW IT WORKS ---- */
.how {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.how h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 48px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-tertiary));
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.5rem 0;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.closing p {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-name {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.5;
  margin-top: 0.5rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .problem-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card.wide {
    grid-column: auto;
  }
  
  .hero-inner {
    text-align: center;
  }
  
  .hero .lede {
    margin: 0 auto;
  }
  
  .hero-tag {
    justify-content: center;
  }
  
  .step {
    gap: 1.2rem;
  }
}