/* =====================================================================
   Thundem (象鼎) — shared stylesheet
   Mirrors product-showcase React design system (Tailwind tokens below).
   Consumed by static site AND WordPress theme (style.css mirrors this).
   Dark is default per brand rule.
   Brand tokens:
     brand.DEFAULT #1a5c2e | brand.mid #2f7d4f | accent/glow #2e8b4f
     hero-eyebrow #6fe0a3 | NEVER red | white text on green buttons
   ===================================================================== */

/* ---- Tokens ---------------------------------------------------------- */
:root,
.theme-dark {
  --bg: #070b09;
  --surface: #101813;
  --surface-2: #161f1a;
  --text: #e7efe9;
  --text-main: #e7efe9;
  --text-muted: #9fb3a6;
  --text-soft: #9fb3a6;
  --brand: #1a5c2e;
  --brand-mid: #2f7d4f;
  --brand-dark: #123f22;
  --brand-deep: #0a2614;
  --accent: #2e8b4f;
  --glow: #6fe0a3;
  --bronze: #c89f5e;
  --amber: #f0b84f;
  --soft: rgba(255, 255, 255, 0.09);
  --soft-strong: rgba(255, 255, 255, 0.16);
  --border: rgba(255, 255, 255, 0.12);
  --radius: 20px;
  --glass: rgba(16, 24, 19, 0.45);
  --glass-border: rgba(111, 224, 163, 0.18);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  --hero-1: #0b110d;
  --hero-2: #101813;
}

.theme-light {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef2ef;
  --text: #0e1712;
  --text-main: #0e1712;
  --text-muted: #4a5a52;
  --text-soft: #4a5a52;
  --brand: #1a5c2e;
  --brand-mid: #2f7d4f;
  --brand-dark: #123f22;
  --brand-deep: #0a2614;
  --accent: #2e8b4f;
  --glow: #15803d;
  --bronze: #a67c2e;
  --amber: #d4982a;
  --soft: rgba(0, 0, 0, 0.09);
  --soft-strong: rgba(0, 0, 0, 0.16);
  --border: rgba(0, 0, 0, 0.12);
  --radius: 20px;
  --glass: rgba(255, 255, 255, 0.50);
  --glass-border: rgba(26, 92, 46, 0.18);
  --shadow: 0 24px 60px -30px rgba(20, 50, 30, 0.35);
  --hero-1: #eef3f0;
  --hero-2: #ffffff;
}

/* ---- Reset ----------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", "Noto Sans Symbols 2", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.font-display { font-family: "Archivo", "PingFang SC", "Microsoft YaHei", "Noto Sans Symbols 2", system-ui, sans-serif; }

/* ---- Layout ---------------------------------------------------------- */
.container-x { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 22px; }
.text-main { color: var(--text); }
.text-muted { color: var(--text-muted); }
.surface { background: var(--surface); }
.surface-2 { background: var(--surface-2); }
.border-soft { border: 1px solid var(--soft); }

/* ---- Eyebrow / kicker ------------------------------------------------ */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--glow);
  font-weight: 600;
}
.hero-eyebrow { color: var(--glow); }

/* ---- Buttons --------------------------------------------------------- */
.btn-brand {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand));
  color: #fff; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; border: 0;
  position: relative; overflow: hidden;
  box-shadow: 0 10px 30px -12px rgba(26, 92, 46, .7);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-brand:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-brand::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: shimmer 3.4s infinite;
}
@keyframes shimmer { 0% { left: -120%; } 55%, 100% { left: 140%; } }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: transparent; color: var(--text);
  border: 1px solid var(--soft-strong);
  padding: 13px 26px; border-radius: 999px; font-weight: 600;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--glow); }

/* ---- Light Field v4 ---------------------------------------------------------
   v3 = "outer halo" (box-shadow + ::before inset:-10px). User said the green
        "立即获取报价" button (which is .btn-brand) was glowing too much.
   v4 = SHIFT split:
     • .btn-brand (green primary pill, e.g. "立即获取报价") → INSIDE light streak
       (ColorOS-style shine sweep, mix-blend-mode:screen, NO outer halo).
     • .nav-cta / .hero-cta-primary / .xsm-cta-primary (non-green) → keep a
       softer version of v3 outer ring (halo tightened to -4px inset, 16/20
       shadow, no translateY).
   The shine sweep is a moving linear-gradient band driven by @keyframes,
   not a mouse-tracking spotlight, so it works on touch devices too. */

/* --- A. Green primary pill (.btn-brand) — INSIDE light streak --- */
.btn-brand {
  position: relative;
  overflow: hidden;            /* clip the shine to the pill body */
  isolation: isolate;
  --lf-sheen: rgba(255, 255, 255, .55);
  --lf-sheen-edge: rgba(255, 255, 255, 0);
  /* base shadow: only a tiny depth shadow, NO halo ring */
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn-brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn-brand:active { transform: translateY(0); }
/* Static subtle inner sheen (top highlight) — gives the pill depth */
.btn-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .18) 0%,
    rgba(255, 255, 255, 0) 45%,
    rgba(0, 0, 0, .08) 100%);
  mix-blend-mode: screen;
  z-index: 0;
}
/* Animated shine band — sweeps left → right on a 3.4s loop.
   Wider than the button so it really crosses the full width.
   Stays inside the button because of overflow:hidden above. */
.btn-brand::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(100deg,
    var(--lf-sheen-edge) 0%,
    var(--lf-sheen-edge) 30%,
    var(--lf-sheen) 50%,
    var(--lf-sheen-edge) 70%,
    var(--lf-sheen-edge) 100%);
  mix-blend-mode: screen;
  z-index: 0;
  animation: lf-sheen 3.4s cubic-bezier(.4, 0, .2, 1) infinite;
}
.btn-brand:hover::after {
  animation-duration: 1.6s;     /* speed up on hover for tactile feedback */
}
@keyframes lf-sheen {
  0%   { left: -120%; }
  60%  { left: 120%; }
  100% { left: 120%; }          /* pause off-screen for ~40% of the loop */
}

/* --- B. Non-green CTAs (nav / hero / xsm) — softer outer ring (v3 slim) --- */
.nav .nav-cta, a.nav-cta, .nav-actions .nav-cta,
.hero-cta-primary, .xsm-cta-primary {
  position: relative;
  overflow: visible;
  isolation: isolate;
  --lf: var(--accent);
  --lf-halo: color-mix(in srgb, var(--accent) 40%, transparent);
  --mx: 50%;
  --my: 50%;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--lf) 18%, transparent),
    0 4px 14px -8px var(--lf-halo),
    0 0 16px -6px var(--lf-halo);
  transition: box-shadow .35s ease;
}
.nav .nav-cta:hover, a.nav-cta:hover, .nav-actions .nav-cta:hover,
.hero-cta-primary:hover, .xsm-cta-primary:hover {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--lf) 35%, transparent),
    0 6px 18px -6px var(--lf-halo),
    0 0 22px -4px var(--lf-halo);
}
.nav .nav-cta::before, a.nav-cta::before, .nav-actions .nav-cta::before,
.hero-cta-primary::before, .xsm-cta-primary::before {
  content: "";
  position: absolute;
  inset: -4px;                /* tightened from -10px → -4px (less halo) */
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle 60px at var(--mx) var(--my),
    color-mix(in srgb, var(--lf) 35%, transparent) 0%,
    color-mix(in srgb, var(--lf) 14%, transparent) 45%,
    transparent 72%);
  opacity: .35;
  transition: opacity .35s ease;
}
.nav .nav-cta:hover::before, a.nav-cta:hover::before, .nav-actions .nav-cta:hover::before,
.hero-cta-primary:hover::before, .xsm-cta-primary:hover::before { opacity: .8; }

.lf-ripple {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
.lf-ripple::before {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--ripple-c) 0%, transparent 65%);
  animation: lf-fill .5s ease-out forwards;
}
.lf-ripple::after {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--ripple-c);
  animation: lf-ring .65s ease-out forwards;
}
@keyframes lf-fill {
  0% { transform: scale(0); opacity: .7; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes lf-ring {
  0% { transform: scale(.3); opacity: .9; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-brand { transition: none; }
  .btn-brand::after { animation: none; opacity: 0; }
  .nav .nav-cta, a.nav-cta, .nav-actions .nav-cta,
  .hero-cta-primary, .xsm-cta-primary { transition: none; }
  .nav .nav-cta::before, a.nav-cta::before, .nav-actions .nav-cta::before,
  .hero-cta-primary::before, .xsm-cta-primary::before { opacity: .25; }
  .lf-ripple { display: none; }
}

/* ---- Nav (glass capsule) -------------------------------------------- */
.nav-wrap { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%;
  padding: 10px clamp(28px, 4vw, 48px);
  background: rgba(16, 24, 19, 0.92);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: relative;
}
.nav::before { display: none; }
.nav::after {
  display: none;
}
.nav .brand-mark { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.nav .brand-mark .logo {
  width: 28px; height: 28px; flex: none; display: block;
}
.nav .brand-mark .logo svg { width: 100%; height: 100%; display: block; }
.brand .logo { width: 28px; height: 28px; flex: none; display: block; }
.brand .logo svg { width: 100%; height: 100%; display: block; }
/* Logo 图片（来自「Thundem 媒体管理」）— 容器自适应宽度，图片高度与文字标识一致 */
.logo:has(img.logo-img) { width: auto; height: auto; min-width: 28px; min-height: 28px; }
.logo img.logo-img { width: auto; height: 28px; max-width: 160px; display: block; object-fit: contain; }
.nav .brand-mark .cn { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.nav .brand-mark { font-family: "Archivo", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text-muted);
  transition: color .2s ease, background .2s ease; white-space: nowrap;
}
.nav-link:hover, .nav-item.active > .nav-link, .nav-link.active { color: var(--text); background: var(--soft); }
.caret {
  width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; margin-left: 1px; flex: none;
}
.nav-item { position: relative; }
.nav-item.has-sub:hover .caret,
.nav-item.has-sub:focus-within .caret { transform: rotate(-135deg) translateY(0); }
/* 桌面端二级下拉：玻璃卡片，悬浮/键盘聚焦展开 */
.nav-drop {
  position: absolute; top: 100%; left: 0; margin-top: 12px;
  min-width: 234px; padding: 8px;
  background: var(--surface); border: 1px solid var(--soft-strong); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.42);
  display: none; flex-direction: column; gap: 2px; z-index: 200;
}
/* 透明桥接：填补链接与面板间的 12px 间隙，避免悬浮中断 */
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.has-sub:hover .nav-drop,
.nav-item.has-sub:focus-within .nav-drop { display: flex; }
.nav-sub-link {
  padding: 10px 14px; border-radius: 12px; color: var(--text-muted); font-size: 14px;
  transition: background .18s ease, color .18s ease; white-space: nowrap;
}
.nav-sub-link:hover, .nav-sub-link.active { background: var(--soft); color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--soft);
  background: transparent; color: var(--text); display: grid; place-items: center;
  transition: border-color .2s ease, color .2s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--glow); }
/* ── Region·Language Unified Dropdown（悬停弹出二级菜单） ─── */
.region-lang { position: relative; display: inline-flex; }
.region-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--soft); background: transparent;
  color: var(--text); font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: all .22s ease;
}
.region-trigger:hover {
  border-color: var(--accent); color: var(--glow);
  background: rgba(46,139,79,.06);
}
.region-trigger .globe {
  width: 15px; height: 15px; flex-shrink: 0;
  color: var(--brand); opacity: .8;
  transition: color .2s ease, opacity .2s ease;
}
.region-trigger:hover .globe { color: var(--glow); opacity: 1; }
.region-label { line-height: 1; letter-spacing: .02em; }
.region-arrow {
  display: inline-block; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .25s ease;
  margin-left: 1px; flex-shrink: 0;
}
.region-lang[aria-expanded="true"] .region-arrow,
.region-trigger:hover .region-arrow { transform: rotate(-135deg) translateY(0); }

/* Dropdown panel */
.region-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--soft-strong);
  border-radius: 18px; padding: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,.38);
  display: none; z-index: 200; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .2s ease, transform .22s ease, visibility 0s .2s;
  visibility: hidden;
}
.region-dropdown.open {
  display: flex; opacity: 1; transform: translateY(0);
  visibility: visible; transition: opacity .22s ease, transform .25s ease, visibility 0s 0s;
}

/* Cross-site link item */
.rd-cross {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 11px 14px; border-radius: 12px;
  text-decoration: none; color: var(--text-muted);
  font-size: 14px; font-weight: 500; transition: all .18s ease;
}
.rd-cross svg { flex-shrink: 0; opacity: .65; transition: opacity .18s; }
.rd-cross:hover { background: var(--soft); color: var(--text); }
.rd-cross:hover svg { opacity: 1; }

.rd-divider {
  height: 1px; background: var(--soft); margin: 4px 10px; flex-shrink: 0;
}

/* Language section header */
.rd-lang-head {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); padding: 4px 14px 8px;
  flex-shrink: 0;
}

/* Language buttons inside dropdown (reuse .lang-menu button base) */
.region-dropdown button {
  display: flex; width: 100%; text-align: left; align-items: center; justify-content: space-between;
  background: transparent; border: 0; color: var(--text-muted);
  padding: 11px 14px; border-radius: 12px; font-size: 15px; transition: background .18s ease, color .18s ease;
}
.region-dropdown button:hover { background: var(--soft); color: var(--text); }
.region-dropdown button.active { background: rgba(46,139,79,.12); color: var(--brand); font-weight: 600; }
.lang-label { text-align: left; }
.lang-check { color: var(--brand); font-weight: 600; font-size: 16px; flex-shrink: 0; }
.hamburger { display: none; }
.quote-cta { background: linear-gradient(135deg, var(--brand-mid), var(--brand)); color: #fff;
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 0; }

/* ── Mobile Region·Language Panel（参考腾讯云移动端：点击行展开） ── */
.mm-region-lang { margin-bottom: 10px; }
.mm-region-trigger {
  display: flex; align-items: center; gap: 8px;
  width: 100%; height: 46px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--soft);
  background: transparent; color: var(--text); font-size: 14px;
  font-weight: 600; cursor: pointer; transition: all .2s ease;
}
.mm-region-trigger:hover { background: var(--soft); }
.mm-region-label { flex: 1; text-align: left; line-height: 1; }
.mm-region-caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .25s ease; flex-shrink: 0;
}
.mm-region-lang[aria-expanded="true"] .mm-region-caret,
.mm-region-trigger:hover .mm-region-caret { transform: rotate(-135deg) translateY(0); }

.mm-region-body {
  display: none; padding: 6px 4px 2px; flex-direction: column; gap: 2px;
}
.mm-region-body.open { display: flex; animation: mmSlideDown .22s ease; }
@keyframes mmSlideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Cross-site link in mobile */
.mm-cross-site {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  border-radius: 12px; text-decoration: none; color: var(--text-muted);
  font-size: 14px; font-weight: 500; transition: background .18s, color .18s;
}
.mm-cross-site svg { flex-shrink: 0; opacity: .65; }
.mm-cross-site:hover { background: var(--soft); color: var(--text); }

/* Language buttons inside mobile panel (reuse base style) */
.mm-region-body button {
  display: flex; width: 100%; text-align: left; align-items: center; justify-content: space-between;
  background: transparent; border: 0; color: var(--text-muted);
  padding: 11px 14px; border-radius: 12px; font-size: 15px; transition: background .18s ease, color .18s ease;
}
.mm-region-body button:hover { background: var(--soft); color: var(--text); }
.mm-region-body button.active { background: rgba(46,139,79,.12); color: var(--brand); font-weight: 600; }

/* ---- Light Mode Nav Override（修复亮色导航对比度不足） ---- */
.theme-light .nav {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.theme-light .nav-link { color: #2d3b34; font-weight: 500; }
.theme-light .nav-link:hover,
.theme-light .nav-item.active > .nav-link,
.theme-light .nav-link.active { color: var(--brand); background: rgba(26, 92, 46, .07); }
.theme-light .brand-mark { color: #1a2e24; }
.theme-light .brand-mark .cn { color: #6a7c72; }
.theme-light .caret { border-color: #5a6e64; }
.theme-light .icon-btn { color: #3a4d42; border-color: rgba(0,0,0,.10); }
.theme-light .icon-btn:hover { color: var(--brand); border-color: var(--accent); }
.theme-light .region-trigger { color: #3a4d42; border-color: rgba(0,0,0,.10); }
.theme-light .region-trigger:hover { color: #1a5c2e; border-color: rgba(26,92,46,.35); }
.theme-light .region-arrow { border-color: #5a6e64; }
.theme-light .region-trigger .globe { color: #2e8b57; }

/* ---- Hero ------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column;
  overflow: hidden;
  background:
    url('../images/equipment/sb20rg-hero-factory.jpg') center 32% / cover no-repeat,
    radial-gradient(1000px 500px at 75% 30%, rgba(26,92,46,.15), transparent 55%),
    linear-gradient(180deg, var(--hero-1), var(--hero-2)); }
.hero-canvas { position: absolute; inset: 0; opacity: .06; pointer-events: none; }
.hero-scrim { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,11,9,.82) 0%, rgba(7,11,9,.50) 42%, rgba(7,11,9,.18) 65%, transparent 88%),
    linear-gradient(180deg, rgba(7,11,9,.25) 0%, transparent 30%, transparent 68%, var(--bg) 96%); }
.hero-inner { position: relative; z-index: 2; max-width: 1240px; margin-inline: auto;
  padding: 170px 22px 48px; width: 100%; text-align: left;
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; margin: .4em 0;
  font-weight: 800; letter-spacing: -.01em;
  color: #ffffff; }
.hero h1 .accent { background: linear-gradient(120deg, #6ee7b7, #34d399);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.80);
  max-width: 620px; margin: 0 0 28px; }
.hero .tag { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.65);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px); max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Hero buttons on photo background — ghost must be light */
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero-actions .btn-ghost:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; }

/* ---- Hero background video (full-cover, same size as bg image) ---------- */
.hero-bg-video-wrap { position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none; }
.hero-bg-video-wrap .hero-video-toggle { pointer-events: auto; }
.hero-bg-video {
  position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px);
  object-fit: cover; display: block; z-index: 0;
}
.hero-video-toggle { position: absolute; bottom: 20px; right: 20px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.40); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .15s ease; opacity: .65; }
.hero-video-toggle:hover { background: rgba(0,0,0,.65); transform: scale(1.08); opacity: 1; }
/* paused icon → play triangle */
.hero-video-toggle.paused svg { display: none; }
.hero-video-toggle.paused::after {
  content: ''; width: 0; height: 0;
  border-left: 8px solid currentColor; border-top: 5px solid transparent;
  border-bottom: 5px solid transparent; margin-left: 2px; }

.scroll-ind { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--text-muted); font-size: 12px; letter-spacing: .2em; }
.scroll-ind .bar { width: 1px; height: 36px; margin: 8px auto 0;
  background: linear-gradient(var(--glow), transparent); animation: scrollpulse 2s infinite; }
@keyframes scrollpulse { 0%,100% { opacity:.3 } 50% { opacity:1 } }

/* ---- Section scaffolding -------------------------------------------- */
section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 120px) 0; }
.index-num { font-size: 13px; color: var(--text-muted); letter-spacing: .2em; }
.sec-title { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin: .3em 0 .4em;
  font-weight: 700; letter-spacing: -.01em; }
.sec-intro { color: var(--text-muted); max-width: 640px; }

/* ---- Material cards -------------------------------------------------- */
.mat-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin-top: 38px; }
.mat-card { border: 1px solid var(--soft); border-radius: 22px; overflow: clip;
  background: var(--surface); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.mat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.mat-thumb { height: 132px; position: relative; overflow: hidden; border-radius: 22px 22px 0 0; }
.mat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mat-body { padding: 18px; }
.mat-tag { font-size: 11px; letter-spacing: .12em; color: var(--glow); text-transform: uppercase; }
.mat-name { font-weight: 700; font-size: 1.05rem; margin: 6px 0 8px; }
.mat-desc { font-size: 13.5px; color: var(--text-muted); }
.mat-finish { margin-top: 28px; font-size: 13px; color: var(--text-muted); }

/* ---- Precision ------------------------------------------------------- */
.precision { border-top: 1px solid var(--soft); border-bottom: 1px solid var(--soft); }
.precision-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.prec-eyebrow-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.index-sep { display: inline-block; width: 32px; height: 1px; background: var(--accent); }

/* ── Engineering Drawing Frame ─────────────────────────────────── */
.prec-svg-wrap {
  position: relative;
  max-width: 100%;              /* fill right column instead of capping at 640 */
  width: 100%;
  margin-inline: 0;             /* drop auto-center, sit at column edge */
  border-radius: 14px;
  border: 1px solid rgba(26,92,46,.22);
  background:
    linear-gradient(135deg, rgba(26,92,46,.03) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(26,92,46,.055) 19px, rgba(26,92,46,.055) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(26,92,46,.055) 19px, rgba(26,92,46,.055) 20px),
    var(--surface-2);
  padding: 18px;
  box-shadow:
    0 2px 1px rgba(0,0,0,.06),
    0 12px 40px rgba(26,92,46,.12),
    inset 0 0 80px rgba(26,92,46,.02);
  overflow: hidden;
  cursor: none; /* custom magnifier cursor area */
}
.prec-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ── Magnifier Lens ────────────────────────────────────────────── */
.prec-magnifier {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 10;
  border: 2px solid rgba(26,92,46,.45);
  box-shadow:
    0 4px 20px rgba(0,0,0,.25),
    inset 0 0 24px rgba(0,0,0,.22);   /* photo vignette inside the lens */
  overflow: hidden;
  background: #0c1610;          /* dark fallback if the photo fails to load */
}
.prec-svg-wrap:hover .prec-magnifier { opacity: 1; }
.prec-mag-inner {
  position: absolute;
  top: 0; left: 0;
  /* width/height set dynamically by JS (LENS_W * ZOOM) once photo loads */
  pointer-events: none;
  will-change: transform;
}
.prec-mag-photo {
  width: 100%; height: 100%;
  object-fit: cover;           /* fill lens without distortion */
  display: block;
}

/* crosshair in lens */
.prec-magnifier::before,
.prec-magnifier::after {
  content: '';
  position: absolute;
  background: rgba(26,92,46,.25);
}
.prec-magnifier::before {
  width: 1px; height: 100%; left: 50%; top: 0;
}
.prec-magnifier::after {
  width: 100%; height: 1px; left: 0; top: 50%;
}

/* ── Hint badge ─────────────────────────────────────────────────── */
.prec-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  color: rgba(26,92,46,.65);
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(26,92,46,.12);
  pointer-events: none;
  opacity: .9;
  z-index: 5;
}
.prec-hint svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
@media (hover: none) and (pointer: coarse) {
  .prec-magnifier { display: none !important; }
  .prec-hint { display: none !important; }
  .prec-svg-wrap { cursor: default; }
}
.precision .tol { font-size: clamp(3rem, 11vw, 7rem); font-weight: 800; color: var(--accent);
  line-height: 1; margin: .3em 0 .15em; display: flex; align-items: baseline; gap: 8px; }
.tol-unit { font-size: .28em; font-weight: 700; color: var(--text-muted); }
.dim-line-bg { stroke: #1a5c2e; stroke-width: .8; opacity: .25; }
.dim-line-fg { stroke: #1a5c2e; stroke-width: 1.3; fill: none; }
.dim-text { fill: #1a5c2e; font-size: 12px; letter-spacing: .01em; }
.dim-ext { stroke: var(--soft-strong,rgba(255,255,255,.2)); stroke-width: .7; }
.dim-group { } /* namespace for dimension groups */

/* ---- Process timeline ----------------------------------------------- */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px;
  position: relative; }
.proc-line { position: absolute; top: 38px; left: 0; right: 0; height: 2px; background: var(--soft); }
.proc-line .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--glow));
  transition: width .1s linear; }
.proc-step { position: relative; padding: 0 10px; }
.proc-dot { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--soft-strong); font-weight: 700; color: var(--accent);
  margin-bottom: 14px; transition: transform .3s ease, background .3s ease; }
.proc-step:hover .proc-dot { transform: translateY(-4px); background: var(--brand); color: #fff; }
.proc-step h4 { margin: 0 0 6px; font-size: 1rem; }
.proc-step p { margin: 0; font-size: 13.5px; color: var(--text-muted); }

/* ---- Slogan band ----------------------------------------------------- */
.slogan { background: linear-gradient(135deg, #0b110d, #101813); position: relative; overflow: hidden; }
.theme-light .slogan { background: linear-gradient(135deg, #e7efe9, #ffffff); }
.slogan .grid-ov { position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(var(--soft) 1px, transparent 1px), linear-gradient(90deg, var(--soft) 1px, transparent 1px);
  background-size: 46px 46px; }
.slogan .txt { position: relative; font-size: clamp(1.8rem, 4.4vw, 3.2rem); font-weight: 800;
  text-align: center; line-height: 1.25; padding: clamp(56px, 8vw, 96px) 0; letter-spacing: -.01em; }
.slogan .txt .ch { display: inline-block; opacity: .18; transition: opacity .4s ease, color .4s ease; }
.slogan .txt .ch.on { opacity: 1; color: var(--text); }
.slogan .sub { position: relative; text-align: center; color: var(--text-muted); margin-top: -20px; padding-bottom: 60px; }

/* ---- Marquee --------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--soft); padding: 18px 0;
  background: var(--surface); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: inline-flex; gap: 0; white-space: nowrap; will-change: transform;
  animation: marquee var(--marquee-duration, 32s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .mi { display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; color: var(--text-muted); padding: 0 26px; }
.marquee .mi .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); margin-right: 26px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Specs ----------------------------------------------------------- */
.specs { border-top: 1px solid var(--soft); }
.spec-rows { margin-top: 34px; border-top: 1px solid var(--soft); }
.spec-row { display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 6px; border-bottom: 1px solid var(--soft); position: relative; transition: transform .25s ease; }
.spec-row:hover { transform: translateX(8px); }
.spec-row::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 0; height: 60%; background: var(--accent); border-radius: 2px; transition: width .25s ease; }
.spec-row:hover::before { width: 3px; }
.spec-row .k { color: var(--text-muted); font-size: 15px; }
.spec-row .v { font-weight: 700; font-size: 15px; }
.spec-note { margin-top: 20px; font-size: 13px; color: var(--text-muted); }

/* ---- Machine showcase (STAR SB-20RG / SB-12R TYPE G) --------------- */
.machine-title { margin: 48px 0 22px; font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 700; letter-spacing: -.01em; }
.machine-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.machine-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.machine-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -16px rgba(0,0,0,.35); border-color: var(--glass-border); }
.machine-thumb { margin-bottom: 18px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); border: 1px solid var(--border); }
.machine-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.machine-card:hover .machine-thumb img { transform: scale(1.03); }
.machine-brief { margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: var(--text-soft); }
.machine-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.machine-head h4 { margin: 0; font-size: 1.18rem; font-weight: 700; color: var(--text-main); }
.machine-type { border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.machine-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.machine-spec { display: flex; flex-direction: column; gap: 5px; }
.machine-spec .ml { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); }
.machine-spec .mv { font-size: 15px; font-weight: 700; color: var(--text-main); }
.machine-note { margin: 16px 0 0; font-size: 13px; line-height: 1.7; color: var(--text-soft); }
.machine-detail-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 10px 20px; font-size: 13px; font-weight: 700; letter-spacing: .01em;
  color: #fff; background: var(--accent); border: none; border-radius: 999px; text-decoration: none; transition: all .22s ease;
}
.machine-detail-btn:hover { background: var(--brand-mid); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(26,92,46,.25); }
.machine-detail-btn::after { content: "→"; transition: transform .2s ease; }
.machine-detail-btn:hover::after { transform: translateX(3px); }
.precision-callout { display: flex; gap: 12px; margin-top: 34px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.precision-callout .pc-mark { color: var(--accent); flex: none; line-height: 1.5; }
.precision-callout p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text-soft); }
@media (max-width: 640px) { .machine-grid { grid-template-columns: 1fr; } }

/* ---- CTA ------------------------------------------------------------- */
.cta-wrap { padding: clamp(60px, 8vw, 110px) 0; }
.cta-card { border-radius: 28px; padding: clamp(36px, 6vw, 64px);
  background: linear-gradient(135deg, var(--brand-mid), var(--brand) 55%, var(--brand-deep));
  text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0; opacity: .18;
  background: radial-gradient(600px 300px at 80% 0%, rgba(111,224,163,.6), transparent 60%); }
.cta-card h2 { position: relative; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 .4em; color: #fff; font-weight: 800; }
.cta-card p { position: relative; color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta-card .hero-actions { position: relative; justify-content: center; }
.cta-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-card .btn-ghost:hover { color: #fff; border-color: #fff; }

/* ---- Page header (sub pages) ---------------------------------------- */
/* 关键修复：内页标题区须与正文 .container-x 对齐（max-width:1240 + 22px 内边距）。
   原先未加约束，宽屏下标题紧贴视口左缘，比居中正文左移数百像素（"严重偏左"）。 */
.page-header { max-width: 960px; margin-inline: auto; padding: 120px 24px 48px; }

/* ================================================================
   二级页内容区 — Apple 规格页风格
   设计原则（对标 apple.com.cn/ipad-pro/specs/）：
     - 极简：去掉所有装饰性渐变底纹，信息本身即设计
     - 大留白：section 间距 80-100px，营造呼吸感
     - 清晰层级：标题 > 区块标题 > label:value > 正文
     - 规格表：2列网格，label 灰色小字 + value 黑色大字
     - 无卡片容器：特性/优势直接排列，靠排版层次区分
   ================================================================ */

/* ---- 页面容器：干净，无装饰 ---- */
.gen-page {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  padding: 0 24px 80px;
}
.gen-page::before { display: none; }  /* 去掉旧渐变底纹 */
.gen-page > * { position: relative; z-index: 1; }

.gen-lead {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 64px;
}

/* ---- 区块间距（Apple 风格大留白） ---- */
.gen-dl { margin-top: 56px; }
.gen-alt { margin-top: 64px; }
.gen-timeline { margin-top: 60px; }
.gen-stacked { margin-top: 56px; }
.gen-materials { margin-top: 60px; }
.gen-stepper { margin-top: 56px; }
.gen-features { margin-top: 60px; }
.gen-specs { margin-top: 64px; }
.gen-process { margin-top: 60px; }
.gen-process-v { margin-top: 56px; }

/* ---- Section 标题（Apple 风格：干净大字，无装饰条） ---- */
.gen-sec-title {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 24px;
  line-height: 1.3;
}

/* ================================================================
   ① 特性/优势 — Apple 风格干净列表（无装饰，靠排版区分）
   ================================================================ */
.gen-dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 64px; }
.gen-dl-row {
  display: flex; gap: 14px; align-items: flex-start; padding: 0;
  background: none; border: 0; transition: opacity .2s ease;
}
.gen-dl-row:hover { opacity: .75; }
.gen-dl-bullet {
  width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; margin-top: 10px;
  background: var(--accent);
}
.gen-dl-body h3 { margin: 0 0 5px; font-size: 1rem; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.gen-dl-body p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ---- 特性列表（Apple 风格：干净勾选 + 文字） ---- */
.gen-features { margin-top: 64px; }
.gen-feat-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
.gen-feat-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 0;
  background: none; border: 0;
  transition: opacity .2s ease;
}
.gen-feat-item:hover { opacity: .75; }
.feat-check {
  flex-shrink: 0; width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent);
  color: #fff; font-weight: 700; font-size: .7rem; margin-top: 2px;
}
.gen-feat-item strong { display: block; font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.gen-feat-item p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ---- 编号块（更克制） ---- */
.gen-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 64px; }
.gen-block {
  display: flex; gap: 16px; align-items: flex-start;
  background: none; border: 0; padding: 0;
  transition: opacity .2s ease;
}
.gen-block:hover { opacity: .75; }
.gen-num {
  flex: none;
  font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -.02em;
  font-feature-settings: 'tnum' 1;
  color: var(--accent);
  opacity: .5; margin-top: -4px;
}
.gen-block h3 { margin: 0 0 5px; font-size: 1rem; font-weight: 600; color: var(--text); }
.gen-block p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.gen-cta { margin: 80px 0 16px; display: flex; justify-content: center; }
.gen-cta .btn-brand { font-size: .95rem; padding: 14px 32px; }
@media (max-width: 720px) { .gen-grid { grid-template-columns: 1fr; } }

/* ================================================================
   ② 材料库 — Apple 风格清洁列表
   水平行 + 彩色圆点标识 + 细分隔线
   ================================================================ */
.gen-materials {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
}
.gen-mat-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--soft);
  transition: opacity .18s ease;
  overflow: visible;
}
.gen-mat-card:last-child { border-bottom: none; }
.gen-mat-card:hover {
  transform: none !important;
  opacity: .7;
  border-color: inherit !important;
  box-shadow: none !important;
}
/* 彩色圆点（Apple 风格：小而干净） */
.mat-accent {
  width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%;
  background: var(--mat-color, var(--accent));
}
  margin-top: 1px;
}
.mat-body { flex: 1; padding: 0; min-width: 0; }
.mat-body h3 {
  display: inline; margin: 0 8px 0 0; font-size: .98rem; font-weight: 700;
  color: var(--text); letter-spacing: -.01em;
}
.mat-body p {
  display: inline; margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.75;
}

/* ================================================================
   规格表 — Apple 风格 2列 label:value 网格
   像 iPad Pro 规格页：左侧灰色小字标签 + 右侧黑色大字值
   无边框、无背景、纯靠排版对齐
   ================================================================ */
.gen-specs { margin-top: 80px; }
.gen-spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.gen-spec-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--soft);
  transition: background .15s ease;
}
.gen-spec-row:hover { background: rgba(0,0,0,.02); }
.gen-spec-row:nth-child(odd) { border-right: 1px solid var(--soft); }
.gen-spec-k {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .02em;
  line-height: 1.4;
}
.gen-spec-v {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -.005em;
}

/* ================================================================
   ④ 水平流程步骤 — 极简编号（去卡片化，靠连线+编号提供结构）
   ================================================================ */
.gen-process { /* margin-top already set */ }
.gen-proc-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative;
}
.gen-proc-list::before {
  content: ''; position: absolute; top: 22px; left: 14%; right: 14%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .4; z-index: 0;
}
.gen-proc-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 16px 12px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center;
  transition: background .2s ease;
}
.gen-proc-step:hover {
  background: rgba(46,139,79,.03) !important;
  transform: none !important; border-color: inherit !important; box-shadow: none !important;
}
.gen-proc-num {
  width: 44px; height: 44px; flex: none; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1rem;
  box-shadow: 0 6px 14px -4px rgba(26,92,46,.55);
}
.gen-proc-step h3 { margin: 0; font-size: .96rem; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.gen-proc-step p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.65; text-align: center; }

/* ================================================================
   ⑤ ALTERNATE 交替错落 — 全宽行（保持不变，仅微调阴影）
   这是唯一合理使用全宽卡片的布局（Wayken 式），天然有差异感
   ================================================================ */
.gen-alt { display: flex; flex-direction: column; gap: 20px; }
.gen-alt-row {
  display: flex; gap: 0; align-items: stretch; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(111,224,163,.10);
  border-radius: 18px;
  box-shadow: 0 4px 20px -8px rgba(0,0,0,.25);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.gen-alt-row:hover {
  transform: translateY(-3px); border-color: rgba(111,224,163,.25);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.3);
}
.gen-alt--forward { flex-direction: row; }
.gen-alt--reverse { flex-direction: row-reverse; }
.gen-alt-deco {
  width: 110px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; padding: 28px 14px;
  background: linear-gradient(180deg, rgba(46,139,79,.07), rgba(26,92,46,.02));
  border-right: 1px solid rgba(111,224,163,.08);
}
.gen-alt--reverse .gen-alt-deco {
  border-right: 0; border-left: 1px solid rgba(111,224,163,.08);
  background: linear-gradient(180deg, rgba(26,92,46,.02), rgba(46,139,79,.07));
}
.alt-num {
  font-size: 2.4rem; font-weight: 900; color: var(--accent); opacity: .85; line-height: 1;
  font-feature-settings: 'tnum' 1; letter-spacing: -.02em;
}
.alt-bar { width: 4px; height: 40px; flex-shrink: 0; background: linear-gradient(180deg, var(--glow), var(--accent)); border-radius: 3px; opacity: .85; }
.gen-alt-body { flex: 1; padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.gen-alt-body h3 { margin: 0 0 8px; font-size: 1.14rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.gen-alt-body p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* ================================================================
   ⑥ TIMELINE 竖线时间轴 — 轻量化主体卡片
   ================================================================ */
.gen-timeline { position: relative; padding-left: 34px; }
.tl-line { position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), rgba(26,92,46,.12)); border-radius: 2px; }
.gen-tl-item { position: relative; margin-bottom: 16px; }
.gen-tl-item:last-child { margin-bottom: 0; }
.gen-tl-dot {
  position: absolute; left: -27px; top: 17px; width: 13px; height: 13px; border-radius: 50%;
  background: linear-gradient(135deg, var(--glow), var(--accent)); border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px rgba(26,92,46,.2), 0 0 10px rgba(46,139,79,.35); z-index: 1;
}
.gen-tl-body {
  padding: 16px 0;
  background: none; border: 0; border-radius: 0;
  transition: transform .22s ease;
}
.gen-tl-body:hover { background: none; transform: translateX(3px); border-color: inherit; box-shadow: none; }
.gen-tl-body h3 { margin: 0 0 6px; font-size: 1.06rem; font-weight: 700; color: var(--text); letter-spacing: -.015em; }
.gen-tl-body p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.8; }

/* ================================================================
   ⑦ STACKED 堆叠卡片 — 轻量化
   ================================================================ */
.gen-stacked { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
.gen-stack-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 0;
  background: none; border: 0; border-radius: 0;
  transition: transform .22s ease;
}
.gen-stack-card:hover { transform: translateX(3px); }
.gen-stack-num {
  font-size: 1.7rem; font-weight: 900; line-height: 1; flex-shrink: 0; width: 38px;
  font-feature-settings: 'tnum' 1; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--glow), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .85;
}
.gen-stack-body { flex: 1; }
.gen-stack-body h3 { margin: 0 0 7px; font-size: 1.08rem; font-weight: 700; color: var(--text); letter-spacing: -.018em; }
.gen-stack-body p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.8; }

/* ================================================================
   ⑧ STEPPER 步骤轨道 — 保持原有结构，减轻详情卡
   ================================================================ */
.gen-stepper { /* margin-top already set */ }
.gen-step-track { display: flex; align-items: center; gap: 0; margin-bottom: 18px; flex-wrap: wrap; }
.gen-step-node { display: flex; align-items: center; gap: 10px; position: relative; }
.gen-step-dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--surface);
  border: 2px solid rgba(111,224,163,.15); color: var(--text-muted); font-weight: 800; font-size: .82rem;
  display: grid; place-items: center; flex-shrink: 0;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.gen-step-node.active .gen-step-dot {
  background: linear-gradient(135deg, var(--brand-mid), var(--brand)); border-color: transparent;
  color: #fff; box-shadow: 0 6px 14px -4px rgba(26,92,46,.55);
}
.gen-step-label { font-size: .92rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.gen-step-node.active .gen-step-label { color: var(--text); }
.step-conn { width: 36px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); flex-shrink: 0; border-radius: 2px; opacity: .6; }
.gen-step-details {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; margin-top: 8px;
}
.gen-step-detail {
  padding: 0;
  background: none; border: 0; border-radius: 0;
  transition: transform .22s ease;
}
.gen-step-detail:hover { background: none; transform: translateX(3px); border-color: inherit; box-shadow: none; }
.gen-step-detail p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.8; }

/* ================================================================
   ⑨ VERTICAL PROCESS 垂直步骤 — 减轻卡片权重
   ================================================================ */
.gen-process-v { /* margin-top already set */ }
.vsteps { display: flex; flex-direction: column; gap: 0; max-width: 720px; position: relative; padding-left: 28px; }
.gen-vstep { display: flex; flex-direction: column; gap: 6px; position: relative; padding: 0 0 26px; }
.gen-vstep:last-child { padding-bottom: 0; }
.vstep-line { position: absolute; left: -28px; top: 42px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--accent), rgba(26,92,46,.10)); }
.gen-vstep:last-child .vstep-line { display: none; }
.vstep-node {
  position: absolute; left: -28px; top: 12px; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand)); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px rgba(26,92,46,.18), 0 6px 14px -4px rgba(26,92,46,.5);
  z-index: 1;
}
.vstep-body {
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid rgba(111,224,163,.08);
  border-radius: 14px;
  transition: background .2s ease;
}
.vstep-body:hover {
  background: var(--surface-2);
  transform: none; border-color: inherit; box-shadow: none;
}
.vstep-body h3 { margin: 0 0 5px; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.vstep-body p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.72; }

/* ---- 页头（Apple 风格：干净大字，无分割线装饰） ---- */
.page-header { position: relative; }
.page-header::after { display: none; }  /* 去掉渐变分割线 */
.page-header h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin: .2em 0;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.page-header .intro {
  color: var(--text-muted);
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.75;
}

/* ================================================================
   二级页响应式（Apple 风格适配）
   ================================================================ */
@media (max-width: 720px) {
  .gen-dl, .gen-feat-list, .gen-stacked, .gen-grid, .gen-step-details { grid-template-columns: 1fr; }
  .gen-materials { max-width: 100%; }
  .gen-mat-card { padding: 16px 20px; flex-wrap: wrap; }
  .mat-body { flex-basis: 100%; }
  .mat-body h3, .mat-body p { display: block; margin: 4px 0 0; }
  .gen-spec-table { grid-template-columns: 1fr; }
  .gen-spec-row { padding: 16px 0; border-right: none !important; }
  .gen-proc-list { grid-template-columns: 1fr; gap: 16px; }
  .gen-proc-list::before { display: none; }
  .gen-proc-step { flex-direction: row; text-align: left; gap: 14px; padding: 14px 16px; }
  .gen-step-details { grid-template-columns: 1fr; }
  .gen-alt-row { flex-direction: column !important; }
  .gen-alt-deco {
    width: auto; flex-direction: row; padding: 12px 18px;
    border-right: 0 !important; border-left: 0 !important; border-bottom: 1px solid rgba(111,224,163,.08);
    justify-content: flex-start; gap: 10px;
  }
  .alt-bar { width: 4px; height: 26px; }
  .alt-num { font-size: 1.5rem; }
  .gen-alt-body { padding: 16px 18px; }
  .gen-timeline { padding-left: 26px; }
  .gen-tl-dot { left: -25px; top: 16px; }
  .gen-vstep { padding-bottom: 18px; }
  .vsteps { padding-left: 26px; }
  .vstep-node { left: -26px; top: 10px; }
}

/* ---- About（Apple 工业风：Hero + 数据条 + 能力网格） ---- */

/* 容器 */
.about-wrap { width: min(1100px, 92vw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.about-wrap--narrow { width: min(760px, 92vw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }

/* 区块 */
.about-section { padding: clamp(32px, 5vw, 56px) 0; }
.about-section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-section--cta { padding-bottom: clamp(40px, 7vw, 80px); }

/* Section 头部（居中） */
.about-section__head { text-align: center; max-width:680px; margin: 0 auto clamp(24px, 3vw, 40px); }
.about-section__title { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.15; color: var(--text); }
.about-section__lead { margin-top: 16px; font-size: clamp(15px, 1.4vw, 17px); color: var(--text-muted); line-height: 1.65; }

/* Hero */
.about-hero { text-align: center; padding: clamp(48px, 8vw, 90px) 0 clamp(32px, 5vw, 56px);
  background: var(--bg); }
.about-hero__inner { max-width:720px; margin: 0 auto; padding: 0 24px; }
.about-hero__title { font-family: var(--font-display); font-size: clamp(34px, 6vw, 62px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.12; color: var(--text);
  word-break: break-word; overflow-wrap: break-word; }
.about-hero__sub { margin: 22px auto 0; font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text-muted); line-height: 1.6; max-width: 580px; }
.about-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* 按钮复用（与全局 btn 风格一致） */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-weight: 600; font-size: 14.5px; line-height: 1; padding: 13px 26px; border-radius: 980px;
  border: 0; cursor: pointer; text-decoration: none; transition: transform .18s, background .2s, box-shadow .2s; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,92,46,.25); }
.btn--ghost { background: transparent; color: var(--accent); border: 1px solid var(--border, rgba(0,0,0,.12)); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-1px); }
.btn--text { background: transparent; color: var(--accent); padding: 13px 8px; font-weight: 500; }
.btn--text:hover { text-decoration: underline; }

/* 数据条（仪表盘风格：顶底边框 + 列分隔线） */
.about-stats-row { border-top: 1px solid var(--hairline, rgba(0,0,0,.10));
  border-bottom: 1px solid var(--hairline, rgba(0,0,0,.10)); background: var(--bg); }
.about-stats-row__inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1000px; margin: 0 auto; }
.about-stat { text-align: center; padding: clamp(20px, 3vw, 32px) 16px;
  border-right: 1px solid var(--hairline, rgba(0,0,0,.10)); }
.about-stat:last-child { border-right: none; }
.about-stat__num { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; letter-spacing: -.03em; color: var(--text); line-height: 1.1; }
.about-stat__num sup, .about-stat__num span { font-size: .5em; font-weight: 500; color: var(--text-muted); }
.about-stat__label { margin-top: 8px; font-size: 12.5px; color: var(--text-muted);
  letter-spacing: .03em; font-weight: 600; text-transform: uppercase; }

/* 能力网格 */
.about-feat-grid { display: grid; gap: clamp(16px, 2.5vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.about-feat { background: none; border: none; padding: 0; transition: opacity .25s; }
.about-feat:hover { opacity: .75; }
.about-feat__icon { width: 30px; height: 30px; color: var(--text); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; }
.about-feat__icon svg { width: 24px; height: 24px; stroke-width: 1.4; }
.about-feat h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700;
  letter-spacing: -.01em; color: var(--text); margin-bottom: 8px; }
.about-feat p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }

/* 面板（团队 / CTA） */
.about-panel { background: var(--surface); border: 1px solid var(--soft, rgba(0,0,0,.08));
  border-radius: 16px; padding: clamp(20px, 3vw, 32px); }
.about-panel h2 { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700; letter-spacing: -.01em; margin: 0 0 12px; color: var(--text); }
.about-panel p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.about-panel--highlight { border-top: 3px solid var(--accent); }

/* 认证列表 */
.about-cert-list { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.about-cert { display: flex; align-items: center; gap: 14px; padding: 16px 8px;
  border-bottom: 1px solid var(--hairline, rgba(0,0,0,.08)); transition: color .2s; }
.about-cert:last-child { border-bottom: none; }
.about-cert:hover { color: var(--accent); }
.about-cert__icon { color: var(--accent); flex: none; display: grid; place-items: center; }
.about-cert__icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.about-cert span { font-weight: 600; font-size: 15px; }

/* 理念网格 */
.about-value-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.about-value { background: var(--surface); border: 1px solid var(--soft, rgba(0,0,0,.06));
  border-radius: 14px; padding: 16px 18px; text-align: center; transition: transform .2s, box-shadow .2s; }
.about-value:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.about-value__name { font-weight: 700; font-size: 16px; color: var(--accent); }

/* ---- Cases ----------------------------------------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.case-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2;
  border: 1px solid var(--soft); }
.case-card .bg { position: absolute; inset: 0; transition: transform .7s ease; }
.case-card:hover .bg { transform: scale(1.06); }
.case-card .ov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,11,9,.82)); }
.case-card .meta { position: absolute; inset: auto 0 0 0; padding: 10px; }
.case-card .tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); }
.case-card h3 { margin: 6px 0 0; font-size: 1.15rem; font-weight: 700; color: #fff; }
.case-card .play { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .3s ease; }
.case-card:hover .play { opacity: 1; }

/* ---- Knowledge ------------------------------------------------------- */
.know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.know-card { border: 1px solid var(--soft); background: var(--surface); border-radius: 22px; padding: 24px;
  transition: transform .3s ease, border-color .3s ease; }
.know-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.know-card .tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--glow); }
.know-card h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.know-card p { margin: 0; font-size: 13.5px; color: var(--text-muted); }

/* ---- Quote (dual column) -------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin-top: 30px; align-items: start; }
.form-card, .side-card { border: 1px solid var(--soft); background: var(--surface); border-radius: 24px; padding: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--soft);
  color: var(--text); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-family: inherit;
  transition: border-color .2s ease; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); }
.field textarea { min-height: 110px; resize: vertical; }
.quote-grid .fg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.quote-grid .fg-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
.field select {
  width: 100%; background: var(--surface-2); border: 1px solid var(--soft);
  color: var(--text); border-radius: 12px; padding: 12px 36px 12px 14px; font-size: 14px; font-family: inherit;
  transition: border-color .2s ease; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6b62' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select:focus { outline: 0; border-color: var(--accent); }
.pkg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 4px; }
.pkg-btn { text-align: left; background: var(--surface-2); border: 1px solid var(--soft); color: var(--text);
  border-radius: 12px; padding: 12px 14px; transition: border-color .2s ease, background .2s ease; }
.pkg-btn .pn { font-weight: 700; font-size: 14px; }
.pkg-btn .pd { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.pkg-btn.active { border-color: var(--accent); background: rgba(46,139,79,.12); }
.submit-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.feedback { margin-top: 16px; font-size: 14px; padding: 12px 14px; border-radius: 12px; display: none; }
.feedback.ok { display: block; background: rgba(46,139,79,.14); color: var(--glow); }
.feedback.err { display: block; background: rgba(180,80,80,.14); color: #e8a0a0; }
.side-card .accent-72 { border: 1px solid var(--accent); background: rgba(46,139,79,.1); border-radius: 16px;
  padding: 18px; margin-top: 18px; }
.side-card .accent-72 .big { font-size: 2rem; font-weight: 800; color: var(--accent); }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Quote enhancements (Wayken-inspired) */
.field-guide .guide-text {
  font-size: 12.5px; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 8px; padding: 10px 12px; border-radius: 10px;
  background: rgba(46,139,79,.06); border-left: 3px solid var(--accent);
}
.upload-hint {
  font-size: 12px; color: var(--text-muted); line-height: 1.55; margin-bottom: 6px;
}
.privacy-line {
  font-size: 12px; color: var(--text-muted); line-height: 1.6;
  margin-top: 14px; padding: 10px 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px dashed var(--soft);
}
.side-process { margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--surface-2); }
.side-process strong { display: block; font-size: 14px; margin-bottom: 8px; }
.side-steps { font-size: 13px; line-height: 1.75; color: var(--text-secondary); }
.side-steps b { color: var(--accent); }
.side-trust { border-top: 1px solid var(--soft); padding-top: 14px; }

/* Contact enhancements */
.team-intro {
  max-width: 840px; margin: 0 auto 36px; padding: 22px 24px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--soft);
  line-height: 1.75; font-size: 14.5px; color: var(--text-secondary);
}
.team-intro p { margin: 0; }
.chan .ic {
  font-size: 18px; background: none; border: 1px solid var(--soft);
  border-radius: 50%;
}
.privacy-assurance {
  margin-top: 28px; padding: 16px 20px; border-radius: 16px;
  background: rgba(26,92,46,.05); border: 1px solid var(--soft);
  font-size: 12.5px; color: var(--text-muted); line-height: 1.65; display: flex; gap: 10px; align-items: flex-start;
}
.pa-lock { font-size: 16px; flex: none; }

/* ---- 限流确认弹窗 ---- */
.xsm-modal-overlay { position: fixed; inset: 0; background: rgba(10,20,14,.5); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 10px; }
.xsm-modal { background: var(--bg); border: 1px solid var(--soft-strong); border-radius: 16px; max-width: 440px; width: 100%; padding: 22px 22px 18px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.xsm-modal-text { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--text); }
.xsm-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.xsm-btn { padding: 9px 18px; border-radius: 11px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.xsm-btn-primary { background: var(--brand); color: #fff; }
.xsm-btn-primary:hover { filter: brightness(1.05); }
.xsm-btn-ghost { background: transparent; border-color: var(--soft-strong); color: var(--text-muted); }

/* ---- Contact --------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.chan { display: flex; align-items: center; gap: 14px; border: 1px solid var(--soft);
  background: var(--surface); border-radius: 18px; padding: 18px 20px; }
.chan .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(46,139,79,.12); color: var(--accent);
  display: grid; place-items: center; flex: none; }
.chan .lab { font-size: 12px; color: var(--text-muted); }
.chan .val { font-weight: 600; font-size: 14px; word-break: break-all; }
.chan .copy { margin-left: auto; background: transparent; border: 1px solid var(--soft); color: var(--text-muted);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; transition: color .2s, border-color .2s; }
.chan .copy:hover { color: var(--accent); border-color: var(--accent); }
.contact-quote-hint { margin-top: 24px; padding: 18px 20px; border: 1px dashed var(--soft-strong); border-radius: 16px;
  color: var(--text-muted); font-size: 14px; }
.contact-quote-hint a { color: var(--accent); font-weight: 600; }

/* ---- Footer ---------------------------------------------------------- */
footer.site-footer { position: relative; overflow: hidden; background: var(--surface); border-top: 1px solid var(--soft); }
footer.site-footer .top-line { position: absolute; inset-x: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-glow, var(--accent)), transparent); opacity: .6; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.foot-brand { font-size: 1.1rem; font-weight: 700; }
.foot-desc { margin-top: 14px; max-width: 240px; font-size: 13px; color: var(--text-muted); }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { display: inline-flex; align-items: center; font-size: 14px; color: var(--text-muted); }
.foot-col a .ln { width: 0; height: 1px; background: var(--accent); transition: width .3s ease; margin-right: 0; }
.foot-col a:hover { color: var(--accent); }
.foot-col a:hover .ln { width: 12px; margin-right: 8px; }
.foot-copy { border-top: 1px solid var(--soft); padding: 22px 0; text-align: center; font-size: 12px; color: var(--text-muted); }

/* ---- AI widget ------------------------------------------------------- */
.ai-fab { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 54px; height: 54px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand)); color: #fff; border: 0;
  box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease; }
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 28px 60px -20px rgba(26,92,46,.55); }
.ai-fab svg { width: 24px; height: 24px; pointer-events: none; }
.ai-panel { position: fixed; right: 22px; bottom: 88px; z-index: 70; width: 400px; max-width: calc(100vw - 44px);
  height: min(540px, calc(100vh - 120px)); display: none; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--glass-border); border-radius: 18px; box-shadow: var(--shadow); }
.ai-panel.open { display: flex; animation: aiPanelIn .24s ease both; }
@keyframes aiPanelIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.ai-ph { display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand)); color: #fff; flex-shrink: 0; }
.ai-ph-ic { width: 30px; height: 30px; display: grid; place-items: center; flex: none; }
.ai-ph-ic svg { width: 22px; height: 22px; }
.ai-ph-tx { flex: 1; min-width: 0; }
.ai-ph-t { font-size: 14px; font-weight: 700; line-height: 1.2; }
.ai-ph-s { font-size: 11.5px; opacity: .82; margin-top: 1px; }
.ai-close { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16);
  color: #fff; font-size: 15px; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.ai-close:hover { background: rgba(255,255,255,.3); }
.ai-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ai-body::-webkit-scrollbar { width: 6px; }
.ai-body::-webkit-scrollbar-thumb { background: var(--soft-strong); border-radius: 999px; }
.ai-msg { max-width: 88%; }
.ai-msg p { margin: 0; font-size: 13px; line-height: 1.45; padding: 10px 13px; border-radius: 14px; }
.ai-msg.bot { align-self: flex-start; }
.ai-msg.bot p { background: var(--surface-2); color: var(--text); border-top-left-radius: 4px; }
.ai-msg.user { align-self: flex-end; }
.ai-msg.user p { background: linear-gradient(135deg, var(--brand-mid), var(--brand)); color: #fff; border-top-right-radius: 4px; }
.ai-msg a { color: var(--accent); text-decoration: underline; }
.ai-msg.user a { color: #fff; text-decoration: underline; }
/* ---- 输入区（圆角边框容器：textarea + DT左下 + 发送右中） ---- */
.ai-input {
  display: flex; flex-direction: column;
  padding: 10px 48px 28px 10px; flex-shrink: 0;
  background: var(--surface-2, var(--surface));
  border: 1.5px solid var(--soft, rgba(0,0,0,.12));
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.ai-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,92,46,.08); }
.ai-input textarea {
  width: 100%; box-sizing: border-box;
  background: transparent; border: 0; outline: 0; resize: none;
  color: var(--text); font-size: 13.5px; font-family: inherit;
  padding: 2px 0 4px; line-height: 1.45;
  min-height: 22px; max-height: 140px; overflow-y: auto;
  display: block;
}
.ai-input textarea::placeholder { color: var(--text-muted); }

/* ---- 右侧发送按钮容器（绝对定位到右侧垂直居中） ---- */
.ai-input-toolbar {
  position: absolute;
  right: 6px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; pointer-events: none;
}
.ai-input-toolbar .ai-send { pointer-events: auto; }
/* DT 按钮 — 绝对定位在输入框左下角，紧凑低饱和度 */
.ai-dt-toggle {
  position: absolute;
  bottom: 6px; left: 8px;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 7px; border-radius: 6px;
  border: 1px solid var(--soft, rgba(0,0,0,.10));
  background: transparent; cursor: pointer;
  color: var(--text-muted, rgba(0,0,0,.35)); font-size: 11px; line-height: 1.15;
  transition: all .2s ease; font-family: inherit; white-space: nowrap;
}
.ai-dt-toggle:hover {
  border-color: var(--accent, #1a5c2e);
  color: var(--accent-text, #1a5c2e); background: rgba(26,92,46,.04);
}
.ai-dt-toggle[aria-pressed="true"] {
  border-color: var(--accent, #1a5c2e);
  color: var(--accent-text, #1a5c2e);
  background: rgba(26,92,46,.07);
  box-shadow: 0 0 0 1.5px rgba(26,92,46,.06);
}
/* .active class toggled by JS when DT mode is on */
.ai-dt-toggle.active {
  background: rgba(26,92,46,.09); color: var(--brand, #1a5c2e);
  border-color: rgba(26,92,46,.28);
}
.ai-dt-toggle.active svg { animation: dtPulse 1.8s ease-in-out infinite; }
@keyframes dtPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: .65; }
}
.ai-dt-toggle svg { width: 13px; height: 13px; flex-shrink: 0; }
/* 发送键 — 浅蓝圆角方（阿里云风格） */
.ai-send {
  width: 34px; height: 34px; border-radius: 9px; border: 0; cursor: pointer;
  background: #b4d5f5; color: #1a5088;
  display: flex; align-items: center; justify-content: center;
  line-height: 0; transition: filter .18s, transform .15s, background .2s; flex-shrink: 0;
}
.ai-send:hover { filter: brightness(.94); transform: scale(1.05); background: #a3c4e8; }
.ai-send svg { width: 17px; height: 17px; pointer-events: none; display: block; flex-shrink: 0; }

/* ---- 底部免责声明文字（紧凑） ---- */
.ai-footer-disclaimer { padding: 2px 14px 8px; text-align: center; font-size: 10.5px; line-height: 1.45;
  color: var(--text-muted); flex-shrink: 0; opacity: .78; }

/* ---- 必读同意弹窗（磨砂玻璃覆盖层） ---- */
.ai-disclaimer-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  border-radius: inherit;
  animation: aiDoFadeIn .3s ease both;
  /* 磨砂玻璃：半透明白 + 高斯模糊，可隐约看到后面 AI 面板 */
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
}
.theme-dark .ai-disclaimer-overlay,
.ai-disclaimer-overlay:has(.ai-panel[class*="dark"]) {
  background: rgba(7, 11, 9, 0.78);
}
@keyframes aiDoFadeIn { from { opacity: 0; backdrop-filter: blur(0); } to { opacity: 1; } }
.ai-do-content {
  text-align: center; padding: 32px 24px 24px; max-width: 296px;
}
.ai-do-text { font-size: 14px; line-height: 1.7; color: var(--text); margin: 0 0 24px;
  letter-spacing: .01em; }
.ai-do-reject-text { color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.ai-do-btns { display: flex; gap: 12px; justify-content: center; margin-top: 4px; }
.ai-do-agree {
  padding: 10px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; font-family: inherit;
  background: linear-gradient(135deg, #1a6b35, #1a5c2e); color: #fff;
  box-shadow: 0 2px 12px rgba(26,92,46,.28);
  transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
}
.ai-do-agree:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(26,92,46,.38); }
.ai-do-agree:active { transform: translateY(0); }
.ai-do-decline {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--soft-strong); cursor: pointer;
  font-size: 14px; font-weight: 600; font-family: inherit;
  background: rgba(255,255,255,.55); color: var(--text-muted);
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.ai-do-decline:hover { border-color: var(--text-muted); color: var(--text); background: rgba(255,255,255,.75); }
.ai-do-confirm {
  padding: 10px 32px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; font-family: inherit;
  background: var(--soft); color: var(--text); border: 1px solid var(--soft-strong);
  backdrop-filter: blur(8px);
  transition: background .2s ease, transform .15s ease;
}
.ai-do-confirm:hover { background: var(--soft-strong); transform: translateY(-1px); }

/* disclaimer banner (legacy — replaced by overlay) */
.ai-disclaimer { display: none; }
/* persistent hint above the input */
.ai-hint { padding: 4px 14px 5px; font-size: 11.5px; line-height: 1.4; color: var(--text-muted); text-align: center;
  background: transparent; border-top: 1px dashed var(--soft); flex-shrink: 0; }
.ai-hint a { color: var(--accent); text-decoration: underline; }
/* AI fallback reply styling */
.ai-msg.ai-fallback p { background: var(--hint-bg, #fbeaea); color: var(--hint-text, #8a2b1b);
  border: 1px solid var(--hint-border, #f0c4bc); }
/* typing indicator */
.ai-typing p { display: inline-flex; gap: 4px; align-items: center; background: var(--surface-2); padding: 12px 14px !important; }
.ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); opacity: .5;
  animation: aiBlink 1.2s infinite ease-in-out; }
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiBlink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* model selector toolbar (user can pick model read from API) */
.ai-toolbar { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--soft); flex-shrink: 0; }
.ai-model-label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.ai-model-label select, #aiModel {
  font-family: inherit; font-size: 12.5px; color: var(--text); background: var(--soft);
  border: 1px solid var(--glass-border); border-radius: 8px; padding: 5px 8px; max-width: 100%; cursor: pointer; }
#aiModel { flex: 1; min-width: 0; }
/* new-chat button in panel header (sits on the brand-colored header, like the close button) */
.ai-newchat { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16);
  color: #fff; font-size: 15px; line-height: 1; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.ai-newchat:hover { background: rgba(255,255,255,.3); }
/* token usage readout */
.ai-usage { font-size: 11px; color: var(--text-muted); padding: 4px 14px 0; min-height: 14px; }

/* ---- 思考中/深度思考中 动效标签 ---- */
.ai-thinking-label {
  display: block; text-align: center; font-size: 12px; color: var(--text-muted);
  padding: 4px 0 2px; letter-spacing: .06em; opacity: .85;
}
/* 深度思考模式下增强动画：三跳点变慢+大+品牌色 */
.ai-typing-dt.active span {
  width: 7px; height: 7px; background: var(--brand); opacity: .7;
  animation: dtDot 1.2s ease-in-out infinite;
}
.ai-typing-dt.active span:nth-child(2) { animation-delay: .25s; }
.ai-typing-dt.active span:nth-child(3) { animation-delay: .5s; }
@keyframes dtDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* ---- AI 挂件：Markdown 排版 / 来源 / 追问 / 复制 ---- */
/* bot 消息正文（.ai-md）沿用气泡底色 */
.ai-msg.bot .ai-md {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--soft); border-top-left-radius: 4px;
  border-radius: 14px; padding: 10px 13px; font-size: 13px; line-height: 1.45;
  word-break: break-word;
}
.ai-msg.bot .ai-md p { margin: 0 0 2px; } .ai-msg.bot .ai-md p:empty, .ai-msg.bot .ai-md p:only-child { display: none; margin: 0; } .ai-msg.bot .ai-md p:last-child { margin-bottom: 0; }
.ai-msg.bot .ai-md h1, .ai-msg.bot .ai-md h2, .ai-msg.bot .ai-md h3, .ai-msg.bot .ai-md h4 { margin: 8px 0 4px; line-height: 1.25; }
.ai-msg.bot .ai-md h1 { font-size: 15px; } .ai-msg.bot .ai-md h2 { font-size: 14.5px; } .ai-msg.bot .ai-md h3 { font-size: 14px; } .ai-msg.bot .ai-md h4 { font-size: 13px; }
.ai-msg.bot .ai-md ul, .ai-msg.bot .ai-md ol { margin: 0 0 4px; padding-left: 20px; } .ai-msg.bot .ai-md li { margin: 2px 0; }
.ai-msg.bot .ai-md a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ai-msg.bot .ai-md strong { color: var(--text); font-weight: 700; }
.ai-msg.bot .ai-md blockquote { margin: 0 0 5px; padding: 5px 10px; border-left: 3px solid var(--brand-mid); background: rgba(47,125,79,.1); border-radius: 0 8px 8px 0; color: var(--text-muted); }
.ai-msg.bot .ai-md code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 12px; background: rgba(111,224,163,.14); color: var(--accent); padding: 1px 5px; border-radius: 5px; }
.ai-msg.bot .ai-md pre { margin: 0 0 5px; padding: 10px 12px; background: #0a0f0c; border: 1px solid var(--glass-border); border-radius: 10px; overflow-x: auto; }
.ai-msg.bot .ai-md pre code { background: none; color: var(--text); padding: 0; }
.ai-msg.bot .ai-md hr { border: 0; border-top: 1px solid var(--soft); margin: 7px 0; }

/* 操作条（复制） */
.ai-msg-actions { display: flex; gap: 8px; margin-top: 6px; }
.ai-copy { font-size: 11px; color: var(--text-muted); background: transparent; border: 1px solid var(--soft); border-radius: 7px; padding: 3px 9px; cursor: pointer; transition: background .15s, color .15s; }
.ai-copy:hover { background: var(--surface-2); color: var(--text); }

/* 参考来源 */
.ai-sources { margin-top: 8px; }
.ai-sources-t { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.ai-src { display: flex; align-items: center; gap: 8px; padding: 6px 9px; margin-bottom: 5px; cursor: pointer; background: var(--surface-2); border: 1px solid var(--soft); border-radius: 9px; font-size: 12px; }
.ai-src:hover { border-color: var(--glass-border); }
.ai-src-pct { flex: none; font-variant-numeric: tabular-nums; font-size: 10.5px; color: var(--accent); background: rgba(111,224,163,.14); border-radius: 5px; padding: 1px 6px; }
.ai-src-name { flex: 1; min-width: 0; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-src-chev { flex: none; color: var(--text-muted); font-size: 10px; transition: transform .2s; }
.ai-src.open .ai-src-chev { transform: rotate(180deg); }
.ai-src-detail { flex-basis: 100%; padding: 7px 2px 1px; font-size: 11.5px; line-height: 1.55; color: var(--text-muted); }

/* 推荐追问 chips（已移除，保留规则以备未来恢复） */
.ai-suggest { display: none !important; }
.ai-chip { font-size: 12px; color: var(--text); background: var(--surface-2); border: 1px solid var(--soft); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.ai-chip:hover { border-color: var(--glass-border); background: var(--surface); }

/* ---- Reveal animation ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---- Mobile menu ----------------------------------------------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--bg);
  display: none; flex-direction: column;
  padding: 0; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; gap: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  /* Brand-tinted dark gradient — keeps dark surface for contrast but pulls
     in the green identity so the menu head reads as "Thundem" not "generic dark" */
  background:
    radial-gradient(120% 200% at 0% 50%,
      color-mix(in srgb, var(--accent) 30%, transparent) 0%,
      transparent 55%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 18%, #0c1610) 0%,
      #0c1610 65%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  position: sticky; top: 0; z-index: 2; flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 22px -16px rgba(0,0,0,.6);
}
.mm-brand { display: inline-flex; align-items: center; gap: 10px;
  min-width: 0; flex: 1; }
.mm-brand .logo {
  width: 32px; height: 32px; flex: none; display: block;
  border-radius: 8px;
  /* Logo plate — green gradient + glow, makes the mark pop on dark head */
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  padding: 3px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
    0 4px 14px -4px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mm-brand .logo:hover { transform: rotate(-4deg) scale(1.05); }
.mm-brand .logo svg { width: 100%; height: 100%; display: block; filter: brightness(1.15); }
/* Brand name next to logo: Thundem (.mm-brand > span:not(.logo):not(.cn))
   + 象鼎 (.mm-brand .cn). The middle span is bare by design (see brandMark()). */
.mm-brand > span:not(.logo) {
  font-size: 16px; font-weight: 700; color: #f3faf5; letter-spacing: .01em;
  display: inline-block;
}
.mm-brand .cn {
  font-size: 14px; font-weight: 600;
  color: color-mix(in srgb, var(--accent) 60%, #fff);
  margin-left: 4px;
}
.mm-controls {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mm-lang-inline {
  display: flex; flex-wrap: nowrap; gap: 4px; max-width: 200px; overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none; }
.mm-lang-inline::-webkit-scrollbar { display: none; }
.mm-lang-inline button {
  font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: color-mix(in srgb, var(--accent) 75%, #fff);
  cursor: pointer; transition: all .2s; font-family: inherit; white-space: nowrap;
  flex-shrink: 0; }
.mm-lang-inline button:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: #fff;
}
.mm-lang-inline button.active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff; border-color: transparent;
  box-shadow: 0 2px 10px -2px color-mix(in srgb, var(--accent) 60%, transparent);
}
.mm-theme {
  width: 34px !important; height: 34px !important; font-size: 15px !important;
  flex-shrink: 0; }
.mm-close {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: color-mix(in srgb, var(--accent) 80%, #fff);
  font-size: 18px; cursor: pointer; display: grid; place-items: center;
  transition: all .2s; flex-shrink: 0;
}
.mm-close:hover {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(90deg);
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--accent) 55%, transparent);
}
.mm-links {
  display: flex; flex-direction: column; padding: 8px 0; flex: 1; }
.mm-links a {
  font-size: 17px; font-weight: 600; padding: 15px 28px; color: var(--text-muted);
  text-decoration: none; transition: all .2s;
  display: flex; align-items: center; gap: 10px;
  border-left: 3px solid transparent; }
.mm-links a:hover, .mm-links a.active {
  color: var(--text); background: var(--soft);
  border-left-color: var(--accent); padding-left: 24px; }
/* 移动端二级菜单项：缩进 + 左侧引导线，区分层级 */
.mm-sub {
  font-size: 15px; font-weight: 500; padding: 12px 28px 12px 52px; color: var(--text-muted);
  text-decoration: none; transition: all .2s; position: relative;
  border-left: 3px solid transparent; }
.mm-sub::before {
  content: ""; position: absolute; left: 34px; top: 50%; width: 12px; height: 1px;
  background: var(--soft-strong); }
.mm-sub:hover, .mm-sub.active {
  color: var(--accent); background: rgba(46,139,79,.10);
  border-left-color: var(--accent); padding-left: 48px; }
/* 移动端二级菜单：手风琴折叠（默认收起，点击标题行展开） */
.mm-item { display: block; }
.mm-item-head {
  display: flex; align-items: stretch;
  cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.mm-label {
  flex: 1; display: flex; align-items: center;
  padding: 14px 20px;
  font-size: 16px; font-weight: 600; letter-spacing: .02em;
  color: var(--text); transition: color .2s ease;
}
.mm-item-head:hover .mm-label { color: var(--accent); }
.mm-toggle {
  flex: none; display: grid; place-items: center; width: 56px; padding: 0; margin: 0;
  background: none; border: none; border-left: 1px solid var(--soft);
  color: var(--text-muted); cursor: pointer;
}
.mm-toggle .caret { transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
.mm-item.open .mm-toggle .caret { transform: rotate(-135deg) translateY(0); }
.mm-sublist { display: none; flex-direction: column; }
.mm-item.open .mm-sublist { display: flex; }

/* 二级菜单项视觉区分：缩进、小字、弱色、左边线 */
.mm-sublist .mm-sub {
  font-size: 14.5px; font-weight: 500;
  color: var(--text-secondary);
  padding: 11px 20px 11px 44px;
  border-left: 3px solid transparent;
  transition: all .18s ease;
}
.mm-sublist .mm-sub:hover,
.mm-sublist .mm-sub.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(26,92,46,.06);
}
.mm-footer {
  padding: 10px 28px 36px; border-top: 1px solid var(--soft);
  background: rgba(7,11,9,.6); }
.mm-footer .btn-brand { width: 100%; text-align: center; justify-content: center; }

/* ---- Legal pages (Privacy / Terms) ----------------------------------- */
.page-legal { padding-bottom: clamp(64px, 9vw, 120px); }
.legal-body { padding-top: 20px; }
.legal-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; padding-bottom: 16px;
  border-bottom: 1px solid var(--soft); }
.legal-date {
  font-size: 12.5px; color: var(--text-muted);
  letter-spacing: .04em; }
.legal-section {
  margin-bottom: 40px; scroll-margin-top: 80px; }
.legal-section h3 {
  font-family: "Archivo", sans-serif; font-size: 1.2rem; font-weight: 700;
  color: var(--text); display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--soft); }
.sec-icon { font-size: 1.1rem; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.sec-icon .si-dot {
  display: block; width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent); flex-shrink: 0;
}
.legal-section p, .legal-section li {
  font-size: 0.94rem; line-height: 1.75; color: var(--text-muted); }
.legal-section p { margin-bottom: 14px; }
.legal-section ul, .legal-section ol {
  padding-left: 20px; margin-bottom: 14px; }
.legal-section li { margin-bottom: 6px; }
.legal-section strong { color: var(--text); }
.legal-section a { color: var(--accent); text-decoration: underline; }

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 980px) {
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-line { display: none; }
  .precision-grid { grid-template-columns: 1fr; gap: 36px; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-grid .fg-2, .quote-grid .fg-3 { grid-template-columns: 1fr; }
  .case-grid, .know-grid, .about-stats-row__inner { grid-template-columns: repeat(2, 1fr); }
  .about-stats-row__inner .about-stat:nth-child(odd) { border-right: 1px solid var(--hairline, rgba(0,0,0,.10)); }
  .about-stats-row__inner .about-stat:nth-child(even) { border-right: none; }
  .about-feat-grid, .about-value-grid, .about-cert-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-right .quote-cta { display: none; }
  .hamburger { display: grid; }
  /* keep theme button visible; hide region-lang trigger on mobile (moved into hamburger menu) */
  .nav-right .icon-btn.theme { width: 34px !important; height: 34px !important; font-size: 15px !important; }
  .nav-right .region-lang { display: none; }  /* moved to mm-footer inside hamburger */

  /* 二级页移动端：内容区加水平内边距，防止贴边 */
  .gen-page { padding-inline: 16px; }
  /* 材料卡片移动端紧凑化：减少垂直间距 */
  .gen-mat-card { padding: 14px 16px; gap: 12px; }
  .mat-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  /* mobile AI panel: full-width, adaptive height, hide suggestions on small screens */
  .ai-fab { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .ai-panel { right: 8px; left: 8px; bottom: 76px; width: auto; max-width: none;
    height: min(65vh, 480px); }
  /* 屏幕太小时隐藏推荐问题，节省空间 */
  .ai-suggest { display: none !important; }
  /* mobile hero: darker scrim for white text readability */
  .hero { background-position: 30% center, center, center, center; }
  .hero-scrim { background:
    linear-gradient(180deg, rgba(7,11,9,.80) 0%, rgba(7,11,9,.50) 45%, rgba(7,11,9,.25) 70%, var(--bg) 96%); }
  .hero-inner { padding: 100px 18px 36px; text-align: center; align-items: center; }
  .hero .sub { margin: 0 auto 28px; max-width: 560px; }
  .hero-actions { justify-content: center; }
  .hero-video-toggle { bottom: 14px; right: 14px; width: 32px; height: 32px; }
  .hero-video-toggle { bottom: 12px; right: 12px; width: 32px; height: 32px; }
  /* mobile precision: shrink engineering drawing back so it doesn't dominate
     a 360px wide column; keep the wrapper framed and centered */
  .prec-svg-wrap { max-width: 360px; margin-inline: auto; padding: 10px; border-radius: 10px; }
}

/* ---- demo / delivery timeline ------------------------------------ */
.page-demo { padding-bottom: 20px; }
.demo-timeline { position: relative; padding: 50px 0 70px; }
.demo-timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: var(--border); transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 18px 36px; box-sizing: border-box; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 22px; box-shadow: var(--shadow); display: inline-block; text-align: left; max-width: 420px;
}
.tl-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #2e8b4f 100%);
  color: #fff; display: grid; place-items: center; font-weight: 800;
  position: absolute; top: 24px; z-index: 2;
}
.tl-item:nth-child(odd) .tl-num { right: -21px; }
.tl-item:nth-child(even) .tl-num { left: -21px; }
.tl-card h3 { font-size: 17px; margin-bottom: 6px; color: var(--brand); }
.tl-card p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }
@media (max-width: 768px) {
  .demo-timeline::before { left: 21px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 14px 0 14px 52px; }
  .tl-item:nth-child(odd) { text-align: left; }
  .tl-num { left: 0 !important; right: auto !important; top: 18px; }
}

/* ---- Small screen AI tweaks ---- */
@media (max-width: 500px) {
  .ai-suggest { display: none !important; }
  .ai-hint { display: none; }
  .ai-panel { height: min(70vh, 520px); }
}

/* ---- delivery page ------------------------------------------------ */
.page-delivery { padding-bottom: 20px; }
.delivery-steps {
  display: grid; gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  padding: 30px 0 10px;
}
@media (min-width: 720px) { .delivery-steps { grid-template-columns: repeat(4, 1fr); } }
.d-step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.d-step:hover { transform: translateY(-6px); border-color: var(--accent); }
.d-num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(46,139,79,.14); color: var(--accent); font-weight: 800; font-size: 1.05rem;
  margin-bottom: 14px; transition: background .25s ease, color .25s ease;
}
.d-step:hover .d-num { background: var(--brand); color: #fff; }
.d-step-body h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text-main); }
.d-step-body p { font-size: .875rem; color: var(--text-soft); line-height: 1.55; }
.d-table {
  width: 100%; border-collapse: collapse; margin-top: 18px; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.d-table th, .d-table td {
  padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.d-table th { width: 28%; color: var(--text-main); font-weight: 600; background: var(--surface); }
.d-table td { color: var(--text-soft); }
.d-table tr:last-child th, .d-table tr:last-child td { border-bottom: none; }
.d-terms {
  margin-top: 30px; padding: 26px 28px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
.d-terms h2 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-main); }
.d-terms p { font-size: .9rem; color: var(--text-soft); line-height: 1.7; }

/* ---- Equipment detail page -------------------------------------------- */
.page-equipment { padding-bottom: 40px; }
.page-equipment-single { padding-top: 40px; }
.eq-machine { padding: 30px 0 50px; border-top: 1px solid var(--border); }
.eq-brief { max-width: 720px; margin: 12px 0 0; font-size: 1rem; line-height: 1.6; color: var(--text-soft); font-weight: 500; }
.eq-gallery { margin: 24px 0 8px; }
.eq-hero { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); aspect-ratio: 16 / 10; }
.eq-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eq-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.eq-thumb { border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--surface); aspect-ratio: 4 / 3; transition: border-color .2s, transform .2s; }
.eq-thumb:hover { border-color: var(--soft); transform: translateY(-1px); }
.eq-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(26,92,46,.15); }
.eq-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .eq-thumbs { grid-template-columns: repeat(2, 1fr); } }
.eq-machine:first-of-type { border-top: none; }
.eq-header { margin-bottom: 34px; }
.eq-header .eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.eq-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin: 10px 0 14px; color: var(--text-main); }
.eq-intro { max-width: 720px; font-size: .95rem; line-height: 1.75; color: var(--text-soft); }

/* Single-machine hero layout */
.eq-hero-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; max-width: 1240px; margin: 0 auto 40px; padding: 0 20px; }
.eq-hero-text { order: 1; }
.eq-hero-visual { order: 2; }
.eq-hero-text .eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); margin-bottom: 14px; }
.eq-hero-text .eq-title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 8px 0 16px; line-height: 1.1; }
.eq-hero-text .eq-brief { font-size: 1.05rem; line-height: 1.7; color: var(--text-soft); margin: 0 0 24px; max-width: 540px; }
.eq-key-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 28px; }
.eq-key-spec { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.eq-key-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); margin-bottom: 5px; }
.eq-key-value { display: block; font-size: 1.05rem; font-weight: 700; color: var(--text-main); }
.eq-hero-visual .eq-hero { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: 0 28px 70px -30px rgba(0,0,0,.45); }
.eq-intro-block { margin-bottom: 10px; }
.eq-intro-block .eq-intro { max-width: 100%; font-size: 1rem; line-height: 1.85; }
@media (max-width: 980px) {
  .eq-hero-layout { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .eq-hero-text { order: 2; }
  .eq-hero-visual { order: 1; max-width: 640px; }
  .eq-key-specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .eq-hero-layout { padding: 0 16px; }
  .eq-key-specs { grid-template-columns: 1fr; }
}

.eq-section { margin-top: 36px; padding: 26px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.eq-sec-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; color: var(--text-main); }
.eq-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.eq-feat { padding: 16px 18px 16px 44px; background: var(--surface-2, rgba(255,255,255,.5)); border-radius: 12px; font-size: .9rem; line-height: 1.65; color: var(--text-soft); position: relative; }
.eq-feat::before { content: "◆"; position: absolute; left: 18px; top: 17px; color: var(--accent); font-size: 11px; }
.eq-spec-table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.eq-th, .eq-td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .88rem; }
.eq-th { width: 38%; color: var(--text-main); font-weight: 600; background: var(--surface); white-space: nowrap; }
.eq-td { color: var(--text-soft); }
.eq-spec-table tr:last-child .eq-th,
.eq-spec-table tr:last-child .eq-td { border-bottom: none; }
.eq-tool-types { display: grid; gap: 20px; margin-top: 8px; }
.eq-tool-type { background: var(--surface-2, rgba(255,255,255,.5)); border-radius: 14px; padding: 22px 24px; border: 1px solid var(--border); }
.eq-tool-name { font-size: .95rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.eq-tool-table { width: 100%; border-collapse: collapse; }
.eq-tool-table td { padding: 9px 12px; font-size: .85rem; border-bottom: 1px solid var(--border); color: var(--text-soft); }
.eq-tool-table tr:last-child td { border-bottom: none; }
.eq-tk { width: 55%; color: var(--text-main); font-weight: 500; }
.eq-source {
  margin-top: 40px; padding: 28px 30px; border: 1.5px dashed var(--accent); border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 4%, transparent);
  position: relative; overflow: hidden;
}
.eq-source::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent); border-radius: 4px 0 0 4px;
}
.eq-source-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.eq-source-icon { font-size: 1.15rem; }
.eq-source-label { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.eq-source-name { font-size: 1rem; color: var(--text); margin-bottom: 8px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eq-source-badge {
  display: inline-flex; align-items: center; padding: 3px 10px; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent);
  border-radius: 999px; vertical-align: middle;
}
.eq-source-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; max-width: 680px; }
.eq-official-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px; font-size: .92rem; font-weight: 700; letter-spacing: .01em;
  color: #fff; background: var(--accent); border: none; border-radius: 12px;
  text-decoration: none; transition: all .22s ease;
}
.eq-official-link:hover { background: var(--brand); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,92,46,.25); }

/* ---- 统一导航：博客/非 app 页主体留白 --------------------------------
   顶栏（.nav-wrap）为 fixed 脱离文档流，app 页由 hero 内边距承担；
   博客等 WP 原生页主体为 #main，需单独下移避免被固定导航遮挡。 */
body[data-page="blog"] #main { padding-top: 76px; }
