:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ec;
  --fg-muted: #8a8a9a;
  --fg-dim: #55556a;
  --accent: #00e676;
  --accent-dim: rgba(0, 230, 118, 0.15);
  --accent-glow: rgba(0, 230, 118, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --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);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.accent { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 230, 118, 0.2);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

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

.hero-stat-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 24px;
  background: var(--bg-subtle);
}

.problem-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 56px;
  max-width: 700px;
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
}

.card-icon {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 24px;
}

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

.how-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 16px;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.how-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 560px;
}

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

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}

.step:last-child { padding-bottom: 0; }

.step-line {
  position: absolute;
  left: 7px;
  top: 20px;
  width: 1px;
  height: calc(100%);
  background: var(--border);
}

.step:last-child .step-line { display: none; }

.step-dot {
  width: 15px;
  height: 15px;
  min-width: 15px;
  border-radius: 50%;
  border: 2px solid var(--fg-dim);
  background: var(--bg);
  margin-top: 4px;
  position: relative;
  z-index: 2;
}

.step-dot.active {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
}

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

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

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
  background: var(--bg-subtle);
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-text h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Score display */
.score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.score-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.1);
}

.score-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
}

.score-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.score-trend {
  font-size: 0.8rem;
  color: var(--fg-dim);
  font-style: italic;
}

/* Discovery display */
.discovery-display {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.82rem;
  width: 100%;
  max-width: 380px;
}

.discovery-line {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discovery-line:last-child { border-bottom: none; }
.discovery-line.dim { opacity: 0.5; }
.discovery-line.active { color: var(--fg); }

.disc-found {
  color: #ff5252;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  margin-right: 8px;
}

.disc-scanning {
  color: #ffc107;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  margin-right: 8px;
}

.disc-removed {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  margin-right: 8px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

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

/* ===== FOOTER ===== */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .hero-stat-row {
    flex-direction: column;
    gap: 20px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .hero { min-height: auto; padding: 80px 20px 60px; }
  .problem, .how, .features, .closing { padding: 64px 20px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.8rem; }
  .discovery-display { max-width: 100%; }
}