/* ==========================================================================
   毛安安 · 青禾生命科技 官网主样式
   设计基调：品牌薄荷绿 + 暖橙点缀 + 米白暖底，圆润、克制、有呼吸感
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌主色（取自 logo） */
  --mint-50: #f1faf7;
  --mint-100: #ddf2ec;
  --mint-200: #bce6da;
  --mint-300: #93d6c4;
  --mint-400: #6abfaa;
  --mint-500: #4ea792;
  --mint-600: #3a8b78;
  --mint-700: #2c6d5e;
  --mint-800: #205047;
  --mint-900: #16332d;

  /* 点缀暖橙（取自 logo 爱心） */
  --orange-300: #f7bd8b;
  --orange-400: #f2a263;
  --orange-500: #eb873c;
  --orange-600: #d16d24;

  /* 暖中性底色 */
  --sand-50: #fdfbf7;
  --sand-100: #f8f4ec;
  --sand-200: #f1eade;
  --sand-300: #e4dccb;

  /* 文字 */
  --ink-900: #15221f;
  --ink-800: #22322e;
  --ink-700: #354741;
  --ink-600: #4d615a;
  --ink-500: #6b7d77;
  --ink-400: #8d9c96;
  --ink-300: #b3bfba;

  --white: #ffffff;

  /* 语义化 */
  --bg: var(--sand-50);
  --bg-alt: var(--sand-100);
  --bg-dark: #101f1b;
  --text: var(--ink-800);
  --text-muted: var(--ink-500);
  --line: rgba(21, 34, 31, 0.09);
  --line-strong: rgba(21, 34, 31, 0.16);

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(21, 34, 31, 0.05);
  --shadow-sm: 0 4px 16px rgba(21, 34, 31, 0.06);
  --shadow-md: 0 12px 32px rgba(21, 34, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(21, 34, 31, 0.12);
  --shadow-mint: 0 14px 34px rgba(58, 139, 120, 0.26);

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans CJK SC", Roboto, Arial, sans-serif;
  --font-display: "Avenir Next", "Futura", "Century Gothic", -apple-system,
    BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* 布局 */
  --container: 1240px;
  --nav-h: 74px;
  --section-y: clamp(64px, 8vw, 120px);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 语言切换前先隐藏正文，避免中英文闪烁 */
html.i18n-loading body {
  visibility: hidden;
}

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

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--mint-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--mint-200);
  color: var(--mint-900);
}

/* ---------- 3. 通用工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section--tight {
  padding: clamp(48px, 5vw, 76px) 0;
}

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

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.78);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--solid {
  fill: currentColor;
  stroke: none;
}

/* 首页场景卡的摘要文字截断为三行，保持卡片等高 */
.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 4. 章节标题 ---------- */
.sec-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 4vw, 60px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mint-600);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  flex: none;
}

.section--dark .eyebrow {
  color: var(--mint-300);
}

.sec-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
}

.sec-lead {
  margin-top: 18px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-muted);
  line-height: 1.9;
}

.section--dark .sec-lead {
  color: rgba(255, 255, 255, 0.66);
}

.text-mint {
  color: var(--mint-600);
}

.text-orange {
  color: var(--orange-500);
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.btn .icon {
  font-size: 18px;
}

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

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

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--mint-400), var(--mint-600));
  box-shadow: var(--shadow-mint);
}

.btn--primary:hover {
  box-shadow: 0 18px 40px rgba(58, 139, 120, 0.34);
}

.btn--ghost {
  color: var(--mint-700);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mint-200);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--mint-300);
}

.btn--outline {
  color: var(--ink-800);
  border: 1px solid var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--mint-400);
  color: var(--mint-700);
}

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

.btn--onDark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 16px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 文字链接（带箭头） */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--mint-700);
  transition: gap 0.25s ease, color 0.25s ease;
}

.link-arrow .icon {
  font-size: 17px;
}

.link-arrow:hover {
  gap: 13px;
  color: var(--mint-600);
}

.section--dark .link-arrow {
  color: var(--mint-300);
}

/* ---------- 6. 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    backdrop-filter 0.3s ease, height 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(253, 251, 247, 0.9),
    rgba(253, 251, 247, 0)
  );
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.site-header.is-stuck {
  height: 64px;
  background: rgba(253, 251, 247, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(21, 34, 31, 0.06);
}

.site-header.is-stuck::before {
  opacity: 0;
}

.nav {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand img {
  width: 46px;
  height: auto;
  transition: width 0.3s ease;
}

.site-header.is-stuck .brand img {
  width: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--mint-600);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-menu a {
  position: relative;
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--mint-700);
  background: rgba(106, 191, 170, 0.12);
}

.nav-menu a.is-active {
  color: var(--mint-700);
  font-weight: 600;
}

.nav-menu a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
  transform: translateX(-50%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

/* 语言切换 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--r-full);
  background: rgba(21, 34, 31, 0.06);
}

.lang-switch button {
  min-width: 44px;
  padding: 5px 10px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  transition: background-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--mint-700);
  box-shadow: var(--shadow-xs);
}

/* 下载入口只在移动端抽屉里出现 */
.nav-menu-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  color: var(--ink-800);
  background: rgba(21, 34, 31, 0.05);
}

.nav-toggle .icon {
  font-size: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

body.nav-open .nav-toggle .icon-close {
  display: block;
}

body.nav-open .nav-toggle .icon-menu {
  display: none;
}

/* 移动端抽屉 */
@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: rgba(253, 251, 247, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease,
      visibility 0.28s ease;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  body.nav-open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 13px 14px;
    font-size: 16px;
    border-radius: var(--r-md);
  }

  .nav-menu a.is-active::after {
    left: 14px;
    bottom: auto;
    top: 50%;
    width: 3px;
    height: 18px;
    transform: translate(0, -50%);
  }

  .nav-menu-cta {
    display: block;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .nav-menu-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, var(--mint-400), var(--mint-600));
    box-shadow: var(--shadow-mint);
    border-radius: var(--r-full);
  }

  .nav-menu-cta a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--mint-400), var(--mint-600));
  }

  .nav-menu-cta .icon {
    font-size: 19px;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand-text {
    display: none;
  }
}

/* ---------- 7. 首屏 Hero ---------- */
.hero {
  position: relative;
  min-height: min(96vh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 76px;
  overflow: hidden;
  background: var(--sand-100);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      100deg,
      rgba(250, 247, 240, 0.97) 0%,
      rgba(250, 247, 240, 0.93) 28%,
      rgba(250, 247, 240, 0.6) 48%,
      rgba(250, 247, 240, 0.08) 72%,
      rgba(250, 247, 240, 0) 100%
    ),
    linear-gradient(
      to top,
      rgba(250, 247, 240, 0.85) 0%,
      rgba(250, 247, 240, 0) 34%
    );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  max-width: 680px;
}

.hero-title {
  font-size: clamp(30px, 3.3vw, 56px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

/* 关键词用暖橙下划高亮，避免使用负 z-index 造成层叠问题 */
.hero-title .accent {
  color: var(--mint-700);
  background: linear-gradient(
    180deg,
    transparent 66%,
    rgba(242, 162, 99, 0.5) 66%,
    rgba(242, 162, 99, 0.16) 100%
  );
  border-radius: 3px;
  padding: 0 2px;
}

.hero-desc {
  margin-top: 24px;
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.95;
  color: var(--ink-600);
  max-width: 560px;
}

.hero-actions {
  margin-top: 34px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  margin-bottom: 22px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(106, 191, 170, 0.34);
  box-shadow: var(--shadow-xs);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mint-800);
}

.hero-badge .icon {
  font-size: 16px;
  color: var(--mint-600);
}

.hero-badge b {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--mint-600);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* 生命体征浮卡 */
.vitals {
  justify-self: end;
  width: min(100%, 380px);
  padding: 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  animation: float-y 7s ease-in-out infinite;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.vitals-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.vitals-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-800);
}

.vitals-title .icon {
  font-size: 18px;
  color: var(--mint-600);
}

.vitals-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: rgba(106, 191, 170, 0.16);
  color: var(--mint-700);
  font-size: 12px;
  font-weight: 600;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-500);
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(78, 167, 146, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(78, 167, 146, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(78, 167, 146, 0);
  }
}

.ecg {
  height: 76px;
  margin-bottom: 16px;
  border-radius: var(--r-md);
  background: linear-gradient(
    180deg,
    rgba(106, 191, 170, 0.1),
    rgba(106, 191, 170, 0)
  );
  overflow: hidden;
}

.ecg svg {
  width: 100%;
  height: 100%;
}

.ecg path {
  fill: none;
  stroke: var(--mint-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: ecg-draw 3.2s linear infinite;
}

@keyframes ecg-draw {
  to {
    stroke-dashoffset: -340;
  }
}

.vitals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vital {
  padding: 12px 10px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  text-align: center;
}

.vital-label {
  display: block;
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 4px;
}

.vital-value {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.1;
}

.vital-unit {
  font-size: 11px;
  color: var(--ink-400);
  margin-left: 2px;
}

.vitals-note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-400);
  text-align: center;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-500);
}

.hero-scroll .icon {
  font-size: 18px;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .vitals {
    justify-self: start;
    animation: none;
  }
  /* 移动端首屏改为纵向遮罩：上半部保证文字可读，下半部露出视频画面 */
  .hero-scrim {
    background: linear-gradient(
      to bottom,
      rgba(250, 247, 240, 0.94) 0%,
      rgba(250, 247, 240, 0.9) 40%,
      rgba(250, 247, 240, 0.42) 66%,
      rgba(250, 247, 240, 0.2) 84%,
      rgba(250, 247, 240, 0.72) 100%
    );
  }

  .hero-media video,
  .hero-media img {
    object-position: center 30%;
  }
  .hero-scroll {
    display: none;
  }
}

/* 内页 Hero */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(52px, 7vw, 96px)) 0
    clamp(48px, 6vw, 84px);
  background: linear-gradient(
    170deg,
    var(--mint-50) 0%,
    var(--sand-100) 58%,
    var(--sand-50) 100%
  );
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(106, 191, 170, 0.22),
    rgba(106, 191, 170, 0) 68%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-inner {
  max-width: 780px;
}

.page-hero-title {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.2;
}

.page-hero-lead {
  margin-top: 20px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.95;
  color: var(--ink-600);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--ink-500);
}

.breadcrumb a:hover {
  color: var(--mint-700);
}

.breadcrumb .icon {
  font-size: 14px;
  color: var(--ink-300);
}

/* ---------- 8. 数据条 ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2vw, 26px);
  background: var(--white);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--mint-700);
  letter-spacing: -0.02em;
}

.stat-unit {
  font-size: 0.44em;
  font-weight: 600;
  margin-left: 3px;
  color: var(--mint-500);
}

.stat-label {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-500);
}

@media (max-width: 760px) {
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 9. 卡片网格 ---------- */
.grid {
  display: grid;
  gap: clamp(18px, 2vw, 26px);
}

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

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

@media (max-width: 680px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(106, 191, 170, 0.4);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 17px;
  background: linear-gradient(140deg, var(--mint-100), var(--mint-50));
  color: var(--mint-700);
  border: 1px solid rgba(106, 191, 170, 0.28);
}

.card-icon .icon {
  font-size: 26px;
}

.card-icon--orange {
  background: linear-gradient(140deg, #fdefe1, #fff8f1);
  color: var(--orange-600);
  border-color: rgba(235, 135, 60, 0.28);
}

.card-title {
  font-size: clamp(17px, 1.5vw, 20px);
  margin-bottom: 10px;
}

.card-text {
  font-size: 15.2px;
  line-height: 1.88;
  color: var(--ink-600);
}

.card-tag {
  display: inline-block;
  vertical-align: middle;
  padding: 5px 14px;
  margin: 0 0 20px 12px;
  border-radius: var(--r-full);
  background: var(--mint-50);
  color: var(--mint-700);
  border: 1px solid var(--mint-100);
  font-size: 12.5px;
  font-weight: 600;
}

.card-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.4px;
  line-height: 1.7;
  color: var(--ink-600);
}

.card-list .icon {
  font-size: 17px;
  margin-top: 3px;
  color: var(--mint-500);
}

/* 编号卡片 */
.card--numbered {
  padding-top: 30px;
}

.card-num {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 20px 14px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange-500);
}

/* ---------- 10. 图文交错 ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.split--reverse .split-media {
  order: 2;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .split--reverse .split-media {
    order: 0;
  }
}

.split + .split {
  margin-top: clamp(48px, 6vw, 96px);
}

.split-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--sand-200);
}

.split-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-media:hover img {
  transform: scale(1.04);
}

.split-media--tall img {
  aspect-ratio: 4 / 5;
}

.media-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: rgba(16, 31, 27, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.6;
}

.split-body h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  margin-bottom: 18px;
}

.split-body p {
  font-size: 15.6px;
  line-height: 1.95;
  color: var(--ink-600);
}

.split-body p + p {
  margin-top: 16px;
}

.split-body .btn-row {
  margin-top: 28px;
}

/* 要点列表 */
.point-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 15.2px;
  line-height: 1.75;
  color: var(--ink-700);
}

.point-list .point-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  margin-top: 1px;
  border-radius: 9px;
  background: var(--mint-50);
  color: var(--mint-600);
  border: 1px solid rgba(106, 191, 170, 0.3);
}

.point-list .icon {
  font-size: 16px;
}

/* ---------- 11. 步骤流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  counter-reset: step;
}

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

@media (max-width: 620px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--mint-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(58, 139, 120, 0.28);
}

.step-badge .icon {
  font-size: 23px;
}

.step-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: rgba(106, 191, 170, 0.16);
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ---------- 12. 场景卡 ---------- */
.scene-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.scene-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.scene-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sand-200);
}

.scene-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scene-card:hover .scene-thumb img {
  transform: scale(1.06);
}

.scene-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--mint-700);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.scene-badge .icon {
  font-size: 15px;
}

.scene-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.scene-body h3 {
  font-size: 18.5px;
  margin-bottom: 11px;
}

.scene-body p {
  font-size: 14.6px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* 场景详解（长文） */
.scene-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4.4vw, 64px);
  padding: clamp(28px, 3.4vw, 46px);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.scene-detail + .scene-detail {
  margin-top: clamp(22px, 2.6vw, 34px);
}

.scene-detail:nth-child(even) .scene-detail-media {
  order: 2;
}

@media (max-width: 900px) {
  .scene-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .scene-detail:nth-child(even) .scene-detail-media {
    order: 0;
  }
}

.scene-detail-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand-200);
}

.scene-detail-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.scene-detail-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange-500);
  margin-bottom: 14px;
}

.scene-detail-body h3 {
  font-size: clamp(20px, 2.1vw, 27px);
  margin-bottom: 16px;
}

.scene-detail-body p {
  font-size: 15.4px;
  line-height: 1.95;
  color: var(--ink-600);
}

/* ---------- 13. 影片模块 ---------- */
.film-stage {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0a1512;
  box-shadow: var(--shadow-lg);
}

.film-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1512;
  display: block;
}

.film-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 26px;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.film-meta h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}

.film-meta p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.58);
}

.playlist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 1000px) {
  .playlist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.playlist-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.playlist-item:hover {
  transform: translateY(-3px);
  border-color: rgba(106, 191, 170, 0.55);
}

.playlist-item.is-active {
  border-color: var(--mint-400);
  box-shadow: 0 0 0 1px var(--mint-400);
}

.playlist-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.6s ease;
}

.playlist-item:hover .playlist-thumb img,
.playlist-item.is-active .playlist-thumb img {
  opacity: 1;
  transform: scale(1.05);
}

.playlist-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(10, 21, 18, 0.28);
  transition: background-color 0.25s ease;
}

.playlist-play .icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.playlist-item:hover .playlist-play {
  background: rgba(10, 21, 18, 0.1);
}

.playlist-cap {
  display: block;
  padding: 11px 13px 13px;
}

.playlist-cap b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.playlist-cap span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

/* 影片卡（首页预览） */
.film-preview {
  position: relative;
  display: block;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0a1512;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

.film-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.film-preview:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.film-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(
    to top,
    rgba(8, 18, 15, 0.86) 0%,
    rgba(8, 18, 15, 0.3) 46%,
    rgba(8, 18, 15, 0.05) 100%
  );
  color: #fff;
}

.film-preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.film-preview:hover .film-preview-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255, 255, 255, 0.26);
}

.film-preview-play .icon {
  font-size: 26px;
  margin-left: 3px;
}

.film-preview-overlay h3 {
  font-size: clamp(18px, 2vw, 25px);
  color: #fff;
  margin-bottom: 6px;
}

.film-preview-overlay p {
  font-size: 13.6px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 14. 时间轴 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 4px;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    var(--mint-300),
    rgba(106, 191, 170, 0.16)
  );
}

.timeline-item {
  position: relative;
  padding: 0 0 30px 6px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--mint-400);
  box-shadow: 0 0 0 4px rgba(106, 191, 170, 0.14);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange-500);
  margin-bottom: 6px;
}

.timeline-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14.6px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ---------- 15. 对比表 / 参数表 ---------- */
/* 窄屏下表格横向滚动，左右边缘用阴影提示还有内容 */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  -webkit-overflow-scrolling: touch;
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--white) 40%, rgba(255, 255, 255, 0)),
    linear-gradient(to left, var(--white) 40%, rgba(255, 255, 255, 0)),
    radial-gradient(farthest-side at 0 50%, rgba(21, 34, 31, 0.13), rgba(21, 34, 31, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(21, 34, 31, 0.13), rgba(21, 34, 31, 0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 44px 100%, 44px 100%, 15px 100%, 15px 100%;
  background-attachment: local, local, scroll, scroll;
}

table.data {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

table.data th,
table.data td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

table.data thead th {
  background: var(--sand-100);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-800);
  white-space: nowrap;
}

table.data thead th.is-highlight {
  background: var(--mint-50);
  color: var(--mint-800);
}

table.data tbody tr:last-child th,
table.data tbody tr:last-child td {
  border-bottom: none;
}

table.data tbody th {
  font-weight: 600;
  color: var(--ink-800);
  width: 34%;
}

table.data td {
  color: var(--ink-600);
}

table.data td.is-highlight {
  background: rgba(106, 191, 170, 0.06);
  color: var(--mint-800);
  font-weight: 600;
}

.cell-yes {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mint-600);
  font-weight: 600;
}

.cell-no {
  color: var(--ink-300);
}

.table-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-400);
}

/* 规格清单 */
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

@media (max-width: 680px) {
  .spec-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.spec-item {
  padding: 22px 26px;
  background: var(--white);
}

.spec-key {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 7px;
}

.spec-key .icon {
  font-size: 16px;
  color: var(--mint-500);
}

.spec-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.6;
}

/* ---------- 16. 手风琴 FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(106, 191, 170, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.6;
}

.faq-q .icon {
  font-size: 20px;
  flex: none;
  margin-left: auto;
  color: var(--mint-600);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-q .icon {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a p {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-600);
}

/* ---------- 17. 联系模块 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-item:hover {
  border-color: rgba(106, 191, 170, 0.4);
  transform: translateY(-2px);
}

.contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--mint-50);
  color: var(--mint-600);
  border: 1px solid rgba(106, 191, 170, 0.28);
}

.contact-ico .icon {
  font-size: 21px;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.6;
  word-break: break-word;
}

.contact-item a:hover {
  color: var(--mint-600);
}

.contact-item small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-400);
}

/* 邮件模板卡片 */
.mail-meta {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--mint-50);
  border: 1px solid rgba(106, 191, 170, 0.28);
}

.mail-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 7px 0;
}

.mail-meta-row + .mail-meta-row {
  border-top: 1px dashed rgba(106, 191, 170, 0.32);
}

.mail-meta-key {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  min-width: 86px;
  font-size: 13px;
  color: var(--mint-700);
}

.mail-meta-key .icon {
  font-size: 16px;
}

.mail-meta-val {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.6;
  word-break: break-word;
}

a.mail-meta-val:hover {
  color: var(--mint-600);
}

.mail-meta-tip {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(106, 191, 170, 0.32);
  font-size: 12.8px;
  line-height: 1.7;
  color: var(--ink-500);
}

.mail-body-label {
  margin: 26px 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
}

.mail-template {
  margin: 0;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--sand-50);
  border: 1px solid var(--line-strong);
  font-family: var(--font-sans);
  font-size: 14.4px;
  line-height: 2;
  color: var(--ink-700);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  -webkit-user-select: all;
  user-select: all;
}

/* 复制成功后的短暂反馈 */
[data-copy-template].is-done {
  background: linear-gradient(135deg, var(--mint-500), var(--mint-700));
}

/* 表单 */
.form-card {
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--sand-50);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 118px;
  line-height: 1.7;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--mint-400);
  box-shadow: 0 0 0 3px rgba(106, 191, 170, 0.18);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-300);
}

.form-foot {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-hint {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-400);
}

/* ---------- 18. 二维码 / 下载 ---------- */
.qr-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.qr-card img {
  width: 108px;
  height: 108px;
  flex: none;
  border-radius: var(--r-sm);
  background: #fff;
}

.qr-card h4 {
  font-size: 16px;
  margin-bottom: 7px;
}

.qr-card p {
  font-size: 13.6px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 下载页：微信内提示条与内嵌小程序码 */
.wechat-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: #fff7ed;
  border: 1px solid #fcd6a8;
  color: #9a5a1c;
  font-size: 14.5px;
  line-height: 1.75;
}

.wechat-tip .icon {
  font-size: 20px;
  flex: none;
  margin-top: 3px;
}

.wechat-tip[hidden] {
  display: none;
}

.qr-inline {
  width: 132px;
  height: 132px;
  margin-top: 20px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
}

/* 设备不匹配时按钮降级为次要样式，主推当前平台 */
.card[data-store] .btn.is-secondary {
  color: var(--mint-700);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mint-200);
  box-shadow: var(--shadow-xs);
}

.btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- 19. CTA 区块 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mint-800), var(--mint-600) 55%, #3f9a86);
  color: #fff;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::before {
  top: -140px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0) 70%
  );
}

.cta-band::after {
  bottom: -180px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(242, 162, 99, 0.28),
    rgba(242, 162, 99, 0) 70%
  );
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(46px, 5.4vw, 76px) 0;
}

.cta-inner h2 {
  font-size: clamp(24px, 3vw, 38px);
  color: #fff;
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: clamp(14.5px, 1.2vw, 17px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
}

.cta-band .btn--ghost {
  background: rgba(255, 255, 255, 0.94);
  border-color: transparent;
  color: var(--mint-800);
}

.cta-band .btn--ghost:hover {
  background: #fff;
}

/* ---------- 20. 背书条 ---------- */
.endorse {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--white), var(--mint-50));
  border: 1px solid rgba(106, 191, 170, 0.28);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .endorse {
    grid-template-columns: minmax(0, 1fr);
  }
}

.endorse-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand-200);
}

.endorse-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.endorse h3 {
  font-size: clamp(19px, 2vw, 26px);
  margin-bottom: 14px;
}

.endorse p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-600);
}

.endorse .link-arrow {
  margin-top: 20px;
}

/* ---------- 21. 权益 / 积分 ---------- */
.perk {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.perk:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.perk-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 16px;
  background: linear-gradient(140deg, #fdefe1, #fff8f1);
  color: var(--orange-600);
  border: 1px solid rgba(235, 135, 60, 0.26);
}

.perk-ico .icon {
  font-size: 24px;
}

.perk h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}

.perk p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ---------- 22. 商品卡 ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-200);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.product-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
}

.product-status--on {
  background: var(--mint-50);
  color: var(--mint-700);
  border: 1px solid var(--mint-100);
}

.product-status--soon {
  background: var(--sand-100);
  color: var(--ink-500);
  border: 1px solid var(--line);
}

.product-body h3 {
  font-size: 18px;
}

.product-body p {
  font-size: 14.4px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- 23. 图集 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.gallery figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand-200);
  box-shadow: var(--shadow-xs);
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

/* ---------- 24. 页脚 ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 52px);
  padding: clamp(48px, 5.4vw, 76px) 0 clamp(34px, 3.6vw, 48px);
}

@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-brand img {
  width: 108px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14.2px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
  max-width: 340px;
}

.footer-col h4 {
  font-size: 14.5px;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a,
.footer-col li {
  font-size: 14.2px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--mint-300);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact .icon {
  font-size: 16px;
  margin-top: 4px;
  flex: none;
  color: var(--mint-400);
}

.footer-contact strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0 30px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.46);
  text-align: center;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--mint-300);
}

.footer-legal img {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 620px) {
  .footer-legal {
    gap: 8px 12px;
  }
}

/* ---------- 25. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  color: var(--mint-700);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top .icon {
  font-size: 20px;
}

/* ---------- 26. 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 27. 打印 ---------- */
@media print {
  .site-header,
  .to-top,
  .hero-media,
  .film-stage,
  .cta-band {
    display: none !important;
  }
  body {
    background: #fff;
  }
}
