/* ==========================================================================
   IRON CORE - FORCE GUARD & IRON LEDGER | DUAL THEME DESIGN SYSTEM
   Default: System / Browser Theme (Auto Dark / Light)
   Override: User Switchable Light & Dark Modes with System Reset
   ========================================================================== */

:root,
[data-theme="light"] {
  --theme: 'light';

  /* Color Palette - Clean Platinum Light Mode */
  --bg-black: #f8fafc;
  --bg-darker: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #e2e8f0;

  /* Metallic Gradients & Tints */
  --metal-border: rgba(100, 116, 139, 0.22);
  --metal-border-bright: rgba(51, 65, 85, 0.45);
  --metal-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.5) 50%, rgba(203, 213, 225, 0.7) 100%);
  --card-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --banner-shadow: 0 20px 45px rgba(15, 23, 42, 0.1), 0 0 25px rgba(212, 175, 55, 0.1);

  /* Brand Accents - Calibrated for Light Contrast */
  --cyan-quantum: #0284c7;
  --cyan-glow: rgba(2, 132, 199, 0.25);
  --cyan-subtle: rgba(2, 132, 199, 0.1);

  --force-red: #e11d48;
  --force-glow: rgba(225, 29, 72, 0.25);
  --force-subtle: rgba(225, 29, 72, 0.08);

  --guard-blue: #2563eb;
  --guard-glow: rgba(37, 99, 235, 0.25);

  --emerald-safe: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.25);

  --amber-warn: #d97706;
  --amber-glow: rgba(217, 119, 6, 0.25);

  --gold-ledger: #b45309;
  --gold-glow: rgba(180, 83, 9, 0.25);
  --gold-subtle: rgba(180, 83, 9, 0.1);

  --purple-cbom: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.25);
  --purple-subtle: rgba(124, 58, 237, 0.1);

  /* Toast Notification Tokens (Inverted: Dark Toast on Light UI) */
  --toast-bg: rgba(11, 17, 28, 0.96);
  --toast-border: rgba(56, 189, 248, 0.55);
  --toast-shadow: 0 14px 35px rgba(15, 23, 42, 0.35), 0 0 18px rgba(2, 132, 199, 0.2);
  --toast-color: #f8fafc;
  --toast-icon-glow: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));


  /* Typography & Theme-specific surfaces */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-code: #0369a1;

  --hero-gradient: linear-gradient(135deg, #0f172a 15%, #334155 55%, var(--cyan-quantum) 100%);
  --gold-gradient: linear-gradient(135deg, #78350f 0%, #b45309 45%, #d97706 85%, #b45309 100%);
  --hero-gradient-r: linear-gradient(135deg, #334155 0%, var(--cyan-quantum) 25%, #334155 85%, #0f172a 100%);
  --gold-gradient-r: linear-gradient(135deg, #b45309 0%, #d97706 15%, #b45309 55%, #78350f 100%);


  --nav-bg: rgba(255, 255, 255, 0.88);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.96);
  --footer-bg: #f1f5f9;
  --header-border: rgba(100, 116, 139, 0.2);
  --grid-line: rgba(0, 0, 0, 0.04);
  --hud-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  --banner-bg: #f1f5f9;
  --table-head-bg: #f1f5f9;
  --section-darker-bg: #f1f5f9;

  /* Code Container & Snippet Surfaces (Light Mode) */
  --code-bg: #ffffff;
  --code-header-bg: #f1f5f9;
  --code-text: #0f172a;
  --code-line-num: #94a3b8;
  --code-tab-bg: #f8fafc;
  --code-tab-border: rgba(100, 116, 139, 0.22);
  --code-tab-hover: #e2e8f0;
  --code-action-bg: #f8fafc;

  /* Code Syntax Tokens (Light Mode - Crisp & Legible) */
  --syn-kw: #cf222e;
  --syn-fn: #8250df;
  --syn-str: #0a3069;
  --syn-cmt: #6e7781;
  --syn-pqc: #0284c7;
  --syn-vuln: #e11d48;

  --font-brand: 'Orbitron', 'Outfit', sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Layout & Sizing */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --theme: 'dark';

  /* Color Palette - Ultra-Dark Cyber Tactical */
  --bg-black: #05070a;
  --bg-darker: #080c13;
  --bg-card: rgba(13, 19, 29, 0.78);
  --bg-card-hover: rgba(20, 29, 44, 0.88);
  --bg-surface: #0e1522;
  --bg-surface-elevated: #151f30;

  --metal-border: rgba(160, 180, 210, 0.16);
  --metal-border-bright: rgba(190, 215, 255, 0.35);
  --metal-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
  --card-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  --banner-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.12);

  --cyan-quantum: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --cyan-subtle: rgba(0, 240, 255, 0.12);

  --force-red: #ff3355;
  --force-glow: rgba(255, 51, 85, 0.35);
  --force-subtle: rgba(255, 51, 85, 0.12);

  --guard-blue: #2a75ff;
  --guard-glow: rgba(42, 117, 255, 0.35);

  --emerald-safe: #00e676;
  --emerald-glow: rgba(0, 230, 118, 0.35);

  --amber-warn: #ffab00;
  --amber-glow: rgba(255, 171, 0, 0.3);

  --gold-ledger: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --gold-subtle: rgba(212, 175, 55, 0.12);

  --purple-cbom: #b066ff;
  --purple-glow: rgba(176, 102, 255, 0.35);
  --purple-subtle: rgba(176, 102, 255, 0.12);

  /* Toast Notification Tokens (Inverted: Light Toast on Dark UI) */
  --toast-bg: rgba(255, 255, 255, 0.97);
  --toast-border: rgba(0, 240, 255, 0.75);
  --toast-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 240, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  --toast-color: #090e17;
  --toast-icon-glow: drop-shadow(0 0 4px rgba(0, 160, 220, 0.5));


  --text-primary: #f2f5fb;
  --text-secondary: #94a3b8;
  --text-muted: #5e6f88;
  --text-code: #a5b4fc;

  --hero-gradient: linear-gradient(135deg, #ffffff 10%, #d8e2ee 45%, var(--cyan-quantum) 100%);
  --gold-gradient: linear-gradient(135deg, #fff7d6 0%, #d4af37 40%, #f59e0b 80%, #b45309 100%);
  --hero-gradient-r: linear-gradient(135deg, var(--cyan-quantum) 10%, #d8e2ee 45%, #334155 100%);
  --gold-gradient-r: linear-gradient(135deg, #b45309 0%, #f59e0b 40%, #d4af37 80%, #fff7d6 100%);

  --nav-bg: rgba(6, 9, 14, 0.85);
  --nav-bg-scrolled: rgba(5, 7, 10, 0.96);
  --footer-bg: #040609;
  --header-border: var(--metal-border);
  --grid-line: rgba(255, 255, 255, 0.02);
  --hud-bg: linear-gradient(135deg, rgba(14, 21, 34, 0.95) 0%, rgba(9, 13, 20, 0.98) 100%);
  --banner-bg: #04060a;
  --table-head-bg: rgba(6, 9, 14, 0.9);
  --section-darker-bg: rgba(7, 10, 16, 0.85);

  /* Code Container & Snippet Surfaces (Dark Mode) */
  --code-bg: #080c13;
  --code-header-bg: rgba(12, 17, 26, 0.95);
  --code-text: #d1d9e6;
  --code-line-num: #435166;
  --code-tab-bg: rgba(22, 33, 52, 0.6);
  --code-tab-border: rgba(255, 255, 255, 0.08);
  --code-tab-hover: rgba(30, 46, 73, 0.8);
  --code-action-bg: #0d1421;

  /* Code Syntax Tokens (Dark Mode) */
  --syn-kw: #ff7b72;
  --syn-fn: #d2a8ff;
  --syn-str: #a5d6ff;
  --syn-cmt: #6e7681;
  --syn-pqc: #00f0ff;
  --syn-vuln: #ff5f78;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

[data-theme="light"] {
  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Canvas Background */
#quantum-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Cyber Matrix Grid Background Overlay */
.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Utilities */
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.02em;
}

.gradient-text {
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-r {
  background: var(--hero-gradient-r);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-force-guard {
  background: linear-gradient(135deg, var(--force-red) 10%, var(--cyan-quantum) 50%, var(--guard-blue) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.code-font {
  font-family: var(--font-mono);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--header-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: var(--nav-bg-scrolled);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-bottom-color: var(--cyan-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  flex-wrap: nowrap;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
  transition: transform var(--transition-normal);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-main-title {
  font-family: var(--font-brand);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.1;
}

.brand-sub-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--cyan-quantum);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Nav Item Dropdown */
.nav-dropdown {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nav-dropdown-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown-btn:hover,
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown.is-open .nav-dropdown-btn,
.nav-dropdown:focus-within .nav-dropdown-btn {
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.is-open .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--metal-border-bright);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--card-shadow), 0 20px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Invisible hover bridge spanning between the button and menu so mouse transit never drops hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -20px;
  right: -20px;
  height: 22px;
  background: transparent;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  background: transparent;
}

.dropdown-item:hover {
  background: var(--bg-surface-elevated);
  transform: translateX(3px);
}

.dropdown-icon {
  font-size: 1.25rem;
  line-height: 1;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.dropdown-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-status-pill {
  padding: 5px 12px;
  font-size: 0.74rem;
}

.nav-cta-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 54px;
  height: 28px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-full);
  padding: 2px 4px;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-normal);
  user-select: none;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--metal-border-bright);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--cyan-quantum);
  outline-offset: 2px;
}

.theme-toggle-btn[data-theme-mode="override"] {
  border-color: var(--cyan-quantum);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.theme-toggle-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  line-height: 1;
  padding: 0 4px;
  pointer-events: none;
}

.theme-toggle-knob {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s;
  pointer-events: none;
}

[data-theme="dark"] .theme-toggle-knob {
  transform: translateX(26px);
  background: #1e293b;
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--metal-border);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0077ff 100%);
  color: #030813;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  color: #000;
}

.btn-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--metal-border);
  color: var(--text-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--cyan-quantum);
  transform: translateY(-2px);
  color: var(--text-primary);
  box-shadow: 0 0 15px var(--cyan-subtle);
}

[data-theme="dark"] .btn-secondary {
  background: rgba(18, 26, 40, 0.7);
  border-color: var(--metal-border-bright);
  color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(28, 40, 62, 0.85);
  color: #fff;
}

.btn-danger-outline {
  background: rgba(255, 51, 85, 0.08);
  border-color: rgba(255, 51, 85, 0.4);
  color: var(--force-red);
}

.btn-danger-outline:hover {
  background: rgba(255, 51, 85, 0.2);
  color: #fff;
  box-shadow: 0 0 15px var(--force-glow);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  font-size: 1.1em;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--metal-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .status-pill {
  background: rgba(16, 24, 38, 0.85);
  color: var(--text-primary);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.status-dot.cyan {
  background-color: var(--cyan-quantum);
  box-shadow: 0 0 8px var(--cyan-quantum);
}

.status-dot.red {
  background-color: var(--force-red);
  box-shadow: 0 0 8px var(--force-red);
}

.status-dot.green,
.status-dot.emerald {
  background-color: var(--emerald-safe);
  box-shadow: 0 0 8px var(--emerald-safe);
}

.status-dot.gold {
  background-color: var(--gold-ledger);
  box-shadow: 0 0 8px var(--gold-ledger);
}

.status-dot.purple,
.status-dot.violet {
  background-color: var(--purple-cbom);
  box-shadow: 0 0 8px var(--purple-cbom);
}

.pulse-dot::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.6;
  animation: pulseAnim 2s infinite ease-out;
}

@keyframes pulseAnim {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 100px 0;
  overflow: hidden;
}

.hero-backdrop-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.12) 0%, rgba(42, 117, 255, 0.08) 40%, transparent 75%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  height: 38px;
  margin-bottom: 16px;
}

.hero-tag-row .status-pill {
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  height: 34px;
  display: inline-flex;
  align-items: center;
}

.pill-cnsa {
  border-color: rgba(124, 58, 237, 0.45) !important;
  color: var(--purple-cbom) !important;
}

.pill-qevm {
  border-color: rgba(212, 175, 55, 0.45) !important;
  color: var(--gold-ledger) !important;
}

.pill-mythos {
  border-color: rgba(2, 132, 199, 0.45) !important;
  color: var(--cyan-quantum) !important;
}

.hero-title {
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-title-line-1 {
  display: block;
  white-space: nowrap;
}

.hero-title-line-2 {
  display: block;
}

.hero-title span.highlight {
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Hero Full-Width Slogan: No Container, Bold & Prominent */
.hero-slogan-bar.full-row {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 44px;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.hero-slogan-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.025em;
  text-align: center;
}

.hero-slogan-desc {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-tag-row {
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--card-shadow);
  margin-top: 14px;
}

.hero-metrics-bar.full-row {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 18px;
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Visual / Interactive HUD */
.hero-visual-col {
  display: flex;
  flex-direction: column;
}

.hero-visual-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  margin-bottom: 16px;
  gap: 8px;
}

.hero-visual-status-bar .status-pill {
  height: 34px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
}

.status-pill-active {
  border-color: rgba(0, 230, 118, 0.45);
  background: var(--bg-card);
}

.status-text-bold {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.telemetry-live-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  width: 100%;
}

.hero-visual-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.7;
  overflow: hidden;
  border-bottom: 1px solid var(--metal-border);
  background: #ffffff;
}

.hero-visual-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.05) brightness(0.98);
  transition: transform 0.4s ease;
}

.hero-visual-card:hover .hero-visual-banner img {
  transform: scale(1.02);
}

.banner-overlay-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--metal-border-bright);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-hud-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hud-telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--metal-border);
}

.hud-title {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 600;
}

.hud-vuln-count {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--force-red);
}

.hud-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hud-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  gap: 8px;
  white-space: nowrap;
}

.hud-item-name {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.77rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hud-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.67rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.hud-tag.danger {
  background: rgba(255, 51, 85, 0.15);
  color: var(--force-red);
  border: 1px solid rgba(255, 51, 85, 0.35);
}

.hud-tag.secure {
  background: rgba(0, 230, 118, 0.15);
  color: var(--emerald-safe);
  border: 1px solid rgba(0, 230, 118, 0.35);
}

.hud-tag.remediating {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-quantum);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

/* ==========================================================================
   QUANTUM THREAT & HNDL SECTION
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-darker {
  background: var(--section-darker-bg);
  border-top: 1px solid var(--metal-border);
  border-bottom: 1px solid var(--metal-border);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-pill {
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* HNDL Cards Grid */
.threat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.threat-card {
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.threat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.threat-card:hover {
  transform: translateY(-4px);
  border-color: var(--metal-border-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.threat-card.hndl:hover::before {
  background: linear-gradient(90deg, var(--force-red), var(--amber-warn));
}

.threat-card.shor:hover::before {
  background: linear-gradient(90deg, var(--force-red), var(--cyan-quantum));
}

.threat-card.cnsa:hover::before {
  background: linear-gradient(90deg, var(--cyan-quantum), var(--guard-blue));
}

.threat-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.threat-card.hndl .threat-icon-box {
  background: rgba(255, 51, 85, 0.12);
  color: var(--force-red);
  border: 1px solid rgba(255, 51, 85, 0.25);
}

.threat-card.shor .threat-icon-box {
  background: rgba(255, 171, 0, 0.12);
  color: var(--amber-warn);
  border: 1px solid rgba(255, 171, 0, 0.25);
}

.threat-card.cnsa .threat-icon-box {
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan-quantum);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.threat-card h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.threat-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Timeline Interactive Stepper */
.timeline-box {
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 40px;
  backdrop-filter: blur(14px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.timeline-header h3 {
  font-size: 1.35rem;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline-step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--metal-border);
  transition: all var(--transition-normal);
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-sizing: border-box;
  z-index: 5;
  transition: all var(--transition-normal);
}

/* 4 Distinct Progress Bar Colors for Both Themes */
/* Step 1: 2024 Completed - Emerald Green */
.timeline-step.step-completed {
  border-top-color: var(--emerald-safe);
}

.timeline-step.step-completed::before {
  background: var(--emerald-safe);
  border-color: #ffffff;
  box-shadow: 0 0 12px var(--emerald-glow);
}

/* Step 2: 2025-2026 Mandate - Electric Cyan */
.timeline-step.step-mandate {
  border-top-color: var(--cyan-quantum);
}

.timeline-step.step-mandate::before {
  background: var(--cyan-quantum);
  border-color: #ffffff;
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Step 3: 2027-2030 Critical Phase-Out - Force Red */
.timeline-step.step-critical {
  border-top-color: var(--force-red);
}

.timeline-step.step-critical::before {
  background: var(--force-red);
  border-color: #ffffff;
  box-shadow: 0 0 12px var(--force-glow);
}

/* Step 4: 2033 Full Transition - Lattice Gold */
.timeline-step.step-target {
  border-top-color: var(--gold-ledger);
}

.timeline-step.step-target::before {
  background: var(--gold-ledger);
  border-color: #ffffff;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Light Theme Contrast Enhancements */
[data-theme="light"] .timeline-step.step-completed {
  border-top-color: #059669;
}

[data-theme="light"] .timeline-step.step-completed::before {
  background: #059669;
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.45);
}

[data-theme="light"] .timeline-step.step-mandate {
  border-top-color: #0284c7;
}

[data-theme="light"] .timeline-step.step-mandate::before {
  background: #0284c7;
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.45);
}

[data-theme="light"] .timeline-step.step-critical {
  border-top-color: #e11d48;
}

[data-theme="light"] .timeline-step.step-critical::before {
  background: #e11d48;
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.45);
}

[data-theme="light"] .timeline-step.step-target {
  border-top-color: #d97706;
}

[data-theme="light"] .timeline-step.step-target::before {
  background: #d97706;
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.45);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   INTERACTIVE LIVE AI SCANNER & REMEDIATION DEMO
   ========================================================================== */
.scanner-demo-wrapper {
  background: var(--code-bg);
  border: 1px solid var(--metal-border-bright);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.scanner-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--code-header-bg);
  border-bottom: 1px solid var(--metal-border);
  flex-wrap: wrap;
  gap: 16px;
}

.terminal-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

.scanner-brand-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.scanner-brand-tag strong {
  color: var(--text-primary);
}

.scanner-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scanner-tab-btn {
  background: var(--code-tab-bg);
  border: 1px solid var(--code-tab-border);
  color: var(--text-secondary);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scanner-tab-btn:hover {
  color: var(--text-primary);
  background: var(--code-tab-hover);
}

.scanner-tab-btn.active {
  color: #030813;
  background: var(--cyan-quantum);
  border-color: var(--cyan-quantum);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.scanner-work-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  position: relative;
  background: var(--code-bg);
}

.scanner-pane {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--metal-border);
  position: relative;
  min-width: 0;
}

.scanner-pane:last-child {
  border-right: none;
}

.pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: var(--code-header-bg);
  border-bottom: 1px solid var(--metal-border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
}

.pane-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.pane-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.pane-badge.vuln {
  background: rgba(255, 51, 85, 0.15);
  color: var(--force-red);
  border: 1px solid rgba(255, 51, 85, 0.35);
}

.pane-badge.safe {
  background: rgba(0, 230, 118, 0.15);
  color: var(--emerald-safe);
  border: 1px solid rgba(0, 230, 118, 0.35);
}

.code-editor-box {
  flex: 1;
  padding: 20px;
  background: var(--code-bg);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  position: relative;
}

.code-editor-box pre {
  margin: 0;
}

.code-line {
  display: flex;
  align-items: center;
  height: 26px;
  min-height: 26px;
  line-height: 26px;
  border-left: 3px solid transparent;
  box-sizing: border-box;
}

.line-num {
  width: 42px;
  min-width: 42px;
  height: 26px;
  line-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--code-line-num);
  user-select: none;
  text-align: right;
  padding-right: 16px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.line-code {
  color: var(--code-text);
  white-space: pre;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  height: 26px;
  line-height: 26px;
  display: block;
  flex: 1;
}

.line-code:empty::before {
  content: '\00a0';
}

.line-highlight-danger {
  background: rgba(255, 51, 85, 0.12);
  border-left-color: var(--force-red);
}

.line-highlight-success {
  background: rgba(0, 230, 118, 0.12);
  border-left-color: var(--emerald-safe);
}

/* Syntax Highlighting Colors */
.tok-kw {
  color: var(--syn-kw);
  font-weight: 600;
}

.tok-fn {
  color: var(--syn-fn);
}

.tok-str {
  color: var(--syn-str);
}

.tok-cmt {
  color: var(--syn-cmt);
  font-style: italic;
}

.tok-pqc {
  color: var(--syn-pqc);
  font-weight: 700;
}

.tok-vuln {
  color: var(--syn-vuln);
  text-decoration: underline wavy var(--syn-vuln);
  font-weight: 600;
}

/* Scanning Laser Overlay */
.scanning-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan-quantum) 50%, transparent 100%);
  box-shadow: 0 0 15px var(--cyan-quantum), 0 0 25px var(--cyan-quantum);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.scanning-laser.active {
  opacity: 1;
  animation: scanLaserAnim 2s infinite ease-in-out;
}

@keyframes scanLaserAnim {
  0% {
    top: 0%;
  }

  50% {
    top: 98%;
  }

  100% {
    top: 0%;
  }
}

/* Scanner Action & Diagnostics Bar */
.scanner-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--code-action-bg);
  border-top: 1px solid var(--metal-border);
  flex-wrap: wrap;
  gap: 16px;
}

.scanner-diagnostics {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.diag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.diag-val {
  font-weight: 700;
}

.diag-val.critical {
  color: var(--force-red);
}

.diag-val.secure {
  color: var(--emerald-safe);
}

.diag-val.active {
  color: var(--cyan-quantum);
}

.scanner-button-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Live Force Guard AI Scanner - Explicit Light Mode Polish */
[data-theme="light"] .scanner-demo-wrapper {
  background: #ffffff;
  border-color: rgba(100, 116, 139, 0.25);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .scanner-top-bar {
  background: #f8fafc;
  border-bottom-color: rgba(100, 116, 139, 0.18);
}

[data-theme="light"] .scanner-brand-tag {
  color: #64748b;
}

[data-theme="light"] .scanner-brand-tag strong {
  color: #0f172a;
}

[data-theme="light"] .scanner-tab-btn {
  background: #f1f5f9;
  border-color: rgba(100, 116, 139, 0.2);
  color: #475569;
}

[data-theme="light"] .scanner-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .scanner-tab-btn.active {
  background: var(--cyan-quantum);
  color: #ffffff;
  border-color: var(--cyan-quantum);
}

[data-theme="light"] .scanner-work-area {
  background: #ffffff;
}

[data-theme="light"] .pane-header {
  background: #f1f5f9;
  border-bottom-color: rgba(100, 116, 139, 0.18);
  color: #334155;
}

[data-theme="light"] .code-editor-box {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .line-num {
  color: #94a3b8;
}

[data-theme="light"] .line-code {
  color: #0f172a;
}

[data-theme="light"] .scanner-action-bar {
  background: #f8fafc;
  border-top-color: rgba(100, 116, 139, 0.18);
}

[data-theme="light"] .diag-item {
  color: #475569;
}

/* ==========================================================================
   HOW FORCE GUARD WORKS (FEATURES & ARCHITECTURE)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-quantum);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--cyan-subtle);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--cyan-quantum);
}

.feature-step-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
}

.feature-card h3 {
  font-size: 1.35rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.feature-list li i {
  color: var(--cyan-quantum);
  font-size: 0.8rem;
}

/* ==========================================================================
   CRYPTOGRAPHIC BILL OF MATERIALS (CBOM) EXPLORER
   ========================================================================== */
.cbom-explorer-card {
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.cbom-nav-tabs {
  display: flex;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--metal-border);
  overflow-x: auto;
}

.cbom-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cbom-tab-btn:hover {
  color: var(--text-primary);
  background: var(--cyan-subtle);
}

.cbom-tab-btn.active {
  color: var(--cyan-quantum);
  border-bottom-color: var(--cyan-quantum);
  background: var(--cyan-subtle);
}

.cbom-content-area {
  padding: 24px;
  overflow-x: auto;
}

.cbom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.cbom-table th {
  padding: 12px 16px;
  background: var(--table-head-bg);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--metal-border);
}

.cbom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--metal-border);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.cbom-table tr:hover td {
  background: var(--cyan-subtle);
}

.cbom-table th:nth-child(4),
.cbom-table td:nth-child(4) {
  white-space: nowrap;
  min-width: 120px;
}

.cbom-table th:last-child,
.cbom-table td:last-child {
  white-space: nowrap;
  min-width: 140px;
}

/* ==========================================================================
   NIST PQC STANDARDS SUPPORT GRID
   ========================================================================== */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.standard-card {
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.standard-card:hover {
  border-color: var(--metal-border-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.standard-fips-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan-quantum);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.standard-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.standard-category {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.standard-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.standard-pill-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--metal-border);
}

.standard-pill {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(2, 132, 199, 0.08);
  color: #0369a1;
  border: 1px solid rgba(2, 132, 199, 0.25);
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
}

.standard-pill:hover {
  background: rgba(2, 132, 199, 0.16);
  border-color: var(--cyan-quantum);
  color: #0c4a6e;
}

[data-theme="dark"] .standard-pill {
  background: rgba(0, 240, 255, 0.08);
  color: #a5f3fc;
  border: 1px solid rgba(0, 240, 255, 0.22);
}

[data-theme="dark"] .standard-pill:hover {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--cyan-quantum);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

/* ==========================================================================
   INTERACTIVE QUANTUM RISK CALCULATOR
   ========================================================================== */
.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--metal-border-bright);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.form-label span.val-hint {
  color: var(--cyan-quantum);
  font-family: var(--font-mono);
}

.calc-select,
.calc-range {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--metal-border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
}

.calc-select:focus {
  border-color: var(--cyan-quantum);
}

.calc-range {
  cursor: pointer;
  accent-color: var(--cyan-quantum);
  padding: 0;
  height: 8px;
}

.calc-result-panel {
  background: var(--hud-bg);
  border: 1px solid var(--metal-border-bright);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.calc-score-gauge {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 6px solid var(--force-red);
  box-shadow: 0 0 25px var(--force-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.calc-score-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.calc-score-sub {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--force-red);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.calc-verdict-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.calc-verdict-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ==========================================================================
   PRODUCT SHOWCASE & BRAND ASSETS STRIP
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--metal-border);
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--metal-border-bright);
}

.showcase-img-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--banner-bg);
}

.showcase-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-card:hover .showcase-img-container img {
  transform: scale(1.04);
}

.showcase-content {
  padding: 26px;
}

.showcase-content h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.showcase-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   MODAL (ENTERPRISE ACCESS / CONTACT)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 5, 8, 0.75);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--metal-border-bright);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.15);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-input,
.modal-textarea {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--metal-border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.modal-input:focus,
.modal-textarea:focus {
  border-color: var(--cyan-quantum);
}

.modal-textarea {
  min-height: 90px;
  resize: vertical;
}

.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}

.form-feedback.success {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--emerald-safe);
  color: #00e676;
  display: block;
}

.form-feedback.error {
  background: rgba(255, 51, 85, 0.15);
  border: 1px solid var(--force-red);
  color: var(--force-red);
  display: block;
}

/* Legal Modals (Privacy Policy & Terms of Service) */
.modal-dialog.modal-dialog-lg {
  max-width: 740px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 32px 36px 28px;
}

.modal-dialog.modal-dialog-lg .modal-header {
  margin-bottom: 16px;
  flex-shrink: 0;
}

.modal-legal-body {
  overflow-y: auto;
  padding-right: 14px;
  margin: 12px 0 18px 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1 1 auto;
}

.modal-legal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-legal-body::-webkit-scrollbar-track {
  background: var(--bg-surface-elevated);
  border-radius: 3px;
}

.modal-legal-body::-webkit-scrollbar-thumb {
  background: var(--metal-border-bright);
  border-radius: 3px;
}

.modal-legal-body::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-quantum);
}

.modal-legal-section {
  margin-bottom: 22px;
}

.modal-legal-section:last-child {
  margin-bottom: 8px;
}

.modal-legal-section h4 {
  font-size: 1.02rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.modal-legal-section h4 .section-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-quantum);
  background: var(--cyan-subtle);
  border: 1px solid var(--metal-border);
  padding: 2px 7px;
  border-radius: 4px;
}

.modal-legal-section p {
  margin-bottom: 8px;
}

.modal-legal-section ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0;
}

.modal-legal-section li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.modal-legal-section li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--cyan-quantum);
  font-weight: bold;
}

.modal-legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--metal-border);
  flex-shrink: 0;
  gap: 12px;
}

.modal-legal-tag {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ==========================================================================
   COOKIE CHOICE & COMPLIANCE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 48px);
  max-width: 980px;
  z-index: 999;
  transition: transform var(--transition-slow), opacity var(--transition-normal);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-inner {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--metal-border-bright);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 30px rgba(2, 132, 199, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

[data-theme="dark"] .cookie-banner-inner {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.15);
}

.cookie-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 auto;
}

.cookie-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--cyan-subtle);
  border: 1px solid var(--metal-border);
  color: var(--cyan-quantum);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-banner-text {
  flex: 1 1 auto;
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.cookie-banner-title strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.cookie-banner-text p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--cyan-quantum);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-banner-text a:hover {
  color: var(--text-primary);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.cookie-close-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
}

@media (max-width: 860px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 580px) {
  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-banner-inner {
    padding: 16px;
  }

  .cookie-banner-content {
    gap: 12px;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }

  .cookie-close-btn {
    align-self: flex-end;
    margin-top: -8px;
  }
}

/* Cookie Customization Modal & Toggle Switches */
.status-pill-sm {
  padding: 3px 9px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  gap: 6px;
}

.cookie-category-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
  transition: border-color var(--transition-fast);
}

.cookie-category-card:hover {
  border-color: var(--metal-border-bright);
}

[data-theme="light"] .cookie-category-card {
  background: #f8fafc;
  border-color: rgba(100, 116, 139, 0.22);
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 12px;
}

.cookie-category-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-category-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Cyber Toggle Switch */
.cyber-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cyber-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cyber-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--metal-border-bright);
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
  border: 1px solid var(--metal-border);
}

[data-theme="light"] .cyber-toggle-slider {
  background-color: #cbd5e1;
}

.cyber-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.cyber-toggle input:checked+.cyber-toggle-slider {
  background-color: var(--cyan-quantum);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.cyber-toggle input:checked+.cyber-toggle-slider:before {
  transform: translateX(22px);
}

.cyber-toggle input:disabled+.cyber-toggle-slider {
  opacity: 0.85;
  cursor: not-allowed;
  background-color: var(--emerald-safe);
  box-shadow: 0 0 8px var(--emerald-glow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--metal-border);
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--cyan-quantum);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--metal-border);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Footer Light Theme Enhancements */
[data-theme="light"] .site-footer {
  background: #ffffff;
  border-top: 1px solid rgba(100, 116, 139, 0.18);
}

[data-theme="light"] .footer-brand-desc {
  color: #475569;
}

[data-theme="light"] .footer-col h4 {
  color: #0f172a;
}

[data-theme="light"] .footer-link {
  color: #64748b;
}

[data-theme="light"] .footer-link:hover {
  color: var(--cyan-quantum);
}

[data-theme="light"] .footer-bottom {
  color: #64748b;
  border-top: 1px solid rgba(100, 116, 139, 0.15);
}

/* ==========================================================================
   TOAST NOTIFICATION
   Inverted Theme Design:
   - Light Themed UI -> Dark Tactical Toast
   - Dark Themed UI  -> Crisp Light Elevated Toast
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 48px);
}

.toast {
  background: var(--toast-bg, rgba(11, 17, 28, 0.96));
  border: 1px solid var(--toast-border, rgba(56, 189, 248, 0.55));
  box-shadow: var(--toast-shadow, 0 14px 35px rgba(15, 23, 42, 0.35), 0 0 18px rgba(2, 132, 199, 0.2));
  color: var(--toast-color, #f8fafc);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  transform: translateX(120%);
  transition: transform var(--transition-normal), background var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  width: max-content !important;
  max-width: calc(100vw - 48px) !important;
  flex-shrink: 0;
}

.toast span,
.toast .toast-text,
.toast span:last-child {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  display: inline-block;
}

.toast span:first-child {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  filter: var(--toast-icon-glow, drop-shadow(0 0 6px rgba(56, 189, 248, 0.7)));
}

.toast.show {
  transform: translateX(0);
}

/* Explicit theme overrides for maximum specificity & compatibility */
[data-theme="light"] .toast {
  background: rgba(11, 17, 28, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.4), 0 0 18px rgba(2, 132, 199, 0.25);
  color: #f8fafc;
  font-weight: 500;
}

[data-theme="light"] .toast span:first-child {
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
}

[data-theme="dark"] .toast {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 240, 255, 0.75);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 240, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #090e17;
  font-weight: 600;
}

[data-theme="dark"] .toast span:first-child {
  filter: drop-shadow(0 0 4px rgba(0, 160, 220, 0.5));
}

@media (max-width: 640px) {
  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    align-items: flex-end;
    max-width: calc(100vw - 32px);
  }

  .toast {
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 10px 14px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .toast span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================================================================
   IRON LEDGER - QUANTUM-SAFE ETHEREUM BLOCKCHAIN SECTION
   ========================================================================== */
.ledger-section {
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg-black) 0%, var(--bg-surface) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.gradient-gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-gold-text-r {
  background: var(--gold-gradient-r);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.ledger-hero-banner {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--banner-shadow);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  transition: all var(--transition-normal);
}

.ledger-hero-banner:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

.ledger-media-side {
  position: relative;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(212, 175, 55, 0.18);
  overflow: hidden;
}

.ledger-img-container {
  position: relative;
  width: 100%;
  height: 375px;
  overflow: hidden;
  background: var(--banner-bg);
}

.ledger-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.ledger-hero-banner:hover .ledger-img-container img {
  transform: scale(1.04);
}

.ledger-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold-ledger);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ledger-media-desc {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: var(--bg-card);
  flex-grow: 1;
}

.ledger-media-desc p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.ledger-media-desc strong {
  color: var(--text-primary);
}

.ledger-desc-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ledger-hud-panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--hud-bg);
}

.ledger-hud-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.ledger-hud-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-ledger);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 6px;
}

.ledger-hud-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.ledger-spec-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.ledger-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.ledger-spec-name {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ledger-spec-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

.tag-quantum-safe {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: rgba(0, 230, 118, 0.15);
  color: var(--emerald-safe);
  border: 1px solid rgba(0, 230, 118, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  line-height: 1;
}

.tag-quantum-gold {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-ledger);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  line-height: 1;
}

.tag-quantum-danger {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: rgba(255, 51, 85, 0.15);
  color: var(--force-red);
  border: 1px solid rgba(255, 51, 85, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  line-height: 1;
}

/* 4 Architecture Pillars Grid */
.ledger-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.ledger-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}

.ledger-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--card-shadow);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.ledger-pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.ledger-pillar-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  flex-grow: 1;
}

.pillar-spec-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-ledger);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Workshop Container */
.ledger-workshop-box {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.ledger-workshop-tabs {
  display: flex;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  overflow-x: auto;
}

.ledger-workshop-tab {
  padding: 16px 24px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.ledger-workshop-tab:hover {
  color: var(--text-primary);
  background: rgba(212, 175, 55, 0.08);
}

.ledger-workshop-tab.active {
  color: var(--gold-ledger);
  border-bottom-color: var(--gold-ledger);
  background: rgba(212, 175, 55, 0.12);
}

.ledger-workshop-body {
  padding: 32px;
}

.ledger-tab-panel {
  display: none;
}

.ledger-tab-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

/* Shor Attack Simulator */
.attack-sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.sim-target-card {
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.sim-target-card.vulnerable {
  border-color: rgba(255, 51, 85, 0.35);
}

.sim-target-card.immune {
  border-color: rgba(212, 175, 55, 0.4);
}

.sim-target-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--metal-border);
  padding-bottom: 12px;
}

.sim-target-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sim-progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid var(--metal-border);
}

.sim-progress-bar {
  height: 100%;
  width: 0%;
  transition: width 0.15s ease-out;
}

.sim-progress-bar.red {
  background: linear-gradient(90deg, #ff3355, #ff6b81);
  box-shadow: 0 0 10px rgba(255, 51, 85, 0.6);
}

.sim-progress-bar.gold {
  background: linear-gradient(90deg, #d4af37, #00e676);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.6);
}

.sim-console-output {
  background: var(--code-bg);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--code-text);
  min-height: 140px;
  line-height: 1.5;
  overflow-y: auto;
}

.sim-status-banner {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-status-banner.danger {
  background: rgba(255, 51, 85, 0.12);
  color: var(--force-red);
  border: 1px solid rgba(255, 51, 85, 0.3);
}

.sim-status-banner.secure {
  background: rgba(0, 230, 118, 0.12);
  color: var(--emerald-safe);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

/* Block Stream Explorer */
.block-stream-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.block-stream-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block-item {
  display: grid;
  grid-template-columns: 140px 1.5fr 1fr 120px 140px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.block-item:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: var(--bg-card-hover);
}

.block-item.new-block {
  animation: flashBlock 1s ease;
}

@keyframes flashBlock {
  0% {
    border-color: var(--gold-ledger);
    background: rgba(212, 175, 55, 0.2);
  }

  100% {
    border-color: var(--metal-border);
    background: var(--bg-surface);
  }
}

.block-id {
  color: var(--gold-ledger);
  font-weight: 700;
}

.block-val {
  color: var(--text-primary);
}

.block-algo {
  color: var(--cyan-quantum);
}

.block-time {
  color: var(--text-secondary);
}

/* Comparison Table */
.ledger-table-wrap {
  overflow-x: auto;
  margin-top: 36px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.ledger-table th {
  background: var(--table-head-bg);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text-primary);
}

.ledger-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--metal-border);
  color: var(--text-secondary);
  line-height: 1.5;
}

.ledger-table tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}

.ledger-table td:nth-child(3) {
  color: var(--force-red);
}

.ledger-table td:nth-child(4) {
  color: var(--text-primary);
  font-weight: 600;
}

.ledger-table th:last-child,
.ledger-table td:last-child {
  white-space: nowrap;
  min-width: 175px;
}

/* Developer Snippet Box */
.code-box-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.code-box-tab {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--metal-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.code-box-tab:hover {
  color: var(--text-primary);
}

.code-box-tab.active {
  color: var(--gold-ledger);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.12);
}

.code-snippet-pre {
  background: var(--code-bg);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--code-text);
  overflow-x: auto;
  box-shadow: var(--card-shadow);
}

[data-theme="light"] .code-snippet-pre {
  background: #ffffff;
  border-color: rgba(212, 175, 55, 0.35);
  color: #0f172a;
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE / TABLET / DESKTOP)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .threat-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .calc-box {
    grid-template-columns: 1fr;
  }

  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ledger-hero-banner {
    grid-template-columns: 1fr;
  }

  .attack-sim-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 68px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 20px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--metal-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--card-shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    min-width: 100%;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--metal-border);
    margin-top: 6px;
    padding: 8px;
  }

  .nav-status-pill {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .threat-grid,
  .features-grid,
  .standards-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .scanner-work-area {
    grid-template-columns: 1fr;
  }

  .scanner-pane {
    border-right: none;
    border-bottom: 1px solid var(--metal-border);
  }

  .timeline-track {
    grid-template-columns: 1fr;
  }

  .hero-metrics-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ledger-pillars-grid {
    grid-template-columns: 1fr;
  }

  .block-item {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   POST-QUANTUM CRYPTOGRAPHY KNOWLEDGE BASE & FAQ
   ========================================================================== */
.faq-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 36px auto;
}

.faq-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.faq-search-icon {
  position: absolute;
  left: 16px;
  font-size: 1.05rem;
  pointer-events: none;
  opacity: 0.7;
}

.faq-search-input {
  width: 100%;
  padding: 14px 44px 14px 46px;
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--cyan-quantum);
  box-shadow: 0 0 0 3px var(--cyan-glow), var(--card-shadow);
}

.faq-search-clear {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.faq-search-clear:hover {
  color: var(--text-primary);
}

.faq-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.faq-filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--metal-border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.faq-filter-btn:hover {
  border-color: var(--cyan-quantum);
  color: var(--text-primary);
}

.faq-filter-btn.active {
  background: var(--cyan-subtle);
  border-color: var(--cyan-quantum);
  color: var(--cyan-quantum);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.faq-card:hover {
  border-color: var(--metal-border-bright);
}

.faq-card.open {
  border-color: var(--cyan-quantum);
  box-shadow: 0 6px 20px var(--cyan-glow), var(--card-shadow);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
  font-family: inherit;
  transition: background 0.2s ease;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--cyan-quantum);
  outline-offset: -2px;
}

.faq-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.faq-topic-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  padding: 2px 9px;
}

.faq-question {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.faq-chevron-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--metal-border);
  color: var(--text-secondary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
}

.faq-card.open .faq-chevron-icon {
  transform: rotate(180deg);
  background: var(--cyan-subtle);
  color: var(--cyan-quantum);
}

.faq-answer-panel {
  border-top: 1px solid var(--metal-border);
  background: var(--hud-bg);
}

.faq-answer-body {
  padding: 22px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-answer-body p {
  margin-bottom: 14px;
}

.faq-answer-body p:last-child {
  margin-bottom: 0;
}

.faq-answer-body strong {
  color: var(--text-primary);
}

.faq-answer-body a {
  color: var(--cyan-quantum);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.faq-answer-body a:hover {
  opacity: 0.8;
}

.faq-list {
  margin: 12px 0 16px 20px;
  list-style-type: disc;
  color: var(--text-secondary);
}

.faq-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.faq-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--cyan-subtle);
  border: 1px solid var(--cyan-glow);
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 16px;
}

.faq-callout-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-equation-box {
  background: var(--bg-card);
  border: 1px dashed var(--metal-border-bright);
  border-radius: 8px;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--cyan-quantum);
  margin: 12px 0 16px 0;
  text-align: center;
}

.faq-no-results {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--metal-border);
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.faq-no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.faq-no-results h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-no-results p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.faq-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 30px;
  background: var(--hud-bg);
  border: 1px solid var(--metal-border);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.faq-footer-text h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.faq-footer-text p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-controls {
    margin-bottom: 24px;
  }

  .faq-trigger {
    padding: 14px 16px;
  }

  .faq-header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer-body {
    padding: 16px;
  }

  .faq-footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
}

/* ==========================================================================
   MYTHOS THREE-TIER REMEDIATION TAXONOMY STYLES
   ========================================================================== */
.mythos-section {
  position: relative;
  background: radial-gradient(ellipse 80% 360px at 50% 0%, rgba(0, 240, 255, 0.05) 0%, rgba(42, 117, 255, 0.02) 50%, transparent 80%),
    linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-surface) 100%);
  border-top: 1px solid var(--metal-border);
  border-bottom: 1px solid var(--metal-border);
  overflow: hidden;
}

.mythos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--metal-border-bright) 20%, var(--cyan-quantum) 50%, var(--metal-border-bright) 80%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}

[data-theme="light"] .mythos-section {
  background: radial-gradient(ellipse 80% 360px at 50% 0%, rgba(2, 132, 199, 0.06) 0%, rgba(37, 99, 235, 0.03) 50%, transparent 80%),
    linear-gradient(180deg, #edf2f7 0%, #f8fafc 100%);
  border-top: 1px solid var(--metal-border);
  border-bottom: 1px solid var(--metal-border);
}

[data-theme="light"] .mythos-section::before {
  background: linear-gradient(90deg, transparent 0%, rgba(2, 132, 199, 0.3) 20%, var(--cyan-quantum) 50%, rgba(2, 132, 199, 0.3) 80%, transparent 100%);
  opacity: 0.9;
}

.mythos-taxonomy-header {
  margin-top: 16px;
  margin-bottom: 28px;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.subsection-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Mythos Taxonomy Search & Indexing Controls */
.mythos-search-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.mythos-search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.mythos-search-icon {
  position: absolute;
  left: 16px;
  font-size: 1rem;
  pointer-events: none;
  opacity: 0.7;
}

.mythos-search-input {
  width: 100%;
  padding: 13px 44px 13px 46px;
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  box-shadow: var(--card-shadow);
  transition: all 0.2s ease;
}

.mythos-search-input:focus {
  outline: none;
  border-color: var(--cyan-quantum);
  box-shadow: 0 0 15px var(--cyan-glow), var(--card-shadow);
}

.mythos-search-clear {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  line-height: 1;
}

.mythos-search-clear:hover {
  color: var(--text-primary);
}

.mythos-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mythos-filter-tab {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--metal-border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mythos-filter-tab:hover {
  border-color: var(--cyan-quantum);
  color: var(--text-primary);
}

.mythos-filter-tab.active {
  background: var(--cyan-subtle);
  border-color: var(--cyan-quantum);
  color: var(--cyan-quantum);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.mythos-no-results {
  background: var(--bg-card);
  border: 1px dashed var(--metal-border-bright);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.mythos-no-results h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-top: 10px;
  margin-bottom: 6px;
}

.mythos-no-results p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* 3-Tier Taxonomy Card Grid - Even 3-Column Stretch */
.mythos-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .mythos-taxonomy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.mythos-tax-card {
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-lg);
  padding: 26px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.mythos-tax-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.mythos-tax-card[data-archetype="no-code"]::before {
  background: linear-gradient(90deg, var(--cyan-quantum), #38bdf8);
}

.mythos-tax-card[data-archetype="infra-config"]::before {
  background: linear-gradient(90deg, var(--amber-warn), #f59e0b);
}

.mythos-tax-card[data-archetype="code-remediation"]::before {
  background: linear-gradient(90deg, var(--purple-cbom), #a855f7);
}

.mythos-tax-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 0 20px rgba(2, 132, 199, 0.08);
  border-color: var(--metal-border-bright);
}

.mythos-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.mythos-tax-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-cyan {
  background: rgba(2, 132, 199, 0.12);
  color: var(--cyan-quantum);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.pill-amber {
  background: rgba(217, 119, 6, 0.12);
  color: var(--amber-warn);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.pill-purple {
  background: rgba(124, 58, 237, 0.12);
  color: var(--purple-cbom);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.mythos-tax-type {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mythos-tax-title {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
  min-height: 3.2rem;
}

.mythos-tax-scope {
  font-size: 0.90rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  min-height: 4.4rem;
}

.mythos-tax-divider {
  height: 1px;
  background: var(--metal-border);
  margin-bottom: 18px;
}

.mythos-tax-examples {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.example-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.mythos-example-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mythos-example-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
  position: relative;
  padding-left: 18px;
  word-wrap: normal;
}

.mythos-example-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.mythos-example-list li a {
  color: var(--cyan-quantum);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.mythos-example-list li a:hover {
  opacity: 0.8;
}

.code-pill-wrap {
  display: inline-block;
  white-space: nowrap;
}

.mythos-example-list code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--code-tab-bg);
  border: 1px solid var(--metal-border);
  color: var(--text-primary);
  white-space: nowrap;
}

.ex-bullet {
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--cyan-quantum);
  font-size: 0.72rem;
  line-height: 1.5;
}

.mythos-tax-card[data-archetype="infra-config"] .ex-bullet {
  color: var(--amber-warn);
}

.mythos-tax-card[data-archetype="code-remediation"] .ex-bullet {
  color: var(--purple-cbom);
}

.mythos-tax-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--metal-border);
  display: flex;
  align-items: center;
  width: 100%;
}

.mythos-downtime-tag {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 0.76vw, 0.73rem);
  font-weight: 600;
  padding: 6px 6px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-zero {
  background: rgba(5, 150, 105, 0.1);
  color: var(--emerald-safe);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.tag-canary {
  background: rgba(2, 132, 199, 0.1);
  color: var(--cyan-quantum);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   WIZ CLOUD SECURITY & MULTI-SCANNER ARCHITECTURE STYLES
   ========================================================================== */
.wiz-integration-showcase {
  margin-top: 56px;
  padding: 40px 36px;
  background: radial-gradient(ellipse 70% 280px at 50% 0%, rgba(5, 150, 105, 0.08) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 80%),
    rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(5, 150, 105, 0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(5, 150, 105, 0.1);
  position: relative;
  overflow: hidden;
}

.wiz-integration-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(5, 150, 105, 0.4) 25%, var(--emerald-safe) 50%, rgba(2, 132, 199, 0.4) 75%, transparent 100%);
  opacity: 0.9;
}

[data-theme="light"] .wiz-integration-showcase {
  background: radial-gradient(ellipse 70% 280px at 50% 0%, rgba(5, 150, 105, 0.07) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 80%),
    rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(5, 150, 105, 0.28);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07), 0 0 20px rgba(5, 150, 105, 0.08);
}

.wiz-showcase-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.wiz-showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-top: 14px;
  margin-bottom: 12px;
}

.wiz-showcase-desc {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.wiz-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1080px) {
  .wiz-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .wiz-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wiz-integration-showcase {
    padding: 28px 18px;
    margin-top: 40px;
  }
}

.wiz-feature-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--metal-border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.wiz-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(5, 150, 105, 0.15);
}

[data-theme="light"] .wiz-feature-card:hover {
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1), 0 0 16px rgba(5, 150, 105, 0.12);
}

.wiz-card-icon {
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 14px;
}

.wiz-feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.wiz-feature-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex-grow: 1;
}

.wiz-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--metal-border);
}

.wiz-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(5, 150, 105, 0.12);
  color: var(--emerald-safe);
  border: 1px solid rgba(5, 150, 105, 0.25);
  letter-spacing: 0.01em;
}

[data-theme="light"] .wiz-tag {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
  border-color: rgba(5, 150, 105, 0.22);
}