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

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #161d2e;
  --bg-card-hover: #1c2540;
  --fg-primary: #f0f2f5;
  --fg-secondary: #8b95a8;
  --fg-muted: #5a6478;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-bright: #60a5fa;
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.12);
  --orange: #f59e0b;
  --orange-glow: rgba(245, 158, 11, 0.12);
  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.1);
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAV ---- */
.nav {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--fg-primary);
  letter-spacing: -0.02em;
}
.nav-brand span {
  color: var(--accent);
}
.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ---- HERO ---- */
.hero {
  padding: 100px 0 80px;
  text-align: left;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-bright);
  background: var(--accent-glow);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
}
.hero .lede {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  max-width: 560px;
  line-height: 1.65;
}

/* ---- STATS BAR ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 80px 0;
}
.stat-item {
  background: var(--bg-secondary);
  padding: 36px 32px;
  text-align: center;
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fg-primary);
  letter-spacing: -0.02em;
}
.stat-number span {
  color: var(--accent-bright);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 6px;
}

/* ---- WORKFLOW ---- */
.workflow {
  padding: 60px 0 80px;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--fg-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 48px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.workflow-step {
  background: var(--bg-card);
  padding: 32px 24px;
  position: relative;
}
.workflow-step:hover {
  background: var(--bg-card-hover);
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(59, 130, 246, 0.12);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--fg-primary);
}
.step-desc {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.55;
}

/* ---- FEATURES GRID ---- */
.features {
  padding: 60px 0 80px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--bg-card);
  padding: 40px 32px;
  position: relative;
}
.feature-card:hover {
  background: var(--bg-card-hover);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.feature-icon.blue { background: var(--accent-glow); border: 1px solid rgba(59,130,246,0.15); }
.feature-icon.green { background: var(--green-glow); border: 1px solid rgba(34,197,94,0.12); }
.feature-icon.orange { background: var(--orange-glow); border: 1px solid rgba(245,158,11,0.12); }
.feature-icon.red { background: var(--red-glow); border: 1px solid rgba(239,68,68,0.1); }

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ---- SCORE PREVIEW ---- */
.score-section {
  padding: 60px 0 80px;
}
.score-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.score-visual {
  text-align: center;
}
.score-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid rgba(59,130,246,0.15);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-bottom-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
}
.score-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--bg-secondary);
}
.score-value {
  position: relative;
  z-index: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-bright);
}
.score-label-text {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.score-details h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.score-details p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}
.score-breakdown {
  list-style: none;
}
.score-breakdown li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--fg-secondary);
  border-bottom: 1px solid var(--border);
}
.score-breakdown li:last-child { border-bottom: none; }
.score-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.score-dot.critical { background: var(--red); }
.score-dot.warning { background: var(--orange); }
.score-dot.good { background: var(--green); }

/* ---- CLOSING ---- */
.closing {
  padding: 100px 0;
  text-align: center;
}
.closing h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing h2 em {
  font-style: normal;
  color: var(--accent-bright);
}
.closing p {
  color: var(--fg-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- FOOTER ---- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .score-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 1.85rem; }
  .stat-item { padding: 24px 16px; }
  .stat-number { font-size: 1.8rem; }
  .score-ring { width: 140px; height: 140px; }
  .score-value { font-size: 2.2rem; }
}