/* ==========================================================================
   Eidolon EHR — Promotional Landing Page Design System & Stylesheet
   Design Philosophy: High-tech spatial void, ultra-crisp glassmorphism,
   cyan/rose/emerald clinical accents, and responsive typography.
   ========================================================================== */

:root {
  --bg-void: #040714;
  --bg-surface: #070d1e;
  --bg-card: rgba(10, 18, 38, 0.7);
  --bg-card-hover: rgba(14, 25, 52, 0.85);
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(6, 182, 212, 0.35);
  
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.4);
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;
  --accent-blue: #3b82f6;

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.promo-body {
  background-color: var(--bg-void);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Lights & Grid */
.ambient-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-top {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 80%);
}

.glow-bottom {
  bottom: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.06) 50%, transparent 80%);
}

.ambient-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   1. Floating Header Navigation
   ========================================================================== */
.promo-header {
  position: fixed;
  top: 1rem;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 1.5rem;
}

.promo-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  background: rgba(7, 13, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.1);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand-symbol {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 12px var(--accent-cyan-glow);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-name strong {
  color: var(--accent-cyan);
}

.version-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 8px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  margin-left: 0.35rem;
  white-space: nowrap;
  display: inline-block;
}

.promo-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

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

.btn-launch-demo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), #2563eb);
  color: #fff;
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  transition: var(--transition-fast);
}

.btn-launch-demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.7);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  animation: pulseBeacon 1.5s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.8); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.7; }
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 9rem 1.5rem 5rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

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

.hero-announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.pill-spark {
  color: #fff;
}

.pill-badge {
  background: var(--accent-cyan);
  color: #040714;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #67e8f9 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--accent-cyan), #2563eb);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.45);
  transition: var(--transition-smooth);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(6, 182, 212, 0.75);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-bright);
}

.hero-metrics-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.metric-block {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.metric-unit {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.metric-lbl {
  font-size: 0.74rem;
  color: var(--text-faint);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 38px;
  background: var(--border-glass);
}

/* ==========================================================================
   Hero Visual: 3D Body view Preview Card
   ========================================================================== */
.body-preview-card {
  background: rgba(8, 15, 33, 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.2);
  display: flex;
  flex-direction: column;
}

.preview-card-header {
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-glass);
}

.p-header-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.preview-dot.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.p-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.tag-spatial {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.preview-stage-wrap {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
}

.preview-body-img {
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.5));
}

.preview-scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), #ffffff, var(--accent-cyan), transparent);
  box-shadow: 0 0 15px var(--accent-cyan);
  animation: laserSweep 5s infinite ease-in-out;
}

@keyframes laserSweep {
  0% { top: 5%; opacity: 0.2; }
  50% { top: 90%; opacity: 0.9; }
  100% { top: 5%; opacity: 0.2; }
}

/* Floating Callout Badges */
.float-badge {
  position: absolute;
  background: rgba(6, 12, 28, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.b-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.b-dot.purple { background: var(--accent-purple); box-shadow: 0 0 6px var(--accent-purple); }
.b-dot.rose { background: var(--accent-rose); box-shadow: 0 0 6px var(--accent-rose); }
.b-dot.cyan { background: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan); }
.b-dot.emerald { background: var(--accent-emerald); box-shadow: 0 0 6px var(--accent-emerald); }

.badge-brain { top: 12%; left: 8%; }
.badge-heart { top: 28%; right: 6%; }
.badge-lungs { top: 48%; left: 6%; }
.badge-ddi { bottom: 8%; right: 8%; }

.preview-telemetry-bottom {
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.t-stat-label {
  font-size: 0.68rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.t-stat-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.t-safe {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-left: 0.35rem;
}

/* ==========================================================================
   3. Live Telemetry Ticker Bar
   ========================================================================== */
.telemetry-ticker-bar {
  background: rgba(6, 182, 212, 0.05);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.65rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  animation: tickerSlide 35s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.ticker-item strong {
  color: #fff;
}

.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.t-dot.green { background: var(--accent-emerald); }
.t-dot.cyan { background: var(--accent-cyan); }
.t-dot.purple { background: var(--accent-purple); }
.t-dot.emerald { background: var(--accent-emerald); }
.t-dot.blue { background: var(--accent-blue); }

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   4. Section Universal Styling
   ========================================================================== */
section {
  position: relative;
  z-index: 10;
  padding: 6rem 1.5rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   5. Pillars Grid
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-bright);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(6, 182, 212, 0.15);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-icon-box.cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.pillar-icon-box.rose { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }
.pillar-icon-box.emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.pillar-icon-box.purple { background: rgba(168, 85, 247, 0.15); color: var(--accent-purple); }
.pillar-icon-box.amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.pillar-icon-box.blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pillar-features {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-features li {
  color: #cbd5e1;
}

/* ==========================================================================
   6. Tour Section (Tabbed Workflow)
   ========================================================================== */
.tour-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tour-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tour-tab-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.tour-tab-btn.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-cyan);
  color: #67e8f9;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.tour-pane {
  display: none;
}

.tour-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.tour-step-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.15);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tour-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 1rem 0;
  line-height: 1.25;
}

.tour-p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tour-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.t-bullet {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.t-bullet .check {
  color: var(--accent-emerald);
  font-weight: 800;
}

.btn-tour-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-tour-action:hover {
  color: #67e8f9;
  transform: translateX(3px);
}

.mock-glass-card {
  background: rgba(6, 12, 28, 0.9);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.mock-header {
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.mock-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.mock-tag.rose { color: var(--accent-rose); background: rgba(244, 63, 94, 0.15); }
.mock-tag.alert { color: var(--accent-rose); background: rgba(244, 63, 94, 0.2); }
.mock-tag.purple { color: var(--accent-purple); background: rgba(168, 85, 247, 0.15); }

.mock-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mock-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
}

.mock-row .lbl {
  font-size: 0.7rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.val-emerald {
  color: var(--accent-emerald);
  font-weight: 700;
}

.mock-risk-hero {
  text-align: center;
  padding: 0.75rem;
  background: rgba(244, 63, 94, 0.08);
  border-radius: var(--radius-md);
}

.mock-risk-hero .r-stat {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-rose);
}

.mock-risk-hero .r-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-priors {
  display: flex;
  justify-content: space-around;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.5rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.mock-exp {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.mock-drug-box {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-glass-bright);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.mock-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--accent-emerald);
}

.mock-nurse {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  text-align: right;
}

.mock-transcript {
  font-size: 0.82rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.mock-entities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.entity-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.entity-chip.purple { background: rgba(168, 85, 247, 0.2); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.4); }
.entity-chip.cyan { background: rgba(6, 182, 212, 0.2); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.4); }
.entity-chip.amber { background: rgba(245, 158, 11, 0.2); color: #fde047; border: 1px solid rgba(245, 158, 11, 0.4); }

/* ==========================================================================
   7. Comparison Table
   ========================================================================== */
.comparison-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
}

.comparison-table th {
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th.col-eidos {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border-bottom: 2px solid var(--accent-cyan);
}

.comparison-table td.col-legacy {
  color: var(--text-muted);
}

.comparison-table td.col-eidos {
  background: rgba(6, 182, 212, 0.03);
  color: #fff;
  font-weight: 500;
}

.badge-win {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-right: 0.35rem;
}

/* ==========================================================================
   8. ROI Calculator
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.calc-val-display {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.calc-results-card {
  background: linear-gradient(135deg, rgba(8, 18, 42, 0.95), rgba(4, 9, 22, 0.98));
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(6, 182, 212, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.results-header {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.res-stat-item {
  display: flex;
  flex-direction: column;
}

.res-num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.res-num.text-emerald {
  color: var(--accent-emerald);
}

.res-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-calc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-cyan), #2563eb);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
  transition: var(--transition-fast);
}

.btn-calc-cta:hover {
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
}

/* ==========================================================================
   9. Standards & Safety Grid
   ========================================================================== */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.standard-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: var(--transition-fast);
}

.standard-pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-bright);
  transform: translateY(-2px);
}

.s-icon {
  font-size: 1.8rem;
}

.s-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.s-sub {
  font-size: 0.76rem;
  color: var(--text-faint);
}

/* ==========================================================================
   10. Call to Action Banner
   ========================================================================== */
.cta-banner-section {
  padding-bottom: 6rem;
}

.cta-banner-card {
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.15) 0%, rgba(8, 14, 30, 0.95) 100%);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(6, 182, 212, 0.25);
  max-width: 900px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-banner-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   11. Global Footer
   ========================================================================== */
.promo-footer {
  background: #02040a;
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 1.5rem 2.5rem 1.5rem;
  position: relative;
  z-index: 10;
}

.promo-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-desc {
  font-size: 0.84rem;
  color: var(--text-faint);
  margin: 1rem 0 1.5rem 0;
  max-width: 280px;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-cyan);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .arch-split-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tour-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .promo-nav {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .arch-split-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    grid-template-columns: 1fr;
  }
  .promo-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   3.5 Sovereign Patient Vault vs Decoupled Organisational Face Styles
   ========================================================================== */
.sovereignty-section {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.03) 50%, transparent 100%);
}

.section-tag.cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.35);
}

.arch-selector-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0 3rem 0;
  flex-wrap: wrap;
}

.arch-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(14, 25, 52, 0.6);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(12px);
}

.arch-tab-btn .a-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-family: var(--font-mono);
}

.arch-tab-btn:hover {
  border-color: var(--border-glass-bright);
  color: var(--text-main);
  background: rgba(14, 25, 52, 0.9);
}

.arch-tab-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.arch-tab-btn.active .a-badge {
  background: var(--accent-cyan);
  color: #040714;
  font-weight: 700;
}

.arch-content-container {
  position: relative;
  min-height: 480px;
}

.arch-pane {
  display: none;
  animation: fadeIn 0.35s ease forwards;
}

.arch-pane.active {
  display: block;
}

.arch-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.arch-desc-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.arch-highlight-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.arch-highlight-pill.purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.arch-highlight-pill.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.arch-highlight-pill.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.arch-pane-heading {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.arch-pane-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.arch-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.af-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.af-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.af-item strong {
  display: block;
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.af-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Architecture Diagrams & Cards */
.sovereign-vault-card,
.org-lens-card,
.federated-matrix-card {
  background: rgba(10, 18, 38, 0.85);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(6, 182, 212, 0.15);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.vault-header, .org-lens-header, .f-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.v-status { color: var(--accent-emerald); }
.v-badge, .org-badge {
  font-family: var(--font-mono);
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.vault-core-graphic {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.vault-central-node {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(10, 18, 38, 0.95) 75%);
  border: 2px solid var(--accent-purple);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  z-index: 5;
}

.vault-central-node .v-symbol { font-size: 2rem; margin-bottom: 0.25rem; }
.vault-central-node .v-text { font-size: 0.75rem; font-weight: 700; color: #ffffff; line-height: 1.2; }

.vault-satellite {
  position: absolute;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(14, 25, 52, 0.9);
  border: 1px dashed var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.sat-hospital { top: 0; left: 10px; }
.sat-gp { top: 0; right: 10px; }
.sat-dental { bottom: 0; left: 15px; }
.sat-opt { bottom: 0; right: 15px; }

.vault-caption {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
}

.org-lens-layers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.layer-item {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
}

.layer-item.l-ui { border-color: rgba(6, 182, 212, 0.4); background: rgba(6, 182, 212, 0.06); }
.layer-item.l-engine { border-color: rgba(244, 63, 94, 0.4); background: rgba(244, 63, 94, 0.06); }
.layer-item.l-ingress { border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.06); }

.layer-item strong { display: block; font-size: 0.92rem; color: #ffffff; margin-bottom: 0.2rem; }
.layer-item span { font-size: 0.8rem; color: var(--text-muted); }

.layer-arrow {
  text-align: center;
  color: var(--text-faint);
  font-size: 1rem;
  margin: -0.3rem 0;
}

.f-grid-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.f-node {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
}

.f-bridge-bar {
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--accent-emerald);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-emerald);
}
