/* ============================================================
   DESIGN SYSTEM & VARIABLES (OBSIDIAN VOID)
   ============================================================ */
:root {
  --bg: #020105;
  --ink: #ffffff;
  --muted: #a6a4b0;
  --soft: #797686;
  --line: rgba(255, 255, 255, 0.08);
  --panel: rgba(14, 11, 23, 0.65);
  --panel-glow: rgba(157, 5, 255, 0.08);
  --primary: #00ff94;      /* Neon Integrity Green */
  --purple: #00ff94;       /* Green alias for legacy scripts */
  --violet: #9d05ff;       /* Cyber Purple accent */
  --purple2: #020105;
  --accent-glow: rgba(157, 5, 255, 0.18);
  --green-glow: rgba(0, 255, 148, 0.15);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  font-family: Plus Jakarta Sans, Calibri, Aptos, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"),
    radial-gradient(circle at 15% 15%, rgba(157, 5, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 85% 45%, rgba(157, 5, 255, 0.015) 0%, transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(157, 5, 255, 0.01) 0%, transparent 55%),
    #000000;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 240px 240px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  color: var(--ink);
  line-height: 1.6;
  position: relative;
}

body::before,
body::after {
  display: none !important;
}

/* ============================================================
   BACKGROUND EFFECTS (WEBGL & GRAIN)
   ============================================================ */
#bg {
  display: none !important;
}

.grain {
  display: none !important;
}

.cursorGlow {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 255, 148, 0.04), rgba(157, 5, 255, 0.02) 20%, transparent 45%);
  mix-blend-mode: screen;
}

.topAura {
  display: none !important;
}

/* ============================================================
   HEADER / NAVIGATION BAR
   ============================================================ */
.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 6, 18, 0.45);
  backdrop-filter: blur(28px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 154px;
  height: auto;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar nav a {
  color: #d1cbdc;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.topbar nav a:hover {
  color: #fff;
  background: rgba(157, 5, 255, 0.12);
}

/* Color Coded Demo Buttons */
.topbar nav a.payer-demo-btn {
  background: linear-gradient(135deg, #00ff94, #00b368) !important;
  color: #020105 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(0, 255, 148, 0.3) !important;
  padding: 10px 18px !important;
}

.topbar nav a.payer-demo-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 255, 148, 0.45) !important;
}

.topbar nav a.provider-demo-btn {
  background: rgba(157, 5, 255, 0.24) !important;
  color: #ffffff !important;
  border: 1px solid var(--violet) !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(157, 5, 255, 0.25) !important;
  padding: 9px 18px !important;
}

.topbar nav a.provider-demo-btn:hover {
  background: var(--violet) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(157, 5, 255, 0.4) !important;
}

/* ============================================================
   SECTIONS & HERO
   ============================================================ */
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 70px;
  display: grid;
  align-items: center;
  position: relative;
}

.hero {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  min-height: 92svh;
  padding-top: 140px;
}

.heroText {
  max-width: 640px;
}

.kicker {
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 900;
  margin-bottom: 20px;
  display: inline-block;
  text-shadow: 0 0 12px rgba(157, 5, 255, 0.3);
}

.kicker.official-urgency-kicker,
.kicker.explainable-ai-logic-kicker {
  font-size: 1.8rem;
  letter-spacing: 0.28em;
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(157, 5, 255, 0.5);
  font-weight: 950;
}

h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.dollarsText {
  color: #00ff94;
  text-shadow: 0 0 15px rgba(0, 255, 148, 0.5);
  font-weight: 900;
}

.explainableText {
  color: #9d05ff;
  text-shadow: 0 0 20px rgba(157, 5, 255, 0.8);
  font-weight: 900;
}

.heroGlow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle at 68% 45%, rgba(157, 5, 255, 0.04) 0%, rgba(157, 5, 255, 0.01) 35%, rgba(157, 5, 255, 0) 65%);
  z-index: -2;
  pointer-events: none;
  filter: blur(90px);
}

.neonText {
  background: linear-gradient(135deg, #f3d5ff 0%, #e0b0ff 30%, #b565ff 70%, #9d05ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 900;
  display: inline-block;
  padding: 10px 28px 16px 10px;
  margin: -10px -28px -16px -10px;
  filter: drop-shadow(0 0 14px rgba(157, 5, 255, 0.82)) drop-shadow(0 0 3px rgba(157, 5, 255, 0.42));
  animation: neonPulse 3s infinite ease-in-out;
}

@keyframes neonPulse {
  0%, 100% {
    filter: drop-shadow(0 0 14px rgba(157, 5, 255, 0.82)) drop-shadow(0 0 3px rgba(157, 5, 255, 0.42));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(157, 5, 255, 0.98)) drop-shadow(0 0 5px rgba(157, 5, 255, 0.52));
  }
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.58;
  margin-bottom: 32px;
}

.heroButtons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(135deg, #00ff94, #00cc76);
  color: #020105;
  box-shadow: 0 12px 36px rgba(0, 255, 148, 0.25);
}

.btn.primary.provider-btn {
  background: rgba(157, 5, 255, 0.15);
  border: 1px solid var(--violet);
  color: #fff;
  box-shadow: 0 12px 36px rgba(157, 5, 255, 0.15);
}

.btn.primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 16px 42px rgba(0, 255, 148, 0.4);
}

.btn.primary.provider-btn:hover {
  background: var(--violet);
  box-shadow: 0 16px 42px rgba(157, 5, 255, 0.35);
}

/* reveal animation logic */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.on {
  opacity: 1;
  transform: none;
}

/* ============================================================
   COCKPIT TELEMETRY PANEL (REPLACING EKG)
   ============================================================ */
.cockpitStage {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cockpitPanel {
  width: 100%;
  max-width: 500px;
  border-radius: 28px;
  border: 1px solid rgba(157, 5, 255, 0.22);
  background: rgba(10, 6, 18, 0.45);
  backdrop-filter: blur(28px);
  padding: 24px;
  box-shadow: 0 30px 100px rgba(157, 5, 255, 0.16), 0 10px 40px rgba(157, 5, 255, 0.12), 0 32px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

/* Pristine glass finish - completely scanline-free */
.cockpitPanel::before {
  display: none;
}

.cockpitHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cockpitDots {
  display: flex;
  gap: 6px;
}

.cockpitDots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.cockpitHealth {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cockpitHealth .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.cockpitHealth .dot.pulse {
  animation: pulseGreen 1.6s infinite alternate;
}

@keyframes pulseGreen {
  from { transform: scale(0.9); box-shadow: 0 0 0 0px rgba(0, 255, 148, 0.7); }
  to { transform: scale(1.15); box-shadow: 0 0 12px 4px rgba(0, 255, 148, 0); }
}

.cockpitGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 72px;
  gap: 10px;
}

.cockpitCard {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cockpitCard.cardPurple {
  background: rgba(157, 5, 255, 0.15);
  border-color: rgba(157, 5, 255, 0.3);
  grid-column: span 2;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cardLabel {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.cardIndicator {
  width: 100%;
  height: 8px;
  background: rgba(157, 5, 255, 0.3);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.cardIndicator::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 70%;
  background: var(--violet);
  box-shadow: 0 0 10px rgba(157, 5, 255, 0.8);
}

.cockpitCard.cardTelemetry {
  grid-column: span 2;
  grid-row: span 2;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.telemetryContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 4px;
}

.coreFreq {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 0 10px rgba(0, 255, 148, 0.35);
  margin-top: 2px;
}

.coreActivity {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  animation: pulseGreen 1s infinite alternate;
}

.telemetryLines span {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}

.telemetryLines span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  background: var(--primary);
  animation: telemetryMove 2s infinite linear;
}

.telemetryLines span:nth-child(2)::after {
  width: 50%;
  background: var(--violet);
  animation-duration: 2.8s;
  animation-delay: 0.4s;
}

.telemetryLines span:nth-child(3)::after {
  width: 25%;
  background: var(--primary);
  animation-duration: 1.5s;
  animation-delay: 0.8s;
}

@keyframes telemetryMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.cockpitCard.cardChart {
  grid-column: span 2;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cardChart .cardLabel {
  color: var(--violet) !important;
  text-shadow: 0 0 8px rgba(157, 5, 255, 0.6);
}

.miniChart {
  width: 100%;
  height: 28px;
  overflow: visible !important;
}

.cockpitCard.cardNode {
  display: grid;
  place-items: center;
  background: rgba(157, 5, 255, 0.05);
  border-color: rgba(157, 5, 255, 0.18);
}

.nodeGlow {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 16px 8px rgba(157, 5, 255, 0.6);
  animation: beaconPulse 1.8s infinite ease-in-out;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(0.85); filter: brightness(1); }
  50% { transform: scale(1.15); filter: brightness(1.4); }
}

.cockpitCard.cardGreen {
  background: rgba(0, 255, 148, 0.08);
  border-color: rgba(0, 255, 148, 0.2);
}

.cockpitCard.cardBlank {
  border-color: rgba(255, 255, 255, 0.03);
  background: transparent;
}

.cockpitFooter {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.footerIcon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.footerTitle {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--primary);
}

.footerSubtitle {
  font-size: 0.65rem;
  color: var(--muted);
}

/* Animated Cockpit Cursor */
.cockpitCursor {
  position: absolute;
  width: 14px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7,2l12,11.2l-5.8,1l3.6,6.7l-2.7,1.4L10.3,15.5L6,19L7,2' fill='%2300ff94' stroke='%23020105' stroke-width='2'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(0, 255, 148, 0.8));
  transform: translate(-2px, -2px);
  transition: transform 0.1s ease;
}

/* Red flashing dot for alert state */
.dot.red-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff0055;
  animation: pulseRed 1s infinite alternate;
}

@keyframes pulseRed {
  from { transform: scale(0.9); box-shadow: 0 0 0 0px rgba(255, 0, 85, 0.7); }
  to { transform: scale(1.15); box-shadow: 0 0 12px 4px rgba(255, 0, 85, 0); }
}

/* Cockpit Hover Interactivity */
.cockpitCard {
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cockpitCard.cockpitHover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(157, 5, 255, 0.4);
  background: rgba(157, 5, 255, 0.1);
  box-shadow: 0 8px 24px rgba(157, 5, 255, 0.2);
}

.cockpitCard.cardPurple.cockpitHover {
  border-color: rgba(0, 255, 148, 0.45);
  background: rgba(0, 255, 148, 0.08);
  box-shadow: 0 8px 24px rgba(0, 255, 148, 0.22);
}

/* Metric card specific overrides */
.cardMetricVal {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-top: 4px;
  letter-spacing: -0.03em;
  text-shadow: 0 0 10px rgba(157, 5, 255, 0.4);
}

/* Dynamic metric indicator bar */
.cardIndicator {
  position: relative;
}

.cardIndicator::after {
  width: var(--risk-pct, 84%);
  transition: width 0.5s ease;
}

/* Tiny EKG waveform trace */
.cardEkg {
  grid-column: span 2;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.miniEkgContainer {
  width: 100%;
  height: 38px;
  margin-top: 4px;
  display: flex;
  align-items: center;
}

.miniEkgSvg {
  width: 100%;
  height: 100%;
}

.ekgPath {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawEkg 3s linear infinite;
}

@keyframes drawEkg {
  0% { stroke-dashoffset: 200; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -200; }
}

/* Scrolling terminal engine logs */
.cardCode {
  grid-column: span 2;
  grid-row: span 2;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.logContainer {
  font-family: Consolas, monospace;
  font-size: 0.55rem;
  color: var(--muted);
  height: 72px;
  overflow: hidden;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0,0,0,0.2);
  border-radius: 6px;
  padding: 6px;
  border: 1px solid var(--line);
}

.logLine {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: fadeLine 0.3s ease-out forwards;
}

@keyframes fadeLine {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Flashing red alert node card */
.cardAlertNode {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

.alertBeacon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 0, 85, 0.4);
  margin: auto;
  box-shadow: 0 0 6px rgba(255, 0, 85, 0.4);
  transition: all 0.3s ease;
}

.alertBeacon.pulseAlert {
  background: #ff0055;
  box-shadow: 0 0 16px 6px #ff0055;
  animation: flashingAlert 0.4s infinite alternate;
}

.alertText {
  font-size: 0.6rem;
  font-weight: 900;
  color: #ff0055;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes flashingAlert {
  from { opacity: 0.4; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.2); }
}

/* ============================================================
   MASSIVE GLOWING METRICS ROW
   ============================================================ */
.metricsRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 !important;
  margin-top: 40px;
}

.metricCol {
  text-align: center;
}

.metricVal {
  font-size: clamp(3.2rem, 6.2vw, 5.5rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: #fff;
  background: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(157, 5, 255, 0.25));
}

.metricLabel {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--primary);
}

/* ============================================================
   QUOTES & MICROCHIP SECTION
   ============================================================ */
.problemGrid {
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.quotesContainer {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quoteCard {
  padding: 28px;
  border-radius: 22px;
  border-left: 3px solid var(--violet);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quoteCard:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(157, 5, 255, 0.35);
  border-left-color: var(--primary); /* Shift the vertical bar color to glowing green on hover! */
  background: rgba(15, 10, 25, 0.78);
  box-shadow: 0 24px 60px rgba(157, 5, 255, 0.12), var(--shadow);
}

.sourceQuote {
  margin: 0 0 16px;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.quoteAuthor {
  display: flex;
  flex-direction: column;
}

.authorName {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.authorTitle {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Q Microchip board logic */
.problemRight {
  display: grid;
  place-items: center;
}

.chipCard {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  background: rgba(14, 11, 23, 0.6);
  border: 1px solid rgba(157, 5, 255, 0.15);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), inset 0 0 40px rgba(157, 5, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.chipCard:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(157, 5, 255, 0.35);
  box-shadow: 0 32px 90px rgba(157, 5, 255, 0.18), inset 0 0 50px rgba(157, 5, 255, 0.15);
}

.chipImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.chipCard:hover .chipImage {
  transform: scale(1.04);
}

.chipGlowOverlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(157, 5, 255, 0.1) 80%);
}

/* ============================================================
   PROBLEM QUOTES & SHOWCASE STYLING
   ============================================================ */
.problemQuotes {
  padding-top: 80px;
  padding-bottom: 80px;
}

.quotesGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.chipShowcase {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 24px;
  background: radial-gradient(circle at center, rgba(157, 5, 255, 0.03) 0%, rgba(157, 5, 255, 0.008) 40%, transparent 75%);
  position: relative;
}

.chipShowcaseInner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* ============================================================
   PLATFORM GRID CARDS (EXPLAINABLE AI LOGIC)
   ============================================================ */
.textCenter {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.textCenter h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -0.04em;
  margin-top: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.cards article.cardDesign {
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(14, 11, 23, 0.45);
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.cards article.cardDesign::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(157, 5, 255, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cards article.cardDesign:hover {
  transform: translateY(-6px);
  border-color: rgba(157, 5, 255, 0.3);
  box-shadow: 0 24px 60px rgba(157, 5, 255, 0.1);
}

.cards article.cardDesign:hover::before {
  opacity: 1;
}

.cardIcon svg {
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  display: block;
}

.cards b {
  display: block;
  color: #fff;
  font-size: 1.28rem;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cards span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.thresholdBar {
  margin-top: 18px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.thresholdBar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--primary));
  border-radius: 99px;
}

/* ============================================================
   EARLY ACCESS FORM (OBSIDIAN THEMED)
   ============================================================ */
.interest {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  padding-bottom: 100px;
}

.interestCopy h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.complianceBadges {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.complianceBadges .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
}

.badgeIcon {
  color: var(--primary);
}

.interestForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 38px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(10, 6, 18, 0.45);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(28px);
}

.formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.interestForm label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 0.84rem;
}

.interestForm input,
.interestForm select,
.interestForm textarea {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #06030b;
  color: #fff;
  font: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: all 0.25s ease;
}

.interestForm select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 40px;
}

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

.interestForm input:focus,
.interestForm select:focus,
.interestForm textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(157, 5, 255, 0.22);
}

.interestForm button.submitBtn {
  margin-top: 10px;
  width: 100%;
  padding: 16px 22px;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #00ff94, #00c773);
  color: #020105;
  box-shadow: 0 12px 32px rgba(0, 255, 148, 0.2);
}

.interestForm button.submitBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 255, 148, 0.35);
}

.formStatus {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  display: none;
}

.formStatus:not(:empty) {
  display: block;
  border: 1px solid rgba(157, 5, 255, 0.3);
  background: rgba(157, 5, 255, 0.1);
  color: #e9dfff;
  animation: revealStatus 0.35s ease-out forwards;
}

@keyframes revealStatus {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   EXPANDED STRUCTURED FOOTER
   ============================================================ */
.siteFooter {
  width: 100%;
  border-top: 1px solid var(--line);
  background: rgba(4, 2, 8, 0.85);
  padding: 62px 24px 44px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
}

.siteFooterTop {
  width: min(1180px, 100%);
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footerBrandCol {
  max-width: 320px;
}

.footerBrandCol .brand {
  margin-bottom: 16px;
}

.footerMuted {
  color: var(--soft);
  font-size: 0.82rem;
  margin: 0;
}

.footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  max-width: 680px;
  align-content: flex-start;
}

.footerLinks a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footerLinks a:hover {
  color: var(--primary);
}

.siteFooterBottom {
  width: min(1180px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.legalLinks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legalLinks a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.legalLinks a:hover {
  color: var(--primary);
}

/* Helper text alignment classes */
.textLeft { text-align: left !important; }
.textCenter { text-align: center !important; }

/* ============================================================
   SIBLING PAGES & COMPATIBILITY STYLING
   ============================================================ */
.seoHeader {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seoLogo img {
  width: 168px;
  height: auto;
  display: block;
}

.seoNav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.seoNav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  transition: all 0.2s ease;
}

.seoNav a:hover {
  color: #fff;
  border-color: var(--violet);
  background: rgba(157, 5, 255, 0.08);
}

.seoNav a.active {
  color: #fff;
  border-color: var(--violet);
  background: rgba(157, 5, 255, 0.18);
  font-weight: 600;
}

.seoNav a.payer-demo-btn {
  background: linear-gradient(135deg, #00ff94, #00b368) !important;
  color: #020105 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(0, 255, 148, 0.3) !important;
  border-color: transparent !important;
}

.seoNav a.payer-demo-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 255, 148, 0.45) !important;
}

.seoNav a.provider-demo-btn {
  background: rgba(157, 5, 255, 0.24) !important;
  color: #ffffff !important;
  border: 1px solid var(--violet) !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(157, 5, 255, 0.25) !important;
}

.seoNav a.provider-demo-btn:hover {
  background: var(--violet) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(157, 5, 255, 0.4) !important;
}

.seoPage {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 96px;
}

.seoArticle {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(14, 11, 23, 0.65);
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.5);
  padding: clamp(24px, 5vw, 56px);
}

.seoArticle .eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 16px;
}

.seoArticle h1 {
  margin: 0 0 18px;
  max-width: 900px;
}

.seoArticle .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 820px;
}

.seoArticle section {
  margin-top: 36px;
}

.seoArticle h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
}

.seoArticle p,
.seoArticle li {
  color: var(--muted);
  line-height: 1.65;
}

.seoArticle a {
  color: var(--primary);
  text-decoration: underline;
}

.sourceBox {
  padding: 22px;
  border: 1px solid rgba(157, 5, 255, 0.25);
  border-radius: 20px;
  background: rgba(157, 5, 255, 0.05);
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES (HARDENING)
   ============================================================ */
@media (max-width: 980px) {
  .topbar {
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 64px !important;
    padding: 10px 18px !important;
  }
  
  .topbar nav {
    gap: 4px !important;
  }
  
  .topbar nav a {
    font-size: 0.78rem !important;
    padding: 8px 10px !important;
  }
  
  .brand img {
    width: 132px !important;
  }

  .hero {
    grid-template-columns: 1fr !important;
    padding-top: 120px;
    gap: 36px;
    min-height: auto;
  }

  .heroText {
    max-width: 100%;
  }

  .cockpitStage {
    justify-content: center;
  }

  .metricsRow {
    grid-template-columns: 1fr !important;
    gap: 28px;
    padding: 38px 0 !important;
  }

  .problemGrid,
  .quotesGrid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  .cards {
    grid-template-columns: 1fr 1fr !important;
  }

  .interest {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  .siteFooterTop {
    flex-direction: column;
    gap: 30px;
  }

  .siteFooterBottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Autoplaying Breathing Keyframe Allocations (Mobile & Tablet) */
  .cockpitPanel {
    animation: mobileBreatheNeutral 8s infinite ease-in-out !important;
  }
  .cockpitCard.cardPurple {
    animation: mobileBreathePurple 5s infinite ease-in-out !important;
  }
  .cockpitCard.cardTelemetry {
    animation: mobileBreatheGreen 6s infinite ease-in-out !important;
  }
  .cockpitCard.cardEkg {
    animation: mobileBreathePurple 5.5s infinite ease-in-out !important;
  }
  .cockpitCard.cardChart {
    animation: mobileBreatheGreen 6.5s infinite ease-in-out !important;
  }
  .cockpitCard.cardCode {
    animation: mobileBreatheNeutral 7s infinite ease-in-out !important;
  }
  .cockpitCard.cardAlertNode {
    animation: mobileBreathePurple 4.8s infinite ease-in-out !important;
  }
  .cockpitCard.cardNode {
    animation: mobileBreatheNeutral 7.5s infinite ease-in-out !important;
  }
  .quoteCard:nth-child(odd) {
    animation: mobileBreathePurple 6s infinite ease-in-out !important;
  }
  .quoteCard:nth-child(even) {
    animation: mobileBreatheGreen 6.5s infinite ease-in-out !important;
  }
  .cards article.cardDesign:nth-child(3n+1) {
    animation: mobileBreathePurple 5.5s infinite ease-in-out !important;
  }
  .cards article.cardDesign:nth-child(3n+2) {
    animation: mobileBreatheGreen 6.2s infinite ease-in-out !important;
  }
  .cards article.cardDesign:nth-child(3n+3) {
    animation: mobileBreatheNeutral 7.1s infinite ease-in-out !important;
  }
  .chipCard {
    animation: chipBreathe 5s infinite ease-in-out !important;
  }
  .chipImage {
    animation: chipImageBreathe 5s infinite ease-in-out !important;
  }

  /* Responsive kicker scale-up for mobile and tablet */
  .kicker.official-urgency-kicker,
  .kicker.explainable-ai-logic-kicker {
    font-size: 1.4rem !important;
    letter-spacing: 0.24em !important;
  }
}

@media (max-width: 640px) {
  .topbar nav {
    display: none !important;
  }

  .section {
    width: min(100% - 32px, 1180px) !important;
    padding-top: 80px !important;
    padding-bottom: 48px !important;
  }

  .hero h1, h1 {
    font-size: clamp(2rem, 11vw, 3rem) !important;
    line-height: 1.05 !important;
  }

  .heroButtons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr !important;
  }

  .interestForm {
    padding: 24px;
    border-radius: 22px;
  }

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

  .complianceBadges {
    flex-direction: column;
    gap: 10px;
  }
}

.seoLogo {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}

.aiBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 22px;
  border-radius: 8px;
  background: rgba(0, 255, 148, 0.1);
  border: 1px solid rgba(0, 255, 148, 0.45);
  color: #00ff94;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-left: -4px;
  box-shadow: 0 0 12px rgba(0, 255, 148, 0.2);
  animation: aiBreathe 3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes aiBreathe {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 255, 148, 0.15);
    border-color: rgba(0, 255, 148, 0.35);
    background: rgba(0, 255, 148, 0.06);
  }
  50% {
    box-shadow: 0 0 16px rgba(0, 255, 148, 0.5);
    border-color: rgba(0, 255, 148, 0.8);
    background: rgba(0, 255, 148, 0.15);
  }
}

/* ============================================================
   THANK YOU PREMIUM OVERLAY MODAL & BRAND STYLING (PHASE 11)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(2, 1, 5, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Floating Organic Bokeh Spheres Layer behind the modal box */
.modal-bokeh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.modal-bokeh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  opacity: 0.08;
  mix-blend-mode: screen;
  will-change: transform;
}

.bokeh-emerald-1 {
  width: 40vw;
  height: 40vw;
  min-width: 320px;
  min-height: 320px;
  top: -10%;
  left: 15%;
  background: radial-gradient(circle, rgba(0, 255, 148, 0.04) 0%, rgba(0, 255, 148, 0) 70%);
  animation: floatBokeh1 16s ease-in-out infinite alternate;
}

.bokeh-purple-1 {
  width: 45vw;
  height: 45vw;
  min-width: 350px;
  min-height: 350px;
  bottom: -15%;
  right: 10%;
  background: radial-gradient(circle, rgba(157, 5, 255, 0.03) 0%, rgba(157, 5, 255, 0) 70%);
  animation: floatBokeh2 20s ease-in-out infinite alternate;
}

.bokeh-emerald-2 {
  width: 35vw;
  height: 35vw;
  min-width: 280px;
  min-height: 280px;
  bottom: 10%;
  left: -5%;
  background: radial-gradient(circle, rgba(0, 255, 148, 0.03) 0%, rgba(0, 255, 148, 0) 70%);
  animation: floatBokeh3 18s ease-in-out infinite alternate;
}

.bokeh-purple-2 {
  width: 38vw;
  height: 38vw;
  min-width: 300px;
  min-height: 300px;
  top: 20%;
  right: -10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.03) 0%, rgba(124, 58, 237, 0) 70%);
  animation: floatBokeh4 22s ease-in-out infinite alternate;
}

/* GPU Hardware-Accelerated Floating Animations */
@keyframes floatBokeh1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5vw, 8vh, 0) scale(1.15); }
  100% { transform: translate3d(-3vw, -4vh, 0) scale(0.9); }
}

@keyframes floatBokeh2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6vw, -8vh, 0) scale(0.85); }
  100% { transform: translate3d(4vw, 5vh, 0) scale(1.1); }
}

@keyframes floatBokeh3 {
  0% { transform: translate3d(0, 0, 0) scale(0.9); }
  50% { transform: translate3d(4vw, -5vh, 0) scale(1.1); }
  100% { transform: translate3d(-2vw, 6vh, 0) scale(1); }
}

@keyframes floatBokeh4 {
  0% { transform: translate3d(0, 0, 0) scale(1.1); }
  50% { transform: translate3d(-5vw, 6vh, 0) scale(0.9); }
  100% { transform: translate3d(3vw, -5vh, 0) scale(1.05); }
}

.thank-you-box {
  background: rgba(10, 6, 18, 0.65);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(157, 5, 255, 0.22);
  border-radius: 28px;
  padding: 60px 48px;
  max-width: 640px;
  width: 100%;
  text-align: center;
  box-shadow: 
    0 40px 120px rgba(0, 0, 0, 0.85), 
    0 10px 40px rgba(157, 5, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.show .thank-you-box {
  transform: scale(1);
}

/* Pristine glass finish - completely scanline-free */
.thank-you-box::before {
  display: none;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: 0;
  color: var(--soft);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  z-index: 12;
}

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

.thank-you-logo {
  height: 40px;
  width: auto;
  margin-bottom: 0;
  display: block;
}

.thank-you-box h1 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.thank-you-box p {
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Reorganized Pill Button Grid (Back to Home on Top, Demos Side-by-Side below) */
.thank-you-buttons-container-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.thank-you-buttons-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.thank-you-btn {
  text-decoration: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 999px;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Back to Home Button - Centered Top Pill */
.thank-you-btn.btn-home {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 380px;
}

.thank-you-btn.btn-home:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 24px rgba(157, 5, 255, 0.25), 
    0 8px 24px rgba(0, 255, 148, 0.18);
}

/* Equal-sized Side-by-Side Demos */
.thank-you-buttons-row .thank-you-btn {
  flex: 1;
  max-width: 260px;
}

/* Explore Payer Button - Calibrated Emerald Green */
.thank-you-btn.btn-payer {
  background: linear-gradient(135deg, #00ff94, #00b368);
  color: #020105;
  border: 1px solid rgba(0, 255, 148, 0.45);
  box-shadow: 0 4px 18px rgba(0, 255, 148, 0.35);
}

.thank-you-btn.btn-payer:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 24px rgba(0, 255, 148, 0.55);
  border-color: rgba(0, 255, 148, 0.8);
}

/* Explore Provider Button - Calibrated Neon Purple */
.thank-you-btn.btn-provider {
  background: linear-gradient(135deg, #9d05ff, #8b00ff);
  color: #ffffff;
  border: 1px solid rgba(157, 5, 255, 0.45);
  box-shadow: 0 4px 18px rgba(157, 5, 255, 0.35);
}

.thank-you-btn.btn-provider:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 8px 24px rgba(157, 5, 255, 0.55);
  border-color: rgba(157, 5, 255, 0.8);
}

.thank-you-btn:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .thank-you-box {
    padding: 40px 24px;
    border-radius: 24px;
  }
  
  .thank-you-buttons-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  
  .thank-you-buttons-row .thank-you-btn {
    max-width: 100% !important;
    width: 100%;
  }
  
  .thank-you-btn.btn-home {
    max-width: 100% !important;
    width: 100%;
  }
  
  .kicker {
    font-size: 1.15rem !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
  }
  
  .kicker.official-urgency-kicker,
  .kicker.explainable-ai-logic-kicker {
    font-size: 1.3rem !important;
    letter-spacing: 0.22em !important;
  }
  
  h2, h3, .lead {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
  }
}

/* ============================================================
   THEME TOGGLE SWITCH STYLING
   ============================================================ */
.mainThemeToggle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 99px;
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.mainThemeToggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--violet);
  box-shadow: 0 0 12px rgba(157, 5, 255, 0.2);
}

.mainThemeToggle i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff94;
  box-shadow: 0 0 8px #00ff94;
  transition: all 0.3s ease;
}

html[data-theme="light"] .mainThemeToggle i {
  background: #9d05ff;
  box-shadow: 0 0 8px #9d05ff;
}

/* ============================================================
   LIGHT MODE STYLING & VARIABLE CALIBRATION
   ============================================================ */
html[data-theme="light"] {
  --bg: #f5f3f7;
  --ink: #0d0914;
  --muted: #4e4a5c;
  --soft: #736e82;
  --line: rgba(13, 9, 20, 0.08);
  --panel: rgba(255, 255, 255, 0.75);
  --panel-glow: rgba(157, 5, 255, 0.04);
  --purple2: #f5f3f7;
  --accent-glow: rgba(157, 5, 255, 0.08);
  --green-glow: rgba(0, 255, 148, 0.1);
  --shadow: 0 15px 40px rgba(13, 9, 20, 0.1);
}

html[data-theme="light"] body {
  background: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E"),
    radial-gradient(circle at 15% 15%, rgba(157, 5, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 45%, rgba(157, 5, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(157, 5, 255, 0.01) 0%, transparent 55%),
    #ffffff !important;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 240px 240px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}

html[data-theme="light"] body::before,
html[data-theme="light"] body::after {
  display: none !important;
}

html[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 30px rgba(13, 9, 20, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .cockpitPanel,
html[data-theme="light"] .interestForm {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 50px rgba(13, 9, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(157, 5, 255, 0.15);
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] .metricVal,
html[data-theme="light"] .cards b,
html[data-theme="light"] .interestForm label,
html[data-theme="light"] .quoteCard h3,
html[data-theme="light"] .sourceQuote,
html[data-theme="light"] .cardMetricVal,
html[data-theme="light"] .coreFreq {
  color: #0d0914;
}

html[data-theme="light"] .quotesGrid {
  background: transparent;
}

html[data-theme="light"] .quoteCard {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(13, 9, 20, 0.04);
}

html[data-theme="light"] .quoteCard:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 40px rgba(157, 5, 255, 0.1);
}

html[data-theme="light"] .cockpitCard {
  background: rgba(13, 9, 20, 0.02);
  border-color: rgba(13, 9, 20, 0.06);
}

html[data-theme="light"] .cockpitCard.cardPurple {
  background: rgba(157, 5, 255, 0.08);
  border-color: rgba(157, 5, 255, 0.15);
}

html[data-theme="light"] .interestForm input,
html[data-theme="light"] .interestForm select,
html[data-theme="light"] .interestForm textarea {
  background-color: #ffffff;
  color: #0d0914;
  border-color: rgba(13, 9, 20, 0.1);
}

html[data-theme="light"] .interestForm select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d0914'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

html[data-theme="light"] .interestForm input:focus,
html[data-theme="light"] .interestForm select:focus,
html[data-theme="light"] .interestForm textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(157, 5, 255, 0.15);
}

html[data-theme="light"] .cards article.cardDesign {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(13, 9, 20, 0.04);
}

html[data-theme="light"] .cards article.cardDesign:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 40px rgba(157, 5, 255, 0.08);
}

html[data-theme="light"] .chipCard {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(157, 5, 255, 0.12);
}

html[data-theme="light"] .thank-you-box {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(157, 5, 255, 0.2);
  box-shadow: 0 30px 80px rgba(13, 9, 20, 0.15);
}

html[data-theme="light"] .thank-you-box h1 {
  color: #0d0914;
}

html[data-theme="light"] .thank-you-btn.btn-home {
  background: rgba(13, 9, 20, 0.05);
  color: #0d0914;
  border-color: rgba(13, 9, 20, 0.15);
}

html[data-theme="light"] .dollarsText {
  color: #008f50 !important;
  text-shadow: 0 0 10px rgba(0, 143, 80, 0.2) !important;
}

html[data-theme="light"] .explainableText {
  color: #7c00e6 !important;
  text-shadow: 0 0 10px rgba(124, 0, 230, 0.2) !important;
}

html[data-theme="light"] .topbar nav a:not(.payer-demo-btn):not(.provider-demo-btn) {
  color: #4e4a5c !important;
}

html[data-theme="light"] .topbar nav a:not(.payer-demo-btn):not(.provider-demo-btn):hover {
  color: #7c00e6 !important;
  background: rgba(157, 5, 255, 0.08) !important;
}

html[data-theme="light"] .topbar nav a.provider-demo-btn {
  background: rgba(157, 5, 255, 0.08) !important;
  border: 1px solid rgba(157, 5, 255, 0.5) !important;
  color: #7c00e6 !important;
  box-shadow: 0 4px 12px rgba(157, 5, 255, 0.1) !important;
}

html[data-theme="light"] .topbar nav a.provider-demo-btn:hover {
  background: #7c00e6 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(157, 5, 255, 0.2) !important;
}

html[data-theme="light"] .kicker {
  color: #7c00e6 !important;
  text-shadow: 0 0 8px rgba(124, 0, 230, 0.15) !important;
}

html[data-theme="light"] .cardLabel {
  color: #7c00e6 !important;
}

html[data-theme="light"] .logContainer {
  background: rgba(13, 9, 20, 0.03) !important;
  border-color: rgba(13, 9, 20, 0.08) !important;
}

html[data-theme="light"] .logLine {
  color: #0d0914 !important;
}

html[data-theme="light"] .siteFooter {
  background: rgba(255, 255, 255, 0.65) !important;
  border-top: 1px solid rgba(13, 9, 20, 0.08) !important;
}

html[data-theme="light"] .footerMuted {
  color: #736e82 !important;
}

html[data-theme="light"] .footerLinks a {
  color: #4e4a5c !important;
}

html[data-theme="light"] .footerLinks a:hover {
  color: #7c00e6 !important;
}

/* ============================================================
   LIGHT MODE SUB-PAGES OVERRIDES
   ============================================================ */
html[data-theme="light"] .seoArticle {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(13, 9, 20, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 28px 80px rgba(13, 9, 20, 0.06) !important;
}

html[data-theme="light"] .seoArticle h1,
html[data-theme="light"] .seoArticle h2 {
  color: #0d0914 !important;
}

html[data-theme="light"] .seoArticle .eyebrow {
  color: #008f50 !important;
}

html[data-theme="light"] .seoArticle .lead {
  color: #4e4a5c !important;
}

html[data-theme="light"] .seoArticle p,
html[data-theme="light"] .seoArticle li {
  color: #4e4a5c !important;
}

html[data-theme="light"] .seoArticle a {
  color: #7c00e6 !important;
  text-decoration-color: rgba(124, 0, 230, 0.3) !important;
}

html[data-theme="light"] .seoArticle a:hover {
  color: #9d05ff !important;
  text-decoration-color: rgba(157, 5, 255, 0.6) !important;
}

html[data-theme="light"] .sourceBox {
  background: rgba(157, 5, 255, 0.02) !important;
  border-color: rgba(157, 5, 255, 0.15) !important;
}

/* Sub-page Navigation Light Mode Styling */
html[data-theme="light"] .seoNav a {
  color: #4e4a5c !important;
  border-color: rgba(13, 9, 20, 0.1) !important;
  background: rgba(13, 9, 20, 0.02) !important;
}

html[data-theme="light"] .seoNav a:hover {
  color: #7c00e6 !important;
  border-color: #7c00e6 !important;
  background: rgba(157, 5, 255, 0.06) !important;
}

html[data-theme="light"] .seoNav a.active {
  color: #ffffff !important;
  background: #7c00e6 !important;
  border-color: #7c00e6 !important;
}

html[data-theme="light"] .seoNav a.provider-demo-btn {
  background: rgba(157, 5, 255, 0.08) !important;
  border: 1px solid rgba(157, 5, 255, 0.5) !important;
  color: #7c00e6 !important;
  box-shadow: 0 4px 12px rgba(157, 5, 255, 0.1) !important;
}

html[data-theme="light"] .seoNav a.provider-demo-btn:hover {
  background: #7c00e6 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(157, 5, 255, 0.2) !important;
}

/* ============================================================
   CARD BREATHING KEYFRAMES
   ============================================================ */
@keyframes mobileBreathePurple {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow);
    border-color: rgba(157, 5, 255, 0.15);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 15px 35px var(--accent-glow);
    border-color: rgba(157, 5, 255, 0.45);
  }
}

@keyframes mobileBreatheGreen {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow);
    border-color: var(--line);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 15px 35px var(--green-glow);
    border-color: rgba(0, 255, 148, 0.4);
  }
}

@keyframes mobileBreatheNeutral {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow);
    border-color: var(--line);
  }
  50% {
    transform: scale(1.012);
    box-shadow: 0 12px 30px var(--accent-glow);
    border-color: rgba(157, 5, 255, 0.25);
  }
}

@keyframes chipBreathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow);
    border-color: rgba(157, 5, 255, 0.15);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 20px 50px var(--accent-glow);
    border-color: rgba(157, 5, 255, 0.35);
  }
}

@keyframes chipImageBreathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

/* Light mode overrides for cockpit telemetry values & provider demo button contrast */
html[data-theme="light"] .metricVal {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #0d0914 !important;
  color: #0d0914 !important;
  filter: none !important;
}
html[data-theme="light"] .metricLabel {
  color: var(--violet) !important;
}
html[data-theme="light"] .btn.primary.provider-btn {
  background: rgba(157, 5, 255, 0.08) !important;
  color: #7c00e6 !important;
  border-color: rgba(157, 5, 255, 0.5) !important;
  box-shadow: 0 12px 36px rgba(157, 5, 255, 0.1) !important;
}
html[data-theme="light"] .btn.primary.provider-btn:hover {
  background: #7c00e6 !important;
  color: #ffffff !important;
  box-shadow: 0 16px 42px rgba(157, 5, 255, 0.2) !important;
}

@media (max-width: 640px) {
  .mainThemeToggle {
    display: flex !important;
  }
}



