/* ==========================================================
   LKUAS翎客机器人 · 官网视觉系统 v2
   参照翼飞特（effort-tech）的视觉语言重做：
   深色固定顶栏 / 全幅影像首屏 / 居中标题 / 胶囊按钮 / 深色页脚
   ========================================================== */

:root {
  /* 底色 */
  --bg: #f9fafc;
  --bg-soft: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #fbfcfe;

  /* 线 / 字 */
  --line: #e7e9ee;
  --line-strong: #d5dae3;
  --ink: #1b1b1b;
  --text: #333333;
  --text-2: #6b7280;
  --text-3: #9aa1ae;

  /* 主色 */
  --accent: #2871d8;
  --accent-d: #1f5cb4;
  --accent-dim: #eaf1fc;

  /* 深色面 */
  --dark: #161616;
  --dark-2: #1d1d1d;

  --shadow-s: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-m: 0 22px 46px -30px rgba(16, 24, 40, 0.4);
  --shadow-l: 0 34px 70px -40px rgba(16, 24, 40, 0.5);

  --radius: 4px;
  --radius-lg: 6px;
  --maxw: 1240px;
  /* 「购买」按钮两侧的留白：「中 / EN」到按钮、按钮到内容栏右边界，两段相等，
     所以按钮正好落在「语言切换 ↔ 右边边界」的正中间。调大 = 整体更靠左 */
  --buy-air: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Alibaba PuHuiTi", "HarmonyOS Sans SC", "PingFang SC", "Segoe UI", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Hiragino Sans GB", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(40, 113, 216, 0.16); }

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

/* ---------- 通用文字 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.h-display { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.16; font-weight: 700; }
.h-sect { font-size: clamp(26px, 2.9vw, 38px); line-height: 1.45; letter-spacing: 0.015em; }
.h-card { font-size: 19px; }

.lede { color: var(--text-2); font-size: 15px; line-height: 1.95; margin: 18px 0 0; }
.muted { color: var(--text-2); }
.grad { color: var(--ink); }

/* ---------- 按钮：胶囊 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  border-color: #b9c3d5;
  background: var(--surface-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-m);
}
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px -16px rgba(40, 113, 216, 0.95);
}
.btn--primary:hover {
  background: var(--accent-d);
  border-color: var(--accent-d);
  color: #fff;
  box-shadow: 0 16px 30px -16px rgba(40, 113, 216, 0.75);
}
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--line {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--line:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.btn--sm { height: 38px; padding: 0 20px; font-size: 13px; }
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* ==========================================================
   顶栏（深色固定）
   ========================================================== */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: #171717;
  transition: background 0.35s, box-shadow 0.35s;
}
.hdr.is-solid { background: #111; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }

/* ---------- 首页：顶栏透明压在首屏影像上 ----------
   其他页面保持上面的深色实底；首页只在最顶上留一层极淡的压暗（保证白字在亮图上也能读），
   往下滚一点就转成磨砂玻璃，既不挡首屏，滚过去之后也不会让导航糊在内容里。
   移动端抽屉展开时（.is-menu）直接给实底，避免透明条和抽屉拼成两截。 */
body[data-page="home"] .hdr {
  background: linear-gradient(
    180deg,
    rgba(6, 8, 12, 0.34) 0%,
    rgba(6, 8, 12, 0.12) 58%,
    rgba(6, 8, 12, 0) 100%
  );
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    -webkit-backdrop-filter 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
body[data-page="home"] .hdr.is-solid {
  background: rgba(16, 17, 20, 0.84);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 40px -28px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}
/* 抽屉展开时必须是实底：抽屉本身是 #171717，顶栏若还半透明会拼出一条色差 */
body[data-page="home"] .hdr.is-menu {
  background: #171717;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* 首页首屏是影像，导航文字压到 86% 更实一点；其余页面维持原样 */
body[data-page="home"] .nav a { color: rgba(255, 255, 255, 0.8); }

.hdr__inner > .hdr__act, .hdr__inner > .burger { margin-left: 6px; }
.hdr__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: 30px; height: 30px;
  border-radius: 3px;
  display: grid; place-items: center;
  background: #fff;
  color: #171717;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.01em;
}
.logo__txt { display: flex; flex-direction: column; line-height: 1.2; }
/* LOGO 图片：只锁高度、宽度自适应，避免被拉变形 */
.logo__img { height: 30px; width: auto; max-width: 210px; object-fit: contain; display: block; }
.logo__cn { font-size: 15px; font-weight: 600; letter-spacing: 0.06em; color: #fff; }
.logo__en { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.42); }

.nav { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.nav a {
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s;
}
.nav a:hover { color: #fff; }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 0;
  height: 2px;
  background: #fff;
}
.burger {
  display: none; width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px; background: transparent; color: #fff;
}
.burger span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: 0.3s; }

/* 导航下拉 */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav__caret {
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.45;
  transition: transform 0.25s;
}
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 252px;
  padding: 8px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 26px 60px -28px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 130;
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text);
}
.nav__drop a:hover { background: var(--bg-soft); color: var(--accent); }
.nd__n { color: var(--ink); font-weight: 500; }
.nd__m { font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; color: var(--text-3); }
.nav__drop a:hover .nd__m { color: var(--accent); }
.nav__dropall {
  flex-direction: row !important;
  align-items: center;
  gap: 6px !important;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 4px 4px !important;
  color: var(--accent) !important;
  font-size: 13px !important;
}
.nav__dropall span { transition: transform 0.3s var(--ease); }
.nav__dropall:hover span { transform: translateX(4px); }

/* 下拉菜单组（服务与支持）：文字列表，比产品下拉窄一些 */
.nav__drop--menu { min-width: 176px; padding: 6px; }
.nav__drop--menu a { padding: 9px 12px; }
.nav__drop--menu a.is-active { color: var(--accent); background: var(--bg-soft); }

/* 语言切换 */
.langsw {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 28px;
  padding: 2px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  transition: border-color 0.25s;
}
.langsw:hover { border-color: rgba(255, 255, 255, 0.55); }
.langsw span {
  display: grid;
  place-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.22s, color 0.22s;
}
.langsw span.is-on { background: #fff; color: #171717; }

/* 「中 / EN」+「购买」的右侧动作组：
   组内间距 = 组右侧留白 = --buy-air，按钮因此正好居中于「语言切换 ↔ 内容栏右边界」之间。
   按钮被后台关掉时（.is-nobuy）不留右侧空白，语言切换直接贴回内容栏右边线 */
.hdr__act {
  display: flex;
  align-items: center;
  gap: var(--buy-air);
  padding-right: var(--buy-air);
  flex: 0 0 auto;
}
.hdr__act.is-nobuy { padding-right: 0; }

/* 导航栏右侧「购买」按钮（文案与链接由后台「站点设置 → 顶部按钮」控制） */
.hdr__buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 32px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 22px -14px rgba(40, 113, 216, 0.95);
  transition: background 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.hdr__buy i {
  font-style: normal;
  font-size: 12px;
  transition: transform 0.28s var(--ease);
}
.hdr__buy:hover {
  background: var(--accent-d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -14px rgba(40, 113, 216, 0.8);
}
.hdr__buy:hover i { transform: translateX(3px); }

/* ==========================================================
   首屏（全幅影像 + 轮播）
   ========================================================== */
.hero {
  position: relative;
  height: 86vh;
  min-height: 620px;
  max-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b0d11;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease;
}
.hero__slide.is-on { opacity: 1; animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.11); } }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center / cover no-repeat;
}
.hero--plain { background: radial-gradient(900px 520px at 74% 16%, #1d2a3d, #0e1116 68%); }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.86) 0%, rgba(6, 8, 12, 0.52) 46%, rgba(6, 8, 12, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.5) 0%, rgba(6, 8, 12, 0) 26%, rgba(6, 8, 12, 0.55) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: 680px; color: #fff; }
.hero__kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 22px;
}
.hero__title {
  color: #fff;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.015em;
  white-space: pre-line;
}
.hero__desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.95;
  margin: 24px 0 36px;
  max-width: 560px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__dots {
  position: absolute;
  left: 0; right: 0; bottom: 40px;
  z-index: 3;
}
.hero__dots .wrap { display: flex; align-items: center; gap: 10px; }
.hero__dot {
  width: 44px; height: 3px;
  padding: 0; border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s, width 0.3s var(--ease);
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.7); }
.hero__dot.is-on { width: 60px; background: #fff; }

/* ==========================================================
   数据带（深色全幅）
   ========================================================== */
.stats {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background: #0d1218;
  color: #fff;
}
.stats__bg {
  position: absolute;
  inset: 0;
  background: url(/img/case-5.jpg) center 40% / cover no-repeat;
  opacity: 0.42;
}
.stats__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.7), rgba(8, 11, 16, 0.9));
}
.stats .wrap { position: relative; z-index: 2; }
.stats__t {
  text-align: center;
  color: #fff;
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
}
.stats__sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  line-height: 1.9;
  max-width: 660px;
  margin: 20px auto 0;
}
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; }
.stat { text-align: center; padding: 4px 18px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.stat:first-child { border-left: 0; }
.stat__v { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: 0.01em; }
.stat__v i { font-style: normal; font-size: 0.56em; margin-left: 3px; font-weight: 500; }
.stat__l { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.62); letter-spacing: 0.04em; }
.stats__cta { text-align: center; margin-top: 58px; }

/* ==========================================================
   区块
   ========================================================== */
.sect { position: relative; padding: 100px 0; background: var(--surface); }
.sect--tight { padding: 76px 0; }
.sect--alt { background: var(--bg-soft); }

.sect__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin-bottom: 54px;
}
.sect__head > p,
.sect__head .lede { max-width: 780px; margin: 18px auto 0; }
.sect__head .btn { margin-top: 26px; }

/* ==========================================================
   产品卡片
   ========================================================== */
.pro-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pro-cards--2 { grid-template-columns: repeat(2, 1fr); }

.pcard {
  display: flex;
  flex-direction: column-reverse;
  padding: 38px 26px 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #e8eef7 0%, #f4f7fc 56%, #fcfdfe 100%);
  text-align: center;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.pcard__body { display: flex; flex-direction: column; align-items: center; padding-bottom: 26px; }
.pcard__title { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: 0.01em; }
.pcard__tagline { font-size: 13.5px; color: var(--text-2); margin-top: 9px; }
.pcard__desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.75;
  margin: 14px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  transition: background 0.25s;
}
.pcard:hover .pcard__btn { background: var(--accent-d); }
.pcard__media {
  position: relative;
  margin-top: 16px;
  aspect-ratio: 1 / 0.8;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: #0d1117;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.045); }
.pcard__badge {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
}
.pro-cards--2 .pcard__title { font-size: 25px; }
.pro-cards--2 .pcard__media { aspect-ratio: 1 / 0.56; }

/* 无实拍图的产品（如 CAAC 培训产品线）用型号图板占据图位 */
.pcard__media--plate {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(40, 113, 216, 0.28) 0%, rgba(40, 113, 216, 0) 62%),
    linear-gradient(155deg, #1c2736 0%, #0d1117 58%, #111a24 100%);
}
.pcard__plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 0 22px;
  text-align: center;
}
.pcard__plate-code {
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
}
.pcard__plate-line { width: 32px; height: 1px; background: rgba(255, 255, 255, 0.32); }
.pcard__plate-note { font-size: 11.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.54); max-width: 250px; }
.pro-cards--2 .pcard__plate-code { font-size: 20px; }

/* 旧的行式列表（保留兼容） */
.pro-list { border-top: 1px solid var(--line); }
.pro-row {
  display: grid;
  grid-template-columns: 74px 1.15fr 1fr 220px;
  gap: 36px;
  align-items: center;
  padding: 32px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.pro-row:hover { background: var(--surface-2); }
.pro-row__idx { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.pro-row__name { font-size: 22px; font-weight: 700; }
.pro-row__tag { font-size: 12.5px; color: var(--accent); margin-top: 6px; }
.pro-row__desc { color: var(--text-2); font-size: 14px; line-height: 1.8; }
.pro-row__thumb { width: 220px; height: 118px; border-radius: 4px; object-fit: cover; }

/* ---------- 四宫格优势 ---------- */
.vals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.val { background: #fff; padding: 36px 30px; transition: background 0.35s; }
.val:hover { background: var(--surface-2); }
.val__n { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.16em; }
.val__t { font-size: 18px; margin: 16px 0 10px; color: var(--ink); }
.val__d { font-size: 13.8px; color: var(--text-2); line-height: 1.85; }

/* ---------- 服务卡 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc {
  position: relative;
  padding: 40px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: 0.4s var(--ease);
}
.svc:hover { border-color: #c5d6ee; transform: translateY(-3px); box-shadow: var(--shadow-m); }
.svc__tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--accent); }
.svc__t { font-size: 23px; margin: 16px 0 14px; letter-spacing: 0.01em; }
.svc__d { color: var(--text-2); font-size: 14.5px; line-height: 1.9; }
.svc__link {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--accent);
}
.svc__link span { transition: transform 0.3s var(--ease); }
.svc__link:hover span { transform: translateX(4px); }

/* ---------- 案例（影像 + 居中文字） ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.35;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0e1116;
  isolation: isolate;
}
.case img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.case::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.12) 0%, rgba(6, 8, 12, 0.58) 100%);
  transition: background 0.4s;
}
.case:hover img { transform: scale(1.05); }
.case:hover::after { background: linear-gradient(180deg, rgba(6, 8, 12, 0.2) 0%, rgba(6, 8, 12, 0.74) 100%); }
.case__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 22px;
}
.case__t { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 0.06em; line-height: 1.5; }
.case__p { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.05em; margin-top: 12px; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ncard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: 0.4s var(--ease);
}
.ncard:hover { transform: translateY(-4px); border-color: #d8e2f2; box-shadow: var(--shadow-m); }
.ncard__media { aspect-ratio: 16 / 9.4; overflow: hidden; background: #eef1f6; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.04); }
.ncard__body { padding: 26px 24px 30px; flex: 1; display: flex; flex-direction: column; }
.ncard__meta { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--text-3); }
.ncard__meta .cat { color: var(--accent); }
.ncard__t { font-size: 17px; line-height: 1.6; margin: 14px 0 10px; }
.ncard__s { font-size: 13.5px; color: var(--text-2); line-height: 1.85; flex: 1; }

.nlist { border-top: 1px solid var(--line); }
.nrow {
  display: grid;
  grid-template-columns: 118px 1fr 110px 24px;
  gap: 30px;
  align-items: center;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: 0.35s var(--ease);
}
.nrow:hover { background: #fff; padding-left: 18px; }
.nrow__date { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); letter-spacing: 0.04em; }
.nrow__t { font-size: 18px; font-weight: 600; color: var(--ink); }
.nrow__s { font-size: 13.5px; color: var(--text-2); margin-top: 6px; line-height: 1.8; }
.nrow__cat { font-size: 12px; color: var(--accent); text-align: right; font-family: var(--mono); }
.nrow__arw { color: var(--text-3); transition: 0.35s var(--ease); }
.nrow:hover .nrow__arw { transform: translateX(5px); color: var(--accent); }

/* ---------- CTA 带（深色影像） ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  text-align: center;
  background: #101418;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/img/case-7.jpg) center 62% / cover no-repeat;
  opacity: 0.32;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 15, 0.78), rgba(8, 11, 15, 0.86));
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.7vw, 36px); }
.cta-band p { color: rgba(255, 255, 255, 0.66); margin: 18px auto 34px; max-width: 620px; font-size: 14.5px; }

/* ---------- 页脚（深色） ---------- */
.ftr { padding: 76px 0 28px; background: #141414; color: rgba(255, 255, 255, 0.62); }
.ftr__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 54px;
}
.ftr .logo__mark { background: #fff; color: #141414; }
.ftr .logo__cn { color: #fff; }
.ftr .logo__en { color: rgba(255, 255, 255, 0.4); }
.ftr__brand p { color: rgba(255, 255, 255, 0.46); font-size: 13px; line-height: 1.95; margin: 22px 0 0; max-width: 330px; }
.ftr h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin-bottom: 20px;
  font-family: var(--mono);
  text-transform: uppercase;
}
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ftr ul a, .ftr ul li { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); transition: color 0.25s; }
.ftr ul a:hover { color: #fff; }
.ftr__contact li { line-height: 1.7; }
.ftr__contact b { color: #fff; font-size: 21px; font-weight: 600; letter-spacing: 0.02em; }
.ftr__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
}
/* 备案号：可点击跳转工信部备案系统 */
.ftr__icp {
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.25s, border-color 0.25s;
}
.ftr__icp:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.6); }
.ftr__icp:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 3px; border-radius: 2px; }

/* ---------- 子页深色头图 ---------- */
.phead {
  position: relative;
  overflow: hidden;
  padding: 128px 0 66px;
  background: linear-gradient(112deg, #141414 0%, #1a1a1a 54%, #262626 100%);
  color: #fff;
}
.phead::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 360px at 82% -10%, rgba(40, 113, 216, 0.24), transparent 68%),
    radial-gradient(520px 320px at 8% 120%, rgba(40, 113, 216, 0.1), transparent 70%);
}
.phead::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.phead .wrap { position: relative; z-index: 2; }
.phead h1 { color: #fff; font-size: clamp(30px, 3.7vw, 46px); letter-spacing: 0.015em; }
.phead p { color: rgba(255, 255, 255, 0.66); max-width: 680px; margin-top: 18px; font-size: 15px; line-height: 1.95; }
.phead .lede { color: rgba(255, 255, 255, 0.66); }
.phead .eyebrow { color: #7fabe8; }
.phead--slim { padding: 106px 0 26px; }
.crumb {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 20px;
}
.crumb a { transition: color 0.25s; }
.crumb a:hover { color: var(--accent); }
.phead .crumb { color: rgba(255, 255, 255, 0.42); }
.phead .crumb a:hover { color: #fff; }

/* ---------- 筛选 ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.chip {
  height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text-2);
  font-size: 13.5px;
  transition: 0.25s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 产品详情 ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.pd__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0d1117;
}
.pd__img img { width: 100%; height: 100%; object-fit: cover; }
.pd__img--plate {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(40, 113, 216, 0.26) 0%, rgba(40, 113, 216, 0) 62%),
    linear-gradient(155deg, #1c2736 0%, #0d1117 58%, #111a24 100%);
}
.pd__img--plate .pcard__plate-code { font-size: 22px; }
.pd__img--plate .pcard__plate-note { font-size: 12.5px; max-width: 320px; }
.pd__tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 0; }
.tag {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #d3e0f5;
  background: var(--accent-dim);
  color: var(--accent-d);
}
.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec { background: #fff; padding: 22px 26px; }
.spec__k { font-size: 12px; color: var(--text-3); letter-spacing: 0.08em; font-family: var(--mono); }
.spec__v { font-size: 15px; margin-top: 8px; color: var(--ink); line-height: 1.7; }

/* 富文本正文 */
.rt { color: var(--text-2); font-size: 15px; line-height: 2; max-width: 780px; }
.rt p { margin: 0 0 22px; }
.rt h3 { color: var(--ink); font-size: 20px; margin: 40px 0 16px; }
.rt ul { padding-left: 20px; margin: 0 0 22px; }
.rt li { margin-bottom: 10px; }
.rt strong { color: var(--ink); }

/* 上一篇下一篇 */
.pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 60px;
  font-size: 14px;
}
.pager a { color: var(--text-2); display: flex; flex-direction: column; gap: 6px; max-width: 45%; }
.pager a:hover { color: var(--accent); }
.pager span { font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.08em; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--text-2); }
.field input, .field textarea, .field select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--ink);
  font-size: 14.5px;
  font-family: inherit;
  transition: 0.25s;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #bfc8d8; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(40, 113, 216, 0.1);
}
.field select option { background: #fff; color: var(--ink); }

/* ---------- 联系信息块 ---------- */
.info-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.info { background: #fff; padding: 24px 28px; }
.info__k { font-size: 11.5px; letter-spacing: 0.12em; color: var(--text-3); font-family: var(--mono); }
.info__v { font-size: 16px; margin-top: 9px; color: var(--ink); }

/* ---------- 关于我们 ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.2; background: #0e1116; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.timeline { border-left: 1px solid var(--line); padding-left: 32px; display: grid; gap: 30px; margin-top: 20px; }
.tl { position: relative; }
.tl::before {
  content: "";
  position: absolute;
  left: -37px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.tl__y { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.tl__t { font-size: 15px; color: var(--text-2); margin-top: 6px; line-height: 1.85; }
.tl__t b { color: var(--ink); }

/* 关于页数据块 */
.hero__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.kpi { background: #fff; padding: 30px 26px; text-align: center; }
.kpi__v { font-size: 32px; font-weight: 700; letter-spacing: 0.01em; color: var(--ink); }
.kpi__l { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.06em; margin-top: 8px; }

/* ---------- 动效 ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__slide.is-on { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 空状态 / 骨架 ---------- */
.empty { text-align: center; color: var(--text-3); padding: 80px 0; font-size: 14px; }
.skel { background: linear-gradient(90deg, #f2f4f7 25%, #e8ebf1 50%, #f2f4f7 75%); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ==========================================================
   草稿预览提示（后台「预览」进来的页面才有）
   ========================================================== */
.pvbar {
  position: fixed;
  left: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(460px, calc(100vw - 40px));
  padding: 11px 12px 11px 14px;
  border-radius: 10px;
  background: #171717;
  color: #fff;
  box-shadow: 0 18px 40px -18px rgba(16, 24, 40, 0.7);
  animation: pvin 0.36s var(--ease) both;
}
@keyframes pvin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pvbar__tag {
  flex: none; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; letter-spacing: 0.04em; font-weight: 600;
}
.pvbar__tag--draft { background: rgba(245, 176, 66, 0.2); color: #f7c26b; }
.pvbar__tag--offline { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.86); }
.pvbar__body { min-width: 0; line-height: 1.45; }
.pvbar__body b { display: block; font-size: 13px; font-weight: 600; }
.pvbar__body span {
  display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.62);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pvbar__btn {
  flex: none; height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px;
  display: inline-flex; align-items: center; white-space: nowrap;
  transition: background 0.2s;
}
.pvbar__btn:hover { background: var(--accent-d); }
.pvbar__x {
  flex: none; width: 24px; height: 24px; border: 0; padding: 0;
  background: transparent; color: rgba(255, 255, 255, 0.5);
  font-size: 17px; line-height: 1; cursor: pointer; border-radius: 6px;
}
.pvbar__x:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

@media (max-width: 900px) {
  .pvbar { left: 12px; right: 12px; max-width: none; gap: 10px; }
  .pvbar__body span { white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; }
}
@media print {
  .pvbar { display: none; }
}

/* ==========================================================
   悬浮工具条（一键回到顶部）
   ========================================================== */
.to-top {
  position: fixed;
  right: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #171717;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(16, 24, 40, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  /* 默认收起：往下位移 + 淡出 + 缩一点，出现时不抢视线 */
  opacity: 0;
  transform: translateY(14px) scale(0.86);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.32s var(--ease), background 0.2s;
}
.to-top.is-on { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { background: var(--accent); }
.to-top:hover svg { transform: translateY(-2px); }
.to-top:active { transform: translateY(0) scale(0.94); }
.to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.to-top svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

@media (max-width: 900px) {
  .to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; }
  .to-top svg { width: 19px; height: 19px; }
}
/* 窄背景 / 打印时不该出现 */
@media print {
  .to-top { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}

/* ==========================================================
   文档中心
   ========================================================== */
.phead--docs { padding-bottom: 56px; }
.dsearch { position: relative; margin-top: 32px; max-width: 680px; }
.dsearch input {
  width: 100%;
  height: 54px;
  padding: 0 132px 0 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  font-size: 14.5px;
  font-family: inherit;
  transition: 0.25s;
}
.dsearch input::placeholder { color: rgba(255, 255, 255, 0.42); }
.dsearch input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}
.dsearch button {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 42px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  transition: 0.25s;
}
.dsearch button:hover { background: var(--accent-d); }
.dsearch__stat {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.44);
}

/* 分类卡片 */
.dcats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dcat {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 30px 28px 22px;
  transition: 0.4s var(--ease);
}
.dcat:hover { border-color: #cfdcef; transform: translateY(-3px); box-shadow: var(--shadow-m); }
.dcat__en { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--accent); }
.dcat__t { font-size: 21px; margin: 10px 0 8px; }
.dcat__t a:hover { color: var(--accent); }
.dcat__d { font-size: 13.5px; color: var(--text-2); line-height: 1.85; margin: 0 0 18px; }
.dcat__list { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.dcat__list li { border-bottom: 1px solid var(--line); }
.dcat__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  font-size: 14px;
  color: var(--text-2);
  transition: 0.22s;
}
.dcat__list a:hover { color: var(--accent); padding-left: 8px; }
.dcat__list .ix { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); flex-shrink: 0; }
.dcat__list .ar { margin-left: auto; color: var(--text-3); font-size: 12px; }
.dcat__list a:hover .ar { color: var(--accent); }
.dcat__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.dcat__more { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.dcat__more span { transition: transform 0.3s var(--ease); }
.dcat__more:hover span { transform: translateX(4px); }

/* 文档列表 */
.dlist { border-top: 1px solid var(--line); }
.drow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  transition: 0.25s;
}
.drow:hover { background: #fff; padding-left: 16px; }
.drow__t { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.drow__s { font-size: 13.5px; color: var(--text-2); line-height: 1.8; margin-top: 7px; }
.drow__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 11px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--text-3); }
.drow__meta .cat { color: var(--accent); }
.drow__ar { color: var(--text-3); transition: 0.3s var(--ease); }
.drow:hover .drow__ar { transform: translateX(5px); color: var(--accent); }
/* ---------------- 下载中心 ---------------- */
.dltabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dltab {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--text-2); font-size: 13.5px; cursor: pointer; transition: 0.25s;
}
.dltab b { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--text-3); }
.dltab:hover { border-color: var(--accent); color: var(--accent); }
.dltab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.dltab.is-on b { color: rgba(255, 255, 255, 0.7); }

.dltable { margin-top: 6px; }
.dltable__head, .dlrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 76px 72px 92px 132px;
  gap: 16px;
  align-items: center;
}
.dltable__head {
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--text-3); text-transform: uppercase;
}
.dlrow { padding: 18px 8px; border-bottom: 1px solid var(--line); transition: 0.25s; }
.dlrow:hover { background: var(--surface); padding-left: 16px; }
.dlrow .c-file { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
/* 文件类型角标：纸片造型 + 右上折角，按类型上色（PDF 橙 / 压缩包 紫 / 固件 蓝 / 其他 青） */
.dlrow__tp {
  position: relative; flex: none; width: 44px; height: 46px;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 5px 11px 5px 5px;
  background: var(--tp-bg, var(--bg-soft));
  border: 1px solid var(--tp-bd, var(--line));
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.01em; line-height: 1; text-transform: uppercase;
  color: var(--tp-fg, var(--ink));
  transition: box-shadow 0.2s, border-color 0.2s;
}
.dlrow__tp > i {
  font-style: normal; position: relative; z-index: 1;
  margin-top: 2px; max-width: 38px; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 折角：右上角一块三角，颜色比底色深一档 */
.dlrow__tp::after {
  content: ''; position: absolute; top: 0; right: 0; width: 13px; height: 13px;
  background: var(--tp-fold, var(--line));
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.dlrow:hover .dlrow__tp { box-shadow: 0 2px 8px var(--tp-sh, rgba(20, 30, 50, 0.08)); }
.dlrow__tp--pdf { --tp-bg: #fff4ea; --tp-bd: #efcfae; --tp-fg: #b4620a; --tp-fold: #f2d8ba; --tp-sh: rgba(180, 98, 10, 0.16); }
.dlrow__tp--zip { --tp-bg: #f5f0ff; --tp-bd: #dacbf6; --tp-fg: #6d28d9; --tp-fold: #e2d4fa; --tp-sh: rgba(109, 40, 217, 0.16); }
.dlrow__tp--fw { --tp-bg: #eef4fe; --tp-bd: #ccddf7; --tp-fg: #1f5cb4; --tp-fold: #d5e3f8; --tp-sh: rgba(31, 92, 180, 0.16); }
.dlrow__tp--file { --tp-bg: #e9f7f9; --tp-bd: #bfe3e9; --tp-fg: #0b7285; --tp-fold: #cde8ee; --tp-sh: rgba(11, 114, 133, 0.16); }
.dlrow__body { min-width: 0; }
.dlrow__t { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.dlrow__ver {
  font-family: var(--mono); font-size: 10.5px; font-weight: 400;
  padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px; color: var(--text-3);
}
/* 「外链」小标：文件托管在外部服务器，点了会跳到对方站点 */
.dlrow__ext {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em;
  margin-left: 6px; padding: 2px 5px; border-radius: 3px;
  background: rgba(40, 113, 216, 0.09); color: var(--accent);
  vertical-align: 1px;
}
.dlrow__s { margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.dlrow__kind {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 3px; background: var(--bg-soft); color: var(--text-2); white-space: nowrap;
}
/* 分类标签统一中性色：彩色只留给文件类型角标，一行里不出现两套配色 */
.dlrow__kind { background: var(--bg-soft); color: var(--text-2); }
.dlrow .c-size, .dlrow .c-date { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
/* 下载量：桌面只显示数字（表头已说明），窄屏收起表头后补上「下载 x 次」 */
.dlrow .c-hits { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.c-hits__k, .c-hits__u { display: none; }
.dlrow .c-act { display: flex; gap: 8px; justify-content: flex-end; }
.dlbtn {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: var(--radius); background: var(--ink); color: #fff;
  font-size: 12.5px; white-space: nowrap; transition: 0.25s;
}
.dlbtn:hover { background: var(--accent); }
.dlbtn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.dlbtn--ghost:hover { border-color: var(--accent); background: var(--surface); color: var(--accent); }
.dlbtn--off { background: var(--bg-soft); color: var(--text-3); pointer-events: none; }
.dlnote { margin-top: 20px; font-size: 12.5px; color: var(--text-3); }

.dsearch__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.dsearch__head span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-3); }
.dsearch__head button { background: transparent; border: 0; color: var(--accent); font-size: 13px; }
mark { background: #d9e6fa; color: #17356e; padding: 0 2px; border-radius: 2px; }

/* 文档阅读页 */
.docwrap { padding: 104px 0 92px; }
.doc-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr) 196px; gap: 46px; align-items: start; }
.doc-layout > * { min-width: 0; }

.doc-side {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 16px;
  border-right: 1px solid var(--line);
  font-size: 13.5px;
}
.doc-side::-webkit-scrollbar { width: 4px; }
.doc-side::-webkit-scrollbar-thumb { background: #d5dae3; border-radius: 4px; }
.doc-side__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--text-3); margin-bottom: 16px; }
.doc-side__label a:hover { color: var(--accent); }
.doc-nav + .doc-nav { margin-top: 24px; }
.doc-nav__t { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--text-3); margin-bottom: 9px; }
.doc-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.doc-nav a {
  display: block;
  padding: 7px 10px;
  border-radius: 3px;
  border-left: 2px solid transparent;
  color: var(--text-2);
  line-height: 1.6;
  transition: 0.22s;
}
.doc-nav a:hover { background: #fff; color: var(--ink); }
.doc-nav a.is-on { color: var(--accent); background: var(--accent-dim); border-left-color: var(--accent); font-weight: 500; }
.doc-side__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 13px 16px;
  font-size: 14px;
  margin-bottom: 6px;
}

.doc-toc { position: sticky; top: 92px; font-size: 13px; }
.doc-toc__t { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; color: var(--text-3); margin-bottom: 12px; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.doc-toc a {
  display: block;
  padding: 6px 0 6px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--text-3);
  line-height: 1.6;
  transition: 0.22s;
}
.doc-toc a:hover { color: var(--text-2); }
.doc-toc a.is-on { color: var(--accent); border-left-color: var(--accent); }
.doc-toc .lv3 a { padding-left: 26px; font-size: 12.5px; }

.doc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--text-3); }
.doc-level { padding: 2px 9px; border-radius: 3px; background: var(--accent-dim); color: var(--accent-d); }
.doc-head h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.4; letter-spacing: 0.01em; margin: 16px 0 0; }
.doc-head .lede { max-width: 680px; }

.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 66px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc-pager a { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; font-size: 14px; color: var(--text-2); transition: 0.25s; background: #fff; }
.doc-pager a:hover { border-color: #cfdcef; color: var(--ink); }
.doc-pager span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 7px; }
.doc-pager .next { text-align: right; }
.doc-pager .ph { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }

/* Markdown 正文 */
.md-body { color: #40485a; font-size: 15.5px; line-height: 2; max-width: 760px; }
.md-body > *:first-child { margin-top: 0; }
.md-body h2 {
  font-size: 22px;
  color: var(--ink);
  margin: 52px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
  letter-spacing: 0.01em;
}
.md-body h3 { font-size: 18px; color: var(--ink); margin: 36px 0 14px; scroll-margin-top: 90px; }
.md-body h4 { font-size: 16px; color: var(--ink); margin: 26px 0 12px; }
.md-body p { margin: 0 0 20px; }
.md-body a { color: var(--accent); border-bottom: 1px solid rgba(40, 113, 216, 0.35); transition: 0.2s; }
.md-body a:hover { border-bottom-color: var(--accent); }
.md-body strong { color: var(--ink); font-weight: 600; }
.md-body em { color: #3a4557; }
.md-body del { color: var(--text-3); }
.md-body ul, .md-body ol { margin: 0 0 22px; padding-left: 22px; }
.md-body li { margin-bottom: 9px; }
.md-body li::marker { color: var(--text-3); }
.md-body li > ul, .md-body li > ol { margin: 9px 0 0; }
.md-anchor { opacity: 0; margin-left: 8px; border: 0 !important; color: var(--text-3) !important; font-weight: 400; transition: 0.2s; }
.md-body h2:hover .md-anchor, .md-body h3:hover .md-anchor { opacity: 1; }
.md-hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.md-table { margin: 0 0 26px; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.md-table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 440px; }
.md-table th {
  background: var(--bg-soft);
  text-align: left;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  font-weight: 500;
}
.md-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: #475467; vertical-align: top; line-height: 1.75; }
.md-table tbody tr:last-child td { border-bottom: 0; }
.md-table tbody tr:hover { background: var(--surface-2); }

.md-code { position: relative; margin: 0 0 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #f7f9fc; overflow: hidden; }
.md-code__lang { position: absolute; right: 14px; top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--text-3); text-transform: uppercase; }
.md-code pre { margin: 0; padding: 18px 20px; overflow-x: auto; }
.md-code code { font-family: var(--mono); font-size: 13px; line-height: 1.8; color: #1f3a5f; }
.md-il { font-family: var(--mono); font-size: 0.86em; padding: 2px 6px; border-radius: 3px; background: var(--accent-dim); color: var(--accent-d); }

.md-note {
  margin: 0 0 26px;
  padding: 16px 20px;
  border: 1px solid #dbe6f7;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: #f5f9ff;
}
.md-note__hd { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.md-note__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 3px;
  background: #d9e6fa;
  color: #1a4d97;
}
.md-note__t { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.md-note__bd > *:last-child { margin-bottom: 0; }
.md-note__bd p, .md-note__bd li { font-size: 14.5px; line-height: 1.9; }
.md-note--warn { border-color: #f4e2c2; border-left-color: #d97706; background: #fffaf1; }
.md-note--warn .md-note__tag { background: #fdf0d5; color: #92400e; }
.md-note--danger { border-color: #f6d7d7; border-left-color: #dc2626; background: #fff7f7; }
.md-note--danger .md-note__tag { background: #fbe1e1; color: #991b1b; }

.md-quote { margin: 0 0 26px; padding: 4px 0 4px 20px; border-left: 2px solid var(--line-strong); color: var(--text-2); }
.md-quote > *:last-child { margin-bottom: 0; }

.md-list--task { list-style: none; padding-left: 2px; }
.md-li-task { position: relative; padding-left: 26px; }
.md-check {
  position: absolute;
  left: 0; top: 7px;
  width: 15px; height: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  display: inline-block;
}
.md-check.is-on { background: var(--accent); border-color: var(--accent); }
.md-check.is-on::after { content: "✓"; position: absolute; inset: 0; color: #fff; font-size: 11px; line-height: 15px; text-align: center; font-weight: 700; }
.md-img { border-radius: var(--radius); border: 1px solid var(--line); margin: 8px 0 26px; max-width: 100%; height: auto; }

/* 图片块：后台编辑器里的「对齐 / 宽度 / 图注」落成的结构
   ![图注](/uploads/x.png){align=center width=70%}  ->  figure.md-fig--center[--fig-w:70%] */
.md-fig {
  display: flex; flex-direction: column; align-items: flex-start;
  margin: 6px 0 26px; max-width: 100%;
}
.md-fig--center { align-items: center; }
.md-fig--right { align-items: flex-end; }
.md-fig .md-img { margin: 0; width: auto; max-width: 100%; height: auto; }
.md-fig[style*="--fig-w"] .md-img { width: var(--fig-w); }
.md-fig figcaption,
.md-fig-in__cap {
  display: block; margin-top: 8px; font-style: normal;
  font-size: 12.5px; line-height: 1.6; color: #8a9099; text-align: inherit;
}
.md-fig--center figcaption { text-align: center; }
.md-fig--right figcaption { text-align: right; }

/* 段落里夹着的图片（带属性时用 span 包裹，靠浮动 / 自动外边距调位置） */
.md-fig-in { display: inline-block; max-width: 100%; vertical-align: top; }
.md-fig-in .md-img { margin: 6px 0 10px; width: auto; max-width: 100%; height: auto; }
.md-fig-in[style*="--fig-w"] { width: var(--fig-w); }
.md-fig-in[style*="--fig-w"] .md-img { width: 100%; }
.md-fig-in--left { float: left; margin: 4px 20px 8px 0; }
.md-fig-in--right { float: right; margin: 4px 0 8px 20px; }
.md-fig-in--center { display: block; margin: 6px auto 16px; text-align: center; }
.md-fig-in--center .md-img { margin-left: auto; margin-right: auto; }
.md-fig-in__cap { text-align: center; }

/* 手机上图片一律收进容器，横向不溢出 */
@media (max-width: 720px) {
  .md-fig-in--left, .md-fig-in--right { float: none; display: block; margin: 6px 0 16px; }
}

/* 标签行 / FAQ */
.tags-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.faq-list { border-top: 1px solid var(--line); max-width: 880px; margin: 0 auto; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 46px 22px 2px;
  font-size: 16px;
  color: var(--ink);
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "+";
  position: absolute; right: 10px; top: 19px;
  font-size: 19px; font-weight: 400; color: var(--text-3);
  transition: transform 0.25s;
}
.faq[open] summary::after { content: "−"; }
.faq__a { padding: 0 46px 24px 2px; color: var(--text-2); font-size: 14.5px; line-height: 1.95; }

/* ==========================================================
   响应式
   ========================================================== */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.about-split--contact { grid-template-columns: 1.15fr 0.85fr; }

@media (max-width: 1180px) {
  .doc-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 34px; }
  .doc-toc { display: none; }
  .md-body { max-width: none; }
}

@media (max-width: 1080px) {
  .hero { height: auto; min-height: 560px; padding: 130px 0 96px; }
  .pro-cards, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-cards--2 { grid-template-columns: repeat(2, 1fr); }
  .vals { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__row { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pro-row { grid-template-columns: 48px 1fr 180px; gap: 24px; }
  .pro-row__desc { display: none; }
  .pd { grid-template-columns: 1fr; gap: 40px; }
  .about-split { grid-template-columns: 1fr; gap: 44px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-split--contact { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .docwrap { padding: 92px 0 64px; }
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .doc-side {
    position: static;
    max-height: none;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 10px;
    margin-bottom: 26px;
  }
  .doc-side__toggle { display: flex; }
  .doc-side__box { display: none; padding-top: 16px; }
  .doc-side.is-open .doc-side__box { display: block; }
  .dcats { grid-template-columns: 1fr; }
  .doc-pager { grid-template-columns: 1fr; }
  .doc-pager .next { text-align: left; }
  .md-body { font-size: 15px; }
  .md-body h2 { font-size: 20px; margin-top: 42px; }
  .md-body h3 { font-size: 17px; }
  .dsearch input { height: 50px; padding-right: 108px; font-size: 14px; }
  .dsearch button { height: 38px; padding: 0 18px; }
}

@media (max-width: 820px) {
  .hdr__inner { gap: 12px; }
  .logo__en { display: none; }
  /* 窄屏给 LOGO 留上限，别把导航挤没了 */
  .logo__img { max-height: 26px; max-width: 148px; }
  /* 顶部购买按钮同步收紧，语言切换和汉堡要留得住 */
  .hdr__buy { height: 30px; padding: 0 11px; font-size: 12.5px; gap: 4px; }
  .hdr__buy i { display: none; }

  .hero { min-height: 0; padding: 108px 0 84px; }
  .hero__title { font-size: clamp(28px, 8vw, 38px); }
  .hero__desc { font-size: 14.5px; margin: 18px 0 28px; }
  .hero__dots { bottom: 28px; }
  .hero__dot { width: 34px; }
  .hero__dot.is-on { width: 44px; }

  .sect { padding: 68px 0; }
  .sect--tight { padding: 56px 0; }
  .sect__head { margin-bottom: 38px; }
  .pro-cards, .pro-cards--2, .news-grid, .case-grid, .svc-grid { grid-template-columns: 1fr; }
  .vals { grid-template-columns: 1fr; }
  .stats { padding: 68px 0 60px; }
  .stats__row { grid-template-columns: 1fr 1fr; gap: 30px 0; margin-top: 44px; }
  .stat { padding: 4px 10px; }
  .stat__v { font-size: 28px; }
  .stat__l { font-size: 12px; margin-top: 8px; }
  .stats__cta { margin-top: 40px; }

  .nrow { grid-template-columns: 1fr 20px; gap: 12px; }
  .nrow__date, .nrow__cat { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .ftr { padding: 56px 0 24px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .phead { padding: 104px 0 48px; }
  .phead--slim { padding: 100px 0 22px; }
  .wrap { padding: 0 20px; }
  .cta-band { padding: 62px 0; }
  .case { aspect-ratio: 4 / 3; }
  .case__t { font-size: 20px; }
  .hero__kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi__v { font-size: 26px; }
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .pcard { padding: 30px 22px 0; }
  .pcard__media { aspect-ratio: 1 / 0.66; }
}

/* ---------- 顶栏断点（10 项导航单行） ---------- */
@media (max-width: 1240px) {
  .hdr__inner { gap: 14px; }
  .nav a { padding: 8px 8px; font-size: 13.5px; }
  .nav a.is-active::after { left: 8px; right: 8px; }
}
@media (max-width: 940px) {
  .nav a { padding: 8px 5px; font-size: 12.5px; }
}

/* 导航项到 9 条后，1180 以下横排会顶出容器、把「购买」挤出屏幕，这段宽度也收进抽屉菜单 */
@media (max-width: 1180px) {
  .nav {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #171717;
    padding: 8px 20px 22px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    margin: 0;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 15px 4px; font-size: 15.5px; color: rgba(255, 255, 255, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav a.is-active { color: #fff; }
  .nav a.is-active::after { display: none; }
  .nav__item { display: block; }
  .nav__item > a { display: flex; align-items: center; justify-content: space-between; }
  .nav__drop { display: none; }
  .nav__caret { display: none; }
  /* 移动端：下拉组展开成缩进的子链接，否则子项在手机上完全点不到 */
  .nav__item--group .nav__drop--menu {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 0 0 6px;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }
  .nav__item--group .nav__drop--menu a {
    padding: 12px 4px 12px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  /* .nd__n 在桌面下拉里是深色（白底），到深色抽屉里要跟着变白 */
  .nav__item--group .nav__drop--menu .nd__n { color: inherit; }
  .nav__item--group .nav__drop--menu a.is-active { color: #fff; background: none; }
  .burger { display: block; margin-left: 6px; }
  .langsw { margin-left: auto; }
  /* 抽屉模式：「购买」后面还排着汉堡按钮，不需要再留右侧空白，按普通间距排。
     选择器带 .hdr__inner > 是为了压过上面那条 margin-left: 6px（同权重比顺序） */
  .hdr__inner > .hdr__act { margin-left: auto; --buy-air: 12px; padding-right: 0; }
}
/* 英文导航标签更长（Flight Controller / CAAC Products…），同样宽度会多占 30–50px：
   横排区间内收一点内边距，别把「购买」顶出内容栏 */
@media (min-width: 1181px) {
  html[lang="en"] .nav a { padding-left: 8px; padding-right: 8px; }
}
@media (min-width: 1181px) and (max-width: 1280px) {
  html[lang="en"] .nav a { padding-left: 6px; padding-right: 6px; }
}

/* 平板 / 小笔记本这档宽度不像手机那样占满整屏，抽屉收成右侧面板更像下拉菜单 */
@media (max-width: 1180px) and (min-width: 821px) {
  .nav {
    left: auto; right: 0; width: min(430px, calc(100vw - 40px));
    border-radius: 0 0 0 12px;
    box-shadow: -26px 40px 60px -34px rgba(0, 0, 0, 0.7);
  }
}

/* 下拉与导航之间的悬停缓冲 */
.nav__item::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 12px;
}

/* ==========================================================
   产品详情页（结构参照 effort-tech Z80）
   首屏 → 关键数据 → 吸顶锚点 → 全幅长图 → 技术参数 → 资料下载 → 相关产品
   ========================================================== */
.pd__name { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.14; letter-spacing: -0.02em; margin: 14px 0 0; }
.pd__tagline { margin: 16px 0 0; font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: 0.01em; }
.pd__cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* 关键数据 */
.pdstats {
  display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 1px;
  margin-top: 54px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.pdstat { background: var(--surface); padding: 26px 22px; text-align: center; }
.pdstat b {
  display: block; font-size: clamp(20px, 2.15vw, 27px); font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em; line-height: 1.32; text-wrap: balance;
}
.pdstat span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--text-3); letter-spacing: 0.03em; }

/* 吸顶锚点导航（整幅） */
.pdnav {
  position: sticky; top: 64px; z-index: 40;
  width: 100vw; margin-left: calc(50% - 50vw);
  margin-top: 44px; margin-bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.pdnav.is-stuck { box-shadow: 0 10px 26px -18px rgba(16, 32, 56, 0.45); }
.pdnav__in { display: flex; align-items: center; gap: 22px; height: 54px; }
.pdnav__model {
  flex: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3); white-space: nowrap;
  padding-right: 22px; border-right: 1px solid var(--line);
}
.pdnav__links { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pdnav__links::-webkit-scrollbar { display: none; }
.pdnav__links a {
  position: relative; display: inline-block; font-size: 13.5px; color: var(--text-2);
  padding: 7px 13px; border-radius: 999px; white-space: nowrap; transition: color 0.2s, background 0.2s;
}
.pdnav__links a:hover { color: var(--accent); background: var(--accent-dim); }
.pdnav__links a.is-on { color: var(--accent); font-weight: 600; }
.pdnav__links a.is-on::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.pdnav__cta {
  flex: none; margin-left: auto; height: 34px; padding: 0 20px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 13px;
  display: inline-flex; align-items: center; transition: background 0.2s;
}
.pdnav__cta:hover { background: var(--accent-d); }

/* 全幅长图：多张同宽图片首尾相接，无缝隙 */
.pdgal { width: 100vw; margin-left: calc(50% - 50vw); background: #eef1f5; }
.pdgal__fig {
  position: relative; margin: 0; padding: 0; line-height: 0;
  cursor: default;
}
/* 详情图不可点击放大，也不可框选 / 拖拽另存 */
.pdgal__fig img {
  width: 100%; height: auto; display: block;
  -webkit-user-select: none; user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* 区块 */
.pdsect { margin-top: 84px; }
.pdsect__hd { margin-bottom: 30px; }
.pdsect__hd .h-sect { margin: 10px 0 0; }
.pdsect__sub { margin: 14px 0 0; color: var(--text-2); font-size: 14.5px; }
.pdsect--overview .rt { max-width: 860px; }

/* 技术参数表 */
.spectbl-wrap {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface);
}
.spectbl { width: 100%; border-collapse: collapse; }
.spectbl thead th {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); font-weight: 500; text-align: left;
  padding: 13px 26px; background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.spectbl thead th:first-child { width: 34%; }
.spectbl tbody th {
  width: 34%; text-align: left; vertical-align: top; font-weight: 400;
  font-size: 13.5px; color: var(--text-2); padding: 15px 26px;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.spectbl tbody td {
  font-size: 14px; color: var(--ink); padding: 15px 26px;
  line-height: 1.75; border-bottom: 1px solid var(--line);
}
.spectbl tbody tr:last-child th, .spectbl tbody tr:last-child td { border-bottom: 0; }
.spectbl tbody tr:hover th, .spectbl tbody tr:hover td { background: #f7faff; }

/* 资料下载 */
.dls { display: grid; gap: 10px; }
.dl {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.dl:hover { border-color: #c9daf3; box-shadow: var(--shadow-m); transform: translateY(-1px); }
.dl__ic {
  flex: none; width: 44px; height: 44px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.03em;
  color: #fff; background: #0b7285;
}
/* 与下载中心同一套配色：PDF 橙 / 压缩包 紫 / 固件 蓝 / 其他 青 */
.dl__ic--pdf { background: #c2680c; }
.dl__ic--zip { background: #6d28d9; }
.dl__ic--fw { background: linear-gradient(150deg, #3d86e8, #1f5cb4); font-size: 11px; letter-spacing: 0.04em; }
.dl__ic--file { background: #0b7285; }
.dl__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dl__meta b {
  font-size: 15px; font-weight: 500; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dl__meta em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.dl__go {
  margin-left: auto; flex: none; font-size: 13px; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.dl:hover .dl__go .arw { transform: translateY(3px); }
.dl__go .arw { display: inline-block; transition: transform 0.2s; }

@media (max-width: 900px) {
  .pdnav { top: 58px; margin-top: 34px; }
  .pdnav__in { height: 50px; gap: 12px; }
  .pdnav__model { display: none; }
  .pdnav__cta { height: 32px; padding: 0 15px; font-size: 12.5px; }
  .pdstats { grid-template-columns: 1fr; }
  .pdstat { padding: 18px 20px; }
  .pdsect { margin-top: 58px; }
  .spectbl thead th:first-child, .spectbl tbody th { width: 42%; }
  .spectbl thead th, .spectbl tbody th, .spectbl tbody td { padding: 12px 15px; }
  .dl { padding: 13px 15px; gap: 12px; }
  .dl__ic { width: 38px; height: 38px; font-size: 9.5px; border-radius: 8px; }
  .dl__go { font-size: 12px; }
}

/* 产品详情：面包屑压成一条深色细带，把视觉重心交给首屏 */
.phead--crumb { padding: 92px 0 20px; }
.phead--crumb .crumb { margin: 0; }

@media (max-width: 900px) {
  .phead--crumb { padding: 84px 0 16px; }
  .pdnav__links { gap: 0; }
  .pdnav__links a { padding: 7px 10px; font-size: 13px; }
}
@media (max-width: 640px) {
  .pdnav__cta { display: none; }
  .pdnav__links { flex: 1; }
  .pdnav__links a { padding: 7px 9px; font-size: 12.5px; }
}

/* 下载中心：窄屏把表格收成卡片，标题下一行放类型/大小/日期，操作按钮靠左 */
@media (max-width: 820px) {
  .dltable__head { display: none; }
  .dlrow { grid-template-columns: 1fr; gap: 12px; padding: 18px 4px; }
  .dlrow:hover { padding-left: 4px; background: none; }
  .dlrow .c-kind, .dlrow .c-size, .dlrow .c-hits, .dlrow .c-date { display: inline-flex; margin-right: 12px; }
  .c-hits__k, .c-hits__u { display: inline; }
  .c-hits__k { margin-right: 3px; }
  .c-hits__u { margin-left: 3px; }
  .dlrow .c-act { justify-content: flex-start; }
  .dlbtn { height: 34px; padding: 0 16px; }
  .dltab { height: 36px; padding: 0 14px; font-size: 13px; }
}

/* ---------------- 教学视频 ---------------- */
.vidgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.vcard {
  display: flex; flex-direction: column; gap: 10px;
  padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer; font: inherit; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.vcard__ph {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  background: #111 center/cover no-repeat;
  box-shadow: var(--shadow-s);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.vcard:hover .vcard__ph { transform: translateY(-3px); box-shadow: var(--shadow-m); }

/* 没上传封面时，用标题生成一张「设计过的封面」：品牌色渐变 + 网格 + 标题文字
   颜色由 id/title 哈希决定（main.js 的 VID_GRADS），同一条视频永远同一张 */
.vcard__ph--gen {
  background:
    radial-gradient(140% 120% at 6% -20%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 54%),
    radial-gradient(95% 95% at 104% 112%, var(--g3), rgba(0, 0, 0, 0) 64%),
    linear-gradient(135deg, var(--g2), var(--g1) 74%);
}
.vcard__ph--gen::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0) 60%);
}
.vgen {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
  justify-content: space-between; padding: 12px 14px;
}
.vgen__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(118deg, #000, rgba(0, 0, 0, 0) 76%);
  mask-image: linear-gradient(118deg, #000, rgba(0, 0, 0, 0) 76%);
}
.vgen__badge {
  position: relative; align-self: flex-start; max-width: 100%;
  padding: 3px 9px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.vgen__title {
  position: relative; margin-top: auto; padding-top: 10px; max-width: 94%;
  color: #fff; font-weight: 700; line-height: 1.34;
  font-size: clamp(12.5px, 1.12vw, 16px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vcard__ph--gen .vcard__play, .vcard__ph--gen .vcard__dur { z-index: 2; }
/* 播放按钮：白圆 + 三角，悬停放大 */
.vcard__play {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px;
  margin: -26px 0 0 -26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.vcard__play i {
  width: 0; height: 0; margin-left: 3px;
  border-style: solid; border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--ink);
}
.vcard:hover .vcard__play { transform: scale(1.08); background: #fff; }
/* 卡片是 <button>：只在键盘操作时显示焦点框，鼠标点完不留蓝框 */
.vcard:focus { outline: none; }
.vcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.vcard__dur {
  position: absolute; right: 9px; bottom: 9px;
  padding: 2px 7px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.62); color: #fff;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.02em;
}
.vcard__t {
  font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vcard:hover .vcard__t { color: var(--accent); }
.vcard__m { font-size: 12.5px; color: var(--text-3); }

/* 播放弹层 */
body.vbox-open { overflow: hidden; }
.vbox { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; }
.vbox__mask { position: absolute; inset: 0; background: rgba(10, 12, 18, 0.82); backdrop-filter: blur(3px); }
.vbox__inner {
  position: relative; width: min(1080px, 94vw); max-height: 92vh; overflow: auto;
  background: #101216; border-radius: 8px; box-shadow: var(--shadow-l);
  animation: vboxIn 0.28s var(--ease);
}
@keyframes vboxIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
.vbox__hd {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px 12px 18px; color: #fff;
}
.vbox__hd b { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.vbox__x {
  margin-left: auto; width: 32px; height: 32px; flex: none;
  border: 0; border-radius: 6px; background: rgba(255, 255, 255, 0.1);
  color: #fff; font-size: 20px; line-height: 1; cursor: pointer; transition: 0.2s;
}
.vbox__x:hover { background: rgba(255, 255, 255, 0.2); }
.vbox__body { background: #000; }
.vbox__body video,
.vbox__body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.vbox__hint { padding: 56px 24px; text-align: center; color: rgba(255, 255, 255, 0.66); font-size: 13.5px; line-height: 2; }
.vbox__hint a { color: #7fb2ff; text-decoration: underline; }
.vbox__desc { padding: 12px 18px 16px; color: rgba(255, 255, 255, 0.62); font-size: 13px; line-height: 1.75; }

@media (max-width: 1000px) {
  .vidgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 640px) {
  .vidgrid { grid-template-columns: 1fr; gap: 16px; }
  .vbox__play, .vcard__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .vbox__inner { width: 96vw; }
}
