:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --text-soft: #a1a1aa;
  --cyan: #56ccf2;
  --magenta: #f256ec;
  --violet: #a78bfa;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-brand: "Nunito", "Inter", system-ui, sans-serif;
}

/* ---------- Icon sprite helpers (icons/icons.svg) ----------
   <svg class="icon" aria-hidden="true"><use href="icons/icons.svg#icon-clock"></use></svg>
   Filled brand icons: add .icon--fill
*/
.icon {
  width: 1.125rem;
  height: 1.125rem;
  display: inline-block;
  flex-shrink: 0;
  color: currentColor;
  overflow: visible;
  vertical-align: middle;
  /* stroke icons read currentColor from here via symbol paths */
  fill: none;
}

/* Filled paths (social, solid glyphs) */
.icon--fill {
  fill: currentColor;
}

.icon--sm { width: 0.95rem; height: 0.95rem; }
.icon--md { width: 1.25rem; height: 1.25rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 1.75rem; height: 1.75rem; }

.icon--cyan { color: var(--cyan); }
.icon--magenta { color: var(--magenta); }
.icon--violet { color: var(--violet); }

.icon use {
  color: inherit;
  fill: inherit;
}

.research-icon .icon,
.eco-icon .icon,
.research-shield .icon,
.shield .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.eco-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

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

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 70%, transparent 100%);
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex: 1;
}

.nav > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

.nav > a:hover,
.nav-trigger:hover,
.nav-item.open .nav-trigger {
  color: #fff;
}

.nav-item {
  position: relative;
}

/* ---------- Language switcher ----------
   Closed: current language only.
   Open: EN / DE / FR stacked in three rows. */
.lang-switch {
  position: relative;
  flex-shrink: 0;
  z-index: 70;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 3.1rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-switch-btn:hover,
.lang-switch.open .lang-switch-btn {
  color: #fff;
  border-color: rgba(86, 204, 242, 0.45);
  background: rgba(86, 204, 242, 0.12);
}

.lang-switch-btn .chev {
  opacity: 0.7;
}

.lang-switch.open .lang-switch-btn .chev {
  transform: rotate(180deg);
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  min-width: 3.5rem;
  width: max-content;
  padding: 0.4rem;
  border-radius: 12px;
  background: rgba(8, 10, 16, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  z-index: 80;
}

.lang-switch-menu[hidden] {
  display: none !important;
}

.lang-switch-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lang-switch-menu a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.lang-switch-menu a.is-active {
  color: var(--cyan);
  border-color: rgba(86, 204, 242, 0.4);
  background: rgba(86, 204, 242, 0.12);
}

.chev {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.65;
  margin-top: 2px;
  transition: transform 0.2s ease;
}

.nav-item.open .chev {
  transform: rotate(180deg);
}

/* Platform dropdown
   Visual gap is padding-top (not a layout gap), so the pointer never leaves .nav-item */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 240px;
  /* transparent bridge under the label — keeps :hover alive */
  padding: 0.75rem 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}

/* Actual panel */
.nav-dropdown-panel {
  padding: 0.45rem;
  border-radius: 14px;
  background: rgba(12, 14, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.nav-item.open .nav-dropdown,
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(86, 204, 242, 0.1);
  color: #fff;
  outline: none;
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  border-color: rgba(86, 204, 242, 0.55);
  color: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 1px transparent;
}

.btn-outline:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(86, 204, 242, 0.25);
}

.btn-gradient {
  position: relative;
  color: #fff;
  background: #0a0a0a;
  border: 1px solid transparent;
  background-image:
    linear-gradient(#0a0a0a, #0a0a0a),
    linear-gradient(100deg, var(--cyan), var(--magenta));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-gradient:hover {
  box-shadow: 0 0 24px rgba(86, 204, 242, 0.18);
}

.btn-gradient .arrow {
  color: var(--cyan);
  font-weight: 500;
  transition: transform 0.2s ease;
}

.btn-gradient:hover .arrow {
  transform: translateX(3px);
}

.btn-solid {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-solid:hover {
  background: #242424;
  border-color: rgba(255, 255, 255, 0.18);
}

/* ---------- Hero (pinned first screen) ---------- */
.hero-scroll {
  position: relative;
  /* Scroll distance drives the particle sequence */
  height: 200vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  padding:
    calc(var(--header-h) + 0.5rem)
    clamp(1.25rem, 4vw, 2.75rem)
    1.25rem;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 75% 45%, rgba(86, 204, 242, 0.06), transparent 55%),
    radial-gradient(700px 420px at 80% 60%, rgba(242, 86, 236, 0.05), transparent 50%),
    #000;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-bottom: 0.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1.35rem;
}

.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--cyan) 0%, #9b7cff 45%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.85rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Right visual / animation ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  align-self: stretch;
}

.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Hero footer strip ---------- */
.hero-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.trust {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-soft);
  max-width: 28rem;
  margin: 0;
}

.shield {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 1px;
  display: grid;
  place-items: center;
}

.disclaimer {
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(161, 161, 170, 0.75);
  text-align: right;
  max-width: 16rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

/* ---------- What Deep Breath does (pipeline) ---------- */
.pipeline-scroll {
  /* Longer runway = slower Collect→Support sequence */
  position: relative;
  /* 4 stages + enter/exit headroom */
  height: 560vh;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pipeline-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(var(--header-h) + 0.75rem)
    clamp(1.25rem, 4vw, 2.75rem)
    1.5rem;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 50% 40%, rgba(86, 204, 242, 0.05), transparent 60%),
    radial-gradient(640px 380px at 55% 55%, rgba(242, 86, 236, 0.04), transparent 55%),
    #000;
}

.pipeline-inner {
  width: min(920px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 0;
}

.pipeline-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

.pipeline-title {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
  max-width: 18em;
}

.pipeline-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.pipeline-word-wrap {
  position: relative;
  width: 100%;
  height: clamp(120px, 22vh, 200px);
}

.pipeline-word-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pipeline-copy {
  position: relative;
  width: min(560px, 100%);
  min-height: 6.5rem;
  margin-top: 0.5rem;
}

.pipeline-body {
  position: absolute;
  inset: 0;
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.6;
  color: var(--text-muted);
  opacity: 0;
  pointer-events: none;
  transition: none; /* driven by JS each frame for scroll-sync */
  will-change: opacity;
}

.pipeline-body .hl {
  color: #fff;
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.pipeline-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.75rem;
  align-items: center;
  justify-content: center;
}

.pipeline-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.pipeline-dots span.active {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  width: 18px;
  transform: scale(1.05);
}

.hide-sm {
  display: inline;
}

/* ---------- Research section (light) ---------- */
.research-scroll {
  position: relative;
  height: 220vh;
  background: #f4f7fb;
}

.research-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding:
    calc(var(--header-h) + 1rem)
    clamp(1.25rem, 4vw, 2.75rem)
    1.75rem;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 80% 20%, rgba(86, 204, 242, 0.08), transparent 55%),
    radial-gradient(700px 400px at 20% 80%, rgba(167, 139, 250, 0.07), transparent 50%),
    #f4f7fb;
}

.research-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vh, 2.25rem);
}

.research-header {
  max-width: 40rem;
}

.research-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.9rem;
}

.research-kicker .k-cyan {
  color: #2f80ed;
}

.research-kicker .k-violet {
  color: #7c5cfc;
}

.research-title {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #0f172a;
  margin-bottom: 1rem;
}

.research-lead {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
  color: #64748b;
  max-width: 38rem;
}

.research-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.research-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  will-change: transform, opacity;
  /* start off-screen to the right; JS drives final state */
  transform: translate3d(40vw, 0, 0);
  opacity: 0;
}

.research-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.research-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #f1f5f9;
}

.research-icon svg {
  width: 20px;
  height: 20px;
}

.research-icon.icon-cyan {
  color: #2f80ed;
  background: rgba(47, 128, 237, 0.1);
}

.research-icon.icon-violet {
  color: #7c5cfc;
  background: rgba(124, 92, 252, 0.1);
}

.research-icon.icon-magenta {
  color: #d946ef;
  background: rgba(217, 70, 239, 0.1);
}

.research-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.3;
  padding-top: 0.35rem;
}

.research-card > p {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #64748b;
  flex: 1;
}

.research-media {
  margin-top: 0.25rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #0f172a;
  height: 120px;
  overflow: hidden;
}

.research-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* PROVE Network banner — show full logo without harsh crop */
.research-media--logo {
  background: #2a2522;
}

.research-media--logo img {
  object-fit: contain;
  object-position: center;
  padding: 0.35rem 0.5rem;
}

/* Paper crop: focus title band */
.research-card:nth-child(1) .research-media img {
  object-position: center 35%;
}

/* Conference stage: keep speaker + dashboards */
.research-card:nth-child(2) .research-media img {
  object-position: center 40%;
}

/* Hospital team: faces / laptop */
.research-card:nth-child(4) .research-media img {
  object-position: center 30%;
}

.research-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.research-trust {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #475569;
  max-width: 36rem;
}

.research-shield {
  color: #2f80ed;
  flex-shrink: 0;
  margin-top: 1px;
  display: grid;
  place-items: center;
}

.research-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2f80ed;
  white-space: nowrap;
  padding-left: 1rem;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  transition: color 0.2s ease, gap 0.2s ease;
}

.research-link:hover {
  color: #1d4ed8;
  gap: 0.6rem;
}

/* ---------- Product ecosystem ---------- */
.ecosystem {
  background: #fafbfc;
  padding:
    clamp(3.5rem, 8vh, 5.5rem)
    clamp(1.25rem, 4vw, 2.75rem)
    clamp(4rem, 9vh, 6rem);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.ecosystem-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.ecosystem-header {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vh, 2.75rem);
}

.ecosystem-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2f80ed;
  margin-bottom: 0.9rem;
}

.ecosystem-title {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #0f172a;
  margin-bottom: 1rem;
}

.ecosystem-lead {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
  color: #64748b;
  max-width: 36rem;
}

.eco-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.eco-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 1.35rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
  min-height: 100%;
}

.eco-card-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.eco-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.eco-icon svg {
  width: 22px;
  height: 22px;
}

.eco-card--research .eco-icon {
  color: #2f80ed;
  background: rgba(47, 128, 237, 0.12);
}

.eco-card--cds .eco-icon {
  color: #7c5cfc;
  background: rgba(124, 92, 252, 0.12);
}

.eco-card--academy .eco-icon {
  color: #e11d8c;
  background: rgba(225, 29, 140, 0.1);
}

.eco-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.eco-card-head p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
}

/* Product preview videos */
.eco-preview {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #0b1220;
  overflow: hidden;
  flex: 1;
  min-height: 180px;
  aspect-ratio: 16 / 10;
  position: relative;
}

.eco-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.eco-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: 0.15rem;
  transition: gap 0.2s ease;
}

.eco-card--research .eco-link { color: #2f80ed; }
.eco-card--cds .eco-link { color: #7c5cfc; }
.eco-card--academy .eco-link { color: #e11d8c; }

.eco-link:hover {
  gap: 0.6rem;
}

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  background: #000;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding:
    clamp(3.5rem, 8vh, 5.5rem)
    clamp(1.25rem, 4vw, 2.75rem)
    clamp(3.5rem, 8vh, 5rem);
}

.cta-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.cta-eyebrow {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.cta-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 2rem;
}

.cta-grad {
  background: linear-gradient(100deg, #56ccf2 0%, #9b7cff 48%, #f256ec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-follow-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.cta-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.cta-social-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  background:
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    linear-gradient(120deg, #56ccf2, #9b7cff, #f256ec) border-box;
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-social-btn svg {
  width: 18px;
  height: 18px;
}

.cta-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(86, 204, 242, 0.2);
}

.cta-contact {
  display: inline-flex;
}

.cta-visual {
  position: relative;
  width: 100%;
  height: min(62vh, 520px);
  min-height: 320px;
}

.cta-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-visual {
    height: min(48vh, 380px);
    min-height: 260px;
    order: -1;
  }

  .cta-title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-sticky {
    /* Allow short phones; keep footer + charts from colliding */
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.65rem;
    flex: 1 1 auto;
    min-height: 0;
    /* Keep particle canvas inside the grid, not under the footer */
    overflow: hidden;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 0.25rem;
    padding-bottom: 0;
    flex-shrink: 0;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
    margin-bottom: 0.85rem;
  }

  .subhead {
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
    max-width: none;
  }

  .hero-visual {
    /* Fixed cap so dotted charts never spill into footer notes */
    align-self: stretch;
    min-height: 160px;
    height: auto;
    max-height: min(34vh, 280px);
    flex: 1 1 auto;
    overflow: hidden;
    border-radius: 12px;
  }

  .hero-footer {
    flex-direction: column;
    gap: 0.55rem;
    flex-shrink: 0;
    margin-top: 0.35rem;
    padding: 0.75rem 0 0;
    /* Opaque strip so notes stay readable if anything peeks through */
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.92) 18%,
      #000 40%
    );
  }

  .trust {
    max-width: none;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .disclaimer {
    text-align: left;
    border-left: 0;
    padding-left: 0;
    max-width: none;
    font-size: 0.68rem;
    line-height: 1.4;
    color: rgba(161, 161, 170, 0.85);
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav.open > a,
  .nav.open .nav-trigger {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: space-between;
  }

  .nav.open .nav-item {
    width: 100%;
  }

  .nav.open .nav-dropdown {
    position: static;
    transform: none;
    left: auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 0.35rem 0.75rem;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .nav.open .nav-dropdown-panel {
    padding: 0.15rem 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  /* Mobile: click only (not hover) */
  .nav.open .nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    pointer-events: none;
  }

  .nav.open .nav-item.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 240px;
    pointer-events: auto;
    transform: none;
  }

  .nav.open .nav-dropdown a {
    padding: 0.65rem 0.5rem;
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
  }

  .header-cta {
    display: none;
  }

  .lang-switch-btn {
    min-width: 2.85rem;
    padding: 0.38rem 0.6rem;
    font-size: 0.72rem;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .research-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eco-cards {
    grid-template-columns: 1fr;
  }

  .eco-preview {
    min-height: 160px;
  }
}

@media (max-width: 720px) {
  .pipeline-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .hide-sm {
    display: none;
  }

  .pipeline-word-wrap {
    height: clamp(100px, 18vh, 150px);
  }

  .pipeline-copy {
    min-height: 7.5rem;
  }

  .research-cards {
    grid-template-columns: 1fr;
  }

  .research-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .research-link {
    border-left: 0;
    padding-left: 0;
    padding-top: 0.25rem;
  }

  .research-scroll {
    height: 260vh;
  }
}

@media (max-width: 560px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 8.2vw, 2.15rem);
    line-height: 1.08;
  }

  .subhead {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
  }

  .hero-visual {
    max-height: min(30vh, 220px);
    min-height: 140px;
  }

  .hero-footer {
    gap: 0.45rem;
    padding-top: 0.65rem;
  }

  .trust {
    font-size: 0.68rem;
  }

  .disclaimer {
    font-size: 0.65rem;
  }
}
