:root {
  --bg: #0f1117;
  --bg-raised: #161922;
  --bg-card: #1c1f2a;
  --fg: #e8e8f0;
  --fg-muted: #8b8fa8;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-dim: rgba(239, 68, 68, 0.1);
  --warning: #f59e0b;
  --warning-dim: rgba(245, 158, 11, 0.1);
  --success: #22c55e;
  --success-dim: rgba(34, 197, 94, 0.1);
  --border: rgba(255, 255, 255, 0.08);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

code, .mono {
  font-family: 'IBM Plex Mono', monospace;
}

/* Navbar */
.navbar {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.navbar-links {
  display: flex;
  gap: 32px;
}
.navbar-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 80px 40px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 20px; }
.eyebrow-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 440px;
}
.hero-visual {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.hero-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Scan Demo */
.scan-demo {
  padding: 0 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.scan-demo-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.scan-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.scan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
}
.scan-dot.active { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.scan-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--fg);
  font-weight: 500;
}
.scan-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-left: auto;
}
.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.risk-card {
  background: var(--bg-raised);
  border-radius: 10px;
  padding: 18px 16px;
  border: 1px solid var(--border);
}
.risk-card.risk-high { border-color: rgba(239, 68, 68, 0.3); }
.risk-card.risk-medium { border-color: rgba(245, 158, 11, 0.3); }
.risk-card.risk-low { border-color: rgba(34, 197, 94, 0.3); }
.risk-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.risk-score {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.risk-high .risk-score { color: var(--danger); }
.risk-medium .risk-score { color: var(--warning); }
.risk-low .risk-score { color: var(--success); }
.risk-detail {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.scan-overall {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--danger-dim);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
}
.overall-grade {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--danger);
  line-height: 1;
}
.overall-text strong {
  font-size: 0.95rem;
  display: block;
  margin-bottom: 4px;
}
.overall-text p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Features */
.features {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.features-header {
  text-align: center;
  margin-bottom: 60px;
}
.features-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.features-header p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(245, 158, 11, 0.3); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-header {
  text-align: center;
  margin-bottom: 56px;
}
.how-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.steps {
  display: flex;
  gap: 40px;
}
.step {
  flex: 1;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -20px;
  width: 40px;
  height: 1px;
  background: var(--border);
}
.step-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.7;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.step code {
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--accent);
}

/* Closing */
.closing {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.closing-stat {
  font-size: 5rem;
  font-weight: 700;
  color: var(--danger);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 20px;
}
.closing-context {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.closing-rule {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 48px;
}
.closing-message {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--fg);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-tagline {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 60px 24px 40px; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-visual { display: none; }
  .scan-demo { padding: 0 24px 60px; }
  .risk-grid { grid-template-columns: repeat(2, 1fr); }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .how-it-works { padding: 60px 24px; }
  .steps { flex-direction: column; gap: 32px; }
  .step::after { display: none; }
  .closing { padding: 60px 24px; }
  .closing-stat { font-size: 3.5rem; }
  .closing-message { font-size: 1.2rem; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .navbar-links { display: none; }
}