/*
 * 成都智嵌科技官网 · 全站样式
 * 配色与产品图规则沿用物料设计规范：深蓝底 + 橙色强调，产品为去背景实拍图。
 *   橙 #ff6a00 = 本品 / 强调；蓝 #1f6feb = 配套产品 / 站内主操作；绿 #3fb27f = 回传 / 正常
 *   淘宝入口统一淘宝橙 #ff5000 并带"↗"，表示跳转到站外店铺。
 */
:root {
  --navy: #0f1b2b;
  --navy2: #16324f;
  --panel: #1b2d44;
  --panel-line: #2c4666;
  --orange: #ff6a00;
  --orange2: #ff8a3d;
  --blue: #1f6feb;
  --blue2: #6ea8ff;
  --green: #3fb27f;
  --taobao: #ff5000;
  --text: #1d2733;
  --muted: #5b6676;
  --muted-dark: #9fb3cc;
  --soft: #f3f6fa;
  --line: #e2e8f0;
  --radius: 10px;
  --wrap: 1200px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--text); font-size: 15px; line-height: 1.6; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }
.hl { color: var(--orange); }
.blue { color: var(--blue); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 评审模式：黄色"待确认"标记与仅评审可见的占位块 ---------- */
.tbd { display: inline-block; background: #fff3cd; color: #b45309; font-size: 12px; line-height: 1.5; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; font-weight: 400; white-space: nowrap; }
.review-only { border: 1px dashed #f5c26b; background: #fffaf0; border-radius: var(--radius); padding: 18px 20px; color: #7a4a00; font-size: 14px; }
.review-only b { color: #b45309; }
.review-bar { background: #fff3cd; color: #7a4a00; font-size: 13px; text-align: center; padding: 6px 12px; }
.review-bar button { margin-left: 10px; border: 1px solid #d79b2b; background: #fff; color: #7a4a00; border-radius: 4px; padding: 1px 10px; cursor: pointer; font-size: 12px; }
/* 发布模式（或评审时点"隐藏标记"）：去掉全部待确认标记与占位块 */
body.clean .tbd, body.clean .review-only, body.clean .review-bar { display: none !important; }
/* 未配置的站外链接（如淘宝店铺地址）在发布模式下隐藏，避免出现死链 */
body.clean [data-unset] { display: none !important; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 22px; border-radius: 6px; font-size: 15px; font-weight: 600; background: var(--blue); color: #fff; border: 1px solid var(--blue); cursor: pointer; transition: filter .15s, background .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: rgba(31,111,235,.08); }
.btn.orange { background: var(--orange); border-color: var(--orange); }
.btn.tb { background: var(--taobao); border-color: var(--taobao); }
.btn.light { background: #fff; color: var(--blue); border-color: #fff; }
.btn.line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn[data-unset] { opacity: .75; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 头部：全宽导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,27,43,.10); }
/* 头部铺满整个屏幕宽度，两侧边距随屏宽变化 */
.head-in { display: flex; align-items: center; height: var(--header-h); gap: 32px; padding: 0 clamp(20px, 3.2vw, 56px); transition: height .25s; }
.site-header.scrolled .head-in { height: calc(var(--header-h) - 6px); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--navy); flex: none; }
.logo img { display: block; height: 40px; width: auto; transition: transform .3s; }
.logo:hover img { transform: scale(1.04); }
.nav { display: flex; align-items: stretch; justify-content: center; gap: 4px; flex: 1; height: 100%; }
/* li 不做定位参照，下拉面板相对整个头部定位，从而铺满屏幕宽度 */
.nav > li { display: flex; align-items: center; }
.nav > li > a { position: relative; display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 16px; font-size: 15px; color: #33404f; transition: color .2s; }
.nav > li > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav > li:hover > a, .nav > li.cur > a { color: var(--blue); }
.nav > li:hover > a::after, .nav > li.cur > a::after { transform: scaleX(1); }
.nav > li.cur > a { font-weight: 600; }
.nav .caret { font-size: 11px; transition: transform .25s; }
.nav > li:hover .caret { transform: rotate(180deg); }
.head-right { display: flex; align-items: center; gap: 14px; flex: none; }
.head-tel { color: var(--blue); font-weight: 600; font-size: 15px; }

/* 全宽下拉面板：铺满屏幕宽度，下方整页加半透明遮罩 */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(15,27,43,.14);
  opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(15,27,43,.35); pointer-events: none; }
.nav > li:hover > .mega, .nav > li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .25s .08s, transform .25s .08s, visibility 0s .08s; }
.nav > li.shut > .mega { opacity: 0; visibility: hidden; pointer-events: none; }
.mega-in { max-width: var(--wrap); margin: 0 auto; padding: 32px 24px 36px; display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.mega-intro b { display: block; font-size: 22px; margin-bottom: 10px; }
.mega-intro p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.mega-intro a { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 600; font-size: 14px; }
.mega-prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mega-prods a { display: block; border-radius: var(--radius); padding-bottom: 12px; transition: transform .25s; }
.mega-prods a:hover { transform: translateY(-4px); }
.mega-prods .pic { height: 120px; border-radius: var(--radius); margin-bottom: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 50% 62%, rgba(31,111,235,.42), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy2)); }
.mega-prods img { max-width: 76%; max-height: 76%; filter: drop-shadow(0 10px 10px rgba(0,0,0,.5)); transition: transform .4s; }
.mega-prods a:hover img { transform: scale(1.08); }
.mega-prods em { font-style: normal; color: var(--muted-dark); font-size: 13px; }
.mega-prods b { display: block; font-size: 14px; color: var(--text); }
.mega-prods small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mega-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; align-content: start; }
.mega-links a { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius); transition: background .2s; }
.mega-links a:hover { background: var(--soft); }
.mega-links i { flex: none; width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(160deg, var(--navy), var(--navy2)); color: var(--orange2); font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.mega-links a:hover i { transform: scale(1.1); }
.mega-links b { display: block; font-size: 15px; color: var(--text); }
.mega-links small { font-size: 12px; color: var(--muted); }

/* 汉堡按钮：三条线变 ✕ */
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s, opacity .2s; }
.menu-btn i:nth-child(1) { top: 13px; }
.menu-btn i:nth-child(2) { top: 20px; }
.menu-btn i:nth-child(3) { top: 27px; }
.site-header.open .menu-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-btn i:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 手机端全屏菜单（仅窄屏显示） */
.mnav { display: none; }
body.lock { overflow: hidden; }

/* ---------- 页脚 ---------- */
.site-footer { background: #111c2a; color: #8fa1b8; padding: 52px 0 20px; font-size: 13px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 28px; }
.foot-cols b { display: block; color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot-cols li { line-height: 2.1; }
.foot-cols a:hover { color: #fff; }
.foot-copy { border-top: 1px solid #23324a; margin-top: 36px; padding-top: 16px; text-align: center; color: #6b7c93; }
.foot-copy a:hover { color: #fff; }

/* 右侧浮动工具条 */
.float-bar { position: fixed; right: 16px; bottom: 96px; z-index: 40; display: flex; flex-direction: column; gap: 6px; }
.float-bar a { width: 58px; height: 58px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 12px; line-height: 1.3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 6px 16px rgba(15,27,43,.2); }
.float-bar a b { font-size: 18px; line-height: 1.1; }
.float-bar a.tb { background: var(--taobao); }
.float-bar a.top { background: #33404f; opacity: 0; pointer-events: none; transition: opacity .2s; }
.float-bar a.top.show { opacity: 1; pointer-events: auto; }

/* ---------- 通用区块 ---------- */
.sec { padding: 80px 0; }
.sec.soft { background: var(--soft); }
.sec.dark { background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(31,111,235,.18), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy2)); color: #fff; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .en { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 8px; }
.sec-head h2 { font-size: 32px; line-height: 1.3; }
.sec-head p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.dark .sec-head p { color: var(--muted-dark); }
.sec-head.left { text-align: left; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.lead { text-align: center; color: var(--muted); margin-top: 28px; font-size: 15px; }
.dark .lead { color: var(--muted-dark); }

/* 栏目 Banner */
.page-banner { color: #fff; background: radial-gradient(ellipse 40% 70% at 80% 50%, rgba(31,111,235,.4), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy2)); padding: 64px 0 56px; }
.page-banner h1 { font-size: 38px; margin-bottom: 10px; }
.page-banner p { color: #c9d6e8; font-size: 17px; max-width: 720px; }
.page-banner .btns { margin-top: 24px; }
.crumb { font-size: 13px; color: var(--muted-dark); margin-bottom: 18px; }
.crumb a:hover { color: #fff; }

/* 数据条：只放已确认的事实 */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(15,27,43,.10); margin-top: -48px; position: relative; z-index: 2; }
.facts > div { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts b { display: block; font-size: 30px; color: var(--orange); line-height: 1.2; }
.facts span { color: var(--muted); font-size: 14px; }

/* 产品图容器：深色底 + 蓝色光晕，产品图不垫白底、不加边框 */
.prodimg { background: radial-gradient(ellipse 60% 45% at 50% 62%, rgba(31,111,235,.38), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy2)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prodimg img { max-width: 82%; max-height: 82%; filter: drop-shadow(0 18px 18px rgba(0,0,0,.55)); }
.prodimg.shot img { max-width: 96%; max-height: 94%; filter: none; border-radius: 4px; }
.prodimg.empty { color: var(--muted-dark); font-size: 14px; flex-direction: column; gap: 8px; }

/* 产品卡片 */
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
a.pcard:hover { border-color: var(--blue); box-shadow: 0 12px 28px rgba(31,111,235,.15); transform: translateY(-3px); }
.pcard .prodimg { border-radius: 0; height: 220px; }
.pcard .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.pcard h3 { font-size: 18px; margin-bottom: 6px; }
.pcard h3 small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.pcard p { color: var(--muted); font-size: 14px; flex: 1; }
.pcard .more { color: var(--blue); font-size: 14px; margin-top: 12px; font-weight: 600; }
.pcard.hot { border: 2px solid var(--orange); }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 3px; background: var(--orange); color: #fff; vertical-align: middle; margin-left: 6px; }
.badge.blue { background: var(--blue); }
.badge.gray { background: #8a96a8; }

/* 首页产品区：主推产品占左侧两行，电能质量装置横跨右侧两列 */
.home-products { grid-template-columns: 1.5fr 1fr 1fr; }
.home-products .feature { grid-row: span 2; }
.home-products .wide { grid-column: span 2; }

/* 产品横向卡（产品列表页） */
.prow { display: grid; grid-template-columns: 420px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prow.hot { border: 2px solid var(--orange); }
.prow .prodimg { border-radius: 0; min-height: 260px; }
.prow .body { padding: 28px 32px; }
.prow h3 { font-size: 22px; }
.prow h3 small { font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.prow .desc { color: var(--muted); margin: 8px 0 14px; }
.ticks li { position: relative; padding-left: 22px; line-height: 2; font-size: 14px; }
.ticks li::before { content: "✔"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.dark .ticks li { color: #dfe8f3; }
.prow .btns { margin-top: 18px; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter button { height: 36px; padding: 0 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14px; cursor: pointer; }
.filter button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.pgroup { margin-bottom: 40px; }
.pgroup > h2 { font-size: 20px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--orange); }

/* 特性卡 */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.soft .feat > div { border-color: transparent; }
.feat i { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,106,0,.1); color: var(--orange); font-style: normal; font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feat b { display: block; font-size: 17px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14px; }
.dark .feat > div { background: rgba(27,45,68,.85); border-color: var(--panel-line); }
.dark .feat p { color: var(--muted-dark); }

/* 硬件参数条 */
.hw { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 28px; background: linear-gradient(160deg, var(--navy), var(--navy2)); border-radius: var(--radius); color: #fff; }
.hw > div { text-align: center; padding: 20px 8px; border-right: 1px solid rgba(255,255,255,.08); }
.hw > div:last-child { border-right: 0; }
.hw b { display: block; font-size: 24px; color: var(--orange2); }
.hw span { font-size: 13px; color: var(--muted-dark); }

/* 痛点 */
.pain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain > div { background: #fff; border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--orange); }
.pain b { display: block; font-size: 17px; margin-bottom: 6px; }
.pain p { color: var(--muted); font-size: 14px; }

/* 能力卡（四遥等） */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cap .n { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: 1px; margin-bottom: 8px; }
.cap b { display: block; font-size: 17px; margin-bottom: 6px; }
.cap p { color: var(--muted); font-size: 14px; }
.dark .cap { background: rgba(27,45,68,.85); border-color: var(--panel-line); }
.dark .cap p { color: var(--muted-dark); }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; counter-reset: s; }
.steps.s5 { grid-template-columns: repeat(5, 1fr); }
.steps > div { position: relative; text-align: center; padding: 0 12px; }
.steps > div::after { content: ""; position: absolute; top: 22px; left: calc(50% + 30px); right: calc(-50% + 30px); height: 2px; background: repeating-linear-gradient(90deg, var(--orange2) 0 6px, transparent 6px 12px); }
.steps > div:last-child::after { display: none; }
.steps i { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-style: normal; font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.steps b { display: block; font-size: 16px; margin: 12px 0 4px; }
.steps span { color: var(--muted); font-size: 13px; }
.dark .steps span { color: var(--muted-dark); }

/* 系统拓扑（自上而下：主站 → 本品 → 接入 → 现场设备） */
.chain { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.node { width: 100%; border-radius: var(--radius); padding: 16px 20px; text-align: center; background: var(--panel); border: 1px solid var(--panel-line); color: #fff; }
.node b { font-size: 19px; display: block; }
.node small { font-size: 13px; color: var(--muted-dark); display: block; margin-top: 2px; }
.node.ours { background: var(--orange); border-color: var(--orange); }
.node.ours small { color: #ffe2cc; }
.node.core { background: var(--blue); border-color: var(--blue); }
.node.core small { color: #d6e4ff; }
a.node:hover { filter: brightness(1.1); }
.link { font-size: 14px; color: var(--muted-dark); padding: 8px 0; text-align: center; }
.link::before { content: "▲"; display: block; color: var(--orange); font-size: 12px; }
.link small { display: block; font-size: 12px; color: #7f95b0; }
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 24px; font-size: 13px; color: var(--muted-dark); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }

/* 接入方式：下行 → 本品 → 上行 */
.access { display: grid; grid-template-columns: 1fr 200px 1fr; gap: 20px; align-items: center; }
.access .side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.access .side h3 { font-size: 16px; margin-bottom: 14px; }
.access .opts { display: grid; gap: 10px; }
.access .opts.c2 { grid-template-columns: 1fr 1fr; }
.access .opts.c3 { grid-template-columns: repeat(3, 1fr); }
.access .opt { background: var(--soft); border-radius: 8px; padding: 14px 10px; text-align: center; }
.access .opt b { display: block; font-size: 16px; color: var(--blue); }
.access .opt span { font-size: 12px; color: var(--muted); }
.access .center { background: var(--orange); color: #fff; border-radius: var(--radius); padding: 20px 12px; text-align: center; position: relative; }
.access .center b { display: block; font-size: 17px; }
.access .center small { font-size: 12px; color: #ffe2cc; }
.access .center::before, .access .center::after { content: "▶"; position: absolute; top: 50%; transform: translateY(-50%); color: var(--orange2); font-size: 14px; }
.access .center::before { left: -18px; }
.access .center::after { right: -18px; }

/* 定制 */
.custom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.custom-grid > div { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.custom-grid i { font-style: normal; display: inline-flex; width: 44px; height: 44px; border-radius: 10px; background: rgba(31,111,235,.1); color: var(--blue); align-items: center; justify-content: center; font-weight: 700; font-size: 19px; margin-bottom: 14px; }
.custom-grid b { display: block; font-size: 17px; margin-bottom: 6px; }
.custom-grid p { color: var(--muted); font-size: 14px; }
.dark .custom-grid > div { background: rgba(27,45,68,.85); border-color: var(--panel-line); }
.dark .custom-grid p { color: var(--muted-dark); }

/* 方案条目 */
.sol-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sol { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, box-shadow .2s; }
a.sol:hover { border-color: var(--blue); box-shadow: 0 10px 24px rgba(31,111,235,.12); }
.sol .ic { flex: none; width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(160deg, var(--navy), var(--navy2)); color: var(--orange2); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sol b { display: block; font-size: 17px; margin-bottom: 4px; }
.sol p { color: var(--muted); font-size: 14px; }
.sol .more { color: var(--blue); font-size: 13px; font-weight: 600; margin-top: 6px; display: inline-block; }

/* 优势 */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why > div { text-align: center; padding: 32px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why i { font-style: normal; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,106,0,.1); color: var(--orange); font-size: 24px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.why b { display: block; font-size: 18px; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 14px; }

/* 行动号召条 */
.cta { background: linear-gradient(120deg, var(--blue), #1857c4); color: #fff; padding: 56px 0; text-align: center; }
.cta h2 { font-size: 28px; margin-bottom: 8px; }
.cta p { color: #d6e4ff; margin-bottom: 24px; }
.cta .btns { justify-content: center; }

/* 产品详情：首屏 */
.pd-top { padding: 40px 0 56px; }
.pd-top .grid { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.gallery .main { height: 400px; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery .thumbs button { height: 80px; border: 2px solid transparent; border-radius: 8px; cursor: pointer; padding: 0; }
.gallery .thumbs button.on { border-color: var(--orange); }
.gallery .thumbs .prodimg { width: 100%; height: 100%; border-radius: 6px; }
.pd-info h1 { font-size: 30px; line-height: 1.3; }
.pd-info h1 small { display: block; font-size: 16px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.pd-info .desc { color: var(--muted); margin: 14px 0 16px; font-size: 15px; }
.pd-info .ticks li { font-size: 15px; }
.pd-info .custom-tip { margin: 16px 0; padding: 10px 14px; background: #eaf2ff; color: var(--blue); border-radius: 6px; font-size: 14px; }
.pd-info .buy-tip { font-size: 13px; color: var(--muted); margin-top: 10px; }
.pd-crumb { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.pd-crumb a:hover { color: var(--blue); }
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 32px; overflow-x: auto; }
.subnav a { flex: none; padding: 14px 0; font-size: 15px; color: #33404f; border-bottom: 3px solid transparent; }
.subnav a.on { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }

/* 图片编号标注：.pin 用百分比定位在图片上，坐标沿用详情页的实测值 */
.anno-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.anno-wrap.stack { grid-template-columns: 1fr; }
.anno-wrap.stack .anno { max-width: 860px; width: 100%; margin: 0 auto; }
.anno { position: relative; }
.anno .prod { width: 100%; filter: drop-shadow(0 18px 18px rgba(15,27,43,.35)); }
.anno .pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(255,106,0,.25); }
.keys { display: grid; gap: 14px; }
.anno-wrap.stack .keys { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.keys > div { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.keys i { flex: none; font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.keys small { display: block; color: var(--muted); font-size: 13px; }

/* 指示灯 */
.leds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.leds > div { display: grid; grid-template-columns: 120px 1fr; align-items: center; background: #fff; border-radius: var(--radius); padding: 14px 18px; }
.leds b { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.leds b::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(63,178,127,.8); }
.leds b.red::before { background: #e5484d; box-shadow: 0 0 8px rgba(229,72,77,.8); }
.leds span { font-size: 14px; color: var(--muted); }

/* 参数表 */
.spec { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec th, .spec td { border-bottom: 1px solid var(--line); padding: 12px 18px; text-align: left; font-size: 14px; vertical-align: top; }
.spec th { width: 30%; background: #f8fafc; font-weight: 600; color: #33404f; }
.spec tr.grp th { background: var(--navy); color: #fff; font-size: 14px; letter-spacing: 1px; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec.cols th { width: auto; }

/* 场景 */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scene { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.scene .ic { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); background: #eaf2ff; border-radius: 4px; padding: 2px 10px; margin-bottom: 12px; }
.scene b { display: block; font-size: 17px; margin-bottom: 6px; }
.scene p { color: var(--muted); font-size: 14px; }

/* 这样配 */
.kit { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; }
.kit > a, .kit > div:not(.plus) { width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.kit .on { border: 2px solid var(--orange); }
.kit b { display: block; font-size: 17px; }
.kit small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.kit .plus { display: flex; align-items: center; font-size: 26px; color: var(--orange); font-weight: 700; }

/* 资料下载 */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.docs > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.docs b { display: block; font-size: 15px; margin-bottom: 4px; }
.docs span { color: var(--muted); font-size: 13px; }
.docs a { color: var(--blue); font-size: 13px; font-weight: 600; display: inline-block; margin-top: 8px; }

/* 深色面板中的 SVG 拓扑 */
.darkpanel { background: var(--navy); border-radius: 14px; padding: 32px; }
.topo-svg { display: block; width: 100%; max-width: 680px; height: auto; margin: 0 auto; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }

/* 对比 */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs > div { border-radius: var(--radius); padding: 26px 28px; background: #fff; }
.vs h3 { font-size: 18px; margin-bottom: 10px; }
.vs .a { border-top: 4px solid var(--orange); }
.vs .b { border-top: 4px solid var(--blue); }
.vs li { line-height: 2.1; font-size: 15px; padding-left: 18px; position: relative; }
.vs li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .4; }

/* 8 通道示意 */
/* 单通道排队 vs 8 通道并行：每个 .pk 代表一包上报数据 */
.lanes { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: start; }
.lane-box { background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius); padding: 22px; }
.lane-box.ours { border: 2px solid var(--orange); }
.lane-t { font-size: 17px; font-weight: 700; }
.lane-box.ours .lane-t { color: var(--orange2); }
.lane-s { font-size: 13px; color: var(--muted-dark); margin: 4px 0 14px; }
.lane { display: flex; align-items: center; gap: 6px; height: 22px; margin-bottom: 6px; }
.lane b { width: 36px; font-size: 12px; color: var(--muted-dark); font-weight: 600; }
.pk { width: 34px; height: 14px; border-radius: 4px; background: var(--green); font-size: 10px; line-height: 14px; text-align: center; color: #fff; }
.pk.bad { background: #e5484d; }
.pk.wait { background: transparent; border: 1px dashed #6f86a6; }
.lane-foot { font-size: 13px; color: var(--muted-dark); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--panel-line); }
.lane-box.ours .lane-foot { color: var(--orange2); }

/* 侧栏 + 内容（技术支持） */
.side-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-nav a { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { background: var(--soft); color: var(--blue); }
.side-layout section + section { margin-top: 48px; }
.side-layout h2 { font-size: 22px; margin-bottom: 16px; }
.faq details { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; background: #fff; }
.faq summary { padding: 14px 18px; cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: 14px; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list i { flex: none; font-style: normal; width: 40px; height: 40px; border-radius: 10px; background: rgba(31,111,235,.1); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-list b { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.contact-list span { font-size: 16px; font-weight: 600; }
.contact-list .tbd { margin-left: 0; }
.form { background: var(--soft); border-radius: 14px; padding: 32px; }
.form h2 { font-size: 22px; margin-bottom: 6px; }
.form .hint { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form .row.r3 { grid-template-columns: repeat(3, 1fr); }
.form .row.r1 { grid-template-columns: 1fr; }
.form label { display: block; font-size: 13px; color: #33404f; margin-bottom: 6px; }
.form label em { color: #e5484d; font-style: normal; }
.form input, .form select, .form textarea { width: 100%; height: 42px; border: 1px solid #cfd8e3; border-radius: 6px; padding: 0 12px; font: inherit; font-size: 14px; background: #fff; color: var(--text); }
.form textarea { height: 110px; padding: 10px 12px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,235,.15); }
.form .invalid { border-color: #e5484d; }
.form .btn { width: 100%; justify-content: center; height: 46px; }
.form-msg { margin-top: 12px; font-size: 14px; display: none; padding: 10px 14px; border-radius: 6px; }
.form-msg.ok { display: block; background: #e7f7ef; color: #1f7a52; }
.form-msg.err { display: block; background: #fdecec; color: #b42318; }

/* 关于 */
.about-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-intro p { color: var(--muted); font-size: 16px; line-height: 1.9; margin-top: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .nav > li > a { padding: 0 10px; }
  .nav > li > a::after { left: 10px; right: 10px; }
  .mega-prods { grid-template-columns: repeat(2, 1fr); }
  .mega-prods .pic { height: 90px; }
}
@media (max-width: 1080px) {
  .nav > li > a { padding: 0 7px; font-size: 14px; }
  .nav > li > a::after { left: 7px; right: 7px; }
  .mega-in { grid-template-columns: 1fr; gap: 20px; }
  .mega-links { grid-template-columns: repeat(2, 1fr); }
  .head-tel { display: none; }
  .g4, .caps, .pain, .custom-grid, .docs { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .prow { grid-template-columns: 320px 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .menu-btn { display: block; }
  .nav, .head-right { display: none; }
  /* backdrop-filter 会让 fixed 子元素相对头部定位，手机端去掉，全屏菜单才能铺满屏幕 */
  .site-header { backdrop-filter: none; background: #fff; }
  .mnav { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; top: var(--mnav-top, var(--header-h)); background: linear-gradient(160deg, var(--navy), var(--navy2)); color: #fff; overflow-y: auto; padding: 16px 24px 32px;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .site-header.open .mnav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s, visibility 0s; }
  .mnav li { border-bottom: 1px solid rgba(255,255,255,.08); padding: 6px 0; opacity: 0; transform: translateX(-16px); transition: opacity .3s, transform .3s; transition-delay: calc(var(--i) * 40ms); }
  .site-header.open .mnav li { opacity: 1; transform: none; }
  .mnav li > a { display: block; padding: 12px 0; font-size: 20px; font-weight: 600; }
  .mnav li.cur > a { color: var(--orange2); }
  .msub { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 10px; }
  .msub a { font-size: 14px; color: var(--muted-dark); }
  .mnav-foot { display: flex; gap: 12px; margin-top: 24px; }
  .mnav-foot .btn { flex: 1; justify-content: center; }
  .sec { padding: 56px 0; }
  .sec-head h2 { font-size: 26px; }
  .pd-top .grid, .about-intro, .contact-grid, .anno-wrap, .side-layout { grid-template-columns: 1fr; }
  .home-products { grid-template-columns: 1fr; }
  .home-products .feature, .home-products .wide { grid-row: auto; grid-column: auto; }
  .g2, .g3, .feat, .scenes, .why, .sol-list, .vs, .lanes, .leds, .anno-wrap.stack .keys { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: -32px; }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hw { grid-template-columns: repeat(3, 1fr); }
  .access { grid-template-columns: 1fr; }
  .access .center::before, .access .center::after { display: none; }
  .steps, .steps.s5 { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .steps > div::after { display: none; }
  .prow { grid-template-columns: 1fr; }
  .gallery .main { height: 280px; }
  .side-nav { position: static; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .float-bar { display: none; }
  .form .row, .form .row.r3 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .g4, .caps, .pain, .custom-grid, .docs, .dual, .row3 { grid-template-columns: 1fr; }
  .kit > a, .kit > div:not(.plus) { width: 100%; }
}

/* =====================================================================
 * 动态效果：首页轮播、滚动入场、数据流动、悬停反馈
 * 系统开启"减少动态效果"时，文件末尾的 prefers-reduced-motion 统一关闭
 * ===================================================================== */

/* ---------- 首页轮播（全屏宽） ---------- */
.carousel { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%); height: clamp(560px, calc(100vh - var(--header-h) - 30px), 720px); }
/* 背景网格缓慢平移，营造"数据网络"感 */
.carousel::before { content: ""; position: absolute; inset: -60px; background-image: linear-gradient(rgba(110,168,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(110,168,255,.07) 1px, transparent 1px); background-size: 60px 60px; animation: gridMove 24s linear infinite; }
@keyframes gridMove { to { transform: translate(60px, 60px); } }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility 0s .8s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .8s, visibility 0s; }
.slide::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 42% 55% at 72% 55%, var(--glow, rgba(31,111,235,.5)), transparent 70%); }
.slide .wrap { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; padding-bottom: 70px; }
/* 网格子项允许收缩，避免产品大图的原始宽度把页面撑宽 */
.slide .wrap > * { min-width: 0; }
.slide .txt > * { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.slide.on .txt > * { opacity: 1; transform: none; }
.slide.on .txt > :nth-child(2) { transition-delay: .1s; }
.slide.on .txt > :nth-child(3) { transition-delay: .2s; }
.slide.on .txt > :nth-child(4) { transition-delay: .3s; }
.slide.on .txt > :nth-child(5) { transition-delay: .4s; }
.slide .tag { display: inline-block; background: var(--orange); padding: 4px 14px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.slide h1, .slide h2 { font-size: 48px; line-height: 1.2; margin: 18px 0 14px; }
.slide .sub { font-size: 18px; color: #c9d6e8; line-height: 1.7; }
.slide .pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.slide .pills span { border: 1px solid #4b6a8f; padding: 5px 14px; border-radius: 4px; font-size: 14px; color: #dfe8f3; }
.slide .pills span.on { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; }
.slide .pic { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; max-height: 520px; }
.slide .pic img { max-width: 100%; max-height: 82%; filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); opacity: 0; transform: translateX(60px) scale(.94); transition: opacity .9s .15s, transform .9s .15s; }
.slide.on .pic img { opacity: 1; transform: none; animation: floaty 6s ease-in-out 1.1s infinite; }
.slide .pic.narrow img { max-width: 58%; }
.slide .pic.mid img { max-width: 76%; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
/* 产品下方光圈：缓慢呼吸 */
.slide .pic::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 12%; height: 36px; border-radius: 50%; background: radial-gradient(ellipse, rgba(31,111,235,.6), transparent 70%); filter: blur(6px); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; transform: scaleX(.85); } }
/* 定制服务一屏的四宫格 */
.slide .tiles { display: grid; grid-template-columns: repeat(2, 170px); gap: 18px; justify-content: center; }
.slide .tiles div { height: 140px; border-radius: 14px; background: rgba(27,45,68,.85); border: 1px solid var(--panel-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-weight: 700; opacity: 0; transform: scale(.8); transition: opacity .5s, transform .5s; }
.slide .tiles i { font-style: normal; font-size: 34px; color: var(--orange2); }
.slide.on .tiles div { opacity: 1; transform: none; }
.slide.on .tiles div:nth-child(2) { transition-delay: .12s; }
.slide.on .tiles div:nth-child(3) { transition-delay: .24s; }
.slide.on .tiles div:nth-child(4) { transition-delay: .36s; }
/* 切换箭头与带标题的进度条 */
.carousel .arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(15,27,43,.4); color: #fff; font-size: 22px; cursor: pointer; transition: background .2s, transform .2s; }
.carousel .arrow:hover { background: var(--orange); border-color: var(--orange); transform: scale(1.08); }
.carousel .prev { left: clamp(10px, 2vw, 32px); }
.carousel .next { right: clamp(10px, 2vw, 32px); }
/* 圆点指示器：当前一张拉长为胶囊并显示进度 */
.carousel .dots { position: absolute; left: 0; right: 0; bottom: 76px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.carousel .dots button { background: none; border: 0; padding: 8px 2px; cursor: pointer; }
.carousel .dots i { display: block; width: 10px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; transition: width .3s, background .2s; }
.carousel .dots button:hover i { background: rgba(255,255,255,.7); }
.carousel .dots button.on i { width: 36px; background: rgba(255,255,255,.3); }
.carousel .dots i::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.carousel .dots button.on i::after { animation: progress 6s linear forwards; }
.carousel:hover .dots i::after, .carousel:focus-within .dots i::after { animation-play-state: paused; }
.carousel.manual .dots button.on i::after { animation: none; }
.carousel.manual .dots button.on i::after { transform: none; }
/* 进度条时长与 site.js 中的 DUR（6000ms）一致 */
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carousel + .wrap .facts { margin-top: -48px; }

/* ---------- 滚动入场 ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* ---------- 栏目 Banner：光斑缓慢漂移 ---------- */
.page-banner { position: relative; overflow: hidden; }
.page-banner::after { content: ""; position: absolute; width: 420px; height: 420px; right: 8%; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,0,.22), transparent 65%); animation: drift 12s ease-in-out infinite alternate; pointer-events: none; }
.page-banner .wrap { position: relative; z-index: 1; }
@keyframes drift { to { transform: translate(-160px, 120px); } }

/* ---------- 卡片与图片悬停 ---------- */
.feat > div, .cap, .pain > div, .why > div, .custom-grid > div, .scene, .docs > div, .kit > a, .sol { transition: transform .25s, box-shadow .25s, border-color .25s; }
.feat > div:hover, .cap:hover, .pain > div:hover, .why > div:hover, .custom-grid > div:hover, .scene:hover, .docs > div:hover, .kit > a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,27,43,.10); }
.feat i, .why i, .custom-grid i { transition: transform .3s, background .3s, color .3s; }
.feat > div:hover i, .why > div:hover i, .custom-grid > div:hover i { transform: rotate(-8deg) scale(1.1); background: var(--orange); color: #fff; }
.pcard .prodimg img, .prow .prodimg img { transition: transform .5s; }
.pcard:hover .prodimg img, .prow:hover .prodimg img { transform: scale(1.06); }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .5s; }
.btn:hover::after { left: 120%; }
.gallery .main img.swap { animation: swapIn .4s; }
@keyframes swapIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- 拓扑：箭头脉动，表示数据向上流动 ---------- */
.link::before { animation: flowUp 1.6s ease-in-out infinite; }
@keyframes flowUp { 0% { transform: translateY(6px); opacity: .2; } 60% { opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }
.node.ours, .access .center { animation: glowO 2.8s ease-in-out infinite; }
@keyframes glowO { 50% { box-shadow: 0 0 0 6px rgba(255,106,0,.18), 0 0 30px rgba(255,106,0,.35); } }
.topo-svg [stroke-dasharray] { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }

/* Y47 8 通道：数据包从左向右流入 */
.lane-box.ours .pk { animation: pkIn 2.4s ease-in-out infinite; }
.lane-box.ours .lane:nth-child(4) .pk { animation-delay: .1s; }
.lane-box.ours .lane:nth-child(5) .pk { animation-delay: .2s; }
.lane-box.ours .lane:nth-child(6) .pk { animation-delay: .3s; }
.lane-box.ours .lane:nth-child(7) .pk { animation-delay: .4s; }
.lane-box.ours .lane:nth-child(8) .pk { animation-delay: .5s; }
.lane-box.ours .lane:nth-child(9) .pk { animation-delay: .6s; }
.lane-box.ours .lane:nth-child(10) .pk { animation-delay: .7s; }
.lane-box.ours .pk { transform-origin: left center; }
@keyframes pkIn { 0% { transform: scaleX(0); opacity: 0; } 25%, 80% { transform: none; opacity: 1; } 100% { opacity: .6; } }
.pk.bad { animation: shake 1.8s ease-in-out infinite; }
@keyframes shake { 0%, 70%, 100% { transform: none; } 75% { transform: translateX(-3px); } 85% { transform: translateX(3px); } }

/* 编号圆点外圈呼吸 */
.anno .pin::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,106,0,.6); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* 指示灯："运行"灯闪烁 */
.leds > div:nth-child(2) b::before { animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- 资料下载 ---------- */
.ext { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 22px; padding: 0 6px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff; background: #8a96a8; vertical-align: middle; }
.ext-pdf { background: #e5484d; }
.ext-xlsx, .ext-xls, .ext-csv { background: #1f9d55; }
.ext-doc, .ext-docx { background: var(--blue); }
.ext-zip, .ext-rar, .ext-7z { background: #8b5cf6; }
.ext-exe, .ext-bin, .ext-hex { background: #33404f; }
.docs.has-files { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.doc-file { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.doc-file .ext { align-self: flex-start; }
.doc-file b { font-size: 15px; }
.doc-file span:not(.ext) { color: var(--muted); font-size: 12px; }
.doc-file a { margin-top: auto; align-self: flex-start; color: #fff !important; background: var(--blue); border-radius: 5px; padding: 4px 14px; font-size: 13px; font-weight: 600; }
.doc-file a:hover { filter: brightness(1.1); }
/* 技术支持页：网盘式资料浏览（左侧目录树 + 右侧文件列表） */
.fm { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.fm-fallback { padding: 16px 20px 16px 36px; line-height: 2; list-style: disc; }
.fm-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.fm-bar input { flex: 1; max-width: 320px; height: 34px; border: 1px solid #cfd8e3; border-radius: 17px; padding: 0 14px; font: inherit; font-size: 13px; background: #fff; }
.fm-count { font-size: 13px; color: var(--muted); }
.fm-body { display: grid; grid-template-columns: 220px 1fr; min-height: 360px; }
.fm-tree { border-right: 1px solid var(--line); padding: 8px 0; overflow-x: auto; }
.fm-tree ul { list-style: none; margin: 0; padding: 0; }
.fm-node { display: flex; align-items: center; gap: 6px; height: 34px; padding-left: calc(8px + var(--d) * 18px); padding-right: 10px; cursor: pointer; font-size: 14px; white-space: nowrap; }
.fm-node:hover { background: var(--soft); }
.fm-node.on { color: var(--blue); font-weight: 600; background: #eef4ff; }
.fm-caret { width: 18px; height: 18px; flex: none; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.fm-caret::before { content: ""; position: absolute; left: 6px; top: 5px; width: 6px; height: 6px; border-right: 1.5px solid #8a96a8; border-bottom: 1.5px solid #8a96a8; transform: rotate(-45deg); transition: transform .2s; }
.fm-caret.open::before { transform: rotate(45deg); left: 5px; top: 4px; }
.fm-caret.none { visibility: hidden; }
.fm-ico { width: 18px; height: 18px; flex: none; fill: #4a5566; }
.fm-node.on .fm-ico { fill: var(--blue); }
.fm-main { min-width: 0; }
.fm-head { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.fm-back { width: 30px; height: 30px; flex: none; border: 0; border-radius: 6px; background: none; font-size: 18px; cursor: pointer; color: #33404f; }
.fm-back:hover:not(:disabled) { background: var(--soft); }
.fm-back:disabled { opacity: .3; cursor: default; }
.fm-path { font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-path a { color: var(--muted); }
.fm-path a:hover { color: var(--blue); }
.fm-sep { font-style: normal; color: #b6c0cc; margin: 0 6px; }
.fm-more { margin-left: auto; color: var(--blue); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fm-cols, .fm-row { display: grid; grid-template-columns: 26px 1fr 140px 80px 64px; align-items: center; gap: 12px; padding: 0 16px; }
.fm-cols { height: 34px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); background: #fafbfc; }
.fm-cols span:first-child { grid-column: 1 / 3; }
.fm-row { min-height: 50px; border-bottom: 1px solid var(--line); font-size: 14px; color: inherit; }
.fm-row:hover { background: #f8fafc; }
.fm-row .fm-ico { width: 22px; height: 22px; }
.fm-row .ext { min-width: 26px; height: 20px; padding: 0 3px; font-size: 9px; }
.fm-name { min-width: 0; padding: 8px 0; }
.fm-name small { display: block; font-size: 12px; color: var(--muted); }
.fm-ver { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 4px; }
.fm-time, .fm-size { font-size: 13px; color: #4a5566; font-variant-numeric: tabular-nums; }
.fm-size { text-align: right; }
a.fm-act { justify-self: end; font-size: 13px; font-weight: 600; color: #fff !important; background: var(--blue); border-radius: 5px; padding: 3px 12px; }
a.fm-act.ask { background: none; color: var(--blue) !important; border: 1px solid var(--blue); }
.fm-empty { padding: 28px 16px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .fm-body { grid-template-columns: 1fr; }
  .fm-tree { display: none; }
  .fm-cols { display: none; }
  .fm-row { grid-template-columns: 26px 1fr 64px; }
  .fm-time, .fm-size { display: none; }
}
.store-guide { margin-top: 20px; line-height: 1.9; }
.store-guide code { background: #fff; border: 1px solid #f5c26b; border-radius: 3px; padding: 0 5px; font-size: 13px; }
.store-guide pre { background: #fff; border: 1px solid #f5c26b; border-radius: 6px; padding: 10px 14px; margin: 8px 0; font-size: 13px; line-height: 1.7; overflow-x: auto; color: #33404f; }

@media (max-width: 860px) {
  .carousel { height: auto; }
  .slide { position: relative; display: none; }
  .slide.on { display: block; }
  .slide .wrap { grid-template-columns: 1fr; gap: 16px; padding-top: 40px; padding-bottom: 110px; }
  .slide h1, .slide h2 { font-size: 32px; }
  .slide .sub { font-size: 15px; }
  .slide .pic { height: 220px; }
  .slide .tiles { grid-template-columns: repeat(2, 1fr); }
  .slide .tiles div { height: 90px; }
  .carousel .arrow { display: none; }
  .carousel .dots { bottom: 52px; }
  .carousel + .wrap .facts { margin-top: -32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slide .txt > *, .slide .pic img, .slide .tiles div { opacity: 1; transform: none; }
}
