:root {
  --bg: #0a0f1a;
  --bg-raised: #111827;
  --bg-card: #1a2236;
  --fg: #e8ecf4;
  --fg-muted: #8896ab;
  --accent: #34d399;
  --accent-dim: #065f46;
  --accent-glow: rgba(52, 211, 153, 0.15);
  --warning: #fbbf24;
  --warning-dim: rgba(251, 191, 36, 0.12);
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'Space Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10,15,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  color: var(--accent);
  font-size: 22px;
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(52,211,153,0.08) 0%, transparent 70%),
    var(--bg);
}
.hero-inner {
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid rgba(52,211,153,0.2);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 20px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 28px 40px;
  background: var(--bg-raised);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Problem */
.problem {
  padding: 120px 32px;
}
.problem-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.problem-label,
.features-label,
.how-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.problem-inner > h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  max-width: 700px;
  margin-bottom: 56px;
}
.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: var(--radius);
  padding: 36px 28px;
}
.problem-icon {
  font-size: 28px;
  margin-bottom: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 10px;
}
.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Features */
.features {
  padding: 120px 32px;
  background: var(--bg-raised);
}
.features-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}
.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}
.feature-text h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.feature-text p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Score Display */
.score-display {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: center;
}
.score-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--accent-glow);
}
.score-value {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}
.score-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.score-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bar-label {
  font-size: 12px;
  color: var(--fg-muted);
  width: 80px;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 1s ease;
}

/* Doc Preview */
.doc-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.doc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.doc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.doc-dot.green { background: var(--accent); }
.doc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
}
.doc-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
}
.doc-line.long { width: 100%; }
.doc-line.medium { width: 75%; }
.doc-line.short { width: 45%; }
.doc-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--accent-glow);
  border: 1px solid rgba(52,211,153,0.2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

/* Alert Preview */
.alert-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.alert-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.alert-item.warning {
  border-left: 3px solid var(--warning);
}
.alert-item.ok {
  border-left: 3px solid var(--accent);
}
.alert-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--warning-dim);
  color: var(--warning);
  margin-bottom: 8px;
}
.alert-badge.success {
  background: var(--accent-glow);
  color: var(--accent);
}
.alert-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* How */
.how {
  padding: 120px 32px;
}
.how-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.how-inner > h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 56px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-raised);
}
.step-num {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Closing */
.closing {
  padding: 140px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(52,211,153,0.06) 0%, transparent 70%),
    var(--bg-raised);
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-note {
  font-size: 14px;
  color: var(--fg-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .problem,
  .features,
  .how,
  .closing {
    padding: 80px 20px;
  }
  .score-display {
    flex-direction: column;
    text-align: center;
  }
}