/**
 * Zermatt Biotech — Page-specific layouts
 * Hero variants, section layouts, grid patterns
 */

/* ─────────────────────────────────────────── REVEAL ANIM ── */

[data-zb-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--zb-dur-slow) var(--zb-ease),
              transform var(--zb-dur-slow) var(--zb-ease);
}
[data-zb-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-zb-reveal-delay="1"] { transition-delay: 80ms; }
[data-zb-reveal-delay="2"] { transition-delay: 160ms; }
[data-zb-reveal-delay="3"] { transition-delay: 240ms; }
[data-zb-reveal-delay="4"] { transition-delay: 320ms; }

/* ─────────────────────────────────────────── HERO SPLIT (text left + portrait image right) ── */
/* 用在 Science 页 hero（缺 wide banner 时的 fallback 布局） */
.zb-hero--split {
  padding: 80px 0 96px;
}
.zb-hero-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--zb-sp-16);
  align-items: center;
  min-height: 540px;
}
@media (max-width: 1023px) {
  .zb-hero-split-grid {
    grid-template-columns: 1fr;
    gap: var(--zb-sp-10);
  }
}
.zb-hero--split h1 {
  font-size: 60px;
  line-height: 66px;
  letter-spacing: -0.025em;
  font-weight: 700;
}
@media (max-width: 1023px) { .zb-hero--split h1 { font-size: 48px; line-height: 54px; } }
@media (max-width: 767px) { .zb-hero--split h1 { font-size: 36px; line-height: 42px; } }

.zb-hero-split-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  max-width: 440px;
  margin-left: auto;
  box-shadow:
    0 30px 60px rgba(31, 78, 140, 0.18),
    0 0 0 1px rgba(127, 208, 232, 0.20);
}
.zb-hero-split-img picture,
.zb-hero-split-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Subtle inner vignette to integrate into ice-bg hero */
.zb-hero-split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(31, 78, 140, 0.12);
}
@media (max-width: 1023px) {
  .zb-hero-split-img { margin: 0 auto; max-width: 360px; }
}

/* ─────────────────────────────────────────── LEAD PROGRAM IMAGE (portrait, Science page §3.2) ── */
.zb-lead-program-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  max-width: 420px;
  margin-left: auto;
  box-shadow:
    0 30px 60px rgba(31, 78, 140, 0.20),
    0 0 0 1px rgba(127, 208, 232, 0.25);
}
.zb-lead-program-img picture,
.zb-lead-program-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.zb-lead-program-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(31, 78, 140, 0.15);
}
@media (max-width: 1023px) {
  .zb-lead-program-img { margin: 0 auto; max-width: 360px; }
}

/* ─────────────────────────────────────────── STATS ROW (horizontal, Science page) ── */
.zb-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--zb-sp-6);
}
@media (max-width: 899px) { .zb-stats-row { grid-template-columns: 1fr; } }
.zb-stat--horizontal {
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--zb-border-subtle);
  border-radius: var(--zb-radius-card);
  transition: border-color var(--zb-dur) var(--zb-ease),
              box-shadow var(--zb-dur) var(--zb-ease);
}
.zb-stat--horizontal:hover {
  border-color: var(--zb-brand-sky);
  box-shadow: 0 0 0 1px var(--zb-brand-sky), 0 0 20px rgba(127, 208, 232, 0.25);
}
.zb-stat--horizontal .zb-stat__number {
  font-size: 32px; line-height: 40px;
}
.zb-stat--horizontal .zb-stat__label {
  font-size: 14px; line-height: 22px;
  margin-top: 6px;
}

/* ─────────────────────────────────────────── PIPELINE BANNER ── */
/* v5: 进一步压缩 + 移除 mask-reveal clip-path（避免占空间但隐形）
       max-height 220 → 180 + margin-bottom 24 → 12 */
.zb-pipeline-banner {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 24 / 4;     /* 6:1 — 更瘦 */
  max-height: 180px;        /* hard cap */
  box-shadow:
    0 8px 24px rgba(31, 78, 140, 0.08),
    0 0 0 1px rgba(127, 208, 232, 0.18);
}
.zb-pipeline-banner picture,
.zb-pipeline-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ─────────────────────────────────────────── HERO TWO-COL ── */

.zb-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--zb-grid-gutter);
  align-items: center;
  min-height: 580px;
}
@media (max-width: 1023px) {
  .zb-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: var(--zb-sp-12);
  }
}

.zb-hero-graph {
  position: relative;
  border: 1px solid var(--zb-border-subtle);
  border-radius: var(--zb-radius-card);
  background: #fff;
  overflow: hidden;
  height: 460px;
  box-shadow: 0 4px 30px rgba(31, 78, 140, 0.04);
}
.zb-hero-graph__caption {
  position: absolute;
  left: 20px; bottom: 14px;
  font-size: 12.5px;
  color: var(--zb-ink-secondary);
  font-family: var(--zb-font-mono);
  letter-spacing: 0.02em;
}
.zb-hero-graph__chip {
  position: absolute;
  top: 16px; left: 20px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(6px);
  border: 1px solid var(--zb-border-subtle);
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--zb-brand-deep);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────── IMAGE ANIMATIONS ─── */
/* v4 思路转向：用 AI 静态图 + 强进场动画，去掉 3D Three.js
   动画类型：Ken Burns（持续缓推）+ Image Reveal（进场 fade+scale+blur）
            + Mask Reveal（左到右刷开）+ Parallax（滚动深度感） */

/* === Ken Burns: 缓慢推拉 + helix 3D rotateY 旋转（v6）===
   两个 animation 分配到不同元素避免 transform 冲突：
   - 外层 [data-zb-ken-burns]: scale + translate
   - 内层 picture: rotateY 振荡
   叠加效果：图缓慢推近的同时 helix 在 3D 空间转动 */
[data-zb-ken-burns] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 60% 50%;
  animation: zb-ken-burns 24s ease-in-out infinite alternate;
  will-change: transform;
}
[data-zb-ken-burns] picture {
  display: block;
  width: 100%;
  height: 100%;
  animation: zb-helix-rotate 14s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
[data-zb-ken-burns] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
@keyframes zb-ken-burns {
  0%   { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.11) translate3d(-1.8%, -0.9%, 0); }
}
@keyframes zb-helix-rotate {
  0%, 100% { transform: rotateY(-4deg) rotateX(0.8deg); }
  50%      { transform: rotateY( 4deg) rotateX(-0.8deg); }
}

/* === Image Reveal: 进场 fade+scale+blur === */
[data-zb-image-reveal] {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(10px);
  transition: opacity 1100ms cubic-bezier(.22,1,.36,1),
              transform 1100ms cubic-bezier(.22,1,.36,1),
              filter 800ms ease-out;
  will-change: opacity, transform, filter;
}
[data-zb-image-reveal].is-revealed {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* === Mask Reveal: 左→右刷开 === */
[data-zb-mask-reveal] {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 1400ms cubic-bezier(.65, 0, .35, 1);
  will-change: clip-path;
}
[data-zb-mask-reveal].is-revealed {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* === Banner Reveal: 强化版进场 — image 从下方升起 + scale + 强 blur === */
[data-zb-banner-reveal] {
  opacity: 0;
  transform: scale(0.92) translateY(48px);
  filter: blur(14px);
  transition: opacity 1500ms cubic-bezier(.16, 1, .3, 1),
              transform 1500ms cubic-bezier(.16, 1, .3, 1),
              filter 1100ms ease-out;
  will-change: opacity, transform, filter;
}
[data-zb-banner-reveal].is-revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

/* === Banner Slide-In Right: 图从右侧滑入 ===
   用于 Powered by Science 等"图主体在右"的 section — 图像"进入画面"感 */
[data-zb-slide-in-right] {
  opacity: 0;
  transform: translateX(80px) scale(0.96);
  transition: opacity 1300ms cubic-bezier(.22, 1, .36, 1),
              transform 1300ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
[data-zb-slide-in-right].is-revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* === Parallax 滚动深度 === */
[data-zb-parallax] {
  transform: translate3d(0, var(--zb-parallax-y, 0), 0);
  will-change: transform;
  transition: transform 80ms linear;
}

/* === Mouse parallax (光标视差) ===
   bg-kb 跟随鼠标轻微反向位移 = 深度感
   --mp-x / --mp-y from JS, max ±18px */
[data-zb-mouse-parallax] .zb-hero-banner__bg {
  transform: translate3d(var(--mp-x, 0), var(--mp-y, 0), 0);
  transition: transform 500ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

/* === 浮动粒子层（CSS-only 永续动画） ===
   12 个粒子从底部上浮，错位时长 / 大小 / 颜色制造"活感" */
.zb-hero-banner__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.zb-hero-banner__particles span {
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 208, 232, 0.85) 0%, rgba(127, 208, 232, 0) 70%);
  bottom: -10px;
  opacity: 0;
  animation: zb-particle-rise 14s ease-in-out infinite;
}
.zb-hero-banner__particles span:nth-child(1)  { left:  8%; width: 5px; height: 5px; animation-delay: -2s;  animation-duration: 12s; }
.zb-hero-banner__particles span:nth-child(2)  { left: 16%; width: 4px; height: 4px; animation-delay: -5s;  animation-duration: 18s; background: radial-gradient(circle, rgba(46, 134, 193, 0.7) 0%, transparent 70%); }
.zb-hero-banner__particles span:nth-child(3)  { left: 24%; width: 7px; height: 7px; animation-delay: -9s;  animation-duration: 16s; }
.zb-hero-banner__particles span:nth-child(4)  { left: 32%; width: 3px; height: 3px; animation-delay: -1s;  animation-duration: 20s; }
.zb-hero-banner__particles span:nth-child(5)  { left: 42%; width: 5px; height: 5px; animation-delay: -7s;  animation-duration: 14s; background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%); }
.zb-hero-banner__particles span:nth-child(6)  { left: 52%; width: 4px; height: 4px; animation-delay: -11s; animation-duration: 17s; }
.zb-hero-banner__particles span:nth-child(7)  { left: 60%; width: 6px; height: 6px; animation-delay: -4s;  animation-duration: 13s; }
.zb-hero-banner__particles span:nth-child(8)  { left: 68%; width: 3px; height: 3px; animation-delay: -8s;  animation-duration: 19s; background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 0%, transparent 70%); }
.zb-hero-banner__particles span:nth-child(9)  { left: 76%; width: 5px; height: 5px; animation-delay: -3s;  animation-duration: 15s; }
.zb-hero-banner__particles span:nth-child(10) { left: 84%; width: 4px; height: 4px; animation-delay: -10s; animation-duration: 16s; background: radial-gradient(circle, rgba(46, 134, 193, 0.7) 0%, transparent 70%); }
.zb-hero-banner__particles span:nth-child(11) { left: 92%; width: 6px; height: 6px; animation-delay: -6s;  animation-duration: 14s; }
.zb-hero-banner__particles span:nth-child(12) { left: 12%; width: 3px; height: 3px; animation-delay: -13s; animation-duration: 18s; }

@keyframes zb-particle-rise {
  0%   { transform: translateY(0)     translateX(0); opacity: 0; }
  10%  { opacity: 0.9; }
  50%  { transform: translateY(-50vh) translateX(8px); opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-110vh) translateX(-6px); opacity: 0; }
}

/* === 鼠标聚光跟随 ===
   鼠标移动处有 radial soft glow，"helix 被你照亮"感 */
.zb-hero-banner__spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    circle 380px at var(--gx, 50%) var(--gy, 50%),
    rgba(127, 208, 232, 0.18) 0%,
    rgba(127, 208, 232, 0.08) 35%,
    rgba(127, 208, 232, 0) 70%
  );
  transition: background 60ms linear;
  opacity: 0;
}
.zb-hero-banner--interactive:hover .zb-hero-banner__spotlight { opacity: 1; }

/* === Mobile / reduced motion 关闭交互特效 === */
@media (max-width: 767px) {
  .zb-hero-banner__particles { display: none; }
  .zb-hero-banner__spotlight { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-zb-mouse-parallax] .zb-hero-banner__bg { transform: none !important; }
  .zb-hero-banner__particles span { animation: none; opacity: 0; }
  .zb-hero-banner__spotlight { display: none; }
}

/* === Reduced motion 全局兜底 === */
@media (prefers-reduced-motion: reduce) {
  [data-zb-ken-burns] img,
  [data-zb-ken-burns] picture { animation: none; }
  [data-zb-image-reveal],
  [data-zb-mask-reveal] {
    opacity: 1 !important; transform: none !important; filter: none !important;
    clip-path: none !important;
  }
  [data-zb-parallax] { transform: none !important; }
}

/* ─────────────────────────────────────────── HERO BANNER (full-bleed) ─── */
/* New approach: 整张 banner 图全宽铺底，文字 absolute 覆盖左侧渐变区
   图像要求：主体在右 1/3，左 2/3 渐变到白/浅蓝（适合文字 overlay） */

.zb-hero-banner {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  /* v4 richer multi-stop gradient — 微妙色彩深度，不再纯白 */
  background:
    radial-gradient(ellipse 80% 60% at 25% 50%, rgba(127, 208, 232, 0.10) 0%, transparent 70%),
    linear-gradient(135deg,
      #FFFFFF 0%,
      #F4F7FA 25%,
      #ECF4F9 50%,
      #DDEDF6 75%,
      #C8E0EE 100%
    );
  display: flex;
  align-items: center;
}
/* Subtle grid pattern overlay — adds "scientific structure" feel without competing */
.zb-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(46, 134, 193, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.25) 35%,
    rgba(0, 0, 0, 0) 60%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.25) 35%,
    rgba(0, 0, 0, 0) 60%
  );
  pointer-events: none;
}

/* Atmosphere layer — floating molecular nodes / helix curves / glow blobs */
.zb-hero-banner__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;   /* above overlay but content (z-index 2) still on top of this */
  pointer-events: none;
  /* Mask to fade out toward right where the AI helix image is — don't compete */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 35%,
    rgba(0, 0, 0, 0.5) 55%,
    rgba(0, 0, 0, 0) 75%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 35%,
    rgba(0, 0, 0, 0.5) 55%,
    rgba(0, 0, 0, 0) 75%
  );
  animation: zb-atmosphere-drift 28s ease-in-out infinite alternate;
}
.zb-hero-banner__atmosphere svg {
  width: 100%; height: 100%;
  display: block;
}
@keyframes zb-atmosphere-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-1.5%, -0.8%, 0) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .zb-hero-banner__atmosphere { animation: none; }
}
@media (max-width: 767px) {
  .zb-hero-banner__atmosphere { opacity: 0.5; }
}
.zb-hero-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.zb-hero-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
/* v4: overlay 减弱 — 不再靠白雾撑文字，文字物理左移到自己专区
   文字区在左 0-35%（占视口左侧），overlay 只是图右侧自然过渡 */
.zb-hero-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.40) 22%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0) 55%
  );
  pointer-events: none;
}
/* 文字物理推到视口左侧 — clamp(24px, 6%, 100px) 自适应 padding-left
   不再用 .zb-container 居中 */
.zb-hero-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 96px 24px 80px clamp(24px, 6%, 100px);
}
.zb-hero-banner__content > h1,
.zb-hero-banner__content > p,
.zb-hero-banner__content > .zb-hero__buttons-wrapper,
.zb-hero-banner__content > .zb-eyebrow {
  max-width: 540px;
}
.zb-hero-banner__content h1 {
  font-size: 64px;
  line-height: 70px;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.zb-hero-banner__content h1 .line-break { display: block; }
.zb-hero-banner__content .zb-hero__subhead {
  margin-top: 28px;
  font-size: 19px;
  line-height: 30px;
  max-width: 500px;
}

/* Mobile — gradient covers more of image to keep text readable when image scales */
@media (max-width: 1023px) {
  .zb-hero-banner { min-height: 600px; }
  .zb-hero-banner__content h1 { font-size: 48px; line-height: 54px; }
}
@media (max-width: 767px) {
  .zb-hero-banner { min-height: 540px; }
  .zb-hero-banner__overlay {
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.92) 50%,
      rgba(255, 255, 255, 0.78) 75%,
      rgba(255, 255, 255, 0.50) 100%
    );
  }
  .zb-hero-banner__bg img { object-position: 80% center; }
  .zb-hero-banner__content {
    padding: 64px 0 48px;
    max-width: 100%;
  }
  .zb-hero-banner__content h1 { font-size: 38px; line-height: 44px; }
}

/* ─────────────────────────────────────────── POWERED BY SCIENCE BANNER ─── */
/* Same banner concept but on deep-blue side: 左侧 deep blue 渐变 + 右侧图 */

.zb-science-banner {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--zb-brand-deep);
  display: flex;
  align-items: center;
}
.zb-science-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.zb-science-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.zb-science-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* v4: 减弱 — 不靠深蓝雾覆盖，文字物理推到左侧专区 */
  background: linear-gradient(
    to right,
    rgba(15, 27, 45, 0.72) 0%,
    rgba(15, 27, 45, 0.45) 25%,
    rgba(15, 27, 45, 0.18) 45%,
    rgba(31, 78, 140, 0) 60%
  );
}
.zb-science-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 96px 24px 96px clamp(24px, 6%, 100px);
  color: #fff;
}
.zb-science-banner__content > h2,
.zb-science-banner__content > p,
.zb-science-banner__content > .zb-btn {
  max-width: 540px;
}
.zb-science-banner__content h2 {
  color: #fff;
  font-size: 54px;
  line-height: 60px;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.zb-science-banner__content p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 28px;
  max-width: 460px;
}
.zb-science-banner__content .zb-btn {
  margin-top: 36px;
}
@media (max-width: 767px) {
  .zb-science-banner { min-height: 460px; }
  .zb-science-banner__content { padding: 64px 0; max-width: 100%; }
  .zb-science-banner__content h2 { font-size: 34px; line-height: 40px; }
  .zb-science-banner__overlay {
    background: linear-gradient(
      to right,
      rgba(15, 27, 45, 0.96) 0%,
      rgba(15, 27, 45, 0.90) 50%,
      rgba(15, 27, 45, 0.78) 75%,
      rgba(15, 27, 45, 0.55) 100%
    );
  }
  .zb-science-banner__bg img { object-position: 80% center; }
}

/* Legacy hero-visual (deprecated, replaced by hero-banner) — kept for reference */
.zb-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zb-hero-visual__img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(31, 78, 140, 0.18))
          drop-shadow(0 6px 16px rgba(127, 208, 232, 0.20));
}

/* ─────────────────────────────────────────── SECTION HEADS ── */

.zb-section__head {
  text-align: center;
  margin-bottom: var(--zb-sp-12);
}
.zb-section__head--left {
  text-align: left;
}
.zb-section__head h2 {
  margin-bottom: var(--zb-sp-4);
}
.zb-section__head p {
  color: var(--zb-ink-secondary);
  font-size: 18px;
  line-height: 28px;
  max-width: 640px;
  margin: 0 auto;
}
.zb-section__head--left p { margin-left: 0; }

/* ─────────────────────────────────────────── 3-COL GRID ── */

.zb-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--zb-sp-8);
}
.zb-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--zb-sp-6);
}
.zb-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--zb-sp-6);
}
.zb-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--zb-sp-6);
}
@media (max-width: 1023px) {
  .zb-grid-3 { grid-template-columns: 1fr 1fr; }
  .zb-grid-4 { grid-template-columns: 1fr 1fr; }
  .zb-grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .zb-grid-3, .zb-grid-4, .zb-grid-5, .zb-grid-2 { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────── TWO-COLUMN SPLIT ── */

.zb-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--zb-grid-gutter);
  align-items: center;
}
.zb-split--reverse { grid-template-columns: 5fr 7fr; }
.zb-split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 1023px) {
  .zb-split, .zb-split--reverse, .zb-split--even {
    grid-template-columns: 1fr;
    gap: var(--zb-sp-10);
  }
}

/* ─────────────────────────────────────────── STAT BLOCK ── */

.zb-stats {
  display: flex; flex-direction: column;
  gap: var(--zb-sp-6);
}
.zb-stat {
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--zb-border-subtle);
  border-radius: var(--zb-radius-card);
}
.zb-stat__number {
  font-family: var(--zb-font-display);
  font-size: 36px; line-height: 44px;
  font-weight: 700;
  color: var(--zb-brand-deep);
  letter-spacing: var(--zb-tracking-tight);
}
.zb-stat__label {
  margin-top: 4px;
  color: var(--zb-ink-secondary);
  font-size: 14px; line-height: 22px;
}
.zb-stat__label code {
  background: var(--zb-brand-ice);
  color: var(--zb-brand-deep);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
}

/* ─────────────────────────────────────────── COLLAB / JOIN TILES ── */

.zb-tile {
  position: relative;
  padding: 40px 36px;
  border-radius: var(--zb-radius-card);
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  overflow: hidden;
  transition: transform var(--zb-dur) var(--zb-ease),
              box-shadow var(--zb-dur) var(--zb-ease);
}
.zb-tile::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.zb-tile:hover { transform: translateY(-3px); }

.zb-tile--collab {
  background: #fff;
  border: 1px solid var(--zb-border-subtle);
}
.zb-tile--collab::before { background: var(--zb-brand-deep); }
.zb-tile--collab:hover {
  box-shadow: var(--zb-shadow-card-hover);
  border-color: var(--zb-brand-sky);
}

.zb-tile--join {
  background: var(--zb-brand-deep);
  color: #fff;
}
.zb-tile--join::before { background: var(--zb-brand-sky); }
.zb-tile--join h3 { color: #fff; }
.zb-tile--join p { color: rgba(255,255,255,0.78); }
.zb-tile--join .zb-card__link { color: #fff; }
.zb-tile--join:hover {
  box-shadow: 0 14px 40px rgba(31, 78, 140, 0.30);
}

.zb-tile__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--zb-brand-ice);
  color: var(--zb-brand-deep);
}
.zb-tile--join .zb-tile__icon {
  background: rgba(255,255,255,0.10);
  color: var(--zb-brand-sky);
}
.zb-tile__icon svg { width: 22px; height: 22px; }

.zb-tile h3 { margin: 20px 0 6px; }
.zb-tile p {
  font-size: 14.5px;
  color: var(--zb-ink-secondary);
  line-height: 22px;
}

/* ─────────────────────────────────────────── WORKFLOW NODES (Platform Workflow Diagram) ── */

.zb-workflow {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr 60px 1fr;
  align-items: center;
  gap: 0;
}
@media (max-width: 1023px) {
  .zb-workflow {
    grid-template-columns: 1fr;
    gap: var(--zb-sp-4);
  }
  .zb-workflow__arrow { display: none; }
}
.zb-workflow__step {
  background: #fff;
  border: 1px solid var(--zb-border-subtle);
  border-radius: var(--zb-radius-card);
  padding: 28px 24px;
  text-align: left;
  transition: border-color var(--zb-dur) var(--zb-ease),
              box-shadow var(--zb-dur) var(--zb-ease);
}
.zb-workflow__step:hover {
  border-color: var(--zb-brand-sky);
  box-shadow: var(--zb-shadow-card-hover);
}
.zb-workflow__num {
  font-family: var(--zb-font-mono);
  font-size: 12px;
  color: var(--zb-brand-mid);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.zb-workflow__title {
  font-size: 18px; font-weight: 600;
  color: var(--zb-brand-deep);
  margin-bottom: 6px;
}
.zb-workflow__desc {
  font-size: 13.5px;
  color: var(--zb-ink-secondary);
  line-height: 20px;
}
.zb-workflow__arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--zb-brand-sky);
}
.zb-workflow__arrow svg { width: 100%; height: auto; max-width: 50px; }

/* ─────────────────────────────────────────── STRATEGY NUMBERED ── */

.zb-strategy {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  align-items: flex-start;
}
@media (max-width: 1023px) {
  .zb-strategy { grid-template-columns: 1fr; gap: var(--zb-sp-6); }
  .zb-strategy__connector { display: none; }
}
.zb-strategy__step { text-align: center; }
.zb-strategy__circle {
  width: 60px; height: 60px;
  background: var(--zb-grad-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--zb-font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px rgba(31, 78, 140, 0.25);
}
.zb-strategy__step h4 {
  color: var(--zb-brand-deep);
  font-size: 18px; font-weight: 600;
  margin-bottom: 8px;
}
.zb-strategy__step p { color: var(--zb-ink-secondary); font-size: 14.5px; line-height: 22px; }
.zb-strategy__connector {
  height: 2px; margin-top: 30px;
  background-image: linear-gradient(to right, var(--zb-brand-sky) 50%, transparent 50%);
  background-size: 10px 2px;
  background-repeat: repeat-x;
}

/* ─────────────────────────────────────────── HYPOTHESIS QUOTE ── */

.zb-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 0;
}
.zb-quote__text {
  font-family: var(--zb-font-display);
  font-size: 32px;
  line-height: 44px;
  color: var(--zb-brand-deep);
  font-weight: 500;
  letter-spacing: var(--zb-tracking-tight);
  font-style: italic;
}
@media (max-width: 767px) {
  .zb-quote__text { font-size: 22px; line-height: 32px; }
}

/* ─────────────────────────────────────────── EXAMPLE VIZ SECTION BG (dark) ── */
.zb-section--example-viz {
  position: relative;
  background:
    /* 顶/底深色渐变：上下衔接 deep-blue 区段，中段图最显 */
    linear-gradient(to bottom,
      var(--zb-brand-deep) 0%,
      rgba(15, 27, 45, 0.55) 15%,
      rgba(15, 27, 45, 0.30) 50%,
      rgba(15, 27, 45, 0.55) 85%,
      var(--zb-brand-deep) 100%
    ),
    url('../img/example-viz-bg.jpg') center/cover no-repeat,
    var(--zb-brand-deep);
}
@supports (background-image: image-set(url('') type('image/webp'))) {
  .zb-section--example-viz {
    background:
      linear-gradient(to bottom,
        var(--zb-brand-deep) 0%,
        rgba(15, 27, 45, 0.55) 15%,
        rgba(15, 27, 45, 0.30) 50%,
        rgba(15, 27, 45, 0.55) 85%,
        var(--zb-brand-deep) 100%
      ),
      image-set(
        url('../img/example-viz-bg.webp') type('image/webp'),
        url('../img/example-viz-bg.jpg') type('image/jpeg')
      ) center/cover no-repeat,
      var(--zb-brand-deep);
  }
}

/* ─────────────────────────────────────────── PLATFORM MOCK WINDOW (Dark) ── */

.zb-mock-window {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #0A1525;
  border: 1px solid rgba(127, 208, 232, 0.25);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5),
              0 0 0 1px rgba(127, 208, 232, 0.1);
}
.zb-mock-window__chrome {
  display: flex; align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(127, 208, 232, 0.15);
  gap: 8px;
}
.zb-mock-window__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.zb-mock-window__dot--red    { background: #FF5F57; }
.zb-mock-window__dot--yellow { background: #FFBD2E; }
.zb-mock-window__dot--green  { background: #28C840; }
.zb-mock-window__title {
  margin-left: 12px;
  font-family: var(--zb-font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.zb-mock-window__body {
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 440px;
  background: linear-gradient(135deg, #0A1525 0%, #0F1F38 100%);
}
@media (max-width: 767px) {
  .zb-mock-window__body { grid-template-columns: 1fr; }
  .zb-mock-window__panel { border-left: none !important; border-top: 1px solid rgba(127, 208, 232, 0.15); }
}
.zb-mock-window__canvas {
  position: relative;
  min-height: 440px;
}
.zb-mock-window__panel {
  background: rgba(0,0,0,0.2);
  border-left: 1px solid rgba(127, 208, 232, 0.15);
  padding: 24px 20px;
  font-family: var(--zb-font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  line-height: 22px;
}
.zb-mock-window__panel h5 {
  font-family: var(--zb-font-display);
  font-size: 12.5px;
  color: var(--zb-brand-sky);
  margin: 0 0 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.zb-mock-window__row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(127, 208, 232, 0.10);
}
.zb-mock-window__row:last-child { border-bottom: none; }
.zb-mock-window__row .k { color: rgba(255,255,255,0.5); }
.zb-mock-window__row .v { color: #fff; font-weight: 500; }
.zb-mock-window__row .v.score { color: var(--zb-success); }

.zb-mock-window__caption {
  text-align: center;
  margin-top: 24px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
}

/* ─────────────────────────────────────────── BEYOND PILLS ── */

.zb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--zb-sp-3);
  justify-content: center;
}
.zb-pill {
  padding: 12px 20px;
  border: 1px solid var(--zb-border-subtle);
  border-radius: var(--zb-radius-pill);
  background: #fff;
  font-size: 14.5px;
  color: var(--zb-brand-deep);
  font-weight: 500;
  transition: all var(--zb-dur) var(--zb-ease);
}
.zb-pill:hover {
  border-color: var(--zb-brand-sky);
  background: var(--zb-brand-ice);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────── BEYOND AGS DOMAIN TILES ── */
/* 3 张升级版"领域扩展" tile — 取代过小的 pills */
.zb-domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.zb-domain-tile {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--zb-brand-ice) 100%);
  border: 1px solid rgba(127, 208, 232, 0.6);
  border-radius: 16px;
  padding: 32px 24px 28px;
  text-align: center;
  transition: transform var(--zb-dur) var(--zb-ease),
              box-shadow var(--zb-dur) var(--zb-ease),
              border-color var(--zb-dur) var(--zb-ease);
}
.zb-domain-tile::before {
  /* subtle top accent bar */
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, var(--zb-brand-mid), var(--zb-brand-sky));
  border-radius: 0 0 3px 3px;
}
.zb-domain-tile:hover {
  transform: translateY(-4px);
  border-color: var(--zb-brand-mid);
  box-shadow: 0 20px 40px -12px rgba(31, 78, 140, 0.20);
}
.zb-domain-tile__icon {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  color: var(--zb-brand-mid);
  display: flex; align-items: center; justify-content: center;
}
.zb-domain-tile__icon svg {
  width: 100%; height: 100%;
}
.zb-domain-tile__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--zb-brand-deep);
  margin: 0 0 8px;
  line-height: 22px;
}
.zb-domain-tile__sub {
  font-size: 13.5px;
  color: var(--zb-ink-secondary);
  line-height: 20px;
  margin: 0;
}

/* tablet/mobile: 1 column on small screens */
@media (max-width: 767px) {
  .zb-domain-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 360px;
  }
  .zb-domain-tile {
    padding: 24px 20px 22px;
  }
  .zb-domain-tile__icon {
    width: 36px; height: 36px;
    margin-bottom: 12px;
  }
  .zb-domain-tile__title { font-size: 15px; }
  .zb-domain-tile__sub { font-size: 13px; line-height: 19px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .zb-domain-grid {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 720px;
  }
}

/* ─────────────────────────────────────────── CHECKMARK LIST ── */

.zb-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--zb-sp-4) var(--zb-sp-8);
}
@media (max-width: 767px) { .zb-checklist { grid-template-columns: 1fr; } }
.zb-checklist li {
  display: flex; align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--zb-border-subtle);
  font-size: 16px;
  color: var(--zb-ink-primary);
}
.zb-checklist li::before {
  content: '';
  display: inline-block;
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: var(--zb-brand-mid);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 16px;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* ─────────────────────────────────────────── CTA BAND ── */

.zb-cta-band {
  padding: 96px 0;
  text-align: center;
  background: var(--zb-brand-deep);
  color: #fff;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(127, 208, 232, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(46, 134, 193, 0.20) 0%, transparent 50%);
}
.zb-cta-band h2 { color: #fff; }
.zb-cta-band p { color: rgba(255,255,255,0.78); margin-top: 16px; }
.zb-cta-band .zb-btn-row { justify-content: center; }

/* ─────────────────────────────────────────── BRAIN DIAGRAM (Lead Program) ── */

.zb-brain-svg {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: block;
}

/* ─────────────────────────────────────────── PLATFORM PREVIEW (Home §1.4) ── */

.zb-platform-flow {
  background: #fff;
  border: 1px solid var(--zb-border-subtle);
  border-radius: var(--zb-radius-card);
  padding: 36px 28px;
}
.zb-platform-flow__node {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--zb-brand-ice);
  border-radius: 10px;
  margin-bottom: 14px;
  background: linear-gradient(to right, var(--zb-brand-ice), #fff);
  position: relative;
}
.zb-platform-flow__node:last-child { margin-bottom: 0; }
.zb-platform-flow__node-num {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--zb-font-mono);
  font-size: 12px;
  background: var(--zb-brand-deep);
  color: #fff;
  border-radius: 50%;
  font-weight: 600;
  flex-shrink: 0;
}
.zb-platform-flow__node-label {
  font-weight: 600;
  color: var(--zb-brand-deep);
  font-size: 15.5px;
}

/* ─────────────────────────────────────────── HELIX CONNECTOR ── */

.zb-helix-curve {
  width: 100%;
  height: 24px;
  display: block;
  color: var(--zb-brand-sky);
}

/* ─────────────────────────────────────────── HERO LEFT SUBHEAD ── */
.zb-hero__buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--zb-sp-3);
  margin-top: var(--zb-sp-8);
}

/* ─────────────────────────────────────────── HERO — DECLARATIVE STYLE ── */
/* Reference: client-preferred site — short standalone sentences with periods */
.zb-hero h1.zb-hero__statement {
  font-size: 60px;
  line-height: 68px;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.zb-hero h1.zb-hero__statement .line-break { display: block; }
@media (max-width: 1023px) {
  .zb-hero h1.zb-hero__statement { font-size: 48px; line-height: 56px; }
}
@media (max-width: 767px) {
  .zb-hero h1.zb-hero__statement { font-size: 36px; line-height: 44px; }
}

/* Hero gradient blue background (ice-toned) — replaces glow */
.zb-hero--ice-bg {
  background: linear-gradient(160deg, #FFFFFF 0%, #F4F7FA 50%, #D6EEF7 100%);
}
.zb-hero--ice-bg::before { display: none; }

/* Scroll-down indicator */
.zb-scroll-cue {
  display: flex;
  justify-content: center;
  padding-top: var(--zb-sp-6);
  color: var(--zb-brand-mid);
  animation: zb-scroll-bounce 2.4s ease-in-out infinite;
}
@keyframes zb-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ─────────────────────────────────────────── POWERED BY SCIENCE ─── */
/* Deep blue full-bleed section with AI lab imagery on right */

.zb-science-band {
  background: var(--zb-brand-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(46, 134, 193, 0.40) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(127, 208, 232, 0.20) 0%, transparent 50%);
}
.zb-science-band__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--zb-sp-12);
  align-items: center;
  min-height: 480px;
}
@media (max-width: 1023px) {
  .zb-science-band__grid {
    grid-template-columns: 1fr;
    gap: var(--zb-sp-10);
    min-height: auto;
  }
}
.zb-science-band__copy h2 {
  color: #fff;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.025em;
  font-weight: 700;
}
@media (max-width: 767px) {
  .zb-science-band__copy h2 { font-size: 32px; line-height: 40px; }
}
.zb-science-band__copy p {
  margin-top: var(--zb-sp-5);
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 28px;
  max-width: 460px;
}
.zb-science-band__copy .zb-btn {
  margin-top: var(--zb-sp-8);
}

/* AI imagery slot — real AI-generated photo */
.zb-ai-imagery {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #1a3460 0%, #0F1B2D 100%);
  border: 1px solid rgba(127, 208, 232, 0.20);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.zb-ai-imagery__photo,
.zb-ai-imagery__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Very subtle deep-blue tint to harmonize with section background */
  filter: saturate(1.05) contrast(1.02);
}
.zb-ai-imagery::after {
  /* Subtle inner shadow + edge vignette to integrate image into section */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 80px rgba(15, 27, 45, 0.35),
    inset 0 0 0 1px rgba(127, 208, 232, 0.12);
  border-radius: inherit;
}
.zb-ai-imagery__caption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-family: var(--zb-font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

/* ─────────────────────────────────────────── PIPELINE SECTION ── */
/* v3 节奏修正：原 brand-ice 跟 Platform 重复 → 改 white + 顶部 brand gradient 分割线
   + 微妙 radial 背景纹理，给 Pipeline 自己的"data sheet"视觉身份
   v4: 高度压缩 — padding 120 → 80，banner aspect 21:6 → 24:5 */
.zb-pipeline-section {
  padding-top: 80px;     /* was 120 */
  padding-bottom: 80px;
  background: #FFFFFF;
  position: relative;
  /* 微妙浅色 radial 网络感纹理 — 跟 pipeline 数据语义呼应 */
  background-image:
    radial-gradient(circle at 12% 30%, rgba(127, 208, 232, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 88% 70%, rgba(46, 134, 193, 0.05) 0%, transparent 45%);
}
/* 顶部 brand-gradient 分割线 — 跟 Platform (ice blue) 之间清晰分界 */
.zb-pipeline-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--zb-brand-sky) 20%,
    var(--zb-brand-mid) 50%,
    var(--zb-brand-sky) 80%,
    transparent 100%
  );
  opacity: 0.5;
}
.zb-pipeline-section .zb-section__head h2 {
  font-size: 44px;
  line-height: 52px;
}
@media (max-width: 767px) {
  .zb-pipeline-section .zb-section__head h2 { font-size: 30px; line-height: 38px; }
}

/* ─────────────────────────────────────────── PLATFORM CARDS v2 — MODERN PREMIUM ── */
/* v7: 现代 premium 重设计 — 加 mono number / gradient icon bg / hover lift+glow / learn-more link
        卡片本身有微 gradient + ::before 装饰边线 */
.zb-platform-grid {
  display: grid;
  grid-template-columns: 1fr 72px 1fr 72px 1fr;
  gap: 0;
  align-items: stretch;     /* v7: 卡片等高对齐 */
  padding: 0 var(--zb-sp-6);
}
@media (max-width: 899px) {
  .zb-platform-grid { grid-template-columns: 1fr; gap: var(--zb-sp-8); }
  .zb-platform-connector { display: none; }
}

/* Helix decorative connector between cards
   双链相互交织 + base pair rungs + 中央 sparkle, 纯装饰 */
.zb-platform-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zb-brand-sky);
  opacity: 0.7;
  /* 微妙的呼吸动画，跟 hero 节奏一致 */
  animation: zb-connector-pulse 4.8s ease-in-out infinite;
}
.zb-platform-connector svg {
  width: 100%;
  height: auto;
  max-width: 68px;
}
@keyframes zb-connector-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.85; }
}
.zb-platform-card {
  position: relative;
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.55) 100%);
  border: 1px solid rgba(127, 208, 232, 0.30);
  border-radius: 18px;
  text-align: left;
  overflow: hidden;
  transition: transform var(--zb-dur) var(--zb-ease),
              border-color var(--zb-dur) var(--zb-ease),
              box-shadow var(--zb-dur) var(--zb-ease),
              background var(--zb-dur) var(--zb-ease);
}
/* 顶部光带装饰 */
.zb-platform-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--zb-brand-sky) 35%, var(--zb-brand-mid) 65%, transparent 100%);
  opacity: 0.5;
  transition: opacity var(--zb-dur) var(--zb-ease);
}
.zb-platform-card:hover {
  transform: translateY(-6px);
  border-color: var(--zb-brand-mid);
  box-shadow:
    0 24px 60px rgba(31, 78, 140, 0.18),
    0 0 0 1px rgba(127, 208, 232, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.85) 100%);
}
.zb-platform-card:hover::before { opacity: 1; }

/* Mono 数字 — Stripe-style 视觉锚点 */
.zb-platform-card__num {
  display: inline-block;
  font-family: var(--zb-font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--zb-brand-mid);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  padding: 4px 10px;
  background: rgba(46, 134, 193, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(46, 134, 193, 0.20);
}

/* Icon — gradient bg + glow */
.zb-platform-card__icon {
  width: 64px;
  height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(127, 208, 232, 0.18) 0%, rgba(46, 134, 193, 0.12) 100%);
  border: 1px solid rgba(127, 208, 232, 0.30);
  border-radius: 16px;
  color: var(--zb-brand-deep);
  margin-bottom: var(--zb-sp-6);
  transition: transform var(--zb-dur) var(--zb-ease),
              box-shadow var(--zb-dur) var(--zb-ease);
}
.zb-platform-card:hover .zb-platform-card__icon {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(46, 134, 193, 0.25);
}
.zb-platform-card__icon svg { width: 32px; height: 32px; }

.zb-platform-card h3 {
  font-size: 22px;
  line-height: 30px;
  margin-bottom: var(--zb-sp-3);
  letter-spacing: -0.01em;
}
.zb-platform-card p {
  color: var(--zb-ink-secondary);
  font-size: 15px;
  line-height: 24px;
  margin-bottom: var(--zb-sp-5);
}

/* Learn more link — fade-in on hover */
.zb-platform-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--zb-brand-mid);
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--zb-dur) var(--zb-ease),
              transform var(--zb-dur) var(--zb-ease),
              gap var(--zb-dur) var(--zb-ease);
}
.zb-platform-card__more span {
  transition: transform var(--zb-dur) var(--zb-ease);
}
.zb-platform-card:hover .zb-platform-card__more {
  opacity: 1;
  transform: translateY(0);
}
.zb-platform-card:hover .zb-platform-card__more span {
  transform: translateX(4px);
}

/* v9: Section 跟 Hero 蓝色调清晰分离 — 顶/底都纯白，图只在中段 25-75% 显现
   形成"白 → 图中段 → 白"夹心结构，上下 section 不再被相似色调粘成一团 */
.zb-platform-section {
  position: relative;
  background:
    /* 强白渐变：顶/底白，中段透明让图显出来 */
    linear-gradient(to bottom,
      #FFFFFF 0%,
      rgba(255, 255, 255, 0.95) 6%,
      rgba(255, 255, 255, 0.60) 25%,
      rgba(255, 255, 255, 0.35) 50%,
      rgba(255, 255, 255, 0.60) 75%,
      rgba(255, 255, 255, 0.95) 94%,
      #FFFFFF 100%
    ),
    /* AI 背景图 — 主视觉只在中段 25-75% 可见 */
    url('../img/platform-section-bg.jpg') center/cover no-repeat,
    /* fallback */
    var(--zb-brand-ice);
  padding-top: var(--zb-section-pad-y);
  padding-bottom: var(--zb-section-pad-y);
  overflow: hidden;
}
/* WebP via image-set() */
@supports (background-image: image-set(url('') type('image/webp'))) {
  .zb-platform-section {
    background:
      linear-gradient(to bottom,
        #FFFFFF 0%,
        rgba(255, 255, 255, 0.95) 6%,
        rgba(255, 255, 255, 0.60) 25%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.60) 75%,
        rgba(255, 255, 255, 0.95) 94%,
        #FFFFFF 100%
      ),
      image-set(
        url('../img/platform-section-bg.webp') type('image/webp'),
        url('../img/platform-section-bg.jpg') type('image/jpeg')
      ) center/cover no-repeat,
      var(--zb-brand-ice);
  }
}
.zb-platform-section > .zb-container { position: relative; z-index: 1; }
.zb-platform-section .zb-section__head h2 {
  font-size: 44px;
  line-height: 52px;
  letter-spacing: -0.02em;
}
@media (max-width: 767px) {
  .zb-platform-section .zb-section__head h2 { font-size: 30px; line-height: 38px; }
  .zb-platform-card { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE COMPREHENSIVE REDESIGN v2 (≤767px)
   v10 — 集中所有 mobile 优化覆盖之前散落的规则
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* ─── HERO BANNER (Home / Platform / Science / Collaborate / Join) ─── */
  .zb-hero-banner {
    min-height: 540px;
  }
  .zb-hero-banner__content {
    padding: 96px 20px 56px 20px;
  }
  .zb-hero-banner__content > h1,
  .zb-hero-banner__content > p,
  .zb-hero-banner__content > .zb-hero__buttons-wrapper,
  .zb-hero-banner__content > .zb-eyebrow {
    max-width: 100%;
  }
  .zb-hero-banner__content h1,
  .zb-hero-banner h1.zb-hero__statement {
    font-size: 34px !important;
    line-height: 40px !important;
    letter-spacing: -0.02em;
  }
  .zb-hero-banner__content p,
  .zb-hero-banner .zb-hero__subhead {
    font-size: 15px;
    line-height: 24px;
    margin-top: 16px;
  }
  .zb-hero__buttons-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
  }
  .zb-hero__buttons-wrapper .zb-btn {
    width: 55%;
    min-width: 200px;
    max-width: 260px;
    justify-content: center;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }
  /* Hero overlay 移动端加强 — 文字所在区更白 */
  .zb-hero-banner__overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.78) 40%,
      rgba(255, 255, 255, 0.35) 70%,
      rgba(255, 255, 255, 0.15) 100%
    ) !important;
  }
  /* Hero image: ensure subject (right side) is visible */
  .zb-hero-banner__bg img,
  .zb-hero-banner__bg-kb img {
    object-position: 70% center;
  }

  /* ─── NAV mobile: 右侧 lockup 隐藏，避免拥挤 ─── */
  .zb-nav__logo { display: none; }
  .zb-nav__brand span { display: none; }  /* 只留 mark icon，省空间 */

  /* ─── SECTION HEAD spacing ─── */
  .zb-section__head { margin-bottom: 32px; }
  .zb-section__head h2 { font-size: 28px; line-height: 36px; }
  .zb-section__head p { font-size: 15px; line-height: 24px; }

  /* ─── PLATFORM SECTION (Home §2) ─── */
  .zb-platform-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .zb-platform-section .zb-section__head h2 {
    font-size: 28px;
    line-height: 36px;
  }
  .zb-platform-card {
    padding: 24px 20px;
    border-radius: 14px;
  }
  .zb-platform-card__num { margin-bottom: 16px; font-size: 12px; }
  .zb-platform-card__icon { width: 52px; height: 52px; margin-bottom: 16px; }
  .zb-platform-card__icon svg { width: 26px; height: 26px; }
  .zb-platform-card h3 { font-size: 19px; line-height: 26px; margin-bottom: 10px; }
  .zb-platform-card p { font-size: 14px; line-height: 22px; }
  /* Mobile 没 hover，learn-more 直接显示 */
  .zb-platform-card__more {
    opacity: 1 !important;
    transform: none !important;
  }

  /* ─── PIPELINE SECTION (Home §3) ─── */
  .zb-pipeline-section { padding-top: 56px; padding-bottom: 56px; }
  .zb-pipeline-banner {
    aspect-ratio: 21 / 4;
    max-height: 140px;
    margin-bottom: 20px;
    border-radius: 10px;
  }
  .zb-pipeline-grid {
    border-radius: 12px;
  }
  /* Head row 在 mobile 保留 — 显示 4 个 stage 标签让用户能对应 marker */
  .zb-pipeline-grid__row {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 18px 18px 22px;
  }
  .zb-pipeline-grid__col-program strong { font-size: 16px; }
  .zb-pipeline-grid__col-target { font-size: 13px; }

  /* ─── POWERED BY SCIENCE BANNER (Home §4) ─── */
  .zb-science-banner {
    min-height: 440px;
  }
  .zb-science-banner__content {
    padding: 60px 20px 56px 20px;
  }
  .zb-science-banner__content h2 {
    font-size: 30px;
    line-height: 38px;
  }
  .zb-science-banner__content p {
    font-size: 15px;
    line-height: 24px;
  }
  .zb-science-banner__overlay {
    background: linear-gradient(
      to bottom,
      rgba(15, 27, 45, 0.95) 0%,
      rgba(15, 27, 45, 0.82) 50%,
      rgba(15, 27, 45, 0.55) 100%
    ) !important;
  }

  /* ─── SCIENCE LEAD PROGRAM (Science §3.2) ─── */
  .zb-split, .zb-split--reverse, .zb-split--even {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .zb-lead-program-img,
  .zb-hero-split-img {
    max-width: 280px;
    margin: 0 auto;
  }
  .zb-stat--horizontal { padding: 20px; }
  .zb-stat--horizontal .zb-stat__number { font-size: 26px; line-height: 32px; }
  .zb-stat--horizontal .zb-stat__label { font-size: 13px; line-height: 20px; }

  /* ─── HYPOTHESIS QUOTE (Science §3.3) ─── */
  .zb-quote__text { font-size: 22px; line-height: 32px; }

  /* ─── STRATEGY 3-step (Science §3.4) ─── */
  .zb-strategy {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .zb-strategy__connector { display: none; }
  .zb-strategy__circle { width: 48px; height: 48px; font-size: 18px; }

  /* ─── PLATFORM PAGE — Workflow Diagram ─── */
  .zb-workflow { grid-template-columns: 1fr; gap: 14px; }
  .zb-workflow__arrow { display: none; }

  /* ─── PLATFORM PAGE — Outputs / generic grids ─── */
  .zb-grid-2, .zb-grid-3, .zb-grid-4, .zb-grid-5 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ─── PLATFORM MOCK WINDOW (dark) ─── */
  .zb-mock-window__body { grid-template-columns: 1fr !important; }
  .zb-mock-window__panel { padding: 18px; border-left: none !important; }
  .zb-mock-window__canvas { min-height: 320px !important; }
  .zb-mock-window__title { font-size: 11px; }

  /* ─── EXAMPLE VIZ SECTION (Platform) ─── */
  .zb-section--example-viz {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* ─── COLLABORATE FORM ─── */
  .zb-form__input,
  .zb-form__textarea {
    font-size: 16px;  /* prevent iOS auto-zoom on focus */
  }
  .zb-checklist {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  /* ─── CTA BAND (Join Us 等) ─── */
  .zb-cta-band {
    padding: 56px 0;
  }
  .zb-cta-band h2 { font-size: 28px; line-height: 36px; }
  .zb-cta-band .zb-btn-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .zb-cta-band .zb-btn-row .zb-btn {
    width: 55%;
    min-width: 200px;
    max-width: 260px;
    justify-content: center;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* ─── COLLAB/JOIN TILES on Home ─── */
  .zb-tile {
    min-height: 240px;
    padding: 28px 24px;
  }

  /* ═══════════════════════════════════════════════════════════════
     MOBILE SECTION COMPRESSION — 3 偏高 section 强压
     ═══════════════════════════════════════════════════════════════ */

  /* (1) PLATFORM · Example Visualization — 大幅降低 dashboard 高度 */
  .zb-section--example-viz {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  .zb-section--example-viz .zb-section__head {
    margin-bottom: 20px !important;
  }
  .zb-mock-window {
    margin-top: 12px;
  }
  .zb-mock-window__chrome { padding: 8px 12px; }
  .zb-mock-window__body {
    grid-template-columns: 1fr !important;
  }
  .zb-mock-window__canvas {
    min-height: 160px !important;   /* was 320px */
    padding: 16px;
  }
  .zb-mock-window__panel {
    padding: 14px 16px !important;
    border-left: none !important;
    font-size: 12px;
  }
  /* 隐藏 Linked Targets 块（第 2 个 h5 + 它后面 3 行）减少高度 */
  .zb-mock-window__panel > h5:nth-of-type(2),
  .zb-mock-window__panel > h5:nth-of-type(2) ~ .zb-mock-window__row {
    display: none;
  }
  /* 再隐藏 Selected Node 下面后 3 行，只留 3 行最关键的 */
  .zb-mock-window__panel > .zb-mock-window__row:nth-of-type(n+4) {
    display: none;
  }

  /* (2) SCIENCE · AGS Lead Program 区 — 压缩 split + bullet + stats */
  #lead-program {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  #lead-program .zb-split {
    margin-bottom: 28px !important;
    gap: 20px !important;
  }
  /* AGS 图片限高 — 破掉 aspect-ratio 5/6 的纵向占用，改成横版裁剪 */
  .zb-lead-program-img {
    aspect-ratio: 16 / 9 !important;
    max-width: 320px !important;
    max-height: 180px !important;
    margin: 0 auto !important;
    overflow: hidden;
    border-radius: 16px;
  }
  .zb-lead-program-img picture,
  .zb-lead-program-img img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center 35% !important;
  }
  /* 3 个 bullet — 紧凑化 */
  #lead-program ul {
    margin-top: 16px !important;
    gap: 10px !important;
  }
  #lead-program ul li p {
    font-size: 14px !important;
    line-height: 21px !important;
  }
  /* Stats row — 缩小数字字号 + 减 padding */
  .zb-stats-row {
    gap: 10px !important;
    margin-top: 16px;
  }
  .zb-stat--horizontal {
    padding: 12px 14px !important;
  }
  .zb-stat__number {
    font-size: 22px !important;
    line-height: 28px !important;
  }
  .zb-stat__label {
    font-size: 12.5px !important;
    line-height: 18px !important;
  }

  /* (3) COLLABORATE · Who We Work With 4 卡 — 2×2 网格大幅省高度 */
  #partners {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  #partners .zb-section__head { margin-bottom: 20px !important; }
  #partners .zb-grid-4 {
    grid-template-columns: 1fr 1fr !important;  /* 2x2 instead of 1 col stack */
    gap: 10px !important;
  }
  #partners .zb-card {
    padding: 14px 12px 16px !important;
  }
  #partners .zb-card__icon {
    width: 26px; height: 26px;
    margin-bottom: 8px !important;
  }
  #partners .zb-card__title {
    font-size: 15px !important;
    margin-bottom: 4px !important;
    line-height: 20px;
  }
  #partners .zb-card__body {
    font-size: 12.5px !important;
    line-height: 18px !important;
  }

  /* (4) JOIN · Open Disciplines 5 卡 — 2 列 + 第 5 张满宽 */
  #roles {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  #roles .zb-section__head { margin-bottom: 20px !important; }
  #roles .zb-grid-5 {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  #roles .zb-grid-5 > :nth-child(5) {
    grid-column: 1 / -1 !important;   /* 第 5 张跨两列满宽 */
  }
  #roles .zb-card {
    padding: 14px 12px 16px !important;
  }
  #roles .zb-card__icon {
    width: 26px; height: 26px;
    margin-bottom: 8px !important;
  }
  #roles .zb-card__title {
    font-size: 15px !important;
    margin-bottom: 4px !important;
    line-height: 20px;
  }
  #roles .zb-card__body {
    font-size: 12.5px !important;
    line-height: 18px !important;
  }
  #roles .zb-card__link {
    font-size: 12.5px !important;
    margin-top: 8px !important;
  }

  /* ─── PLATFORM HELIX CONNECTORS ─── */
  .zb-platform-connector { display: none; }

  /* ─── BUTTON ROW DEFAULT (any standalone) ─── */
  .zb-btn-row {
    flex-wrap: wrap;
  }
  .zb-btn-row .zb-btn {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }

  /* ─── HERO SPLIT (Science 旧布局，已废弃但兜底) ─── */
  .zb-hero-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .zb-hero--split h1 { font-size: 32px !important; line-height: 38px !important; }

  /* ─── PILLS (Beyond AGS) ─── */
  .zb-pills { gap: 8px; }
  .zb-pill { font-size: 13px; padding: 10px 16px; }
}

/* ─── 极小屏 (≤480px) — iPhone SE / 老安卓 ─── */
@media (max-width: 480px) {
  .zb-hero-banner__content h1,
  .zb-hero-banner h1.zb-hero__statement {
    font-size: 28px !important;
    line-height: 34px !important;
  }
  .zb-science-banner__content h2 {
    font-size: 26px;
    line-height: 32px;
  }
  .zb-platform-card { padding: 20px 16px; }
  .zb-pipeline-grid__row { padding: 14px 14px 18px; }
  .zb-section__head { margin-bottom: 24px; }
  .zb-quote__text { font-size: 20px; line-height: 28px; }
  .zb-cta-band { padding: 40px 0; }
}

/* ─── MOBILE FOOTER ACCORDION (<768px) ─────────────────────── */
@media (max-width: 767px) {
  /* Brand 块照旧显示，但稍紧凑 */
  .zb-footer__top {
    padding: 36px 0 16px !important;
    gap: 0 !important;
    grid-template-columns: 1fr !important;
  }
  .zb-footer__brand {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* details 卡片化 — 每列变成可点击的折叠条 */
  details.zb-footer__col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 0;
  }
  details.zb-footer__col > :not(summary) {
    padding-bottom: 16px;
    padding-top: 4px;
  }
  .zb-footer__col-h {
    padding: 14px 4px;
    margin: 0 !important;
    font-size: 14px;
    cursor: pointer;
  }
  .zb-footer__col-chev {
    display: block;
  }
  details[open] > .zb-footer__col-h .zb-footer__col-chev {
    transform: rotate(180deg);
  }

  /* 平滑展开 — 用 grid-template-rows 过渡 (chrome safari firefox 支持) */
  details.zb-footer__col[open] summary ~ * {
    animation: zb-footer-slide-down 220ms ease-out;
  }

  /* bottom row 简化 */
  .zb-footer__bottom {
    padding: 20px 0 !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@keyframes zb-footer-slide-down {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 横屏手机 / iPad mini (480-1023px) — 部分卡 2 列 ─── */
@media (min-width: 600px) and (max-width: 1023px) {
  .zb-grid-3, .zb-grid-4, .zb-grid-5 {
    grid-template-columns: 1fr 1fr;
  }
  .zb-platform-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .zb-platform-connector { display: none; }
}
