/* =======================
   WATCHPOINT — INVESTIGATION AI
   Dark, authoritative, precise
   ======================= */

:root {
  --bg-primary: #070b12;
  --bg-secondary: #0c1220;
  --bg-card: #0f1724;
  --bg-card-hover: #131f30;
  --border: rgba(79, 142, 247, 0.12);
  --border-bright: rgba(79, 142, 247, 0.25);
  --accent-blue: #4f8ef7;
  --accent-amber: #f5a623;
  --accent-blue-dim: rgba(79, 142, 247, 0.15);
  --accent-amber-dim: rgba(245, 166, 35, 0.15);
  --text-primary: #e8eef8;
  --text-secondary: #7a92b0;
  --text-muted: #4a5e7a;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

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

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Hero ── */
.hero {
  position: relative;
  padding-top: 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 142, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 142, 247, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(79, 142, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  margin-bottom: 20px;
}

.eyebrow-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: var(--accent-blue-dim);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  padding: 4px 10px;
}

.hero-headline {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--accent-blue);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Case display */
.case-display {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(79, 142, 247, 0.06), 0 24px 48px rgba(0,0,0,0.4);
}

.display-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(79, 142, 247, 0.03);
}

.display-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.display-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  animation: pulse 2s ease-in-out infinite;
}

.display-cases {
  padding: 0;
}

.case-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.case-item:last-child { border-bottom: none; }

.case-item.case-new {
  background: rgba(245, 166, 35, 0.04);
}

.case-item:hover { background: rgba(79, 142, 247, 0.04); }

.case-icon {
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
}

.case-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.case-detail {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.case-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

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

.cases-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-blue);
  font-weight: 500;
}

.cases-source {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Section Label ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  max-width: 80px;
  background: var(--border-bright);
}

/* ── Problem ── */
.problem {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-statement h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.problem-statement p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.problem-facts {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.fact-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.fact-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-amber);
  line-height: 1;
}

.fact-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── How ── */
.how { padding: 100px 0; }

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.how-headline {
  max-width: 600px;
  margin-bottom: 60px;
}

.how-headline h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.how-headline p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
  background: var(--accent-blue-dim);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  padding: 4px 10px;
  display: inline-block;
  width: fit-content;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-bright), transparent);
  margin-top: 28px;
  flex-shrink: 0;
}

/* ── Features ── */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Outcomes ── */
.outcomes { padding: 100px 0; }

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.outcomes-left h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.outcomes-left > p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.outcome {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-primary);
}

.quote-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}

.quote-mark {
  font-size: 80px;
  line-height: 0.6;
  color: var(--accent-blue);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 24px;
}

.quote-card blockquote {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 28px;
  font-style: italic;
}

.quote-attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.attr-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.attr-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Closing ── */
.closing {
  padding: 100px 0 120px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.closing-content h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.cta-detail {
  font-size: 14px;
  color: var(--text-muted);
}

/* Radar visual */
.radar-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-dot {
  width: 12px; height: 12px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-blue);
  z-index: 2;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(79, 142, 247, 0.12) 30deg,
    transparent 60deg
  );
  animation: sweep 4s linear infinite;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(79, 142, 247, 0.15);
}

.radar-ring-1 { width: 120px; height: 120px; }
.radar-ring-2 { width: 220px; height: 220px; }
.radar-ring-3 { width: 340px; height: 340px; }

.radar-blips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blip {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--accent-amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-amber);
  animation: blink 2.5s ease-in-out infinite;
}

.blip-1 { top: 18%; left: 72%; animation-delay: 0s; }
.blip-2 { top: 55%; left: 10%; animation-delay: 0.6s; }
.blip-3 { top: 75%; left: 65%; animation-delay: 1.2s; }
.blip-4 { top: 28%; left: 28%; animation-delay: 1.8s; }
.blip-5 { top: 82%; left: 38%; animation-delay: 0.4s; }

@keyframes blink {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ── Footer ── */
.site-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: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.footer-tagline {
  flex: 1;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner,
  .problem-grid,
  .outcomes-inner,
  .closing-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step-connector {
    width: 1px;
    height: 32px;
    margin: 12px 0;
    background: linear-gradient(180deg, var(--border-bright), transparent);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .radar-container {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }

  .hero-visual {
    order: -1;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .section-label::after { max-width: 40px; }
}

@media (max-width: 480px) {
  .hero-inner,
  .problem-inner,
  .how-inner,
  .features-inner,
  .outcomes-inner,
  .closing-inner,
  .footer-inner {
    padding: 0 20px;
  }

  .nav-inner { padding: 0 20px; }

  .case-display { font-size: 14px; }

  .step { padding-right: 0; }

  .quote-card { padding: 28px; }
  .quote-card blockquote { font-size: 18px; }
}