/* ==========================================================================
   ANVEXER — AUTONOMOUS INVESTIGATIVE INTELLIGENCE PLATFORM
   Design System & Master Stylesheet
   Company: Sobitai Solutions LLP
   ========================================================================== */

:root {
  /* Core Palette — Authoritative Matte Obsidian & Deep Slate */
  --bg-deep: #06080d;
  --bg-base: #090e17;
  --bg-surface: #0e1524;
  --bg-elevated: #131c2e;
  --bg-glass: rgba(14, 21, 36, 0.72);
  --bg-glass-elevated: rgba(19, 28, 46, 0.85);

  /* Borders & Precision Architectural Lines */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-bright: rgba(56, 189, 248, 0.35);
  --border-amber: rgba(245, 158, 11, 0.30);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #090e17;

  /* Brand Accents — Subdued Enterprise Palette */
  --brand-cyan: #38bdf8;
  --brand-blue: #2563eb;
  --brand-azure: #0ea5e9;
  --accent-amber: #f59e0b;
  --accent-teal: #10b981;
  --accent-red: #ef4444;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 68px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  background: var(--bg-deep);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
}

code, pre, .mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   NAVIGATION — MINIMALIST ENTERPRISE STANDARD
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 28px;
  width: 28px;
}

.brand-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.10em;
  color: var(--text-primary);
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 6px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm {
  padding: 7px 15px;
  font-size: 13px;
}

.btn-primary {
  background: #ffffff;
  color: #090e17;
  font-weight: 600;
  border: 1px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #e2e8f0;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   BACKGROUND CONSTELLATION OPTICAL CANVAS
   Whisper-thin, mathematical hairlines with calm optical pulse
   ========================================================================== */
#logo-trace-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

/* ==========================================================================
   HERO SECTION — PALANTIR / DATAWALK / C3.AI EXECUTIVE STANDARD
   ========================================================================== */
.hero-tracer-section {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 100px;
  background: transparent;
  z-index: 1;
}

.hero-tracer-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
}

.hero-title {
  font-size: clamp(38px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 920px;
  margin: 0 auto 24px;
}

.hero-subtitle {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 40px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   SECTIONS & ENTERPRISE GRIDS
   ========================================================================== */
.section-block {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.section-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Differentiator Side-by-Side */
.distinguisher-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .distinguisher-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.dist-card {
  background: rgba(11, 18, 30, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.dist-card.us {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.dist-badge-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.dist-badge-label.active {
  color: var(--brand-cyan);
}

.dist-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.dist-title.accent {
  color: #ffffff;
}

.dist-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.dist-list {
  list-style: none;
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.dist-list.verified {
  color: var(--text-secondary);
}

.dist-list li {
  position: relative;
  padding-left: 18px;
}

.dist-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.dist-list.verified li::before {
  content: '✓';
  color: var(--brand-cyan);
}

.dist-mid-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
}

/* 13-Aspects Framework Grid */
.aspects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.aspect-card {
  background: rgba(11, 18, 30, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.aspect-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.aspect-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aspect-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-cyan);
  background: rgba(56, 189, 248, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.aspect-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.aspect-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.aspect-source {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

/* 8-Stage Pipeline Grid */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.pipeline-step-card {
  background: rgba(11, 18, 30, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pipeline-step-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.pipeline-step-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
}

.pipeline-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.pipeline-step-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.pipeline-step-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Ingestion Formats Grid */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.format-card {
  background: rgba(11, 18, 30, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.format-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.format-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.format-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Evidence Specimen Grid */
.evidence-specimen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 860px) {
  .evidence-specimen-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.admiralty-scale-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.scale-header {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 8px;
}

.scale-list {
  list-style: none;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scale-list strong {
  color: var(--text-secondary);
}

.specimen-dossier-card {
  background: #090e17;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.dossier-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.dossier-tag {
  color: var(--brand-cyan);
  font-weight: 700;
}

.dossier-body-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.rating-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin: 0 2px;
  white-space: nowrap;
}

.rating-a1 {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.rating-b2 {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.rating-flag {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.dossier-footer-bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* Executive Call To Action Card */
.executive-cta-card {
  background: rgba(14, 21, 36, 0.5);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.executive-cta-title {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 16px;
}

.executive-cta-desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 36px;
}
/* ==========================================================================
   CONCEPT 2: AGENT'S CONCEPT — SOVEREIGN INTEL COMMAND CENTER
   ========================================================================== */
.hero-command-section {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
}

.intel-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(78, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.command-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

.telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(6, 11, 19, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
}

/* Interactive Command Center Canvas */
.command-canvas-card {
  position: relative;
  z-index: 2;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 1px rgba(0, 240, 255, 0.3) inset;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  min-height: 600px;
}

@media (max-width: 980px) {
  .command-canvas-card {
    grid-template-columns: 1fr;
  }
}

/* Left Panel: Target & Dossier Tree */
.command-panel-left {
  background: rgba(10, 19, 34, 0.95);
  border-right: 1px solid var(--border-subtle);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.command-panel-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-selector-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-tab {
  background: rgba(14, 27, 46, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.case-tab:hover {
  border-color: var(--border-bright);
}

.case-tab.active {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15) inset;
}

.case-tab-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.case-tab-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.target-stat-box {
  background: rgba(6, 11, 19, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 12px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-label { color: var(--text-muted); }
.stat-val { color: var(--brand-cyan); font-family: var(--font-mono); font-weight: 600; }

/* Center Panel: Live Graph Canvas */
.command-panel-center {
  position: relative;
  background: #08111e;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.graph-top-controls {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.graph-badge-group {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.graph-mode-btn {
  background: rgba(14, 27, 46, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.graph-mode-btn.active, .graph-mode-btn:hover {
  background: var(--brand-cyan);
  color: #040810;
  border-color: var(--brand-cyan);
}

#intel-graph-canvas {
  width: 100%;
  height: 100%;
  min-height: 440px;
  cursor: grab;
}

#intel-graph-canvas:active {
  cursor: grabbing;
}

.graph-hint {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(6, 11, 19, 0.7);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  pointer-events: none;
}

/* Right Panel: Live Evidence Inspector & Admiralty Rating */
.command-panel-right {
  background: rgba(10, 19, 34, 0.95);
  border-left: 1px solid var(--border-subtle);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.node-inspector-card {
  background: rgba(14, 27, 46, 0.6);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px;
}

.node-inspector-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.node-type-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.15);
  color: var(--brand-cyan);
  margin-bottom: 12px;
}

.admiralty-rating-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 183, 64, 0.1);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
}

.admiralty-grade {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 16px;
  color: var(--accent-amber);
}

.admiralty-desc {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: right;
}

.citation-box {
  background: rgba(6, 11, 19, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.citation-source {
  font-size: 11px;
  color: var(--brand-cyan);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   COMMON SECTIONS & CONTENT CARDS
   ========================================================================== */
section {
  padding: 80px 0;
  position: relative;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 48px;
}

/* Use Cases Showcase */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.usecase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

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

.usecase-title {
  font-size: 18px;
  font-weight: 700;
}

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

/* Air-Gapped Deployment Matrix */
.deployment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.deploy-tier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.deploy-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.deploy-badge.l1 { background: rgba(16, 185, 129, 0.15); color: var(--accent-teal); }
.deploy-badge.l2 { background: rgba(0, 240, 255, 0.15); color: var(--brand-cyan); }
.deploy-badge.l3 { background: rgba(244, 183, 64, 0.15); color: var(--accent-amber); }
.deploy-badge.l4 { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }

/* Operational Boundaries & What Anvexer Does NOT Do */
.boundaries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.boundary-card {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 14px;
}

.boundary-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--border-bright);
}

.faq-question {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-icon {
  font-size: 18px;
  color: var(--brand-cyan);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   BLOG & JOURNAL STYLES
   ========================================================================== */
.post-header {
  padding: 60px 0 30px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.post-meta-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.post-tag-pill {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-bright);
  color: var(--brand-cyan);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.post-content-wrap {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: #c5d4eb;
}

.post-content-wrap h2 {
  font-size: 26px;
  margin: 44px 0 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.post-content-wrap h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.post-content-wrap p {
  margin-bottom: 20px;
}

.post-content-wrap ul, .post-content-wrap ol {
  margin: 0 0 24px 24px;
}

.post-content-wrap li {
  margin-bottom: 8px;
}

.post-content-wrap blockquote {
  border-left: 3px solid var(--brand-cyan);
  padding: 12px 20px;
  background: rgba(0, 240, 255, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-primary);
}

.table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

th, td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: var(--bg-elevated);
  color: var(--brand-cyan);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* Post Cards Grid for Blog Index */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   CALL TO ACTION & FOOTER
   ========================================================================== */
.cta-banner-section {
  padding: 60px 0;
}

.cta-banner-card {
  background: radial-gradient(ellipse at 30% 0%, #152b4a 0%, #0c182c 60%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 860px) {
  .cta-banner-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
}

.cta-text-side h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.cta-text-side p {
  font-size: 16px;
  max-width: 580px;
}

.site-footer {
  background: #04080e;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 13px;
  color: var(--text-muted);
}

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

@media (max-width: 860px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVE UTILITIES
   ========================================================================== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}
