/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE MIDNIGHT NAVY IMMERSION + TERMINAL MONITOR HUB
   Loaded last — brute-force overrides for body.page-home only.
   ═══════════════════════════════════════════════════════════════════ */

/* Professional token remap — eliminate legacy crypto green */
body.page-home {
  --green: #5c9ce5;
  --green-dim: rgba(92, 156, 229, 0.12);
  --green-mid: rgba(92, 156, 229, 0.28);
  --accent: #5c9ce5;
  --gold: #FFB000;
  --electric-blue: #5c9ce5;
  --status-gold: #FFB000;
}

/* Forces page backdrop to Midnight Navy */
body.page-home,
body.page-home section,
body.page-home header,
body.page-home footer,
body.page-home nav,
body.page-home .hero,
body.page-home .hero-section,
body.page-home .dashboard-tile,
body.page-home .accuracy-grid,
body.page-home .perf-dashboard-section,
body.page-home .value-prop-section,
body.page-home .pricing-cta-section {
  background-color: #0A192F !important;
  background: #0A192F !important;
}

/* Asset monitor hub — terminal surface panel */
body.page-home .terminal-monitor-hub {
  background-color: #112240 !important;
  background: #112240 !important;
  border: 1px solid #1E293B !important;
  box-shadow: none !important;
}

body.page-home .terminal-monitor-hub .terminal-parameter-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 24px !important;
  text-align: left !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.page-home .terminal-monitor-hub .parameter-cell {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  font-family: ui-monospace, monospace !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

body.page-home .coverage-ribbon {
  font-family: ui-monospace, monospace !important;
}

/* Primary CTA + interactive accents — Electric Blue */
body.page-home .hero-section button,
body.page-home .hero-section .hec-cta,
body.page-home .cta-button-active,
body.page-home .nav-links-desktop a[href="/dashboard"],
body.page-home .nav-cta-mobile,
body.page-home .pcs-button,
body.page-home .vp-card-cta--primary,
body.page-home .vp-grid > .vp-card:first-child .vp-card-cta {
  background-color: #5c9ce5 !important;
  color: #FFFFFF !important;
  border-color: #5c9ce5 !important;
  font-family: ui-monospace, monospace !important;
}

body.page-home .nav-links-desktop a[href="/dashboard"]:hover,
body.page-home .nav-cta-mobile:hover {
  background-color: #5c9ce5 !important;
  color: #FFFFFF !important;
}

/* High-confidence / system status — Monospace Gold */
body.page-home .hero-badge,
body.page-home .hero-badge .dot,
body.page-home .vp-eyebrow,
body.page-home .coverage-ribbon span:last-child,
body.page-home .vp-tr-value,
body.page-home .pdc-live-pill,
body.page-home .status-gold {
  color: #FFB000 !important;
}

body.page-home .hero-badge {
  border-color: rgba(255, 176, 0, 0.35) !important;
  background: rgba(255, 176, 0, 0.08) !important;
}

body.page-home .hero-badge .dot {
  background: #FFB000 !important;
  box-shadow: 0 0 10px rgba(255, 176, 0, 0.45) !important;
}

body.page-home .hero h1 .highlight {
  background: linear-gradient(135deg, #5c9ce5, #7eb3ed) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Global green purge on homepage chrome */
body.page-home .vp-card-icon,
body.page-home .vp-card-cta,
body.page-home .vp-trackrecord-strip,
body.page-home .tcl-plan-cta--premium,
body.page-home .hero-badge,
body.page-home [style*="var(--green)"] {
  color: #5c9ce5 !important;
}

body.page-home .vp-card-icon {
  background: rgba(92, 156, 229, 0.12) !important;
  border-color: rgba(92, 156, 229, 0.28) !important;
}

body.page-home .vp-trackrecord-strip {
  background: rgba(92, 156, 229, 0.08) !important;
  border-color: rgba(92, 156, 229, 0.22) !important;
}

body.page-home .vp-card-cta {
  color: #5c9ce5 !important;
}

body.page-home .vp-card-cta--primary,
body.page-home .vp-grid > .vp-card:first-child .vp-card-cta {
  color: #FFFFFF !important;
}

body.page-home .tcl-plan-cta--basic,
body.page-home .tcl-plan-cta--premium {
  background: rgba(92, 156, 229, 0.12) !important;
  border-color: rgba(92, 156, 229, 0.35) !important;
  color: #5c9ce5 !important;
}

body.page-home .tcl-plan-cta--premium {
  background: #5c9ce5 !important;
  color: #FFFFFF !important;
}

body.page-home ::selection {
  background: rgba(92, 156, 229, 0.28) !important;
  color: #F8FAFC !important;
}

/* Terminal nav — HOME | AUDIT | DOCS | HELP */
body.page-home .site-nav .nav-links-desktop a:not([href="/dashboard"]),
body.page-home .site-nav .mobile-nav-drawer a:not(.nav-cta-mobile) {
  font-family: ui-monospace, monospace !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
}

body.page-home .nav-links-desktop a[href="/"]::after,
body.page-home .nav-links-desktop a[href="/track-record"]::after,
body.page-home .nav-links-desktop a[href="/learn"]::after {
  content: ' |';
  color: #8892B0 !important;
  font-weight: 400 !important;
  pointer-events: none;
}
