/* ============================================================
   SteadiVolt — steady power, certified quality
   设计系统：深蓝黑底 + 工业琥珀强调色（电源/认证行业语汇）
   所有颜色与尺寸走 CSS 变量，换配色只改 :root 一处
   ============================================================ */
:root {
  /* ── Palette：合并 GPT 方案（深海军蓝＋合规绿）与本项目差异化强调色（工业琥珀）
     ——结构规则（1200栅格、边框优先于阴影、96/64节奏、圆角12）采纳 GPT 方案 */
  --ink:            #101B2A;   /* deep base — hero/dark sections（GPT: #16202B 同族） */
  --ink-2:          #16232F;   /* elevated dark surface */
  --ink-3:          #24313F;   /* dark border/card */
  --paper:          #FFFFFF;   /* light section background */
  --paper-2:        #F7F9FC;   /* subtle light surface（GPT 指定） */
  --text:           #111827;   /* primary text on light（GPT 指定） */
  --text-soft:      #4B5563;   /* secondary text on light（GPT 指定） */
  --text-inv:       #F7F9FC;   /* primary text on dark */
  --text-inv-soft:  #AEBBCB;   /* secondary text on dark */
  --accent:         #FFB020;   /* energy / amber — 主 CTA、能量语汇（差异化） */
  --accent-strong:  #E89400;
  --accent-ink:     #1A1204;   /* text on amber */
  --verify:         #0F766E;   /* certification / trust green（GPT 指定） */
  --ok:             #17A673;   /* verified / success */
  --line:           #E2E6EC;   /* card & divider border */
  --line-strong:    #D1D5DB;   /* inputs, stronger dividers（GPT 指定） */
  --line-inv:       rgba(255,255,255,0.10);

  /* Type（尺寸采纳 GPT 方案） */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --h1: clamp(2.25rem, 4.4vw, 3.5rem);   /* 36 → 56 */
  --h2: clamp(1.75rem, 3vw, 2.5rem);     /* 28 → 40 */
  --h3: clamp(1.25rem, 1.6vw, 1.5rem);   /* 20 → 24 */
  --lead: clamp(1.02rem, 1.3vw, 1.16rem);
  --body: 1rem;
  --small: 0.8125rem;

  /* Layout（采纳 GPT 方案） */
  --wrap: 1200px;
  --pad-y: clamp(64px, 7vw, 96px);
  --gap: clamp(16px, 2vw, 28px);
  --r: 12px;
  --r-sm: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: var(--body); line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 760; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--verify); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.section { padding-block: var(--pad-y); }
.section--dark { background: var(--ink); color: var(--text-inv); }
.section--soft { background: var(--paper-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--accent); }
.lead { font-size: var(--lead); color: var(--text-soft); max-width: 62ch; }
.section--dark .lead { color: var(--text-inv-soft); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .97rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { border-color: var(--line-inv); color: var(--text-inv); }
.btn--ghost:hover { border-color: rgba(255,255,255,.35); }
.btn--outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn--outline:hover { border-color: var(--text); }
.btn--wa { background: #25D366; color: #06331B; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,18,32,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-inv);
}
.nav__inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text-inv); font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand__name { font-size: 1.1rem; }
.brand__tag { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-inv-soft); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: var(--text-inv-soft); font-size: .93rem; font-weight: 600; }
.nav__links a:hover { color: var(--text-inv); }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-inv); color: var(--text-inv); border-radius: 8px; padding: 8px 12px; }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--text-inv); overflow: hidden; }
.hero__inner { position: relative; padding-block: clamp(84px, 12vw, 148px) clamp(56px, 8vw, 96px); }
.hero h1 { font-size: var(--h1); max-width: 20ch; }
.hero__sub { font-size: var(--lead); color: var(--text-inv-soft); max-width: 58ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__note { font-size: var(--small); color: var(--text-inv-soft); }

/* Trust bar */
.trust { border-top: 1px solid var(--line-inv); background: var(--ink-2); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-inv); }
.trust__item { background: var(--ink-2); padding: 22px 20px; }
.trust__k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.trust__v { font-weight: 700; color: var(--text-inv); }

/* Cards */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: #C9D3E0; transform: translateY(-2px); }
.card__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; font-weight: 800; color: var(--accent-strong); margin-bottom: 14px; }
.section--dark .card { background: var(--ink-2); border-color: var(--ink-3); }
.section--dark .card h3 { color: var(--text-inv); }
.section--dark .card p { color: var(--text-inv-soft); }

/* Media blocks */
.media { border-radius: var(--r); overflow: hidden; background: var(--ink-2); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media--wide img { aspect-ratio: 16 / 9; }
.media__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; font-size: .88rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(8,13,22,.88)); color: #fff; }
.media-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--gap); }
.media-grid__side { display: grid; gap: var(--gap); }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.product { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.product img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.product__body { padding: 20px 22px 24px; }
.product__body h3 { margin-bottom: 6px; }
.product__body p { color: var(--text-soft); font-size: .95rem; margin: 0; }
.product__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--verify); margin-bottom: 8px; }

/* Certifications */
.certs { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 16px; }
.cert {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 10px 18px; font-weight: 700; font-size: .9rem; color: var(--text);
}
.cert--pending { border-style: dashed; color: var(--text-soft); font-weight: 600; }
.note { font-size: var(--small); color: var(--text-soft); border-left: 3px solid var(--accent); padding-left: 14px; margin-top: 10px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; font-size: 1.5rem; font-weight: 800; color: var(--accent);
  letter-spacing: -0.03em;
}
.step h3 { font-size: 1.06rem; }
.step p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-strong); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--text-soft); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact__box { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r); padding: 28px; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text-inv-soft); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .94rem; }
.kv dt { color: var(--text-inv-soft); }
.kv dd { margin: 0; color: var(--text-inv); font-weight: 600; word-break: break-word; }

/* Footer */
.footer { background: var(--ink); color: var(--text-inv-soft); border-top: 1px solid var(--line-inv); padding-block: 46px 30px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 26px; }
.footer h4 { color: var(--text-inv); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer__bottom { border-top: 1px solid var(--line-inv); padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }

/* Reveal on scroll（动效时长采纳 GPT 规范：240–320ms，克制不花哨） */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .32s var(--ease), transform .32s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--ink-2); padding: 18px 22px 24px; gap: 14px; border-bottom: 1px solid var(--line-inv);
  }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .grid--3, .grid--2, .grid--4, .products, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── 组件补充：跳过链接 / 证书槽 / 图片容错 / 其他可选项 ── */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip:focus { left: 0; }

section[id], main [id] { scroll-margin-top: 84px; }

.also { margin-top: 34px; }
.also h3 { font-size: 1.06rem; margin-bottom: 12px; }

.cert-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cert-slot {
  border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--paper-2);
  min-height: 132px; display: grid; place-items: center; text-align: center; padding: 18px;
  color: var(--text-soft); font-size: .9rem; font-weight: 600;
}
.img-fallback {
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 10px, #EEF2F7 10px, #EEF2F7 20px);
  color: var(--text-soft); font-weight: 700; font-size: .92rem;
}
.img-fallback small { font-weight: 500; color: var(--text-soft); }
.product img { aspect-ratio: 16 / 10; }
.kv a { color: var(--text-inv); text-decoration: underline; text-underline-offset: 3px; }
.kv a:hover { color: var(--accent); }
code { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .88em; }
@media (max-width: 1000px) { .cert-slots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .cert-slots { grid-template-columns: 1fr; } }

/* ============================================================
   2026-10 改版
   ① 首屏：简洁高级（深色渐变 + 产品图），彻底去掉视频
   ② 产品区：有认证的型号 + 认证件实拍图（透明 PNG）
   ③ 认证对照表（系列 ↔ 型号 ↔ 持证 ↔ 证书号）
   ============================================================ */

/* ① 首屏 */
.hero {
  background:
    radial-gradient(120% 100% at 78% 14%, rgba(255,176,32,.16) 0%, rgba(255,176,32,0) 55%),
    radial-gradient(90% 80% at 10% 92%, rgba(15,118,110,.24) 0%, rgba(15,118,110,0) 60%),
    linear-gradient(160deg, #0C1522 0%, #101B2A 46%, #17242F 100%);
  border-bottom: 1px solid var(--line-inv);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  grid-template-areas: "top visual" "rest visual";
  gap: clamp(18px, 3vw, 48px) clamp(24px, 4vw, 56px); align-items: center;
  padding-block: clamp(56px, 8vw, 108px);
}
.hero__top { grid-area: top; }
.hero__rest { grid-area: rest; }
.hero__visual { grid-area: visual; align-self: center; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: -0.03em; margin-bottom: .45em; }
.hero__sub { font-size: var(--lead); color: var(--text-inv-soft); max-width: 46ch; margin-bottom: 22px; }
.hero__facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 9px; }
.hero__facts li { position: relative; padding-left: 22px; color: var(--text-inv-soft); font-size: .95rem; }
.hero__facts li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; border-radius: 3px; background: var(--accent);
}
.hero__facts span { color: var(--text-inv); font-weight: 700; }
.hero__visual { display: grid; place-items: center; }
.hero__visual img {
  width: 100%; height: auto; max-height: 440px; object-fit: contain;
  filter: drop-shadow(0 28px 56px rgba(0,0,0,.55));
}
@media (max-width: 900px) {
  /* 手机竖屏：标题 → 产品图 → 简介 → 按钮 → 参数（保证按钮落在首屏内） */
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "visual" "rest";
    padding-block: 34px 32px; gap: 14px;
  }
  .hero h1 { font-size: clamp(1.85rem, 7.6vw, 2.3rem); }
  .hero__visual img { max-height: 200px; }
  .hero__rest { display: flex; flex-direction: column; }
  .hero__sub { order: 1; max-width: none; margin-top: 2px; }
  .hero__cta { order: 2; margin-bottom: 22px; }
  .hero__facts { order: 3; }
  .hero__facts li { font-size: .9rem; }
}
@media (max-width: 760px) {
  /* 手机上给导航加一个紧凑的询价按钮（采购方第一眼就能点）；
     但用描边样式，避免与首屏主 CTA 抢焦点 */
  .nav__cta {
    display: inline-flex; margin-left: 8px; padding: 9px 15px; min-height: 40px; font-size: .85rem;
    background: transparent; border-color: rgba(255,255,255,.32); color: var(--text-inv);
  }
  .nav__cta:hover { background: rgba(255,255,255,.07); }
  .nav__toggle { padding: 8px 11px; }
  .nav__inner { gap: 12px; }
}
@media (max-width: 560px) { .brand__tag { display: none; } }

/* 产品图背后加一层柔和光晕，减少"飘"的感觉 */
.hero__visual { position: relative; }
.hero__visual::before {
  content: ""; position: absolute; inset: -12% -6%;
  background: radial-gradient(50% 50% at 50% 46%, rgba(255,176,32,.20) 0%, rgba(255,176,32,0) 72%);
}
.hero__visual img { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .hero__cta .btn { width: 100%; }
}

/* ② 产品卡：透明产品图 + 规格 + 认证信息 */
.product__media {
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 16px;
  background: linear-gradient(180deg, #F1F5FA 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}
.product__media img {
  width: 100%; height: 100%; object-fit: contain; aspect-ratio: auto;
  border-radius: 0;
}
.product--custom .product__media { background: linear-gradient(180deg, #E9EEF5 0%, #FFFFFF 100%); }
.product .spec { list-style: none; padding: 0; margin: 10px 0 12px; display: grid; gap: 6px; }
.product .spec li { position: relative; padding-left: 15px; font-size: .89rem; color: var(--text-soft); line-height: 1.5; }
.product .spec li::before { content: "·"; position: absolute; left: 3px; color: var(--accent-strong); font-weight: 800; }
.product .spec strong { color: var(--text); }
.cert-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0; padding-top: 11px; border-top: 1px dashed var(--line);
  font-size: .8rem; color: var(--text-soft);
}
.cert-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(15,118,110,.10); border: 1px solid rgba(15,118,110,.28);
  color: var(--verify); font-weight: 700; font-size: .73rem; letter-spacing: .02em; white-space: nowrap;
}
.cert-badge--soft { background: var(--paper-2); border-color: var(--line); color: var(--text-soft); }

/* ③ 认证对照表 */
.cert-table {
  margin-top: 30px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.cert-row {
  display: grid; grid-template-columns: .7fr 1.5fr 1.7fr 1.2fr;
  gap: 14px; padding: 15px 18px; border-top: 1px solid var(--line); font-size: .89rem;
}
.cert-row--head {
  border-top: 0; background: var(--paper-2); color: var(--text-soft);
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.cert-row > span { min-width: 0; overflow-wrap: anywhere; }
.cert-row:nth-child(odd):not(.cert-row--head) { background: #FCFDFE; }
@media (max-width: 900px) {
  .cert-row { grid-template-columns: 1fr; gap: 3px; padding: 14px 16px; }
  .cert-row--head { display: none; }
  .cert-row > span:nth-child(1) { font-size: 1rem; margin-bottom: 2px; }
  .cert-row > span:nth-child(2)::before { content: "Models: "; color: var(--text-soft); }
  .cert-row > span:nth-child(3)::before { content: "Held: "; color: var(--text-soft); }
  .cert-row > span:nth-child(4)::before { content: "Cert nos: "; color: var(--text-soft); }
}


/* ============================================================
   2026-10 修订
   ① 首屏视频按需加载（手机不加载视频，杜绝系统播放器接管）
   ② 主推产品前置：4 款一行
   ③ 工厂事实条
   ④ 手机竖屏（≤760px）布局细化
   ============================================================ */

/* ① 首屏媒体层：海报为底，视频只在激活后显示 */
/* .btn 的 display:inline-flex 会盖掉 [hidden] 的 UA 样式，必须显式声明 */
.hero__play[hidden] { display: none; }

/* ② 4 款主推：桌面 4 列 → 平板 2 列 → 手机 1 列 */
.products--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .products--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .products--four { grid-template-columns: 1fr; } }

/* ③ 工厂事实条 */
.fact-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; margin-top: 34px;
}
.fact { background: #fff; padding: 18px 20px; }
.fact__k {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--verify); font-weight: 700; margin-bottom: 6px;
}
.fact__v { font-weight: 700; color: var(--text); }
@media (max-width: 1000px) { .fact-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .fact-strip { grid-template-columns: 1fr; } }

/* ④ 手机竖屏细化 */
@media (max-width: 760px) {
  .hero__inner { padding-block: 64px 44px; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); max-width: none; }
  .hero__sub { font-size: 1rem; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn, .hero__play { width: 100%; }
  /* 竖屏下把画面重心略上移，避免只看到地面/天花板 */
  /* 联系信息在窄屏改为上下堆叠，避免两列挤压换行 */
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 10px; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
  .kv dd { margin-bottom: 2px; }
  .trust__item { padding: 18px 16px; }
  .contact__box { padding: 22px; }
  .footer__grid { gap: 20px; }
  .section { padding-block: 56px; }
}

/* ============================================================
   2026-10 动效：首屏加载进场 + 滚动进场增强
   原则：克制的位移（14–22px）、0.45–0.85s、无弹跳回弹；尊重 prefers-reduced-motion
   ============================================================ */

@keyframes riseIn { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes glideIn { from { opacity: 0; transform: translate3d(34px, 10px, 0) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes glowSoft { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

/* ① 首屏：加载即播，节奏放慢（v2：时长 ×1.4、延迟 ×2） */
.hero__top .eyebrow { animation: riseIn .72s var(--ease) .10s both; }
.hero h1            { animation: riseIn .96s var(--ease) .24s both; }
.hero__visual img   { animation: glideIn 1.25s var(--ease) .38s both; }
.hero__sub          { animation: riseIn .84s var(--ease) .58s both; }
.hero__facts li     { animation: riseIn .74s var(--ease) both; }
.hero__facts li:nth-child(1) { animation-delay: .74s; }
.hero__facts li:nth-child(2) { animation-delay: .88s; }
.hero__facts li:nth-child(3) { animation-delay: 1.02s; }
.hero__cta .btn     { animation: riseIn .74s var(--ease) both; }
.hero__cta .btn:nth-child(1) { animation-delay: 1.18s; }
.hero__cta .btn:nth-child(2) { animation-delay: 1.32s; }
.hero__visual::before { animation: glowSoft 9s ease-in-out 1.8s infinite; }

/* ② 滚动进场 + 退场（v2：放慢，并按"退出方向"给不同位移） */
.reveal {
  opacity: 0; transform: translate3d(0, 22px, 0);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* 向上滚出视口 → 向上淡出；向下滚出视口 → 向下淡出（位移更自然） */
.reveal.is-out-top { opacity: 0; transform: translate3d(0, -18px, 0); }
.reveal.is-out-bottom { opacity: 0; transform: translate3d(0, 22px, 0); }

.grid > .reveal:nth-child(2) { transition-delay: .12s; }
.grid > .reveal:nth-child(3) { transition-delay: .24s; }
.grid > .reveal:nth-child(4) { transition-delay: .36s; }

/* 产品卡：容器进场后，四张卡依次浮起（放慢） */
.products .product {
  opacity: 0; transform: translate3d(0, 24px, 0) scale(.985);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.products.is-in .product { opacity: 1; transform: none; }
.products.is-in .product:nth-child(2) { transition-delay: .14s; }
.products.is-in .product:nth-child(3) { transition-delay: .28s; }
.products.is-in .product:nth-child(4) { transition-delay: .42s; }
/* 产品区退场时也逐张收回 */
.products.is-out-top .product:nth-child(2), .products.is-out-bottom .product:nth-child(2) { transition-delay: .10s; }
.products.is-out-top .product:nth-child(3), .products.is-out-bottom .product:nth-child(3) { transition-delay: .20s; }
.products.is-out-top .product:nth-child(4), .products.is-out-bottom .product:nth-child(4) { transition-delay: .30s; }

/* 工厂事实条 */
.fact-strip.is-in .fact { animation: riseIn .74s var(--ease) both; }
.fact-strip.is-in .fact:nth-child(2) { animation-delay: .14s; }
.fact-strip.is-in .fact:nth-child(3) { animation-delay: .28s; }
.fact-strip.is-in .fact:nth-child(4) { animation-delay: .42s; }

/* 认证对照表逐行进场 */
.cert-table.is-in .cert-row { animation: riseIn .68s var(--ease) both; }
.cert-table.is-in .cert-row:nth-child(2) { animation-delay: .12s; }
.cert-table.is-in .cert-row:nth-child(3) { animation-delay: .24s; }
.cert-table.is-in .cert-row:nth-child(4) { animation-delay: .36s; }
.cert-table.is-in .cert-row:nth-child(5) { animation-delay: .48s; }

/* FAQ 逐条浮现 */
.faq.is-in details { animation: riseIn .68s var(--ease) both; }
.faq.is-in details:nth-child(2) { animation-delay: .12s; }
.faq.is-in details:nth-child(3) { animation-delay: .24s; }
.faq.is-in details:nth-child(4) { animation-delay: .36s; }
.faq.is-in details:nth-child(5) { animation-delay: .48s; }
.faq.is-in details:nth-child(6) { animation-delay: .60s; }

/* ③ 首屏整体退场：滚离首屏时整块向上淡出（对 .hero__grid 做过渡，避免与子元素动画冲突） */
.hero__grid { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero--away .hero__grid { opacity: 0; transform: translate3d(0, -22px, 0); }

/* ④ 兜底：JS 未执行时内容必须可见（不能停在 opacity:0） */
html:not(.js) .reveal,
html:not(.js) .products .product,
html:not(.js) .fact-strip .fact,
html:not(.js) .cert-table .cert-row,
html:not(.js) .faq details { opacity: 1 !important; transform: none !important; }

/* ⑤ 减少动效偏好：全部关闭 */
/* ⑥ 产品卡微调（2026-10 视觉评审后）
   · 卡片内容等高：认证行固定在卡片底部，四张卡底边对齐
   · "Certification per project" 徽标提高对比度，与绿色 CE 徽标形成清晰双态 */
.product__body { display: flex; flex-direction: column; flex: 1 1 auto; }
.product .spec { margin-bottom: 14px; }
.cert-line { margin-top: auto; font-size: .84rem; }
.cert-badge { font-size: .75rem; padding: 4px 11px; }
.cert-badge--soft {
  background: rgba(255,176,32,.16);
  border-color: rgba(255,176,32,.50);
  color: #8A5A00;
}

/* ============================================================
   2026-10-12 · 视觉改版：做减法 + 两套配色
   ─────────────────────────────────────────────────────────────
   A（默认）深空黑 + 电光青      B（?theme=b）暖黑 + 高饱和橙红
   切换方式：URL 加 ?theme=b（见 index.html 内联脚本）
   语义色恒定：CE/RoHS 徽标＝绿系；Certification per project＝琥珀系
   ============================================================ */

/* ── 配色（定稿）：暖黑 + 高饱和橙红 ──
   2026-10-12 由工厂确认选用方案 B；方案 A（深空黑＋电光青）已移除，改配色请直接改这里 */
:root {
  --ink:            #0B0A0C;
  --ink-2:          #16110D;
  --ink-3:          #2B211B;
  --paper-2:        #F7F5F2;
  --text-soft:      #6B6259;
  --text-inv:       #FFFFFF;
  --text-inv-soft:  #BCAEA2;
  --accent:         #FF5A1F;   /* 橙红：主 CTA */
  --accent-strong:  #E64A12;
  --accent-ink:     #1A0A03;   /* 橙红底上的文字 */
  --verify:         #14B87A;   /* 认证绿（语义色，勿改语义） */
  --line:           #E9E3DD;
  --line-strong:    #D3C9C1;
  --glow-a:         rgba(255,90,31,.22);
  --glow-b:         rgba(255,197,61,.18);
}

/* 首屏背景随主题走（用变量拼渐变，切换主题自动生效） */
.hero {
  background:
    radial-gradient(120% 100% at 78% 14%, var(--glow-a) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(90% 80% at 10% 92%, var(--glow-b) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 48%, var(--ink-3) 100%);
}
.trust { background: var(--ink-2); }

/* 认证徽标：绿系（已持证）／琥珀系（按项目）——两套主题下都保持区分 */
.cert-badge {
  background: color-mix(in srgb, var(--verify) 12%, #fff);
  border-color: color-mix(in srgb, var(--verify) 40%, #fff);
  color: color-mix(in srgb, var(--verify) 60%, #000);   /* 加深一档：小字对比度 ≥4.5:1 */
}
@supports not (background: color-mix(in srgb, red 10%, #fff)) {
  .cert-badge { background: #E7F6F0; border-color: #A9DFCB; color: #0B6E50; }
}
.cert-badge--soft {
  background: #FFF4DE;
  border-color: #F0C173;
  color: #7A4E00;
}

/* ── 版式减法：层级收紧、留白变小、噪音元素弱化 ── */
:root {
  --h1: clamp(2rem, 3.9vw, 3.05rem);
  --h2: clamp(1.55rem, 2.5vw, 2.05rem);
  --h3: clamp(1.12rem, 1.35vw, 1.32rem);
  --lead: clamp(.98rem, 1.15vw, 1.06rem);
  --pad-y: clamp(48px, 5.4vw, 74px);
}
.section { padding-block: var(--pad-y); }
.lead { max-width: 58ch; }
.card { padding: 22px 22px 20px; }
.card p { font-size: .92rem; line-height: 1.62; }
.card__ico {
  font-size: .72rem; letter-spacing: .12em; opacity: .55; margin-bottom: 10px;
}
.media__cap { font-size: .76rem; }
.fact { padding: 15px 18px; }
.fact__k { font-size: .68rem; }
.fact__v { font-size: .95rem; }
.step h3, .card h3 { margin-bottom: .35em; }
.trust__item { padding: 16px 18px; }
.trust__k { font-size: .68rem; }
.trust__v { font-size: 1.02rem; }
.faq summary { font-size: .98rem; }
.faq details p { font-size: .9rem; }
.also h3 { font-size: .95rem; margin-bottom: 10px; }
.cert { font-size: .78rem; padding: 4px 10px; }
.note { font-size: .82rem; }
.kv dt { font-size: .78rem; }
.kv dd { font-size: .92rem; }
.section--soft { background: var(--paper-2); }
/* 深色区与浅色区之间的硬边界改细，减少视觉噪音 */
.section--dark { border-top: 1px solid rgba(255,255,255,.06); }

@media (max-width: 760px) {
  :root { --pad-y: 40px; }
  .card { padding: 18px; }
  .hero h1 { font-size: clamp(1.8rem, 7.4vw, 2.2rem); }
}

/* ── 对比度加固：小字号文字用"深一档"的同色系，达到 4.5:1 以上 ──
   语义不变：绿系＝已持证，琥珀系＝按项目 */
:root {
  --eyebrow:  #A8390C;   /* 浅底上的小标题（暖黑＋橙红方案） */
  --verify-ink: #0A6B4F; /* 浅底上的绿色小字 */
}
.eyebrow { color: var(--eyebrow); }
.section--dark .eyebrow { color: var(--accent); }
.fact__k { color: var(--verify-ink); }
.trust__k { color: var(--accent); }

/* 三张"为什么"卡片的编号块减重：40px 实心块 → 28px 描边块 */
.card__ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: transparent; border: 1px solid currentColor;
  font-size: .68rem; font-weight: 700; opacity: .8; margin-bottom: 12px;
}

/* ============================================================
   2026-10-12 · 3D 渲染素材接入
   · 产品卡主图换成 3D 渲染（WebP，无色偏）；卡片底色按各渲染图的
     影棚渐变精确对齐（顶/底色取自渲染图四角采样），做到无缝满版
   · 每张卡附"360° 转台"点播视频：默认不加载、不自动播放（手机安全）
   ============================================================ */
.product__media--render { padding: 0; overflow: hidden; }
.product__media--render img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* 各卡底色 = 对应 3D 渲染图的影棚渐变（采样值）
   注意：只在 .product__media--render（3D 渲染模式）下生效；
   展示图改用实拍（.product__media 默认浅底）时不受影响 */
.products .product:nth-child(1) .product__media--render { background: linear-gradient(180deg, #3E4042 0%, #B1B3B4 100%); }
.products .product:nth-child(2) .product__media--render { background: linear-gradient(180deg, #76787F 0%, #C0C2C4 100%); }
.products .product:nth-child(3) .product__media--render { background: linear-gradient(180deg, #71737A 0%, #B9BBBC 100%); }
.products .product:nth-child(4) .product__media--render { background: linear-gradient(180deg, #7B7D82 0%, #BABBBD 100%); }

/* 360° 点播 */
.product__media { position: relative; }
.product__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: none; background: #C6C6C6;
}
.product__media.is-playing .product__video { display: block; }
.product__media.is-playing img { visibility: hidden; }
.spin-btn {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 600;
  color: #0B1017; background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.14);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.spin-btn:hover { background: #fff; transform: translateY(-1px); }
.spin-btn::before {
  content: ""; width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
}

/* ============================================================
   2026-10-12 · 学习成熟开源项目后的落地改进
   来源：sanitize.css（CC0）· modern-css-reset（MIT）· Open Props（MIT）· Lucide（ISC）
   ─────────────────────────────────────────────────────────────
   ① 补齐 3 条基础规则 —— 逐条比对 sanitize.css / modern-css-reset 后确认本站缺失
   ② 焦点可见环 —— 之前只有 color 变化，键盘用户不够明显
   ③ 图标 —— Lucide 内联 sprite，跟随文字颜色、统一描边
   ============================================================ */

/* ① 基础规则补齐 */
:root {
  -webkit-tap-highlight-color: transparent;   /* 去掉 iOS 点击灰色高亮 */
  -webkit-text-size-adjust: 100%;             /* 防止横屏字号被放大 */
  text-size-adjust: 100%;
}
body { min-height: 100vh; }
svg:not([fill]) { fill: currentColor; }

/* ② 焦点可见环（键盘可访问性） */
:root { --accent-ring: rgba(255,90,31,.45); }
:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; }
.nav__toggle:focus-visible, .spin-btn:focus-visible { outline-color: var(--accent); }

/* ③ 图标 */
.ico {
  width: 1.15em; height: 1.15em; flex: 0 0 auto;
  display: inline-block; vertical-align: -.18em; pointer-events: none;
}
.trust__item .ico { display: block; width: 22px; height: 22px; margin-bottom: 6px; color: var(--accent); }
.card__ico .ico { width: 15px; height: 15px; }
svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ============================================================
   2026-10-13 · 苹果式整体风格 + 画幅增大 + 文字减量
   思路：画幅与字号整体放大 / 去掉卡片边框与分割线等"视觉噪音" /
        留白加倍 / 导航毛玻璃 / 按钮改胶囊与文字链 / 纯色大色块
   ============================================================ */

/* ① 画幅与尺度 */
:root {
  --wrap: 1480px;                                  /* 1200 → 1480 */
  --h1: clamp(2.9rem, 6.2vw, 5.2rem);
  --h2: clamp(2.05rem, 4vw, 3.5rem);
  --h3: clamp(1.35rem, 1.9vw, 1.8rem);
  --lead: clamp(1.1rem, 1.6vw, 1.45rem);
  --pad-y: clamp(92px, 9.5vw, 170px);
  --gap: clamp(22px, 2.6vw, 40px);
  --r: 20px;
  --r-sm: 14px;
  --small: 0.86rem;
}
.wrap { padding-inline: clamp(20px, 5vw, 56px); }
.section { padding-block: var(--pad-y); }
h1, h2, h3, .hero h1 { letter-spacing: -0.035em; }
h2 { max-width: 24ch; }

/* ② 导航：更浓的毛玻璃（苹果标志性） */
.nav {
  background: rgba(11, 10, 12, .70);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner { min-height: 62px; }
.nav__links a { font-weight: 500; opacity: .92; }

/* ③ 去边框：卡片、产品、认证行、图片块 */
.card {
  background: transparent; border: 0; border-radius: 0;
  padding: 0; transition: none;
}
.card:hover { transform: none; }
.section--dark .card { background: transparent; border: 0; }
.card__ico {
  width: auto; height: auto; border: 0; border-radius: 0; background: transparent;
  font-size: 0; opacity: 1; margin-bottom: 18px;
}
.card__ico .ico, .card__ico svg { width: 30px; height: 30px; color: var(--accent); }
.card p { font-size: 1.02rem; line-height: 1.6; }
.card h3 { margin-bottom: .4em; }

.product { border: 0; background: transparent; }
.product__media {
  padding: 6px; aspect-ratio: 4 / 3;
  background: #FFFFFF; border-bottom: 0; border-radius: var(--r-sm);
}
.product__body { padding: 22px 4px 0; }
.cert-line { border-top: 0; padding-top: 4px; }
.media { border-radius: var(--r); }
.media img { border-radius: var(--r); }

/* ④ 按钮：苹果式"文字链 + 箭头" */
.btn--ghost {
  border: 0; padding: 8px 0; min-height: 0; color: var(--accent);
  background: transparent; font-weight: 600;
}
.btn--ghost:hover { transform: none; color: #fff; }
.btn--ghost::after { content: "›"; font-size: 1.25em; line-height: 1; margin-left: 2px; }
.btn--outline { border: 0; background: transparent; color: var(--accent-strong); padding: 8px 0; min-height: 0; }
.btn--primary { padding: 16px 34px; font-size: 1.03rem; }

/* ⑤ 数字要大：信任条 / 事实条 */
.trust__item { padding: 26px 22px; }
.trust__k { font-size: .72rem; letter-spacing: .16em; }
.trust__v { font-size: 1.42rem; letter-spacing: -0.02em; }
.fact { padding: 20px 0; }
.fact__v { font-size: 1.18rem; }
.fact__k { letter-spacing: .16em; }

/* ⑥ 小标题与清单：字距更大、符号更轻 */
.eyebrow { letter-spacing: .2em; font-size: .74rem; }
.product .spec li { padding-left: 18px; font-size: .95rem; }
.product .spec li::before { content: "—"; left: 0; color: var(--text-soft); font-weight: 400; }
.cert { border: 0; background: var(--paper-2); color: var(--text); }
.cert-badge { font-size: .8rem; padding: 5px 13px; }
.media__cap { padding: 14px 4px 0; background: none; color: var(--text); font-size: .84rem; }
.lead { max-width: 54ch; }
.note { border-left: 0; padding-left: 0; font-size: .9rem; }
.step { border-top: 0; }
.kv dt { letter-spacing: .14em; }

@media (max-width: 900px) {
  :root { --pad-y: 64px; --wrap: 100%; }
  .trust__v { font-size: 1.2rem; }
}

/* ⑦ 首屏产品图：更大 + 圆角 + 投影（深底上的"生白方块"变成有设计的面板） */
.hero__visual img {
  max-height: clamp(320px, 34vw, 560px);
  border-radius: var(--r);
  box-shadow: 0 34px 90px rgba(0,0,0,.5), 0 2px 0 rgba(255,255,255,.04) inset;
}
@media (max-width: 900px) { .hero__visual img { max-height: 240px; } }

/* ============================================================
   2026-10-13 · 首屏真 3D（hero3d.js）
   canvas 覆盖整个 hero，靠 3D 内部的取景完成"超大特写 → 收进右侧"，
   这样模型在最放大时仍是满分辨率渲染，不会像 CSS 缩放那样糊掉。
   ============================================================ */
.hero { position: relative; }
.hero__stage {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0; pointer-events: none;          /* 不挡按钮点击 */
}
.hero__stage.is-live { opacity: 1; }
/* 注意：这里刻意不用 CSS transition 控制透明度——
   后台标签/被遮挡窗口里过渡不会推进，计算值会卡在 0 导致画布"看不见"。
   淡入由 hero3d.js 在渲染循环里逐帧写 style.opacity 完成。 */
.hero__stage canvas { display: block; width: 100%; height: 100%; }
.hero__grid { position: relative; z-index: 2; }

/* 开场：文案先隐去，模型收进右侧后再展开（"第一页展开"） */
.hero__top, .hero__rest { transition: opacity .72s var(--ease) .06s, transform .72s var(--ease) .06s; }
.hero.is-intro .hero__top, .hero.is-intro .hero__rest { opacity: 0; transform: translateY(16px); }
/* 开场与停靠后都隐藏实拍图，避免与 3D 叠影
   ⚠️ 这里刻意不加 transition：过渡在后台标签/被遮挡窗口里不推进，
   会出现"实拍图与 3D 同时可见"的叠影（实测踩到过）。 */
.hero.is-intro .hero__visual img, .hero.is-docked .hero__visual img { opacity: 0; visibility: hidden; }

/* 首屏 3D 资格判定通过时（head 内联脚本加的 html.hero-3d）：
   第一帧就不显示文案与实拍图 → 用户先看到的是"大特写模型"，
   而不是"先展现第一页、模型再突然放大"（这正是之前卡顿观感的来源）。
   开场结束加上 .hero.is-docked 后，文案自动淡入。 */
html.hero-3d .hero__top,
html.hero-3d .hero__rest { opacity: 0; transform: translateY(16px); }
html.hero-3d .hero__visual img { opacity: 0; visibility: hidden; }
html.hero-3d .hero.is-docked .hero__top,
html.hero-3d .hero.is-docked .hero__rest { opacity: 1; transform: none; }
.hero__stage { will-change: opacity; }
/* 3D 不可用（窄屏/无 WebGL）时：永不加 is-live，实拍图保持原样 */
@media (prefers-reduced-motion: reduce) {
  .hero__top .eyebrow, .hero h1, .hero__visual img, .hero__sub, .hero__facts li,
  .hero__cta .btn, .hero__visual::before,
  .products .product, .fact-strip.is-in .fact, .cert-table.is-in .cert-row,
  .faq.is-in details { animation: none !important; }
  .reveal, .products .product, .hero__grid { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ═══════════ 语言切换（EN / 中文）—— 2026-10-14 新增双语站 ═══════════ */
.lang { display: inline-flex; align-items: center; gap: 2px; margin-left: 12px; padding: 3px;
        border: 1px solid var(--line-inv); border-radius: 999px; flex: 0 0 auto; }
.lang a { padding: 5px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700;
          line-height: 1; color: var(--text-inv-soft); text-decoration: none; white-space: nowrap; }
.lang a:hover { color: var(--text-inv); }
.lang a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) { .lang { margin-left: 8px; } .lang a { padding: 5px 9px; font-size: .78rem; } }
@media (max-width: 420px) { .lang a { padding: 4px 7px; font-size: .74rem; } }