:root {
  --bg: #080c14;
  --bg-secondary: #0d1424;
  --bg-card: #111a2e;
  --accent: #00d4ff;
  --accent-dim: #00d4ff22;
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --critical: #ff3b3b;
  --warning: #f59e0b;
  --info: #3b82f6;
  --resolved: #22c55e;
  --border: #1e293b;
  --border-accent: #00d4ff44;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #080c14e6;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--text);
}
.nav-logo-accent { color: var(--accent); }
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--resolved);
  box-shadow: 0 0 6px var(--resolved);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00d4ff12 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow { margin-bottom: 20px; }
.eyebrow-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 5px 12px;
  border-radius: 3px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-headline br { display: block; }
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}
.hero-stat {
  padding: 16px 24px;
}
.hero-stat-value {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 22px;
  color: var(--accent);
  display: block;
}
.hero-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 2px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* SOC WIDGET */
.soc-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-family: 'IBM Plex Mono', monospace;
  box-shadow: 0 0 40px #00d4ff08;
}
.soc-widget-header {
  background: #0d1424;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.soc-widget-title {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.soc-widget-badge {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--resolved);
  background: #22c55e1a;
  border: 1px solid #22c55e33;
  padding: 3px 8px;
  border-radius: 3px;
}
.soc-alerts { padding: 4px 0; }
.soc-alert-item {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.soc-alert-item:last-child { border-bottom: none; }
.soc-alert-item:hover { background: #ffffff05; }
.alert-severity-bar {
  width: 3px;
  height: 36px;
  border-radius: 2px;
}
.alert-severity-bar.critical { background: var(--critical); box-shadow: 0 0 8px var(--critical); }
.alert-severity-bar.warning { background: var(--warning); }
.alert-severity-bar.resolved { background: var(--resolved); opacity: 0.5; }
.alert-severity-bar.info { background: var(--info); }
.alert-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  display: block;
}
.alert-meta {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}
.alert-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.alert-action {
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}
.alert-action.triage { background: #ff3b3b22; color: var(--critical); border: 1px solid #ff3b3b44; }
.alert-action.investigating { background: #f59e0b22; color: var(--warning); border: 1px solid #f59e0b44; }
.alert-action.resolved { background: #22c55e22; color: var(--resolved); border: 1px solid #22c55e44; }
.alert-time {
  font-size: 9px;
  color: var(--text-muted);
}
.soc-widget-footer {
  background: #0d1424;
  border-top: 1px solid var(--border);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.soc-live-indicator {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--resolved);
  display: flex;
  align-items: center;
  gap: 6px;
}
.soc-live-indicator::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--resolved);
  box-shadow: 0 0 4px var(--resolved);
  animation: pulse 1.5s infinite;
}
.soc-count {
  font-size: 10px;
  color: var(--text-muted);
}

/* MANIFESTO */
.manifesto {
  padding: 100px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-label, .cap-label, .workings-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.manifesto-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 32px;
}
.manifesto-body p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 16px;
}
.manifesto-quote {
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  background: var(--accent-dim);
  position: relative;
}
.quote-mark {
  font-family: 'Syne', sans-serif;
  font-size: 60px;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.manifesto-quote p {
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  position: relative;
  z-index: 1;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
}
.quote-attr {
  display: block;
  font-size: 12px;
  font-style: normal;
  color: var(--text-muted);
  margin-top: 12px;
  font-family: 'IBM Plex Mono', monospace;
}

/* CAPABILITIES */
.capabilities { padding: 100px 24px; }
.cap-inner { max-width: 1200px; margin: 0 auto; }
.cap-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--text);
  margin-bottom: 60px;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.cap-card {
  background: var(--bg-secondary);
  padding: 32px;
  position: relative;
  transition: background 0.2s;
}
.cap-card:hover { background: var(--bg-card); }
.cap-card.cap-card-lg { grid-column: span 1; }
.cap-icon {
  margin-bottom: 20px;
  display: flex;
}
.cap-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 12px;
}
.cap-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}
.cap-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 3px 8px;
  border-radius: 3px;
}

/* WORKINGS */
.workings {
  padding: 100px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.workings-inner { max-width: 1100px; margin: 0 auto; }
.workings-header { text-align: center; margin-bottom: 60px; }
.workings-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text);
}
.workings-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.work-step {
  flex: 1;
  padding: 0 20px;
}
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}
.work-step h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 10px;
}
.work-step p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}
.step-connector {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='12' viewBox='0 0 40 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 6h40' stroke='%231e293b' stroke-width='1'/%3E%3Cpath d='M35 2l5 4-5 4' stroke='%231e293b' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* CLOSING */
.closing { padding: 100px 24px; }
.closing-inner { max-width: 900px; margin: 0 auto; }
.closing-box {
  text-align: center;
  padding: 60px 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(135deg, #00d4ff08 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}
.closing-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 36px;
}
.closing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.closing-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.2s;
}
.closing-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-accent { color: var(--accent); }
.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .workings-steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
}
@media (max-width: 600px) {
  .hero { padding-top: 80px; }
  .hero-headline { font-size: 36px; }
  .cap-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; width: 100%; }
  .hero-stat-divider { width: 100%; height: 1px; }
  .closing-box { padding: 40px 24px; }
}