:root {
  --bg: #05050a;
  --surface: #0d0d1a;
  --border: #1a1a2e;
  --fg: #e8e8f0;
  --muted: #6b6b8a;
  --accent: #00e5ff;
  --accent-dim: rgba(0, 229, 255, 0.08);
  --ok: #00e5ff;
  --warn: #f5a623;
  --error: #ff3b5c;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 5, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.logo-bracket { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--accent); }
.logo-name { font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--fg); }
.nav-status { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.status-text { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px 80px;
}
.hero-content { display: flex; flex-direction: column; gap: 32px; }
.hero-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  width: fit-content;
}
.hero-headline {
  font-family: var(--mono);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--fg); }
.stat-label { font-size: 12px; color: var(--muted); max-width: 100px; line-height: 1.3; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* TERMINAL */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 40px rgba(0,229,255,0.05);
}
.terminal-bar {
  background: #0a0a14;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }
.t-title { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 8px; }
.terminal-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.log-line { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--muted); }
.log-ok { color: #00e5ff; }
.log-warn { color: #f5a623; }
.log-info { color: #6b6b8a; }
.log-cursor { font-family: var(--mono); font-size: 14px; color: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* INCIDENT SECTION */
.incident-section { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.incident-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.incident-label { font-family: var(--mono); font-size: 11px; color: var(--ok); letter-spacing: 0.08em; margin-bottom: 20px; }
.incident-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.incident-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.card-icon { flex-shrink: 0; }
.card-body { flex: 1; min-width: 0; }
.card-title { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--fg); }
.card-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.card-status { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--ok); }

/* FEATURES */
.features { padding: 80px 0; }
.features-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.section-headline { font-family: var(--mono); font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 56px; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-card:first-child { border-radius: 10px 0 0 0; }
.feature-card:nth-child(2) { border-radius: 0 10px 0 0; }
.feature-card:nth-child(3) { border-radius: 0 0 0 10px; }
.feature-card:last-child { border-radius: 0 0 10px 0; }
.feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); border: 1px solid rgba(0,229,255,0.15); border-radius: 8px; }
.feature-card h3 { font-family: var(--mono); font-size: 17px; font-weight: 600; color: var(--fg); }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* PROCESS */
.process { padding: 80px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.process-steps { display: flex; align-items: flex-start; gap: 32px; margin-top: 48px; }
.step { flex: 1; }
.step-number { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 12px; }
.step-content h4 { font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--fg); margin-bottom: 10px; }
.step-content p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.step-arrow { flex-shrink: 0; padding-top: 40px; color: var(--border); }

/* MANIFESTO */
.manifesto { padding: 80px 0; }
.manifesto-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.manifesto-quote {
  font-family: var(--mono);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  color: var(--fg);
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin-bottom: 48px;
  line-height: 1.4;
}
.manifesto-body { max-width: 680px; }
.manifesto-body p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.manifesto-body p:last-child { margin-bottom: 0; }

/* FOOTER */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.footer-tagline { font-size: 14px; color: var(--muted); flex: 1; }
.footer-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.meta-sep { color: var(--border); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; gap: 48px; }
  .hero-visual { order: -1; }
  .terminal { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card:first-child { border-radius: 10px 10px 0 0; }
  .feature-card:nth-child(2) { border-radius: 0; }
  .feature-card:nth-child(3) { border-radius: 0; }
  .feature-card:last-child { border-radius: 0 0 10px 10px; }
  .incident-row { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step-arrow { display: none; }
  .footer-inner { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 600px) {
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .hero-headline { font-size: 32px; }
  .nav-inner { padding: 14px 20px; }
}