/* ============================================
   avhita health — Dark Teal Theme
   ============================================ */

:root {
  --brand-teal: #105c56;
  --brand-teal-rgb: 16, 92, 86;
  --brand-teal-light: #1a7a72;
  --brand-teal-muted: #2d8a82;

  --teal-300: #5eead4;
  --teal-200: #99f6e4;
  --teal-100: #ccfbf1;

  /* Hero & header only */
  --hero-bg: #105c56;
  --header-bg: #105c56;
  --hero-primary-rgb: 16, 92, 86;

  /* Light page surfaces */
  --surface: #f9f8f5;
  --surface-alt: #f2f0ea;
  --surface-card: #ffffff;
  --surface-border: rgba(16, 92, 86, 0.1);
  --surface-shadow: rgba(16, 92, 86, 0.08);

  --text-heading: #0f2b28;
  --text-body: #3d524f;
  --text-muted: #6b7f7c;

  --accent: var(--brand-teal);
  --accent-light: var(--brand-teal-light);
  --accent-glow: rgba(16, 92, 86, 0.2);

  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Nunito Sans', system-ui, -apple-system, sans-serif;

  --header-height: 72px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.site-main {
  background: var(--surface);
  color: var(--text-body);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ============================================
   Logo
   ============================================ */

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo__img {
  display: block;
  height: 36px;
  width: auto;
}

.logo__health {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #f0fdfa;
}

.logo--footer .logo__img {
  height: 32px;
}

.logo--footer .logo__health {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-heading);
}

/* ============================================
   Header — Sticky
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  color: #f0fdfa;
  transition: box-shadow var(--transition), backdrop-filter var(--transition), background var(--transition);
  --text-primary: #f0fdfa;
  --text-secondary: #b2e8e0;
}

.header.is-scrolled {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  background: rgba(var(--hero-primary-rgb), 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav a:not(.nav__cta):not(.nav__portal):hover {
  color: var(--text-primary);
}

.nav a:not(.nav__cta):not(.nav__portal)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav a:not(.nav__cta):not(.nav__portal):hover::after {
  width: 100%;
}

.nav__cta {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  color: var(--text-primary) !important;
  transition: background var(--transition), border-color var(--transition);
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav__portal {
  padding: 8px 20px;
  background: var(--accent);
  border-radius: 100px;
  color: var(--hero-bg) !important;
  font-weight: 600;
  transition: background var(--transition);
}

.nav__portal:hover {
  background: var(--accent-light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   Hero Zone — unified header + hero background
   ============================================ */

.hero-zone {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  color: #f0fdfa;
  overflow: hidden;
  --text-primary: #f0fdfa;
  --text-secondary: #b2e8e0;
  --text-muted: #7ec9be;
  --accent: var(--teal-100);
}

.hero-zone__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-zone__photos {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--hero-bg);
}

.hero-zone__photo {
  position: absolute;
  inset: -6%;
  background-color: var(--hero-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s ease-in-out;
  transform-origin: center center;
  will-change: opacity, transform;
}

.hero-zone__photo.is-active {
  opacity: 1;
  z-index: 1;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

/* Subtle slides — light accents, dark teal prevails */
.hero-zone__photo--subtle.is-active {
  filter: brightness(1) contrast(1.05) saturate(0.95);
}

/* Full-scene hero photos — header + hero share this slider */
.hero-zone__photo--scene.is-active {
  filter: brightness(0.58) saturate(0.9) contrast(1.06);
}

/* Photo slides — pull down brightness so #105c56 theme stays dominant */
.hero-zone__photo:not(.hero-zone__photo--subtle):not(.hero-zone__photo--scene).is-active {
  filter: brightness(0.5) saturate(0.85) contrast(1.05);
}

@keyframes heroKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1.2%, -0.8%); }
}

.hero-zone__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: soft-light;
  opacity: 0.35;
  animation: auroraDrift 18s ease-in-out infinite;
}

.hero-zone__aurora--1 {
  width: 50vw;
  height: 50vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.3) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.hero-zone__aurora--2 {
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(16, 92, 86, 0.45) 0%, transparent 70%);
  bottom: -15%;
  left: -10%;
  animation-delay: -6s;
  animation-duration: 22s;
}

@keyframes auroraDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, -4%) scale(1.08); }
  66% { transform: translate(-4%, 3%) scale(0.94); }
}

.hero-zone__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 92, 86, 0.72) 0%, rgba(16, 92, 86, 0.58) 40%, rgba(10, 50, 46, 0.68) 100%),
    linear-gradient(135deg, rgba(16, 92, 86, 0.4) 0%, transparent 50%);
}

.hero-zone__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  z-index: 1;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  background: transparent;
  color: #f0fdfa;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  width: 100%;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100dvh - var(--header-height) - 80px);
}

.hero__copy {
  max-width: 560px;
}

.hero__tagline {
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.15s;
}

.hero__tagline-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.68);
}

.hero__tagline-line--accent {
  font-weight: 800;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.72) 0%, rgba(204, 251, 241, 0.62) 50%, rgba(94, 234, 212, 0.55) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 8s linear infinite;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 28px rgba(94, 234, 212, 0.22))
    drop-shadow(0 20px 60px rgba(0, 0, 0, 0.25));
}

.hero__nexus,
.hero__rpm-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.7s;
}

.hero__nexus.is-active,
.hero__rpm-visual.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

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

.hero__step-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(204, 251, 241, 0.58);
  margin-bottom: 16px;
  opacity: 0;
}

.hero__slide.is-active .hero__step-label {
  animation: fadeUp 0.5s ease forwards 0.05s;
}

/* Hero Slider */
.hero__slider {
  margin-bottom: 36px;
}

.hero__slides {
  position: relative;
  min-height: 240px;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow),
    visibility var(--transition-slow);
}

.hero__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero__slide.is-exiting {
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__title-line {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
}

.hero__slide.is-active .hero__title-line {
  animation: revealLine 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__slide.is-active .hero__title-line:nth-child(2) {
  animation-delay: 0.12s;
}

@keyframes revealLine {
  from {
    opacity: 0;
    transform: translateY(100%);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

.hero__title-line--accent {
  font-weight: 800;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.75) 0%, rgba(204, 251, 241, 0.65) 40%, rgba(94, 234, 212, 0.58) 70%, rgba(255, 255, 255, 0.72) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 6s linear infinite;
}

@keyframes shimmerText {
  to { background-position: 200% center; }
}

.hero__desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  opacity: 0;
}

.hero__slide.is-active .hero__desc {
  animation: fadeUp 0.7s ease forwards 0.35s;
}

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

/* Indicators */
.hero__indicators {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.hero__indicator {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), width var(--transition);
}

.hero__indicator.is-active {
  background: #ffffff;
  width: 48px;
}

.hero__indicator:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.45);
}

/* Hero actions */
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

/* ============================================
   Hero Nexus — centerpiece visual
   ============================================ */

.hero__nexus {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nexus__glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.38) 0%, rgba(94, 234, 212, 0.12) 45%, transparent 70%);
  animation: nexusPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes nexusPulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.15); opacity: 1; }
}

.nexus__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow:
    0 0 20px rgba(94, 234, 212, 0.14),
    inset 0 0 24px rgba(94, 234, 212, 0.06);
}

.nexus__ring--1 {
  width: 92%;
  height: 92%;
  border-color: rgba(255, 255, 255, 0.26);
  animation: nexusSpin 40s linear infinite;
}

.nexus__ring--2 {
  width: 74%;
  height: 74%;
  border-style: dashed;
  border-width: 1.5px;
  border-color: rgba(94, 234, 212, 0.38);
  box-shadow: 0 0 28px rgba(94, 234, 212, 0.18);
  animation: nexusSpin 30s linear infinite reverse;
}

.nexus__ring--3 {
  width: 56%;
  height: 56%;
  border-color: rgba(255, 255, 255, 0.22);
  animation: nexusSpin 20s linear infinite;
}

@keyframes nexusSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.nexus__svg {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nexus__orbit-path {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.35));
  animation: orbitDash 12s linear infinite;
}

@keyframes orbitDash {
  to { stroke-dashoffset: -48; }
}

.nexus__beam {
  transition: opacity 0.6s ease, stroke-width 0.4s ease;
}

.hero__nexus[data-active="patch"] .nexus__beam--1,
.hero__nexus[data-active="connect"] .nexus__beam--1,
.hero__nexus[data-active="connect"] .nexus__beam--2,
.hero__nexus[data-active="cloud"] .nexus__beam--1,
.hero__nexus[data-active="cloud"] .nexus__beam--2,
.hero__nexus[data-active="cloud"] .nexus__beam--3,
.hero__nexus[data-active="ai"] .nexus__beam--3,
.hero__nexus[data-active="ai"] .nexus__beam--4,
.hero__nexus[data-active="care"] .nexus__beam--4,
.hero__nexus[data-active="care"] .nexus__beam--5,
.hero__nexus[data-active="escalate"] .nexus__beam--5,
.hero__nexus[data-active="escalate"] .nexus__beam--6 {
  opacity: 0.85;
  animation: beamPulse 2s ease-in-out infinite;
}

@keyframes beamPulse {
  0%, 100% { stroke-opacity: 0.5; }
  50% { stroke-opacity: 1; }
}

.nexus__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  z-index: 3;
}

.nexus__core-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,0.18) 0%, rgba(94,234,212,0.12) 50%, rgba(16,92,86,0.4) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 48px rgba(94, 234, 212, 0.42),
    0 0 96px rgba(94, 234, 212, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  overflow: hidden;
  animation: coreFloat 5s ease-in-out infinite;
}

@keyframes coreFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.nexus__core-shimmer {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.15), transparent 30%);
  animation: nexusSpin 6s linear infinite;
}

.nexus__core-icon {
  width: 56px;
  height: 40px;
  position: relative;
  z-index: 1;
}

.nexus__heart-line {
  stroke-dasharray: 80;
  animation: heartScan 2.5s ease-in-out infinite;
}

@keyframes heartScan {
  0% { stroke-dashoffset: 80; opacity: 0.5; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -80; opacity: 0.5; }
}

.nexus__core-label {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.nexus__sat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
  opacity: 0.35;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.nexus__sat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nexus__sat span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.nexus__sat--patch  { top: 8%;  left: 50%; }
.nexus__sat--mobile { top: 22%; left: 88%; }
.nexus__sat--cloud  { top: 62%; left: 88%; }
.nexus__sat--ai     { top: 88%; left: 50%; }
.nexus__sat--care   { top: 62%; left: 12%; }
.nexus__sat--report { top: 22%; left: 12%; }

.hero__nexus[data-active="patch"] .nexus__sat--patch,
.hero__nexus[data-active="connect"] .nexus__sat--mobile,
.hero__nexus[data-active="cloud"] .nexus__sat--cloud,
.hero__nexus[data-active="ai"] .nexus__sat--ai,
.hero__nexus[data-active="care"] .nexus__sat--care,
.hero__nexus[data-active="escalate"] .nexus__sat--report {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
}

.hero__nexus[data-active="patch"] .nexus__sat--patch .nexus__sat-icon,
.hero__nexus[data-active="connect"] .nexus__sat--mobile .nexus__sat-icon,
.hero__nexus[data-active="cloud"] .nexus__sat--cloud .nexus__sat-icon,
.hero__nexus[data-active="ai"] .nexus__sat--ai .nexus__sat-icon,
.hero__nexus[data-active="care"] .nexus__sat--care .nexus__sat-icon,
.hero__nexus[data-active="escalate"] .nexus__sat--report .nexus__sat-icon {
  border-color: rgba(94, 234, 212, 0.6);
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.4);
  background: rgba(94, 234, 212, 0.15);
}

.hero__nexus[data-active] .nexus__sat--patch .nexus__sat-icon,
.hero__nexus[data-active="connect"] .nexus__sat--mobile .nexus__sat-icon,
.hero__nexus[data-active="cloud"] .nexus__sat--cloud .nexus__sat-icon,
.hero__nexus[data-active="ai"] .nexus__sat--ai .nexus__sat-icon,
.hero__nexus[data-active="care"] .nexus__sat--care .nexus__sat-icon,
.hero__nexus[data-active="escalate"] .nexus__sat--report .nexus__sat-icon {
  /* cumulative highlight for passed stages */
}

.nexus__float {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 8px rgba(94, 234, 212, 0.8);
  animation: floatParticle 8s ease-in-out infinite;
}

.nexus__float--1 { top: 20%; left: 30%; animation-delay: 0s; }
.nexus__float--2 { top: 70%; left: 75%; animation-delay: -2s; }
.nexus__float--3 { top: 45%; left: 15%; animation-delay: -4s; }
.nexus__float--4 { top: 80%; left: 45%; animation-delay: -1s; }
.nexus__float--5 { top: 15%; left: 70%; animation-delay: -3s; }

@keyframes floatParticle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.8; }
  50% { opacity: 1; transform: translateY(-30px) scale(1); }
  80% { opacity: 0.6; }
}

/* Legacy journey - removed from DOM */
.hero__stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.journey-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.journey-ring--1 { width: 100%; height: 100%; animation: ringPulse 5s ease-in-out infinite; }
.journey-ring--2 { width: 78%; height: 78%; animation: ringPulse 5s ease-in-out infinite 0.8s; }
.journey-ring--3 { width: 56%; height: 56%; animation: ringPulse 5s ease-in-out infinite 1.6s; }

.journey-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.journey-path {
  fill: none;
  transition: stroke 0.6s ease, stroke-opacity 0.6s ease;
}

.hero__stage[data-active="connect"] #pathPatchMobile,
.hero__stage[data-active="cloud"] #pathPatchMobile,
.hero__stage[data-active="cloud"] #pathMobileCloud,
.hero__stage[data-active="ai"] #pathPatchMobile,
.hero__stage[data-active="ai"] #pathMobileCloud,
.hero__stage[data-active="ai"] #pathCloudAI,
.hero__stage[data-active="care"] #pathPatchMobile,
.hero__stage[data-active="care"] #pathMobileCloud,
.hero__stage[data-active="care"] #pathCloudAI,
.hero__stage[data-active="care"] #pathAIOutputs,
.hero__stage[data-active="escalate"] #pathPatchMobile,
.hero__stage[data-active="escalate"] #pathMobileCloud,
.hero__stage[data-active="escalate"] #pathCloudAI,
.hero__stage[data-active="escalate"] #pathAIOutputs {
  stroke: rgba(255, 255, 255, 0.45);
  animation: pathFlow 1.2s linear infinite;
}

@keyframes pathFlow {
  to { stroke-dashoffset: -20; }
}

.journey-packet {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

.hero__stage[data-active="connect"] .journey-packet--1,
.hero__stage[data-active="cloud"] .journey-packet--1,
.hero__stage[data-active="cloud"] .journey-packet--2,
.hero__stage[data-active="ai"] .journey-packet--1,
.hero__stage[data-active="ai"] .journey-packet--2,
.hero__stage[data-active="ai"] .journey-packet--3,
.hero__stage[data-active="care"] .journey-packet--1,
.hero__stage[data-active="care"] .journey-packet--2,
.hero__stage[data-active="care"] .journey-packet--3,
.hero__stage[data-active="escalate"] .journey-packet--1,
.hero__stage[data-active="escalate"] .journey-packet--2,
.hero__stage[data-active="escalate"] .journey-packet--3 {
  opacity: 1;
}

.journey-node {
  position: absolute;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.25;
  z-index: 2;
}

.journey-node__label {
  display: block;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  white-space: nowrap;
}

/* Node positions */
.journey-node--patient  { top: 42%; left: 22%; }
.journey-node--mobile   { top: 58%; left: 48%; }
.journey-node--cloud    { top: 28%; left: 78%; }
.journey-node--ai       { top: 68%; left: 72%; }
.journey-node--outputs  { top: 78%; left: 38%; }
.journey-node--clinician { top: 32%; left: 42%; }

/* Active node states */
.hero__stage[data-active="patch"] .journey-node--patient,
.hero__stage[data-active="connect"] .journey-node--patient,
.hero__stage[data-active="connect"] .journey-node--mobile,
.hero__stage[data-active="cloud"] .journey-node--patient,
.hero__stage[data-active="cloud"] .journey-node--mobile,
.hero__stage[data-active="cloud"] .journey-node--cloud,
.hero__stage[data-active="ai"] .journey-node--cloud,
.hero__stage[data-active="ai"] .journey-node--ai,
.hero__stage[data-active="care"] .journey-node--ai,
.hero__stage[data-active="care"] .journey-node--outputs,
.hero__stage[data-active="escalate"] .journey-node--outputs,
.hero__stage[data-active="escalate"] .journey-node--clinician {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero__stage[data-active="patch"] .journey-node--patient { transform: translate(-50%, -50%) scale(1.08); }
.hero__stage[data-active="connect"] .journey-node--mobile { transform: translate(-50%, -50%) scale(1.08); }
.hero__stage[data-active="cloud"] .journey-node--cloud { transform: translate(-50%, -50%) scale(1.08); }
.hero__stage[data-active="ai"] .journey-node--ai { transform: translate(-50%, -50%) scale(1.08); }
.hero__stage[data-active="care"] .journey-node--outputs { transform: translate(-50%, -50%) scale(1.05); }
.hero__stage[data-active="escalate"] .journey-node--clinician { transform: translate(-50%, -50%) scale(1.08); }

.hero__stage[data-active] .journey-node--patient .journey-node__label,
.hero__stage[data-active="connect"] .journey-node--mobile .journey-node__label,
.hero__stage[data-active="cloud"] .journey-node--cloud .journey-node__label,
.hero__stage[data-active="ai"] .journey-node--ai .journey-node__label,
.hero__stage[data-active="care"] .journey-node--outputs .journey-node__label,
.hero__stage[data-active="escalate"] .journey-node--clinician .journey-node__label {
  color: #fff;
}

/* Patient + patch */
.jn-patient__svg { width: 72px; height: auto; }

.jn-patch {
  animation: patchGlow 2s ease-in-out infinite;
}

.jn-patch__pulse {
  fill: none;
  transform-origin: 40px 55px;
  animation: patchRing 2s ease-out infinite;
}

@keyframes patchGlow {
  0%, 100% { fill: rgba(255, 255, 255, 0.15); }
  50% { fill: rgba(255, 255, 255, 0.3); }
}

@keyframes patchRing {
  0% { r: 12; opacity: 0.6; }
  100% { r: 22; opacity: 0; }
}

.hero__stage[data-active="patch"] .jn-patch__pulse { animation-duration: 1.2s; }

/* Mobile phone */
.jn-phone__frame {
  width: 56px;
  height: 96px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 6px;
  margin: 0 auto;
}

.jn-phone__screen {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.jn-ecg {
  width: 200%;
  height: 30px;
  animation: ecgScroll 2s linear infinite;
}

.jn-ecg__line {
  stroke-dasharray: 200;
  animation: ecgDraw 2s linear infinite;
}

@keyframes ecgScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ecgDraw {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

.jn-phone__status {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.45rem;
  font-weight: 700;
  color: #5eead4;
  letter-spacing: 0.05em;
}

.jn-bluetooth {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-top: 6px;
  height: 14px;
  align-items: flex-end;
  opacity: 0;
}

.jn-bluetooth span {
  display: block;
  width: 3px;
  background: #fff;
  border-radius: 2px;
  animation: btPulse 1.2s ease-in-out infinite;
}

.jn-bluetooth span:nth-child(1) { height: 4px; animation-delay: 0s; }
.jn-bluetooth span:nth-child(2) { height: 8px; animation-delay: 0.15s; }
.jn-bluetooth span:nth-child(3) { height: 12px; animation-delay: 0.3s; }

@keyframes btPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.hero__stage[data-active="connect"] .jn-bluetooth { opacity: 1; }

/* Cloud */
.jn-cloud svg { width: 72px; height: auto; margin: 0 auto; display: block; }

.jn-cloud__arrow {
  opacity: 0;
  transform-origin: 40px 15px;
}

.hero__stage[data-active="cloud"] .jn-cloud__arrow {
  opacity: 1;
  animation: cloudUpload 1.5s ease-in-out infinite;
}

@keyframes cloudUpload {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-6px); opacity: 1; }
}

.jn-cloud__dots {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 4px;
}

.jn-cloud__dots span {
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
}

.hero__stage[data-active="cloud"] .jn-cloud__dots span {
  animation: dotRise 1.2s ease-in-out infinite;
}

.jn-cloud__dots span:nth-child(2) { animation-delay: 0.2s; }
.jn-cloud__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotRise {
  0% { opacity: 0; transform: translateY(8px); }
  50% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

/* AI Engine */
.jn-ai {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto;
}

.jn-ai__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  animation: aiSpin 8s linear infinite;
}

.jn-ai__ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@keyframes aiSpin {
  to { transform: rotate(360deg); }
}

.jn-ai__core {
  position: absolute;
  inset: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.jn-ai__ecg {
  stroke-dasharray: 80;
  animation: aiEcgScan 2s ease-in-out infinite;
}

@keyframes aiEcgScan {
  0% { stroke-dashoffset: 80; opacity: 0.4; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -80; opacity: 0.4; }
}

.jn-ai__tag {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
  margin-top: 2px;
}

.jn-ai__scan {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
}

.jn-ai__scan::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.hero__stage[data-active="ai"] .jn-ai__scan { opacity: 1; }

/* Output cards */
.jn-outputs {
  position: relative;
  width: 140px;
  height: 100px;
  margin: 0 auto;
}

.jn-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 0.55rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jn-card__icon { font-size: 0.5rem; opacity: 0.8; }

.jn-card--impression { top: 0; left: 0; }
.jn-card--careplan   { top: 0; right: 0; }
.jn-card--escalate   { bottom: 20px; left: 0; border-color: rgba(255, 180, 100, 0.4); }
.jn-card--report     { bottom: 20px; right: 0; }

.hero__stage[data-active="care"] .jn-card--impression { opacity: 1; transform: scale(1); transition-delay: 0.1s; }
.hero__stage[data-active="care"] .jn-card--careplan   { opacity: 1; transform: scale(1); transition-delay: 0.25s; }
.hero__stage[data-active="care"] .jn-card--escalate   { opacity: 1; transform: scale(1); transition-delay: 0.4s; }
.hero__stage[data-active="care"] .jn-card--report     { opacity: 1; transform: scale(1); transition-delay: 0.55s; }

.hero__stage[data-active="escalate"] .jn-card--impression,
.hero__stage[data-active="escalate"] .jn-card--careplan,
.hero__stage[data-active="escalate"] .jn-card--escalate,
.hero__stage[data-active="escalate"] .jn-card--report {
  opacity: 0.6;
  transform: scale(0.9);
}

.jn-card--escalate {
  animation: escalatePulse 1.5s ease-in-out infinite;
}

.hero__stage[data-active="escalate"] .jn-card--escalate {
  opacity: 1 !important;
  transform: scale(1.05) !important;
  background: rgba(255, 160, 80, 0.2);
  border-color: rgba(255, 180, 100, 0.6);
  animation: escalatePulse 1s ease-in-out infinite;
}

@keyframes escalatePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 180, 100, 0.3); }
  50% { box-shadow: 0 0 12px 2px rgba(255, 180, 100, 0.4); }
}

/* Clinician */
.jn-clinician svg { width: 52px; height: auto; margin: 0 auto; display: block; }

.jn-clinician__badge {
  margin-top: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero__stage[data-active="escalate"] .jn-clinician__badge {
  opacity: 1;
  transform: translateY(0);
}

.jn-stethoscope {
  opacity: 0;
}

.hero__stage[data-active="escalate"] .jn-stethoscope {
  opacity: 1;
  animation: stethPulse 2s ease-in-out infinite;
}

@keyframes stethPulse {
  0%, 100% { stroke-opacity: 0.6; }
  50% { stroke-opacity: 1; }
}

/* ============================================
   Hero RPM Dashboard Visual
   ============================================ */

.hero__rpm-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rpm-dash {
  width: 100%;
  max-width: 380px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.2),
    0 0 60px rgba(94, 234, 212, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: rpmFloat 6s ease-in-out infinite;
}

@keyframes rpmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.rpm-dash__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.rpm-dash__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.rpm-dash__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal-300);
}

.rpm-dash__live span {
  width: 6px;
  height: 6px;
  background: var(--teal-300);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.rpm-dash__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.rpm-metric {
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-align: center;
}

.rpm-metric--alert {
  border-color: rgba(255, 180, 100, 0.35);
  background: rgba(255, 160, 80, 0.1);
}

.rpm-metric__value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.rpm-metric--alert .rpm-metric__value {
  color: #ffd4a8;
}

.rpm-metric__label {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.rpm-dash__ecg {
  height: 50px;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  padding: 8px 0;
}

.rpm-dash__ecg svg {
  width: 200%;
  height: 100%;
  animation: ecgScroll 3s linear infinite;
}

.rpm-ecg__line {
  stroke-dasharray: 400;
  animation: ecgDraw 3s linear infinite;
}

.rpm-dash__feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.rpm-feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  opacity: 0;
  transform: translateX(-8px);
  animation: feedSlide 0.5s ease forwards;
}

.rpm-feed-item:nth-child(1) { animation-delay: 0.3s; }
.rpm-feed-item:nth-child(2) { animation-delay: 0.6s; }
.rpm-feed-item:nth-child(3) { animation-delay: 0.9s; }

.rpm-feed-item--new {
  color: #fff;
  border: 1px solid rgba(255, 180, 100, 0.3);
  background: rgba(255, 160, 80, 0.08);
}

.rpm-feed__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.rpm-feed-item--new .rpm-feed__dot {
  background: #ffb464;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes feedSlide {
  to { opacity: 1; transform: translateX(0); }
}

.rpm-dash__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rpm-badge {
  padding: 4px 10px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
}

.hero__rpm-visual.is-active .rpm-feed-item {
  animation: feedSlide 0.5s ease forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: #ffffff;
  color: var(--brand-teal);
}

.btn--primary:hover {
  background: var(--teal-100);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

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

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Light section buttons */
.site-main .btn--primary {
  background: var(--brand-teal);
  color: #fff;
}

.site-main .btn--primary:hover {
  background: var(--brand-teal-light);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.site-main .btn--ghost {
  color: var(--brand-teal);
  border-color: var(--surface-border);
  background: var(--surface-card);
}

.site-main .btn--ghost:hover {
  border-color: var(--brand-teal);
  background: rgba(var(--brand-teal-rgb), 0.06);
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
  background: var(--surface-card);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 20px 0;
  box-shadow: 0 4px 24px var(--surface-shadow);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-teal);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--surface-border);
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 100px 0;
  background: var(--surface);
  color: var(--text-body);
}

.section--alt {
  background: var(--surface-alt);
}

.section__header {
  margin-bottom: 64px;
  max-width: 640px;
}

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

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-heading);
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Products
   ============================================ */

.text-link {
  color: var(--brand-teal);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.text-link:hover {
  opacity: 0.75;
}

.product-showcase {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px var(--surface-shadow);
}

.product-showcase__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--surface-border);
}

.product-showcase__nav-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--surface-border);
  background: var(--surface-alt);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.product-showcase__nav-item.is-active,
.product-showcase__nav-item:hover {
  color: var(--brand-teal);
  border-color: rgba(var(--brand-teal-rgb), 0.25);
  background: rgba(var(--brand-teal-rgb), 0.06);
}

.product-showcase__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.product-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.product-showcase__lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-features {
  list-style: none;
  display: grid;
  gap: 18px;
}

.product-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.product-features__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--brand-teal-rgb), 0.1);
  color: var(--brand-teal);
}

.product-features__icon svg {
  width: 14px;
  height: 14px;
}

.product-features strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.product-features p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-showcase__hero {
  margin: 0;
  text-align: center;
}

.product-showcase__hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--surface-border);
}

.product-showcase__hero figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--surface-border);
}

.product-gallery__item {
  margin: 0;
}

.product-gallery__frame {
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.product-gallery__item:hover .product-gallery__frame {
  border-color: rgba(var(--brand-teal-rgb), 0.22);
  box-shadow: 0 8px 24px var(--surface-shadow);
}

.product-gallery__frame img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

.product-gallery__item:last-child .product-gallery__frame img {
  max-height: 90px;
}

.product-gallery__item figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
}

.product-gallery__label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
}

.product-gallery__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   Platform Grid
   ============================================ */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  padding: 32px;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px var(--surface-shadow);
}

.platform-card:hover {
  border-color: rgba(var(--brand-teal-rgb), 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--surface-shadow);
}

.platform-card--featured {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(var(--brand-teal-rgb), 0.08) 0%, var(--surface-card) 60%);
  border-color: rgba(var(--brand-teal-rgb), 0.2);
}

.platform-card__icon {
  width: 48px;
  height: 48px;
  color: var(--brand-teal);
  margin-bottom: 20px;
}

.platform-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.platform-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   How It Works — Steps Flow
   ============================================ */

.steps-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  list-style: none;
  position: relative;
  padding-top: 8px;
}

.steps-flow::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--brand-teal-rgb), 0.12) 8%,
    rgba(var(--brand-teal-rgb), 0.28) 50%,
    rgba(var(--brand-teal-rgb), 0.12) 92%,
    transparent
  );
  z-index: 0;
  pointer-events: none;
}

.step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--surface-shadow);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  border-color: rgba(var(--brand-teal-rgb), 0.22);
  transform: translateY(-6px);
  box-shadow: 0 20px 44px var(--surface-shadow);
}

.step-card__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.step-card__number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-teal);
  background: rgba(var(--brand-teal-rgb), 0.08);
  border: 1px solid rgba(var(--brand-teal-rgb), 0.12);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.step-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand-teal);
  background: linear-gradient(145deg, rgba(var(--brand-teal-rgb), 0.14) 0%, rgba(var(--brand-teal-rgb), 0.04) 100%);
  border: 1px solid rgba(var(--brand-teal-rgb), 0.14);
  box-shadow: 0 4px 16px rgba(var(--brand-teal-rgb), 0.08);
}

.step-card__icon svg {
  width: 32px;
  height: 32px;
}

.step-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-heading);
  line-height: 1.3;
}

.step-card__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   AI Section
   ============================================ */

.ai-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-features {
  list-style: none;
  margin-top: 40px;
}

.ai-features li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--surface-border);
}

.ai-features li:last-child {
  border-bottom: none;
}

.ai-features__icon {
  color: var(--brand-teal);
  font-size: 0.6rem;
  margin-top: 6px;
  flex-shrink: 0;
}

.ai-features strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-heading);
}

.ai-features p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* AI Visual */
.ai-visual {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
}

.ai-visual__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--brand-teal-rgb), 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ai-visual__ring--1 {
  width: 100%;
  height: 100%;
  animation: ringPulse 4s ease-in-out infinite;
}

.ai-visual__ring--2 {
  width: 75%;
  height: 75%;
  animation: ringPulse 4s ease-in-out infinite 0.5s;
}

.ai-visual__ring--3 {
  width: 50%;
  height: 50%;
  animation: ringPulse 4s ease-in-out infinite 1s;
}

@keyframes ringPulse {
  0%, 100% { border-color: rgba(var(--brand-teal-rgb), 0.15); }
  50% { border-color: rgba(var(--brand-teal-rgb), 0.35); }
}

.ai-visual__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: rgba(var(--brand-teal-rgb), 0.08);
  border: 1px solid rgba(var(--brand-teal-rgb), 0.2);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
}

.ai-visual__core svg {
  width: 48px;
  height: 32px;
}

.ai-visual__core span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.ai-visual__node {
  position: absolute;
  padding: 8px 14px;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-teal);
  box-shadow: 0 4px 12px var(--surface-shadow);
  animation: nodeFloat 6s ease-in-out infinite;
}

.ai-visual__node--1 { top: 5%; left: 50%; transform: translateX(-50%); }
.ai-visual__node--2 { top: 50%; right: -5%; transform: translateY(-50%); animation-delay: -1.5s; }
.ai-visual__node--3 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: -3s; }
.ai-visual__node--4 { top: 50%; left: -5%; transform: translateY(-50%); animation-delay: -4.5s; }

@keyframes nodeFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

.ai-visual__node--2 {
  animation-name: nodeFloatRight;
}

@keyframes nodeFloatRight {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(6px); }
}

.ai-visual__node--3 {
  animation-name: nodeFloatBottom;
}

@keyframes nodeFloatBottom {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.ai-visual__node--4 {
  animation-name: nodeFloatLeft;
}

@keyframes nodeFloatLeft {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-6px); }
}

/* ============================================
   Compliance
   ============================================ */

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.compliance-card {
  padding: 36px;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px var(--surface-shadow);
}

.compliance-card:hover {
  border-color: rgba(var(--brand-teal-rgb), 0.25);
  box-shadow: 0 8px 24px var(--surface-shadow);
}

.compliance-card--highlight {
  border-color: rgba(var(--brand-teal-rgb), 0.3);
  background: linear-gradient(180deg, rgba(var(--brand-teal-rgb), 0.06) 0%, var(--surface-card) 50%);
}

.compliance-card__flag {
  font-size: 2rem;
  margin-bottom: 16px;
}

.compliance-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-heading);
}

.compliance-card ul {
  list-style: none;
}

.compliance-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.compliance-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  background: var(--brand-teal);
  border-radius: 50%;
  opacity: 0.6;
}

/* ============================================
   CTA
   ============================================ */

.cta-section {
  padding-bottom: 120px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 64px;
  background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-light) 100%);
  border: 1px solid rgba(var(--brand-teal-rgb), 0.3);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.cta-card .btn--primary {
  background: #fff;
  color: var(--brand-teal);
}

.cta-card .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-card .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-card__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--hero-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 64px 0 32px;
  color: #b2e8e0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
}

.footer__links {
  display: flex;
  gap: 64px;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__compliance-note {
  color: var(--teal-200);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .product-showcase {
    padding: 28px;
  }

  .product-showcase__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-showcase__media {
    order: -1;
  }

  .product-gallery {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .ai-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ai-split__visual {
    order: -1;
  }

  .ai-visual {
    width: 280px;
    height: 280px;
  }

  .compliance-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
  }

  .steps-flow::before {
    display: none;
  }

  .step-card:last-child {
    grid-column: 1 / -1;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .steps-flow {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 20px;
    padding-left: 20px;
  }

  .steps-flow::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 51px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(var(--brand-teal-rgb), 0.2) 6%,
      rgba(var(--brand-teal-rgb), 0.2) 94%,
      transparent
    );
  }

  .step-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding: 20px;
  }

  .step-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .step-card__marker {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .step-card__number {
    margin-bottom: 10px;
  }

  .step-card__icon {
    width: 56px;
    height: 56px;
  }

  .step-card__icon svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-bg);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
  }

  .nav.is-open {
    display: flex;
    background: rgba(var(--hero-primary-rgb), 0.97);
  }

  .nav a {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .trust-divider {
    display: none;
  }

  .trust-bar__inner {
    flex-direction: column;
    gap: 12px;
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .cta-card__actions {
    justify-content: center;
  }

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

  .footer__links {
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }

  .hero__copy {
    max-width: none;
    order: 2;
  }

  .hero__visual {
    order: 1;
    max-width: 340px;
  }

  .hero__slides {
    min-height: 260px;
  }

  .hero__indicators {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero__indicator {
    width: 24px;
  }

  .hero__indicator.is-active {
    width: 36px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

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