/**
 * ==============================================================================
 * CURASYNC ENTERPRISE DESIGN SYSTEM
 * Smarter RCM. Healthier Revenue.
 * 
 * Version: 1.0.0
 * Architecture: Static Modern CSS (No preprocessor / No Node runtime required)
 * Team Apollo (UI/UX & Web Frontend) | Virtual AI Studio
 * ==============================================================================
 */

/* ==========================================================================
   1. ROOT DESIGN TOKENS & CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* --- Primary Brand Colors --- */
  --color-navy: #0B2546;
  --color-navy-dark: #071930;
  --color-navy-light: #163E74;
  --color-navy-subtle: #1E293B;
  --color-navy-deep: #031E33;
  --color-obsidian-hero: #021B2F;

  /* --- Surgical Teal & Cyan Accents --- */
  --color-teal: #0891B2;
  --color-teal-dark: #0E7490;
  --color-teal-light: #E0F2FE;
  --color-teal-subtle: #F0FDF4;
  --color-accent: #06B6D4;
  --color-accent-hover: #0891B2;
  --color-accent-glow: rgba(8, 145, 178, 0.25);

  /* --- Status & Semantic Feedback --- */
  --color-emerald: #10B981;
  --color-emerald-primary: #059669;
  --color-emerald-light: #D1FAE5;
  --color-emerald-dark: #047857;
  --color-emerald-glow: rgba(16, 185, 129, 0.25);
  --color-rose: #F43F5E;
  --color-rose-light: #FFE4E6;
  --color-rose-dark: #BE123C;
  --color-amber: #F59E0B;
  --color-amber-light: #FEF3C7;
  --color-amber-dark: #B45309;

  /* --- Neutral & Surface Backgrounds --- */
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-dark: #0B2546;
  --bg-dark-card: #0F2F57;
  --bg-dark-surface: #071930;
  --bg-obsidian: #030F21;
  --bg-obsidian-subtle: #05162E;
  --bg-card-glass: rgba(255, 255, 255, 0.92);
  --bg-card-glass-dark: rgba(7, 25, 48, 0.82);

  /* --- Surgical Accents, Borders & Luminous Glows --- */
  --color-cyan-glow: rgba(6, 182, 212, 0.18);
  --color-emerald-glow: rgba(16, 185, 129, 0.14);
  --border-surgical: rgba(14, 116, 144, 0.25);
  --border-surgical-glow: rgba(6, 182, 212, 0.45);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* --- Premium Gradients --- */
  --grad-obsidian: linear-gradient(135deg, #030F21 0%, #071930 55%, #0B2546 100%);
  --grad-surgical: linear-gradient(135deg, #0E7490 0%, #06B6D4 100%);
  --grad-emerald-teal: linear-gradient(135deg, #047857 0%, #10B981 50%, #06B6D4 100%);

  /* --- Accessible High-Contrast Text Tokens (WCAG AA Compliant) --- */
  --color-teal-text: #0E7490;
  --color-rose-text: #BE123C;
  --color-emerald-text: #047857;
  --color-amber-text: #B45309;

  /* --- Typography Colors --- */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  --text-teal: #0E7490;

  /* --- Crisp Border Colors --- */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-accent: #94A3B8;
  --border-teal: rgba(8, 145, 178, 0.35);
  --border-teal-focus: #0891B2;

  /* --- System Font Stack --- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* --- Typographic Scale --- */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-display: clamp(2.5rem, 5vw, 3.75rem);

  /* --- Shadows & Elevation --- */
  --shadow-xs: 0 1px 2px 0 rgba(11, 37, 70, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(11, 37, 70, 0.08), 0 1px 2px -1px rgba(11, 37, 70, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 37, 70, 0.09), 0 2px 4px -2px rgba(11, 37, 70, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(11, 37, 70, 0.1), 0 4px 6px -4px rgba(11, 37, 70, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(11, 37, 70, 0.12), 0 8px 10px -6px rgba(11, 37, 70, 0.06);
  --shadow-teal-glow: 0 4px 14px rgba(8, 145, 178, 0.35);
  --shadow-teal-glow-lg: 0 8px 24px rgba(8, 145, 178, 0.45);

  /* --- Border Radius --- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* --- Layout & Spacing --- */
  --header-height: 72px;
  --container-max-width: 1240px;
  --container-narrow-width: 880px;

  /* --- Transitions --- */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. CSS RESET & GLOBAL NORMALIZE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 72px) + 24px);
  color: var(--text-primary);
  background-color: var(--bg-body);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-body);
  color: var(--text-primary);
}

body.drawer-open,
body.modal-open {
  overflow: hidden;
}

img, svg, picture, video {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. TYPOGRAPHY SYSTEM
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.display-title {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-navy);
}

h1, .h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.15;
}

h2, .h2 {
  font-size: var(--text-3xl);
}

h3, .h3 {
  font-size: var(--text-2xl);
}

h4, .h4 {
  font-size: var(--text-xl);
}

h5, .h5 {
  font-size: var(--text-lg);
}

h6, .h6 {
  font-size: var(--text-base);
  font-weight: 600;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-secondary);
}

.body-text {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
}

.caption {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Numeric & Metric Tabular Display */
.metric-value,
.score-value,
.leakage-amount,
.benchmark-table td,
.tab-num,
.step-node,
.method-num,
.yield-metric-value,
.slider-value-badge,
.stage-metric,
.ops-stage-stat,
.efficiency-percentage {
  font-feature-settings: 'tnum' 1, 'cv05' 1;
  font-variant-numeric: tabular-nums;
}

/* Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-teal-dark);
  background-color: var(--color-teal-light);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.eyebrow-navy {
  color: var(--color-navy);
  background-color: var(--bg-subtle);
  border-color: var(--border-medium);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--color-teal);
  box-shadow: 0 0 6px var(--color-accent);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.highlight-text {
  color: var(--color-teal);
  position: relative;
  display: inline-block;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-navy) 20%, var(--color-teal) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Badges & Status Indicators */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  width: fit-content;
  line-height: 1.3;
}

.badge-teal {
  background-color: var(--color-teal-light);
  color: var(--color-teal-dark);
  border: 1px solid var(--border-teal);
}

.badge-navy {
  background-color: var(--bg-subtle);
  color: var(--color-navy);
  border: 1px solid var(--border-subtle);
}

.badge-emerald {
  background-color: var(--color-emerald-light);
  color: var(--color-emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background-color: var(--color-amber-light);
  color: var(--color-amber-dark);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.5;
  font-weight: 500;
}

.alert-success {
  background-color: var(--color-emerald-light);
  color: var(--color-emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-warning {
  background-color: var(--color-amber-light);
  color: var(--color-amber-dark);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   4. LAYOUT & GRID UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-lg {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark {
  background-color: var(--color-navy);
  color: var(--text-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark .section-title {
  color: var(--text-white);
}

.section-dark .section-subtitle,
.section-dark .lead,
.section-dark .body-text {
  color: var(--text-light);
}

/* Flexbox Utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }

/* Grid Utilities */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2,
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-3,
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-sidebar {
  grid-template-columns: 280px 1fr;
}

/* Spacing Helpers */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Color & Background Utilities */
.bg-navy { background-color: var(--color-navy) !important; }
.bg-teal { background-color: var(--color-teal) !important; }
.bg-emerald { background-color: var(--color-emerald) !important; }
.bg-subtle { background-color: var(--bg-subtle) !important; }

.text-white { color: var(--text-white) !important; }
.text-teal { color: var(--color-teal) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text-light) !important; }
.text-success { color: var(--color-emerald) !important; }
.text-amber { color: var(--color-amber) !important; }
.text-rose { color: var(--color-rose) !important; }
.text-sm { font-size: var(--text-sm) !important; }
.text-xs { font-size: var(--text-xs) !important; }
.font-semibold { font-weight: 600 !important; }

/* Border Utilities */
.border-teal { border-color: var(--border-teal) !important; }
.border-white { border-color: rgba(255, 255, 255, 0.4) !important; }

/* Visibility */
.hidden { display: none !important; }

@media (max-width: 768px) {
  .hidden-mobile { display: none !important; }
}

@media (min-width: 769px) {
  .hidden-desktop { display: none !important; }
}

/* ==========================================================================
   5. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* Primary Teal CTA */
.btn-primary {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: var(--text-white);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-teal-glow);
}

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

/* Secondary White Card Button */
.btn-secondary {
  background-color: var(--bg-card);
  color: var(--color-navy);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-accent);
  color: var(--color-navy-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Outline Teal */
.btn-outline {
  background-color: transparent;
  color: var(--color-teal-dark);
  border-color: var(--color-teal);
}

.btn-outline:hover {
  background-color: var(--color-teal-light);
  color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
}

/* Dark Navy */
.btn-dark {
  background-color: var(--color-navy);
  color: var(--text-white);
}

.btn-dark:hover {
  background-color: var(--color-navy-dark);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Button Sizing */
.btn-sm {
  font-size: var(--text-xs);
  padding: 0.5rem 0.85rem;
}

.btn-lg {
  font-size: var(--text-base);
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon {
  padding: 0.6rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   6. HEADER & DESKTOP NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

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

.header-container,
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.logo-link,
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-link img,
.navbar-logo {
  height: 40px;
  width: auto;
  max-width: 280px;
}

.desktop-nav,
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

.nav-link.active {
  color: var(--color-navy);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-teal);
  border-radius: var(--radius-full);
}

.header-actions,
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle,
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--color-navy);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover,
.navbar-toggle:hover {
  background-color: var(--border-subtle);
}

.mobile-nav-toggle span,
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 1px;
  transition: all var(--transition-fast);
  margin: 2.5px 0;
}

/* ==========================================================================
   7. MOBILE DRAWER NAVIGATION
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 25, 48, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: var(--bg-card);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background-color: #071930;
  color: #FFFFFF;
  border-bottom: 1px solid #163E74;
}

.drawer-header .modal-close {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.drawer-header .modal-close:hover {
  background-color: rgba(255, 255, 255, 0.24);
  color: #34D399;
}

.drawer-logo {
  height: 34px;
  width: auto;
}

.modal-close,
.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover,
.drawer-close:hover {
  background-color: var(--border-subtle);
  color: var(--color-navy);
}

.drawer-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  justify-content: space-between;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.35rem;
  flex: 1;
  overflow-y: auto;
}

.drawer-link,
.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-navy);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active,
.drawer-nav-link:hover,
.drawer-nav-link.active {
  background-color: var(--color-teal-light);
  color: var(--color-teal-dark);
}

.drawer-footer-cta,
.drawer-cta {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: var(--bg-subtle);
}

/* ==========================================================================
   8. HERO SECTION & MARKETING HIGHLIGHTS
   ========================================================================== */
.hero-section,
.hero {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 85% 18%, rgba(6, 182, 212, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 12% 82%, rgba(11, 37, 70, 0.05) 0%, transparent 40%),
              var(--bg-body);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-container,
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

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

.hero-content h1,
.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal-dark);
  background-color: var(--color-teal-light);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-teal);
  box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.7);
  animation: pulseDot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(8, 145, 178, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(8, 145, 178, 0);
  }
}

.hero-subtitle,
.hero-description {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
}

.trust-badge-icon {
  width: 18px;
  height: 18px;
  color: var(--color-teal);
}

.hero-visual {
  position: relative;
  width: 100%;
}

.metric-display-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-value {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.metric-trend {
  font-size: var(--text-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.activity-stream {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-xs);
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  margin-top: 5px;
  flex-shrink: 0;
}

.activity-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.4;
}

.activity-text strong {
  color: var(--color-navy);
  font-weight: 600;
}

/* Care Settings Social Proof Strip */
.social-proof-strip {
  padding: 1.75rem 0;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
}

.social-proof-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.proof-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

.proof-chips {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-navy);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.proof-chip:hover,
.proof-chip.active {
  background-color: var(--color-teal-light);
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   9. OPERATIONS VISUALIZER WIDGET
   ========================================================================== */
.ops-visualizer-card,
.ops-visualizer {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
  margin-top: 2.5rem;
}

.ops-visualizer-card:hover,
.ops-visualizer:hover {
  box-shadow: var(--shadow-xl);
}

.ops-visualizer-header {
  padding: 1.5rem 1.75rem;
  background-color: var(--color-navy);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ops-visualizer-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ops-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: rgba(16, 185, 129, 0.18);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ops-tabs {
  display: flex;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.ops-tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ops-tab:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.ops-tab.active {
  background-color: var(--bg-card);
  border-bottom-color: var(--color-teal);
  box-shadow: var(--shadow-sm);
}

.tab-num {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-teal);
  font-family: var(--font-mono);
  line-height: 1;
  flex-shrink: 0;
}

.ops-tab strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
}

.ops-tab span {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.ops-panels {
  padding: 1.75rem;
}

.ops-panel {
  display: none;
  animation: fadeIn 0.3s ease-out forwards;
}

.ops-panel.active {
  display: block;
}

/* Operations Chart Area & Vertical Bars */
.ops-chart-area {
  padding: 2.5rem;
  background: var(--bg-card);
}

.chart-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.chart-header-row h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
}

.ops-chart-container {
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem 1rem 1rem;
  margin-bottom: 1.5rem;
}

.ops-chart-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.ops-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 180px;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-subtle);
}

.chart-bars-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 2rem;
  height: 260px;
  padding: 2rem 2.5rem 0 2.5rem;
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

/* --- Clinical Telemetry Histogram & Equalizer --- */
.ops-chart-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ops-telemetry-heading {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.ops-telemetry-sub {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin: 0;
}

.ops-telemetry-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.telemetry-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: telemetryPulse 2s infinite ease-in-out;
}

@keyframes telemetryPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

/* Floating Dark Navy Tooltip */
.ops-chart-tooltip {
  position: absolute;
  background-color: var(--color-navy);
  color: #FFFFFF;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  font-size: var(--text-xs);
  line-height: 1.4;
  box-shadow: 0 14px 32px rgba(11, 37, 70, 0.48);
  pointer-events: none;
  z-index: 50;
  white-space: nowrap;
  transform: translate(-50%, -100%) translateY(-12px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  backdrop-filter: blur(8px);
}

.ops-tooltip-stage {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #22D3EE;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.ops-tooltip-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.ops-tooltip-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: #34D399;
  margin-bottom: 2px;
}

.ops-tooltip-status {
  font-size: 0.7rem;
  color: #94A3B8;
}

/* Histogram Equalizer Frame */
.ops-histogram-card {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  height: 290px;
  padding: 1.75rem 1.5rem 1.25rem 1.25rem;
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
  position: relative;
  overflow: visible;
}

.ops-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
  padding-right: 0.75rem;
  border-right: 1px solid var(--border-subtle);
  user-select: none;
}

.ops-y-tick {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1;
}

.ops-plot-wrapper {
  flex: 1;
  position: relative;
  height: 200px;
}

/* Horizontal Dashed Gridlines */
.ops-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.ops-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(203, 213, 225, 0.75);
}

/* Stages Container & Stage Blocks */
.ops-stages-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  height: 100%;
  position: relative;
  z-index: 2;
}

.ops-stage-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 250px;
  padding: 0.5rem 0.5rem 0 0.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.ops-stage-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.ops-stage-badge {
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  background-color: var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.ops-stage-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.ops-bars-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.85rem;
  height: 180px;
  width: 100%;
}

.ops-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
  position: relative;
  padding: 0 2px;
}

.ops-bar-track {
  width: 16px;
  height: 160px;
  background-color: rgba(226, 232, 240, 0.5);
  border-radius: var(--radius-full);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.ops-bar-wrapper:hover .ops-bar-track {
  background-color: rgba(203, 213, 225, 0.75);
  box-shadow: 0 0 10px rgba(8, 145, 178, 0.3);
}

/* 9 Slim Pill Bars */
.ops-bar-fill {
  width: 100%;
  border-radius: var(--radius-full);
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

/* Vertical Gradient Fills */
.grad-cyan-teal {
  background: linear-gradient(180deg, #22D3EE 0%, #0891B2 100%);
}

.grad-emerald-cyan {
  background: linear-gradient(180deg, #10B981 0%, #06B6D4 100%);
}

.grad-navy-cyan {
  background: linear-gradient(180deg, #38BDF8 0%, #0B2546 100%);
}

/* Active Stage Highlight & Inactive Dimming */
.ops-stage-block.active-stage .ops-stage-badge {
  background-color: var(--color-teal);
  color: #FFFFFF;
}

.ops-stage-block.active-stage .ops-stage-title {
  color: var(--color-teal-dark);
}

.ops-stage-block.active-stage .ops-bar-fill {
  opacity: 1;
  filter: drop-shadow(0 2px 6px rgba(8, 145, 178, 0.4));
  box-shadow: 0 0 12px rgba(8, 145, 178, 0.55);
}

.ops-stage-block:not(.active-stage) .ops-bar-fill {
  opacity: 0.42;
  filter: grayscale(18%);
}

.ops-bar-micro-label {
  margin-top: 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.ops-stage-footer {
  margin-top: 0.6rem;
}

.ops-stage-stat {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-teal-dark);
  font-family: var(--font-mono);
  background: rgba(14, 116, 144, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.chart-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar-value {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  transition: opacity var(--transition-fast);
}

.bar-track,
.chart-bar-track {
  width: 72px;
  max-width: 100%;
  height: 200px;
  background-color: rgba(226, 232, 240, 0.7);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.bar-fill,
.chart-bar-fill {
  width: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  position: relative;
}

.bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  white-space: nowrap;
  padding: 0 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.bar-title,
.chart-bar-label {
  margin-top: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  text-transform: uppercase;
}

.chart-bar-fill.bar-emerald {
  background: linear-gradient(180deg, #34D399 0%, var(--color-emerald) 100%);
}

.chart-bar-fill.bar-navy {
  background: linear-gradient(180deg, var(--color-navy-light) 0%, var(--color-navy) 100%);
}

.ops-callout-card {
  background-color: var(--color-teal-light);
  border-left: 4px solid var(--color-teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.75rem;
}

.ops-callout-card h5 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.ops-callout-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.ops-footer-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Callout & Metrics Display */
.ops-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ops-metric-stat-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}

.ops-metric-stat-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-navy);
}

.ops-metric-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

.ops-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--color-teal-light);
  border: 1px solid var(--border-teal);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.ops-callout-icon {
  width: 22px;
  height: 22px;
  color: var(--color-teal-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.ops-callout-text {
  font-size: var(--text-sm);
  color: var(--color-navy);
  line-height: 1.5;
}

/* ==========================================================================
   10. CARE SETTINGS, SERVICES & STEP CARDS
   ========================================================================== */
/* Care Settings Chips */
.care-chips {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.care-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.care-chip:hover,
.care-chip.active {
  background-color: var(--color-teal-light);
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
}

/* Cards Base & Card Variants */
.card,
.care-card,
.service-card,
.method-card,
.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-hover:hover,
.care-card:hover,
.service-card:hover,
.method-card:hover,
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-teal);
  box-shadow: var(--shadow-xl);
}

/* Card Elevation Utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Service & Industry Cards */
.service-detail-card {
  cursor: pointer;
}

.service-card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-line-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.setting-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.setting-card h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.service-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal-dark);
  background-color: var(--color-teal-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  width: fit-content;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-teal-dark);
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.link-arrow:hover {
  color: var(--color-teal-dark);
  gap: 0.6rem;
}

.method-num {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-teal);
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 0.75rem;
}

/* Page Hero Header */
.page-hero {
  padding: 4.5rem 0 3.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-navy);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.page-hero-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section Header Typography */
.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: var(--text-3xl);
  color: var(--color-navy);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0.5rem auto 0 auto;
  line-height: 1.6;
}

/* Connected Workflows Stepper */
.workflow-stepper-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* Conversion & Marketing CTA Banners */
.cta-banner-section {
  padding: 5rem 0;
}

.cta-banner-section h2 {
  font-size: var(--text-3xl);
  color: var(--text-white);
  margin-bottom: 1rem;
}

.cta-sub {
  font-size: var(--text-lg);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

.card-icon-container {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background-color: var(--color-teal-light);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.care-card:hover .card-icon-container,
.service-card:hover .card-icon-container {
  background-color: var(--color-teal);
  color: var(--text-white);
  box-shadow: var(--shadow-teal-glow);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.card-description {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-teal);
  margin-top: 1.25rem;
  text-decoration: none;
}

.card-link:hover {
  color: var(--color-teal-dark);
  gap: 0.75rem;
}

/* Step Card (01, 02, 03, 04) */
.step-card {
  position: relative;
}

.step-card-number {
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--border-medium);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.step-card:hover .step-card-number {
  color: var(--color-teal);
}

/* ==========================================================================
   11. 4-STEP RCM REVENUE HEALTH CHECK WIZARD
   ========================================================================== */
.wizard-container {
  max-width: var(--container-narrow-width);
  margin: 0 auto;
}

.wizard-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.metric-tracker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-teal-light);
  border: 1px solid var(--border-teal);
  color: var(--color-teal-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.wizard-stepper-header {
  background-color: var(--bg-card);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.progress,
.wizard-progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 1rem 0;
}

.progress-bar,
.wizard-progress-fill {
  height: 100%;
  width: 25%;
  background-color: var(--color-teal);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

/* Step Indicators (1, 2, 3, 4) */
.step-indicators-row,
.wizard-step-indicators {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.step-node {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 2px solid var(--border-medium);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: 0.5rem;
  transition: all var(--transition-fast);
}

.step-indicator.active {
  color: var(--color-teal-dark);
  background-color: var(--color-teal-light);
  font-weight: 700;
}

.step-indicator.active .step-node {
  border-color: var(--color-teal);
  background-color: var(--color-teal);
  color: var(--text-white);
  box-shadow: var(--shadow-teal-glow);
}

.step-indicator.completed .step-node {
  border-color: var(--color-emerald);
  background-color: var(--color-emerald);
  color: var(--text-white);
}

.step-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
}

.step-indicator.active .step-label {
  color: var(--color-navy);
  font-weight: 700;
}

/* Wizard Form Card */
.wizard-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.wizard-step-panel {
  display: none;
}

.wizard-step-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-out forwards;
}

.wizard-step-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.wizard-step-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-navy);
}

.wizard-step-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Form Controls */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label-required {
  color: var(--color-rose);
  margin-left: 0.25rem;
}

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

.input-prefix,
.input-suffix {
  position: absolute;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

.input-prefix {
  left: 1rem;
}

.input-suffix {
  right: 1rem;
}

.form-control,
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  color: var(--text-primary);
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.input-wrapper.has-prefix .form-input,
.input-wrapper.has-prefix .form-control {
  padding-left: 2.25rem;
}

.input-wrapper.has-suffix .form-input,
.input-wrapper.has-suffix .form-control {
  padding-right: 2.5rem;
}

.form-control:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background-color: var(--bg-card);
  border-color: var(--border-teal-focus);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.form-input.is-invalid,
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--color-rose);
  background-color: #FFF5F5;
}

.invalid-feedback {
  font-size: var(--text-xs);
  color: var(--color-rose-dark);
  margin-top: 0.35rem;
  display: none;
}

.form-input.is-invalid + .invalid-feedback,
.form-control.is-invalid + .invalid-feedback {
  display: block;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.wizard-nav-bar,
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Revenue Leakage & Performance Report */
.report-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  animation: fadeIn 0.4s ease-out forwards;
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.score-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, var(--color-teal-light) 0%, #FFFFFF 100%);
  border: 4px solid var(--color-teal);
  box-shadow: var(--shadow-teal-glow);
  text-align: center;
}

.score-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.score-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.score-grade {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-emerald);
}

.leakage-banner {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-left: 5px solid var(--color-rose);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.leakage-banner-text h4 {
  color: var(--color-rose-dark);
  font-size: var(--text-base);
  margin-bottom: 0.25rem;
}

.leakage-banner-text p {
  color: #881337;
  font-size: var(--text-sm);
}

.leakage-amount {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-rose-dark);
  font-family: var(--font-sans);
}

/* Benchmark Comparison Table */
.benchmark-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
}

.benchmark-table th {
  background-color: var(--bg-subtle);
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--color-navy);
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
}

.benchmark-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

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

.benchmark-table tr:hover td {
  background-color: #F8FAFC;
}

.benchmark-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
}

.status-optimal {
  background-color: var(--color-emerald-light);
  color: var(--color-emerald-dark);
}

.status-warning {
  background-color: var(--color-amber-light);
  color: var(--color-amber-dark);
}

.status-critical {
  background-color: var(--color-rose-light);
  color: var(--color-rose-dark);
}

/* Recommendation List */
.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.recommendation-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.recommendation-icon {
  width: 20px;
  height: 20px;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.recommendation-title {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.recommendation-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   12. CONTACT FORM & CHIP SELECTOR
   ========================================================================== */
.chip-select-container,
.chip-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.chip-btn,
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.chip-btn:hover,
.filter-chip:hover {
  border-color: var(--color-teal);
  color: var(--color-navy);
  background-color: var(--color-teal-light);
}

.chip-btn.selected,
.chip-btn.active,
.filter-chip.active {
  background-color: var(--color-teal);
  border-color: var(--color-teal-dark);
  color: var(--text-white);
  font-weight: 700;
  box-shadow: var(--shadow-teal-glow);
}

.filter-chip input[type="checkbox"],
.filter-chip input[type="radio"] {
  display: none;
}

/* Feedback Alert */
.feedback-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
}

.feedback-alert.success {
  background-color: var(--color-emerald-light);
  color: var(--color-emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.feedback-alert.error {
  background-color: var(--color-rose-light);
  color: var(--color-rose-dark);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.form-success {
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--color-emerald-light);
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

/* ==========================================================================
   13. SEARCH & FILTER (INDUSTRIES & SPECIALTIES)
   ========================================================================== */
.search-filter-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.filter-controls-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin: 2.5rem 0;
}

.search-input-wrapper,
.search-box {
  width: 100%;
  max-width: 500px;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.category-filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-size: var(--text-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background-color: var(--bg-body);
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  background-color: var(--bg-card);
  border-color: var(--border-teal-focus);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.filter-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 0.45rem 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tag:hover {
  background-color: var(--border-subtle);
  color: var(--color-navy);
}

.filter-tag.active {
  background-color: var(--color-navy);
  color: var(--text-white);
  border-color: var(--color-navy);
}

.service-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-line-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-line-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-teal);
  box-shadow: var(--shadow-md);
}

.service-line-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-teal);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.service-line-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.service-line-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-line-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   14. MODAL DIALOGS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 25, 48, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 100%;
  max-width: 640px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform var(--transition-base);
}

.modal-backdrop.active .modal-container {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--border-subtle);
  color: var(--color-navy);
}

.modal-body {
  padding: 1.75rem;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
}

/* --- Direct Contact Cards & Quick Note --- */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.contact-direct-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.contact-direct-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.contact-card-eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}

.contact-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.contact-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.contact-card-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  word-break: break-word;
}

.contact-card-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.85rem;
  text-align: center;
}

.contact-hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.contact-hours-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-hours-list li:last-child {
  border-bottom: none;
}

.contact-quick-note-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 750px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .contact-quick-note-card {
    padding: 1.5rem;
  }
}

/* --- Contact Zero-Loss Pipeline & Receipt Card --- */
.contact-pipeline-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contact-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.receipt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.receipt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.receipt-ref-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  background-color: var(--color-navy);
  color: #22D3EE;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.receipt-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.receipt-subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.receipt-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.receipt-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.receipt-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
  word-break: break-word;
}

.receipt-sla-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background-color: rgba(14, 116, 144, 0.08);
  border-left: 4px solid var(--color-teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-navy);
}

.receipt-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* --- Staff Portal Tabs & Leads Inspector --- */
.staff-portal-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.staff-tab-btn {
  padding: 0.65rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.staff-tab-btn:hover {
  color: var(--color-navy);
}

.staff-tab-btn.active {
  color: var(--color-teal-dark);
  border-bottom-color: var(--color-teal);
}

.staff-tab-pane {
  display: none;
}

.staff-tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

.staff-leads-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.staff-leads-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.staff-leads-table-wrapper {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.staff-leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-xs);
}

.staff-leads-table th {
  background-color: var(--bg-subtle);
  color: var(--color-navy);
  font-weight: 700;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 2;
}

.staff-lead-row {
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-fast);
}

.staff-lead-row:hover {
  background-color: rgba(241, 245, 249, 0.8);
}

.staff-lead-cell {
  padding: 0.65rem 0.85rem;
  color: var(--text-secondary);
  vertical-align: top;
}

.staff-lead-cell strong {
  color: var(--color-navy);
}

.staff-empty-state {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   15. CORPORATE DARK NAVY FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-navy-dark);
  color: var(--text-light);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-container,
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col,
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  height: 38px;
  width: auto;
}

.footer-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-light);
  max-width: 320px;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-xs);
  color: #CBD5E1;
  font-weight: 600;
}

.footer-links-col h4,
.footer-cta-col h4,
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links-col ul,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-col a,
.footer-link {
  font-size: var(--text-sm);
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links-col a:hover,
.footer-link:hover {
  color: var(--text-white);
}

.footer-cta-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all var(--transition-fast);
}

.footer-action-link:hover {
  color: var(--text-white);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-xs);
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.staff-link {
  color: rgba(148, 163, 184, 0.7);
  font-size: var(--text-xs);
  transition: color var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.staff-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ==========================================================================
   16. KEYFRAME ANIMATIONS & ACCESSIBILITY
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(8, 145, 178, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS
   ========================================================================== */
/* Tablet & Medium Screens (< 1024px) */
@media (max-width: 1023px) {
  .desktop-nav,
  .navbar-nav {
    display: none !important;
  }

  .mobile-nav-toggle,
  .navbar-toggle {
    display: flex !important;
  }

  .hero-container,
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .footer-container,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .service-line-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Large Desktop Screens (>= 1024px) */
@media (min-width: 1024px) {
  .desktop-nav,
  .navbar-nav {
    display: flex !important;
  }

  .mobile-nav-toggle,
  .navbar-toggle {
    display: none !important;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .hero-section {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .page-hero {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .header-actions .btn,
  .navbar-actions .btn {
    display: none;
  }

  .display-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-2-col,
  .grid-3-col,
  .service-line-grid {
    grid-template-columns: 1fr;
  }

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

  .ops-tabs {
    flex-direction: column;
  }

  .chart-bars-container {
    padding: 1.5rem 1rem 0 1rem;
    gap: 1rem;
    height: 220px;
  }

  .bar-track,
  .chart-bar-track {
    width: 44px;
    height: 160px;
  }

  .ops-chart {
    height: 150px;
    gap: 0.75rem;
  }

  .wizard-step-indicators,
  .step-indicators-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
  }

  .step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.25rem 0.35rem;
    flex: 1;
  }

  .step-node {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }

  .step-label {
    display: block;
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
  }

  .wizard-card {
    padding: 1.5rem;
  }

  .footer-container,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ==========================================================================
   18. PHASE 2 ENTERPRISE COMPONENTS & TIER-1 HEALTHCARE-TECH EXPERIENCES
   ========================================================================== */

/* --- Atmosphere, Telemetry Grids & Surgical Borders --- */
.bg-telemetry-grid {
  background-color: var(--bg-body);
  background-image: radial-gradient(rgba(14, 116, 144, 0.12) 1.25px, transparent 1.25px);
  background-size: 24px 24px;
}

.bg-telemetry-grid-dark {
  background-color: var(--bg-obsidian);
  background-image: radial-gradient(rgba(6, 182, 212, 0.16) 1.25px, transparent 1.25px);
  background-size: 24px 24px;
}

.bg-obsidian-surface {
  background: var(--grad-obsidian);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.ambient-glow-cyan {
  position: absolute;
  top: -20%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-cyan-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-emerald {
  position: absolute;
  bottom: -20%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-emerald-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.surgical-border {
  border: 1px solid var(--border-surgical) !important;
}

.card-glow-border {
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.card-glow-border:hover {
  border-color: var(--border-surgical-glow);
  box-shadow: 0 12px 28px -4px rgba(6, 182, 212, 0.16), 0 4px 12px -2px rgba(11, 37, 70, 0.08);
  transform: translateY(-4px);
}

/* --- Executive Command Center & Interactive ROI Calculator (.rcm-yield-calculator) --- */
.rcm-yield-calculator {
  position: relative;
  margin: 2.5rem 0;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-surgical);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.calculator-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.calculator-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(14, 116, 144, 0.12);
  color: var(--color-teal-dark);
  border: 1px solid var(--border-surgical);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-live-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: pulseDot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.calculator-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-navy);
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.calculator-subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.slider-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.slider-value-badge {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-teal-dark);
  background: var(--color-teal-light);
  border: 1px solid var(--border-teal);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-md);
  font-variant-numeric: tabular-nums;
}

/* Custom Styled Range Input */
.slider-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #E2E8F0;
  outline: none;
  transition: background var(--transition-fast);
}

.slider-range:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 3px solid var(--color-teal);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
  border-color: var(--color-accent);
}

.slider-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 3px solid var(--color-teal);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-range::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
  border-color: var(--color-accent);
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0 2px;
}

.slider-scale-tick {
  color: var(--text-muted);
}

/* Calculator Results Column */
.calculator-results {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.yield-metric-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.yield-metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.yield-metric-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.yield-metric-value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-teal-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.yield-metric-sub {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* Recovery Efficiency Meter */
.recovery-efficiency-meter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.efficiency-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-weight: 700;
}

.efficiency-label {
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.efficiency-percentage {
  color: var(--color-emerald-dark);
}

.efficiency-track {
  width: 100%;
  height: 8px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.efficiency-fill {
  height: 100%;
  background: var(--grad-emerald-teal);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

.calculator-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
}

.breakdown-label {
  color: var(--text-muted);
}

.breakdown-val {
  font-weight: 700;
  color: var(--color-navy);
}

.calculator-cta-row {
  margin-top: 0.5rem;
}

.btn-calc-cta {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: var(--text-sm);
}

/* --- Interactive 5-Stage Revenue Journey Pipeline (.revenue-pipeline-viz) --- */
.revenue-pipeline-viz {
  position: relative;
  margin: 3rem 0;
}

.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-surgical);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
}

.pipeline-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pipeline-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(14, 116, 144, 0.1);
  color: var(--color-teal-dark);
  border: 1px solid var(--border-surgical);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pipeline-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.pipeline-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow-x: auto;
  padding-bottom: 0.75rem;
}

.pipeline-stage {
  flex: 1;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.pipeline-stage-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0.85rem;
  border-radius: var(--radius-xl);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.pipeline-stage-btn:hover {
  background: #FFFFFF;
  border-color: var(--color-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pipeline-stage-btn.active {
  background: #FFFFFF;
  border-color: var(--color-teal);
  box-shadow: 0 8px 24px -2px rgba(8, 145, 178, 0.22);
}

.pipeline-stage-node {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  position: relative;
  transition: all var(--transition-fast);
}

.pipeline-stage-btn.active .pipeline-stage-node {
  border-color: var(--color-teal);
  background: var(--color-teal);
  color: #FFFFFF;
  box-shadow: var(--shadow-teal-glow);
}

.stage-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-node-pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-accent);
  opacity: 0;
  animation: pulseDot 2s infinite ease-out;
}

.pipeline-stage-btn.active .stage-node-pulse {
  opacity: 1;
}

.stage-node-num {
  font-size: 0.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.stage-node-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.stage-node-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
}

.stage-sla-badge {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(14, 116, 144, 0.1);
  color: var(--color-teal-dark);
  font-size: 0.65rem;
  font-weight: 700;
}

.stage-metric {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-emerald-dark);
  margin-top: 0.25rem;
}

.pipeline-connector {
  position: relative;
  flex: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline-connector-line {
  width: 100%;
  height: 2px;
  background: var(--border-medium);
}

.pipeline-connector-pulse {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  position: absolute;
  top: -2px;
}

.pipeline-details-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  animation: fadeIn 0.3s ease-out;
}

.pipeline-detail-header {
  margin-bottom: 1.5rem;
}

.pipeline-detail-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.pipeline-detail-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.pipeline-callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pipeline-callout-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pipeline-callout-icon {
  font-size: 1.25rem;
  color: var(--color-teal);
  margin-bottom: 0.25rem;
}

.pipeline-callout-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
}

.pipeline-callout-text {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Tier-1 Service & Care Setting Cards --- */
.service-card-elevated,
.care-card-elevated {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card-elevated:hover,
.care-card-elevated:hover {
  border-color: var(--border-surgical-glow);
  box-shadow: 0 16px 32px -4px rgba(6, 182, 212, 0.16), 0 4px 12px -2px rgba(11, 37, 70, 0.08);
  transform: translateY(-5px);
}

.setting-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(14, 116, 144, 0.1);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(14, 116, 144, 0.2);
  transition: all var(--transition-fast);
}

.care-card-elevated:hover .setting-icon-box,
.service-card-elevated:hover .setting-icon-box {
  background: var(--color-teal);
  color: #FFFFFF;
  border-color: var(--color-teal);
  box-shadow: var(--shadow-teal-glow);
}

.setting-icon-box-hospital { color: #0891B2; }
.setting-icon-box-clinic { color: #10B981; }
.setting-icon-box-practice { color: #8B5CF6; }
.setting-icon-box-imaging, .setting-icon-box-diagnostic { color: #F59E0B; }
.setting-icon-box-telehealth { color: #06B6D4; }

.card-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.card-badge-pill-cyan {
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
  border: 1px solid var(--border-teal);
}

.card-badge-pill-emerald {
  background: var(--color-emerald-light);
  color: var(--color-emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* --- Streamlined Contact Hub --- */
.contact-hub-section {
  position: relative;
  margin: 3rem 0;
}

.contact-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.contact-direct-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all var(--transition-base);
}

.contact-direct-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.contact-direct-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid var(--border-teal);
}

.contact-direct-title {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.contact-direct-value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-teal-dark);
  word-break: break-all;
}

.contact-direct-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.contact-quick-note-card {
  background: var(--bg-card);
  border: 1px solid var(--border-surgical);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.quick-input,
.quick-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  color: var(--text-primary);
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  margin-bottom: 1rem;
}

.quick-input:focus,
.quick-textarea:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--border-teal-focus);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.quick-submit-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: var(--text-sm);
}

/* --- Responsive Rules for Phase 2 Components --- */
@media (max-width: 1023px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pipeline-callout-grid {
    grid-template-columns: 1fr;
  }
  .contact-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .calculator-card,
  .pipeline-card {
    padding: 1.75rem 1.25rem;
  }
  .pipeline-flow {
    flex-direction: column;
    gap: 1.25rem;
    overflow-x: visible;
  }
  .pipeline-stage {
    width: 100%;
  }
  .pipeline-connector {
    display: none;
  }
}

/* Executive Audit Mailbox Dispatch */
.audit-dispatch-card {
  background-color: var(--bg-card);
  border: 2px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.audit-dispatch-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   20. ARDA HEALTH-TECH DESIGN SYSTEM & HOMEPAGE COMPONENTS
   ========================================================================== */

/* --- 20.1 Text Gradient & Color Utilities --- */
.text-gradient-emerald {
  background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-emerald-primary {
  color: #059669;
}

/* --- 20.2 Button Styling System --- */
.btn-emerald {
  border-radius: 9999px;
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-emerald:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

.btn-hero-video {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #ffffff;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hero-video:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
}

.video-play-icon {
  color: #34D399;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.btn-outline-white {
  border-radius: 9999px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-header-assessment {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
}

.arda-btn-primary {
  font-size: 1rem;
}

.arda-btn-services {
  width: fit-content;
}

.arda-specialist-btn {
  width: fit-content;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
}

/* --- 20.3 ARDA Header & Dropdown Navigation --- */
.arda-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  height: 74px;
}

.arda-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.arda-logo-link,
.arda-header-logo {
  height: 40px;
  width: auto;
  display: inline-flex;
  align-items: center;
}

.arda-logo-link img {
  height: 40px;
  width: auto;
}

.arda-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.arda-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 12px 28px -6px rgba(11, 37, 70, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 1050;
  list-style: none;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.25rem;
  color: #0F172A;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.dropdown-item:hover {
  background: #F0FDF4;
  color: #059669;
}

.dropdown-desc {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 400;
}

/* --- 20.4 ARDA Hero Section --- */
.arda-hero-section {
  background: linear-gradient(135deg, #021B2F 0%, #032540 60%, #073B5C 100%);
  color: #ffffff;
  padding: 4.5rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.arda-hero-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.arda-hero-content {
  display: flex;
  flex-direction: column;
}

.arda-hero-eyebrow,
.arda-hero-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 9999px;
  padding: 0.35rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.arda-hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.arda-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 2rem;
}

.arda-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.arda-hero-visual-col,
.arda-hero-visual-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.arda-hero-visual-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.arda-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.arda-hero-tagline-overlay {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  text-align: right;
  pointer-events: none;
}

.tagline-script-line {
  display: block;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  font-style: italic;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  line-height: 1.3;
}

.tagline-accent-swoosh {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #34D399);
  margin-left: auto;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* --- 20.5 ARDA Trust Bar --- */
.arda-trust-bar {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 1.5rem 0;
}

.trust-bar-container {
  width: 100%;
}

.arda-trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.arda-trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}

.arda-trust-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #059669;
}

.arda-trust-content {
  display: flex;
  flex-direction: column;
}

.arda-trust-stat {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0B2546;
  line-height: 1.15;
}

.arda-trust-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.25;
}

.arda-trust-divider {
  width: 1px;
  height: 42px;
  background: #E2E8F0;
  flex-shrink: 0;
}

/* --- 20.6 ARDA Services Section --- */
.arda-services-section {
  background: #F8FAFC;
  padding: 5rem 0;
}

.arda-services-container {
  width: 100%;
}

.arda-services-layout {
  display: grid;
  grid-template-columns: 260px 1fr 320px;
  gap: 1.75rem;
  align-items: start;
}

.arda-services-intro {
  display: flex;
  flex-direction: column;
}

.arda-section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 0.75rem;
}

.arda-services-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0B2546;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.arda-services-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 2rem;
}

.arda-services-grid-wrapper {
  width: 100%;
}

.arda-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.arda-service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.arda-service-card:hover {
  transform: translateY(-4px);
  border-color: #10B981;
  box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.18);
}

.arda-service-icon-wrap {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
}

.arda-service-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0B2546;
  line-height: 1.2;
}

.arda-service-arrow {
  display: none;
}

.arda-specialist-col {
  width: 100%;
  position: sticky;
  top: 96px;
}

@keyframes specialistCardFlash {
  0% {
    transform: scale(0.985);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.55), 0 18px 40px -6px rgba(4, 120, 87, 0.55);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 16px 36px -6px rgba(4, 120, 87, 0.35);
  }
}

.specialist-card-flash {
  animation: specialistCardFlash 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.arda-specialist-card {
  background: linear-gradient(145deg, #022B32 0%, #055048 55%, #047857 100%);
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -6px rgba(4, 120, 87, 0.35);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.arda-specialist-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.arda-specialist-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}

.arda-specialist-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1rem;
}

.arda-specialist-divider {
  width: 45px;
  height: 3px;
  background: #34D399;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.arda-specialist-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* --- 20.7 Corporate Footer Enhancements --- */
.arda-footer {
  background: #071930;
  color: #94A3B8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid #163E74;
}

.footer-logo {
  height: 42px;
  width: auto;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-badge-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--text-xs);
  transition: color var(--transition-fast);
}

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

/* --- 20.8 Reactive Service Explorer, Calculator Presets & Video Tour Modal --- */
.arda-service-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.arda-filter-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #475569;
  border: 1px solid #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arda-filter-pill:hover {
  border-color: #10B981;
  color: #059669;
  background: #F0FDF4;
}

.arda-filter-pill.active {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.28);
}

.arda-service-card.active-service,
.active-service {
  border-color: #059669;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
  box-shadow: 0 10px 22px -4px rgba(16, 185, 129, 0.25);
  transform: translateY(-3px);
}

.arda-specialist-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #A7F3D0;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 9999px;
  padding: 0.3rem 0.75rem;
  width: fit-content;
  margin-bottom: 1rem;
}

.arda-specialist-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.calculator-presets {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.preset-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  margin-right: 0.25rem;
}

.calc-preset-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #0B2546;
  border: 1px solid #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-preset-btn:hover {
  border-color: #0891B2;
  color: #0E7490;
}

.calc-preset-btn.active {
  background: #0B2546;
  color: #FFFFFF;
  border-color: #0B2546;
  box-shadow: 0 2px 8px rgba(11, 37, 70, 0.2);
}

/* Interactive Video Platform Walkthrough Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 15, 33, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1200;
}

.video-modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  background: #071930;
  color: #FFFFFF;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  z-index: 1210;
  padding: 0;
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.video-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.video-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.video-modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #34D399;
}

.video-modal-body {
  padding: 1.5rem 1.75rem 1.75rem 1.75rem;
}

.video-stage-screen {
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.22) 0%, transparent 50%),
              linear-gradient(135deg, #021324 0%, #062843 100%);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 14px;
  padding: 2rem 1.75rem 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.video-stage-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #34D399;
  margin-bottom: 0.65rem;
}

.video-stage-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.video-stage-desc {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.video-stage-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.video-kpi-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
}

.video-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #34D399;
}

.video-kpi-lbl {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 600;
}

.video-player-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-play-toggle {
  flex-shrink: 0;
}

.video-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  overflow: hidden;
}

.video-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #06B6D4);
  border-radius: 9999px;
  transition: width 0.35s ease;
}

.video-time-code {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #94A3B8;
  flex-shrink: 0;
}

.video-chapter-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.video-chapter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  color: #CBD5E1;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: all 0.2s ease;
}

.video-chapter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(52, 211, 153, 0.4);
}

.video-chapter-btn.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: #34D399;
  color: #FFFFFF;
}

.video-chapter-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: #34D399;
}

.video-chapter-name {
  font-size: 0.78rem;
  font-weight: 600;
}

.video-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* --- 20.9 Responsive Media Queries --- */
@media (max-width: 1200px) {
  .arda-services-layout {
    grid-template-columns: 1fr 320px;
    gap: 1.75rem;
    align-items: start;
  }
  .arda-services-intro {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
  }
  .arda-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .arda-specialist-col {
    position: sticky;
    top: 96px;
  }
  .arda-trust-grid {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .arda-hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .arda-services-layout {
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
  }
  .arda-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .desktop-nav {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
  .video-chapter-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .arda-services-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .arda-specialist-col {
    position: static;
  }
  .arda-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .arda-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arda-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .arda-trust-divider {
    display: none;
  }
  .arda-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .arda-hero-actions .btn,
  .arda-hero-actions .btn-emerald,
  .arda-hero-actions .btn-hero-video {
    width: 100%;
    justify-content: center;
  }
  .video-stage-kpis {
    grid-template-columns: 1fr;
  }
  .video-chapter-tabs {
    grid-template-columns: 1fr;
  }
  .arda-header-logo,
  .logo-link img {
    max-width: 210px;
    height: 32px;
  }
}

