/* ==========================================================================
   IMIGO DIGI AI TECHNOLOGIES — UI COMPONENTS
   HUD Elements, Buttons, Modules, Dossiers, Pipeline, and Lab
   Primary Palette: Royal Plum (#37003c) + Slate Grey (#727476)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HUD Header & Navigation (Full-width, zero-clipping guarantee)
   -------------------------------------------------------------------------- */
.hud-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 7, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-normal);
  box-sizing: border-box;
}

.hud-header.scrolled {
  background: rgba(7, 7, 10, 0.98);
  border-bottom-color: var(--border-brand);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hud-header .container {
  max-width: 100%;
  width: 100%;
  padding: 0 clamp(16px, 3vw, 40px);
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  gap: clamp(10px, 2vw, 24px);
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(217, 70, 239, 0.35));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px rgba(217, 70, 239, 0.7));
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-purple);
  border: 1px solid var(--border-brand);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-brand-bright);
}

.brand-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-brand);
  box-shadow: 0 0 10px var(--neon-brand);
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex-shrink: 1;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--neon-brand);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--neon-brand);
  box-shadow: 0 0 8px var(--neon-brand);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  flex-shrink: 0;
  margin-left: auto;
}

/* Sound Toggle Button */
.btn-sound {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(114, 116, 118, 0.12);
  border: 1px solid var(--border-slate);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-sound:hover,
.btn-sound.active {
  color: var(--neon-brand);
  border-color: var(--neon-brand);
  box-shadow: 0 0 10px var(--neon-brand-soft);
}

.btn-sound svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   2. Cybernetic Buttons
   -------------------------------------------------------------------------- */
.btn-cyber {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius-sm);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform var(--transition-fast), box-shadow var(--transition-normal), background-color var(--transition-normal);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cyber-primary {
  background: var(--brand-purple);
  color: #ffffff;
  border: 1px solid rgba(217, 70, 239, 0.5);
  box-shadow: 0 0 18px rgba(55, 0, 60, 0.9), 0 0 10px rgba(217, 70, 239, 0.35);
}

.btn-cyber-primary:hover {
  background: #500057;
  border-color: rgba(217, 70, 239, 0.9);
  box-shadow: 0 0 25px rgba(217, 70, 239, 0.6), 0 0 35px rgba(55, 0, 60, 0.8);
  transform: translateY(-2px);
}

.btn-cyber-secondary {
  background: rgba(114, 116, 118, 0.12);
  color: var(--text-primary);
  border: 1px solid var(--border-slate);
  backdrop-filter: blur(10px);
}

.btn-cyber-secondary:hover {
  border-color: var(--neon-brand);
  color: var(--neon-brand);
  box-shadow: 0 0 18px var(--neon-brand-soft);
  transform: translateY(-2px);
}

.btn-cyber-outline {
  background: transparent;
  color: var(--neon-brand);
  border: 1px solid var(--border-brand);
}

.btn-cyber-outline:hover {
  background: var(--neon-brand-soft);
  border-color: var(--neon-brand);
}

/* --------------------------------------------------------------------------
   3. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-telemetry {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.telemetry-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(114, 116, 118, 0.08);
  border: 1px solid var(--border-slate);
  padding: 4px 10px;
  border-radius: 4px;
}

.telemetry-chip .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-brand);
  box-shadow: 0 0 8px var(--neon-brand);
}

.hero-heading {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-heading span.electric {
  color: var(--neon-brand);
  text-shadow: 0 0 25px rgba(217, 70, 239, 0.5);
}

.hero-lead {
  font-size: 1.22rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-neural-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: auto;
}

.hero-visual-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 18, 28, 0.88);
  border: 1px solid var(--border-brand);
  backdrop-filter: blur(16px);
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-brand);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   4. About & Metrics Telemetry
   -------------------------------------------------------------------------- */
.metrics-section {
  padding: 100px 0;
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.metric-card {
  padding: 32px 24px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-slate);
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-brand), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-brand);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--neon-brand-ultra-soft);
}

.metric-card:hover::before {
  opacity: 1;
}

.metric-card .metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.metric-card .metric-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--neon-brand);
  text-transform: uppercase;
}

.metric-card .metric-value {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 10px;
}

.metric-card .metric-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.metric-card .metric-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   5. Services — AI Command Center
   -------------------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.service-card {
  padding: 34px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-slate);
  border-radius: var(--border-radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  cursor: pointer;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--border-brand);
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px var(--neon-brand-soft);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(55, 0, 60, 0.5);
  border: 1px solid var(--border-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-brand);
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--neon-brand);
  color: #ffffff;
  box-shadow: 0 0 18px var(--neon-brand);
}

.service-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-slate);
}

.service-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Service Pipeline Sub-Steps */
.service-pipeline-preview {
  margin-top: auto;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 18px;
}

.pipeline-nodes {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pipeline-node {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  background: rgba(114, 116, 118, 0.1);
  border: 1px solid var(--border-slate);
  padding: 3px 8px;
  border-radius: 3px;
  transition: all var(--transition-fast);
}

.service-card:hover .pipeline-node {
  color: var(--neon-brand);
  border-color: var(--border-brand);
  background: rgba(55, 0, 60, 0.5);
}

.service-inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-brand);
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform var(--transition-fast);
}

.service-inspect-btn:hover {
  transform: translateX(4px);
}

/* Service Interactive Pipeline Modal / Inspector */
.service-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.service-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.service-modal-container {
  background: #0d101a;
  border: 1px solid var(--border-brand-bright);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--neon-brand-soft);
  border-radius: var(--border-radius-lg);
  max-width: 820px;
  width: 100%;
  padding: 40px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--neon-brand);
  border-color: var(--neon-brand);
  background: rgba(55, 0, 60, 0.5);
}

/* --------------------------------------------------------------------------
   6. The IMIGO AI Engine Pipeline
   -------------------------------------------------------------------------- */
.engine-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(12, 14, 22, 0.6) 50%, var(--bg-primary) 100%);
}

.engine-pipeline-wrapper {
  margin-top: 50px;
  position: relative;
}

.engine-pipeline-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  position: relative;
  z-index: 2;
}

.engine-node {
  background: var(--bg-card);
  border: 1px solid var(--border-slate);
  border-radius: 8px;
  padding: 22px 14px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.engine-node:hover,
.engine-node.active {
  border-color: var(--neon-brand);
  background: rgba(55, 0, 60, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--neon-brand-soft);
}

.engine-step-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-brand);
  margin-bottom: 8px;
}

.engine-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.engine-step-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.engine-core-display {
  margin-top: 40px;
  padding: 30px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-brand);
  border-radius: var(--border-radius-md);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
}

.engine-core-orb-anim {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px dashed var(--neon-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-slow 16s linear infinite;
  position: relative;
}

.engine-core-orb-anim::after {
  content: '';
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--neon-brand) 0%, rgba(55, 0, 60, 0) 70%);
  box-shadow: 0 0 20px var(--neon-brand);
}

/* --------------------------------------------------------------------------
   7. Case Studies — Intelligence Reports
   -------------------------------------------------------------------------- */
.reports-section {
  padding: 100px 0;
  position: relative;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border-slate);
  border-radius: var(--border-radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.report-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--neon-brand-soft);
}

.report-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cyan-accent);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.report-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.report-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.report-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  background: rgba(114, 116, 118, 0.06);
  border: 1px solid var(--border-slate);
  border-radius: 6px;
  margin-bottom: 24px;
}

.report-stat-item {
  text-align: center;
}

.report-stat-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neon-brand);
}

.report-stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.report-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--neon-brand);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. IMIGO AI Lab (Live Simulators)
   -------------------------------------------------------------------------- */
.lab-section {
  padding: 100px 0;
  position: relative;
}

.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 50px;
}

.lab-simulator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-slate);
  border-radius: var(--border-radius-md);
  padding: 36px 32px;
  position: relative;
}

.lab-slider-group {
  margin-top: 24px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.slider-val-tag {
  color: var(--neon-brand);
  font-weight: 700;
}

.cyber-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #181d2c;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.cyber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-brand);
  box-shadow: 0 0 10px var(--neon-brand);
  cursor: pointer;
}

.lab-result-hud {
  margin-top: 30px;
  padding: 20px;
  background: rgba(55, 0, 60, 0.3);
  border: 1px solid var(--border-brand);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lab-result-item {
  text-align: center;
}

.lab-result-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--neon-brand);
}

.lab-result-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   9. Interactive AI Consultation Wizard
   -------------------------------------------------------------------------- */
.consultation-section {
  padding: 100px 0;
  position: relative;
}

.consultation-card {
  max-width: 900px;
  margin: 50px auto 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--neon-brand-ultra-soft);
  border-radius: var(--border-radius-lg);
  padding: 44px;
  position: relative;
}

.consultation-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.consultation-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.consultation-step-pill.active {
  color: var(--neon-brand);
}

.consultation-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.consultation-step-pill.active .consultation-step-num {
  background: var(--neon-brand);
  color: #ffffff;
  border-color: var(--neon-brand);
  box-shadow: 0 0 10px var(--neon-brand);
}

.step-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.step-choice-card {
  padding: 16px 20px;
  background: rgba(114, 116, 118, 0.05);
  border: 1px solid var(--border-slate);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.step-choice-card:hover,
.step-choice-card.selected {
  border-color: var(--neon-brand);
  background: rgba(55, 0, 60, 0.35);
  color: var(--neon-brand-bright);
}

.cyber-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-slate);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-choice-card.selected .cyber-radio {
  border-color: var(--neon-brand);
}

.step-choice-card.selected .cyber-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-brand);
}

.consultation-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.cyber-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cyber-input-group.full-width {
  grid-column: 1 / -1;
}

.cyber-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.cyber-input {
  background: rgba(14, 18, 28, 0.9);
  border: 1px solid var(--border-slate);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cyber-input:focus {
  border-color: var(--neon-brand);
  box-shadow: 0 0 15px var(--neon-brand-soft);
}

/* --------------------------------------------------------------------------
   10. Futuristic Footer & Contact Coordinates
   -------------------------------------------------------------------------- */
.hud-footer {
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-slate);
  background: #050508;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-terminal {
  background: #0a0c14;
  border: 1px solid var(--border-slate);
  border-radius: 6px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #8c93a4;
  line-height: 1.7;
}

.terminal-active {
  color: var(--neon-brand);
}

.footer-nav-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--neon-brand);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--neon-brand);
}

.verified-address {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Responsive Breakpoints (Guaranteed Zero-Clipping)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.76rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-telemetry,
  .hero-actions {
    justify-content: center;
  }
  .hero-lead {
    margin: 0 auto 36px auto;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .engine-pipeline-track {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Hide nav links on tablet so right action buttons never get cut */
  .nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .reports-grid,
  .metrics-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .engine-pipeline-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-options-grid,
  .consultation-inputs {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hud-header .container {
    padding: 0 14px;
  }
  .brand-badge {
    display: none;
  }
  #btn-replay-tour {
    padding: 6px 10px;
    font-size: 0.68rem;
  }
  .btn-sound span {
    display: none;
  }
}
