:root {
  --primary: #1B3F93;
  --primary-glow: #3B82F6;
  --accent: #E53924;
  --accent-glow: #FF5A36;
  --dark-bg: #070D18;
  --dark-surface: #0E1726;
  --dark-card: #131F35;
  --dark-border: rgba(255, 255, 255, 0.08);
  --text-white: #FFFFFF;
  --text-dim: #94A3B8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-height: 68px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: var(--font);
  background: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Global Container */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* Strict Viewport Centering & Snap Slide Architecture */
section.viewport-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: var(--header-height);
  position: relative;
  border-bottom: 1px solid var(--dark-border);
  box-sizing: border-box;
}

@media (min-width: 901px) and (min-height: 560px) {
  section.viewport-section {
    height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    overflow: hidden;
  }
}

@media (max-width: 900px), (max-height: 559px) {
  section.viewport-section {
    min-height: auto;
    padding: 64px 0;
    display: block;
  }
  html {
    scroll-snap-type: none;
  }
}

/* Badges & Titles */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(27, 63, 147, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93C5FD;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 20px;
}

.feature-tag {
  color: var(--accent-glow);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-head-sm {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.section-desc-sm {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Header */
header.nav-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(7, 13, 24, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dark-border);
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.btn {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-glow {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(229, 57, 36, 0.4);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(229, 57, 36, 0.6);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid var(--dark-border);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* 1. Hero Section 2-Column Balanced */
section.hero {
  background: radial-gradient(circle at 50% 20%, #15274A 0%, #070D18 70%);
}

.hero-glow-orb {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.2) 0%, rgba(229, 57, 36, 0.1) 50%, transparent 80%);
  pointer-events: none;
}

.hero-grid-2col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}

/* Center-Aligned Hero Text Column (Point C) */
.hero-text-col.center-aligned {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-headline {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 12px auto;
  text-align: center;
}

.hero-headline span.gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #FFFFFF 50%, #FF8A7A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 auto 22px;
  text-align: center;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-pill-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-border);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #CBD5E1;
}

/* 3D Multi-Layer Parallax Display Card in Hero */
.hero-3d-card {
  background: linear-gradient(180deg, rgba(19, 31, 53, 0.92) 0%, rgba(10, 17, 30, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 30px rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: visible; /* Prevents tooltip clipping */
  transition: transform 0.15s ease-out, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.hero-3d-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 20;
  transition: background 0.12s ease-out;
}

/* Multi-Layer Parallax Stage */
.parallax-stage {
  position: relative;
  width: 100%;
  height: 255px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(circle at 60% 40%, #172747 0%, #0A1324 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.p-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease-out;
  pointer-events: none;
}

/* Layer 1: Blueprint Crosshair */
.blueprint-crosshair {
  width: 92%;
  height: 92%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  position: relative;
}

.blueprint-crosshair::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

/* Layer 2: Thermal Glow Halo */
.p-layer-halo {
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 90, 54, 0.22) 0%, rgba(229, 57, 36, 0.08) 50%, transparent 75%);
  filter: blur(10px);
}

/* Layer 3: Arm Cutout Illustration */
.p-layer-arm {
  z-index: 5;
}

.arm-cutout-img {
  max-width: 95%;
  max-height: 94%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.6));
}

/* Layer 4: Vein Overlay SVG */
.vein-overlay-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

.vein-overlay-svg.active {
  opacity: 1;
}

/* Layer 5: Floating Hotspots */
.p-layer-hotspots {
  z-index: 15;
  pointer-events: auto;
}

.img-hotspot {
  position: absolute;
  width: 26px;
  height: 26px;
  background: rgba(229, 57, 36, 0.95);
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(229, 57, 36, 0.9);
  transition: transform 0.2s ease, background 0.2s ease;
  transform: translate(-50%, -50%);
}

.img-hotspot:hover, .img-hotspot.active {
  transform: translate(-50%, -50%) scale(1.25);
  background: var(--primary-glow);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.95);
}

/* Smart Tooltip Directions (Guaranteed Zero Edge Clipping!) */
.spot-tooltip {
  position: absolute;
  background: rgba(10, 25, 47, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  z-index: 25;
}

.tip-bottom-right {
  top: 32px;
  left: 0;
  transform: translateY(-4px);
}

.tip-top-center {
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
}

.tip-top-left {
  bottom: 32px;
  right: 0;
  transform: translateY(4px);
}

.img-hotspot:hover .spot-tooltip {
  opacity: 1;
  transform: translate(0, 0);
}

.img-hotspot:hover .tip-top-center {
  transform: translateX(-50%) translateY(0);
}

/* Card Bottom Action Bar */
.card-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  gap: 12px;
}

.btn-vein-toggle {
  background: rgba(229, 57, 36, 0.2);
  border: 1px solid rgba(229, 57, 36, 0.4);
  color: #FF8A7A;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-vein-toggle:hover {
  background: rgba(229, 57, 36, 0.35);
  color: #FFFFFF;
}

.hotspot-guide-text {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 600;
  text-align: right;
  flex-grow: 1;
}

.btn-vein-toggle {
  background: rgba(229, 57, 36, 0.2);
  border: 1px solid rgba(229, 57, 36, 0.4);
  color: #FF8A7A;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-vein-toggle:hover {
  background: rgba(229, 57, 36, 0.35);
  color: #FFFFFF;
}

.hotspot-guide-text {
  font-size: 0.74rem;
  color: #94A3B8;
  font-weight: 600;
}

/* Dynamic Hotspot Banner (Zero-clipping feature display!) */
.hotspot-detail-banner {
  margin-top: 10px;
  background: rgba(27, 63, 147, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 6px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  animation: fadeIn 0.25s ease;
}

.banner-badge {
  background: var(--accent);
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.7rem;
  white-space: nowrap;
}

.banner-text {
  color: #E2E8F0;
  line-height: 1.35;
}

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

/* 2. Before / After Slider Section (Compact Height) */
section.slider-section {
  background: var(--dark-surface);
}

.split-slider-wrapper {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  user-select: none;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 270px;
  background: #000;
}

.slider-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.pane-cold {
  background: linear-gradient(135deg, #0B192C 0%, #1E293B 100%);
}

.pane-content-cold {
  max-width: 380px;
  margin-left: auto;
  text-align: right;
  padding-right: 16px;
}

.pane-warm {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, #1A1325 0%, #2A1118 50%, #3B1214 100%);
  overflow: hidden;
  border-right: 2px solid var(--accent-glow);
}

.pane-warm-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 860px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.pane-content-warm {
  max-width: 380px;
  margin-right: auto;
  text-align: left;
  padding-left: 24px;
}

.sub-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sub-badge.cold {
  background: rgba(255,255,255,0.1);
  color: #94A3B8;
}

.sub-badge.warm {
  background: rgba(229,57,36,0.25);
  border: 1px solid var(--accent);
  color: #FF8A7A;
}

.slider-pane h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.slider-pane p {
  font-size: 0.84rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin-bottom: 12px;
}

.stat-highlight {
  font-size: 1.6rem;
  font-weight: 900;
}

.stat-highlight.cold { color: #EF4444; }
.stat-highlight.warm { color: #10B981; }

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(229, 57, 36, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-bg);
  font-weight: 900;
  font-size: 0.95rem;
  cursor: ew-resize;
  z-index: 10;
}

/* 3. Anatomy Section */
section.anatomy {
  background: var(--dark-bg);
}

.anatomy-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.anatomy-visual-frame {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.hotspot-area {
  position: relative;
  width: 100%;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background: rgba(229, 57, 36, 0.9);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(229, 57, 36, 0.6);
  transition: all 0.2s ease;
}

.hotspot-marker:hover, .hotspot-marker.active {
  transform: scale(1.2);
  background: var(--primary-glow);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.9);
}

.feature-detail-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-detail-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.feature-detail-card p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.feature-bullet {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.84rem;
  color: #E2E8F0;
  margin-bottom: 6px;
}

.feature-bullet-icon {
  color: #10B981;
  font-weight: 900;
}

/* 4. Workflow Section */
section.flow-steps {
  background: var(--dark-surface);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.flow-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.flow-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-glow);
  background: rgba(229, 57, 36, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.flow-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.flow-box p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* 5. Metrics Section */
section.impact-metrics {
  background: var(--dark-bg);
}

.metrics-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
}

.metric-giant {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-giant.blue {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-giant.red {
  background: linear-gradient(135deg, #FF8A7A 0%, #E53924 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-giant.green {
  background: linear-gradient(135deg, #6EE7B7 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.metric-card p {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* 6. Evidence Compact Grid */
section.evidence-drawer {
  background: var(--dark-surface);
}

.evidence-grid-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.study-pill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.study-pill-card h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.study-pill-card p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* 7. Sample Request Section */
section.sample-request {
  background: radial-gradient(circle at 50% 10%, #152545 0%, #070D18 80%);
}

.request-glass-card {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  background: rgba(14, 23, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-item.full {
  grid-column: span 2;
}

.form-item label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-item input, .form-item select {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid var(--dark-border);
  border-radius: 8px;
  padding: 11px 14px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.88rem;
  color-scheme: dark; /* Ensures browser native elements use dark theme */
  transition: all 0.2s ease;
}

.form-item select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Explicit high-contrast styling for dropdown options */
.form-item select option {
  background-color: #0E1726 !important;
  color: #F8FAFC !important;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.form-item select option:disabled {
  color: #64748B !important;
  background-color: #090E17 !important;
}

.form-item select option:hover,
.form-item select option:checked {
  background-color: #1B3F93 !important;
  color: #FFFFFF !important;
}

.form-item input:focus, .form-item select:focus {
  outline: none;
  border-color: var(--primary-glow);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

/* Footer */
footer.experience-footer {
  background: #040810;
  color: #64748B;
  padding: 24px 0;
  border-top: 1px solid var(--dark-border);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-line-1 {
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
}

.footer-line-2 {
  color: #64748B;
  font-size: 0.76rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-left {
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
  .footer-line-1, .footer-line-2 {
    white-space: normal;
  }
}

/* Responsive */

/* Hamburger Menu Button (Hidden on Desktop, Visible on Mobile) */
.hamburger-btn {
  display: none;
  background: transparent;
  border: 1.5px solid var(--dark-border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.hamburger-btn .bar {
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Nav Drawer & Backdrop */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  height: 100vh;
  background: #0A1324;
  border-left: 1px solid var(--dark-border);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dark-border);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-border);
  color: #FFFFFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.mobile-nav-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-nav-links a:hover, .mobile-nav-links a:active {
  color: #FFFFFF;
  background: rgba(27, 63, 147, 0.35);
}

/* Strict Mobile Responsive Optimization */
@media (max-width: 900px) {
  /* 1. Header: Hide desktop nav and desktop CTA button; show Hamburger Menu! */
  .nav-links, .nav-cta {
    display: none !important;
  }
  .hamburger-btn {
    display: flex;
  }
  header.nav-header {
    padding: 0 20px;
    height: 60px;
  }

  /* 2. Hero Section: Fits 100% inside mobile viewport without scrolling! */
  section.hero {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0 20px;
    box-sizing: border-box;
  }

  .hero-grid-2col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

  /* Image card on top */
  .hero-visual-col {
    order: -1;
    width: 100%;
    max-width: 360px;
  }

  .hero-3d-card {
    padding: 10px;
    border-radius: 14px;
  }

  .parallax-stage {
    height: 165px; /* Compact height so it doesn't push buttons off-screen! */
  }

  .card-action-bar {
    margin-top: 8px;
    gap: 8px;
  }

  .btn-vein-toggle {
    padding: 4px 8px;
    font-size: 0.68rem;
  }

  .hotspot-guide-text {
    font-size: 0.66rem;
  }

  /* Text column below image */
  .hero-text-col {
    order: 1;
    width: 100%;
  }

  .badge-pill {
    padding: 3px 10px;
    font-size: 0.68rem;
    margin-bottom: 6px;
  }

  .hero-headline {
    font-size: 1.55rem;
    line-height: 1.15;
    margin: 6px auto;
  }

  .hero-subhead {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 14px;
    max-width: 95%;
  }

  .hero-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn {
    padding: 9px 18px;
    font-size: 0.82rem;
  }

  .hero-pill-bar {
    gap: 6px;
    margin-bottom: 0;
  }

  .pill-item {
    padding: 3px 9px;
    font-size: 0.68rem;
  }
}

/* Interactive Mouse-Responsive Card Enhancements */
.metric-card, .flow-box, .study-pill-card, .split-slider-wrapper {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.15);
}

.flow-box:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(229, 57, 36, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4), 0 0 18px rgba(229, 57, 36, 0.15);
}

.study-pill-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* Subtle mouse spotlight trail */
.spotlight-card {
  position: relative;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: var(--spotlight-y, 50%);
  left: var(--spotlight-x, 50%);
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.spotlight-card:hover::before {
  opacity: 1;
}
