/* ==========================================================================
   豪泓科技 · H2 AIDM 官网设计系统 v5.0
   原则：大字、留白、少色；一屏一个观点；动画只用来解释技术。
   ========================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --white: #ffffff;
  --paper: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;

  --black: #000000;
  --graphite: #161617;
  --card-dark: #1d1d1f;
  --ink-dark: #f5f5f7;
  --ink-dark-2: #a1a1a6;
  --link-dark: #2997ff;

  /* 四层色：L0 → L3，同 Logo 横梁 */
  --l0: #40c8e0;
  --l1: #2997ff;
  --l2: #7d7aff;
  --l3: #bf5af2;
  --ok: #30d158;
  --warn: #ff9f0a;
  --bad: #ff453a;
  --spectrum: linear-gradient(90deg, var(--l0), var(--l1) 35%, var(--l2) 68%, var(--l3));

  --r-xl: 28px;
  --r-lg: 18px;
  --r-md: 12px;
  --wrap: 1068px;
  --wrap-wide: 1260px;
  --nav-h: 62px;
  --lnav-h: 52px;
  --ease: cubic-bezier(.28, .11, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--lnav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.53;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.005em; text-wrap: balance; }
p, li { text-wrap: pretty; }
b, strong { font-weight: 600; }
button { font: inherit; color: inherit; }
::selection { background: rgba(0, 113, 227, .22); }

.wrap { width: min(var(--wrap), calc(100% - 44px)); margin: 0 auto; }
.wrap-wide { width: min(var(--wrap-wide), calc(100% - 44px)); margin: 0 auto; }
.center { text-align: center; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 全局导航 ---------- */
.gnav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(22, 22, 23, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.gnav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.gnav-brand { display: flex; align-items: center; gap: 9px; color: #f5f5f7; font-size: 15px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.gnav-brand:hover { text-decoration: none; }
.gnav-brand svg.wordmark { height: 40px; width: auto; color: #f5f5f7; }
@media (max-width: 700px) { .gnav-brand svg.wordmark { height: 34px; } }
.gnav-links { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 32px); margin-left: auto; }
.gnav-links > a, .gnav-dd-trigger { color: rgba(245, 245, 247, .85); font-size: 14.5px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; transition: color .2s; position: relative; padding: 6px 0; display: inline-flex; align-items: center; gap: 5px; }
.gnav-links > a:hover, .gnav-links > a.on, .gnav-dd-trigger:hover, .gnav-dd-trigger.on { color: #fff; text-decoration: none; }
.gnav-links > a.on::after, .gnav-dd-trigger.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--spectrum); }
.gnav-links .gnav-sep { width: 1px; height: 14px; background: rgba(245, 245, 247, .22); flex: none; }
.gnav-dd { position: relative; display: flex; align-items: center; }
.gnav-dd-trigger .chev { opacity: .65; transition: transform .25s var(--ease), opacity .2s; }
.gnav-dd:hover .chev, .gnav-dd:focus-within .chev, .gnav-dd.dd-open .chev { transform: rotate(180deg); opacity: 1; }
.gnav-dd-caret { display: none; background: none; border: 0; color: rgba(245, 245, 247, .75); padding: 8px 10px; cursor: pointer; }
/* Hover bridge + Frosted-glass H2 AIDM L0–L3 Popover */
.gnav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 418px; max-width: calc(100vw - 24px); padding: 12px; border-radius: 20px;
  background: rgba(26, 26, 29, .95);
  backdrop-filter: saturate(180%) blur(28px); -webkit-backdrop-filter: saturate(180%) blur(28px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 28px 60px -16px rgba(0, 0, 0, .68), 0 0 0 1px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 120;
}
.gnav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.gnav-dd:hover .gnav-menu, .gnav-dd:focus-within .gnav-menu, .gnav-dd.dd-open .gnav-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.gm-head {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(125,122,255,.16), rgba(41,151,255,.1));
  border: 1px solid rgba(125,122,255,.28); color: #f5f5f7 !important; text-decoration: none !important;
  margin-bottom: 8px; transition: background .2s, border-color .2s;
}
.gm-ico { width: 34px; height: 34px; border-radius: 8px; flex: none; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.gm-head-txt { flex: 1; min-width: 0; }
.gm-head:hover, .gm-head.on { background: linear-gradient(135deg, rgba(125,122,255,.26), rgba(41,151,255,.18)); border-color: rgba(125,122,255,.5); }
.gm-head b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: .02em; color: #fff; }
.gm-head span { display: block; font-size: 11.5px; color: rgba(245,245,247,.68); margin-top: 1px; }
.gm-head em { font-style: normal; font-size: 12px; font-weight: 600; color: #a8a6ff; white-space: nowrap; }
.gm-list { display: grid; gap: 4px; }
.gm-item {
  display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 12px; color: #f5f5f7 !important; text-decoration: none !important;
  border: 1px solid transparent; transition: background .18s, border-color .18s;
}
.gm-item:hover { background: rgba(255,255,255,.07); }
.gm-item.on { background: rgba(255,255,255,.09); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.gm-lv { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px var(--mono); color: var(--c); letter-spacing: .03em; white-space: nowrap; }
.gm-lv i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); flex: none; }
.gm-body { min-width: 0; }
.gm-body b { display: block; font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.25; }
.gm-body small { display: block; font-size: 11.5px; color: rgba(245,245,247,.58); line-height: 1.3; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnav-tools { display: flex; align-items: center; gap: 6px; margin-left: 14px; }
.gnav-lang { font-size: 12px; font-weight: 600; letter-spacing: .04em; line-height: 1; color: rgba(245, 245, 247, .86); border: 1px solid rgba(245, 245, 247, .32); border-radius: 99px; padding: 5px 11px; white-space: nowrap; transition: .2s; }
.gnav-lang:hover { color: #000; background: #f5f5f7; border-color: #f5f5f7; text-decoration: none; }
.gnav-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; color: #f5f5f7; cursor: pointer; }
@media (max-width: 960px) {
  .gnav-toggle { display: block; }
  .gnav-links { position: fixed; inset: var(--nav-h) 0 auto 0; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 26px 28px; background: rgba(22, 22, 23, .98); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
  .gnav.open .gnav-links { transform: none; opacity: 1; pointer-events: auto; }
  .gnav-links > a { font-size: 20px; font-weight: 600; padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .gnav-links > a.on::after, .gnav-dd-trigger.on::after { display: none; }
  .gnav-links .gnav-sep { display: none; }
  .gnav-dd { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); }
  .gnav-dd-trigger { font-size: 20px; font-weight: 600; padding: 12px 0; flex: 1; }
  .gnav-dd-trigger .chev { display: none; }
  .gnav-dd-caret { display: inline-flex; align-items: center; justify-content: center; }
  .gnav-dd.dd-open .gnav-dd-caret svg { transform: rotate(180deg); }
  .gnav-menu { position: static; transform: none !important; width: 100%; padding: 4px 0 12px 12px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; opacity: 1; visibility: visible; pointer-events: auto; display: none; }
  .gnav-dd.dd-open .gnav-menu, .gnav-dd.active .gnav-menu { display: block; }
  .gnav-menu::before { display: none; }
  .gm-head { padding: 9px 12px; margin-bottom: 6px; }
  .gm-item { padding: 8px 10px; }
}

/* ---------- 产品页局部导航（吸顶 + H2 AIDM 家族切换条） ---------- */
.lnav {
  position: sticky; top: var(--nav-h); z-index: 90;
  height: var(--lnav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.lnav-inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.lnav-aidm .lnav-inner { justify-content: space-between; }
.lnav-title { font-size: 19px; font-weight: 600; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.lnav-title small { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 8px; font-family: var(--mono); }
.lnav-ico { width: 24px; height: 24px; border-radius: 6px; flex: none; box-shadow: 0 2px 6px rgba(0,0,0,.14); }
.lnav-suite { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; }
.ls-brand { font-size: 15px; font-weight: 700; color: var(--ink) !important; text-decoration: none !important; white-space: nowrap; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 7px; }

/* 模块品牌徽章（首页卡片 / 专页首屏 / 下载卡：三大板块 100% 统一规格） */
.mod-ico { width: 44px; height: 44px; border-radius: 11px; flex: none; display: block; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.mod-ico.lg { width: 50px; height: 50px; border-radius: 12.5px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.32); }
.hero-mod-icon { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 16px; display: block; box-shadow: 0 22px 48px -12px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.12); }
.mod-head { display: flex; align-items: center; gap: 13px; }
.mod-head > div { min-width: 0; flex: 1; }
.site-link .sl-ico { width: 20px; height: 20px; border-radius: 5px; flex: none; }
.doc-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.doc-ico { width: 34px; height: 34px; border-radius: 8px; flex: none; box-shadow: 0 4px 12px -4px rgba(0,0,0,.25); }
.ls-div { display: none; }
.ls-tabs { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 99px; background: rgba(0,0,0,.055); overflow-x: auto; scrollbar-width: none; }
.ls-tabs::-webkit-scrollbar { display: none; }
.ls-tab { display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; color: var(--ink-2) !important; text-decoration: none !important; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.ls-tab em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ink-3); font-weight: 600; }
.ls-tab:hover { color: var(--ink) !important; background: rgba(255,255,255,.7); }
.ls-tab.on { background: #1d1d1f; color: #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,.16); }
.ls-tab.on em { color: var(--c, #a8a6ff); }
.lnav-links { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; }
.lnav-links.lnav-solo { width: 100%; justify-content: flex-end; }
.lnav-anchors { display: flex; align-items: center; gap: 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lnav-anchors > a:first-child { margin-left: auto; }
.lnav-anchors::-webkit-scrollbar { display: none; }
.lnav-links a:not(.btn) { font-size: 13px; color: var(--ink); opacity: .84; white-space: nowrap; }
.lnav-links a:not(.btn):hover { opacity: 1; color: var(--link); text-decoration: none; }
.lnav-links a.on { opacity: 1; color: var(--ink-3); }
@media (max-width: 1060px) { .lnav-aidm .lnav-anchors, .lnav-aidm .ls-div { display: none; } }
@media (max-width: 820px) {
  .lnav-inner { gap: 10px; }
  .lnav-suite { min-width: 0; margin-left: 0; margin-right: auto; }
  .ls-tabs { width: auto; max-width: 100%; }
  .lnav-links.lnav-solo { gap: 12px; }
  .lnav-anchors { gap: 16px; flex: 1; min-width: 0; }
  .lnav-links a:not(.btn) { font-size: 13px; padding: 14px 0; }
  .lnav-links .btn { flex: none; }
}

/* ---------- 按钮 / 链接 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 0; cursor: pointer;
  font-size: 17px; font-weight: 400; letter-spacing: 0;
  background: var(--blue); color: #fff !important;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.sm { min-height: 28px; padding: 0 13px; font-size: 12px; opacity: 1 !important; }
.btn.ghost { background: transparent; color: var(--link) !important; box-shadow: inset 0 0 0 1px var(--link); }
.btn.ghost:hover { background: var(--link); color: #fff !important; }
.dark .btn.ghost { color: var(--link-dark) !important; box-shadow: inset 0 0 0 1px var(--link-dark); }
.dark .btn.ghost:hover { background: var(--link-dark); color: #000 !important; }
.more { font-size: 17px; color: var(--link); white-space: nowrap; }
.more::after { content: " ›"; font-size: 1.1em; }
.dark .more { color: var(--link-dark); }
.play::after { content: ""; display: inline-block; margin-left: 7px; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; vertical-align: 1px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; margin-top: 30px; }
.cta-row.left { justify-content: flex-start; }

/* ---------- 版块 ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 88px) 0; }
.section.paper { background: var(--paper); }
.dark { background: var(--black); color: var(--ink-dark); }
.dark.graphite { background: var(--graphite); border-top: 1px solid rgba(255, 255, 255, .08); }
.dark a:not(.btn) { color: var(--link-dark); }

.eyebrow { display: block; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; margin-bottom: 10px; color: var(--ink-2); }
.dark .eyebrow { color: var(--ink-dark-2); }
.eyebrow.spectrum, .grad { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.headline { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.1; font-weight: 700; letter-spacing: -0.012em; }
.headline.xl { font-size: clamp(44px, 8vw, 96px); line-height: 1.04; letter-spacing: -0.02em; }
.headline.md { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.14; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.48; color: var(--ink-2); font-weight: 500; max-width: 820px; margin-top: 22px; text-wrap: balance; }
.hero .lede, .center .lede { margin-left: auto; margin-right: auto; }
.hero .lede { max-width: 980px; }
.dark .lede { color: var(--ink-dark-2); }
.lede b { color: var(--ink); }
.dark .lede b { color: var(--ink-dark); }
.body-copy { font-size: 17px; color: var(--ink-2); max-width: 680px; }
.hero .body-copy, .center .body-copy { margin-left: auto; margin-right: auto; }
.dark .body-copy { color: var(--ink-dark-2); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }

/* ---------- 首屏 ---------- */
.hero { padding: clamp(72px, 10vw, 128px) 0 0; text-align: center; overflow: hidden; }
body[data-page="world"] .hero.dark { background: radial-gradient(ellipse 72% 46% at 50% 0%, rgba(41, 151, 255, .16), rgba(64, 200, 224, .06) 48%, transparent 76%), #000; }
body[data-page="aidm"] .hero.dark { background: radial-gradient(ellipse 72% 46% at 50% 0%, rgba(125, 122, 255, .16), rgba(41, 151, 255, .06) 48%, transparent 76%), #000; }
body[data-page="gpu"] .hero.dark { background: radial-gradient(ellipse 72% 46% at 50% 0%, rgba(64, 200, 224, .17), rgba(41, 151, 255, .05) 48%, transparent 76%), #000; }
body[data-page="model"] .hero.dark { background: radial-gradient(ellipse 72% 46% at 50% 0%, rgba(41, 151, 255, .17), rgba(125, 122, 255, .06) 48%, transparent 76%), #000; }
body[data-page="harness"] .hero.dark { background: radial-gradient(ellipse 72% 46% at 50% 0%, rgba(125, 122, 255, .18), rgba(191, 90, 242, .06) 48%, transparent 76%), #000; }
body[data-page="code"] .hero.dark { background: radial-gradient(ellipse 72% 46% at 50% 0%, rgba(191, 90, 242, .18), rgba(125, 122, 255, .06) 48%, transparent 76%), #000; }
.hero .product-name { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; margin-bottom: 8px; }
.hero .layer-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.08); color: var(--ink-dark-2); margin-bottom: 22px; font-family: var(--mono); }
.hero .layer-chip a { color: #f5f5f7 !important; text-decoration: none; border-bottom: 1px solid rgba(245,245,247,.35); transition: border-color .2s; }
.hero .layer-chip a:hover { border-color: #fff; text-decoration: none; }
.hero .layer-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--l1)); box-shadow: 0 0 12px var(--c, var(--l1)); }
.hero-visual { margin: clamp(48px, 7vw, 80px) auto 0; position: relative; }

/* ---------- 口径徽标 ---------- */
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; vertical-align: 2px; white-space: nowrap; }
.tag.measured { background: rgba(48, 209, 88, .14); color: #1a8f3c; }
.tag.prod { background: rgba(41, 151, 255, .14); color: #0062c4; }
.tag.live { background: rgba(125, 122, 255, .16); color: #5552d6; }
.tag.plan { background: rgba(255, 159, 10, .16); color: #b36200; }
.tag.demo { background: rgba(134, 134, 139, .16); color: #6e6e73; }
.dark .tag.measured { color: #5be07f; } .dark .tag.prod { color: #64b5ff; } .dark .tag.live { color: #a8a6ff; } .dark .tag.plan { color: #ffb84d; } .dark .tag.demo { color: #a1a1a6; }

/* ---------- 数字条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.dark .stats { border-color: #333336; }
.stat { padding: 30px 22px 6px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.dark .stat + .stat { border-color: #333336; }
.stat .num { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .46em; font-weight: 600; margin-left: 2px; letter-spacing: 0; }
.stat .cap { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.dark .stat .cap { color: var(--ink-dark-2); }
.stat .tag { margin-top: 10px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .dark .stat:nth-child(n+3) { border-color: #333336; } }

/* ---------- 方块（Bento） ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile { grid-column: span 6; background: var(--paper); border: 1px solid rgba(0, 0, 0, .06); border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 44px); overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 12px; }
.section.paper .tile { background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.dark .tile { background: var(--card-dark); border-color: rgba(255, 255, 255, .08); }
.tile.s4 { grid-column: span 4; } .tile.s8 { grid-column: span 8; } .tile.s12 { grid-column: span 12; } .tile.s3 { grid-column: span 3; }
.tile .k { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); font-family: var(--mono); }
.tile h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; }
.tile p { color: var(--ink-2); font-size: 16px; }
.dark .tile p { color: var(--ink-dark-2); }
.tile .big { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.tile .foot { margin-top: auto; padding-top: 8px; }
@media (max-width: 860px) { .tile, .tile.s4, .tile.s8, .tile.s3 { grid-column: span 12; } }

/* ---------- 动画舞台 ---------- */
.stage { position: relative; border-radius: var(--r-xl); background: #0b0b0c; color: var(--ink-dark); overflow: hidden; padding: clamp(22px, 3vw, 36px); }
.section:not(.dark) .stage { box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.stage canvas, .stage svg.viz { width: 100%; height: auto; }
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.stage-title { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink-dark-2); font-family: var(--mono); }
.stage-note { margin-top: 14px; font-size: 13px; color: var(--ink-dark-2); line-height: 1.5; }
.stage-note b { color: var(--ink-dark); }
.seg { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.09); gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--ink-dark-2); font-size: 13px; padding: 6px 14px; border-radius: 99px; cursor: pointer; transition: .25s var(--ease); white-space: nowrap; }
.seg button.on { background: #f5f5f7; color: #1d1d1f; font-weight: 600; }
.section:not(.dark) .seg.light { background: rgba(0,0,0,.06); }
.section:not(.dark) .seg.light button { color: var(--ink-2); }
.section:not(.dark) .seg.light button.on { background: var(--ink); color: #fff; }
.replay { border: 0; background: rgba(255,255,255,.1); color: var(--ink-dark); font-size: 12px; padding: 6px 12px; border-radius: 99px; cursor: pointer; }
.replay:hover { background: rgba(255,255,255,.18); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-dark-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.range { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-dark-2); }
.range input { flex: 1; accent-color: var(--l1); }
.range output { font-family: var(--mono); color: var(--ink-dark); min-width: 56px; text-align: right; }

/* ---------- 双栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.wide-r { grid-template-columns: 5fr 7fr; }
.split.wide-l { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .split, .split.wide-r, .split.wide-l { grid-template-columns: 1fr; } }

/* ---------- 列表 / 要点 ---------- */
.points { display: grid; gap: 26px; }
.point h4 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.point p { font-size: 16px; color: var(--ink-2); }
.dark .point p { color: var(--ink-dark-2); }
.point .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 6px; display: block; }
.points.cols3 { grid-template-columns: repeat(3, 1fr); gap: 36px; }
.points.cols2 { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
@media (max-width: 860px) { .points.cols3, .points.cols2 { grid-template-columns: 1fr; } }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
table.spec th, table.spec td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { font-size: 12px; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
table.spec tbody th { font-weight: 600; white-space: nowrap; }
table.spec td { color: var(--ink-2); }
table.spec td.us { color: var(--ink); font-weight: 500; background: rgba(0,113,227,.04); }
.dark table.spec th, .dark table.spec td { border-color: #333336; }
.dark table.spec td { color: var(--ink-dark-2); }
.dark table.spec td.us { color: var(--ink-dark); background: rgba(41,151,255,.08); }

/* ---------- 生态关系 ---------- */
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rel { border-radius: var(--r-lg); padding: 26px 28px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: inherit; }
.rel:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); text-decoration: none; }
.section.paper .rel { background: #fff; }
.rel .dir { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); font-family: var(--mono); }
.rel h4 { font-size: 19px; color: var(--ink); }
.rel p { font-size: 15px; color: var(--ink-2); }
.rel .more { font-size: 15px; margin-top: auto; }
@media (max-width: 760px) { .rel-grid { grid-template-columns: 1fr; } }

/* ---------- 影片 ---------- */
.film { position: relative; display: block; width: 100%; border-radius: var(--r-xl); overflow: hidden; background: #000; cursor: pointer; border: 0; padding: 0; aspect-ratio: 16 / 9; }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .9; }
.film:hover img { transform: scale(1.025); opacity: 1; }
.film .film-meta { position: absolute; inset: auto 0 0 0; padding: 22px 26px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.film .film-meta b { display: block; font-size: 19px; }
.film .film-meta span { font-size: 13px; color: #c7c7cc; }
.film .pbtn { flex: none; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.88); display: grid; place-items: center; transition: transform .3s var(--ease); }
.film:hover .pbtn { transform: scale(1.08); }
.film .pbtn::after { content: ""; border-left: 15px solid #1d1d1f; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.films { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.films.leads { margin-bottom: 20px; }
.films.all { grid-template-columns: repeat(3, 1fr); }
.films.all .film.lead { grid-column: 1 / -1; width: 100%; max-width: 880px; margin: 0 auto 8px; }
.films.all .film:not(.lead) .film-meta { padding: 64px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.84) 62%); } .films.all .film:not(.lead) .film-meta b { font-size: 16px; } .films.all .film:not(.lead) .pbtn { width: 42px; height: 42px; }
@media (max-width: 1000px) { .films.all { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .films { grid-template-columns: 1fr; } }

.modal { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 4vw; }
.modal.open { display: flex; animation: fade .3s var(--ease); }
.modal video { width: min(1280px, 100%); max-height: 86vh; border-radius: 14px; background: #000; }
.modal .x { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* ---------- 下载卡 ---------- */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc { background: #fff; border: 1px solid rgba(0, 0, 0, .06); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.doc:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(0, 0, 0, .28); border-color: rgba(0, 0, 0, .12); }
.docs .doc:first-child { grid-column: 1 / -1; min-height: auto; padding: 28px 32px; background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%); border-color: rgba(41, 151, 255, .22); }
.docs .doc:first-child .bar { width: 56px; }
.section:not(.paper) .doc { background: var(--paper); }
.doc .k { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .06em; display: flex; justify-content: space-between; }
.doc h4 { font-size: 19px; line-height: 1.3; }
.doc p { font-size: 14px; color: var(--ink-2); }
.doc .acts { margin-top: auto; display: flex; gap: 18px; font-size: 15px; }
.doc .bar { height: 4px; border-radius: 4px; background: var(--c, var(--l1)); width: 36px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .docs { grid-template-columns: 1fr; } .docs .doc:first-child { padding: 24px 22px; } }

/* ---------- 上下篇 ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pager a { display: block; border-radius: var(--r-lg); padding: 26px 28px; background: var(--paper); color: var(--ink); transition: background .25s; }
.pager a:hover { background: #ebebef; text-decoration: none; }
.pager a.next { text-align: right; }
.pager small, .pager span { display: block; color: var(--ink-3); font-size: 13px; margin-bottom: 4px; }
.pager b { font-size: 19px; }

/* ---------- 下一步 ---------- */
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: ns; }
.next-steps div { padding: 30px; border-radius: var(--r-lg); background: var(--card-dark); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s var(--ease); }
.next-steps div:hover { border-color: rgba(255, 255, 255, .18); }
.next-steps b { display: block; font-size: 21px; margin: 6px 0; }
.next-steps p { color: var(--ink-dark-2); font-size: 15px; }
.next-steps div::before { counter-increment: ns; content: "0" counter(ns); font-family: var(--mono); font-size: 12px; color: var(--ink-dark-2); }
@media (max-width: 760px) { .next-steps { grid-template-columns: 1fr; } }

/* ---------- 页脚 ---------- */
.gfoot { background: var(--paper); color: var(--ink-2); font-size: 12px; line-height: 1.6; padding: 44px 0 26px; }
.gfoot .note { padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.gfoot .dir { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.gfoot .dir h5 { margin: 0 0 8px; font-size: 12px; color: var(--ink); font-weight: 600; }
.gfoot .dir a { display: block; color: var(--ink-2); margin: 6px 0; }
.gfoot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; }
.gfoot .legal .brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.gfoot .legal svg.wordmark { height: 24px; width: auto; color: var(--ink); } .gfoot .legal .brand span { font-weight: 500; color: var(--ink-2); margin-left: 6px; }
@media (max-width: 760px) { .gfoot .dir { grid-template-columns: 1fr 1fr; } }

/* ---------- 滚动出现 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.scale-in { opacity: 0; transform: scale(.94); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.scale-in.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .scale-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- 打印 / PDF ---------- */
.print-only { display: none; }
@page { size: A4; margin: 14mm 14mm 16mm; }
@media print {
  :root { --paper: #f5f5f7; }
  html, body { background: #fff !important; font-size: 10.5pt; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gnav, .lnav, .gfoot, .no-print, .modal, .cta-row, .films, .film, .replay, .seg, .range, .pager { display: none !important; }
  .print-only { display: block; }
  .reveal, .scale-in { opacity: 1 !important; transform: none !important; }
  .section { padding: 26px 0 !important; }
  .section.paper { background: #fff !important; }
  .dark:not(.stage):not(.keep-dark) { background: #fff !important; color: var(--ink) !important; }
  .dark:not(.keep-dark) .eyebrow, .dark:not(.keep-dark) .lede, .dark:not(.keep-dark) .body-copy, .dark:not(.keep-dark) .stat .cap, .dark:not(.keep-dark) .point p, .dark:not(.keep-dark) .tile p, .dark:not(.keep-dark) table.spec td { color: var(--ink-2) !important; }
  .dark:not(.keep-dark) .lede b, .dark:not(.keep-dark) table.spec td.us { color: var(--ink) !important; }
  .dark:not(.keep-dark) .tile { background: var(--paper) !important; }
  .dark:not(.keep-dark) .stats, .dark:not(.keep-dark) .stat, .dark:not(.keep-dark) table.spec th, .dark:not(.keep-dark) table.spec td { border-color: var(--line) !important; }
  .dark:not(.keep-dark) .tag.measured { color: #1a8f3c; } .dark:not(.keep-dark) .tag.prod { color: #0062c4; } .dark:not(.keep-dark) .tag.live { color: #5552d6; } .dark:not(.keep-dark) .tag.plan { color: #b36200; }
  .dark:not(.keep-dark) .next-steps div { background: var(--paper); }
  .dark:not(.keep-dark) .next-steps p { color: var(--ink-2); }
  .hero { padding-top: 0 !important; }
  .headline.xl { font-size: 40pt; } .headline { font-size: 24pt; } .headline.md { font-size: 18pt; }
  .lede { font-size: 12.5pt; }
  .stat .num { font-size: 24pt; }
  .tile, .stage, .rel, .doc, table.spec tr, .point, .next-steps div { break-inside: avoid; }
  .section-head { margin-bottom: 18px; }
  .stage { box-shadow: none !important; }
  .rel:hover { transform: none; box-shadow: none; }
  a { color: inherit !important; }
  table.spec { min-width: 0; font-size: 9pt; }
  .page-break { break-before: page; }
  .eyebrow.spectrum, .grad { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--l1) !important; }
  .hero .layer-chip { background: none !important; padding: 0; color: var(--ink-2) !important; }
  .hero .layer-chip i { display: none; }
  .hero .product-name { color: var(--ink); }
  .section-head, .stats, .split > *, .deploy, .walls > * { break-inside: avoid; }
  h2, h3, .eyebrow { break-after: avoid; }
  #films, #downloads, .print-hide { display: none !important; }
}
.print-cover { height: 267mm; display: none; flex-direction: column; justify-content: space-between; padding: 6mm 2mm; }
@media print { .print-cover { display: flex; break-after: page; } }
.print-cover .pc-logo { height: 25mm; width: auto; display: block; }
.print-cover .pc-k { font-family: var(--mono); font-size: 10pt; letter-spacing: .14em; color: var(--ink-3); }
.print-cover h1 { font-size: 40pt; line-height: 1.08; margin: 8mm 0 5mm; letter-spacing: -0.01em; }
.print-cover .pc-sub { font-size: 15pt; color: var(--ink-2); max-width: 150mm; line-height: 1.45; }
.print-cover .pc-bar { height: 3mm; width: 60mm; border-radius: 2mm; background: var(--spectrum); margin-top: 12mm; }
.print-cover .pc-meta { font-size: 9.5pt; color: var(--ink-3); line-height: 1.7; border-top: 1px solid var(--line); padding-top: 5mm; }

/* ---------- v5.1 补充：排版、外链、真实素材 ---------- */
.headline, .tile h3, .point h4, .rel h4, .hero .lede, .center .lede { text-wrap: balance; }
.body-copy, .tile p, .point p, .rel p, .doc p { text-wrap: pretty; }
.lede.sm { font-size: 19px; }
@media (max-width: 600px) { .lede br { display: none; } }
a.ext::after { content: " ↗"; font-size: .85em; }
.site-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--paper); color: var(--ink) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: background .2s; }
.site-link:hover { background: #e8e8ed; }
.site-link small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.dark .site-link { background: #1c1c1e; color: var(--ink-dark) !important; }
.dark .site-link:hover { background: #2c2c2e; }
.dark .site-link small { color: var(--ink-dark-2); }
.site-link::after { content: "↗"; color: var(--ink-3); }
.reel { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.reel figure { margin: 0; grid-column: span 4; position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.reel figure.wide { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; } .reel figure.half { grid-column: span 6; } .reel figure.full { grid-column: span 12; aspect-ratio: 21 / 9; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption { position: absolute; inset: auto 0 0 0; padding: 14px 16px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.reel figcaption b { display: block; font-size: 15px; }
@media (max-width: 760px) { .reel figure, .reel figure.wide, .reel figure.half { grid-column: span 12; grid-row: auto; aspect-ratio: 16 / 9; } }
.shot { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.45); border: 1px solid rgba(0,0,0,.06); background: #000; }
.shot img { width: 100%; display: block; }
.shot-cap { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.dark .shot-cap { color: var(--ink-dark-2); }
.source-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
@media print { .dark:not(.keep-dark) .tag.demo { color: #6e6e73; } .reel video { display: none; } .reel figure { background-size: cover; background-position: center; } }
@media print {
  .tiles { grid-template-columns: repeat(12, 1fr) !important; gap: 10px !important; }
  .tile.s4 { grid-column: span 4 !important; } .tile.s8 { grid-column: span 8 !important; } .tile.s3 { grid-column: span 3 !important; } .tile { grid-column: span 6; padding: 16px !important; }
  .reel { grid-template-columns: repeat(12, 1fr) !important; gap: 8px !important; }
  .reel figure { grid-column: span 4 !important; } .reel figure.half { grid-column: span 6 !important; } .reel figure.wide { grid-column: span 8 !important; } .reel figure.full { grid-column: span 12 !important; }
  .shot { box-shadow: none !important; }
  .reel figure { break-inside: avoid; }
  .reel figcaption { font-size: 8pt; padding: 6px 8px; }
  .points.cols3 { grid-template-columns: repeat(3, 1fr) !important; } .points.cols2 { grid-template-columns: repeat(2, 1fr) !important; }
  .rel-grid { grid-template-columns: 1fr 1fr !important; } .docs { grid-template-columns: repeat(3, 1fr) !important; }
  .split, .split.wide-r, .split.wide-l { grid-template-columns: 1fr !important; }
  .site-links { display: none !important; }
}

/* ---------- v5.4 手机端 ---------- */
.cv-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -6px; padding: 0 6px 4px; scrollbar-width: thin; }
.cv-hint { display: none; }
.reel figure.tap { cursor: pointer; }
.reel figure.tap::after { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%231d1d1f'/%3E%3C/svg%3E") center / 26px no-repeat; pointer-events: none; }
.reel figure.tap.playing::after { display: none; }
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; } .section.tight { padding: 40px 0; }
  .section-head { margin-bottom: 32px; }
  .hero { padding-top: 56px; }
  .lede { font-size: 18px; margin-top: 16px; }
  .wrap, .wrap-wide { width: calc(100% - 36px); }
  .stage { padding: 18px 16px; border-radius: 22px; }
  .tile { padding: 24px 22px; border-radius: 22px; }
  .tag { font-size: 12px; height: 22px; }
  .stage-note { font-size: 13.5px; }
  .seg button { padding: 8px 14px; font-size: 14px; }
  .replay { padding: 8px 14px; font-size: 13px; }
  .btn { min-height: 46px; }
  .cta-row { gap: 12px 20px; }
  .cv-scroll canvas { max-width: none !important; }
  .cv-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 10px; font-size: 12.5px; color: var(--ink-dark-2); }
  .cv-hint::before, .cv-hint::after { content: "‹"; font-size: 16px; opacity: .7; } .cv-hint::after { content: "›"; }
  /* 表格 → 一条一条的卡片 */
  .table-wrap { overflow: visible; border-radius: 0; }
  table.spec { min-width: 0; display: block; }
  table.spec thead { display: none; }
  table.spec tbody { display: grid; gap: 12px; }
  table.spec tr { display: block; padding: 16px 18px; border-radius: 18px; background: var(--paper); }
  .section.paper table.spec tr { background: #fff; }
  .dark table.spec tr { background: var(--card-dark); }
  table.spec th, table.spec td { display: block; padding: 0; border: 0 !important; white-space: normal; }
  table.spec tbody th { font-size: 18px; margin-bottom: 8px; }
  table.spec td { font-size: 15px; margin-top: 10px; background: none !important; }
  table.spec td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 2px; }
  table.spec td.us { padding: 10px 12px; border-radius: 12px; background: rgba(0,113,227,.06) !important; }
  .dark table.spec td.us { background: rgba(41,151,255,.12) !important; }
  table.spec td:empty { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px 4px 0; } .stat + .stat { padding-left: 14px; }
  .stat .num { font-size: 32px; white-space: normal; }
  .pager { grid-template-columns: 1fr; }
  .gfoot .dir { grid-template-columns: 1fr 1fr; gap: 18px; }
  .film .film-meta { padding: 14px 16px; } .film .film-meta b { font-size: 16px; } .film .pbtn { width: 44px; height: 44px; }
  .modal { padding: 0; } .modal video { border-radius: 0; max-height: 100vh; }
}
@media print { .cv-hint { display: none !important; } .cv-scroll { overflow: visible; margin: 0; padding: 0; } .reel figure.tap::after { display: none; } }

/* ---------- v5.4 打印修正（PDF 逐页审查后） ---------- */
@media print {
  h1, h2, h3, h4, .headline { break-inside: avoid; }
  .hero-mod-icon { width: 14mm !important; height: 14mm !important; border-radius: 3.4mm !important; margin: 0 auto 3.5mm !important; box-shadow: none !important; }
  .hero-visual { margin-top: 22px !important; }
  .mod-ico, .mod-ico.lg, .doc-ico, .hp-ico { box-shadow: none !important; }
  .deploy { grid-template-columns: repeat(3, 1fr) !important; gap: 0 !important; }
  .deploy .dot { box-shadow: none !important; border: 1px solid #d2d2d7; }
  .quote-line { color: #1d1d1f !important; }
  .price-note { color: #424245 !important; } .price-note b { color: #1d1d1f !important; }
  .reel figure:not(.wide):not(.full) { aspect-ratio: 16 / 9 !important; min-height: 0; }
  .reel.rw-top { grid-template-columns: repeat(3, 1fr) !important; }
  .reel.rw-top figure, .reel.rw-top figure.wide { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 16 / 9 !important; min-height: 0 !important; }
}

/* ==========================================================================
   v5.9.3 全站体验升级：子模块精装卡片 / 交互对比器 / 零改造代码卡 / 算力速算器 / 预约抽屉
   ========================================================================== */

/* 1. 子模块精装卡片与双色线性徽标（拉齐小影马专页精致度） */
.tile { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.tile.elev:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.18); border-color: rgba(0,0,0,.13); }
.dark .tile.elev:hover { box-shadow: 0 26px 52px -28px rgba(0,0,0,.75); border-color: rgba(255,255,255,.18); }
.tile.accent-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2.5px; background: var(--c, var(--l1)); opacity: .88; }
.tile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile-ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: inline-grid; place-items: center;
  background: rgba(41, 151, 255, .10);
  background: color-mix(in srgb, var(--c, var(--l1)) 12%, transparent);
  border: 1px solid rgba(41, 151, 255, .20);
  border-color: color-mix(in srgb, var(--c, var(--l1)) 24%, transparent);
  color: var(--c, var(--l1));
}
.tile-ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.points.cards { gap: 20px; }
.points.cards .point {
  padding: 26px 26px 24px; border-radius: 22px;
  background: var(--paper); border: 1px solid rgba(0,0,0,.06);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.section.paper .points.cards .point { background: #fff; box-shadow: 0 4px 18px -12px rgba(0,0,0,.08); }
.dark .points.cards .point { background: var(--card-dark); border-color: rgba(255,255,255,.08); }
.points.cards .point:hover { transform: translateY(-3px); box-shadow: 0 20px 42px -26px rgba(0,0,0,.18); border-color: rgba(0,0,0,.12); }
.dark .points.cards .point:hover { box-shadow: 0 22px 46px -26px rgba(0,0,0,.72); border-color: rgba(255,255,255,.18); }
.point-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.point-top .n { margin-bottom: 0; }

.lv-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 9px; border-radius: 99px;
  font: 600 11.5px var(--mono); letter-spacing: .04em;
  background: rgba(0,0,0,.05); color: var(--ink);
  white-space: nowrap;
}
.dark .lv-pill { background: rgba(255,255,255,.09); color: var(--ink-dark); }
.lv-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--l1)); box-shadow: 0 0 8px var(--c, var(--l1)); }

/* 生态关系卡左侧层级色带 + 5 卡片 2+3 均衡网格 */
.rel { border: 1px solid rgba(0,0,0,.06); border-left: 3px solid var(--c, var(--l1)); }
.dark .rel { background: var(--card-dark); border-color: rgba(255,255,255,.08); border-left-color: var(--c, var(--l1)); }
.dark .rel h4 { color: var(--ink-dark); }
.dark .rel p, .dark .rel .dir { color: var(--ink-dark-2); }
.rel-grid.five { grid-template-columns: repeat(6, 1fr); }
.rel-grid.five > .rel:nth-child(-n+2) { grid-column: span 3; }
.rel-grid.five > .rel:nth-child(n+3) { grid-column: span 2; }
@media (max-width: 920px) {
  .rel-grid.five { grid-template-columns: 1fr 1fr; }
  .rel-grid.five > .rel:nth-child(-n+2), .rel-grid.five > .rel:nth-child(n+3) { grid-column: auto; }
}
@media (max-width: 700px) {
  .rel-grid.five { grid-template-columns: 1fr; }
}

/* 2. 3D 白模 ⇄ 1080p 成片 交互拖拽分割对比器 (.ba-card) */
.ba-card {
  margin-top: 26px; padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #131419, #0b0c10);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--ink-dark);
}
.ba-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 14px; }
.ba-head-l { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ba-k { font: 600 12px var(--mono); letter-spacing: .07em; color: var(--l0); }
.ba-hint { font-size: 12.5px; color: var(--ink-dark-2); display: inline-flex; align-items: center; gap: 6px; }
.ba-stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: #000; user-select: none; -webkit-user-select: none;
  border: 1px solid rgba(255,255,255,.10);
  --pos: 50%;
}
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-stage .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: rgba(255,255,255,.92); box-shadow: 0 0 16px rgba(0,0,0,.8), 0 0 12px rgba(64,200,224,.55);
  pointer-events: none; z-index: 3;
}
.ba-knob {
  position: absolute; left: var(--pos); top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: rgba(18, 19, 24, .88); color: #fff;
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: 0 8px 24px rgba(0,0,0,.65);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; pointer-events: none; z-index: 4;
  transition: transform .2s var(--ease);
}
.ba-stage:hover .ba-knob { transform: scale(1.07); }
.ba-knob svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba-pill {
  position: absolute; top: 14px; z-index: 2; pointer-events: none;
  padding: 5px 12px; border-radius: 99px;
  font: 600 11.5px var(--mono); letter-spacing: .03em; color: #f5f5f7;
  background: rgba(12, 13, 17, .74); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ba-pill.in { left: 14px; }
.ba-pill.out { right: 14px; border-color: rgba(64,200,224,.4); color: #8ce8f8; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; z-index: 5; touch-action: pan-y;
}
.ba-foot { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 13.5px; color: var(--ink-dark-2); }
.ba-foot b { color: #fff; }
@media (max-width: 640px) {
  .ba-pill { top: 9px; padding: 3px 9px; font-size: 10px; }
  .ba-pill.in { left: 9px; } .ba-pill.out { right: 9px; }
  .ba-knob { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
}

/* 3. H2MC 两行配置零改造迁移交互代码卡 (.mig-card) */
.mig-card {
  margin-top: 28px; border-radius: 22px; overflow: hidden;
  background: #0d0e13; border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 60px -32px rgba(0,0,0,.45);
  color: #f5f5f7;
}
.mig-bar {
  padding: 12px 18px; background: linear-gradient(180deg, #191b22, #121319);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
}
.mig-bar-l { display: flex; align-items: center; gap: 12px; }
.mig-dots { display: inline-flex; gap: 6px; }
.mig-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mig-dots i:nth-child(1) { background: #ff5f57; } .mig-dots i:nth-child(2) { background: #febc2e; } .mig-dots i:nth-child(3) { background: #28c840; }
.mig-title { font: 600 12px var(--mono); color: rgba(245,245,247,.72); letter-spacing: .04em; }
.mig-bar-r { display: flex; align-items: center; gap: 8px; }
.mig-tabs { display: inline-flex; padding: 2px; border-radius: 99px; background: rgba(255,255,255,.08); }
.mig-tabs button {
  border: 0; background: transparent; color: #a1a1a6; font: 600 12px var(--mono);
  padding: 5px 12px; border-radius: 99px; cursor: pointer; transition: .2s;
}
.mig-tabs button.on { background: #f5f5f7; color: #111216; }
.mig-copy {
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #f5f5f7;
  font: 500 12px var(--sans); padding: 5px 12px; border-radius: 99px; cursor: pointer; transition: .2s;
}
.mig-copy:hover { background: rgba(255,255,255,.14); }
.mig-body { padding: 18px 0; overflow-x: auto; font: 13.5px/1.72 var(--mono); }
.mig-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 1px 22px; white-space: pre; color: #8e8e93; }
.mig-line.chg {
  background: rgba(48, 209, 88, .12);
  border-left: 3px solid #30d158; padding-left: 19px; color: #f5f5f7;
}
.mig-line .kw { color: #7d7aff; } .mig-line .str { color: #5be07f; } .mig-line .cm { color: #636366; }
.mig-line .chg-tag {
  font: 600 10.5px var(--sans); color: #5be07f; background: rgba(48,209,88,.16);
  padding: 1px 8px; border-radius: 99px; flex: none;
}
.mig-foot {
  padding: 12px 22px; border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02); font-size: 13px; color: #a1a1a6;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
}
.mig-foot b { color: #f5f5f7; }

/* 4. H2 AIDM 硬件与交付档位速算器 (.calc-box) */
.calc-box {
  margin-top: 26px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl);
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 18px 44px -28px rgba(0,0,0,.12);
}
.calc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 22px; }
.calc-top h3 { font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -.01em; margin-top: 4px; }
.calc-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-tab {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-2);
  padding: 9px 15px; border-radius: 99px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: .22s var(--ease);
}
.calc-tab:hover { border-color: #b0b0b8; color: var(--ink); }
.calc-tab.on { background: #1d1d1f; border-color: #1d1d1f; color: #fff; box-shadow: 0 6px 18px -6px rgba(0,0,0,.32); }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-cell {
  padding: 20px 22px; border-radius: 18px; background: var(--paper);
  border: 1px solid rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 6px;
}
.calc-cell .ck { font: 600 11.5px var(--mono); letter-spacing: .06em; color: var(--ink-3); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.calc-cell .cv { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.28; margin-top: 2px; }
.calc-cell p { font-size: 14.5px; color: var(--ink-2); line-height: 1.52; }
.calc-bar {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
}
.calc-stack { font-size: 14.5px; color: var(--ink-2); }
.calc-stack b { color: var(--ink); font-family: var(--mono); }

/* 5. 联系栏一键复制与在线预约抽屉 (.consult-backdrop) */
.copy-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07);
  color: #f5f5f7; font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.copy-pill:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.32); }
.copy-pill.ok { border-color: rgba(48,209,88,.6); color: #5be07f; background: rgba(48,209,88,.12); }

.consult-backdrop {
  position: fixed; inset: 0; z-index: 340;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.consult-backdrop.open { display: flex; animation: fade .24s var(--ease); }
.consult-sheet {
  width: min(580px, 100%); max-height: min(92vh, 840px); overflow-y: auto;
  border-radius: 26px; padding: 28px 30px 26px;
  background: linear-gradient(180deg, #1a1b22, #111217);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 40px 90px -24px rgba(0,0,0,.88);
  color: #f5f5f7; position: relative;
}
.consult-close {
  position: absolute; top: 20px; right: 20px; width: 34px; height: 34px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #f5f5f7;
  font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s;
}
.consult-close:hover { background: rgba(255,255,255,.2); }
.consult-k { font: 600 11.5px var(--mono); letter-spacing: .08em; color: var(--l0); }
.consult-sheet h3 { font-size: 24px; margin: 4px 0 6px; letter-spacing: -.01em; }
.consult-sub { font-size: 14px; color: #a1a1a6; line-height: 1.5; margin-bottom: 18px; }
.consult-direct {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); margin-bottom: 18px; font-size: 13.5px;
}
.consult-direct code { font: 600 14px var(--mono); color: #fff; }
.consult-lbl { display: block; font-size: 12.5px; font-weight: 600; color: #c7c7cc; margin: 14px 0 8px; }
.consult-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.consult-chip {
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  color: #c7c7cc; padding: 7px 12px; border-radius: 99px; font-size: 12.8px;
  cursor: pointer; transition: .18s;
}
.consult-chip:hover { border-color: rgba(255,255,255,.28); color: #fff; }
.consult-chip.on { background: rgba(41,151,255,.2); border-color: var(--l1); color: #fff; font-weight: 600; }
.consult-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
@media (max-width: 560px) {
  .consult-backdrop { align-items: flex-end; padding: 0; }
  .consult-sheet { border-radius: 24px 24px 0 0; padding: 24px 20px 26px; max-height: 92vh; }
  .consult-row2 { grid-template-columns: 1fr; gap: 10px; }
}
.consult-in {
  width: 100%; padding: 10px 13px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.35);
  color: #fff; font: 14px/1.4 var(--sans); outline: none; transition: border-color .2s;
}
.consult-in:focus { border-color: var(--l1); }
.consult-in::placeholder { color: #6e6e73; }
.consult-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.consult-acts .btn { flex: 1; min-width: 190px; font-size: 15px; font-weight: 600; }
.consult-acts .btn.sec {
  background: rgba(255,255,255,.09); color: #f5f5f7 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.consult-acts .btn.sec:hover { background: rgba(255,255,255,.16); }
.consult-ok {
  display: none; margin-top: 14px; padding: 11px 14px; border-radius: 12px;
  background: rgba(48,209,88,.14); border: 1px solid rgba(48,209,88,.38);
  color: #7ef09b; font-size: 13px; line-height: 1.5;
}
.consult-ok.show { display: block; }

@media print {
  .consult-backdrop, .copy-pill, .calc-tabs, .calc-bar .btn, .mig-tabs, .mig-copy, .ba-range, .ba-hint { display: none !important; }
  .ba-card, .mig-card, .calc-box { break-inside: avoid; box-shadow: none !important; }
  .ba-stage { --pos: 50% !important; }
}
