/* ============================================================
   CROW INNOVATIONS - CYBER RESEARCH IN OFFENSIVE WARFARE
   Core Design System & Theme Stylesheet
   ============================================================ */

:root {
  /* Color Palette - Darkness Reduced by 25% */
  --bg-base: #121726;
  --bg-surface: #1a2238;
  --bg-surface-elevated: #212c48;
  --bg-card: rgba(26, 36, 62, 0.76);
  --bg-card-hover: rgba(34, 48, 80, 0.88);

  --brand-blue: #0066ff;
  --brand-blue-light: #38bdf8;
  --brand-blue-glow: rgba(0, 102, 255, 0.28);

  --brand-red: #ff2a3d;
  --brand-red-light: #f87171;
  --brand-red-glow: rgba(255, 42, 61, 0.28);

  --cyan-accent: #00f2fe;
  --green-accent: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active-blue: rgba(0, 102, 255, 0.45);
  --border-active-red: rgba(255, 42, 61, 0.45);
  --header-actual-height: 105px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Orbitron', 'Inter', sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --glow-blue: 0 0 25px var(--brand-blue-glow);
  --glow-red: 0 0 25px var(--brand-red-glow);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
}

/* Base Reset & Core */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  overflow-anchor: none;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  background-image:
    /* Chaotic sweeping diagonal red streak from top-right */
    linear-gradient(136deg, rgba(255, 42, 61, 0.14) 0%, rgba(255, 42, 61, 0.03) 30%, transparent 60%),
    /* Chaotic sweeping diagonal cyber blue streak from bottom-left */
    linear-gradient(316deg, rgba(0, 102, 255, 0.16) 0%, rgba(0, 102, 255, 0.04) 34%, transparent 64%),
    /* Dynamic twisting conic aurora 1: curving crimson & cyan rays from upper right */
    conic-gradient(from 210deg at 84% 16%, rgba(255, 42, 61, 0.12) 0deg, transparent 42deg, rgba(0, 102, 255, 0.10) 105deg, transparent 175deg, rgba(255, 42, 61, 0.08) 255deg, transparent 360deg),
    /* Dynamic twisting conic aurora 2: curving cyber blue & red energy from lower left */
    conic-gradient(from 38deg at 16% 80%, rgba(0, 102, 255, 0.14) 0deg, transparent 48deg, rgba(255, 42, 61, 0.09) 135deg, transparent 205deg, rgba(0, 102, 255, 0.07) 285deg, transparent 360deg),
    /* Irregular sweeping dark depth bands */
    linear-gradient(68deg, rgba(14, 20, 36, 0.55) 0%, transparent 45%, rgba(14, 20, 36, 0.55) 90%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-anchor: none;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

section[id] {
  scroll-margin-top: 108px;
}

/* Ambient Cyber Grid & Chaotic Energy Backdrop (Firmly Behind Everything) */
.circuit-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

/* Chaotic Curving Cyber Waves & Plasma Ribbons */
.chaos-curves-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
  filter: blur(36px);
}

.radial-glow {
  position: absolute;
  pointer-events: none;
  filter: blur(85px);
  opacity: 0.70;
  mix-blend-mode: screen;
}

.blue-glow {
  top: -120px;
  left: -180px;
  width: 1200px;
  height: 560px;
  border-radius: 38% 62% 66% 34% / 44% 46% 54% 56%;
  transform: rotate(-24deg) skew(-20deg, 12deg);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.28) 0%, rgba(0, 242, 254, 0.16) 38%, transparent 70%);
}

.red-glow {
  top: 6%;
  right: -220px;
  width: 1150px;
  height: 520px;
  border-radius: 58% 42% 36% 64% / 56% 34% 66% 44%;
  transform: rotate(28deg) skew(18deg, -14deg);
  background: linear-gradient(225deg, rgba(255, 42, 61, 0.26) 0%, rgba(248, 113, 113, 0.14) 38%, transparent 75%);
}

.circuit-bg::before {
  content: '';
  position: absolute;
  top: 48%;
  left: -240px;
  width: 1250px;
  height: 520px;
  border-radius: 44% 56% 65% 35% / 57% 38% 62% 43%;
  transform: rotate(22deg) skew(-24deg, 10deg);
  background: linear-gradient(115deg, rgba(255, 42, 61, 0.22) 0%, rgba(255, 42, 61, 0.05) 45%, transparent 75%);
  filter: blur(90px);
  pointer-events: none;
}

.circuit-bg::after {
  content: '';
  position: absolute;
  top: 58%;
  right: -240px;
  width: 1200px;
  height: 560px;
  border-radius: 61% 39% 47% 53% / 39% 59% 41% 61%;
  transform: rotate(-24deg) skew(22deg, -12deg);
  background: linear-gradient(295deg, rgba(0, 102, 255, 0.22) 0%, rgba(0, 242, 254, 0.08) 45%, transparent 75%);
  filter: blur(90px);
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.8) 50%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.8) 50%, transparent 95%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Styling */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--brand-blue-light);
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.badge-hash {
  color: var(--brand-red);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 660px;
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(18, 23, 38, 0.88);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(18, 23, 38, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 2px 0;
}

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

.brand-logo {
  height: 100px;
  max-height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 102, 255, 0.55)) drop-shadow(0 0 24px rgba(255, 42, 61, 0.3));
  transition: transform var(--transition-normal);
}

.brand-link:hover .brand-logo {
  transform: scale(1.04);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-tag {
  color: var(--brand-blue-light);
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(226, 232, 240, 0.85);
  text-transform: uppercase;
}

/* Nav Links */
.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-drawer {
  display: none;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
}

.mobile-cta-item {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px var(--brand-blue-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0066ff 0%, #1a75ff 100%);
  box-shadow: 0 6px 24px rgba(0, 102, 255, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.12);
}

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

.btn-red {
  background: linear-gradient(135deg, #c81e32 0%, var(--brand-red) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px var(--brand-red-glow), 0 0 22px rgba(255, 42, 61, 0.45);
}

.btn-red:hover {
  background: linear-gradient(135deg, var(--brand-red) 0%, #ff4757 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 26px rgba(255, 42, 61, 0.65), 0 0 32px rgba(255, 42, 61, 0.55);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-md {
  padding: 12px 24px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* HERO SECTION */
.hero-section {
  min-height: calc(100vh - var(--header-actual-height, 105px));
  min-height: calc(100dvh - var(--header-actual-height, 105px));
  height: auto;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  background: #000000;
  border-bottom: 1px solid var(--border-subtle);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

#home {
  scroll-margin-top: 0;
}

/* Ambient Threat Map Live Background (Full Background Width & Height, unsquished) */
.hero-threat-map-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 1;
  background: #000000;
  pointer-events: none;
  overflow: hidden;
}

.hero-threat-map-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
  display: block;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  flex: 1;
  height: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  width: 100%;
  min-height: max(calc(100vh - var(--header-actual-height, 105px)), 680px);
  min-height: max(calc(100dvh - var(--header-actual-height, 105px)), 680px);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* Hero Header Stack - Logo container at top of hero */
.hero-header-stack {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin: clamp(2px, 0.6vh, 8px) auto 0 auto;
  box-sizing: border-box;
}

.hero-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.hero-logo-img {
  width: auto;
  height: clamp(230px, 44vh, 480px);
  max-width: min(840px, 92vw);
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(0, 242, 254, 0.50)) drop-shadow(0 0 40px rgba(250, 222, 42, 0.35));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.70)) drop-shadow(0 0 48px rgba(250, 222, 42, 0.50));
}

/* 1. Title Badge - Prominent Title font size, evenly spaced in upper hero */
.badge-tag {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(18, 24, 40, 0.92);
  border: 1.5px solid rgba(56, 189, 248, 0.50);
  padding: 9px 24px;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 102, 255, 0.35);
  white-space: nowrap;
  max-width: calc(100% - 24px);
  box-sizing: border-box;
  margin-bottom: 0;
  z-index: 5;
}

.badge-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.7vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
  line-height: 1.2;
}

.dot-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-indicator.red-dot {
  background-color: var(--brand-red);
  box-shadow: 0 0 12px var(--brand-red), 0 0 22px rgba(255, 42, 61, 0.85);
}

.dot-indicator.blue-dot {
  background-color: var(--brand-blue-light);
  box-shadow: 0 0 12px var(--brand-blue-light), 0 0 22px rgba(0, 242, 254, 0.85);
}

/* 2. Headline positioned evenly between Title Badge and Intro Paragraph */
.hero-headline {
  position: absolute;
  top: 41%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1100px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.95);
  z-index: 5;
}

.gradient-text {
  color: #38bdf8;
  background: linear-gradient(135deg, #ffffff 0%, #67e8f9 35%, #38bdf8 70%, #00f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  display: inline-block;
  font-weight: 900;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 14px rgba(0, 242, 254, 0.65));
}

/* 3. Paragraph positioned evenly between Slogan and CTA buttons */
.hero-intro {
  position: absolute;
  top: 63%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 980px;
  text-align: center;
  font-size: clamp(0.98rem, 1.1vw, 1.14rem);
  font-weight: 400;
  line-height: 1.55;
  color: #f8fafc;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.98), 0 0 24px rgba(0, 0, 0, 0.95);
  margin: 0;
  z-index: 5;
}

/* 4. Bottom block anchored to the bottom with CTA buttons just above Core Specializations */
.hero-bottom-block {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

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

/* Capabilities Bar - Anchored at the bottom of the main intro page */
.capabilities-bar {
  width: 100%;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.capabilities-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 8px;
}

.capabilities-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 920px;
}

.cap-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.cap-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cap-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.cap-bullet.red {
  background: var(--brand-red);
}

.cap-bullet.blue {
  background: var(--brand-blue);
}

@media (max-width: 768px) {
  .hero-section {
    height: auto !important;
    min-height: 100vh;
    padding-top: 10px;
    padding-bottom: 40px;
    overflow-y: visible;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: auto;
  }

  .hero-header-stack {
    margin-top: 6px;
  }

  .hero-logo-img {
    height: clamp(140px, 34vw, 210px);
  }

  .badge-tag {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    margin: 22px auto 0 auto !important;
    white-space: normal;
    text-align: center;
    max-width: 95%;
    padding: 10px 20px;
  }

  .badge-text {
    font-size: clamp(1.2rem, 4.2vw, 1.56rem);
  }

  .hero-headline {
    position: static !important;
    transform: none !important;
    margin: 20px auto 0 auto !important;
    top: auto !important;
    left: auto !important;
  }

  .hero-intro {
    position: static !important;
    transform: none !important;
    margin: 20px auto 24px auto !important;
    top: auto !important;
    left: auto !important;
  }

  .hero-bottom-block {
    position: static !important;
    transform: none !important;
    bottom: auto !important;
    left: auto !important;
    margin-top: 10px;
  }
}



/* Operational Reticle Card (Positioned in About Section) */
.reticle-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--card-shadow), var(--glow-blue);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.reticle-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.tdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tdot.red {
  background: #ef4444;
}

.tdot.blue {
  background: #3b82f6;
}

.tdot.green {
  background: #10b981;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.reticle-graphic {
  position: relative;
  min-height: 280px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
}

.radar-crosshair-h {
  position: absolute;
  width: 82%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.3) 20%, rgba(0, 242, 254, 0.5) 50%, rgba(0, 102, 255, 0.3) 80%, transparent);
  pointer-events: none;
}

.radar-crosshair-v {
  position: absolute;
  height: 82%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 102, 255, 0.3) 20%, rgba(0, 242, 254, 0.5) 50%, rgba(0, 102, 255, 0.3) 80%, transparent);
  pointer-events: none;
}

.reticle-center-pip {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan-accent);
  box-shadow: 0 0 12px var(--cyan-accent), 0 0 24px rgba(0, 102, 255, 0.7);
  animation: pulseGlow 2s infinite;
}

.reticle-hud-coord {
  position: absolute;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-blue-light);
  letter-spacing: 0.12em;
}

.reticle-hud-lock {
  position: absolute;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-red-light);
  letter-spacing: 0.12em;
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
}

.radar-blip.blip-1 {
  top: 36%;
  left: 68%;
  background: var(--brand-red);
  box-shadow: 0 0 8px var(--brand-red), 0 0 16px rgba(255, 42, 61, 0.6);
  animation: pulseGlow 1.8s infinite ease-in-out;
}

.radar-blip.blip-2 {
  top: 65%;
  left: 32%;
  background: var(--cyan-accent);
  box-shadow: 0 0 8px var(--cyan-accent), 0 0 16px rgba(0, 242, 254, 0.6);
  animation: pulseGlow 2.4s infinite ease-in-out 0.6s;
}

.radar-blip.blip-3 {
  top: 26%;
  left: 40%;
  background: var(--brand-blue-light);
  box-shadow: 0 0 8px var(--brand-blue-light), 0 0 16px rgba(0, 102, 255, 0.6);
  animation: pulseGlow 3s infinite ease-in-out 1.2s;
}

.reticle-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-outer {
  width: 250px;
  height: 250px;
  border: 1px dashed rgba(0, 102, 255, 0.35);
  animation: rotateClockwise 30s linear infinite;
}

.ring-mid {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.ring-inner {
  width: 110px;
  height: 110px;
  border: 1px dotted rgba(255, 42, 61, 0.4);
  animation: rotateCounterClockwise 20s linear infinite;
}

.radar-sweep {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 102, 255, 0.25) 0deg, transparent 60deg, transparent 360deg);
  animation: rotateClockwise 5s linear infinite;
}

@keyframes rotateClockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateCounterClockwise {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.reticle-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
}

.metric-item {
  padding: 14px;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}

.metric-item:last-child {
  border-right: none;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  display: block;
  margin-bottom: 4px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.blue-text {
  color: var(--brand-blue-light);
}

.red-text {
  color: var(--brand-red-light);
}

.white-text {
  color: #fff;
}

/* ABOUT SECTION */
.about-section {
  background: transparent;
  border-top: 1px solid var(--border-subtle);
}

/* About Overview Card */
.about-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brand-red);
  border-radius: 16px;
  padding: 36px 40px;
  position: relative;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 32px;
}

.about-narrative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 14px;
}

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

/* ============================================================ */
/* EXPANDED RECONNAISSANCE CONSOLE & RADAR HUD OVERLAY          */
/* ============================================================ */
.about-expanded-console-wrap {
  width: min(96vw, 1560px);
  margin: 40px auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.expanded-recon-console {
  background: rgba(10, 15, 29, 0.9);
  border: 1px solid rgba(0, 102, 255, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 102, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  position: relative;
}

.recon-console-header {
  background: rgba(4, 7, 14, 0.85);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.recon-console-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.recon-title-main {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.recon-title-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--brand-blue-light);
  background: rgba(0, 102, 255, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 102, 255, 0.3);
}

.recon-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.live-dot.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlow 1.8s infinite;
}

/* Status Ticker Bar */
.recon-status-ticker {
  background: rgba(0, 0, 0, 0.55);
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(0, 102, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.ticker-segment {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-label {
  color: var(--text-dim);
}

.highlight-cyan {
  color: var(--cyan-accent);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.highlight-red {
  color: var(--brand-red-light);
  text-shadow: 0 0 10px rgba(255, 42, 61, 0.4);
}

.highlight-green {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.gps-extracted {
  color: var(--cyan-accent);
  font-weight: 700;
}

.cookie-src-tag {
  color: var(--brand-blue-light);
  font-size: 0.65rem;
  background: rgba(0, 102, 255, 0.2);
  padding: 1px 5px;
  border-radius: 3px;
}

/* 3-Panel Tactical Recon Grid (Expanded Width) */
.recon-grid {
  display: grid;
  grid-template-columns: 360px 1.15fr 1.35fr;
  gap: 24px;
  padding: 24px 28px;
}

@media (max-width: 1120px) {
  .recon-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel-radar {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .recon-grid {
    grid-template-columns: 1fr;
  }

  .recon-console-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .recon-status-ticker {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.recon-panel {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.panel-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.ptag-icon {
  margin-right: 6px;
}

.ptag-status {
  font-size: 0.62rem;
  background: rgba(0, 102, 255, 0.15);
  color: var(--brand-blue-light);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(0, 102, 255, 0.3);
}

/* Panel 1: Radar Viewport & Map Canvas */
.radar-viewport {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.08) 0%, transparent 75%);
  padding: 8px 0;
}

.radar-screen-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 102, 255, 0.25), inset 0 0 20px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 242, 254, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.radar-screen-wrapper .ring-outer {
  width: 260px;
  height: 260px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.radar-screen-wrapper .ring-mid {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.radar-screen-wrapper .ring-inner {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.radar-screen-wrapper .radar-sweep {
  width: 280px;
  height: 280px;
  top: 0;
  left: 0;
  z-index: 3;
}

.radar-screen-wrapper .reticle-center-pip {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}

.radar-screen-wrapper .radar-crosshair-h {
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.radar-screen-wrapper .radar-crosshair-v {
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.radar-screen-wrapper .radar-blip {
  z-index: 4;
}

.radar-viewport .reticle-hud-coord {
  position: static;
  margin-bottom: 12px;
  text-align: center;
}

.radar-viewport .reticle-hud-lock {
  position: static;
  margin-top: 12px;
  text-align: center;
}

.radar-range-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  border: 1px dashed rgba(0, 242, 254, 0.22);
}

.ring-250km {
  width: 130px;
  height: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-500km {
  width: 215px;
  height: 215px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-range-ring span {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(0, 242, 254, 0.65);
  letter-spacing: 0.05em;
}

.radar-overlay-footer {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-align: center;
}

.map-dot-active {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-accent);
  box-shadow: 0 0 6px var(--cyan-accent);
  margin-right: 4px;
}

/* Panel 2: Telemetry Dossier Table */
.telemetry-table {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.telem-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(3, 7, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  gap: 12px;
}

.telem-key {
  color: var(--text-dim);
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-size: 0.68rem;
}

.telem-val {
  color: var(--text-main);
  text-align: right;
  word-break: break-all;
  font-size: 0.73rem;
}

.panel-action-bar {
  margin-top: auto;
}

.recon-btn {
  width: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.25) 0%, rgba(0, 242, 254, 0.15) 100%);
  border: 1px solid rgba(0, 102, 255, 0.4);
  color: var(--cyan-accent);
  padding: 9px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.recon-btn:hover {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.4) 0%, rgba(0, 242, 254, 0.3) 100%);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  border-color: var(--cyan-accent);
}

.recon-btn.btn-success {
  border-color: rgba(16, 185, 129, 0.5);
  color: #10b981;
}

/* Panel 3: Cookie Vault & Cyber Hardware Recon */
.cookie-vault-container {
  background: rgba(3, 7, 18, 0.65);
  border: 1px solid rgba(0, 102, 255, 0.22);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 12px;
}

.cookie-vault-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.cookie-count-badge {
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan-accent);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.62rem;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.cookie-terminal {
  background: #030712;
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  max-height: 240px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cookie-terminal::-webkit-scrollbar {
  width: 6px;
}

.cookie-terminal::-webkit-scrollbar-track {
  background: rgba(3, 7, 18, 0.8);
}

.cookie-terminal::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.4);
  border-radius: 3px;
}

.cookie-terminal::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-accent);
}

.cookie-stream-header {
  color: var(--text-dim);
  font-size: 0.66rem;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.cookie-entry {
  margin-bottom: 8px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.cookie-entry:hover {
  background: rgba(0, 102, 255, 0.09);
  border-color: rgba(0, 242, 254, 0.3);
}

.cookie-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.cookie-key {
  color: var(--cyan-accent);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.cookie-tag {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.tag-geo {
  background: rgba(0, 242, 254, 0.18);
  color: var(--cyan-accent);
}

.tag-sec {
  background: rgba(255, 42, 61, 0.18);
  color: var(--brand-red-light);
}

.tag-norm {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

.cookie-size {
  color: var(--text-dim);
  font-size: 0.62rem;
}

.cookie-val {
  color: #cbd5e1;
  word-break: break-all;
  font-size: 0.72rem;
  line-height: 1.5;
  background: rgba(2, 6, 23, 0.65);
  padding: 5px 9px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  user-select: all;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.recon-sm-btn {
  flex: 1;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 102, 255, 0.35);
  color: var(--brand-blue-light);
  padding: 5px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.recon-sm-btn:hover {
  background: rgba(0, 102, 255, 0.3);
  color: #fff;
  border-color: var(--cyan-accent);
}

/* Cyber Hardware Telemetry List */
.cyber-hardware-dossier {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.dossier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(3, 7, 18, 0.45);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  gap: 10px;
}

.dossier-label {
  color: var(--text-dim);
  white-space: nowrap;
  font-size: 0.64rem;
}

.dossier-value {
  color: var(--text-main);
  text-align: right;
  word-break: break-all;
  font-size: 0.7rem;
}

/* ============================================================ */
/* ADVERTISING & IDENTITY GRAPH (AD-ID) MODULE STYLES           */
/* ============================================================ */
.recon-adtech-module {
  background: rgba(4, 8, 18, 0.75);
  border-top: 1px solid rgba(0, 102, 255, 0.25);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adtech-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.adtech-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adtech-icon {
  font-size: 1.25rem;
}

.adtech-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
}

.adtech-desc {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--brand-blue-light);
  letter-spacing: 0.08em;
}

.adtech-header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adtech-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.adtech-pill.pill-cyan {
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan-accent);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.adtech-pill.pill-blue {
  background: rgba(0, 102, 255, 0.15);
  color: var(--brand-blue-light);
  border: 1px solid rgba(0, 102, 255, 0.3);
}

.adtech-pill.pill-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 4-Card Identity Matrix Grid */
.adtech-matrix-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 1.15fr 1.15fr;
  gap: 18px;
}

@media (max-width: 1100px) {
  .adtech-matrix-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .adtech-matrix-grid {
    grid-template-columns: 1fr;
  }
}

.adtech-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
}

.adcard-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.adcard-format {
  font-size: 0.58rem;
  color: var(--brand-blue-light);
  background: rgba(0, 102, 255, 0.12);
  padding: 1px 4px;
  border-radius: 2px;
}

.adcard-val-box {
  background: #030712;
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 5px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ad-id-string {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan-accent);
  font-weight: 700;
  word-break: break-all;
  letter-spacing: 0.04em;
}

.copy-ad-id-btn {
  background: rgba(0, 102, 255, 0.25);
  border: 1px solid rgba(0, 102, 255, 0.5);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.copy-ad-id-btn:hover {
  background: var(--brand-blue);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
}

.copy-ad-id-btn.copied {
  background: #10b981;
  border-color: #10b981;
  color: #030712;
  font-weight: 700;
}

.adcard-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.adcard-sublabel {
  color: var(--text-dim);
}

.adcard-subval {
  color: var(--text-muted);
}

.adtech-kv-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.adkv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 7, 18, 0.5);
  border-radius: 4px;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  gap: 8px;
}

.adkv-key {
  color: var(--text-dim);
  white-space: nowrap;
}

.adkv-val {
  color: var(--text-muted);
  text-align: right;
  word-break: break-all;
}

.adkv-badge.tag-active {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  font-size: 0.55rem;
  padding: 1px 4px;
  border-radius: 2px;
  margin-left: 4px;
}

.adkv-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-block;
}

.adkv-badge.tag-critical {
  background: rgba(255, 42, 61, 0.2);
  color: #ff4d5e;
  border: 1px solid rgba(255, 42, 61, 0.4);
}

.adkv-badge.tag-high {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.adkv-badge.tag-moderate {
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan-accent);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.adtech-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(3, 7, 18, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px 12px;
}

.adtech-toolbar-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-dim);
}

.tool-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  box-shadow: 0 0 6px var(--brand-blue-light);
}

.adtech-toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-sim-google:hover {
  border-color: #10b981 !important;
  color: #10b981 !important;
}

.btn-sim-meta:hover {
  border-color: var(--brand-blue-light) !important;
  color: var(--brand-blue-light) !important;
}

.btn-rotate-ad:hover {
  border-color: var(--cyan-accent) !important;
  color: var(--cyan-accent) !important;
}

/* Reticle Metrics Footer (Spans 3 columns) */
.recon-console-footer {
  grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 768px) {
  .recon-console-footer {
    grid-template-columns: 1fr !important;
  }
}


.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
}

.main-about-card {
  border-left: 3px solid var(--brand-red);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.card-para {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.card-para:last-child {
  margin-bottom: 0;
}

.card-para strong {
  color: #fff;
}

/* Stat Cards & Pillars Row */
.about-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.about-stats-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.stat-card:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.red-accent {
  background: rgba(255, 42, 61, 0.12);
  color: var(--brand-red-light);
  border: 1px solid rgba(255, 42, 61, 0.3);
}

.stat-icon.blue-accent {
  background: rgba(0, 102, 255, 0.12);
  color: var(--brand-blue-light);
  border: 1px solid rgba(0, 102, 255, 0.3);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* SERVICES SECTION */
.services-section {
  background: rgba(26, 34, 56, 0.40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.7);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon-wrapper.red-theme {
  background: rgba(255, 42, 61, 0.1);
  color: var(--brand-red-light);
  border: 1px solid rgba(255, 42, 61, 0.25);
}

.service-icon-wrapper.blue-theme {
  background: rgba(0, 102, 255, 0.1);
  color: var(--brand-blue-light);
  border: 1px solid rgba(0, 102, 255, 0.25);
}

/* Service Card Header Photo Banner */
.service-card-header-photo {
  margin: -32px -28px 22px -28px;
  height: 190px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 42, 61, 0.18) 0%, #05070e 75%);
  border-bottom: 1px solid rgba(255, 42, 61, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.service-card-photo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  filter: drop-shadow(0 0 16px rgba(255, 42, 61, 0.45));
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.service-card:hover .service-card-photo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 24px rgba(255, 42, 61, 0.7));
}

.service-card-header-photo.blue-photo-theme {
  background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.22) 0%, #05070e 75%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
}

.service-card-header-photo.blue-photo-theme .service-card-photo-img {
  filter: drop-shadow(0 0 16px rgba(0, 162, 255, 0.5));
}

.service-card:hover .service-card-header-photo.blue-photo-theme .service-card-photo-img {
  filter: drop-shadow(0 0 24px rgba(0, 242, 254, 0.75));
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tags span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--text-dim);
}

/* Featured Service Card (Cybersecurity Compliance Auditing & Assessment) */
.featured-service-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(13, 21, 39, 0.95) 0%, rgba(26, 16, 28, 0.95) 100%), var(--bg-card);
  border: 1px solid rgba(255, 42, 61, 0.35);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 42, 61, 0.08);
}

.featured-service-card:hover {
  border-color: rgba(255, 42, 61, 0.65);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 42, 61, 0.2);
}

.featured-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red-light);
  background: rgba(255, 42, 61, 0.12);
  border: 1px solid rgba(255, 42, 61, 0.3);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.featured-service-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-service-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex: 1 1 auto;
}

.featured-service-action {
  margin-top: 16px;
  padding-top: 0 !important;
  border-top: none !important;
  align-self: flex-start;
  width: auto;
}

.featured-service-media {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 61, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 18px rgba(255, 42, 61, 0.14);
  background: #070b14;
  flex-shrink: 0;
}

.featured-service-img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-service-card:hover .featured-service-img {
  transform: scale(1.03);
}

@media (min-width: 992px) {
  .featured-service-layout {
    display: grid;
    grid-template-columns: 1fr clamp(320px, 38%, 450px);
    gap: 36px;
    align-items: center;
  }

  .featured-service-main {
    height: 100%;
    justify-content: space-between;
  }

  .featured-service-action {
    margin-top: auto !important;
    padding-top: 8px !important;
    border-top: none !important;
    align-self: flex-start;
  }

  .featured-service-media {
    align-self: center;
    justify-self: end;
    display: flex;
    align-items: center;
  }

  .featured-service-img {
    max-height: 270px;
  }
}

/* Deliverables Banner */
.deliverables-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 14px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow-blue);
}

.deliverables-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--brand-blue-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.deliverables-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 8px;
}

.deliverables-text {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 720px;
  line-height: 1.6;
}

/* RESEARCH SECTION */
.research-section {
  background: transparent;
  border-top: 1px solid var(--border-subtle);
}

.research-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
}

.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 28px;
}

.research-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 18px;
}

.research-card-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.research-focus-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.focus-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.focus-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.focus-bullet.blue {
  background: var(--brand-blue-light);
  box-shadow: 0 0 8px var(--brand-blue-light);
}

.focus-bullet.red {
  background: var(--brand-red-light);
  box-shadow: 0 0 8px var(--brand-red-light);
}

.focus-item strong {
  color: #fff;
  display: block;
  font-size: 0.95rem;
}

.focus-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Research Notes Callout */
.research-notes-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brand-blue);
  border-radius: 12px;
  padding: 24px 28px;
}

.rn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rn-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-blue-light);
  letter-spacing: 0.1em;
}

.rn-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 6px var(--green-accent);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.rn-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
}

.rn-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-dim);
}

/* Partnerships Card */
.partnership-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--brand-red);
  border-radius: 16px;
  padding: 36px 30px;
  position: sticky;
  top: 100px;
  box-shadow: var(--card-shadow);
}

.card-top-icon {
  color: var(--brand-red-light);
  margin-bottom: 20px;
}

.partner-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 16px;
}

.partner-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.partner-commitments {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.p-commit {
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-commit .check {
  color: var(--brand-blue-light);
  font-weight: 700;
}

/* CONTACT SECTION */
.contact-section {
  background: rgba(26, 34, 56, 0.40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-subtle);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.required {
  color: var(--brand-red);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(10, 15, 29, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #fff;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.25);
}

/* Modern feedback using :user-invalid / :user-valid per modern-web-guidance */
.form-input:user-invalid,
.form-textarea:user-invalid,
.form-select:user-invalid {
  border-color: var(--brand-red);
}

.form-input:user-valid:not(:placeholder-shown),
.form-textarea:user-valid:not(:placeholder-shown) {
  border-color: rgba(16, 185, 129, 0.6);
}

.error-msg {
  font-size: 0.8rem;
  color: var(--brand-red-light);
  margin-top: 6px;
  display: none;
}

.error-msg.visible {
  display: block;
}

.form-select {
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Security Warning Box */
.security-warning-box {
  background: rgba(255, 42, 61, 0.08);
  border: 1px solid rgba(255, 42, 61, 0.25);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.warning-icon {
  color: var(--brand-red-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.warning-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #fca5a5;
}

.warning-text strong {
  color: #fff;
}

/* Spinner */
.spinner {
  animation: rotateClockwise 1s linear infinite;
  display: none;
}

.spinner.active {
  display: inline-block;
}

.form-char-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.form-success-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  padding: 18px;
  margin-top: 20px;
  display: flex;
  gap: 14px;
  color: #d1fae5;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Security Attack Violation Banner */
.form-security-banner {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #fee2e2;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
  animation: fadeIn 0.3s ease;
}

.security-banner-icon {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-banner-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.security-banner-title {
  color: #fca5a5;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.security-banner-desc {
  color: #f1f5f9;
}

/* Contact Info Card */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 30px;
  height: fit-content;
}

.info-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 12px;
}

.info-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.blue {
  background: rgba(0, 102, 255, 0.1);
  color: var(--brand-blue-light);
  border: 1px solid rgba(0, 102, 255, 0.25);
}

.channel-icon.red {
  background: rgba(255, 42, 61, 0.1);
  color: var(--brand-red-light);
  border: 1px solid rgba(255, 42, 61, 0.25);
}

.channel-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  display: block;
}

.channel-val {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.channel-val:hover {
  color: var(--brand-blue-light);
}

.policy-links-box {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.policy-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 12px;
}

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

.text-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color var(--transition-fast);
}

.text-link-btn:hover {
  color: var(--brand-blue-light);
  text-decoration: underline;
}

/* FOOTER */
.site-footer {
  background: #0e1322;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.4));
}

.footer-brand-title {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-blue-light);
  letter-spacing: 0.1em;
  margin: 10px 0 12px 0;
  text-transform: uppercase;
}

.footer-mission-sub {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

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

.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================================
   MODALS / DIALOGS (Native <dialog> elements)
   ============================================================ */
.cyber-modal {
  border: none;
  border-radius: 16px;
  background: transparent;
  padding: 0;
  max-width: 680px;
  width: 90vw;
  margin: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), var(--glow-blue);
}

.cyber-modal::backdrop {
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(8px);
}

.modal-card {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.modal-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  margin-right: 12px;
}

.modal-badge.red-badge {
  background: rgba(255, 42, 61, 0.15);
  color: var(--brand-red-light);
  border: 1px solid rgba(255, 42, 61, 0.3);
}

.modal-badge.blue-badge {
  background: rgba(0, 102, 255, 0.15);
  color: var(--brand-blue-light);
  border: 1px solid rgba(0, 102, 255, 0.3);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  flex-grow: 1;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  margin: 20px 0 8px 0;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 14px;
}

.bullet-list {
  padding-left: 20px;
  margin-bottom: 16px;
}

.warning-banner-modal {
  background: rgba(255, 42, 61, 0.1);
  border: 1px solid rgba(255, 42, 61, 0.25);
  padding: 12px 16px;
  border-radius: 8px;
  color: #fca5a5;
  font-size: 0.85rem;
  margin-top: 16px;
}

.link-inline {
  color: var(--brand-blue-light);
  text-decoration: underline;
}

.modal-footer {
  padding: 18px 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.2);
}

/* ============================================================
   FULL-WIDTH THREAT MAP COMMAND DECK (NETSCOUT / RADWARE STYLE)
   ============================================================ */
.threat-map-fullwidth-section {
  width: 100%;
  position: relative;
  background: #0d1322;
  border-top: 1px solid rgba(0, 102, 255, 0.35);
  border-bottom: 1px solid rgba(0, 102, 255, 0.35);
  box-shadow: 0 0 60px rgba(0, 102, 255, 0.15), 0 0 60px rgba(255, 42, 61, 0.10), inset 0 0 50px rgba(0, 0, 0, 0.6);
  margin: 0 0 50px 0;
  overflow: hidden;
}

.threat-map-deck.fullwidth-deck {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
  position: relative;
}

.threat-map-deck.fullwidth-deck .map-deck-header {
  padding: 16px 36px;
  background: rgba(14, 20, 34, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.deck-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlow 1.5s infinite;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.live-dot-pulse.paused {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  animation: none;
}

.deck-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
}

.deck-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-blue-light);
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: all var(--transition-fast);
}

.deck-badge.paused {
  color: #fca5a5;
  background: rgba(255, 42, 61, 0.12);
  border-color: rgba(255, 42, 61, 0.3);
}

.map-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.map-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.map-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.map-filter-btn.active {
  background: rgba(0, 102, 255, 0.2);
  border-color: var(--brand-blue-light);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.map-toggle-pause-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.map-toggle-pause-btn:hover {
  background: rgba(0, 102, 255, 0.25);
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

.map-stat-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.stat-mini-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.stat-mini-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue-light);
}

/* Canvas Wrapper */
.map-canvas-wrapper {
  position: relative;
  width: 100%;
  min-height: 480px;
  background: #0d1322;
  overflow: hidden;
  overflow-anchor: none;
}

#threatMapCanvas {
  display: block;
  width: 100%;
  cursor: crosshair;
}

/* Telemetry HUD Feed Overlay */
.threat-map-deck.fullwidth-deck .telemetry-hud-overlay {
  position: absolute;
  bottom: 24px;
  left: 36px;
  width: 480px;
  max-width: calc(100% - 72px);
  background: rgba(14, 20, 34, 0.92);
  border: 1px solid rgba(0, 102, 255, 0.35);
  border-radius: 10px;
  padding: 14px 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 102, 255, 0.15);
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.hud-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #10b981;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color var(--transition-fast);
}

.hud-status.paused {
  color: #f59e0b;
}

.telemetry-feed-scroll {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 95px;
  overflow: hidden;
}

.telemetry-log-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #cbd5e1;
  animation: fadeIn 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.telemetry-time {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.telemetry-badge {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}

.telemetry-badge.tag-ai {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.telemetry-badge.tag-red {
  background: rgba(255, 42, 61, 0.15);
  color: #f87171;
  border: 1px solid rgba(255, 42, 61, 0.3);
}

.telemetry-badge.tag-vuln {
  background: rgba(0, 102, 255, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(0, 102, 255, 0.3);
}

.telemetry-src {
  color: #fff;
  font-weight: 600;
}

.telemetry-arrow {
  color: var(--text-dim);
}

.telemetry-tgt {
  color: var(--brand-blue-light);
  font-weight: 600;
}

.telemetry-vector {
  color: var(--text-muted);
  font-style: italic;
}

/* Deck Footer Legend */
.threat-map-deck.fullwidth-deck .map-deck-footer {
  padding: 14px 36px;
  background: rgba(4, 7, 14, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot.red {
  background: var(--brand-red);
  box-shadow: 0 0 6px var(--brand-red);
}

.legend-dot.cyan {
  background: var(--cyan-accent);
  box-shadow: 0 0 6px var(--cyan-accent);
}

.legend-dot.blue {
  background: var(--brand-blue);
  box-shadow: 0 0 6px var(--brand-blue);
}

.deck-note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ============================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .capabilities-pills {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .about-pillars-row,
  .research-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .threat-map-deck.fullwidth-deck .map-deck-header {
    padding: 14px 24px;
  }

  .threat-map-deck.fullwidth-deck .map-deck-footer {
    padding: 14px 24px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: calc(100vh - var(--header-actual-height, 105px));
    padding: 36px 0 44px 0;
  }

  .hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    height: auto;
  }

  .hero-header-stack {
    margin-top: 0;
    width: 100%;
  }

  .hero-logo-box {
    margin-bottom: 24px;
  }

  .hero-logo-img {
    height: clamp(140px, 36vw, 220px);
  }

  .badge-tag,
  .hero-headline,
  .hero-intro,
  .hero-bottom-block {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
  }

  .badge-tag {
    white-space: normal;
    text-align: center;
    padding: 10px 18px;
    gap: 12px;
    border-radius: 18px;
  }

  .badge-text {
    font-size: clamp(0.95rem, 3.4vw, 1.3rem);
    letter-spacing: 0.05em;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
    line-height: 1.2;
  }

  .hero-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  .hero-bottom-block {
    width: 100%;
    margin-top: 10px;
  }

  .threat-map-deck.fullwidth-deck .map-deck-header {
    padding: 12px 16px;
  }

  .threat-map-deck.fullwidth-deck .telemetry-hud-overlay {
    left: 14px;
    right: 14px;
    width: auto;
    bottom: 14px;
  }

  .threat-map-deck.fullwidth-deck .map-deck-footer {
    padding: 12px 16px;
  }

  .deck-note {
    margin-left: 0;
    width: 100%;
  }

  .nav-container {
    min-height: 84px;
  }

  .brand-logo {
    height: 80px;
    max-height: 80px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .deliverables-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .about-card {
    padding: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   SPECIALIZATION PAGES & SERVICE CARD ACTIONS STYLING
   ============================================================ */

/* Service Card Footer Button */
.service-card-action {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-card-link:hover {
  color: #fff;
  gap: 12px;
}

.btn-card-link.red-link {
  color: var(--brand-red-light);
}

.btn-card-link.red-link:hover {
  color: #fff;
}

/* Capabilities Bar Pill Links */
a.cap-pill {
  text-decoration: none;
  cursor: pointer;
}

/* Specialization Hero Section */
.spec-hero-section {
  padding: 60px 0 70px 0;
  position: relative;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--brand-blue-light);
}

.breadcrumbs .bc-sep {
  color: rgba(255, 255, 255, 0.2);
}

.breadcrumbs .bc-current {
  color: #fff;
  font-weight: 600;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--brand-blue-light);
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.spec-badge.red-accent {
  color: var(--brand-red-light);
  background: rgba(255, 42, 61, 0.1);
  border-color: rgba(255, 42, 61, 0.25);
}

.spec-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 900px;
}

.spec-excerpt {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 34px;
}

.spec-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 36px;
  backdrop-filter: blur(12px);
}

.spec-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-meta-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.spec-meta-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.spec-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Technical Vectors Grid */
.vectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.vector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.vector-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.vector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.vector-card:hover::before {
  opacity: 1;
}

.vector-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.vector-icon.red {
  background: rgba(255, 42, 61, 0.12);
  color: var(--brand-red-light);
  border: 1px solid rgba(255, 42, 61, 0.25);
}

.vector-icon.blue {
  background: rgba(0, 102, 255, 0.12);
  color: var(--brand-blue-light);
  border: 1px solid rgba(0, 102, 255, 0.25);
}

.vector-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.vector-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.vector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vector-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-dim);
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.deliverable-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.deliverable-box:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 102, 255, 0.3);
}

.deliverable-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue-light);
}

.deliverable-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}

.deliverable-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Tools, Projects & Developments Section */
.tools-placeholder-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.placeholder-card {
  background: rgba(10, 15, 29, 0.7);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.placeholder-card:hover {
  border-color: rgba(0, 102, 255, 0.45);
  background: rgba(15, 23, 42, 0.75);
  transform: translateY(-3px);
}

.placeholder-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--brand-blue-light);
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.25);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 16px;
}

.placeholder-badge.pending {
  color: var(--text-dim);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.placeholder-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
}

.placeholder-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.placeholder-meta-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.placeholder-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  box-shadow: 0 0 8px var(--brand-blue-light);
}

/* Callout Scoping Banner */
.spec-cta-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.75) 100%);
  border: 1px solid rgba(0, 102, 255, 0.35);
  border-radius: 16px;
  padding: 48px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), var(--glow-blue);
  position: relative;
  overflow: hidden;
}

.spec-cta-content {
  max-width: 680px;
}

.spec-cta-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 12px;
}

.spec-cta-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.spec-cta-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Responsive Rules for Specialization Pages */
@media (max-width: 1024px) {
  .spec-meta-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .vectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-placeholder-deck {
    grid-template-columns: 1fr;
  }

  .spec-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }

  .spec-cta-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .spec-meta-strip {
    grid-template-columns: 1fr;
  }

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

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

  .spec-hero-section {
    padding: 40px 0 50px 0;
  }
}

/* ============================================================
   CROW INNOVATIONS - WIKI & NIST REFERENCE SYSTEM
   Corporate Documentation & Compliance Dossier Styling
   ============================================================ */

/* Root Font-Scaling for Wiki Page (Default increased by 2 from standard 16px to 18px) */
html.wiki-page,
html:has(.wiki-body) {
  font-size: var(--wiki-base-font-size, 18px);
}

/* Global Calibri Font & Corporate Theme for Wiki */
.wiki-body {
  --bg-base: #121726;
  --bg-surface: #1a2238;
  --bg-surface-elevated: #212c48;
  --bg-card: rgba(26, 36, 62, 0.76);
  --bg-card-hover: rgba(34, 48, 80, 0.88);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active-blue: #38bdf8;
  --border-active-red: #f87171;

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  background-color: var(--bg-base) !important;
  background-image:
    /* Chaotic sweeping diagonal red streak from top-right */
    linear-gradient(136deg, rgba(255, 42, 61, 0.14) 0%, rgba(255, 42, 61, 0.03) 30%, transparent 60%),
    /* Chaotic sweeping diagonal cyber blue streak from bottom-left */
    linear-gradient(316deg, rgba(0, 102, 255, 0.16) 0%, rgba(0, 102, 255, 0.04) 34%, transparent 64%),
    /* Dynamic twisting conic aurora 1: curving crimson & cyan rays from upper right */
    conic-gradient(from 210deg at 84% 16%, rgba(255, 42, 61, 0.12) 0deg, transparent 42deg, rgba(0, 102, 255, 0.10) 105deg, transparent 175deg, rgba(255, 42, 61, 0.08) 255deg, transparent 360deg),
    /* Dynamic twisting conic aurora 2: curving cyber blue & red energy from lower left */
    conic-gradient(from 38deg at 16% 80%, rgba(0, 102, 255, 0.14) 0deg, transparent 48deg, rgba(255, 42, 61, 0.09) 135deg, transparent 205deg, rgba(0, 102, 255, 0.07) 285deg, transparent 360deg),
    /* Irregular sweeping dark depth bands */
    linear-gradient(68deg, rgba(14, 20, 36, 0.55) 0%, transparent 45%, rgba(14, 20, 36, 0.55) 90%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: #e2e8f0 !important;
  padding-top: 0 !important;
}

/* Enforce Calibri across the Wiki and all sub-elements */
.wiki-body,
.wiki-body * {
  font-family: Calibri, 'Segoe UI', Arial, sans-serif !important;
}

/* Sub-Header Strip */
.wiki-top-strip {
  background: rgba(26, 34, 56, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  z-index: 40;
  padding: 6px 0;
}

.wiki-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.wiki-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
}

.wbc-item {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.wbc-item:hover {
  color: #38bdf8;
}

.wbc-sep {
  color: var(--text-dim);
}

.wbc-current {
  color: #38bdf8;
  font-weight: 600;
}

.wiki-strip-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.775rem;
}

.wiki-doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.725rem;
}

.pulse-dot.green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.pulse-dot.amber {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

.pulse-dot.blue {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}

.pulse-dot.yellow {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 6px rgba(250, 204, 21, 0.65);
}

.pulse-dot.orange {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.65);
}

.pulse-dot.teal {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 6px rgba(45, 212, 191, 0.65);
}

.wiki-update-date {
  color: var(--text-dim);
}

.wiki-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.775rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.wiki-print-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #ffffff;
}

/* Font Size Controller (Font +/-) */
.wiki-font-controls {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  overflow: hidden;
  margin-left: 2px;
}

.font-ctrl-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px 2px 8px;
  font-size: 0.725rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-right: 1px solid var(--border-subtle);
  background: rgba(56, 189, 248, 0.08);
  user-select: none;
}

.font-ctrl-label svg {
  color: #38bdf8;
}

.wiki-font-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 2px 9px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.2;
  user-select: none;
  -webkit-user-select: none;
}

.wiki-font-btn:hover:not(:disabled) {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.wiki-font-btn:active:not(:disabled) {
  background: rgba(56, 189, 248, 0.35);
}

.wiki-font-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.wiki-font-btn.font-reset-btn {
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 44px;
  padding: 2px 6px;
  font-variant-numeric: tabular-nums;
}

.wiki-font-btn.font-reset-btn:hover:not(:disabled) {
  color: #ffffff;
}

/* Wiki & Products Layout Container - Centered Dark Gray Background at 80% Opacity */
.wiki-container {
  max-width: 1400px;
  width: calc(100% - 40px);
  margin: 22px auto 48px auto;
  padding: 26px 30px 52px 30px;
  background: rgba(26, 30, 38, 0.80);
  /* Dark gray background at 80% opacity, centered for high legibility */
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}

/* Main Page Layout Container - Black Outline Box Highlighting Content in Center */
.main-wiki-container {
  padding: 0 !important;
  overflow: hidden;
  margin: 36px auto 64px auto;
}

.main-wiki-container .section {
  padding: 80px 0;
  border-top: none;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
}

.main-wiki-container .services-section {
  border-top: none;
}

.main-wiki-container .contact-section {
  border-bottom: none;
}

.wiki-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: start;
}

/* LEFT SIDEBAR: Directory Tree & Search */
.wiki-sidebar {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  padding-right: 4px;
}

.wiki-sidebar::-webkit-scrollbar {
  width: 4px;
}

.wiki-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 2px;
}

.wiki-search-box {
  margin-bottom: 12px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 9px;
  color: var(--text-dim);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  color: var(--text-main);
  font-size: 0.825rem;
  padding: 5px 26px 5px 30px;
  transition: all var(--transition-fast);
}

.search-input-wrap input:focus {
  outline: none;
  border-color: #38bdf8;
  background: var(--bg-surface-elevated);
}

.clear-search-btn {
  position: absolute;
  right: 6px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 2px 4px;
}

.search-results-counter {
  margin-top: 4px;
  font-size: 0.725rem;
  color: #38bdf8;
}

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

.tree-group-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.tree-group-title svg {
  color: #38bdf8;
}

.tree-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--border-subtle);
  padding-left: 8px;
  margin-left: 4px;
}

.tree-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.tree-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.tree-link.active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.15);
  border-left: 2px solid #38bdf8;
  font-weight: 600;
}

.tree-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tree-status-dot.green {
  background: #10b981;
}

.tree-status-dot.blue {
  background: #38bdf8;
}

.tree-status-dot.red {
  background: var(--brand-red);
}

.tree-status-dot.cyan {
  background: var(--cyan-accent);
}

.tree-status-dot.yellow {
  background: #f59e0b;
}

.tree-status-dot.orange {
  background: #f97316;
}

.tree-status-dot.purple {
  background: #c084fc;
}

/* CENTER COLUMN: Main Content */
.wiki-content {
  min-width: 0;
}

.wiki-article-header {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-title {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* Quick Filter Bar */
.wiki-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.filter-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-dim);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.filter-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.filter-pill.active {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  font-weight: 600;
}

/* Wiki Sections & Typography */
.wiki-section {
  margin-bottom: 16px;
  scroll-margin-top: 124px;
}

.wiki-h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Position-by-Position Groups */
.position-group {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}

.position-title-bar {
  background: #19243d;
  color: #38bdf8;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.01em;
}

.role-manuals-table {
  margin: 0;
  width: 100%;
  min-width: 500px;
}

.role-manuals-table th {
  background: #1e2b48;
  font-size: 0.75rem;
  padding: 5px 10px;
}

.role-manuals-table td {
  padding: 5px 10px;
  font-size: 0.835rem;
}

/* Global Tables Styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-surface);
  margin-bottom: 10px;
}

.wiki-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.835rem;
  text-align: left;
}

.wiki-table th {
  background: #19243d;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.wiki-table td {
  padding: 5px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.4;
  font-weight: 400;
}

.wiki-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.wiki-table tbody tr:last-child td {
  border-bottom: none;
}

.pub-cell {
  font-weight: 500;
}

.pub-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.pub-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.ext-icon {
  flex-shrink: 0;
  opacity: 0.75;
}

/* Badges */
.badge-type {
  display: inline-block;
  font-size: 0.675rem;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

.rmf-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.catalog-badge {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.test-badge {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.baseline-badge {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
}

.risk-badge {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.ssp-badge {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
}

.cat-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.iscm-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}

.config-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.patch-badge {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.check-badge {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.scap-badge {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
}

.hard-badge {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.net-badge {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
}

.log-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}

.ir-badge {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.cp-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.ttx-badge {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.fore-badge {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
}

.san-badge {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.id-badge {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.crypto-badge {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
}

.scrm-badge {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.eng-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.cui-badge {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
}

.zt-badge {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.dev-badge {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
}

.dni-badge {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.ic-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.cnss-badge {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
}

.cfr-badge {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
}

.dcsa-badge {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.dod-badge {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

/* RMF Step-Specific Badges */
.step-badge-0 {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
}

.step-badge-1 {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}

.step-badge-2 {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
}

.step-badge-3 {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.step-badge-4 {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.step-badge-5 {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.step-badge-6 {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

/* Code Badge for Policy Mapping */
.code-badge {
  font-size: 0.725rem;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 500;
  display: inline-block;
}

/* RMF 7-Step Interactive Pipeline Grid */
.rmf-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.rmf-pipe-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 5px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rmf-pipe-step.highlight {
  border-top: 2px solid #38bdf8;
}

.rmf-pipe-num {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 500;
}

.rmf-pipe-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  margin: 1px 0;
}

.rmf-pipe-pub {
  font-size: 0.65rem;
  color: #38bdf8;
}

/* Table Footnote */
.table-note {
  font-size: 0.775rem;
  color: #cbd5e1;
  padding: 6px 10px;
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid #38bdf8;
  border-radius: 0 3px 3px 0;
  margin-top: -4px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.table-note strong {
  color: #ffffff;
}

/* Official Repositories / CSRC Action Cards */
.catalog-links-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cat-action-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 8px 12px;
  text-decoration: none;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.cat-action-card:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: #38bdf8;
}

.cat-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-title {
  font-size: 0.825rem;
  font-weight: 600;
  color: #ffffff;
}

.cat-url {
  font-size: 0.7rem;
  color: #38bdf8;
}

.cat-arr {
  color: var(--text-dim);
}

/* RIGHT COLUMN: Table of Contents */
.wiki-toc {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 124px);
}

.wiki-toc-inner {
  border-left: 1px solid var(--border-subtle);
  padding-left: 10px;
}

.toc-header {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin: 0;
}

.toc-link {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 2px 0;
}

.toc-link:hover {
  color: #38bdf8;
}

.toc-link.active {
  color: #38bdf8;
  font-weight: 600;
}

.toc-actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.btn-xs {
  padding: 3px 8px;
  font-size: 0.725rem;
}

/* Print Styles */
@media print {

  .site-header,
  .site-footer,
  .wiki-top-strip,
  .wiki-sidebar,
  .wiki-toc,
  .circuit-bg,
  .wiki-filter-bar,
  .wiki-print-btn,
  .cat-action-card svg {
    display: none !important;
  }

  body,
  .wiki-body {
    background: #ffffff !important;
    color: #111827 !important;
    padding: 0 !important;
  }

  .wiki-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  .wiki-layout {
    display: block !important;
  }

  .wiki-content {
    max-width: 100% !important;
  }

  .article-title,
  .wiki-h3 {
    color: #111827 !important;
  }

  .wiki-table th {
    background: #f3f4f6 !important;
    color: #111827 !important;
    border-bottom: 2px solid #9ca3af !important;
  }

  .wiki-table td {
    color: #374151 !important;
    border-bottom: 1px solid #e5e7eb !important;
  }

  .position-group {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    page-break-inside: avoid;
  }

  a {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .wiki-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .wiki-toc {
    display: none;
  }

  .rmf-pipeline-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .wiki-layout {
    grid-template-columns: 1fr;
  }

  .wiki-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 14px;
  }

  .catalog-links-row {
    grid-template-columns: 1fr;
  }

  .rmf-pipeline-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .wiki-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .rmf-pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .rmf-pipeline-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FLOATING ACTION BUTTON: DISCUSS YOUR MISSION (MAIN PAGE)
   ============================================================ */
.floating-mission-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  bottom: max(24px, calc(16px + env(safe-area-inset-bottom, 0px)));
  right: max(24px, calc(16px + env(safe-area-inset-right, 0px)));
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00a2ff 100%);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 8px 24px -4px rgba(0, 102, 255, 0.6), 0 0 16px rgba(0, 242, 254, 0.35);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: transform, box-shadow, opacity;

  /* Hidden initially until user scrolls down past intro page */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease, box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.floating-mission-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-mission-btn.visible:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px -4px rgba(0, 102, 255, 0.75), 0 0 24px rgba(0, 242, 254, 0.6);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff !important;
}

.floating-mission-btn.visible:active {
  transform: translateY(0) scale(0.98);
}

.floating-mission-btn .btn-arrow {
  transition: transform var(--transition-fast);
}

.floating-mission-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.floating-mission-btn .btn-glow-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.4), rgba(0, 242, 254, 0.4));
  z-index: -1;
  animation: floaterPulse 3s infinite;
  opacity: 0.6;
}

@keyframes floaterPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.08);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* ============================================================
   MOBILE VISIBILITY & POLISH (ANDROID & IPHONE)
   ============================================================ */
@media (max-width: 768px) {
  .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 640px) {
  .floating-mission-btn {
    bottom: max(16px, calc(10px + env(safe-area-inset-bottom, 0px)));
    right: max(16px, calc(10px + env(safe-area-inset-right, 0px)));
    padding: 10px 16px;
    font-size: 0.8rem;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 102, 255, 0.5);
  }

  .wiki-container {
    width: calc(100% - 16px);
    margin: 12px auto 24px auto;
    padding: 14px 14px 28px 14px;
    border-radius: 8px;
  }

  .contact-form .form-input,
  .contact-form .form-select,
  .contact-form .form-textarea {
    font-size: 16px;
    /* Prevents auto-zoom in iOS Safari */
  }
}

@media (max-width: 480px) {
  .brand-sub {
    display: none;
    /* Keep header compact and prevent collision with mobile menu toggle */
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-logo {
    height: 68px;
    max-height: 68px;
  }

  .nav-container {
    min-height: 72px;
  }

  .floating-mission-btn {
    padding: 9px 14px;
    font-size: 0.775rem;
  }
}

/* ============================================================
   PRODUCTS & TOOLING SHOWCASE PAGE STYLING
   ============================================================ */

.products-hero-section {
  padding: 130px 0 50px 0;
  position: relative;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
}

.products-toolbar-wrapper {
  margin-top: 36px;
  background: rgba(26, 34, 56, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.products-filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.product-pill-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.product-pill-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-1px);
}

.product-pill-btn.active {
  background: rgba(0, 102, 255, 0.18);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 14px var(--brand-blue-glow);
}

.product-pill-btn.active[data-filter="offensive"] {
  background: rgba(255, 42, 61, 0.18);
  border-color: var(--brand-red);
  box-shadow: 0 0 14px var(--brand-red-glow);
}

.product-pill-btn.active[data-filter="defensive"] {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--green-accent);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

.pill-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-family: var(--font-mono);
  color: inherit;
}

.product-pill-btn.active .pill-count {
  background: rgba(255, 255, 255, 0.2);
}

.products-search-wrap {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 380px;
}

.products-search-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 9px 14px 9px 38px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.products-search-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.22);
  background: rgba(15, 23, 42, 1);
}

.products-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.products-section-container {
  padding: 48px 0 100px 0;
}

.category-group-header {
  margin-top: 36px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.category-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.category-group-title.offensive-title {
  color: #ff5263;
}

.category-group-title.defensive-title {
  color: #34d399;
}

.category-group-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 28px;
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .products-toolbar-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .products-search-wrap {
    max-width: 100%;
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 26px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: all var(--transition-fast);
}

.product-card.offensive::before {
  background: linear-gradient(90deg, var(--brand-red), rgba(255, 42, 61, 0.2));
}

.product-card.defensive::before {
  background: linear-gradient(90deg, var(--green-accent), rgba(16, 185, 129, 0.2));
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.75);
}

.product-card.offensive:hover {
  border-color: rgba(255, 42, 61, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 42, 61, 0.15);
}

.product-card.defensive:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.15);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.product-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-badge {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.product-badge.offensive {
  background: rgba(255, 42, 61, 0.15);
  color: #ff5263;
  border: 1px solid rgba(255, 42, 61, 0.35);
}

.product-badge.defensive {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.product-version-tag {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 5px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.product-card-title a:hover {
  color: var(--brand-blue-light);
}

.product-classification {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-blue-light);
  margin-bottom: 18px;
  font-weight: 500;
}

.product-block {
  margin-bottom: 18px;
}

.product-block-title {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-description-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.product-upgrades-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-upgrades-list li {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.product-upgrades-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-blue-light);
  font-weight: bold;
}

.product-card.offensive .product-upgrades-list li::before {
  color: #ff5263;
}

.product-card.defensive .product-upgrades-list li::before {
  color: #34d399;
}

.product-upgrades-list strong {
  color: #e2e8f0;
  font-weight: 600;
}

.product-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 22px;
}

.product-tech-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-muted);
}

.product-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.product-repo-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.product-github-btn {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.product-github-btn:hover {
  background: #ffffff;
  color: #06090f;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.product-card.offensive .product-github-btn:hover {
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
  box-shadow: 0 0 18px var(--brand-red-glow);
}

.product-card.defensive .product-github-btn:hover {
  background: var(--green-accent);
  color: #06090f;
  border-color: var(--green-accent);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.4);
}

.products-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: 12px;
  margin-top: 24px;
  display: none;
}

.products-empty-state.visible {
  display: block;
}

.products-empty-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.products-empty-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .product-card {
    padding: 20px 16px;
  }

  .product-card-title {
    font-size: 1.1rem;
  }

  .product-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .product-github-btn {
    justify-content: center;
    width: 100%;
  }

  .product-pill-btn {
    font-size: 0.775rem;
    padding: 6px 12px;
  }

  .category-group-title {
    font-size: 1.15rem;
  }
}

/* ============================================================
   GLOBAL NAVIGATION DROPDOWNS (Services, Products, Wiki)
   ============================================================ */
.desktop-nav .nav-list li.has-dropdown {
  position: relative;
}

.desktop-nav .nav-link.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-caret {
  transition: transform var(--transition-fast);
  opacity: 0.7;
  stroke-width: 2.5;
}

.has-dropdown:hover .dropdown-caret,
.has-dropdown:focus-within .dropdown-caret {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--brand-blue-light);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  max-width: 380px;
  background: rgba(22, 30, 50, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 102, 255, 0.12);
  padding: 10px 8px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.has-dropdown.align-right .nav-dropdown-menu {
  left: auto;
  right: -20px;
  transform: translateY(8px);
}

.has-dropdown.align-left .nav-dropdown-menu {
  left: -20px;
  transform: translateY(8px);
}

/* Hover bridge to keep mouse inside dropdown */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.has-dropdown:hover .nav-dropdown-menu,
.has-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.has-dropdown.align-right:hover .nav-dropdown-menu,
.has-dropdown.align-right:focus-within .nav-dropdown-menu {
  transform: translateY(0);
}

.has-dropdown.align-left:hover .nav-dropdown-menu,
.has-dropdown.align-left:focus-within .nav-dropdown-menu {
  transform: translateY(0);
}

.dropdown-header {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 6px 12px 4px 12px;
  text-transform: uppercase;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.dropdown-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--brand-blue-light);
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.35;
  margin-top: 2px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 4px;
}

.dropdown-section-label {
  font-size: 0.66rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px 2px 12px;
}

.dropdown-section-label.offensive-label {
  color: #ff5263;
}

.dropdown-section-label.defensive-label {
  color: #34d399;
}

.tag-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.tag-badge.red {
  background: rgba(255, 42, 61, 0.2);
  color: #ff5263;
  border: 1px solid rgba(255, 42, 61, 0.35);
}

.tag-badge.green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Mobile Drawer Sub-Navigation */
.mobile-nav-item-dropdown {
  display: flex;
  flex-direction: column;
}

.mobile-subnav {
  list-style: none;
  padding-left: 14px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid rgba(0, 102, 255, 0.3);
}

.mobile-subnav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.mobile-subnav-link:hover,
.mobile-subnav-link.active {
  color: #38bdf8;
}

/* ============================================================
   UNIVERSAL WIKI-THEME DEFAULT FOR NON-MAIN PAGES
   (Applies Wiki typography, layout texture, and slim styling to Products & Subpages)
   ============================================================ */

.wiki-body .spec-hero-section,
.wiki-body .products-hero-section {
  padding-top: 40px;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
}

.wiki-body .spec-card,
.wiki-body .product-card,
.wiki-body .spec-deliverable-card,
.wiki-body .spec-scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.wiki-body h1,
.wiki-body h2,
.wiki-body h3,
.wiki-body h4 {
  font-family: Calibri, 'Segoe UI', Arial, sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wiki-body .spec-title,
.wiki-body .product-card-title,
.wiki-body .category-group-title {
  font-family: Calibri, 'Segoe UI', Arial, sans-serif !important;
}

.wiki-body .products-toolbar-wrapper {
  background: rgba(26, 34, 56, 0.85);
  border: 1px solid var(--border-subtle);
}

/* ============================================================
   PRODUCTS SECTION HEADERS & EMBLEMS (Offensive Red / Defensive Blue)
   ============================================================ */

.wiki-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.section-emblem.offensive-emblem {
  border: 2px solid #ff3344;
  box-shadow: 0 0 16px rgba(255, 51, 68, 0.45);
}

.section-emblem.defensive-emblem {
  border: 2px solid #00a2ff;
  box-shadow: 0 0 16px rgba(0, 162, 255, 0.45);
}

.wiki-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.wiki-section-title.offensive-title {
  color: #ff3344 !important;
  text-shadow: 0 0 12px rgba(255, 51, 68, 0.35);
}

.wiki-section-title.defensive-title {
  color: #00a2ff !important;
  text-shadow: 0 0 12px rgba(0, 162, 255, 0.35);
}

.position-title-bar.offensive-bar {
  color: #ff5263;
  border-left: 3px solid #ff3344;
}

.position-title-bar.defensive-bar {
  color: #38bdf8;
  border-left: 3px solid #00a2ff;
}

.pub-link.inactive-link {
  color: #94a3b8;
  cursor: default;
}

/* Streamlined Products dropdown menu */
.nav-dropdown-menu.products-dropdown-menu {
  min-width: 175px;
  max-width: 210px;
  padding: 6px;
}

.nav-dropdown-menu.products-dropdown-menu .dropdown-item {
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
}

.nav-dropdown-menu.products-dropdown-menu .dropdown-item:hover,
.nav-dropdown-menu.products-dropdown-menu .dropdown-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-blue-light);
}

/* ============================================================ */
/* TOOLS PAGE & UTILITIES CATALOG STYLES                        */
/* ============================================================ */
.tools-intro-header {
  margin-bottom: 24px;
}

.tools-intro-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(0, 102, 255, 0.22);
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.tools-intro-title {
  color: #38bdf8;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.tools-intro-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.tools-catalog-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.tool-badge-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 102, 255, 0.14);
  border: 1px solid rgba(0, 102, 255, 0.32);
  color: #38bdf8;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tool-status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.tool-status-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}

.tool-status-testing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #facc15;
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.45);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.tool-launch-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.tool-launch-link:hover {
  color: #7dd3fc;
  transform: translateX(2px);
}

.recon-tool-page-wrap {
  width: 100%;
  margin: 16px 0 36px 0;
  box-sizing: border-box;
}

.recon-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 22px;
}

.recon-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

.recon-meta-chip.chip-active {
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.recon-meta-chip.chip-privacy {
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.back-tools-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 14px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.back-tools-link:hover {
  color: #7dd3fc;
  transform: translateX(-3px);
}

.tool-docs-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 860px) {
  .tool-docs-grid {
    grid-template-columns: 1fr;
  }
}

.tool-doc-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px;
}

.tool-doc-title {
  color: #38bdf8;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-doc-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   LIVE ATTACK MAP & SANS ISC TELEMETRY MODULE
   ========================================================================== */

/* Corporate Telemetry Header */
.telemetry-header-corp {
  margin: 4px 0 20px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.telemetry-badge-row {
  margin-bottom: 10px;
}

.telemetry-corp-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: 4px;
}

.telemetry-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.9);
  animation: pulseDot 2s infinite ease-in-out;
}

.telemetry-corp-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.telemetry-corp-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 10px 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .telemetry-corp-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.telemetry-corp-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 6px;
}

.telemetry-corp-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.telemetry-corp-meta .meta-timestamp {
  color: #e2e8f0;
  font-weight: 600;
}

.telemetry-corp-meta .meta-provider {
  color: #38bdf8;
}

.telemetry-corp-meta .meta-interval {
  color: #10b981;
}

.telemetry-corp-meta .meta-sep {
  color: #334155;
  user-select: none;
}

.live-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 32px 0;
}

@media (max-width: 992px) {
  .live-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .live-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.live-metric-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

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

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.status-green {
  color: #10b981;
}

.status-yellow {
  color: #f59e0b;
}

.status-orange {
  color: #f97316;
}

.status-red {
  color: #ef4444;
}

/* Attack Map Deck in Dedicated Page */
.live-map-deck {
  background: #080c14;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 102, 255, 0.15);
  margin-bottom: 36px;
}

.live-map-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(14, 20, 32, 0.95);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  flex-wrap: wrap;
  gap: 12px;
}

.live-map-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-map-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f8fafc;
}

.live-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.chip-connected {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.chip-cached {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.live-map-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.map-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.map-control-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #fff;
}

.map-control-btn.active {
  background: rgba(0, 102, 255, 0.35);
  border-color: #00f2fe;
  color: #00f2fe;
}

.map-control-btn.btn-paused {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
  color: #f59e0b;
}

.map-control-btn.spinning svg {
  animation: spinCtrl 0.6s linear infinite;
}

@keyframes spinCtrl {
  100% { transform: rotate(360deg); }
}

.live-map-canvas-wrap {
  position: relative;
  width: 100%;
  min-height: 480px;
  background: #0a0e17;
  overflow: hidden;
}

#liveAttackMapCanvas {
  display: block;
  width: 100%;
  cursor: crosshair;
}

/* Floating Tactical HUD overlay */
.live-attack-hud-overlay {
  position: absolute;
  bottom: 18px;
  left: 20px;
  width: 440px;
  max-width: calc(100% - 40px);
  background: rgba(10, 15, 26, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  z-index: 5;
}

.hud-feed-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.hud-log-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: fadeIn 0.25s ease;
}

.hud-log-time {
  color: var(--text-dim);
  font-size: 0.68rem;
}

.hud-log-ip {
  color: #f8fafc;
  font-weight: 600;
}

.hud-log-arrow {
  color: var(--text-dim);
}

.hud-log-port {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid;
}

.hud-log-target {
  color: #00f2fe;
  font-weight: 700;
}

.live-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(10, 15, 26, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.map-legends {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.red { background: #ff3344; box-shadow: 0 0 6px #ff3344; }
.legend-dot.orange { background: #ff6600; box-shadow: 0 0 6px #ff6600; }
.legend-dot.cyan { background: #00f2fe; box-shadow: 0 0 6px #00f2fe; }
.legend-dot.blue { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }

/* Tables Styling */
.rank-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 700;
}

.port-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.service-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid;
}

.count-metric {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #f8fafc;
}

.vector-desc-cell {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.actor-ip {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #f87171;
  background: rgba(255, 42, 61, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 42, 61, 0.25);
}

.threat-high {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.country-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.asn-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.stream-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.stream-ip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e2e8f0;
}

.target-node {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #00f2fe;
}

.severity-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}

/* ==========================================================================
   SERVICES CATALOG & DOSSIER SECTIONS (services.html)
   ========================================================================== */

.services-dossier-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.service-detail-section {
  scroll-margin-top: 130px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.service-detail-section:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.service-detail-section.highlight-target {
  border-color: #38bdf8;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

.service-detail-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.service-detail-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-detail-badge.red-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.service-detail-badge.blue-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.service-detail-badge.purple-badge {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.service-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  padding: 2px 6px;
}

.service-detail-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.service-detail-summary {
  font-size: 0.865rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 860px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

.service-col-heading {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 10px;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-feature-list li {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
  padding-left: 14px;
  position: relative;
}

.service-feature-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-weight: 700;
}

.service-framework-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sf-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.service-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
   RESEARCH PAGE STYLES - REFINED & CLEAN
   ============================================================ */

.research-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.research-stage-badge.almost-complete {
  color: #2dd4bf;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(16, 185, 129, 0.18));
  border: 1px solid rgba(45, 212, 191, 0.45);
}

.research-stage-badge.orange {
  color: #fb923c;
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.research-stage-timeline {
  margin-top: 5px;
  font-size: 0.76rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}

/* ============================================================
   COMPLIANCE FRAMEWORK TEMPLATES DROPDOWN
   ============================================================ */

@media (min-width: 769px) {
  .table-responsive.allow-dropdown-overflow {
    overflow: visible;
  }
}

#complianceMatrixTable td.assessment-cell {
  position: relative;
}

.framework-templates-dropdown {
  position: relative;
  display: inline-block;
  margin-top: 6px;
}

.framework-templates-dropdown summary.templates-dropdown-btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.framework-templates-dropdown summary.templates-dropdown-btn::-webkit-details-marker {
  display: none;
}

.framework-templates-dropdown summary.templates-dropdown-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.65);
  color: #ffffff;
}

.framework-templates-dropdown[open] summary.templates-dropdown-btn {
  background: rgba(56, 189, 248, 0.24);
  border-color: #38bdf8;
  color: #ffffff;
}

.templates-caret {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.framework-templates-dropdown[open] .templates-caret {
  transform: rotate(180deg);
}

.templates-dropdown-panel {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: min(440px, 65vw);
  background: #0d1424;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 6px;
  padding: 8px 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
  z-index: 300;
}

.templates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.templates-list li {
  margin: 0;
}

.template-doc-link {
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding: 5px 8px;
  border-radius: 4px;
  transition: background 0.14s ease, color 0.14s ease;
}

.template-doc-link:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
}

@media (max-width: 768px) {
  .templates-dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 6px;
  }
}