/* ============================================================
   净垢灵 JINGGOULING · 饮水机/咖啡机/蒸饭机除垢剂 — 品牌官网样式
   设计契约：brand-themed / fresh-aqua 清新洁净
   ============================================================ */

/* ---------- 设计 Token ---------- */
:root {
  /* 色板（≤3 主色族：青绿 primary / 暖橙 accent / 中性灰） */
  --c-primary: #0E7C6B;
  --c-primary-strong: #09584D;
  --c-primary-soft: #E4F3F0;
  --c-primary-ghost: #F0F8F6;

  --c-accent: #F0A435;
  --c-accent-soft: #FCF0DC;

  --c-bg: #F5FAF8;
  --c-surface: #FFFFFF;
  --c-border: #DCE8E4;
  --c-text: #142E2A;
  --c-text-sub: #5A726E;
  --c-text-invert: #FFFFFF;

  /* 字体 */
  --font-display: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, "Segoe UI", sans-serif;

  /* 字号阶梯 */
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-32: 32px;
  --fs-44: 44px;
  --fs-56: 56px;

  /* 圆角 / 阴影 / 间距 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 46, 42, .06);
  --shadow-md: 0 8px 24px rgba(20, 46, 42, .10);
  --shadow-lg: 0 20px 48px rgba(20, 46, 42, .16);

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --container: 1140px;
  --topbar-h: 72px;
  --notice-h: 40px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container--narrow { max-width: 820px; }

/* ---------- 企业内部使用公告弹窗 ---------- */
.notice-modal {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(8, 18, 16, .6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.notice-modal[hidden] { display: none; }
.notice-modal__card {
  width: 100%; max-width: 380px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  text-align: center;
  animation: noticePop .32s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes noticePop {
  from { transform: scale(.9) translateY(16px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.notice-modal__icon {
  width: 56px; height: 56px; margin: 0 auto var(--sp-4);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-primary-soft); color: var(--c-primary);
  font-size: 26px;
}
.notice-modal__title {
  font-family: var(--font-display);
  font-size: var(--fs-20); font-weight: 700;
  color: var(--c-text); margin-bottom: var(--sp-2);
}
.notice-modal__msg {
  font-size: var(--fs-14); color: var(--c-text-sub);
  line-height: 1.7; margin-bottom: var(--sp-6);
}
.notice-modal__btn {
  width: 100%; padding: 13px;
  border-radius: var(--r-pill);
  background: var(--c-primary); color: #fff;
  font-size: var(--fs-14); font-weight: 600;
  transition: background .2s, transform .18s;
}
.notice-modal__btn:hover { background: var(--c-primary-strong); }
.notice-modal__btn:active { transform: translateY(1px); }

/* ---------- 维护模式弹窗（游戏风格） ---------- */
.mtg-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(8, 12, 20, .82);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: mtgFadeIn .3s ease;
}
.mtg-overlay[hidden] { display: none; }
@keyframes mtgFadeIn { from { opacity: 0; } to { opacity: 1; } }

.mtg-card {
  position: relative; width: 100%; max-width: 420px;
  background: linear-gradient(160deg, #1a1520 0%, #2a1f30 50%, #1e1828 100%);
  border: 2px solid rgba(255, 179, 71, .35);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,179,71,.08), 0 20px 60px rgba(0,0,0,.5), 0 0 80px rgba(255,107,53,.15);
  overflow: hidden;
  animation: mtgPop .4s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes mtgPop {
  from { transform: scale(.8) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.mtg-card__glow {
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, #FFB347, #FF6B35, #FFD700);
  border-radius: 16px; filter: blur(14px); opacity: .12; z-index: -1;
}
.mtg-header {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 20px 12px;
  background: linear-gradient(180deg, rgba(255,107,53,.1), transparent);
  border-bottom: 1px solid rgba(255,179,71,.12);
}
.mtg-header__deco { color: #FFB347; font-size: 10px; opacity: .5; }
.mtg-icon { font-size: 24px; }
.mtg-title {
  margin: 0; font-size: 18px; font-weight: 700;
  color: #FFD700; letter-spacing: 1px;
  text-shadow: 0 1px 8px rgba(255,215,0,.25);
}
.mtg-body { padding: 16px 20px; text-align: center; }
.mtg-window {
  display: inline-block; padding: 6px 16px; margin-bottom: 12px;
  background: rgba(255,107,53,.12);
  border: 1px solid rgba(255,179,71,.2);
  border-radius: 20px; color: #FFB347; font-size: 13px; font-weight: 600;
}
.mtg-msg { margin: 0; font-size: 14px; line-height: 1.7; color: #d0c8d8; }
.mtg-btn {
  display: block; width: calc(100% - 40px); margin: 16px 20px 20px;
  padding: 12px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, #FF6B35, #FFB347);
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 2px;
  cursor: pointer; transition: all .25s;
  box-shadow: 0 4px 16px rgba(255,107,53,.35);
}
.mtg-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,107,53,.5); }
.mtg-btn:active { transform: translateY(0); }
@media (max-width: 600px) {
  .mtg-card { max-width: 340px; }
  .mtg-title { font-size: 16px; }
  .mtg-msg { font-size: 13px; }
}

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  background: rgba(245, 250, 248, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.topbar__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-6);
}
.brand { display: inline-flex; align-items: center; gap: var(--sp-2); }
.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-strong));
  color: #fff;
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-display); font-size: var(--fs-20); letter-spacing: .02em; }
.brand__text em { font-style: normal; font-size: 10px; letter-spacing: .28em; color: var(--c-text-sub); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: var(--sp-6); margin: 0 auto; }
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-sub);
  padding: var(--sp-2) 0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--c-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav a:hover { color: var(--c-text); }
.nav a.active { color: var(--c-primary); }
.nav a.active::after { transform: scaleX(1); }

.topbar__actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-md); place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* 刷新按钮（手机端浮动显示） */
.btn-refresh {
  display: none; width: 40px; height: 40px; border-radius: var(--r-md);
  place-items: center; border: 1px solid rgba(43,184,159,.3); background: rgba(43,184,159,.08);
  color: var(--c-primary); cursor: pointer; transition: background .18s, transform .18s;
}
.btn-refresh svg { width: 20px; height: 20px; }
.btn-refresh:active { transform: rotate(180deg); transition: transform .4s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-14); font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--lg { padding: 14px 28px; font-size: var(--fs-16); }
.btn--lg svg { width: 18px; height: 18px; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--c-primary-strong); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { color: var(--c-primary); border: 1.5px solid var(--c-primary); background: transparent; }
.btn--ghost:hover { background: var(--c-primary-soft); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--c-primary-strong); box-shadow: var(--shadow-md); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost.btn--light { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.btn--ghost.btn--light:hover { background: rgba(255,255,255,.15); }
.btn:focus-visible, .nav a:focus-visible, .support__close:focus-visible, .support__switch:focus-visible {
  outline: 3px solid rgba(14, 124, 107, .35); outline-offset: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--sp-9) 0 var(--sp-8);
  background:
    radial-gradient(900px 620px at 85% -10%, rgba(14,124,107,.14), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(240,164,53,.12), transparent 55%),
    var(--c-bg);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-8); align-items: center; }
.hero__eyebrow { margin-bottom: var(--sp-5); }
.pill {
  display: inline-block; font-size: var(--fs-14); font-weight: 600;
  color: var(--c-primary-strong); background: var(--c-primary-soft);
  padding: 6px 14px; border-radius: var(--r-pill);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.2vw, var(--fs-56));
  line-height: 1.15; letter-spacing: -.01em;
  margin-bottom: var(--sp-5);
}
.hero__title .accent { color: var(--c-primary); position: relative; }
.hero__title .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: var(--c-accent-soft); z-index: -1; border-radius: 4px;
}
.hero__sub { font-size: var(--fs-18); color: var(--c-text-sub); max-width: 520px; margin-bottom: var(--sp-6); }
.hero__cta { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.hero__trust li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); color: var(--c-text-sub); }
.hero__trust svg { width: 16px; height: 16px; color: var(--c-primary); flex: none; }

/* Hero 产品视觉（CSS/SVG 插画） */
.hero__visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.hero__bottle { position: relative; width: 240px; }
.bottle__cap {
  width: 72px; height: 34px; margin: 0 auto; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #14796a, #0c5f52);
  box-shadow: var(--shadow-md);
}
.bottle__neck {
  width: 100px; height: 40px; margin: 0 auto;
  background: linear-gradient(180deg, #10a08b, #0e7c6b);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
}
.bottle__body {
  width: 220px; margin: -4px auto 0; padding: 44px 26px 38px;
  border-radius: 30px 30px 46px 46px;
  background: linear-gradient(165deg, #ffffff 0%, #eaf7f4 48%, #d3efe9 100%);
  border: 1px solid rgba(14,124,107,.16);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  position: relative;
}
.bottle__body::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255,255,255,.7) 0%, transparent 40%),
    repeating-linear-gradient(180deg, rgba(14,124,107,.05) 0 2px, transparent 2px 22px);
  mix-blend-mode: multiply;
}
.bottle__brand { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-24); color: var(--c-primary-strong); letter-spacing: .1em; }
.bottle__name { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 700; color: var(--c-text); line-height: 1.3; }
.bottle__tag { font-size: var(--fs-12); color: var(--c-text-sub); letter-spacing: .06em; }

.bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(14,124,107,.25)); box-shadow: inset -2px -3px 6px rgba(14,124,107,.15); }
.bubble--1 { width: 22px; height: 22px; top: 8%; right: 18%; animation: float 5s ease-in-out infinite; }
.bubble--2 { width: 14px; height: 14px; top: 22%; right: 6%; animation: float 4s .6s ease-in-out infinite; }
.bubble--3 { width: 10px; height: 10px; top: 40%; left: 4%; animation: float 6s 1.1s ease-in-out infinite; }
.bubble--4 { width: 18px; height: 18px; bottom: 16%; left: 10%; animation: float 5s .3s ease-in-out infinite; }
.bubble--5 { width: 8px; height: 8px; bottom: 8%; right: 30%; animation: float 4.5s .9s ease-in-out infinite; }

.hero__badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 14px 18px; box-shadow: var(--shadow-md);
}
.hero__badge svg { width: 26px; height: 26px; color: var(--c-primary); flex: none; }
.hero__badge strong { display: block; font-family: var(--font-display); font-size: var(--fs-16); }
.hero__badge span { font-size: var(--fs-12); color: var(--c-text-sub); }
.hero__badge--l { bottom: 16%; left: 0; animation: float 6s ease-in-out infinite; }
.hero__badge--r { top: 12%; right: 0; animation: float 7s .5s ease-in-out infinite; }

.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 70px; }
.hero__wave::before, .hero__wave::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: var(--c-bg);
}
.hero__wave::before { border-radius: 100% 0 0 0; transform: translateY(20px); }
.hero__wave::after { border-radius: 0 100% 0 0; transform: translateY(20px); }

/* ---------- 通用 Section ---------- */
.section { padding: var(--sp-8) 0; }
.section--tint { background: linear-gradient(180deg, #fff, var(--c-primary-ghost)); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto var(--sp-7); }
.kicker {
  font-size: var(--fs-14); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: var(--sp-3);
}
.kicker--light { color: var(--c-accent-soft); }
.section__head h2, .cta h2, .safety__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, var(--fs-32)); line-height: 1.25; letter-spacing: -.01em;
  margin-bottom: var(--sp-3);
}
.section__desc { font-size: var(--fs-16); color: var(--c-text-sub); }

.grid { display: grid; gap: var(--sp-5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 卡片 */
.card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(14,124,107,.3); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--c-primary-soft); color: var(--c-primary); margin-bottom: var(--sp-4);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-display); font-size: var(--fs-20); margin-bottom: var(--sp-2); }
.card p { font-size: var(--fs-14); color: var(--c-text-sub); }

/* 使用步骤 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }
.step { text-align: center; position: relative; padding: var(--sp-5) var(--sp-3); }
.step__num {
  width: 64px; height: 64px; margin: 0 auto var(--sp-4); border-radius: var(--r-pill);
  display: grid; place-items: center; font-family: var(--font-display); font-size: var(--fs-24); font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-strong));
  box-shadow: var(--shadow-md);
}
.step h3 { font-family: var(--font-display); font-size: var(--fs-20); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-14); color: var(--c-text-sub); }

/* 成分与安全 */
.safety__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--sp-8); align-items: center; }
.cert-list { margin: var(--sp-5) 0 var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.cert-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cert-list svg { width: 20px; height: 20px; color: var(--c-primary); flex: none; }

.safety__panel {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4);
}
.ingredient { display: flex; gap: 12px; align-items: flex-start; }
.ingredient__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); margin-top: 6px; flex: none; }
.ingredient strong { display: block; font-size: 15px; }
.ingredient span { font-size: 13px; color: var(--c-text-sub); }

/* FAQ 手风琴 */
.faq { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq__item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); font-family: var(--font-display); font-size: var(--fs-16); font-weight: 600;
  text-align: left; transition: background .2s;
}
.faq__q:hover { background: var(--c-primary-ghost); }
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--c-text-sub); transition: transform .25s; }
.faq__item.open .faq__q svg { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 var(--sp-5) var(--sp-4); font-size: var(--fs-14); color: var(--c-text-sub); }

/* CTA */
.cta {
  padding: var(--sp-8) 0;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(240,164,53,.18), transparent 55%),
    linear-gradient(135deg, #0a6f60, #09584d);
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-7); flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: var(--sp-2); }
.cta p { color: rgba(255,255,255,.85); }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
.cta__price { display: flex; align-items: baseline; gap: 10px; }
.cta__price-now { font-family: var(--font-display); font-size: var(--fs-44); font-weight: 800; color: #fff; }
.cta__price-old { font-size: var(--fs-16); color: rgba(255,255,255,.55); text-decoration: line-through; }
.cta__price-tag { font-size: var(--fs-12); font-weight: 700; color: var(--c-accent); background: var(--c-accent-soft); padding: 4px 10px; border-radius: var(--r-pill); }
.cta__btns { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* Footer */
.footer { background: #0f2420; color: rgba(255,255,255,.78); padding: var(--sp-7) 0 var(--sp-5); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-6); padding-bottom: var(--sp-6); border-bottom: 1px solid rgba(255,255,255,.12); }
.brand--light .brand__text em { color: rgba(255,255,255,.55); }
.brand--light .brand__text strong { color: #fff; }
.footer__brand p { margin-top: var(--sp-3); font-size: var(--fs-14); max-width: 260px; }
.footer__col h4 { color: #fff; font-family: var(--font-display); font-size: var(--fs-16); margin-bottom: var(--sp-4); }
.footer__col a, .footer__col p { display: block; font-size: var(--fs-14); margin-bottom: var(--sp-3); color: rgba(255,255,255,.7); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__col .btn { margin-top: var(--sp-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: var(--sp-4); padding-top: var(--sp-5); font-size: var(--fs-12); color: rgba(255,255,255,.45); flex-wrap: wrap; }

/* ---------- 产品线选择器（购买区） ---------- */
.pline { display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-start; }
.pline__label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: .02em; }
.pline__options { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.pline__opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px; border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,.35); color: #fff; background: transparent;
  font-size: var(--fs-14); font-weight: 600; transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.pline__opt:hover { border-color: rgba(255,255,255,.75); transform: translateY(-1px); }
.pline__opt.active { background: var(--c-accent); border-color: var(--c-accent); color: #3a2a08; }

/* ---------- 在线客服面板（购买区下方展开） ---------- */
.support { display: none; margin-top: var(--sp-6); }
.support.open { display: block; animation: pop .25s ease; }
.support__card {
  max-width: 720px; margin: 0 auto; background: var(--c-surface);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; text-align: left;
}
.support__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); background: linear-gradient(135deg, var(--c-primary), var(--c-primary-strong)); color: #fff; }
.support__agent { display: flex; align-items: center; gap: 12px; min-width: 0; }
.support__avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.support__avatar svg { width: 22px; height: 22px; }
.support__agent strong { display: block; font-size: var(--fs-16); }
.support__status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; opacity: .9; }
.support__status i { width: 8px; height: 8px; border-radius: 50%; background: #7ff0b0; }
.support__head-actions { display: flex; align-items: center; gap: var(--sp-2); flex: none; }
.support__switch { font-size: 13px; padding: 7px 14px; background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.support__switch:hover { background: rgba(255,255,255,.28); }
.support__switch:disabled { opacity: .5; cursor: not-allowed; }
.support__switch--end { background: #d5473e; border-color: #d5473e; }
.support__switch--end:hover { background: #c03a32; }
.support__close { width: 34px; height: 34px; border-radius: var(--r-md); display: grid; place-items: center; color: #fff; flex: none; }
.support__close:hover { background: rgba(255,255,255,.16); }
.support__close svg { width: 20px; height: 20px; }

.support__body { height: 360px; overflow-y: auto; padding: var(--sp-4); display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.support__sync { align-self: center; font-size: 12px; color: var(--c-text-sub); background: var(--c-primary-ghost); border-radius: var(--r-pill); padding: 4px 12px; }

.msg { max-width: 82%; padding: 10px 14px; border-radius: var(--r-md); font-size: var(--fs-14); line-height: 1.55; animation: msg-in .25s ease; }
.msg--bot { align-self: flex-start; background: var(--c-primary-ghost); border: 1px solid var(--c-border); border-top-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--c-primary); color: #fff; border-top-right-radius: 4px; }
.msg--sys { align-self: center; font-size: var(--fs-12); color: var(--c-text-sub); text-align: center; }
.msg--typing { align-self: flex-start; display: inline-flex; gap: 4px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-text-sub); animation: blink 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .2s; }
.msg--typing i:nth-child(3) { animation-delay: .4s; }

.support__quick { display: flex; gap: var(--sp-2); padding: 0 var(--sp-4) var(--sp-3); flex-wrap: wrap; }
.quick-btn { font-size: 13px; color: var(--c-primary); background: var(--c-primary-soft); padding: 6px 12px; border-radius: var(--r-pill); transition: background .2s; }
.quick-btn:hover { background: var(--c-primary); color: #fff; }

/* 非服务时间留言表单 */
.support__leave { padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--c-border); }
.support__leave-tip { font-size: 13px; color: var(--c-text-sub); margin-bottom: 12px; line-height: 1.6; }
.support__leave-form { display: flex; flex-direction: column; gap: 10px; }
.support__leave-form input,
.support__leave-form textarea {
  width: 100%; border: 1px solid var(--c-border); border-radius: var(--r-pill); padding: 10px 16px;
  font-size: var(--fs-14); outline: none; transition: border-color .2s; background: var(--c-surface); color: var(--c-text);
  font-family: inherit;
}
.support__leave-form textarea { border-radius: 12px; resize: none; }
.support__leave-form input:focus,
.support__leave-form textarea:focus { border-color: var(--c-primary); }
.support__leave-form button { width: 100%; padding: 12px; }

.support__input { display: flex; gap: var(--sp-2); padding: var(--sp-3); border-top: 1px solid var(--c-border); }
.support__input input { flex: 1; border: 1px solid var(--c-border); border-radius: var(--r-pill); padding: 11px 16px; font-size: var(--fs-14); outline: none; transition: border-color .2s; }
.support__input input:focus { border-color: var(--c-primary); }
.support__input button { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; transition: background .2s; }
.support__input button:hover { background: var(--c-primary-strong); }
.support__input button svg { width: 20px; height: 20px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px);
  background: var(--c-text); color: #fff; padding: 12px 22px; border-radius: var(--r-pill);
  font-size: var(--fs-14); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 动效 ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: reveal .6s cubic-bezier(.22,.61,.36,1) forwards; }
.reveal:nth-child(2) { animation-delay: .12s; }
.reveal:nth-child(3) { animation-delay: .24s; }
.reveal:nth-child(4) { animation-delay: .36s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: var(--sp-6); }
}
@media (max-width: 860px) {
  /* 顶部导航菜单 */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-surface); border-bottom: 1px solid var(--c-border);
    padding: var(--sp-2) var(--sp-5) var(--sp-4); margin: 0;
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease; z-index: 60;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav a { padding: var(--sp-3) var(--sp-1); border-bottom: 1px solid var(--c-border); font-size: var(--fs-16); }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: grid; }
  .topbar__actions .btn--ghost { display: none; }
  .btn-refresh { display: grid; }

  /* 整体留白与标题 */
  .section { padding: var(--sp-7) 0; }
  .section__head { margin-bottom: var(--sp-6); }
  .section__head h2, .safety__copy h2 { font-size: clamp(24px, 7vw, 30px); }

  /* Hero：标题在上，产品视觉在下 */
  .hero { padding: var(--sp-6) 0 var(--sp-7); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero__title { font-size: clamp(30px, 8.2vw, 40px); }
  .hero__sub { font-size: var(--fs-16); margin-bottom: var(--sp-5); }
  .hero__visual { min-height: 280px; }
  .hero__bottle { width: 180px; }
  .hero__badge { padding: 10px 14px; }
  .hero__badge svg { width: 22px; height: 22px; }
  .hero__trust { gap: var(--sp-3) var(--sp-5); }

  /* 产品线（3款）——图标在左的横向卡片 */
  .grid--3 { grid-template-columns: 1fr; gap: var(--sp-4); }
  .grid--3 .card {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-areas: "icon title" "icon desc";
    column-gap: var(--sp-4); row-gap: var(--sp-1);
    align-items: start; text-align: left; padding: var(--sp-5);
  }
  .grid--3 .card__icon { grid-area: icon; margin-bottom: 0; width: 48px; height: 48px; }
  .grid--3 .card h3 { grid-area: title; margin-bottom: 0; }
  .grid--3 .card p { grid-area: desc; }

  /* 产品亮点（4个）——2列卡片 */
  .grid--4 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .grid--4 .card { padding: var(--sp-5); }
  .grid--4 .card h3 { font-size: var(--fs-18); }

  /* 使用方法——竖向时间线 */
  .steps { grid-template-columns: 1fr; gap: 0; position: relative; }
  .steps::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--c-border); }
  .step { text-align: left; position: relative; padding: 0 0 var(--sp-5) var(--sp-8); }
  .step:last-child { padding-bottom: var(--sp-1); }
  .step__num { position: absolute; left: 0; top: 0; width: 56px; height: 56px; margin: 0; font-size: var(--fs-20); }
  .step h3 { margin-bottom: var(--sp-1); }

  /* 成分与安全 */
  .safety__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .safety__panel { grid-template-columns: repeat(2, 1fr); padding: var(--sp-5); }

  /* 常见问题 */
  .faq__q { font-size: var(--fs-15); padding: var(--sp-4); }

  /* CTA */
  .cta { padding: var(--sp-7) 0; }
  .cta__inner { flex-direction: column; align-items: stretch; gap: var(--sp-5); }
  .cta__copy { text-align: left; }
  .cta__actions { align-items: stretch; }
  .pline__options { flex-direction: column; align-items: stretch; width: 100%; }
  .pline__opt { justify-content: center; padding: 12px 16px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}
/* ---------- 手机端：客服面板全屏沉浸式聊天 ---------- */
@media (max-width: 560px) {
  .support {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    z-index: 150; margin: 0; max-width: none; padding: 0;
    background: var(--c-bg);
  }
  .support.open { display: flex; }
  .support__card {
    max-width: none; width: 100%; height: 100%;
    border-radius: 0; box-shadow: none;
  }
  .support__head { padding: calc(env(safe-area-inset-top) + 12px) 14px 12px; gap: 8px; }
  .support__head-actions { gap: 6px; }
  .support__switch { padding: 7px 10px; font-size: 12px; }
  .support__body { flex: 1 1 auto; height: auto; padding: 14px; }
  .support__quick { padding: 0 14px 8px; }
  .support__input { padding: 10px 12px calc(env(safe-area-inset-bottom) + 12px); }
  .msg { max-width: 88%; }
  .no-scroll { overflow: hidden; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
  .cta__btns { width: 100%; }
  .cta__btns .btn { flex: 1; }
  html { padding-top: env(safe-area-inset-top); }
}