/* ============================================================
   V2 RCM Healthcare — Design System
   Theme: Navy + Teal | Clean, Modern, Minimal
   Colors drawn directly from the V2 RCM logo
   ============================================================ */

:root {
  /* Core palette — sampled from logo */
  --navy:         #0d2247;
  --navy-mid:     #14305a;
  --navy-deep:    #080f20;
  --teal:         #1bbda8;
  --teal-dark:    #0f9688;
  --teal-glow:    rgba(27,189,168,0.18);
  --teal-subtle:  rgba(27,189,168,0.08);

  /* Neutrals */
  --ink:          #0d1b2e;
  --ink-soft:     #2d4156;
  --muted:        #607080;
  --line:         #e1e9f2;
  --surface:      #ffffff;
  --surface-soft: #f5f8fc;
  --surface-mid:  #ebf2f9;

  /* Shadows */
  --shadow:       0 20px 50px rgba(13,34,71,0.14);
  --shadow-soft:  0 8px 24px rgba(13,34,71,0.07);
  --shadow-card:  0 2px 8px rgba(13,34,71,0.05);
  --shadow-teal:  0 8px 28px rgba(27,189,168,0.26);

  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-body: "DM Sans","Inter",system-ui,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font-family: var(--font-body); background: var(--surface-soft);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
img, svg { display: block; }
.site-shell { min-height: 100vh; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(8,15,32,0.93);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(27,189,168,0.14);
}
.nav-wrap {
  width: min(1200px,calc(100% - 32px)); min-height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  height: 46px; width: auto; object-fit: contain; display: block;
  filter: drop-shadow(0 2px 10px rgba(27,189,168,0.24));
  transition: filter 0.22s;
}
.brand:hover .brand-logo { filter: drop-shadow(0 4px 18px rgba(27,189,168,0.44)); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1; }
.brand-copy span { color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  min-height: 36px; display: inline-flex; align-items: center;
  padding: 0 13px; border-radius: var(--radius);
  color: rgba(255,255,255,0.72); font-size: 0.875rem; font-weight: 600;
  transition: background 0.16s, color 0.16s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(27,189,168,0.12); color: #6ee8db;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius);
  background: rgba(255,255,255,0.05); cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: #fff; border-radius: 2px; }

/* BUTTONS */
.btn {
  min-height: 44px; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; padding: 0 20px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 700; cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary {
  background: var(--teal); color: #fff;
  box-shadow: var(--shadow-teal); border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); box-shadow: 0 10px 36px rgba(27,189,168,0.38); }
.btn-secondary {
  border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.13); border-color: rgba(110,232,219,0.5); color: #6ee8db; }
.btn-outline-dark {
  border: 1.5px solid var(--navy); background: transparent; color: var(--navy);
  font-weight: 700; min-height: 46px; display: inline-flex; align-items: center;
  padding: 0 22px; border-radius: var(--radius); transition: background 0.18s, color 0.18s;
}
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-ghost {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px; border: 1.5px solid rgba(255,255,255,0.26); border-radius: var(--radius);
  color: rgba(255,255,255,0.88); font-weight: 700; font-size: 0.88rem;
  transition: background 0.18s, border-color 0.18s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(110,232,219,0.5); }

/* HERO */
.hero {
  position: relative; min-height: calc(100vh - 70px);
  display: grid; align-items: center; overflow: clip;
  background: radial-gradient(ellipse at 18% 58%, #0c1e40 0%, #080f20 55%, #041218 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 58% 48% at 80% 48%, rgba(27,189,168,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 36% 50% at 12% 28%, rgba(13,34,71,0.55) 0%, transparent 60%);
  pointer-events: none; z-index: 1;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27,189,168,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,189,168,0.04) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none; z-index: 1;
}
.scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .scene-canvas { z-index: 0; }
.hero-content {
  position: relative; z-index: 2;
  width: min(1200px,calc(100% - 32px));
  display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,0.6fr);
  gap: clamp(32px,6vw,80px); align-items: center; margin: 0 auto; padding: 80px 0 60px;
}
.hero-content > div { animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.eyebrow {
  margin: 0 0 14px; color: var(--teal); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(2.6rem,5.5vw,5.2rem); line-height: 0.97; letter-spacing: -0.02em; font-weight: 800; }
.hero h1 span { color: #6ee8db; }
.hero-lead, .page-lead {
  max-width: 640px; margin: 20px 0 0;
  color: rgba(255,255,255,0.72); font-size: clamp(1rem,1.7vw,1.18rem); line-height: 1.72; font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 40px; }
.hero-metrics article {
  padding: 16px; border: 1px solid rgba(27,189,168,0.2);
  border-radius: var(--radius); background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px); transition: border-color 0.22s, background 0.22s;
}
.hero-metrics article:hover { border-color: rgba(27,189,168,0.45); background: rgba(27,189,168,0.09); }
.hero-metrics strong { display: block; font-size: 1.5rem; font-weight: 800; color: #6ee8db; }
.hero-metrics span { color: rgba(255,255,255,0.62); font-size: 0.8rem; font-weight: 500; line-height: 1.4; }
.assurance-panel {
  padding: 26px; border: 1px solid rgba(27,189,168,0.22); border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.055); backdrop-filter: blur(22px);
  box-shadow: 0 0 0 1px rgba(27,189,168,0.08),0 30px 80px rgba(0,0,0,0.36),inset 0 1px 0 rgba(255,255,255,0.06);
  animation: heroFadeUp 0.8s 0.16s cubic-bezier(0.22,1,0.36,1) both;
}
.assurance-panel h2 { margin: 0; font-size: clamp(1.2rem,1.8vw,1.55rem); font-weight: 700; line-height: 1.3; }
.assurance-list { display: grid; gap: 16px; margin-top: 22px; }
.assurance-list article { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; align-items: start; }
.check { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: rgba(27,189,168,0.2); color: #6ee8db; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
.assurance-list strong { display: block; margin-bottom: 4px; font-size: 0.93rem; }
.assurance-list p { margin: 0; color: rgba(255,255,255,0.62); line-height: 1.5; font-size: 0.88rem; }

/* SECTIONS */
.section { width: min(1200px,calc(100% - 32px)); margin: 0 auto; padding: clamp(56px,7vw,88px) 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { margin: 0; font-size: clamp(1.9rem,3.8vw,2.95rem); line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.split-grid, .contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,0.62fr); gap: clamp(28px,5vw,64px); align-items: start; }

/* CARDS */
.card, .service-card, .process-card, .proof-card, .contact-card, .form-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card);
}
.card, .service-card, .process-card, .proof-card { padding: 24px; }
.card h3, .service-card h3, .process-card h3, .proof-card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.card p, .service-card p, .process-card p, .proof-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; font-size: 0.93rem; }
.service-card { position: relative; min-height: 240px; overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.service-card:hover { border-color: rgba(27,189,168,0.38); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 16px; border-radius: var(--radius); background: rgba(27,189,168,0.1); color: var(--teal-dark); }
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.service-list li { display: flex; gap: 8px; color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; line-height: 1.45; }
.service-list li::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: var(--teal); }
.services-cta { display: flex; justify-content: center; margin-top: 36px; }
.band { background: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-list { display: grid; gap: 12px; }
.feature-row { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.18s, box-shadow 0.18s; }
.feature-row:hover { border-color: rgba(27,189,168,0.32); box-shadow: var(--shadow-soft); }
.feature-row span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(27,189,168,0.1); color: var(--teal-dark); font-weight: 800; font-size: 0.8rem; }
.feature-row h3 { margin: 0; font-size: 0.98rem; font-weight: 700; }
.feature-row p { margin: 5px 0 0; color: var(--muted); line-height: 1.55; font-size: 0.88rem; }
.metric-wall { display: grid; gap: 10px; padding: 18px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.metric-card { padding: 18px; border: 1px solid rgba(27,189,168,0.16); border-radius: var(--radius); background: rgba(255,255,255,0.05); }
.metric-card strong { display: block; font-size: 2.1rem; font-weight: 800; color: #6ee8db; line-height: 1; }
.metric-card span { color: rgba(255,255,255,0.68); line-height: 1.5; font-size: 0.88rem; display: block; margin-top: 4px; }
.statement { padding: clamp(24px,4vw,44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); }
.statement h2 { margin: 0; font-size: clamp(1.8rem,3.5vw,2.85rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.statement p { margin: 16px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }

/* PAGE HERO */
.page-hero { position: relative; min-height: 400px; display: grid; align-items: center; overflow: clip; background: var(--navy-deep); color: #fff; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 65% at 78% 50%, rgba(27,189,168,0.12) 0%, transparent 65%), radial-gradient(ellipse 35% 50% at 10% 30%, rgba(13,34,71,0.6) 0%, transparent 55%); pointer-events: none; z-index: 1; }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(27,189,168,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(27,189,168,0.04) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; z-index: 1; }
.page-hero .scene-canvas { opacity: 0.3; z-index: 0; }
.page-hero-inner { position: relative; z-index: 2; width: min(1200px,calc(100% - 32px)); margin: 0 auto; padding: 72px 0; }
.page-hero h1 { max-width: 800px; font-size: clamp(2.3rem,4.8vw,4.3rem); letter-spacing: -0.02em; }
.kicker-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.kicker-row span { min-height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid rgba(27,189,168,0.22); border-radius: 100px; background: rgba(27,189,168,0.08); color: rgba(255,255,255,0.82); font-size: 0.82rem; font-weight: 600; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.process-card { transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.process-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(27,189,168,0.32); }
.process-card strong { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: var(--radius); background: var(--navy); color: #6ee8db; font-size: 0.85rem; font-weight: 800; }
.proof-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }

/* CONTACT */
.contact-card, .form-card { padding: 28px; }
.contact-card h2, .form-card h2 { margin: 0; font-size: 1.4rem; font-weight: 700; }
.contact-methods { display: grid; gap: 10px; margin-top: 18px; }
.contact-methods a, .contact-methods span { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); transition: border-color 0.18s; }
.contact-methods a:hover { border-color: rgba(27,189,168,0.38); }
.contact-methods small { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; }
.contact-methods strong { color: var(--navy); overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 12px; margin-top: 18px; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.contact-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 0.84rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 46px; padding: 0 13px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); outline: 0; transition: border-color 0.16s, box-shadow 0.16s; }
.contact-form textarea { min-height: 130px; padding: 12px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(27,189,168,0.55); box-shadow: 0 0 0 4px rgba(27,189,168,0.1); }

/* FOOTER */
.site-footer { border-top: 1px solid rgba(27,189,168,0.12); background: var(--navy-deep); color: #fff; }
.footer-inner { width: min(1200px,calc(100% - 32px)); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; margin: 0 auto; padding: 32px 0; }
.footer-inner p { margin: 8px 0 0; color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,0.68); font-size: 0.88rem; font-weight: 600; }
.footer-links a:hover { color: #6ee8db; }
.footer-logo { height: 50px; width: auto; object-fit: contain; display: block; margin-bottom: 10px; filter: drop-shadow(0 2px 10px rgba(27,189,168,0.22)); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); will-change: auto; }

/* RESPONSIVE */
@media (max-width: 1040px) {
  .hero-content, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-4, .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { min-height: auto; }
}
@media (max-width: 820px) {
  .nav-wrap { min-height: 64px; }
  .menu-btn { display: block; }
  /* Hide original nav inside header on mobile */
  header .nav-links { display: none !important; }
  /* Mobile nav cloned to <body> - outside all stacking contexts */
  #mobile-nav {
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 16px 24px;
    background: #040d1a;
    z-index: 99999;
    overflow-y: auto;
    border-top: 1px solid rgba(27,189,168,0.18);
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  }
  body.menu-open #mobile-nav { display: flex; }
  #mobile-nav a {
    display: flex; align-items: center;
    min-height: 48px; font-size: 1rem; padding: 0 16px;
    border-radius: var(--radius);
    color: #fff;
  }
  #mobile-nav a:hover, #mobile-nav a.active { background: rgba(27,189,168,0.12); color: #6ee8db; }
  .mobile-nav-overlay { display: none !important; }
  .nav-actions .btn { display: none; }
  .hero-content { padding: 52px 0 44px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.1rem,10vw,3.2rem); }
  .hero-metrics, .grid-3, .grid-4, .process-grid, .proof-grid { grid-template-columns: 1fr; }
  .field-grid, .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .page-hero { min-height: 340px; }
  .page-hero-inner { padding: 52px 0; }
}
@media (max-width: 560px) {
  .nav-wrap, .section, .hero-content, .page-hero-inner, .footer-inner { width: calc(100% - 24px); }
  .brand-copy { display: none; }
  .brand-logo { height: 40px; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .assurance-panel, .card, .service-card, .process-card, .proof-card, .contact-card, .form-card, .statement { padding: 18px; }
  .service-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .service-card, .btn { transition: none; }
  .scene-canvas { opacity: 0.15; }
}

/* ============================================================
   ULTRA-ADVANCED ANIMATIONS & EFFECTS
   v3 — Cinematic, Technical, Premium
   ============================================================ */

/* ── Keyframes ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scanLine { 0%,100% { transform: translateY(-120%); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } }
@keyframes pulse-ring { 0% { transform: scale(0.85); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes float { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
@keyframes orbit { from { transform: rotate(0deg) translateX(28px) rotate(0deg); } to { transform: rotate(360deg) translateX(28px) rotate(-360deg); } }
@keyframes gradient-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-glow { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes border-dance { 0%,100% { border-color: rgba(27,189,168,0.2); box-shadow: 0 0 0 rgba(27,189,168,0); } 50% { border-color: rgba(27,189,168,0.5); box-shadow: 0 0 24px rgba(27,189,168,0.12); } }
@keyframes count-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes data-stream { 0% { transform: translateY(-100%); opacity: 0; } 10%,90% { opacity: 1; } 100% { transform: translateY(100vh); opacity: 0; } }

/* ── Scroll reveal enhanced ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s cubic-bezier(0.16,1,0.3,1), transform 0.72s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ── Header scroll state ── */
.site-header { transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; }
.site-header.scrolled {
  background: rgba(4,13,26,0.97);
  box-shadow: 0 1px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(27,189,168,0.1);
  border-bottom-color: rgba(27,189,168,0.22);
}

/* ── Hero — cinematic upgrades ── */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(27,189,168,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 12% 60%, rgba(13,34,71,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 15%, rgba(59,130,246,0.08) 0%, transparent 55%),
    linear-gradient(135deg, #040d1a 0%, #080f20 50%, #041218 100%);
}

/* Scanning grid lines overlay */
.hero::after {
  background-image:
    linear-gradient(rgba(27,189,168,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,189,168,0.05) 1px, transparent 1px),
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 180px 180px, 180px 180px;
  animation: fadeIn 1.5s ease forwards;
}

/* Hero scan line effect */
.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-scan::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27,189,168,0.4), rgba(27,189,168,0.8), rgba(27,189,168,0.4), transparent);
  animation: scanLine 4s cubic-bezier(0.4,0,0.6,1) infinite;
  top: 50%;
}

/* ── Hero headline animation ── */
.hero-content > div { animation: fadeUp 0.9s 0.2s cubic-bezier(0.16,1,0.3,1) both; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero h1 span {
  background: linear-gradient(90deg, #1df5e8, #3b82f6, #a78bfa, #1df5e8);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
}

.hero-lead { animation: fadeUp 0.9s 0.35s cubic-bezier(0.16,1,0.3,1) both; }
.hero-actions { animation: fadeUp 0.9s 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.hero-metrics { animation: fadeUp 0.9s 0.65s cubic-bezier(0.16,1,0.3,1) both; }
.assurance-panel { animation: fadeUp 0.9s 0.45s cubic-bezier(0.16,1,0.3,1) both; }

/* ── Eyebrow text ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Trust bar — scrolling marquee ── */
.trust-bar { overflow: hidden; }
.trust-marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.trust-marquee-inner { display: flex; gap: 0; animation: marquee 28s linear infinite; white-space: nowrap; flex-shrink: 0; }
.trust-badge { flex-shrink: 0; margin: 0 12px; }

/* ── Service cards — advanced hover ── */
.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.3s;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at var(--mx, 50%) var(--my, 50%), rgba(27,189,168,0.08) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 24px 60px rgba(13,34,71,0.16), 0 0 0 1px rgba(27,189,168,0.22); border-color: rgba(27,189,168,0.3); }
.service-card:hover::before { opacity: 1; }

/* Shimmer line on card top */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: -100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(27,189,168,0.7), transparent);
  transition: left 0.4s;
}
.service-card:hover::after { left: 0; right: 0; }

/* ── Service icon — glowing ── */
.service-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #6ee8db;
  margin-bottom: 18px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(27,189,168,0.12), 0 0 24px rgba(27,189,168,0.28);
}

/* ── Stats strip — advanced ── */
.stats-strip {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, #0c1e3a 100%);
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(27,189,168,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(27,189,168,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.stats-strip::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27,189,168,0.4), transparent);
}
.stat-item strong {
  background: linear-gradient(90deg, #6ee8db, #1df5e8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Process steps — connected line ── */
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s cubic-bezier(0.16,1,0.3,1), transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.process-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
}
.process-step:hover { box-shadow: 0 20px 50px rgba(13,34,71,0.14); transform: translateY(-4px); border-color: rgba(27,189,168,0.3); }
.process-step:hover::after { right: 0; }
.step-num { background: linear-gradient(135deg, var(--navy), #1a3a7a); color: #6ee8db; }

/* ── Feature rows — enhanced ── */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s;
}
.feature-row:last-child { border-bottom: none; }
.feature-row:hover { transform: translateX(4px); }
.feature-row > span {
  min-width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #6ee8db;
  font-size: 0.72rem; font-weight: 800;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.feature-row:hover > span {
  background: var(--teal-dark);
  box-shadow: 0 4px 14px rgba(27,189,168,0.35);
}

/* ── Provider pills — advanced ── */
.provider-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s, border-color 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}
.provider-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(13,34,71,0.14), 0 0 0 1px rgba(27,189,168,0.3);
  border-color: rgba(27,189,168,0.4);
  background: var(--navy); color: #6ee8db;
}
.provider-pill-icon svg { color: currentColor; }

/* ── Testimonials — premium ── */
.testimonial-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; right: 20px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(27,189,168,0.08);
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(13,34,71,0.14), 0 0 0 1px rgba(27,189,168,0.2); border-color: rgba(27,189,168,0.25); }
.author-avatar {
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  box-shadow: 0 4px 12px rgba(13,34,71,0.3);
}

/* ── FAQ items ── */
.faq-item {
  animation: border-dance 4s ease-in-out infinite;
  animation-play-state: paused;
}
.faq-item[open] { animation-play-state: running; }

/* ── CTA section — advanced background ── */
.cta-section {
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(27,189,168,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 80% 40%, rgba(59,130,246,0.08) 0%, transparent 55%),
    linear-gradient(135deg, #040d1a 0%, #0c1e40 45%, #041418 100%);
}

/* ── Data stream background element ── */
.data-streams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.data-stream {
  position: absolute;
  top: 0;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(27,189,168,0.5), transparent);
  animation: data-stream 3s linear infinite;
}
.data-stream:nth-child(1) { left: 15%; animation-delay: 0s; animation-duration: 3.5s; }
.data-stream:nth-child(2) { left: 35%; animation-delay: 0.8s; animation-duration: 2.8s; }
.data-stream:nth-child(3) { left: 60%; animation-delay: 1.4s; animation-duration: 4.2s; }
.data-stream:nth-child(4) { left: 80%; animation-delay: 0.3s; animation-duration: 3.1s; }
.data-stream:nth-child(5) { left: 92%; animation-delay: 1.9s; animation-duration: 2.6s; }

/* ── Glow button effects ── */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.btn-primary:hover::after { transform: translateX(100%); }

/* ── Assurance panel — glass effect ── */
.assurance-panel {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(27,189,168,0.18);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.assurance-panel h2 { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0 0 22px; }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(27,189,168,0.15);
  border: 1px solid rgba(27,189,168,0.3);
  color: #6ee8db;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Grid-4 / card grid layout ── */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 8px;
}
@media (max-width: 1040px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ── Split grid ── */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1fr);
  gap: clamp(32px,5vw,72px);
  align-items: start;
}
@media (max-width: 880px) { .split-grid { grid-template-columns: 1fr; } }

/* ── Band section ── */
.band { background: var(--surface-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement p { color: var(--muted); line-height: 1.8; margin: 14px 0 0; }
.statement h2 { font-size: clamp(1.7rem,3.2vw,2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

/* ── Providers scroll row ── */
.providers-scroll-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 28px; }
.providers-cta-row { display: flex; gap: 12px; }

/* ── Section wrapper ── */
.section { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: clamp(52px,8vw,96px) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.9rem,3.8vw,3rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

/* ── Footer enhanced ── */
.site-footer {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27,189,168,0.4), transparent);
}
.footer-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 40px; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 48px; align-items: start; }
.footer-logo { height: 46px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-inner p { margin: 0; color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; font-weight: 600; transition: color 0.18s; }
.footer-links a:hover { color: #6ee8db; }
@media (max-width: 680px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }

/* ── Providers highlight ── */
.providers-highlight { background: var(--surface-soft); border-top: 1px solid var(--line); }

/* ── Service list items ── */
.service-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; }
.service-list li { font-size: 0.86rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.service-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ── Services CTA row ── */
.services-cta { text-align: center; margin-top: 40px; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-divider { display: none; }
  .process-steps { grid-template-columns: 1fr; }
  .process-connector { display: none; }
  .faq-layout { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero-content { grid-template-columns: 1fr; }
  .assurance-panel { display: none; }
  .providers-scroll-row { gap: 8px; }
}
@media (max-width: 560px) {
  .trust-badges { gap: 6px; }
  .trust-badge { font-size: 0.74rem; padding: 5px 9px; }
  .stats-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .btn-ghost { width: 100%; }
}

/* mobile menu overlay — handled in @media block below */

/* ── Loading state for canvas ── */
.scene-canvas { background: transparent; }

/* ── Hero content layout ── */
.hero-content {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(80px,12vh,120px) 0;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,0.85fr);
  gap: clamp(40px,5vw,80px);
  align-items: center;
}
.hero-metrics {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-metrics article {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-metrics strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: #6ee8db;
  line-height: 1;
}
.hero-metrics span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  max-width: 120px;
  line-height: 1.4;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.assurance-list { display: grid; gap: 16px; }
.assurance-list article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.assurance-list article .check { margin-top: 2px; }
.assurance-list strong { display: block; font-size: 0.92rem; color: rgba(255,255,255,0.9); margin-bottom: 4px; }
.assurance-list p { margin: 0; font-size: 0.84rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
@media (max-width: 820px) {
  .hero-content { grid-template-columns: 1fr; }
  .assurance-panel { display: none; }
}

/* ============================================================
   DME SPOTLIGHT — SCROLL-STOP SECTION
   ============================================================ */

@keyframes dme-pulse-ring { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes dme-glow-drift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.08); } 66% { transform: translate(-20px,15px) scale(0.95); } }
@keyframes dme-scan-h { 0%,100% { top: -2px; opacity: 0; } 5%,95% { opacity: 1; } 50% { top: 100%; } }
@keyframes dme-scan-v { 0%,100% { left: -2px; opacity: 0; } 5%,95% { opacity: 1; } 50% { left: 100%; } }
@keyframes dme-headline-in { from { opacity: 0; transform: translateY(40px) skewY(2deg); } to { opacity: 1; transform: translateY(0) skewY(0); } }
@keyframes dme-line-flash { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes dme-badge-pop { from { opacity: 0; transform: scale(0.7) translateY(-8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes dme-char-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-slow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes border-glow-loop { 0%,100% { box-shadow: 0 0 0 0 rgba(27,189,168,0), inset 0 1px 0 rgba(255,255,255,0.06); } 50% { box-shadow: 0 0 40px 6px rgba(27,189,168,0.14), inset 0 1px 0 rgba(255,255,255,0.10); } }

.dme-spotlight {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000d1a;
  padding: 0;
}

/* Background layers */
.dme-spotlight-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.dme-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.7;
}
.dme-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,189,168,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,189,168,0.055) 1px, transparent 1px);
  background-size: 52px 52px;
}
.dme-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: dme-glow-drift 10s ease-in-out infinite;
}
.dme-glow-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(27,189,168,0.22) 0%, transparent 70%); top: -150px; right: -100px; animation-delay: 0s; }
.dme-glow-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%); bottom: -100px; left: -80px; animation-delay: -4s; }
.dme-glow-3 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(167,139,250,0.14) 0%, transparent 70%); top: 40%; left: 30%; animation-delay: -7s; }

/* Scanning lines */
.dme-scan-h {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(27,189,168,0.7) 20%, rgba(27,189,168,1) 50%, rgba(27,189,168,0.7) 80%, transparent 100%);
  box-shadow: 0 0 12px rgba(27,189,168,0.5);
  animation: dme-scan-h 6s cubic-bezier(0.4,0,0.6,1) infinite;
}
.dme-scan-v {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(59,130,246,0.6) 20%, rgba(59,130,246,0.9) 50%, rgba(59,130,246,0.6) 80%, transparent 100%);
  box-shadow: 0 0 12px rgba(59,130,246,0.5);
  animation: dme-scan-v 9s cubic-bezier(0.4,0,0.6,1) infinite;
  animation-delay: 2s;
}

/* Content */
.dme-spotlight-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(80px, 12vh, 130px) 0;
  text-align: center;
}

.dme-badge-row {
  margin-bottom: 32px;
  animation: dme-badge-pop 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}
.dme-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(27,189,168,0.12);
  border: 1px solid rgba(27,189,168,0.4);
  border-radius: 100px;
  color: #6ee8db;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: border-glow-loop 3s ease-in-out infinite;
}
.dme-badge-chip svg { width: 14px; height: 14px; }

.dme-headline {
  margin: 0 0 28px;
  font-size: clamp(2.4rem, 5.8vw, 5.0rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
}
.dme-line-1 {
  color: rgba(255,255,255,0.55);
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.01em;
  animation: dme-headline-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}
.dme-line-2 {
  background: linear-gradient(90deg, #6ee8db, #1df5e8, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: dme-headline-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.45s both, gradient-shift 4s ease infinite;
}
.dme-line-3 {
  animation: dme-headline-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.6s both;
}
.dme-amp {
  color: #1df5e8;
  -webkit-text-fill-color: #1df5e8;
}

.dme-sub {
  max-width: 680px;
  margin: 0 auto 52px;
  color: rgba(255,255,255,0.6);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  animation: dme-headline-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.75s both;
}

/* DME 3 pillars */
.dme-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  margin-bottom: 48px;
  animation: dme-headline-in 0.9s cubic-bezier(0.16,1,0.3,1) 0.9s both;
}
.dme-pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(27,189,168,0.18);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  animation: float-slow 6s ease-in-out infinite;
}
.dme-pillar:nth-child(2) { animation-delay: -2s; }
.dme-pillar:nth-child(3) { animation-delay: -4s; }
.dme-pillar:hover { background: rgba(27,189,168,0.07); border-color: rgba(27,189,168,0.45); transform: translateY(-4px); }
.dme-pillar-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(27,189,168,0.12);
  border: 1px solid rgba(27,189,168,0.25);
  border-radius: 12px;
  color: #6ee8db;
  margin-bottom: 16px;
}
.dme-pillar-icon svg { width: 28px; height: 28px; }
.dme-pillar h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; color: #fff; }
.dme-pillar p { margin: 0; font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* CTA row */
.dme-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: dme-headline-in 0.9s cubic-bezier(0.16,1,0.3,1) 1.0s both;
}
.dme-btn {
  min-height: 52px;
  padding: 0 32px;
  font-size: 0.95rem;
  box-shadow: 0 0 40px rgba(27,189,168,0.3);
}
.dme-btn-ghost {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s;
}
.dme-btn-ghost:hover { border-color: rgba(27,189,168,0.5); background: rgba(27,189,168,0.06); color: #6ee8db; }

@media (max-width: 720px) {
  .dme-pillars { grid-template-columns: 1fr; }
  .dme-headline { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ============================================================
   DME SPECIALTIES GRID
   ============================================================ */
.dme-specialties-section { background: #fff; border-top: 1px solid var(--line); }
.dme-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.dme-spec-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s, border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.dme-spec-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 100%; height: 3px;
  background: linear-gradient(90deg, var(--teal), #3b82f6);
  transition: right 0.35s cubic-bezier(0.16,1,0.3,1);
}
.dme-spec-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(13,34,71,0.13), 0 0 0 1px rgba(27,189,168,0.2); border-color: rgba(27,189,168,0.3); background: #fff; }
.dme-spec-card:hover::after { right: 0; }
.dme-spec-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--navy);
  border-radius: var(--radius);
  color: #6ee8db;
  margin-bottom: 18px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.dme-spec-card:hover .dme-spec-icon { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(27,189,168,0.12); }
.dme-spec-icon svg { width: 28px; height: 28px; }
.dme-spec-card h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 700; color: var(--navy); }
.dme-spec-card p { margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) { .dme-spec-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .dme-spec-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CHALLENGES SECTION
   ============================================================ */
.challenges-section { background: var(--surface-soft); border-top: 1px solid var(--line); }
.challenges-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0,1fr);
  gap: clamp(32px,5vw,72px);
  align-items: start;
}
.challenges-left h2 { font-size: clamp(1.7rem,3.2vw,2.5rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.challenges-left p { margin: 14px 0 0; color: var(--muted); line-height: 1.75; }
.challenges-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.challenge-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.challenge-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13,34,71,0.12); border-color: rgba(27,189,168,0.25); }
.challenge-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.challenge-icon svg { width: 20px; height: 20px; }
.challenge-red    { background: rgba(239,68,68,0.1); color: #ef4444; }
.challenge-orange { background: rgba(249,115,22,0.1); color: #f97316; }
.challenge-amber  { background: rgba(245,158,11,0.1); color: #f59e0b; }
.challenge-blue   { background: rgba(59,130,246,0.1); color: #3b82f6; }
.challenge-purple { background: rgba(167,139,250,0.1); color: #a78bfa; }
.challenge-teal   { background: rgba(27,189,168,0.1); color: var(--teal); }
.challenge-card h3 { margin: 0 0 6px; font-size: 0.92rem; font-weight: 700; color: var(--navy); }
.challenge-card p { margin: 0; font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .challenges-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .challenges-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ENGAGEMENT MODELS
   ============================================================ */
.engage-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.engage-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--surface-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.engage-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(13,34,71,0.12); border-color: rgba(27,189,168,0.3); }
.engage-featured {
  background: var(--navy);
  border-color: rgba(27,189,168,0.3);
  grid-column: span 1;
  box-shadow: 0 12px 40px rgba(13,34,71,0.25);
}
.engage-featured:hover { box-shadow: 0 24px 60px rgba(13,34,71,0.35), 0 0 0 1px rgba(27,189,168,0.4); }
.engage-badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
}
.engage-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(27,189,168,0.1);
  color: var(--teal);
  transition: transform 0.2s;
}
.engage-featured .engage-icon { background: rgba(27,189,168,0.15); color: #6ee8db; }
.engage-card:hover .engage-icon { transform: scale(1.1); }
.engage-icon svg { width: 26px; height: 26px; }
.engage-card h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--navy); }
.engage-featured h3 { color: #fff; }
.engage-card p { margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.engage-featured p { color: rgba(255,255,255,0.65); }
@media (max-width: 900px) { .engage-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .engage-grid { grid-template-columns: 1fr; } }

/* ============================================================
   KPI SECTION
   ============================================================ */
.kpi-section {
  background: linear-gradient(135deg, #040d1a 0%, #0c1e40 50%, #041218 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}
.kpi-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(27,189,168,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(27,189,168,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.kpi-inner {
  position: relative; z-index: 1;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(60px,8vw,96px) 0;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 16px;
}
.kpi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(27,189,168,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.kpi-card:hover { background: rgba(27,189,168,0.07); border-color: rgba(27,189,168,0.4); transform: translateY(-4px); }
.kpi-arrow {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  margin: 0 auto 14px;
}
.kpi-up { background: rgba(27,189,168,0.15); color: #6ee8db; }
.kpi-down { background: rgba(239,68,68,0.12); color: #f87171; }
.kpi-arrow svg { width: 24px; height: 24px; }
.kpi-label { font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.kpi-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.55; }
@media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .kpi-grid { grid-template-columns: repeat(2,1fr); } }



/* ── Performance optimisations ── */
/* Skip paint+layout for sections far off-screen */
main > section:not(.hero):not(.page-hero) {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}
/* Promote canvas to own GPU layer */
.scene-canvas {
  will-change: transform;
  transform: translateZ(0);
}
/* Scrollbar hint for mobile nav overlay */
.mobile-nav-overlay {
  -webkit-overflow-scrolling: touch;
}

/* ── HIPAA Band ── */
.hipaa-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(110,232,219,0.18);
  border-bottom: 1px solid rgba(110,232,219,0.18);
  padding: 40px 24px;
}
.hipaa-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.hipaa-badge-col {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.hipaa-shield {
  width: 52px;
  height: 52px;
  background: rgba(110,232,219,0.12);
  border: 1.5px solid rgba(110,232,219,0.35);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #6ee8db;
  flex-shrink: 0;
}
.hipaa-shield svg { width: 28px; height: 28px; }
.hipaa-title { display: block; font-size: 1rem; font-weight: 800; color: #6ee8db; }
.hipaa-sub { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.hipaa-text-col p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}
.hipaa-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hipaa-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.hipaa-list li svg { width: 14px; height: 14px; color: #6ee8db; flex-shrink: 0; }
@media (max-width: 900px) {
  .hipaa-inner { grid-template-columns: 1fr; gap: 24px; }
  .hipaa-list li { white-space: normal; }
}

/* ── Trust badge highlight ── */
.trust-badge--hipaa {
  background: rgba(110,232,219,0.15);
  border-color: rgba(110,232,219,0.4);
  color: #6ee8db;
  font-weight: 700;
}

/* ── KPI value ── */
.kpi-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #6ee8db;
  margin-bottom: 4px;
}
