:root {
  /* Core Slate Colors - Exact match with consentshieldai.com (Tailwind Slate-950) */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617; /* consentshieldai.com root bg */

  /* Cybernetic Cyan Accents - Matching live site */
  --cyan-50:  #ecfeff;
  --cyan-100: #cffafe;
  --cyan-200: #a5f3fc;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee; /* Live site vibrant brand cyan */
  --cyan-500: #06b6d4; /* Live site primary accent */
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --cyan-800: #155e75;
  --cyan-900: #164e63;
  --cyan-950: #083344;

  /* Semantic Alerts */
  --alert-red:   #f87171;
  --alert-red-bg: rgba(248, 113, 113, 0.12);
  --alert-green: #10b981;
  --alert-green-light: #4ade80;
  --alert-green-bg: rgba(16, 185, 129, 0.12);
  --alert-yellow: #facc15;
  --alert-yellow-bg: rgba(250, 204, 21, 0.12);

  /* Precise Typography Hierarchy matching consentshieldai.com */
  --font-header: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Transitions */
  --transition-hud: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--slate-950);
  color: var(--slate-300);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 100% 40%, rgba(15, 23, 42, 0.6) 0%, transparent 45%),
    linear-gradient(to right, rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

::selection {
  background: rgba(6, 182, 212, 0.3);
  color: #ecfeff;
}

/* ============================================================================
   FALLING CODE CANVAS (#matrix-canvas)
   ============================================================================ */
#matrix-canvas,
.cyber-matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22; /* Subtle opacity so text remains ultra-sharp */
}

/* Subtle CRT scanline animation overlay */
.scanline-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.22) 50%
  );
  background-size: 100% 4px;
  z-index: 999;
  opacity: 0.22;
}

/* Outer layout frame container matching consentshieldai.com border-x */
.site-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  border-left: 1px solid rgba(6, 182, 212, 0.12);
  border-right: 1px solid rgba(6, 182, 212, 0.12);
  min-height: 100vh;
  position: relative;
  background-color: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 100px rgba(2, 6, 23, 0.85);
  z-index: 2;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utility matching live site */
h1, h2, h3, h4, .brand-title {
  font-family: var(--font-header);
  color: var(--slate-50);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.highlight-cyan {
  color: var(--cyan-400);
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.35);
}

.highlight-red {
  color: var(--alert-red);
}

.highlight-green {
  color: var(--alert-green);
}

/* ============================================================================
   HUD NAVIGATION BAR MATCHING CONSENTSHIELDAI.COM
   ============================================================================ */
.hud-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(2, 6, 23, 0.88);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.hud-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

/* Logo matching consentshieldai.com structure */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-cube {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-cube-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(6, 182, 212, 0.6);
  transform: rotate(45deg);
  transition: var(--transition-smooth);
}

.nav-brand:hover .brand-cube-border {
  transform: rotate(90deg);
  border-color: var(--cyan-400);
}

.brand-cube-core {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-400);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

.brand-text {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--slate-50);
  text-transform: uppercase;
}

.brand-text span {
  color: var(--cyan-400);
  font-weight: 700;
}

/* Nav links */
.nav-center-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--slate-300);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--cyan-400);
}

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

/* Nav telemetry pill */
.nav-telemetry-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(6, 182, 212, 0.25);
  background: rgba(8, 51, 68, 0.35);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-300);
  letter-spacing: 0.06em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--alert-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--alert-green);
  animation: pulse-dot-anim 2s infinite ease-in-out;
}

@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ============================================================================
   SCANNER CARDS & DESIGN SYSTEM GLASSMORPHISM
   ============================================================================ */
.scanner-card {
  position: relative;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(6, 182, 212, 0.18);
  padding: 28px;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.scanner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
}

/* HUD Corner Brackets matching website */
.corner-bracket {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(34, 211, 238, 0.5);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.corner-tl { top: 0; left: 0; border-top: 1.5px solid; border-left: 1.5px solid; }
.corner-tr { top: 0; right: 0; border-top: 1.5px solid; border-right: 1.5px solid; }
.corner-bl { bottom: 0; left: 0; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.corner-br { bottom: 0; right: 0; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.scanner-card:hover .corner-bracket {
  border-color: var(--cyan-400);
  box-shadow: 0 0 6px var(--cyan-400);
}

/* ============================================================================
   BUTTONS MATCHING CONSENTSHIELDAI.COM
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background-color: var(--cyan-500);
  color: var(--slate-950);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
  background-color: var(--cyan-400);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan-200);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(6, 182, 212, 0.2);
  border-color: var(--cyan-400);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--cyan-400);
  padding: 8px 14px;
  font-size: 11px;
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--cyan-400);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero-section {
  padding: 70px 0 36px;
  text-align: center;
  position: relative;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(8, 51, 68, 0.4);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan-300);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.08;
  max-width: 1040px;
  margin: 0 auto 18px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--slate-300);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 300;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.hero-stat-card {
  padding: 22px 16px;
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

/* ============================================================================
   SECTION HEADERS
   ============================================================================ */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

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

.section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--slate-300);
  font-size: 16px;
  font-weight: 300;
}

/* ============================================================================
   SWITCHER & HEAD TO HEAD CARD
   ============================================================================ */
.competitor-switchboard {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.switch-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--slate-300);
  font-family: var(--font-header);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.switch-tab:hover {
  border-color: var(--cyan-400);
  color: var(--slate-50);
}

.switch-tab.active {
  background: rgba(8, 51, 68, 0.45);
  border-color: var(--cyan-400);
  color: #fff;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.switch-tab-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(248, 113, 113, 0.15);
  color: var(--alert-red);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.side-by-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.h2h-card {
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.h2h-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.h2h-badge-ours {
  background: rgba(8, 51, 68, 0.4);
  color: var(--cyan-300);
  border: 1px solid rgba(6, 182, 212, 0.5);
}

.h2h-badge-theirs {
  background: rgba(248, 113, 113, 0.12);
  color: var(--alert-red);
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.h2h-title {
  font-size: 30px;
  margin-bottom: 6px;
  font-weight: 400;
}

.h2h-class {
  font-size: 13.5px;
  color: var(--slate-400);
  font-family: var(--font-mono);
  margin-bottom: 22px;
}

.h2h-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.h2h-metric-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 0px !important;
  transition: all 0.2s ease;
}

.h2h-metric-item:hover {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(8, 51, 68, 0.25);
}

.h2h-metric-key {
  font-size: 11px;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
  font-weight: 600;
}

.h2h-metric-val {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--slate-200);
}

/* Side-by-side Row Architecture: Exact Equal Height Boxes */
.h2h-showdown-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.h2h-row-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 0px !important;
  overflow: hidden;
  position: relative;
  transition: all 0.25s ease;
}

.h2h-row-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
}

.h2h-row-header {
  padding: 12px 24px;
  background: rgba(2, 6, 23, 0.85);
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.h2h-row-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-300);
}

.h2h-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.h2h-cell {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  height: 100%;
}

.h2h-cell-theirs {
  background: rgba(15, 23, 42, 0.4);
  border-right: 1px solid rgba(51, 65, 85, 0.3);
}

.h2h-cell-ours {
  background: rgba(8, 51, 68, 0.15);
  position: relative;
}

.h2h-cell-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.h2h-cell-text {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate-200);
}

.dossier-box {
  padding: 18px;
  background: rgba(2, 6, 23, 0.7);
  border-left: 2px solid;
  margin-top: 20px;
}

.dossier-box.dossier-good {
  border-color: var(--cyan-400);
}

.dossier-box.dossier-bad {
  border-color: var(--alert-red);
}

.dossier-box h4 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 500;
}

.dossier-box p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--slate-300);
}

.dossier-bullets {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dossier-bullets li {
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

/* ============================================================================
   CALCULATOR SECTION & HUD INTERFACES
   ============================================================================ */
.calculator-section {
  padding: 70px 0;
  position: relative;
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.calc-inputs-card {
  padding: 28px;
}

.calc-group {
  margin-bottom: 22px;
}

.calc-group-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-200);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.calc-val-readout {
  font-family: var(--font-mono);
  color: var(--cyan-400);
  font-size: 15px;
  font-weight: 700;
}

/* Select and form controls */
.calc-select,
.form-input {
  width: 100%;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 10px 14px;
  color: var(--slate-50);
  font-family: var(--font-header);
  font-size: 16px;
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.form-input {
  font-family: var(--font-body);
  font-size: 14px;
  cursor: text;
}

.form-input.mono {
  font-family: var(--font-mono);
}

.calc-select:focus,
.form-input:focus {
  border-color: var(--cyan-400);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
}

/* Range Slider */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--slate-800);
  outline: none;
  border-radius: 0px !important;
  cursor: pointer;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--cyan-400);
  border: 2px solid var(--slate-950);
  box-shadow: 0 0 10px var(--cyan-400);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Checkbox Pills Grid */
.checkbox-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.check-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.3);
  cursor: pointer;
  font-size: 12.5px;
  color: var(--slate-300);
  user-select: none;
  transition: var(--transition-smooth);
}

.check-pill:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--slate-50);
}

.check-pill input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.check-indicator {
  width: 14px;
  height: 14px;
  border: 1px solid var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.check-pill input:checked ~ .check-indicator {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  box-shadow: 0 0 6px var(--cyan-400);
}

.check-indicator::after {
  content: "✓";
  color: var(--slate-950);
  font-size: 10px;
  font-weight: 900;
  display: none;
}

.check-pill input:checked ~ .check-indicator::after {
  display: block;
}

.check-pill input:checked ~ span {
  color: var(--cyan-300);
}

/* Calculator Telemetry HUD Output Card */
.calc-results-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hud-telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  padding-bottom: 14px;
}

.hud-title {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.liability-alert-box {
  background: rgba(248, 113, 113, 0.07);
  border: 1px solid rgba(248, 113, 113, 0.35);
  padding: 20px;
  position: relative;
}

.liability-alert-box::before {
  content: "CIPA § 638.51 / § 631 WIRE RISK";
  position: absolute;
  top: -9px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: var(--alert-red);
  color: var(--slate-950);
  padding: 1px 6px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.liability-values-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

.liability-danger {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--alert-red);
  text-shadow: 0 0 12px rgba(248, 113, 113, 0.35);
}

.liability-safe {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--alert-green);
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
}

/* Performance Deck */
.metrics-comparison-deck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-hud-tile {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.4);
  padding: 14px;
}

.metric-tile-label {
  font-size: 11.5px;
  color: var(--slate-400);
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.metric-tile-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-100);
}

/* Bottom Line ROI Highlight Box */
.savings-highlight-box {
  background: linear-gradient(135deg, rgba(8, 51, 68, 0.4) 0%, rgba(2, 6, 23, 0.8) 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 24px;
  position: relative;
}

.savings-highlight-box::before {
  content: "FIRST YEAR ENTERPRISE ROI";
  position: absolute;
  top: -9px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: var(--cyan-400);
  color: var(--slate-950);
  padding: 1px 6px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.savings-numbers-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.savings-big-number {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan-300);
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.roi-badge-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.roi-badge-percent {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--alert-green);
}

/* ============================================================================
   CAPABILITY MATRIX TABLE
   ============================================================================ */
.matrix-section {
  padding: 70px 0;
}

.matrix-table-container {
  overflow-x: auto;
  border: 1px solid rgba(6, 182, 212, 0.2);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  min-width: 900px;
}

.matrix-table th,
.matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
  vertical-align: middle;
}

.matrix-table th {
  background: rgba(2, 6, 23, 0.85);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-300);
  border-bottom: 2px solid rgba(6, 182, 212, 0.3);
}

.matrix-table th.col-shield {
  background: rgba(8, 51, 68, 0.5);
  color: var(--cyan-300);
  border-bottom-color: var(--cyan-400);
}

.matrix-table td.cell-shield {
  background: rgba(8, 51, 68, 0.15);
  font-weight: 500;
  color: var(--slate-100);
}

.matrix-table .capability-name {
  font-weight: 500;
  color: var(--slate-100);
  display: block;
}

.matrix-table .capability-desc {
  font-size: 11.5px;
  color: var(--slate-400);
}

/* Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.12);
  color: var(--alert-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-risk {
  background: rgba(248, 113, 113, 0.12);
  color: var(--alert-red);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.badge-warn {
  background: rgba(250, 204, 21, 0.12);
  color: var(--alert-yellow);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

/* ============================================================================
   CTA BOX & MODAL DIALOGS
   ============================================================================ */
.cta-banner-section {
  padding: 70px 0 90px;
}

.cta-box {
  text-align: center;
  padding: 50px 32px;
  background: radial-gradient(circle at 50% 50%, rgba(8, 51, 68, 0.4) 0%, rgba(15, 23, 42, 0.8) 75%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 50px rgba(34, 211, 238, 0.1);
}

.cta-box h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 14px;
  font-weight: 400;
}

.cta-box p {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 16px;
  color: var(--slate-200);
  font-weight: 300;
}

/* Simple Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 520px;
  padding: 32px;
}

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

.modal-close {
  background: transparent;
  border: none;
  color: var(--slate-400);
  font-size: 22px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--cyan-400);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 5px;
  font-family: var(--font-mono);
}

/* Footer matching website */
footer {
  border-top: 1px solid rgba(6, 182, 212, 0.15);
  padding: 36px 0;
  text-align: center;
  font-size: 13px;
  color: var(--slate-400);
}

/* ============================================================================
   RESPONSIVE DESIGN & MOBILE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1024px) {
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .side-by-side-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-center-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
  }
  .metrics-comparison-deck {
    grid-template-columns: 1fr;
  }
  .checkbox-pills-grid {
    grid-template-columns: 1fr;
  }
  .liability-values-row {
    grid-template-columns: 1fr;
  }
  .nav-telemetry-status {
    display: none;
  }
}

/* ============================================================================
   ZERO ROUNDED CORNERS & DIRECT ALIASES (CYBERNETIC SPEC)
   ============================================================================ */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--slate-800);
  outline: none;
  border-radius: 0px !important;
  cursor: pointer;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.tco-summary-box {
  background: linear-gradient(135deg, rgba(8, 51, 68, 0.4) 0%, rgba(2, 6, 23, 0.8) 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 24px;
  position: relative;
  border-radius: 0px !important;
}

/* Enforce Zero Rounded Corners across all Cards & Containers */
.scanner-card,
.h2h-row-card,
.h2h-cell,
.h2h-metric-item,
.calc-results-card,
.metric-hud-tile,
.savings-highlight-box,
.tco-summary-box,
.matrix-row-card,
.competitor-tab-btn,
.stat-item-box {
  border-radius: 0px !important;
}
