/* ═══════════════════════════════════════════════════════════════
   DARK ANGEL — Enterprise Design System
   Apple restraint × Palantir authority × 21st.dev sophistication
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-base: #07080b;
  --bg-elevated-1: #0c0f15;
  --bg-elevated-2: #12151d;
  --bg-elevated-3: #181c26;
  --bg-overlay: rgba(7, 8, 11, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.02);
  --bg-glass-hover: rgba(255, 255, 255, 0.035);

  --accent: #2563EB;
  --accent-hover: #1d4ed8;
  --accent-muted: rgba(37, 99, 235, 0.10);
  --accent-subtle: rgba(37, 99, 235, 0.05);
  --accent-violet: #7C3AED;
  --accent-violet-muted: rgba(124, 58, 237, 0.10);

  --status-success: #10B981;
  --status-warning: #F59E0B;
  --status-error: #EF4444;
  --status-info: #06B6D4;

  --text-primary: #edf0f4;
  --text-secondary: #8892a5;
  --text-tertiary: #545e72;
  --text-muted: #3a4250;

  --border: rgba(255, 255, 255, 0.035);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(37, 99, 235, 0.18);

  --font-display: 'Instrument Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --section-padding: 180px;
  --container-width: 1180px;
  --container-wide: 1380px;
  --container-padding: 28px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.35s;
  --duration-slow: 0.8s;

  --shadow-glass: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 0 1px var(--border);
  --shadow-elevated: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px var(--border);
  --shadow-product: 0 48px 120px rgba(0,0,0,0.5), 0 0 100px rgba(37,99,235,0.025);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(37, 99, 235, 0.25); color: #fff; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; border: none; outline: none; background: none; }

/* ═══ Loading ═══ */
.loading-screen {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg-base);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-text { font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 0.35em; color: var(--text-tertiary); }
.loading-bar { width: 100px; height: 1px; background: var(--bg-elevated-3); overflow: hidden; }
.loading-bar-fill { width: 0; height: 100%; background: var(--accent); animation: loadingProgress 1.8s var(--ease-out) forwards; }
@keyframes loadingProgress { 0% { width: 0; } 60% { width: 75%; } 100% { width: 100%; } }
@keyframes heroClientMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══ Report Banner ═══ */
.report-banner {
  position: relative; z-index: 1001;
  background: var(--bg-elevated-2);
  border-bottom: 1px solid var(--border);
  transition: margin-top 0.4s var(--ease-out), opacity 0.4s ease;
}
.report-banner.hidden { margin-top: -40px; opacity: 0; pointer-events: none; }
.report-banner-inner {
  max-width: var(--container-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px var(--container-padding);
  font-size: 13px;
}
.report-banner-badge {
  font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.12em; padding: 2px 8px;
  background: var(--accent-muted); border-radius: 100px;
  color: var(--accent); flex-shrink: 0;
}
.report-banner-link {
  color: var(--text-secondary); font-weight: 500; display: flex; align-items: center; gap: 6px;
  transition: color 0.2s ease; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.report-banner-link:hover { color: var(--text-primary); }
.report-banner-link svg { color: var(--accent); }
.report-banner-close {
  color: var(--text-muted); font-size: 18px; line-height: 1;
  padding: 0 4px; flex-shrink: 0; transition: color 0.2s ease;
}
.report-banner-close:hover { color: var(--text-primary); }

/* ═══ Container ═══ */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding); }
.container--wide { max-width: var(--container-wide); }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — scroll-direction aware, gradient bottom line
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px; height: 64px;
  transition: transform 0.4s var(--ease-out), background 0.3s ease;
}
.nav.scrolled {
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.nav.scrolled::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light) 20%, var(--border-light) 80%, transparent);
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: var(--container-width); margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  width: 32px; height: 32px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-ring { position: absolute; border-radius: 50%; border: 1px solid; }
.nav-logo-ring--outer { width: 100%; height: 100%; border-color: var(--accent); opacity: 0.5; animation: logoSpin 14s linear infinite; }
.nav-logo-ring--mid { width: 65%; height: 65%; border-color: var(--text-tertiary); opacity: 0.25; animation: logoSpin 9s linear infinite reverse; }
.nav-logo-core { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); }
.nav-brand-text { font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 0.25em; color: var(--text-primary); }
.nav-links { display: flex; gap: 36px; }
.nav-link {
  font-size: 13px; font-weight: 400; color: var(--text-tertiary); letter-spacing: 0.01em;
  transition: color 0.2s ease; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-cta {
  font-size: 13px; font-weight: 500; padding: 8px 20px;
  background: var(--accent); color: #fff; border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--accent-hover); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text-secondary); transition: all 0.3s ease; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS — solid, institutional, no gradient
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 12px 28px; border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease-out); white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.5), 0 1px 2px rgba(0,0,0,0.2);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 0 1px rgba(37,99,235,0.7), 0 4px 12px rgba(37,99,235,0.2); }
.btn-ghost { border: 1px solid var(--border-light); color: var(--text-secondary); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.12); color: var(--text-primary); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════
   SECTIONS — cinematic pacing
   ═══════════════════════════════════════════════════════════════ */
.section { padding: var(--section-padding) 0; position: relative; overflow: hidden; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 80px; }
.section-tag {
  display: inline-block; font-family: var(--font-mono);
  font-size: 10px; font-weight: 400; letter-spacing: 0.22em;
  color: var(--text-tertiary); margin-bottom: 22px; text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 600; line-height: 1.12; letter-spacing: -0.035em; margin-bottom: 18px;
}
.section-subtitle { font-size: 15px; color: var(--text-secondary); line-height: 1.75; max-width: 520px; margin: 0 auto; }
.section-divider {
  width: 100%; height: 1px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--border-light) 30%, var(--border-light) 70%, transparent);
}

/* ═══════════════════════════════════════════════════════════════
   HERO — Immersive War Game globe theater
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero-war-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-globe-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  top: 50%; left: 55%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, rgba(37,99,235,0.02) 40%, transparent 70%);
  border-radius: 50%;
}
.hero-overlay--war {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 55% 48%, transparent 15%, rgba(7,8,11,0.25) 35%, rgba(7,8,11,0.7) 60%, rgba(7,8,11,0.92) 80%),
    linear-gradient(90deg, rgba(7,8,11,0.85) 0%, rgba(7,8,11,0.4) 30%, transparent 55%),
    linear-gradient(180deg, rgba(7,8,11,0.3) 0%, transparent 20%, transparent 80%, rgba(7,8,11,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 3; max-width: 620px;
  padding: 0 var(--container-padding); margin-left: max(48px, 9vw);
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.25em; color: var(--accent); margin-bottom: 28px;
  text-transform: uppercase; opacity: 0.75;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 22px;
  text-shadow: 0 2px 48px rgba(0,0,0,0.6), 0 0 120px rgba(7,8,11,0.5);
}
.hero-title-line { display: block; }
.hero-title-accent { color: var(--accent); }
.hero-subtitle {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
  max-width: 480px; margin-bottom: 40px;
  text-shadow: 0 1px 24px rgba(0,0,0,0.5);
}
.hero-ctas { display: flex; gap: 16px; margin-bottom: 56px; }

.hero-clients { width: min(760px, calc(100vw - 2 * var(--container-padding))); }
.hero-clients-label {
  display: block; margin-bottom: 12px; color: var(--text-muted);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-clients-marquee {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.hero-clients-track {
  display: flex; align-items: center; width: max-content;
  animation: heroClientMarquee 36s linear infinite;
}
.hero-client-logo {
  flex: 0 0 auto; width: 260px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  margin: 8px 6px;
}
.hero-client-logo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: invert(1) grayscale(100%);
  mix-blend-mode: screen;
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.hero-client-logo:hover img { filter: invert(1) grayscale(0%); opacity: 0.85; }

.hero-scroll-indicator {
  position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll-indicator span { font-size: 9px; letter-spacing: 0.3em; color: var(--text-muted); font-family: var(--font-mono); }
.hero-scroll-line { width: 1px; height: 28px; background: linear-gradient(180deg, var(--accent), transparent); animation: scrollBounce 2.5s ease-in-out infinite; }

/* Compact telemetry strip */
.hero-telemetry {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 28px;
  background: rgba(7,8,11,0.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10px;
}
.hero-tel-acts { display: flex; align-items: center; gap: 4px; }
.hero-act-step { padding: 2px; }
.hero-act-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-muted); transition: all 0.4s ease;
}
.hero-act-step.active .hero-act-dot { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.hero-act-step.completed .hero-act-dot { background: var(--status-success); }
.hero-act-step.compromised .hero-act-dot { background: var(--status-error); box-shadow: 0 0 4px var(--status-error); }
.hero-tel-divider { width: 1px; height: 16px; background: var(--border-light); flex-shrink: 0; }
.hero-tel-item { display: flex; align-items: center; gap: 5px; }
.hero-tel-label { font-size: 9px; letter-spacing: 0.08em; color: var(--text-muted); }
.hero-tel-val { font-size: 10px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.03em; }
.hero-tel-val--risk { color: var(--status-warning); font-weight: 600; }
.hero-tel-val--red { color: var(--status-error); font-weight: 600; }
.hero-tel-val--blue { color: var(--accent); font-weight: 600; }
.hero-tel-vs { color: var(--text-muted); font-size: 9px; font-weight: 600; }
.hero-tel-feed {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto; max-width: 360px; overflow: hidden;
}
.hero-intel-dot {
  width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0;
  background: var(--status-error); animation: pulse 1.5s ease-in-out infinite;
}
.hero-tel-feed-text {
  font-size: 10px; color: var(--text-muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════════════
   STRATEGIC OUTCOMES — enterprise authority cards
   ═══════════════════════════════════════════════════════════════ */
.section--outcomes { background: linear-gradient(180deg, var(--bg-base), var(--bg-elevated-1) 50%, var(--bg-base)); }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.outcome-card {
  background: var(--bg-glass); border-radius: var(--radius-lg); padding: 48px 30px;
  box-shadow: var(--shadow-glass); position: relative; overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease;
  border: 1px solid transparent;
}
.outcome-card:hover { background: var(--bg-glass-hover); border-color: var(--border-light); }
.outcome-metric {
  font-family: var(--font-mono); font-size: 26px; font-weight: 600;
  color: var(--accent); margin-bottom: 16px; letter-spacing: -0.02em;
}
.outcome-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.outcome-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════════
   PLATFORM — realistic product preview with depth
   ═══════════════════════════════════════════════════════════════ */
.platform-dashboard {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-product);
  border: 1px solid var(--border);
}
.platform-dashboard-chrome {
  display: flex; align-items: center; padding: 12px 20px;
  background: var(--bg-elevated-1); border-bottom: 1px solid var(--border); gap: 16px;
}
.platform-chrome-dots { display: flex; gap: 6px; }
.platform-chrome-dots span { width: 10px; height: 10px; border-radius: 50%; }
.platform-chrome-dots span:nth-child(1) { background: #EF4444; }
.platform-chrome-dots span:nth-child(2) { background: #F59E0B; }
.platform-chrome-dots span:nth-child(3) { background: #10B981; }
.platform-chrome-url {
  font-size: 11px; font-family: var(--font-mono); color: var(--text-muted);
  background: rgba(255,255,255,0.03); padding: 5px 16px; border-radius: var(--radius-sm);
  flex: 1; text-align: center;
}
.platform-chrome-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 0.1em; color: var(--status-success); font-family: var(--font-mono);
}
.platform-status-dot { width: 5px; height: 5px; background: var(--status-success); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.platform-dashboard-body { display: flex; min-height: 420px; background: var(--bg-base); }
.platform-sidebar {
  width: 52px; background: var(--bg-elevated-1); border-right: 1px solid var(--border);
  padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.platform-sidebar-logo { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.platform-sidebar-items { display: flex; flex-direction: column; gap: 2px; }
.platform-sidebar-item {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); color: var(--text-muted); transition: all 0.15s ease;
}
.platform-sidebar-item.active { background: var(--accent-muted); color: var(--accent); }
.platform-main { flex: 1; padding: 18px; }
.platform-kpi-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.platform-kpi {
  background: var(--bg-glass); box-shadow: var(--shadow-glass);
  border-radius: var(--radius-md); padding: 14px 14px; display: flex; flex-direction: column;
}
.platform-kpi-value { font-size: 18px; font-weight: 600; font-family: var(--font-mono); color: var(--accent); }
.platform-kpi-value--warning { color: var(--status-warning); }
.platform-kpi-value--success { color: var(--status-success); }
.platform-kpi-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.04em; margin-top: 2px; font-family: var(--font-mono); }
.platform-module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.platform-module-card {
  background: var(--bg-glass); box-shadow: var(--shadow-glass);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column; gap: 6px; transition: background 0.2s ease; cursor: default;
}
.platform-module-card:hover { background: var(--bg-glass-hover); }
.platform-module-icon { width: 28px; height: 28px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.platform-module-icon svg { width: 16px; height: 16px; }
.platform-module-icon--blue { background: var(--accent-muted); color: var(--accent); }
.platform-module-icon--violet { background: var(--accent-violet-muted); color: var(--accent-violet); }
.platform-module-icon--emerald { background: rgba(16,185,129,0.12); color: var(--status-success); }
.platform-module-icon--red { background: rgba(239,68,68,0.12); color: var(--status-error); }
.platform-module-icon--amber { background: rgba(245,158,11,0.12); color: var(--status-warning); }
.platform-module-name { font-size: 12px; font-weight: 500; color: var(--text-primary); }
.platform-module-stat { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }

/* ═══════════════════════════════════════════════════════════════
   MODULES — varied layouts, glass panels
   ═══════════════════════════════════════════════════════════════ */
.section--modules { padding-bottom: 60px; }
.module-showcase {
  display: grid; grid-template-columns: 55fr 45fr; gap: 80px;
  align-items: center; margin-bottom: 140px;
}
.module-showcase:last-child { margin-bottom: 0; }
.module-showcase--reverse { direction: rtl; }
.module-showcase--reverse > * { direction: ltr; }
.module-showcase--wide { grid-template-columns: 58fr 42fr; }
.module-showcase--compact { grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 100px; }
.modules-grid-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 140px; }
.modules-grid-item {
  display: flex; flex-direction: column; gap: 0;
  background: var(--bg-glass); box-shadow: var(--shadow-glass);
  border-radius: var(--radius-xl); overflow: hidden;
}
.modules-grid-item .module-visual { border-radius: 0; }
.modules-grid-item .mr-surface--compact { border-radius: 0; box-shadow: none; border: none; border-bottom: 1px solid var(--border); }
.module-info--compact { padding: 24px 28px; }
.module-info--compact .module-info-desc { margin-bottom: 20px; }
.module-info--compact .module-info-tag { margin-bottom: 10px; }
.module-info--compact .module-info-title { margin-bottom: 10px; }

.module-visual { position: relative; }
.module-visual-accent {
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  filter: blur(120px); opacity: 0.06; pointer-events: none;
}
.module-visual-accent--blue { background: var(--accent); top: -40px; right: -40px; }
.module-visual-accent--violet { background: var(--accent-violet); bottom: -40px; left: -40px; }
.module-visual-accent--emerald { background: var(--status-success); top: -40px; left: -40px; }
.module-visual-accent--amber { background: var(--status-warning); bottom: -40px; right: -40px; }
.module-visual-accent--red { background: var(--status-error); top: -40px; right: -40px; }

.module-info-tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 16px;
}
.module-info-title {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.module-info-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 28px; }
.module-features { margin-bottom: 32px; }
.module-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-secondary); padding: 5px 0;
}
.module-feature-icon { color: var(--text-muted); font-size: 8px; margin-top: 6px; flex-shrink: 0; }
.module-stats { display: flex; gap: 36px; }
.module-stat { display: flex; flex-direction: column; }
.module-stat-value { font-size: 16px; font-weight: 600; font-family: var(--font-mono); color: var(--text-primary); }
.module-stat-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em; font-family: var(--font-mono); }

/* Terminal */
.module-terminal {
  background: var(--bg-elevated-1); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-glass);
}
.terminal-chrome {
  display: flex; align-items: center; padding: 10px 16px; gap: 8px;
  border-bottom: 1px solid var(--border); background: var(--bg-elevated-2);
}
.terminal-dot { width: 8px; height: 8px; border-radius: 50%; }
.terminal-dot--red { background: #EF4444; }
.terminal-dot--yellow { background: #F59E0B; }
.terminal-dot--green { background: #10B981; }
.terminal-title { font-size: 11px; font-family: var(--font-mono); color: var(--text-muted); margin-left: auto; }
.terminal-body { padding: 16px; font-family: var(--font-mono); font-size: 12px; line-height: 1.9; min-height: 220px; }
.terminal-line { opacity: 0; transform: translateX(-8px); }
.terminal-line.visible { opacity: 1; transform: translateX(0); transition: all 0.5s var(--ease-out); }
.t-time { color: var(--text-muted); }
.t-info { color: var(--accent); font-weight: 500; }
.t-warn { color: var(--status-warning); font-weight: 500; }
.t-error { color: var(--status-error); font-weight: 500; }
.t-success { color: var(--status-success); font-weight: 500; }
.t-value { color: var(--text-primary); }
.t-dim { color: var(--text-muted); }

/* Globe mini */
.module-globe-mini {
  background: var(--bg-elevated-1); border-radius: var(--radius-lg); overflow: hidden;
  position: relative; box-shadow: var(--shadow-glass);
}
.globe-mini-overlay { position: absolute; top: 0; left: 0; right: 0; padding: 12px 16px; z-index: 2; }
.globe-mini-hud { display: flex; gap: 20px; }
.hud-item { display: flex; flex-direction: column; }
.hud-label { font-size: 9px; letter-spacing: 0.15em; color: var(--text-muted); font-family: var(--font-mono); }
.hud-value { font-size: 14px; font-weight: 600; font-family: var(--font-mono); color: var(--text-primary); }
.hud-value--red { color: var(--status-error); }
.hud-value--amber { color: var(--status-warning); }
#miniGlobeCanvas { width: 100%; height: 380px; display: block; }

/* Phishing */
.module-phishing-demo { background: var(--bg-elevated-1); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-glass); }
.phishing-comparison { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.phishing-domain { flex: 1; background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; }
.phishing-domain--phish { border-color: rgba(239,68,68,0.15); }
.phishing-domain-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-family: var(--font-mono); color: var(--text-primary); }
.phishing-shield { font-size: 11px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.phishing-shield--green { background: rgba(16,185,129,0.15); color: var(--status-success); }
.phishing-shield--red { background: rgba(239,68,68,0.15); color: var(--status-error); }
.phishing-domain-body { display: flex; flex-direction: column; gap: 5px; }
.phishing-bar { height: 3px; background: var(--bg-elevated-3); border-radius: 2px; }
.phishing-bar--danger { background: rgba(239,68,68,0.2); }
.phishing-label { font-size: 10px; letter-spacing: 0.08em; color: var(--status-success); margin-top: 8px; font-weight: 600; font-family: var(--font-mono); }
.phishing-label--danger { color: var(--status-error); }
.phishing-vs { font-size: 11px; font-weight: 600; color: var(--text-muted); flex-shrink: 0; font-family: var(--font-mono); }
.phishing-metrics { display: flex; flex-direction: column; gap: 10px; }
.phishing-metric { display: flex; align-items: center; gap: 12px; }
.phishing-metric-label { font-size: 11px; color: var(--text-muted); width: 90px; flex-shrink: 0; font-family: var(--font-mono); }
.phishing-meter { flex: 1; height: 3px; background: var(--bg-elevated-3); border-radius: 2px; overflow: hidden; }
.phishing-meter-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 1.5s var(--ease-out); }
.phishing-meter-fill--red { background: var(--status-error); }
.phishing-meter-fill--amber { background: var(--status-warning); }
.phishing-metric-val { font-size: 11px; font-family: var(--font-mono); color: var(--text-primary); width: 50px; text-align: right; }

/* Ransomware */
.module-ransomware-viz { background: var(--bg-elevated-1); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-glass); }
.ransomware-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ransomware-header-label { font-size: 10px; letter-spacing: 0.15em; color: var(--text-muted); font-weight: 500; font-family: var(--font-mono); }
.ransomware-header-live { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--status-error); letter-spacing: 0.08em; font-weight: 500; font-family: var(--font-mono); }
.ransomware-live-dot { width: 5px; height: 5px; background: var(--status-error); border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }
.ransomware-groups { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.ransomware-group { display: flex; align-items: center; gap: 12px; }
.ransomware-group-name { font-size: 10px; font-family: var(--font-mono); font-weight: 500; color: var(--text-primary); width: 90px; flex-shrink: 0; }
.ransomware-group-bar { flex: 1; height: 4px; background: var(--bg-elevated-3); border-radius: 2px; overflow: hidden; }
.ransomware-group-fill { height: 100%; background: var(--status-error); border-radius: 2px; transition: width 1.5s var(--ease-out); }
.ransomware-group-count { font-size: 10px; font-family: var(--font-mono); color: var(--text-secondary); width: 40px; text-align: right; }
.ransomware-ticker { background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; overflow: hidden; white-space: nowrap; }
.ransomware-ticker-content { display: inline-block; font-size: 10px; font-family: var(--font-mono); color: var(--text-muted); animation: tickerScroll 35s linear infinite; }

/* Corporate */
.module-corporate-viz { background: var(--bg-elevated-1); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-glass); }
.corporate-risk-gauge { display: flex; justify-content: center; margin-bottom: 20px; }
.risk-gauge-svg { width: 200px; height: 120px; }
.corporate-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.corporate-stat-item { background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.corporate-stat-num { display: block; font-size: 16px; font-weight: 600; font-family: var(--font-mono); color: var(--text-primary); }
.corporate-stat-lbl { font-size: 10px; color: var(--text-muted); letter-spacing: 0.04em; font-family: var(--font-mono); }

/* Investigation */
.module-investigation-viz { background: var(--bg-elevated-1); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-glass); }
.investigation-canvas { position: relative; min-height: 300px; }
.investigation-svg { width: 100%; height: 300px; display: block; }
.investigation-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.25; pointer-events: none; z-index: -1;
}
.inv-node circle { transition: all 0.3s ease; }
.inv-node:hover circle { filter: drop-shadow(0 0 6px currentColor); }

/* War Game */
.module-wargame-viz { background: var(--bg-elevated-1); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-glass); }
.wargame-boot { padding: 16px; font-family: var(--font-mono); font-size: 11px; line-height: 1.9; border-bottom: 1px solid var(--border); }
.wargame-boot-line { opacity: 0; transform: translateX(-8px); }
.wargame-boot-line.visible { opacity: 1; transform: translateX(0); transition: all 0.4s var(--ease-out); }
.wargame-console { padding: 20px; }
.wargame-console-sides { display: flex; align-items: center; justify-content: center; gap: 32px; }
.wargame-side { text-align: center; padding: 16px 24px; border-radius: var(--radius-md); min-width: 120px; }
.wargame-side--attack { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.12); }
.wargame-side--defend { background: rgba(37,99,235,0.06); border: 1px solid rgba(37,99,235,0.12); }
.wargame-side-label { display: block; font-size: 9px; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 4px; font-family: var(--font-mono); }
.wargame-side-name { display: block; font-size: 13px; font-weight: 600; font-family: var(--font-mono); }
.wargame-side--attack .wargame-side-name { color: var(--status-error); }
.wargame-side--defend .wargame-side-name { color: var(--accent); }
.wargame-vs { font-size: 12px; font-weight: 700; color: var(--text-muted); font-family: var(--font-mono); }

/* ═══════════════════════════════════════════════════════════════
   MODULE RENDER SURFACES — interactive canvas-based module UIs
   ═══════════════════════════════════════════════════════════════ */
.mr-surface {
  background: var(--bg-elevated-1); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-product);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.mr-surface--compact { min-height: 0; }

.mr-chrome {
  display: flex; align-items: center; padding: 10px 16px; gap: 8px;
  background: var(--bg-elevated-2); border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mr-dot { width: 8px; height: 8px; border-radius: 50%; }
.mr-dot--red { background: #EF4444; }
.mr-dot--yellow { background: #F59E0B; }
.mr-dot--green { background: #10B981; }
.mr-title {
  font-size: 11px; font-family: var(--font-mono); color: var(--text-muted);
  margin-left: 4px; flex: 1;
}
.mr-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-family: var(--font-mono); color: var(--status-success);
  letter-spacing: 0.06em;
}
.mr-status-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--status-success); animation: pulse 2s ease-in-out infinite;
}
.mr-status-dot--red { background: var(--status-error); }

.mr-kpi-bar {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mr-kpi {
  flex: 1; padding: 10px 14px; display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
}
.mr-kpi:last-child { border-right: none; }
.mr-kpi-val {
  font-family: var(--font-mono); font-size: 15px; font-weight: 600;
  color: var(--accent);
}
.mr-kpi-val--error { color: var(--status-error); }
.mr-kpi-val--warn { color: var(--status-warning); }
.mr-kpi-val--success { color: var(--status-success); }
.mr-kpi-lbl {
  font-family: var(--font-mono); font-size: 9px; color: var(--text-muted);
  letter-spacing: 0.06em; margin-top: 2px;
}

.mr-body {
  position: relative; flex: 1; min-height: 200px;
  background: var(--bg-base);
}
.mr-body--compact { min-height: 180px; }
.mr-body--main { flex: 1; }
.mr-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.mr-controls {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-top: 1px solid var(--border);
  background: var(--bg-elevated-2); flex-shrink: 0;
}
.mr-controls--phish { justify-content: space-between; }
.mr-control-label {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--text-muted); letter-spacing: 0.1em; margin-left: auto;
}

.mr-filter-btn {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em;
  padding: 5px 14px; border-radius: var(--radius-sm);
  color: var(--text-muted); background: transparent;
  border: 1px solid var(--border); cursor: pointer;
  transition: all 0.2s ease;
}
.mr-filter-btn:hover { border-color: var(--border-light); color: var(--text-secondary); }
.mr-filter-btn.active {
  background: var(--accent-muted); border-color: rgba(37,99,235,0.3);
  color: var(--accent);
}

.mr-tab-bar {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mr-tab-btn {
  flex: 1; padding: 10px 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--text-muted); background: transparent;
  border: none; border-bottom: 2px solid transparent;
  cursor: pointer; transition: all 0.2s ease;
}
.mr-tab-btn:hover { color: var(--text-secondary); background: rgba(255,255,255,0.015); }
.mr-tab-btn.active {
  color: var(--accent); border-bottom-color: var(--accent);
  background: rgba(37,99,235,0.04);
}

.mr-split { display: flex; flex: 1; min-height: 260px; }
.mr-panel {
  width: 180px; padding: 14px; border-left: 1px solid var(--border);
  background: var(--bg-elevated-1); display: flex; flex-direction: column; gap: 10px;
  flex-shrink: 0;
}
.mr-panel--inv { width: 170px; }
.mr-panel-title {
  font-family: var(--font-mono); font-size: 9px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--text-muted); padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mr-host-list { display: flex; flex-direction: column; gap: 3px; }
.mr-host-row {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px; border-radius: var(--radius-sm);
  cursor: pointer; transition: background 0.15s ease;
}
.mr-host-row:hover { background: rgba(255,255,255,0.03); }
.mr-host-row.active { background: var(--accent-muted); }
.mr-severity {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.mr-severity--critical { background: var(--status-error); box-shadow: 0 0 4px var(--status-error); }
.mr-severity--high { background: var(--status-warning); }
.mr-severity--medium { background: var(--accent); }
.mr-severity--low { background: var(--status-success); }
.mr-host-ip { font-family: var(--font-mono); font-size: 10px; color: var(--text-primary); }
.mr-host-port { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); }

.mr-domain-compare {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mr-domain {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-primary);
  padding: 6px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-base);
}
.mr-domain--legit { border-color: rgba(16,185,129,0.2); }
.mr-domain--phish { border-color: rgba(239,68,68,0.2); }
.mr-shield { font-size: 10px; color: var(--status-success); }
.mr-shield--danger { color: var(--status-error); }
.mr-vs {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  color: var(--text-muted);
}

.mr-signal-controls {
  padding: 10px 16px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px; flex-shrink: 0;
}
.mr-signal-row {
  display: flex; align-items: center; gap: 10px;
}
.mr-signal-label {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-muted);
  width: 80px; flex-shrink: 0;
}
.mr-signal-slider {
  flex: 1; height: 3px; -webkit-appearance: none; appearance: none;
  background: var(--bg-elevated-3); border-radius: 2px; outline: none;
  cursor: pointer;
}
.mr-signal-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  border: 2px solid var(--bg-elevated-1);
}
.mr-signal-slider::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  border: 2px solid var(--bg-elevated-1);
}
.mr-signal-val {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary);
  width: 32px; text-align: right;
}
.mr-confidence-label {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--text-muted); letter-spacing: 0.1em;
}
.mr-confidence-value {
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  color: var(--status-error);
}

.mr-exec-bar {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mr-exec-btn {
  flex: 1; padding: 9px 12px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--text-muted); background: transparent;
  border: none; border-bottom: 2px solid transparent;
  cursor: pointer; transition: all 0.2s ease;
}
.mr-exec-btn:hover { color: var(--text-secondary); }
.mr-exec-btn.active {
  color: var(--text-primary); border-bottom-color: var(--accent);
  background: rgba(37,99,235,0.04);
}

.mr-org-bar {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mr-org-btn {
  flex: 1; padding: 9px 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted); background: transparent;
  border: none; border-bottom: 2px solid transparent;
  cursor: pointer; transition: all 0.2s ease;
}
.mr-org-btn:hover { color: var(--text-secondary); }
.mr-org-btn.active {
  color: var(--status-error); border-bottom-color: var(--status-error);
  background: rgba(239,68,68,0.04);
}

.mr-entity-detail { display: flex; flex-direction: column; gap: 6px; }
.mr-entity-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10px;
}
.mr-entity-label { color: var(--text-muted); }
.mr-entity-name { color: var(--accent); font-weight: 500; }
.mr-conf-value { color: var(--text-primary); font-weight: 600; }
.mr-conf-bar {
  height: 4px; background: var(--bg-elevated-3); border-radius: 2px;
  overflow: hidden; margin-top: 4px;
}
.mr-conf-fill {
  height: 100%; background: var(--accent); border-radius: 2px;
  transition: width 0.4s var(--ease-out);
}
.mr-inv-hint {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--text-muted); text-align: center; margin-top: auto;
  padding-top: 8px; border-top: 1px solid var(--border);
  letter-spacing: 0.05em;
}

.mr-wg-controls {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mr-scenario-bar { display: flex; gap: 4px; }
.mr-scenario-btn {
  font-family: var(--font-mono); font-size: 10px; padding: 5px 12px;
  border-radius: var(--radius-sm); color: var(--text-muted);
  background: transparent; border: 1px solid var(--border);
  cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.03em;
}
.mr-scenario-btn:hover { border-color: var(--border-light); color: var(--text-secondary); }
.mr-scenario-btn.active {
  background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.25);
  color: var(--status-error);
}
.mr-play-btn {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  padding: 6px 16px; border-radius: var(--radius-sm);
  background: var(--accent-muted); color: var(--accent);
  border: 1px solid rgba(37,99,235,0.25); cursor: pointer;
  transition: all 0.2s ease; letter-spacing: 0.05em;
}
.mr-play-btn:hover { background: rgba(37,99,235,0.15); }

/* ═══════════════════════════════════════════════════════════════
   ASTRA AI — sophisticated orb + chat
   ═══════════════════════════════════════════════════════════════ */
.section--astra { background: linear-gradient(180deg, var(--bg-base), var(--bg-elevated-1) 50%, var(--bg-base)); }
.astra-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.astra-subtitle { text-align: left; margin: 0 0 2rem; }
.astra-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.astra-orb { width: 180px; height: 180px; position: relative; display: flex; align-items: center; justify-content: center; }
.astra-orb-ring { position: absolute; border-radius: 50%; border: 1px solid; }
.astra-orb-ring--1 { width: 100%; height: 100%; border-color: rgba(37,99,235,0.2); animation: logoSpin 10s linear infinite; }
.astra-orb-ring--2 { width: 72%; height: 72%; border-color: rgba(124,58,237,0.15); animation: logoSpin 7s linear infinite reverse; }
.astra-orb-ring--3 { width: 44%; height: 44%; border-color: rgba(37,99,235,0.1); animation: logoSpin 5s linear infinite; }
.astra-orb-core {
  width: 20px; height: 20px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 24px rgba(37,99,235,0.4), 0 0 60px rgba(37,99,235,0.15);
  animation: astraGlow 4s ease-in-out infinite;
}
.astra-chat {
  width: 100%; max-width: 420px; background: var(--bg-elevated-1);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-glass);
}
.astra-chat-messages { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 160px; }
.astra-msg { font-size: 13px; padding: 10px 14px; border-radius: var(--radius-md); max-width: 90%; line-height: 1.5; }
.astra-msg--user { background: var(--accent-subtle); color: var(--text-primary); align-self: flex-end; border: 1px solid rgba(37,99,235,0.1); }
.astra-msg--ai { background: var(--bg-elevated-2); border: 1px solid var(--border); color: var(--text-secondary); align-self: flex-start; display: flex; flex-direction: column; gap: 6px; }
.astra-msg-label { font-size: 9px; font-weight: 600; letter-spacing: 0.15em; color: var(--accent); font-family: var(--font-mono); }
.astra-typing { font-family: var(--font-mono); font-size: 12px; min-height: 1.5em; }
.astra-chat-input {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-top: 1px solid var(--border); background: rgba(255,255,255,0.015);
}
.astra-chat-icon { color: var(--accent); font-size: 14px; }
.astra-chat-placeholder { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   RESEARCH CARDS — class-based, no inline styles
   ═══════════════════════════════════════════════════════════════ */
.research-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.research-card {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  text-decoration: none; display: flex; flex-direction: column; gap: 14px;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease-out);
}
.research-card:hover { background: var(--bg-glass-hover); border-color: var(--border-light); transform: translateY(-2px); }
.research-card-badge {
  font-family: var(--font-mono); font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 4px 10px; border-radius: 100px;
  display: inline-block; width: fit-content;
}
.research-card-badge--ransomware {
  border: 1px solid rgba(239,68,68,0.15); background: rgba(239,68,68,0.05); color: #EF4444;
}
.research-card-badge--compliance {
  border: 1px solid rgba(6,182,212,0.15); background: rgba(6,182,212,0.05); color: #06B6D4;
}
.research-card-title {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--text-primary); line-height: 1.3;
}
.research-card-abstract { font-size: 13px; line-height: 1.65; color: var(--text-secondary); }
.research-card-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); }
.research-cta { text-align: center; margin-top: 56px; }

/* ═══════════════════════════════════════════════════════════════
   COMPLIANCE & TRUST
   ═══════════════════════════════════════════════════════════════ */
.section--trust { background: linear-gradient(180deg, var(--bg-base), var(--bg-elevated-1) 50%, var(--bg-base)); }
.trust-layout { display: flex; flex-direction: column; gap: 48px; }
.reports-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.report-type-card {
  background: var(--bg-glass); box-shadow: var(--shadow-glass);
  border-radius: var(--radius-md); padding: 20px;
  display: flex; align-items: center; gap: 14px; transition: background 0.2s ease;
}
.report-type-card:hover { background: var(--bg-glass-hover); }
.report-type-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--text-tertiary); }
.report-type-icon svg { width: 100%; height: 100%; }
.report-type-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.compliance-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.compliance-badge {
  display: flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: var(--bg-glass); box-shadow: var(--shadow-glass);
  border-radius: var(--radius-sm); font-size: 12px; font-weight: 500;
  color: var(--text-secondary); letter-spacing: 0.03em; font-family: var(--font-mono);
  transition: background 0.2s ease;
}
.compliance-badge:hover { background: var(--bg-glass-hover); }
.compliance-badge-icon { color: var(--text-muted); font-size: 6px; }

/* ═══════════════════════════════════════════════════════════════
   METRICS
   ═══════════════════════════════════════════════════════════════ */
.section--metrics { background: linear-gradient(180deg, var(--bg-base), var(--bg-elevated-1) 50%, var(--bg-base)); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 64px; }
.metric-block {
  text-align: center; padding: 52px 24px;
  background: var(--bg-glass); box-shadow: var(--shadow-glass);
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.metric-value {
  font-family: var(--font-display); font-size: 44px; font-weight: 600;
  color: var(--text-primary); line-height: 1; letter-spacing: -0.03em;
}
.metric-suffix { font-size: 22px; font-weight: 300; color: var(--text-tertiary); }
.metric-label { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 12px; }
.verticals-strip { text-align: center; }
.vertical-tag { display: block; font-size: 10px; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 16px; font-family: var(--font-mono); }
.verticals-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; align-items: center; }
.vertical-item { font-size: 14px; color: var(--text-secondary); font-weight: 400; }
.vertical-divider { color: var(--text-muted); font-size: 12px; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT US
   ═══════════════════════════════════════════════════════════════ */
.section--contact { background: linear-gradient(180deg, var(--bg-base), var(--bg-elevated-1) 50%, var(--bg-base)); }
.contact-form-wrapper {
  max-width: 680px; margin: 0 auto;
  background: var(--bg-glass); box-shadow: var(--shadow-glass);
  border-radius: var(--radius-xl); padding: 48px 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-group { display: flex; flex-direction: column; gap: 6px; }
.contact-form-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase;
}
.contact-form-input {
  padding: 12px 16px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 14px; font-family: var(--font-sans);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form-input::placeholder { color: var(--text-muted); }
.contact-form-input:focus { border-color: var(--accent); background: rgba(37,99,235,0.03); outline: none; }
.contact-form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.contact-form-actions {
  display: flex; align-items: center; gap: 20px; padding-top: 8px;
}
.contact-form-note { font-size: 13px; color: var(--text-muted); }
.contact-email-link {
  color: var(--accent); transition: color 0.2s ease;
}
.contact-email-link:hover { color: var(--accent-hover); }

/* ═══════════════════════════════════════════════════════════════
   CTA — clean, confident
   ═══════════════════════════════════════════════════════════════ */
.section--cta {
  background: var(--bg-elevated-1);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-content { max-width: 560px; margin: 0 auto; text-align: center; }
.cta-title {
  font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600; line-height: 1.2; margin-bottom: 16px; min-height: 1.2em;
  letter-spacing: -0.03em;
}
.cta-cursor { animation: cursorBlink 1s step-end infinite; color: var(--accent); font-weight: 300; }
.cta-subtitle { font-size: 15px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.6; }
.cta-form { display: flex; gap: 10px; justify-content: center; margin-bottom: 12px; }
.cta-input {
  flex: 1; max-width: 300px; padding: 12px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary); font-size: 14px;
  transition: border-color 0.2s ease;
}
.cta-input::placeholder { color: var(--text-muted); }
.cta-input:focus { border-color: var(--accent); }
.cta-form-note { font-size: 11px; color: var(--text-muted); margin-bottom: 32px; font-family: var(--font-mono); }
.cta-trust { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-trust-badge { font-size: 10px; letter-spacing: 0.12em; color: var(--text-muted); font-weight: 400; font-family: var(--font-mono); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER — minimal, authoritative
   ═══════════════════════════════════════════════════════════════ */
.footer { padding: 100px 0 48px; }
.footer-separator {
  width: 100%; height: 1px; margin-bottom: 80px;
  background: linear-gradient(90deg, transparent, var(--border-light) 25%, var(--border-light) 75%, transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-name { font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 0.2em; }
.footer-brand-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 260px; }
.footer-col-title { font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-link { display: block; font-size: 13px; color: var(--text-tertiary); padding: 3px 0; transition: color 0.15s ease; }
.footer-link:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: var(--text-muted); transition: color 0.15s ease; }
.footer-legal a:hover { color: var(--text-secondary); }
.footer-domain { font-size: 12px; font-family: var(--font-mono); color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  .hero-clients-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-padding: 120px; }
  .module-showcase, .module-showcase--wide, .module-showcase--compact { grid-template-columns: 1fr; gap: 40px; }
  .module-showcase--reverse { direction: ltr; }
  .modules-grid-pair { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .astra-layout { grid-template-columns: 1fr; gap: 48px; }
  .astra-info { text-align: center; }
  .astra-subtitle { text-align: center; }
  .platform-module-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrapper { padding: 36px 28px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-form-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --section-padding: 88px; --container-padding: 20px; }
  .nav { padding: 0 20px; }
  .nav-links {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(7,8,11,0.95); backdrop-filter: blur(20px);
    padding: 24px; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero-content { margin-left: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-telemetry { display: none; }
  .hero-scroll-indicator { bottom: 24px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-clients { width: 100%; }
  .hero-clients-label { text-align: center; }
  .hero-client-logo { width: 210px; height: 92px; padding: 14px 20px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .platform-dashboard-body { flex-direction: column; }
  .platform-sidebar { width: 100%; flex-direction: row; padding: 8px 16px; border-right: none; border-bottom: 1px solid var(--border); }
  .platform-sidebar-logo { margin-bottom: 0; margin-right: 12px; padding-bottom: 0; padding-right: 12px; border-bottom: none; border-right: 1px solid var(--border); }
  .platform-sidebar-items { flex-direction: row; }
  .platform-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .platform-module-grid { grid-template-columns: 1fr; }
  .phishing-comparison { flex-direction: column; }
  .phishing-vs { transform: rotate(90deg); }
  .mr-split { flex-direction: column; }
  .mr-panel, .mr-panel--inv { width: 100%; border-left: none; border-top: 1px solid var(--border); }
  .mr-kpi-bar { flex-wrap: wrap; }
  .mr-kpi { min-width: 0; }
  .mr-domain-compare { flex-direction: column; gap: 8px; }
  .corporate-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reports-types { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; align-items: center; }
  .cta-input { max-width: 100%; width: 100%; }
  .cta-trust { flex-direction: column; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .verticals-list { flex-direction: column; gap: 8px; }
  .vertical-divider { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .metric-value { font-size: 36px; }
  .module-stats { gap: 20px; }
  .wargame-console-sides { flex-direction: column; gap: 16px; }
}
