/* ===================================================================
   屹然电子 · 首页（方案 B：地平线日出 + 苹果式深色色阶）
   只被 index.html 引用；其他页面仍使用 site.css
   =================================================================== */

/* —— 颜色与字体：以后改色只需改这里 ——
   RGB 三元组用于叠加透明度：rgb(var(--light) / .3)
   --hb-*  首屏星球：warm 近地光（亮边与太阳由它提亮）、cool 高空大气、sun 产品底部受光、bg 太空底色
   --sec-* 内容区色阶：A / B 交替，key 为全页唯一的品牌深蓝重点区块 */
:root {
  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --latin: "SF Pro Display", "Helvetica Neue", "Inter", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.28, .11, .32, 1);

  --bg: #05070B;
  --tube: 234 242 255;
  --light: 42 98 232;
  --accent: #8FB0FF;

  --hb-warm: 143 184 255;
  --hb-cool: 42 98 232;
  --hb-sun: 234 242 255;
  --hb-bg: 5 7 11;

  --sec-a: #070C1A;
  --sec-b: #0B1224;
  --sec-card: #111A33;
  --sec-key: #0E1C45;
  --sec-ftr: #04060E;
  --sec-line: rgba(143, 176, 255, .1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: rgba(255, 255, 255, .88); background: var(--sec-a); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* —— 页头：透明，开场结束后淡入；滚动后加毛玻璃底 —— */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 72px; padding: 0 max(32px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; gap: 40px; opacity: 0; transition: opacity 1.2s var(--ease), background .4s; }
.hdr.on { opacity: 1; }
.hdr.solid, .hdr.menu { background: rgba(5, 7, 11, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); }
.hdr.lite:not(.menu) { background: rgba(252, 253, 254, .82); border-bottom: 1px solid rgba(16, 26, 56, .07); box-shadow: 0 10px 30px -28px rgba(16, 26, 56, .55); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); }
.hdr.lite:not(.menu) .logo b { color: #101A38; }
.hdr.lite:not(.menu) .logo small { color: #697287; }
.hdr.lite:not(.menu) .nav a { color: #697287; }
.hdr.lite:not(.menu) .nav a:hover, .hdr.lite:not(.menu) .nav a.on { color: #101A38; }
.hdr.lite:not(.menu) .tel { color: #4F5B72; }
.hdr.lite:not(.menu) .btn { color: #FFF; background: #101A38; }
.hdr.lite:not(.menu) .btn:hover { background: #2A62E8; box-shadow: 0 10px 28px -16px rgba(42, 98, 232, .65); }
.hdr.lite:not(.menu) .burger i { background: #101A38; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.mk { width: 34px; height: 34px; flex: none; background: url("../brand/logo-full.png") left center / auto 100% no-repeat; }
.logo b { display: block; font-size: 17px; font-weight: 600; letter-spacing: .08em; color: #fff; line-height: 1.2; transition: color .35s; }
.logo small { display: block; font-family: var(--latin); font-size: 9px; letter-spacing: .24em; color: rgba(255, 255, 255, .45); transition: color .35s; }
.nav { display: flex; gap: 30px; margin: 0 auto; font-size: 14px; }
.nav a { color: rgba(255, 255, 255, .6); transition: color .35s; }
.nav a:hover, .nav a.on { color: #fff; }
.hdr-r { display: flex; align-items: center; gap: 22px; }
.tel { font-family: var(--latin); font-size: 14px; letter-spacing: .04em; color: rgba(255, 255, 255, .7); transition: color .35s; }
.burger { display: none; width: 40px; height: 40px; margin-right: -8px; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:first-child { top: 16px; }
.burger i:last-child { top: 23px; }
.hdr.menu .burger i:first-child { top: 19.5px; transform: rotate(45deg); }
.hdr.menu .burger i:last-child { top: 19.5px; transform: rotate(-45deg); }

/* 手机菜单：全屏深色毛玻璃，链接依次浮现 */
.mnav { position: fixed; inset: 72px 0 0; z-index: 39; padding: 24px 28px 40px; background: rgba(5, 7, 11, .92); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
.mnav.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.mnav a:not(.btn):not(.tel) { padding: 16px 0; font-size: 22px; font-weight: 500; color: #fff; border-bottom: 1px solid var(--sec-line); opacity: 0; translate: 0 10px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.mnav.open a:not(.btn):not(.tel) { opacity: 1; translate: 0 0; }
.mnav .btn { margin-top: 32px; align-self: flex-start; }
.mnav .tel { margin-top: 20px; font-size: 18px; }

/* —— 按钮：白底黑字为主按钮，次按钮只用文字 —— */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 30px; border-radius: 999px; background: #fff; color: #05070B; font-size: 15px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; transition: background .25s, box-shadow .25s; }
.btn:hover { background: rgb(var(--tube)); box-shadow: 0 0 0 1px rgb(var(--tube) / .55), 0 6px 22px -6px rgb(var(--light) / .55), 0 0 56px -8px rgb(var(--light) / .45); }   /* 柔和光晕：细亮边 + 由近到远散开的柔光，不用硬边光环 */
.btn-sm { height: 36px; padding: 0 18px; font-size: 13px; }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-line:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .6); box-shadow: none; }
.link { font-size: 15px; letter-spacing: .04em; color: rgba(255, 255, 255, .78); white-space: nowrap; transition: color .2s; }
.link span { display: inline-block; margin-left: 6px; transition: transform .25s var(--ease); }
.link:hover { color: #fff; }
.link:hover span { transform: translateX(4px); }

/* —— 通用文字 —— */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--latin); font-size: 12px; font-weight: 500; letter-spacing: .34em; color: rgba(255, 255, 255, .55); margin-bottom: 26px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--tube)); box-shadow: 0 0 10px rgb(var(--light)); }
.cta { display: flex; align-items: center; gap: 32px; margin-top: 34px; }
.hb-cta { flex-direction: column; gap: 15px; }
.hb-contact { min-width: 176px; }
.hb-contact span { display: inline-block; margin-left: 10px; transition: transform .25s var(--ease); }
.hb-contact:hover span { transform: translateX(4px); }
.hb-subactions { display: flex; align-items: center; justify-content: center; gap: 32px; }

/* ===================================================================
   首屏：暗色星球的地平线上，太阳从 CP204 背后升起（画面由 home-hero.js 的 WebGL2 着色器绘制）
   --hf 地平线距顶部的比例：着色器与产品定位共用这一个值
   =================================================================== */
.hb { --hf: .8; position: relative; isolation: isolate; overflow: hidden; min-height: max(100svh, 720px); background: var(--bg); }
.hb-gl { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.hb.no-gl { background: radial-gradient(70% 34% at 50% 80%, rgb(var(--hb-cool) / .45), transparent 70%), var(--bg); }
.hb::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(0deg, var(--sec-a), transparent 160px), radial-gradient(130% 90% at 50% 40%, transparent 60%, rgba(0, 0, 0, .5)); }

.hb-txt { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 128px 24px 0; translate: var(--mx2, 0) 0; }
.hb-txt > * { opacity: 0; translate: 0 22px; filter: blur(8px); transition: opacity 1.4s var(--ease), translate 1.4s var(--ease), filter 1.4s var(--ease); }
.hb.show .hb-txt > * { opacity: 1; translate: 0 0; filter: none; }
.hb.show .hb-txt > :nth-child(2) { transition-delay: .12s; }
.hb.show .hb-txt > :nth-child(3) { transition-delay: .32s; }
.hb.show .hb-txt > :nth-child(4) { transition-delay: .44s; }
.hb-h1 { font-size: clamp(46px, 6.8vw, 108px); font-weight: 600; line-height: 1.06; letter-spacing: .04em;
  background: linear-gradient(180deg, #fff 30%, rgb(var(--tube) / .62) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hb-h1 .m { display: none; }
.hb-sub { margin-top: 22px; max-width: 42em; font-size: 17px; line-height: 1.8; letter-spacing: .03em; color: rgba(255, 255, 255, .56); }

/* 产品：位置与高度由 home-hero.js 计算（--x 水平位置、--b 落在弧线上的底部高度、--h 高度），逆光下偏剪影、边缘带光 */
.hb-devs { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hb-dev { position: absolute; left: var(--x, 50%); bottom: var(--b, 20%); height: var(--h, 260px); aspect-ratio: var(--ar);
  translate: calc(-50% + var(--px, 0px)) 18px; opacity: 0; transform-origin: center bottom; transition: opacity 1.6s var(--ease) var(--d, 0ms), translate 1.6s var(--ease) var(--d, 0ms), transform .4s var(--ease); }
.hb.prod .hb-dev { opacity: 1; translate: calc(-50% + var(--px, 0px)) 0; }
.hb.done .hb-dev { pointer-events: auto; cursor: pointer; }
.hb-dev img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: brightness(.72) contrast(1.06) drop-shadow(0 0 1px rgb(var(--hb-warm) / .55)) drop-shadow(0 0 22px rgb(var(--hb-cool) / .45)); transition: filter .4s var(--ease); }
.hb-dev::before { content: ""; position: absolute; left: 50%; bottom: -16px; width: 160%; height: 50px; translate: -50% 0; background: radial-gradient(ellipse, rgb(var(--hb-warm) / .42), rgb(var(--hb-cool) / .15) 38%, transparent 70%); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.hb-dev.is-active { transform: translateY(-6px) scale(1.025); }
.hb-dev.is-active img { filter: brightness(.92) contrast(1.06) drop-shadow(0 0 1px rgb(var(--hb-warm) / .7)) drop-shadow(0 0 26px rgb(var(--hb-cool) / .55)); }
.hb-dev.is-active::before { opacity: 1; }
.hb.has-focus .hb-dev:not(.is-active) img { filter: brightness(.65) contrast(1.06) drop-shadow(0 0 1px rgb(var(--hb-warm) / .45)) drop-shadow(0 0 18px rgb(var(--hb-cool) / .3)); }
.hb-dev:focus-visible { outline: 1px solid var(--accent); outline-offset: 10px; border-radius: 8px; }
.hb-rim { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(0deg, rgb(var(--hb-sun) / .5) 0%, rgb(var(--hb-warm) / .2) 14%, transparent 42%), linear-gradient(180deg, rgb(var(--hb-cool) / .16), transparent 40%);
  -webkit-mask-position: center bottom; mask-position: center bottom; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

.hb-foot { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 6; padding: 0 max(32px, calc((100vw - 1280px) / 2)); display: flex; justify-content: space-between; align-items: flex-end;
  opacity: 0; translate: 0 12px; transition: opacity 1.2s var(--ease), translate 1.2s var(--ease); }
.hb.done .hb-foot { opacity: var(--fade, 1); translate: 0 0; }
.hb-cap { font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, .45); letter-spacing: .06em; }
.hb-cap b { display: block; font-family: var(--latin); font-size: 14px; font-weight: 600; letter-spacing: .16em; color: rgba(255, 255, 255, .85); }
.hb-caption { position: relative; max-width: 46%; padding-bottom: 20px; }
.hb-cap { min-height: 45px; }
.hb-detail { position: absolute; bottom: 0; left: 0; font-size: 11px; letter-spacing: .06em; color: var(--accent); }
.hb-detail[hidden] { display: none; }
.hb-detail:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.hb-stats { display: flex; }
.hb-stats div { padding-left: 30px; margin-left: 30px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hb-stats div:first-child { border: 0; margin: 0; padding: 0; }
.hb-stats dt { font-family: var(--latin); font-size: 30px; font-weight: 300; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.hb-stats dt small { font-size: 18px; color: var(--accent); margin-left: 1px; }
.hb-stats dd { font-size: 12px; color: rgba(255, 255, 255, .45); letter-spacing: .06em; }

/* ===================================================================
   内容区：苹果式深色色阶，相邻区块用相近底色直线切换，不用渐变
   =================================================================== */
.ds { position: relative; padding: 150px 0; }
.ds-a { background: var(--sec-a); }
.ds-b { background: var(--sec-b); }
.ds-key { background: var(--sec-key); overflow: hidden; isolation: isolate; }
.ds-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.ds-head { max-width: 900px; margin: 0 auto 64px; text-align: center; }
.ds h2 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 600; line-height: 1.22; letter-spacing: .03em; color: #fff; text-wrap: balance; }
.ds h2 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.ds-head p, .ds-oem p, .ds-cta p { margin-top: 20px; font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .56); }
.ds-head p { max-width: 40em; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.ds-more { margin-top: 48px; text-align: center; }
/* 标题行右侧带操作（主推机型、发展历程） */
.ds-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; text-align: left; }
.ds-head.row p { margin-left: 0; }

/* 进场：慢、短位移，只播一次 */
.ds-rv { opacity: 0; translate: 0 36px; transition: opacity 1.1s var(--ease), translate 1.1s var(--ease); }
.ds-rv.in { opacity: 1; translate: 0 0; }

/* ① 品类目录：浅色 Bento，与首屏深色氛围明确分层 */
.ds-products { background: #F1F4F8; color: #0B1230; border-top: 1px solid rgba(255, 255, 255, .7); border-bottom: 1px solid #E2E7EF; }
.ds-products .eyebrow { color: #2A62E8; }
.ds-products .eyebrow::before { background: #2A62E8; box-shadow: none; }
.ds-products h2 { color: #0B1230; }
.ds-products h2 em { color: #2A62E8; }
.ds-products .ds-head > p:last-child { color: #697287; }
.ds-products .ds-more .link { color: #1F4FA3; }
.ds-products .ds-more .link:hover { color: #2A62E8; }
.ds-cats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.ds-cat { position: relative; grid-column: span 3; display: flex; flex-direction: column; min-height: 260px; padding: 24px 24px 20px; border-radius: 22px; background: #FFF; border: 1px solid #DCE3ED; box-shadow: 0 18px 46px -38px rgba(18, 38, 76, .48); overflow: hidden; transition: border-color .35s, box-shadow .45s var(--ease), translate .5s var(--ease), opacity 1.1s var(--ease); }
.ds-cat:nth-child(-n + 2) { grid-column: span 6; min-height: 400px; padding: 34px 34px 26px; background: linear-gradient(145deg, #FFF 15%, #F7FAFF 100%); }
.ds-cat:hover { border-color: rgba(42, 98, 232, .46); box-shadow: 0 28px 64px -36px rgba(31, 79, 163, .38); translate: 0 -5px; }
.ds-cat::before { content: ""; position: absolute; right: -22%; bottom: -55%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(76, 130, 255, .12), transparent 72%); pointer-events: none; opacity: .55; transition: opacity .45s; }
.ds-cat:nth-child(-n + 2)::before { right: -5%; bottom: -52%; width: 72%; }
.ds-cat:hover::before { opacity: .9; }
.ds-cat h3 { position: relative; z-index: 1; padding-right: 42px; font-size: 19px; font-weight: 600; letter-spacing: .01em; color: #101A38; }
.ds-cat:nth-child(-n + 2) h3 { font-size: 26px; }
.ds-cat small { position: relative; z-index: 1; display: block; margin-top: 5px; font-family: var(--latin); font-size: 11px; letter-spacing: .12em; color: #7B8497; }
.ds-cat .im { position: relative; z-index: 1; flex: 1; margin-top: 12px; min-height: 130px; }
.ds-cat:nth-child(-n + 2) .im { min-height: 260px; margin-top: 16px; }
.ds-cat .im img { position: absolute; inset: 5% 8% 0; width: 84%; height: 95%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(28, 43, 70, .2)); transition: scale .6s var(--ease), translate .6s var(--ease); }
.ds-cat:nth-child(-n + 2) .im img { inset: 2% 14% 0; width: 72%; height: 98%; }
.ds-cat:hover .im img { scale: 1.035; translate: 0 -3px; }
.ds-cat .go { position: absolute; z-index: 2; right: 20px; top: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #F2F5FA; border: 1px solid #DFE5EE; font-size: 16px; color: #667086; transition: color .3s, background .3s, border-color .3s, translate .3s var(--ease); }
.ds-cat:nth-child(-n + 2) .go { right: 28px; top: 28px; }
.ds-cat:hover .go { color: #FFF; background: #2A62E8; border-color: #2A62E8; translate: 3px 0; }

/* ② 主推机型：横向滑动的产品卡 */
.ds-featured { background: #FCFDFE; color: #101A38; border-bottom: 1px solid #E1E6EE; }
.ds-featured .eyebrow { color: #2A62E8; }
.ds-featured .eyebrow::before { background: #2A62E8; box-shadow: none; }
.ds-featured h2 { color: #101A38; }
.ds-featured h2 em { color: #2A62E8; }
.ds-featured .ds-head p { color: #697287; }
.ds-featured .ds-more .link { color: #1F4FA3; }
.ds-featured .ds-more .link:hover { color: #2A62E8; }
.ds-nav { display: flex; gap: 10px; flex: none; }
.ds-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #CCD5E2; color: #35415A; background: #FFF; font-size: 18px; transition: color .25s, background .25s, border-color .25s, opacity .25s; }
.ds-nav button:hover { color: #FFF; background: #2A62E8; border-color: #2A62E8; }
.ds-nav button:disabled { opacity: .3; cursor: default; background: none; }
.ds-feat { display: flex; align-items: stretch; gap: 20px; height: auto; overflow-x: auto; overflow-y: hidden; overscroll-behavior-y: auto; scroll-snap-type: x proximity; scroll-padding-left: max(32px, calc((100vw - 1240px) / 2 + 32px)); padding: 12px max(32px, calc((100vw - 1240px) / 2 + 32px)); scrollbar-width: none; }
.ds-feat::-webkit-scrollbar { display: none; }
.ds-pc { flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 24px; background: #F5F7FA; border: 1px solid #D6DEE9; box-shadow: 0 24px 54px -40px rgba(28, 48, 84, .38); overflow: hidden; transition: border-color .4s, box-shadow .45s var(--ease), translate .5s var(--ease), opacity 1.1s var(--ease); }
/* 横滑区只做透明度进场，避免向下位移产生隐藏的纵向滚动范围。 */
.ds-feat .ds-pc { translate: none; transition: border-color .4s, box-shadow .45s var(--ease), transform .5s var(--ease), opacity 1.1s var(--ease); }
.ds-pc:hover { border-color: rgba(42, 98, 232, .42); box-shadow: 0 32px 68px -38px rgba(31, 79, 163, .4); transform: translateY(-5px); }
.ds-pc .im { position: relative; height: 240px; flex-shrink: 0; overflow: hidden; border-bottom: 1px solid #DCE3EC; background: linear-gradient(180deg, #EEF2F7, #E7ECF4); }
.ds-pc .im::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 72% at 50% 58%, rgba(255, 255, 255, .96), rgba(255, 255, 255, .28) 46%, transparent 76%); pointer-events: none; }
.ds-pc .im::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 11%; height: 20px; border-radius: 50%; background: radial-gradient(ellipse, rgba(75, 98, 137, .2), rgba(98, 119, 155, .06) 54%, transparent 76%); filter: blur(6px); pointer-events: none; }
.ds-pc .im img { position: absolute; z-index: 1; inset: 11% 18% 13%; width: 64%; height: 76%; object-fit: contain; filter: drop-shadow(0 20px 17px rgba(38, 50, 74, .26)); transition: scale .6s var(--ease), translate .6s var(--ease); }
.ds-pc:hover .im img { scale: 1.045; translate: 0 -3px; }
.ds-pc .tx { padding: 20px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.ds-pc small { font-family: var(--latin); font-size: 11px; letter-spacing: .14em; color: #2A62E8; }
.ds-pc h3 { margin-top: 6px; font-size: 20px; font-weight: 600; color: #101A38; }
.ds-pc p { margin: 8px 0 18px; font-size: 13px; line-height: 1.7; color: #697287; }
.ds-pc .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.ds-pc .tags span { font-family: var(--latin); font-size: 11px; padding: 4px 10px; border-radius: 999px; background: #E8EEF8; border: 1px solid #D8E1EF; color: #44516A; }

/* ③ 定制合作：深海军蓝融入上下区块，冷色柔光集中在产品附近。 */
.ds-key { background: linear-gradient(180deg, var(--sec-b), transparent 22%, transparent 78%, var(--sec-a)), linear-gradient(110deg, #080F21 8%, #0B1429 55%, #10162B 100%); }
.ds-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 76% 65%, rgba(38, 111, 196, .06), transparent 36%), radial-gradient(ellipse at 94% 38%, rgba(114, 89, 176, .04), transparent 30%); pointer-events: none; }
.ds-oem { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.ds-ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 34px 0 40px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.ds-ticks li { display: flex; align-items: center; gap: 10px; }
.ds-ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--tube)); box-shadow: 0 0 10px rgb(var(--light)); flex: none; }
.ds-oem .cta { margin-top: 0; }
.ds-oem-vis { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; min-height: 400px; padding: 24px 0 42px; width: 100%; max-width: 640px; margin-inline: auto; }
.ds-oem-vis::before, .ds-oem-vis::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(18px); opacity: .75; transition: opacity .55s var(--ease); }
.ds-oem-vis::before { width: 100%; height: 110%; left: -20%; top: 2%; background: radial-gradient(ellipse, rgba(86, 179, 224, .2), rgba(41, 106, 195, .12) 35%, transparent 70%); }
.ds-oem-vis::after { width: 80%; height: 120%; right: -20%; top: -18%; background: radial-gradient(ellipse, rgba(150, 120, 212, .18), rgba(91, 80, 174, .1) 37%, transparent 70%); }
.oem-floor { position: absolute; z-index: -1; pointer-events: none; left: -5%; right: -5%; bottom: 12px; height: 68px;
  background: radial-gradient(ellipse 32% 22% at 32% 50%, rgba(89, 172, 229, .26), transparent 100%), radial-gradient(ellipse 15% 23% at 84% 50%, rgba(161, 137, 226, .3), transparent 100%); filter: blur(9px); }
.oem-device { position: relative; overflow: hidden; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .45)); }
@media (hover: hover) and (pointer: fine) {
  .ds-oem-vis:has(.oem-router:hover)::before, .ds-oem-vis:has(.oem-cpe:hover)::after { opacity: 1; }
}
.ds-oem-vis img { position: absolute; height: auto; max-width: none; }
/* 按素材的有效轮廓裁去透明留白，不拉伸产品，也不让图片盒子跨列。 */
.oem-router { aspect-ratio: 1091 / 770; }
.ds-oem-vis .v1 { left: -6.966%; top: -31.169%; width: 114.94%; }
.oem-cpe { width: clamp(126px, 12vw, 178px); aspect-ratio: 271 / 497; }
.ds-oem-vis .v2 { left: -161.255%; top: -4.225%; width: 442.804%; }

/* ④ 研发制造 bento */
.ds-bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: 20px; }
.dt { position: relative; overflow: hidden; border-radius: 24px; grid-column: span 4; background: linear-gradient(145deg, #141F39, #0D162A); border: 1px solid rgba(143, 176, 255, .16); box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 22px 48px -40px rgba(0, 0, 0, .85); padding: 28px; display: flex; flex-direction: column; color: #fff; }
.dt-rd { grid-column: span 7; grid-row: span 2; }
.dt-fac, .dt-inj { grid-column: span 5; }
.dt h3 { position: relative; z-index: 1; font-size: 21px; font-weight: 600; }
.dt p { position: relative; z-index: 1; margin-top: 6px; max-width: 24em; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .55); }
.dt-photo { padding: 0; border: 0; }
.dt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.dt-photo:hover img { scale: 1.04; }
.dt-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 7, 16, .9), rgba(4, 7, 16, .25) 55%, transparent 80%); }
.dt-photo > div { position: relative; z-index: 1; margin-top: auto; padding: 26px 28px; }
.dt-photo p { color: rgba(255, 255, 255, .72); }
.dt-num b { margin-top: auto; font-family: var(--latin); font-size: 56px; font-weight: 300; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.dt-num b small { font-size: 18px; font-weight: 500; margin-left: 6px; color: var(--accent); letter-spacing: .04em; }

/* ⑤ 发展历程：一条细线串起六个年份 */
.ds-journey { background: #F1F4F8; border-top: 1px solid #E2E7EF; }
.ds-journey .eyebrow, .ds-trust .eyebrow { color: #2A62E8; }
.ds-journey .eyebrow::before, .ds-trust .eyebrow::before { background: #2A62E8; box-shadow: none; }
.ds-journey h2, .ds-trust h2 { color: #101A38; }
.ds-journey h2 em, .ds-trust h2 em { color: #2A62E8; }
.ds-journey .link, .ds-trust .link { color: #1F4FA3; }
.ds-journey .link:hover, .ds-trust .link:hover { color: #2A62E8; }
.ds-tl { list-style: none; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; padding-top: 44px; }
.ds-tl::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, #CFD8E5, #9FB4D4 62%, #4C82FF); }
.ds-tl li { position: relative; }
.ds-tl li::before { content: ""; position: absolute; left: 0; top: -44px; width: 15px; height: 15px; border-radius: 50%; background: #FFF; border: 1px solid #91A8C8; box-shadow: 0 2px 8px rgba(31, 79, 163, .1); }
.ds-tl li:last-child::before { background: #2A62E8; border-color: #DCE7FF; box-shadow: 0 0 0 6px rgba(42, 98, 232, .12), 0 8px 20px -8px rgba(42, 98, 232, .58); }
.ds-tl .yr { font-family: var(--latin); font-size: 34px; font-weight: 400; line-height: 1; color: #101A38; }
.ds-tl li:last-child .yr { color: #2A62E8; }
.ds-tl h3 { margin-top: 16px; font-size: 16px; font-weight: 600; color: #101A38; }
.ds-tl .co { margin-top: 4px; font-size: 12px; letter-spacing: .04em; color: #2A62E8; }
.ds-tl p { margin-top: 10px; font-size: 13px; line-height: 1.75; color: #697287; }

/* ⑥ 信任背书：大数字 + 资质 */
.ds-trust { background: #FCFDFE; border-top: 1px solid #E2E7EF; }
.ds-trust .ds-head > p:last-child { color: #697287; }
.ds-nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #D7DEE8; border-bottom: 1px solid #D7DEE8; }
.ds-nums div { padding: 44px 28px; text-align: center; }
.ds-nums div + div { border-left: 1px solid #D7DEE8; }
.ds-nums dt { font-family: var(--latin); font-size: clamp(40px, 4.4vw, 64px); font-weight: 400; line-height: 1; color: #101A38; font-variant-numeric: tabular-nums; }
.ds-nums dt small { font-size: .45em; color: #2A62E8; margin-left: 2px; }
.ds-nums dd { margin-top: 12px; font-size: 14px; letter-spacing: .06em; color: #697287; }
.ds-certs { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.ds-certs li { padding: 24px 26px; border-radius: 20px; background: #F2F5F9; border: 1px solid #D9E1EC; box-shadow: 0 20px 46px -40px rgba(31, 54, 94, .42); }
.ds-certs b { display: block; font-size: 16px; font-weight: 600; color: #101A38; }
.ds-certs span { display: block; margin-top: 6px; font-size: 13px; color: #697287; }
.ds-marks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 56px; font-size: 15px; letter-spacing: .08em; color: #667086; }

/* ⑦ 询盘：沿用首屏光影，近地橙金与高空冰蓝构成安静的品牌收尾。 */
.ds-cta { --hf: .8; --hb-warm: 242 178 76; --hb-cool: 42 98 232; --hb-bg: 4 6 14; --accent: #EBC48C;
  overflow: hidden; isolation: isolate; text-align: center; padding: 150px 0 220px; }
.ds-cta > .ds-wrap { position: relative; z-index: 1; }
.cta-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* WebGL 不可用时，保留同配色的静态地平线。 */
.ds-cta::before { content: ""; position: absolute; left: 50%; top: calc(100% - 120px); width: max(1600px, 140vw); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; z-index: -1;
  background: var(--sec-ftr); box-shadow: 0 -1px 0 rgb(var(--hb-warm) / .7), 0 -12px 45px -8px rgb(var(--hb-warm) / .3), 0 -50px 130px -20px rgb(var(--hb-cool) / .3); }
.ds-cta.has-horizon::before { display: none; }
.ds-cta::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--sec-b), transparent 24%), linear-gradient(0deg, var(--sec-ftr), transparent 22%); pointer-events: none; }
.ds-cta .eyebrow::before { background: #F2B24C; box-shadow: 0 0 12px rgb(var(--hb-warm) / .4); }
.ds-cta .btn:hover { background: #FFF4E4; box-shadow: 0 0 0 1px rgb(var(--hb-warm) / .3), 0 6px 22px -6px rgb(var(--hb-warm) / .3), 0 0 56px -8px rgb(var(--hb-warm) / .22); }
.ds-cta .btn-line:hover { background: rgb(var(--hb-warm) / .06); }
.ds-cta h2 { font-size: clamp(36px, 4.4vw, 64px); }
.ds-cta p { max-width: 34em; margin-left: auto; margin-right: auto; }
.ds-cta .cta { justify-content: center; margin-top: 40px; }

/* 页脚：与询盘区底部的“星球表面”同色，连成一体 */
.ds-ftr { background: var(--sec-ftr); padding: 40px 0 36px; font-size: 14px; color: rgba(255, 255, 255, .48); }
.ds-ftr-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.6fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--sec-line); }
.ds-ftr h4 { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .85); }
.ds-ftr ul { list-style: none; display: grid; gap: 10px; }
.ds-ftr ul a { transition: color .2s; }
.ds-ftr ul a:hover { color: #fff; }
.ds-ftr .slogan { margin-top: 18px; line-height: 1.8; }
.ds-tel { margin-top: 20px; font-family: var(--latin); font-size: 26px; font-weight: 300; letter-spacing: .04em; color: #fff; }
.ds-ftr .addr li { line-height: 1.6; }
.ds-ftr .addr b { display: block; font-weight: 500; color: rgba(255, 255, 255, .8); }
.ds-ftr-bot { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; font-size: 12px; color: rgba(255, 255, 255, .3); }

/* ===================================================================
   响应式
   =================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hdr-r { margin-left: auto; }
  .burger { display: block; }
  .ds-ftr-top { grid-template-columns: 1fr 1fr 1fr; }
  .ds-ftr-top > :first-child, .ds-ftr-top > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .ds { padding: 110px 0; }
  .ds-cats { grid-template-columns: 1fr 1fr; }
  .ds-cat, .ds-cat:nth-child(-n + 2) { grid-column: auto; min-height: 320px; padding: 28px 28px 22px; }
  .ds-cat:nth-child(-n + 2) .im { min-height: 200px; }
  .ds-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .ds-bento > .dt { grid-column: span 1; grid-row: span 1; }
  .ds-bento > .dt-rd { grid-column: span 2; }
  .ds-oem { grid-template-columns: 1fr; }
  .ds-oem-vis { min-height: 340px; }
  .ds-tl { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .ds-tl::before { display: none; }
  .ds-tl li { border-top: 1px solid var(--sec-line); padding-top: 28px; }
  .ds-journey .ds-tl li { border-top-color: #D7DEE8; }
  .ds-tl li::before { top: -8px; }
  .ds-nums, .ds-certs { grid-template-columns: 1fr 1fr; }
  .ds-nums div:nth-child(3) { border-left: 0; }
  .ds-nums div:nth-child(n + 3) { border-top: 1px solid var(--sec-line); }
  .ds-trust .ds-nums div:nth-child(n + 3) { border-top-color: #D7DEE8; }
}
/* 矮屏幕（如 1600×760 的笔记本）：收紧首屏文字，把高度让给产品 */
@media (min-width: 761px) and (max-height: 860px) {
  .hb-txt { padding-top: 104px; }
  .hb-txt .eyebrow { margin-bottom: 18px; }
  .hb-h1 { font-size: clamp(46px, min(6.8vw, 11vh), 108px); }
  .hb-sub { margin-top: 16px; }
  .hb .cta { margin-top: 26px; }
}
@media (max-width: 760px) {
  .hb { --hf: .79; }
  .hb-txt { padding-top: 116px; }
  .hb-h1 .m { display: inline; }
  .hb-sub { font-size: 15px; }
  .hb .cta { gap: 14px; margin-top: 28px; }
  .hb-subactions { gap: 24px; }
  .hb-stats { display: none; }
  .hb-foot { justify-content: center; text-align: center; }
  .hb-caption { max-width: 100%; }
  .hb-detail { left: 50%; translate: -50% 0; white-space: nowrap; }
  .hdr .tel { display: none; }
  .ds-head.row { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 640px) {
  .hdr { padding: 0 20px; gap: 12px; }
  .hdr-r { gap: 12px; }
  .ds { padding: 88px 0; }
  .ds-wrap { padding: 0 20px; }
  .ds-head { margin-bottom: 40px; }
  .ds-head p, .ds-oem p, .ds-cta p { font-size: 15px; }
  .ds-cats { grid-template-columns: 1fr; gap: 14px; }
  .ds-cat, .ds-cat:nth-child(-n + 2) { min-height: 290px; padding: 26px 24px 20px; }
  .ds-cat:nth-child(-n + 2) h3 { font-size: 22px; }
  .ds-cat:nth-child(-n + 2) .im { min-height: 190px; }
  .ds-cat:nth-child(-n + 2) .go { right: 20px; top: 20px; }
  .ds-feat { padding: 12px 20px; scroll-padding-left: 20px; gap: 14px; }
  .ds-pc { flex-basis: 78vw; }
  .ds-bento { grid-template-columns: 1fr; gap: 14px; }
  .ds-bento > .dt, .ds-bento > .dt-rd { grid-column: auto; }
  .ds-ticks { grid-template-columns: 1fr; }
  .ds-oem-vis { min-height: 260px; gap: 20px; padding: 16px 0 28px; }
  .oem-floor { bottom: 0; height: 56px; }
  .oem-cpe { width: clamp(96px, 28vw, 145px); }
  .ds-tl { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .ds-nums div { padding: 30px 12px; }
  .ds-certs { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .ds-marks { gap: 10px 24px; font-size: 13px; }
  .ds-cta { padding: 120px 0 170px; }
  .ds-cta .cta { flex-direction: column; gap: 14px; }
  .ds-ftr-top { grid-template-columns: 1fr 1fr; }
  .ds-ftr-bot { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .hdr, .hb-txt > *, .hb-dev, .hb-dev img, .hb-dev::before, .hb-foot, .mnav, .mnav a { transition: none !important; }
  .hb-dev.is-active { transform: none; }
  .ds-oem-vis::before, .ds-oem-vis::after { transition: none; }
  .ds-rv { opacity: 1; translate: none; transition: none; }
}

/* YR510 正面图在产品卡片中加宽，保持当前高度。 */
.ds-cat .im img.yr510-front { transform: scaleX(1.16); transform-origin: center; }
