
/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --navy:        #21345f;
  --blue:        #4266a4;
  --blue-lt:     #5c82c8;
  --dark-bg:     #121d35;
  --gray-bg:     #f4f4f4;
  --body-color:  #4a5568;
  --green:       #4ade80;

  /* Typography */
  --fs-h1:   64px;
  --fs-h2:   40px;
  --fs-h3:   22.4px;
  --fs-h3b:  17.6px;
  --fs-h3c:  16.8px;
  --fs-body: 16.8px;
  --fs-sm:   14.4px;
  --fs-xs:   12px;

  /* Spacing */
  --sp-4:   4px;
  --sp-8:   8px;
  --sp-12:  12px;
  --sp-16:  16px;
  --sp-20:  20px;
  --sp-24:  24px;
  --sp-27:  27px;
  --sp-32:  32px;
  --sp-48:  48px;
  --sp-64:  64px;
  --sp-96:  96px;

  /* Layout */
  --container: 1200px;

  /* Shapes */
  --radius-card:   20px;
  --radius-card-s: 12px;
  --radius-btn:    10px;
  --radius-btn-s:  8px;
  --radius-tag:    100px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(33,52,95,0.10);
  --shadow-deep: 0 12px 48px rgba(33,52,95,0.15);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--body-color); background: #fff; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Hero animations (CSS-only, no JS dependency) ───────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-anim { animation: heroFadeUp 1.0s ease both; animation-delay: -0.55s; }
.hero-anim.delay-1 { animation-delay: -0.45s; }
.hero-anim.delay-2 { animation-delay: -0.35s; }
.hero-anim.delay-3 { animation-delay: -0.25s; }
.hero-anim.delay-4 { animation-delay: -0.15s; }

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  display: flex; align-items: center;
  padding: 0 var(--sp-64);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(18,29,53,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav__inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 36px; }
.nav__links {
  display: flex;
  gap: var(--sp-32);
  align-items: center;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: var(--sp-32);
  padding-left: var(--sp-32);
  border-left: 1px solid rgba(255,255,255,0.14);
}
.nav__links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav__links a:hover { color: #fff; }
.nav__cta {
  background: var(--blue);
  color: #fff !important;
  border: 2px solid var(--blue);
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: background 0.2s, border-color 0.2s;
}
.nav__cta:hover { background: #355394; border-color: #355394; }
.nav__login {
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-btn);
  padding: 10px 20px;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85) !important;
  transition: border-color 0.2s, color 0.2s;
}
.nav__login:hover { border-color: #fff; color: #fff !important; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 913px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(147.73deg, rgb(21,25,31) 0%, rgb(38,51,59) 60%, rgb(68,91,108) 100%);
}
#heroCanvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  height: 100%;
  pointer-events: none;
}
.hero__orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  will-change: transform;
  transition: transform 0.05s linear;
}
.hero__orb--1 { width: 700px; height: 700px; background: rgba(92,130,200,0.12); top: -220px; right: -100px; }
.hero__orb--2 { width: 380px; height: 380px; background: rgba(45,143,164,0.10); left: -80px; bottom: -180px; }
.hero__orb--3 { width: 260px; height: 260px; background: rgba(255,255,255,0.06); left: -80px; top: 240px; }

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 197px;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 180px;
  padding-bottom: 80px;
  height: 100%;
}
.hero__left { display: flex; flex-direction: column; gap: var(--sp-20); }

/* ── Right panel: platform dashboard ── */
.hero__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 3;
  perspective: 900px;
}
.hero__right-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.12s ease-out;
}

/* ── Panel meta row ── */
.hero__panel-meta { display: flex; flex-direction: column; gap: 2px; }
.hero__panel-pid { font-size: 10px; color: rgba(255,255,255,0.28); font-weight: 500; letter-spacing: 0.2px; }
.hero__panel-header-right { display: flex; align-items: center; gap: 12px; }
.hero__panel-duration { font-size: 10px; color: rgba(255,255,255,0.32); font-weight: 500; letter-spacing: 0.3px; }

/* ── Waveform chart ── */
.hero__wave-wrap {
  display: flex;
  gap: 6px;
  align-items: stretch;
  margin-bottom: 4px;
}
.hero__wave-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  padding: 6px 0;
}
.hero__wave-labels span {
  font-size: 8.5px;
  color: rgba(255,255,255,0.3);
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  text-align: right;
}
#heroWaveform {
  flex: 1;
  display: block;
  height: 76px;
  background: rgba(255,255,255,0.025);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── Hypnogram ── */
.hero__hypno-wrap {
  display: flex;
  gap: 6px;
  align-items: stretch;
  margin-bottom: 2px;
}
.hero__hypno-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 34px;
  padding: 2px 0;
}
.hero__hypno-labels span {
  font-size: 7.5px;
  color: rgba(255,255,255,0.28);
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1;
  text-align: right;
}
#heroHypno {
  flex: 1;
  display: block;
  height: 72px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}
.hero__hypno-axis {
  display: flex;
  justify-content: space-between;
  padding-left: 40px;
  margin-bottom: 14px;
}
.hero__hypno-axis span {
  font-size: 8.5px;
  color: rgba(255,255,255,0.2);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ── Stats pills ── */
.hero__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}
.hero__stat-pill {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 9px 10px 7px;
  border: 1px solid rgba(255,255,255,0.07);
}
.hero__stat-pill--spo2  { border-color: rgba(120,190,255,0.20); }
.hero__stat-pill--ahi   { border-color: rgba(100,160,220,0.18); }
.hero__stat-pill--score { border-color: rgba(80,200,200,0.18); }
.hero__stat-pill-val {
  font-size: 19px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  line-height: 1;
  letter-spacing: -0.5px;
}
.hero__stat-pill--spo2  .hero__stat-pill-val { color: rgba(140,200,255,0.95); }
.hero__stat-pill--ahi   .hero__stat-pill-val { color: rgba(110,175,240,0.95); }
.hero__stat-pill--score .hero__stat-pill-val { color: rgba(80,210,200,0.95); }
.hero__stat-pill-val small { font-size: 10px; opacity: 0.65; }
.hero__stat-pill-label {
  font-size: 8.5px;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ── Event tags ── */
.hero__events-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.hero__event-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.hero__event-tag--osa   { background: rgba(100,150,220,0.10); color: rgba(160,200,255,0.85); border: 1px solid rgba(100,150,220,0.18); }
.hero__event-tag--csa   { background: rgba(80,170,200,0.10);  color: rgba(130,210,230,0.85); border: 1px solid rgba(80,170,200,0.18); }
.hero__event-tag--hyp   { background: rgba(70,130,200,0.10);  color: rgba(120,180,240,0.85); border: 1px solid rgba(70,130,200,0.18); }
.hero__event-tag--desat { background: rgba(60,110,180,0.10);  color: rgba(110,165,230,0.85); border: 1px solid rgba(60,110,180,0.18); }
.hero__panel {
  background: rgba(10, 18, 38, 0.15);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px 28px;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}
.hero__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.hero__panel-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero__panel-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
}
.hero__live-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-bottom: 20px;
}
.hero__stat { display: flex; flex-direction: column; gap: 3px; }
.hero__stat-val {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero__stat-val small { font-size: 16px; font-weight: 500; opacity: 0.7; }
.hero__stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.2px;
}
.hero__panel-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 18px;
}
.hero__ai-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero__ai-indicator {
  width: 8px; height: 8px;
  background: var(--blue-lt);
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(92,130,200,0.20);
}
.hero__ai-content { display: flex; flex-direction: column; gap: 3px; }
.hero__ai-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue-lt);
}
.hero__ai-finding {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.hero__panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero__panel--sm {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__panel-num {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero__panel-num small { font-size: 15px; opacity: 0.7; }
.hero__panel-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.hero__panel-change {
  font-size: 11px;
  color: rgba(74,222,128,0.8);
  font-weight: 500;
  margin-top: 4px;
}
.hero__ctas { margin-top: 16px; }
.hero__trust { margin-top: 4px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-tag);
  padding: 5px 12px;
  width: fit-content;
}
.hero__badge span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.4px;
}
.hero__headline {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: #fff;
}
.hero__headline { display: flex; flex-direction: column; gap: 16px; }
.hero__headline p:first-child { font-size: var(--fs-h1); line-height: 1.1; }
.hero__headline p:last-child  { font-size: 36px; line-height: 1.25; font-weight: 300; color: rgba(255,255,255,0.68); }
.hero__sub {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.58);
  max-width: 464px;
  font-weight: 400;
}
.hero__ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero__btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: var(--sp-16) 34px;
  background: var(--navy); border: 2px solid var(--blue);
  border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 600; color: #fff;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.hero__btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.hero__btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: var(--sp-16) 34px;
  border: 2px solid #fff; border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 600; color: #fff;
  transition: background 0.2s;
  white-space: nowrap;
}
.hero__btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero__trust {
  display: flex; gap: 24px; align-items: center;
}
.hero__trust-item {
  display: flex; gap: 6px; align-items: center;
}
.hero__trust-icon {
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__trust-item span {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.hero__scroll span {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
}
.hero__scroll-dot {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.hero__scroll-dot::after {
  content: '';
  position: absolute;
  top: 13.5px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { top: 13.5px; opacity: 0.6; }
  50% { top: 19px; opacity: 0.3; }
}

/* ─── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section label/heading pattern ─────────────────────────── */
.section-label {
  display: inline-flex;
  background: rgba(66,102,164,0.10);
  border-radius: var(--radius-tag);
  padding: 5px 14px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-label--light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}
.section-head {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  margin-bottom: var(--sp-64);
}
.section-head .section-label { align-self: center; }
.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
}
.section-head h2.white { color: #fff; }
.section-head p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--body-color);
  max-width: 640px;
}
.section-head p.white { color: rgba(255,255,255,0.8); }

/* ─── Problem / About ────────────────────────────────────────── */
.problem {
  padding: var(--sp-96) 0;
  background: #fff;
}
.problem__inner {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-16);
  text-align: center;
  max-width: 805px; margin: 0 auto;
}
.problem__heading {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.problem__body {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body-color);
}
.problem__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
  margin-top: var(--sp-48);
  width: 100%;
  max-width: 760px;
}
.problem__stat-prefix {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: block;
  margin-bottom: 2px;
}
.problem__stat-cite {
  font-size: 10px;
  color: rgba(66,102,164,0.55);
  line-height: 1.5;
  font-style: italic;
  margin-top: 4px;
}
.problem__stat {
  background: #fff;
  border: 1px solid rgba(66,102,164,0.18);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-card-s);
  padding: var(--sp-24);
  display: flex; flex-direction: column; gap: 8px;
  text-align: center;
}
.problem__stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: flex; align-items: flex-start; justify-content: center; gap: 2px;
}
.problem__stat-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 4px;
}
.problem__stat-label {
  font-size: var(--fs-xs);
  color: var(--body-color);
  line-height: 1.5;
}

/* ─── Products ───────────────────────────────────────────────── */
/* ── Products / Solutions ── */
.products {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  background: rgb(12,18,35);
}
.products__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.products__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 1;
  will-change: transform;
}
.products__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,18,35,0.10) 0%,
    rgba(12,18,35,0.35) 40%,
    rgba(12,18,35,0.80) 62%,
    rgba(12,18,35,0.97) 100%
  );
}
.products__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 490px;
  padding-bottom: 100px;
}
.products__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.products__h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 44px;
  line-height: 1.1;
  color: #fff;
  text-align: center;
}
.products__desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  text-align: center;
}
.products__cta {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 30px;
  background: var(--navy);
  border: 2px solid var(--blue);
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.products__cta:hover { background: var(--blue); }

/* parallel 3-column cards */
.products__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}
.products__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px 28px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.2s, border-color 0.25s;
}
.products__card:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.35);
}
.products__card-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.2px;
}
.products__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.products__card-title sup { font-size: 12px; }
.products__card-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--blue-lt);
}
.products__card-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  flex: 1;
}
.products__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.products__card-tags span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 11px;
  border-radius: 4px;
  background: rgba(92,130,200,0.18);
  border: 1px solid rgba(92,130,200,0.35);
  color: rgba(180,210,255,0.95);
}

/* ─── Why Belun ──────────────────────────────────────────────── */
.why {
  padding: var(--sp-96) 0;
  background: linear-gradient(147.7deg, rgb(21,25,31) 0%, rgb(38,51,59) 60%, rgb(68,91,108) 100%);
  position: relative;
  overflow: hidden;
}
.why__product-img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1470px; height: 1387px;
  pointer-events: none;
  opacity: 0.5;
}
.why__product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.why__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
  margin-top: var(--sp-48);
}
.why-card {
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 14px;
  padding: var(--sp-32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 269px;
}
.why-card__icon-wrap {
  width: 44px; height: 44px;
  background: rgba(126,184,255,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-card__icon-wrap img { width: 22px; height: 22px; object-fit: contain; }
.why-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}
.why-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

/* ─── How It Works / Clinical Impact ────────────────────────── */
.impact {
  padding: 140px 0;
  background: #fff;
}
.impact__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--sp-64);
}
.impact-step {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
  padding: 0 12px;
}
.impact-step__num {
  font-size: 56px;
  font-weight: 900;
  font-family: 'Inter', sans-serif;
  color: rgba(66,102,164,0.15);
  line-height: 1;
  margin-bottom: 4px;
}
.impact-step__icon-wrap {
  width: 64px; height: 64px;
  background: rgba(66,102,164,0.10);
  border: 2px solid rgba(66,102,164,0.2);
  border-radius: 32px;
  display: flex; align-items: center; justify-content: center;
}
.impact-step__icon-wrap img { width: 28px; height: 28px; object-fit: contain; }
.impact-step h3 {
  font-size: var(--fs-h3b);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.65;
}
.impact-step p {
  font-size: var(--fs-sm);
  color: var(--body-color);
  line-height: 1.65;
  max-width: 344px;
}

/* ─── Company / Investment section ───────────────────────────── */
.company {
  padding: var(--sp-96) 0;
  background: var(--gray-bg);
  position: relative;
  overflow: hidden;
}
.company__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.company__inner {
  position: relative;
  display: grid;
  grid-template-columns: 536px 1fr;
  gap: var(--sp-64);
  align-items: center;
  padding: 0 var(--sp-24);
  max-width: var(--container);
  margin: 0 auto;
}
.company__text { display: flex; flex-direction: column; gap: var(--sp-24); align-items: flex-start; }
.company__heading {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.company__body {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body-color);
}
.company__points { display: flex; flex-direction: column; gap: var(--sp-20); }
.company__point {
  display: flex; gap: 16px; align-items: flex-start;
}
.company__point-icon {
  width: 42px; height: 42px;
  background: rgba(66,102,164,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.company__point-icon img { width: 20px; height: 20px; object-fit: contain; }
.company__point-content h4 {
  font-size: 15.2px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 4px;
}
.company__point-content ul {
  list-style: disc;
  padding-left: 20px;
  font-size: var(--fs-sm);
  color: var(--body-color);
  line-height: 1.65;
}
.company__card {
  background: var(--navy);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-deep);
  padding: var(--sp-32);
  display: flex; flex-direction: column; gap: var(--sp-24);
  overflow: hidden;
  width: 536px;
}
.company__card-wave {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-card-s);
  padding: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.company__card-wave img { width: 100%; height: 60px; object-fit: contain; }
.company__card-wave-label {
  font-size: 11.52px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-align: center;
}
.company__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.company__metric {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-card-s);
  padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.company__metric-label {
  font-size: 11.52px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.69px;
  text-transform: uppercase;
}
.company__metric-value {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: flex; align-items: flex-start; gap: 2px;
}
.company__metric-value sup {
  font-size: 11.2px;
  font-weight: 500;
  margin-top: 3px;
}
.company__metric-badge {
  display: inline-flex;
  background: rgba(74,222,128,0.15);
  border-radius: var(--radius-tag);
  padding: 3px 8px;
  width: fit-content;
}
.company__metric-badge span {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--green);
}

/* ─── Section link buttons ──────────────────────────────────── */
.section-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 26px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  margin-top: var(--sp-32);
}
.section-btn svg { flex-shrink: 0; }

/* The Challenge — text link on white bg */
.section-btn--challenge {
  background: none;
  border: none;
  color: var(--blue);
  padding: 0;
  height: auto;
}
.section-btn--challenge:hover { color: var(--navy); }

/* Our Solutions — text link on dark bg */
.section-btn--solutions {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  padding: 0;
  height: auto;
}
.section-btn--solutions:hover { color: #fff; }

/* Built on Clinical Evidence — text link on dark bg */
.section-btn--evidence {
  background: none;
  border: none;
  color: rgba(180,210,255,0.85);
  padding: 0;
  height: auto;
}
.section-btn--evidence:hover { color: #fff; }

/* Clinical Impact — text link on white bg */
.section-btn--impact {
  background: none;
  border: none;
  color: var(--blue);
  padding: 0;
  height: auto;
}
.section-btn--impact:hover { color: var(--navy); }

/* ─── CTA ────────────────────────────────────────────────────── */
.cta-section {
  padding: var(--sp-96) 0;
  background: #f0f2f5;
  text-align: center;
}
.cta-section h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--sp-16);
}
.cta-section p {
  font-size: var(--fs-body);
  color: var(--body-color);
  margin-bottom: var(--sp-48);
}
.cta-section__btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.cta-section__btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 16px 34px;
  background: var(--blue); border: 2px solid var(--blue);
  border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 600; color: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.cta-section__btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.cta-section__btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 16px 34px;
  border: 2px solid var(--blue);
  border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 600; color: var(--blue);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.cta-section__btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.footer__col ul.footer__col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--sp-32);
  row-gap: 9.6px;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: rgb(18,29,53);
  padding: var(--sp-96) var(--sp-64) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--sp-48);
  padding-bottom: var(--sp-32);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0;
}
.footer__bottom {
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo img { height: 36px; }
.footer__slogan {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-12);
}
.footer__tagline {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 404px;
}
.footer__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__tag {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-tag);
  padding: 4px 11px;
  font-size: 11.52px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.footer__nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-32);
  flex-wrap: wrap;
}
.footer__address {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  font-style: normal;
}
.footer__col h4 {
  font-size: 12.8px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 1.28px;
  margin-bottom: var(--sp-16);
}
.footer__col ul { display: flex; flex-direction: column; gap: 9.6px; }
.footer__col ul li a {
  font-size: 14.08px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  transition: color 0.2s;
}
.footer__col ul li a:hover { color: rgba(255,255,255,0.9); }
.footer__contact-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  cursor: default;
}
.footer__email-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer__address {
  line-height: 1.35 !important;
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer__copy {
  font-size: 12.8px;
  color: rgba(255,255,255,0.35);
}
.footer__disclaimer {
  font-size: 12.8px;
  color: rgba(255,255,255,0.35);
  text-align: right;
  max-width: 740px;
}
.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer__social {
  display: flex;
  gap: 16px;
}
.footer__social a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer__social a:hover { color: rgba(255,255,255,0.9); }
.footer__lang {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__lang a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer__lang a.active,
.footer__lang a:hover { color: rgba(255,255,255,0.9); }
.footer__lang span {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

/* ─── Nav dropdowns ─────────────────────────────────────────── */
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
}
.nav__link:hover { color: #fff; }
.nav__chevron {
  width: 10px; height: 10px;
  opacity: 0.55;
  transition: transform 0.2s;
}
.nav__item:hover .nav__chevron { transform: rotate(180deg); opacity: 0.9; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.96);
  transform-origin: top center;
  min-width: 210px;
  background: rgba(11,18,40,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16,1,0.3,1),
              transform 0.2s cubic-bezier(0.16,1,0.3,1),
              visibility 0.2s;
  z-index: 200;
  list-style: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  pointer-events: none;
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.nav__dropdown li a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  border-radius: 8px;
}
.nav__dropdown li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.nav__dropdown li + li { margin-top: 2px; }
/* Language switcher */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 4px;
}
.nav__lang-btn {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}
.nav__lang-btn.active,
.nav__lang-btn:hover { color: rgba(255,255,255,0.9); }
.nav__lang-sep { color: rgba(255,255,255,0.25); font-size: 11px; }

/* ─── Hamburger / Mobile Menu ────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9,15,32,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 88px 28px 48px;
  overflow-y: auto;
  gap: 0;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-section { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 6px 0; }
.nav__mobile-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding: 12px 0 6px;
}
.nav__mobile-section a {
  display: block;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color 0.15s;
}
.nav__mobile-section a:hover { color: #fff; }
.nav__mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  margin-top: auto;
}
.nav__mobile-ctas .nav__cta,
.nav__mobile-ctas .nav__login {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 24px;
  font-size: 15px;
}

/* ─── Utility ────────────────────────────────────────────────── */
.text-center { text-align: center; }

/* ─── Responsive ─────────────────────────────────────────────── */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  :root { --fs-h1: 48px; --fs-h2: 32px; }

  .nav { padding: 0 var(--sp-32); }

  .hero { height: auto; min-height: 100svh; }
  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 120px;
    padding-bottom: 60px;
    gap: 48px;
  }
  .hero__right { max-width: 560px; margin: 0 auto; width: 100%; }
  #heroCanvas { width: 100%; }

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

  .company__inner { grid-template-columns: 1fr; }
  .company__card { width: 100%; }

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

/* Mobile ≤ 640px */
@media (max-width: 640px) {
  :root {
    --fs-h1: 36px;
    --fs-h2: 26px;
    --fs-h3: 18px;
    --sp-96: 64px;
    --sp-64: 40px;
  }

  /* Nav: show hamburger, hide desktop links/CTAs */
  .nav { padding: 0 var(--sp-16); height: 60px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero — vertically center content, more breathing room at top */
  .hero { height: auto; min-height: 100svh; align-items: center; }
  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 48px;
    height: auto;
    gap: 40px;
  }
  .hero__left { gap: var(--sp-16); }
  .hero__badge { font-size: 11px; padding: 6px 14px; }
  .hero__ctas { flex-direction: column; gap: 12px; }
  .hero__btn-primary, .hero__btn-outline { width: 100%; text-align: center; justify-content: center; }
  .hero__trust { flex-wrap: wrap; gap: 12px; }
  .hero__right { display: none; }
  .hero__scroll { bottom: 24px; }
  #heroCanvas { width: 100%; }

  /* THE CHALLENGE — 1 card per row, horizontal layout */
  .problem__stats {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 100%;
  }
  .problem__stat {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    text-align: left;
    border-top: 1px solid rgba(66,102,164,0.18);
    border-left: 4px solid var(--blue);
    padding: 16px 20px;
  }
  .problem__stat-num {
    font-size: 32px;
    flex-shrink: 0;
    min-width: 90px;
    justify-content: flex-start;
  }
  .problem__stat-num .problem__stat-prefix { font-size: 11px; }
  .problem__stat-label { font-size: 13px; }
  .problem__stat-cite { font-size: 9px; }

  /* OUR SOLUTIONS — top padding */
  .products__inner { padding-top: 200px; }
  .products__cards { grid-template-columns: 1fr; }
  .products__lead { flex-direction: column; gap: var(--sp-16); }

  /* OUR ADVANTAGE — 1 card per row */
  .why__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .why-card {
    padding: 20px 22px;
    min-height: unset;
  }
  .why-card h3 { font-size: 16px; }
  .why-card p { font-size: 13.5px; }

  /* Impact steps */
  .impact__steps { grid-template-columns: 1fr; gap: 32px; }

  /* Company */
  .company__inner { grid-template-columns: 1fr; }
  .company__card { width: 100%; }
  .company__metrics { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer { padding: var(--sp-64) var(--sp-16) var(--sp-32); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { gap: var(--sp-32); }
  .footer__col ul.footer__col-grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__disclaimer { text-align: left; }

  /* Section heads */
  .section-head { padding: 0 var(--sp-16); }
}
