/* ==========================================================================
   YFX DALI-2 DT6 / DT8  ·  Marketing site stylesheet
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink:        #0B1F33;
  --ink-2:      #16324D;
  --ink-soft:   #33475C;
  --blue:       #1F6FEB;
  --blue-deep:  #14509F;
  --cyan:       #00A9C9;
  --cyan-lite:  #7FE3F2;
  --warn:       #D9601F;
  --ok:         #15915C;

  --bg:         #FFFFFF;
  --bg-alt:     #F4F7FA;
  --bg-alt-2:   #EDF2F7;
  --muted:      #5C6E82;
  --line:       #E2E9F1;
  --line-2:     #D3DDE8;

  --radius:     14px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 2px rgba(11,31,51,.06), 0 2px 8px rgba(11,31,51,.05);
  --shadow:     0 4px 12px rgba(11,31,51,.08), 0 12px 32px rgba(11,31,51,.07);
  --shadow-lg:  0 18px 48px rgba(11,31,51,.13);

  --maxw:       1180px;
  --nav-h:      72px;

  /* 全部为 SIL OFL 1.1 开源字体：Inter(拉丁/数字) + Noto Sans SC(中文/技术符号) + JetBrains Mono(等宽) */
  --font: "Inter", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", "Noto Sans SC", monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }

/* ---- 图片保护（2026-12-01 用户要求：图片不可被另存/下载） ----
   手段：禁拖拽、禁长按菜单、禁选中、并让指针事件穿过图片本身。
   边界：浏览器必须先拿到图片字节才能显示，前端无法做到"绝对禁止"；
        截图、开发者工具、直接请求 URL 都拦不住。真正的兜底是
        服务端防盗链（nginx valid_referers）+ 页脚著作权声明。 */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
sub { font-size: .68em; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(31,111,235,.28); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 6px 20px rgba(31,111,235,.36); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
/* dark-section ghost buttons need dark text */
.section-contact .btn-ghost, .site-footer .btn-ghost { border-color: var(--line-2); color: var(--ink); }
.section-contact .btn-ghost:hover { background: var(--bg-alt); border-color: var(--blue); color: var(--blue); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--blue); display: flex; flex: 0 0 auto; }
/* 品牌三层结构：YFX（字母标识）｜永福祥（注册中文品牌）／达联智控（产品线）· DALI-2 控制装置 */
.brand-text { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.brand-row { display: flex; align-items: center; gap: 9px; }
.brand-abbr { font-size: 19px; font-weight: 700; letter-spacing: .13em; color: var(--ink); }
.brand-div { width: 1px; height: 13px; background: var(--line-2); flex: 0 0 auto; }
.brand-cn { font-size: 15.5px; font-weight: 600; letter-spacing: .12em; color: var(--ink-2); }
.brand-row-sub { gap: 5px; margin-top: -1px; }
.brand-line { font-size: 10.5px; font-weight: 600; letter-spacing: .13em; color: var(--blue-deep); }
.brand-sep { font-size: 10px; color: #A9B8C8; line-height: 1; }
.brand-gear { font-size: 10px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1px; }
.main-nav a {
  display: block; padding: 8px 7px; border-radius: 8px;
  font-size: 13.6px; font-weight: 500; color: var(--ink-soft);
  white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}
.main-nav a:hover { background: var(--bg-alt-2); color: var(--ink); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

/* 菜单内 CTA：桌面不显示（头部已有同名按钮），窄屏头部收起后在此提供 */
.main-nav .nav-cta { display: none; margin: 14px 10px 2px; text-align: center; }

.lang-switch {
  display: inline-flex; flex: 0 0 auto; white-space: nowrap; background: var(--bg-alt-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px;
}
.lang-btn {
  border: 0; background: transparent; cursor: pointer;
  white-space: nowrap; flex: 0 0 auto;
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: background .16s ease, color .16s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }

/* 跨站语言跳转（中文站 <-> en 子域名），替代原来的运行时切换按钮 */
.lang-switch-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--bg-alt-2); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.lang-switch-link:hover { color: var(--blue); border-color: var(--blue); background: #fff; }
.lang-switch-link svg { width: 15px; height: 15px; flex: none; }

.nav-toggle {
  display: none; width: 42px; height: 38px; border: 1px solid var(--line-2);
  background: #fff; border-radius: 9px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #C8D6E5; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(0,169,201,.30), transparent 62%),
    radial-gradient(760px 480px at 12% 92%, rgba(31,111,235,.28), transparent 65%),
    linear-gradient(165deg, #0B1F33 0%, #102A44 55%, #0C2137 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 76px;
  min-height: calc(100dvh - var(--nav-h));
}
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600;
  color: #BFD4EA; letter-spacing: .02em; margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-lite);
  box-shadow: 0 0 0 4px rgba(127,227,242,.18);
}
.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: #fff; font-weight: 700; letter-spacing: -.025em; margin-bottom: 20px;
}
.grad {
  background: linear-gradient(96deg, var(--cyan-lite), #6FB6FF 55%, #A58BFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { font-size: 17px; line-height: 1.8; color: #B6C8DC; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }

.hero-proof {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-proof strong {
  display: block; font-size: 22px; font-weight: 700; color: #fff;
  letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.hero-proof span { font-size: 12.5px; color: #8FA6BF; line-height: 1.45; display: block; margin-top: 2px; }

.hero-media { position: relative; }
.hero-figure {
  margin: 0; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}
.hero-figure img { border-radius: 12px; width: 100%; max-width: 420px; margin: 0 auto; }
.hero-figure figcaption {
  margin-top: 14px; font-size: 12.5px; color: #93A9C1; text-align: center; line-height: 1.5;
}
.hero-badge {
  position: absolute; left: -14px; bottom: 58px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan); color: #04222B; font-weight: 700; font-size: 13px;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow);
}

/* ---------- section scaffold ---------- */
main { counter-reset: secno; }
.section {
  position: relative; padding: 92px 0;
  border-top: 1px solid rgba(196, 210, 226, .55);
  counter-increment: secno;
  counter-reset: subno;
}
.section:nth-of-type(even) { background: var(--bg-alt); }
.hero + .section { border-top: 0; }
.section-head { max-width: 780px; margin-bottom: 48px; }
/* 版块序号：给整页一个可检索的骨架 */
.section-head .kicker::before {
  content: counter(secno, decimal-leading-zero);
  display: inline-block; margin-right: 11px; padding-right: 11px;
  border-right: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; color: var(--muted); vertical-align: 1px;
}
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.5rem, 2.6vw, 2.15rem); letter-spacing: -.02em; }
.section-lede { font-size: 16.5px; color: var(--muted); }

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

/* ---------- why ---------- */
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pain-num {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--blue);
  background: rgba(31,111,235,.09); border-radius: 8px; padding: 5px 10px;
  display: inline-block; margin-bottom: 16px;
}
.pain-card h3 { font-size: 19px; margin-bottom: 12px; }
.pain-card > p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.pain-fix {
  margin: 0; padding: 16px 18px; background: #F0F7FF;
  border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; font-size: 14.5px; color: var(--ink-soft);
}
.fix-label {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 5px;
}

/* ---------- products ---------- */
.product-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm);
}
.product-card-featured { border-color: rgba(0,169,201,.42); box-shadow: 0 0 0 3px rgba(0,169,201,.09), var(--shadow-sm); }
.ribbon {
  position: absolute; top: -12px; right: 22px;
  background: var(--cyan); color: #04222B; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.product-head { margin-bottom: 22px; }
.chip {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 11px; border-radius: 6px; margin-bottom: 12px;
}
.chip-blue { background: rgba(31,111,235,.12); color: var(--blue-deep); }
.chip-cyan { background: rgba(0,169,201,.14); color: #007A93; }
.product-head h3 { font-family: var(--mono); font-size: 21px; letter-spacing: -.01em; margin-bottom: 4px; }
.product-sub { color: var(--muted); font-size: 15px; margin: 0; }

.spec-mini { border-top: 1px solid var(--line); }
.spec-mini li {
  display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.spec-mini li:last-child { border-bottom: 0; }
.spec-mini span { color: var(--muted); flex-shrink: 0; }
.spec-mini b { text-align: right; color: var(--ink); font-weight: 600; font-size: 14px; }

.product-fit { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.fit-label {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.product-fit p { margin: 0; font-size: 14.5px; }

.product-shot {
  margin: 40px 0 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.product-shot img { border-radius: 10px; width: 100%; }
.product-shot figcaption { margin-top: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---- 外形尺寸图（矢量重绘，宽度收敛不再满屏） ---- */
.dim-figure {
  margin: 32px auto 4px; max-width: 620px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 26px 20px; box-shadow: var(--shadow-sm);
}
.dim-svg { display: block; width: 100%; height: auto; }
.dim-body { fill: #F3F8FE; stroke: #2C4A6B; stroke-width: 1.8; stroke-linejoin: round; }
.dim-pad { fill: #C9DDF3; stroke: #2C4A6B; stroke-width: 1.2; }
.dim-lead { fill: #E2EDF9; }
.dim-ext { stroke: #A9BDD2; stroke-width: 1; }
.dim-line { stroke: #2C4A6B; stroke-width: 1.1; }
.dim-arw { fill: #2C4A6B; }
.dim-num { fill: var(--ink-2); font-family: var(--mono); font-size: 13.5px; font-weight: 700; text-anchor: middle; }
.dim-figure figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 720px) {
  .dim-figure { padding: 18px 14px 14px; max-width: 100%; }
  .dim-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dim-scroll .dim-svg { min-width: 540px; }
}

/* ---- 外观三视图（正面 / 背面 / 侧面） ---- */
.shot-block { margin: 30px 0 6px; }
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shot-card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.shot-card img { display: block; width: 100%; height: auto; }
.shot-card figcaption { padding: 14px 16px 16px; font-size: 13.5px; line-height: 1.66; color: var(--muted); }
.shot-card figcaption b { display: block; margin-bottom: 4px; font-size: 14.5px; color: var(--ink); }
.shot-wide { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .shot-grid { grid-template-columns: 1fr; gap: 14px; }
  .shot-card figcaption { padding: 12px 14px 14px; }
}

/* ---------- pillars ---------- */
.pillar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
  padding: 44px 0; border-top: 1px solid var(--line);
}
.pillar:first-of-type { border-top: 0; }
.pillar-reverse .pillar-side { order: 2; }
.pillar-index {
  font-family: var(--mono); font-size: 40px; font-weight: 700; line-height: 1;
  color: rgba(31,111,235,.16); display: block; margin-bottom: 10px;
}
.pillar-side h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 14px; }
.pillar-side > p { font-size: 16px; color: var(--muted); margin-bottom: 22px; }

.check-list li {
  position: relative; padding-left: 30px; margin-bottom: 11px;
  font-size: 15px; line-height: 1.6;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(21,145,92,.13) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315915C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12.5l5 5L20 6.5'/></svg>") center/12px no-repeat;
}
.check-list.compact li { font-size: 14.5px; margin-bottom: 8px; }

/* compat graphic */
.compat-graphic {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px; align-items: stretch;
}
.compat-node {
  display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto;
  column-gap: 12px; align-items: center;
  border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 16px;
  background: var(--bg-alt); font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.compat-node .compat-icon { grid-row: 1 / span 2; font-size: 18px; color: var(--muted); text-align: center; display: flex; align-items: center; justify-content: center; }
.compat-node .compat-icon svg { display: block; }
.compat-node small { font-size: 12px; font-weight: 500; color: var(--muted); }
.compat-src .compat-icon { color: var(--blue); }
.compat-mod {
  background: linear-gradient(135deg, #EAF3FF, #F6FBFF);
  border-color: rgba(31,111,235,.4); box-shadow: 0 0 0 3px rgba(31,111,235,.07);
}
.compat-mod .compat-icon { color: var(--blue); }
.compat-dst { border-color: rgba(0,169,201,.4); background: #F2FCFE; }
.compat-dst .compat-icon { color: var(--cyan); }
.compat-bus { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.bus-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.bus-label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--muted); background: var(--bg-alt-2); padding: 4px 10px; border-radius: 6px; white-space: nowrap;
}
.compat-arrow {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--cyan); font-family: var(--mono); font-size: 12px; font-weight: 700;
}

/* gauges */
.gauge-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.gauge {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 18px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.gauge-ring {
  width: 118px; height: 118px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background:
    conic-gradient(var(--blue) calc(var(--v) * 1%), var(--bg-alt-2) 0);
  transition: background .4s ease;
}
.gauge-ring::after {
  content: ""; position: absolute; inset: 11px; background: #fff; border-radius: 50%;
}
.gauge-val {
  position: relative; z-index: 1; font-size: 17px; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.gauge-name { font-size: 13px; color: var(--muted); font-weight: 600; }

/* cct demo */
.cct-demo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.cct-bar {
  height: 84px; border-radius: 12px; margin-bottom: 10px;
  background: linear-gradient(90deg, #FFB26B 0%, #FFD9A8 24%, #FFF6E8 45%, #F2F8FF 62%, #D7EAFF 82%, #CBE3FF 100%);
  border: 1px solid var(--line-2);
  position: relative; overflow: hidden;
}
.cct-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px;
  left: var(--pos, 50%); background: var(--ink); border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.9);
  transition: left .12s linear;
}
.cct-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-family: var(--mono); margin-bottom: 18px; }
.cct-readout {
  display: flex; gap: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.cct-row { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--muted); }
.cct-row b { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cct-row b.is-stable { color: var(--ok); }
.cct-row em { font-style: normal; font-size: 11.5px; font-weight: 600; margin-left: 4px; }
.cct-slider { width: 100%; margin: 0 0 10px; accent-color: var(--blue); }
.cct-hint { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- specs ---------- */
.tabs { display: inline-flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-bottom: 26px; }
.tab {
  border: 0; background: transparent; cursor: pointer; padding: 11px 20px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 9px;
  transition: background .16s ease, color .16s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px;
  background: rgba(31,111,235,.13); color: var(--blue-deep);
}
.tab.is-active .tab-tag { background: rgba(255,255,255,.18); color: #fff; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.sub-title { font-size: 18px; margin: 34px 0 16px; }
.table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow-x: auto; box-shadow: var(--shadow-sm);
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table tbody th { width: 34%; font-weight: 600; color: var(--muted); font-size: 14px; }
.spec-table tbody td { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.spec-table tbody th { font-variant-numeric: tabular-nums; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table thead th { background: var(--bg-alt-2); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.spec-table tbody tr:hover { background: #FAFCFE; }

/* 窄屏：两列参数表压缩到视口内，三列表格保留横向滚动 */
@media (max-width: 640px) {
  .spec-table { min-width: 0; }
  .spec-table th, .spec-table td { padding: 11px 13px; font-size: 13.5px; }
  .spec-table tbody th { width: 37%; font-size: 13px; }
  .spec-table-pins, .compare-table { min-width: 520px; }
  /* 型号差异表三列：固定列宽，禁止把「单色亮度」和「6500 K」拆断 */
  .spec-table-models { table-layout: fixed; }
  .spec-table-models tbody th, .spec-table-models thead th:first-child { width: 30%; }
  .spec-table-models td { width: 35%; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
}

/* 标题均衡断行：避免窄屏出现「能力」「电源」这类孤字行（旧浏览器忽略此行，无副作用） */
.hero h1, .section-title, .pillar h3 { text-wrap: balance; }

/* 超窄屏（320~360）：只缩字号与内边距，不删任何内容 */
@media (max-width: 380px) {
  .header-inner { gap: 6px; }
  .brand { gap: 6px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand-text { gap: 4px; }
  .brand-row { gap: 5px; }
  .brand-abbr { font-size: 15px; letter-spacing: .08em; }
  .brand-cn { font-size: 11px; letter-spacing: 0; }
  .brand-div { height: 10px; }
  .brand-line { font-size: 9px; letter-spacing: 0; }
  .brand-gear { font-size: 8px; letter-spacing: 0; }
  .brand-sep { font-size: 8px; }
  /* 极窄屏：第二行允许折行（只改排布，不减文字）；分隔点是装饰符，折行时隐去以免孤零零留在行尾 */
  .brand-text { max-width: 132px; }
  .brand-row-sub { flex-wrap: wrap; row-gap: 2px; }
  .brand-sep { display: none; }
  .lang-btn { padding: 4px 6px; font-size: 11px; }
  .nav-toggle { width: 34px; height: 34px; }
  .container { padding: 0 15px; }
  .spec-table-models tbody th, .spec-table-models thead th:first-child { width: 32%; }
  .spec-table-models td { width: 34%; }
}

/* ---------- wiring ---------- */
.wire-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.wire-title { font-size: 17px; margin-bottom: 18px; }
.wire-svg { width: 100%; height: auto; margin-bottom: 18px; }
.wire-svg .box { fill: #F7FAFD; stroke: var(--line-2); stroke-width: 1.5; }
.wire-svg .box-mod { fill: #EAF3FF; stroke: var(--blue); stroke-width: 1.8; }
.wire-svg .box-t { fill: var(--ink); font-size: 13px; font-weight: 700; text-anchor: middle; font-family: var(--font); }
.wire-svg .box-s { fill: var(--muted); font-size: 11px; text-anchor: middle; font-family: var(--font); }
.wire-svg .wire { stroke: var(--line-2); stroke-width: 1.8; fill: none; }
.wire-svg .wire-hi { stroke: var(--cyan); stroke-width: 2.2; }
.wire-svg .node { fill: var(--line-2); }
.wire-svg .node-hi { fill: var(--cyan); }
.wire-svg .wire-lbl { fill: var(--cyan); font-size: 11px; font-weight: 700; text-anchor: middle; font-family: var(--mono); }
.wire-svg .pin-t { fill: var(--muted); font-size: 10.5px; font-family: var(--mono); }

.wire-notes li {
  position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 14.5px; color: var(--muted);
}
.wire-notes li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}

.callout {
  display: flex; gap: 16px; align-items: flex-start;
  border-radius: var(--radius); padding: 20px 22px; margin-top: 28px;
}
.callout-warn { background: #FFF6EF; border: 1px solid #FBD5BC; color: #8A3A10; }
.callout-warn strong { display: block; color: var(--warn); margin-bottom: 4px; font-size: 15px; }
.callout-warn p { margin: 0; font-size: 14.5px; line-height: 1.65; }

/* ---------- reference ---------- */
.ref-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); position: relative;
}
.ref-tag {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--muted);
  background: var(--bg-alt-2); border-radius: 6px; padding: 3px 9px;
  position: absolute; top: 22px; right: 22px;
}
.ref-card h3 { font-size: 17px; margin-bottom: 14px; padding-right: 60px; }
.ref-list li {
  position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 14.5px; line-height: 1.62;
}
.ref-list li::before {
  content: "▸"; position: absolute; left: 0; top: 0; color: var(--blue); font-size: 13px;
}

.pushdim-wrap { margin-top: 36px; align-items: center; gap: 40px; }
.pushdim-copy .kicker { margin-bottom: 8px; }
.pushdim-copy h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); margin-bottom: 14px; }
.pushdim-copy p { font-size: 15.5px; color: var(--muted); }
.pushdim-shot {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.pushdim-shot img { border-radius: 10px; width: 100%; }
.pushdim-shot figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- applications ---------- */
.app-col {
  border-radius: var(--radius-lg); padding: 30px 28px; background: #F2F7FF; border: 1px solid #DEE9FA;
}
.app-col-cyan { background: #F0FBFD; border-color: #D6EEF4; }
.app-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.app-head h3 { margin: 0; font-size: 18px; }
.app-head .chip { margin: 0; }
.app-list li {
  padding: 13px 0; border-bottom: 1px dashed rgba(11,31,51,.14); font-size: 14.8px; line-height: 1.6;
}
.app-list li:last-child { border-bottom: 0; }
.app-list b { color: var(--ink); }

/* ---------- process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; counter-reset: p; }
.process-list li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px; position: relative; box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 16px;
}
.process-list h3 { font-size: 16.5px; margin-bottom: 8px; }
.process-list p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- faq ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] { border-color: rgba(31,111,235,.4); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; position: relative;
  font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.55;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-icon { position: absolute; right: 22px; top: 24px; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.faq-icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-body { padding: 0 22px 20px; }
.faq-body p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ---------- contact ---------- */
.section-contact { background: var(--bg-alt-2); }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 48px; box-shadow: var(--shadow);
}
.contact-title { font-size: clamp(1.4rem, 2.3vw, 1.9rem); margin-bottom: 16px; }
.contact-copy > p { font-size: 16px; color: var(--muted); margin-bottom: 24px; }
.contact-points li {
  display: flex; gap: 10px; align-items: baseline; font-size: 15px; margin-bottom: 10px; color: var(--ink-soft);
}
.contact-points li span:first-child { color: var(--ok); font-weight: 700; }
.dl-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

/* 联系名片：谁对接、怎么找 */
.contact-card {
  margin-top: 26px; padding: 18px 20px 20px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px;
  display: flex; flex-direction: column; gap: 16px;
}
.cc-id { display: flex; align-items: center; gap: 12px; }
.cc-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: 16px; font-weight: 600; letter-spacing: 0;
}
.cc-who { display: flex; flex-direction: column; line-height: 1.35; }
.cc-who strong { font-size: 16.5px; color: var(--ink); }
.cc-who span { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.cc-list { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.cc-row { display: flex; align-items: baseline; gap: 12px; }
.cc-row dt { font-size: 12.5px; color: var(--muted); min-width: 76px; flex: 0 0 auto; }
.cc-row dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.cc-row dd a { color: var(--ink); }
.cc-row dd a:hover { color: var(--blue); text-decoration: none; }

.contact-form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-row textarea { resize: vertical; min-height: 92px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,235,.14);
}
.form-row input[aria-invalid="true"] { border-color: #D9432F; box-shadow: 0 0 0 3px rgba(217,67,47,.12); }
.form-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-status { font-size: 14px; font-weight: 600; margin: 10px 0 0; text-align: center; min-height: 1.4em; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: #D9432F; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 隐私政策勾选（《个人信息保护法》要求"告知—同意"可核对，不能用"提交即视为同意"默认带过） */
.form-consent { margin: 2px 0 16px; }
.consent-label {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12.5px; line-height: 1.7; font-weight: 400; color: var(--muted); letter-spacing: 0;
}
.consent-label input[type="checkbox"] {
  flex: 0 0 auto; width: 15px; height: 15px; margin: 3px 0 0; padding: 0;
  border-radius: 4px; accent-color: var(--blue); cursor: pointer;
}
.consent-label a { color: var(--blue-deep); text-decoration: underline; }
.consent-label a:hover { color: var(--blue); }

.contact-form button[type="submit"]:disabled { opacity: .65; cursor: progress; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #9FB3C8; padding: 52px 0 28px; }
/* 品牌结构：YFX / 永福祥 / 达联智控 三层，逐层递进，第三层限定在 DALI-2 产品线 */
.footer-arch { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.arch-title { margin: 0 0 15px; font-size: 11px; font-weight: 600; letter-spacing: .24em; color: #6F869F; }
.arch-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; overflow: hidden;
}
.arch-item { background: var(--ink); padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 7px; }
.arch-word { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: .05em; line-height: 1.1; }
.arch-word--abbr { font-size: 22px; letter-spacing: .16em; color: #6FA8FF; }
.arch-word--line { font-size: 20px; font-weight: 600; letter-spacing: .1em; color: #E6EEF7; }
.arch-label { font-size: 12px; color: #7C93AC; letter-spacing: .05em; }
.arch-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.75; color: #6F869F; max-width: 980px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand strong { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.footer-brand span { font-size: 13px; color: #7C93AC; }
.footer-brand p { margin: 12px 0 0; font-size: 13.5px; max-width: 460px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { color: #9FB3C8; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; font-size: 12.5px; color: #6F869F; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.foot-note { text-align: right; }
.foot-icp { text-align: right; font-size: 12.5px; color: #A6BACD; margin: 6px 0 0; }
.foot-icp a { color: #C7D6E4; }
.foot-icp a:hover { color: #fff; text-decoration: none; }
.foot-icp:empty { display: none; }

/* 页脚法务区：隐私政策入口 + 著作权 + 商标声明 */
.footer-legal { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.09); }
.footer-legal p { margin: 0 0 7px; font-size: 12px; line-height: 1.75; color: #7F93A8; }
.footer-legal .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 12.5px; }
.footer-legal .legal-links a { color: #C7D6E4; }
.footer-legal .legal-links a:hover { color: #fff; text-decoration: none; }
.footer-legal .legal-links .sep { color: #4A6076; }


/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; padding-bottom: 60px; min-height: 0; }
  .hero-media { order: -1; max-width: 620px; }
  .hero-badge { left: 12px; }
  .pillar { gap: 34px; }
  .process-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* 英文导航文案比中文长：1180px 以下提前折叠成菜单，避免链接折成两行 */
@media (max-width: 1240px) {
  .main-nav {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 24px 20px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 10px; font-size: 15.5px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .main-nav {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 24px 20px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 10px; font-size: 15.5px; }
  .nav-toggle { display: flex; }
  /* 四端内容一致铁律：窄屏头部容不下 CTA 时，收进菜单并给整宽按钮，绝不删内容 */
  .header-actions { gap: 8px; }
  .header-actions .btn-primary { display: none; }
  .main-nav .nav-cta { display: block; color: #fff; }
  .main-nav .nav-cta:hover, .main-nav .nav-cta:focus { color: #fff; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .pillar, .pillar-reverse .pillar-side { grid-template-columns: 1fr; order: 0; }
  .pillar { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; padding: 32px 26px; gap: 34px; }
  .footer-inner { flex-direction: column; }
  .foot-note { text-align: left; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 14px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .gauge-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .gauge-ring { width: 96px; height: 96px; }
  .gauge-val { font-size: 15px; }
  .process-list { grid-template-columns: 1fr; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 11px 10px; font-size: 13.5px; }
  .spec-table th, .spec-table td { padding: 12px 14px; font-size: 14px; }
  .cct-readout { flex-direction: column; gap: 10px; }
  .ref-card h3 { padding-right: 0; }
  .ref-tag { position: static; display: inline-block; margin-bottom: 10px; }
  .footer-nav { gap: 16px; }
}

/* 品牌结构 / 联系名片：窄屏改为纵向堆叠，信息一条不少 */
@media (max-width: 560px) {
  .brand { gap: 8px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .brand-text { gap: 5px; }
  .brand-row { gap: 6px; }
  .brand-abbr { font-size: 16px; letter-spacing: .1em; }
  .brand-cn { font-size: 12.5px; letter-spacing: .06em; }
  .brand-div { height: 11px; }
  .brand-line { font-size: 10px; letter-spacing: .08em; }
  .brand-gear { font-size: 9px; letter-spacing: 0; }
  .lang-btn { padding: 4px 8px; font-size: 12px; }
  .arch-grid { grid-template-columns: 1fr; }
  .arch-item { padding: 14px 18px 16px; }
  .arch-word { font-size: 21px; }
  .arch-word--abbr { font-size: 19px; }
  .arch-word--line { font-size: 18px; }
  .arch-note { font-size: 12px; }
  .foot-icp { text-align: left; }
  .contact-card { padding: 16px 16px 18px; }
  .cc-row { flex-direction: column; gap: 2px; }
  .cc-row dt { min-width: 0; }
}

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

/* ===== 新增：选型决策 / 方案对比 / 客户场景 / 利益句 ===== */
.sub-head {
  position: relative; margin: 52px 0 20px; padding-left: 18px;
  counter-increment: subno;
}
.sub-head::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--blue), rgba(31,111,235,.22));
}
.sub-head .kicker { display: inline-block; margin-bottom: 8px; }
.sub-head .sub-title { margin: 0; }
.sub-head--plain .sub-title::before {
  content: counter(secno, decimal-leading-zero) "." counter(subno);
  display: inline-block; margin-right: 10px; padding-right: 10px;
  border-right: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .02em; color: var(--muted); vertical-align: 2px;
}
.sub-head .kicker::before {
  content: counter(secno, decimal-leading-zero) "." counter(subno);
  display: inline-block; margin-right: 10px; padding-right: 10px;
  border-right: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .04em; color: var(--muted); vertical-align: 1px;
}

.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.pick-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.pick-step { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 10px; }
.pick-card h4 { font-size: 16px; color: var(--ink); margin: 0 0 6px; }
.pick-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

.compare-table .is-better { background: rgba(21,145,92,.08); color: var(--ok); font-weight: 600; }
.compare-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.case-card { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 20px 22px; }
.case-card h4 { font-size: 16px; color: var(--ink); margin: 0 0 8px; }
.case-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

.pillar-benefit { margin-top: 16px; padding: 12px 16px; background: rgba(31,111,235,.07); border-radius: 10px; color: var(--blue-deep); font-size: 14.5px; font-weight: 600; line-height: 1.5; }

.prod-certnote { margin: 28px auto 8px; max-width: 760px; padding: 14px 20px; background: linear-gradient(90deg, rgba(0,169,201,.12), rgba(31,111,235,.12)); border-left: 4px solid var(--cyan); border-radius: 0 10px 10px 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; font-weight: 600; text-align: center; }

@media (max-width: 760px) {
  .pick-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
}

/* ===================== NEW (2026-11-11 DAPLINK 学习优化) ===================== */

/* ---- 四大核心优势 ---- */
.adv-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.adv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; transition: transform .2s ease, box-shadow .2s ease; }
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.adv-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(31,111,235,.1); color: var(--blue-deep); margin-bottom: 14px; }
.adv-card h3 { font-size: 17px; margin: 0 0 6px; }
.adv-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }

/* ---- 兼容性品牌墙 ---- */
.compat-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 8px 0 18px; }
.brand-chip { display: inline-flex; align-items: center; padding: 12px 26px; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--ink-2); background: var(--bg-alt); letter-spacing: .02em; }
.brand-chip-more { border-style: dashed; color: var(--muted); font-weight: 600; font-size: 14px; }
.compat-note { text-align: center; color: var(--muted); font-size: 13.5px; max-width: 720px; margin: 0 auto; line-height: 1.6; }

/* ---- 端子与引脚分配（实物底图 + 矢量标签层） ---- */
.pinout-figure { margin: 26px auto 6px; max-width: 900px; }
.pinout-stage { position: relative; isolation: isolate; }
.pinout-plate { display: block; width: 100%; height: auto; border-radius: 16px; }
.pinout-marks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pinout-marks line { stroke: #93A9C2; stroke-width: 2.4; }
.pinout-marks text {
  fill: var(--ink-2); font-family: var(--mono);
  font-size: 46px; font-weight: 700; letter-spacing: .01em;
}
@media (max-width: 720px) {
  .pinout-figure { margin-top: 20px; }
  .pinout-marks text { font-size: 52px; }
}

/* ---- 集成教程 ---- */
.tut-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.tut-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px 22px; }
.tut-step { position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(31,111,235,.35); }
.tut-card h3 { font-size: 16.5px; margin: 8px 0 14px; }
.tut-svg { width: 100%; height: auto; margin-bottom: 12px; background: var(--bg-alt); border-radius: 12px; padding: 8px; }
.tut-svg .box { fill: #F7FAFD; stroke: var(--line-2); stroke-width: 1.5; }
.tut-svg .box-mod { fill: #EAF3FF; stroke: var(--blue); stroke-width: 1.8; }
.tut-svg .box-t { fill: var(--ink); font-size: 13px; font-weight: 700; text-anchor: middle; font-family: var(--font); }
.tut-svg .box-s { fill: var(--muted); font-size: 11px; text-anchor: middle; font-family: var(--font); }
.tut-svg .wire { stroke: var(--line-2); stroke-width: 1.8; fill: none; }
.tut-svg .wire-hi { stroke: var(--cyan); stroke-width: 2.2; }
.tut-svg .wire-lbl { fill: var(--cyan); font-size: 11px; font-weight: 700; text-anchor: middle; font-family: var(--mono); }
.tut-svg .tut-curve { stroke: var(--blue); stroke-width: 2.4; fill: none; }
.tut-svg .tut-bar { fill: var(--bg-alt-2); }
.tut-svg .tut-axis { fill: var(--muted); font-size: 11px; font-family: var(--mono); }
.tut-card .pillar-benefit { margin-top: 14px; }

/* ---- 服务承诺 ---- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.svc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-align: center; }
.svc-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(0,169,201,.12); color: var(--cyan); margin-bottom: 12px; }
.svc-card h3 { font-size: 16px; margin: 0 0 6px; }
.svc-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }

@media (max-width: 920px) {
  .adv-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tut-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .adv-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .brand-chip { padding: 10px 18px; font-size: 14px; }
}

/* ============ GEO：标准依据（外部权威引用，C3 信任闸） ============ */
.std-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft, #5b6779);
}
.std-note a {
  color: var(--blue-deep, #1F6FEB);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.std-note a:hover { text-decoration-thickness: 2px; }
.std-note a:focus-visible { outline: 2px solid var(--blue, #1F6FEB); outline-offset: 2px; border-radius: 3px; }

/* ---------- 等宽数字：规格表与参数对齐更整齐 ---------- */
.specs-table td, .specs-table th,
.product-specs li, .hero-proof strong, .po-dt, .po-th {
  font-variant-numeric: tabular-nums;
}
/* 字体加载前的短暂回退：避免首屏字体闪烁过大 */
body { font-synthesis-weight: none; }

@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 34px; }
  .sub-head { margin: 40px 0 16px; padding-left: 15px; }
}
