@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8a8a9a;
  --accent: #00e87b;
  --accent-dim: rgba(0, 232, 123, 0.12);
  --accent-glow: rgba(0, 232, 123, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ─── HERO ─── */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 232, 123, 0.2);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

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

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero .lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 0 24px;
}

.stats-bar .stat {
  background: var(--bg-elevated);
  padding: 36px 32px;
  text-align: center;
}

.stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
}

/* ─── PROBLEM SECTION ─── */
.problem {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 48px;
  max-width: 700px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s;
}

.problem-card:hover {
  border-color: rgba(0, 232, 123, 0.15);
}

.problem-card .icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ─── HOW IT WORKS ─── */
.how-it-works {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

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

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

.step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--bg-elevated);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  z-index: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  max-width: 500px;
}

/* ─── CLOSING ─── */
.closing {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  text-align: center;
}

.closing-inner {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

footer .brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .hero { padding: 80px 20px 60px; min-height: 80vh; }
  .stats-bar { grid-template-columns: 1fr; padding: 0; margin-bottom: 80px; }
  .problem-grid { grid-template-columns: 1fr; }
  .step { gap: 20px; }
  .steps::before { left: 23px; }
  .closing-inner { padding: 48px 24px; }
}
