@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg: #0d0d0d;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --surface: #161616;
  --surface-2: #1f1f1f;
  --border: #252525;
  --amber: #f59e0b;
  --amber-dim: #92650a;
  --red: #ef4444;
  --green: #22c55e;
  --fg: #e8e8e8;
  --fg-2: #999999;
  --fg-3: #555555;
  --mono: 'DM Mono', monospace;
  --space: 'Space Mono', monospace;
  --sans: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  font-family: var(--space);
  font-weight: 700;
  font-size: 14px;
  background: var(--amber);
  color: #000;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -0.5px;
}
.logo-text { font-family: var(--space); font-weight: 700; font-size: 15px; letter-spacing: 0.5px; }

.nav-status { display: flex; align-items: center; gap: 8px; }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.status-label { font-family: var(--mono); font-size: 11px; color: var(--fg-2); letter-spacing: 0.5px; }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 73px);
  border-bottom: 1px solid var(--border);
}

.hero-left {
  padding: 80px 64px 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.eyebrow-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--amber);
  text-transform: uppercase;
}
.eyebrow-sep { color: var(--fg-3); font-family: var(--mono); font-size: 10px; }

.hero-headline {
  font-family: var(--space);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 28px;
  color: #fff;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--space);
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-div {
  width: 1px; height: 40px;
  background: var(--border);
}

/* ── MATRIX FRAME ── */
.hero-right {
  padding: 48px 48px 48px 40px;
  display: flex;
  align-items: center;
}

.matrix-frame {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}

.matrix-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--fg-2);
}

.matrix-live {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 5px;
}

.matrix-live::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  padding: 12px;
}

.matrix-cell {
  aspect-ratio: 1;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.matrix-legend {
  display: flex;
  gap: 20px;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-3);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--fg-3);
  letter-spacing: 0.5px;
}

.legend-dot {
  width: 8px; height: 8px;
  border-radius: 1px;
}
.legend-dot.blocked { background: var(--green); }
.legend-dot.detected { background: var(--amber); }
.legend-dot.missed { background: var(--red); }

/* ── COVERAGE SECTION ── */
.coverage {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
}

.coverage-intro {
  margin-bottom: 72px;
  max-width: 600px;
}

.section-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--space);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 20px;
}

.section-sub {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 520px;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.coverage-card {
  background: var(--surface);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}

.coverage-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.coverage-card:hover::after { opacity: 1; }

.coverage-card-icon {
  color: var(--amber);
  margin-bottom: 20px;
}

.coverage-card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.coverage-card-value {
  font-family: var(--space);
  font-weight: 700;
  font-size: 40px;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.coverage-card-note {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--fg-3);
  line-height: 1.5;
}

/* ── HOW SECTION ── */
.how {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.how-header { margin-bottom: 80px; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--border);
}

.how-step {
  padding: 0 32px 0 32px;
  border-right: 1px solid var(--border);
  position: relative;
}

.step-num {
  font-family: var(--space);
  font-weight: 700;
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.step-title {
  font-family: var(--space);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.step-desc {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.step-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.5px;
  border: 1px solid var(--border);
  padding: 4px 8px;
  display: inline-block;
  border-radius: 2px;
}

/* ── TACTICS SECTION ── */
.tactics {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
}

.tactics-header { margin-bottom: 72px; }

.tactics-matrix {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
}

.tactic-row {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  align-items: center;
  gap: 24px;
}

.tactic-name {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.3px;
}

.tactic-bar {
  height: 8px;
  border-radius: 1px;
  display: flex;
  overflow: hidden;
}

.tactic-fill { height: 100%; }
.tactic-unfill { height: 100%; }

.tactic-pct {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
  text-align: right;
}

.tactics-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-3);
  margin-top: 32px;
  letter-spacing: 0.3px;
}

/* ── PRINCIPLES SECTION ── */
.principles {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.principle {
  background: var(--surface);
  padding: 48px;
}

.principle-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--amber);
  display: block;
  margin-bottom: 20px;
}

.principle-title {
  font-family: var(--space);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.principle-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ── CLOSING SECTION ── */
.closing {
  padding: 140px 48px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(245,158,11,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.closing-inner { position: relative; z-index: 1; }

.closing-headline {
  font-family: var(--space);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 28px;
}

.closing-sub {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 56px;
}

.closing-cta { display: inline-block; }

.cta-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-code {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--fg);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 16px 24px;
  display: inline-block;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

/* ── FOOTER ── */
.footer {
  padding: 64px 48px 40px;
  background: var(--bg);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-family: var(--space);
  font-weight: 700;
  font-size: 15px;
}

.footer-tagline {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-3);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
}

.footer-note {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--fg-3);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 64px 32px 48px; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-right { padding: 48px 32px; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: 1fr; }
  .tactic-row { grid-template-columns: 140px 1fr 48px; }
}

@media (max-width: 640px) {
  .nav { padding: 16px 24px; }
  .hero-left { padding: 48px 24px 40px; }
  .hero-right { padding: 32px 24px; }
  .coverage { padding: 80px 24px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .how { padding: 80px 24px; }
  .how-steps { grid-template-columns: 1fr; }
  .tactics { padding: 80px 24px; }
  .tactic-row { grid-template-columns: 100px 1fr 40px; gap: 12px; }
  .principles { padding: 80px 24px; }
  .closing { padding: 100px 24px; }
  .footer { padding: 48px 24px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .matrix-grid { grid-template-columns: repeat(6, 1fr); }
  .hero-stats { gap: 20px; }
  .stat-value { font-size: 22px; }
}