/* DMXY 内容子页样式（与官网深色品牌一致） */
:root {
  --bg: #08090a;
  --surface: #101113;
  --surface-2: #16181c;
  --line: #24262c;
  --fg: #f7f8f8;
  --fg-dim: #a7abb6;
  --primary: #5e6ad2;
  --accent: #7170ff;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.85;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 10, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__in {
  max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 96px;
  display: flex; align-items: center; gap: 24px; flex-wrap: nowrap;
  position: relative;
}
.top .brand { display: flex; align-items: center; flex: 0 0 auto; }
/* 页头与首页几何尺寸一致：1180 容器 / 96 高 / 44 logo / 16px 导航（logo 图已裁掉透明边距） */
.top .brand img { height: 44px; width: auto; filter: invert(1); mix-blend-mode: screen; }
.top nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px; font-size: 18px; font-weight: 510;
}
.top nav a { color: var(--fg-dim); line-height: 1.5; }
.top nav a:hover { color: #fff; text-decoration: none; }
.top .btn {
  flex: 0 0 auto; margin: 0; display: inline-flex; align-items: center; justify-content: center;
  line-height: 1.5;
  font-size: 16px; font-weight: 510; border-radius: 8px; padding: 10px 20px;
  background: var(--primary); color: #fff; border: 1px solid transparent;
}
.top .btn:hover { background: #4f5ac0; text-decoration: none; }
.top .lang {
  flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center;
  height: 36px; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 9999px; overflow: hidden;
}
.top .lang span { display: inline-flex; align-items: center; height: 34px; padding: 0 15px; font-size: 13.5px; line-height: 1; font-weight: 510; color: var(--fg-dim); cursor: pointer; }
.top .lang span.on { background: var(--surface-2); color: #fff; }
@media (max-width: 860px) { .top .lang { margin-left: auto; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 40px 24px 80px; }
.crumb { font-size: 13px; color: var(--fg-dim); margin-bottom: 22px; }
.crumb a { color: var(--fg-dim); }

h1 {
  font-size: clamp(26px, 4.4vw, 40px); line-height: 1.3; margin: 0 0 14px;
  letter-spacing: -.5px;
}
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--fg-dim); font-size: 17px; margin: 0 0 30px; }
h2 {
  font-size: clamp(20px, 2.8vw, 26px); margin: 46px 0 14px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
h3 { font-size: 18px; margin: 28px 0 8px; color: #fff; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin: 6px 0; }
strong { color: #fff; }

.answer {
  background: linear-gradient(180deg, rgba(94,106,210,.14), rgba(94,106,210,.05));
  border: 1px solid rgba(113,112,255,.32);
  border-radius: 14px; padding: 20px 22px; margin: 0 0 28px;
}
.answer b { color: #fff; }
.answer .t { font-size: 13px; color: var(--accent); letter-spacing: 1px; margin-bottom: 8px; }

table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15px; }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #fff; background: var(--surface-2); font-weight: 600; white-space: nowrap; }
tbody tr:hover { background: rgba(255,255,255,.02); }
td.num { white-space: nowrap; color: #fff; font-weight: 600; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 22px; margin: 18px 0;
}
.card h3 { margin-top: 0; }

.faq { columns: 2; column-gap: 14px; margin: 14px 0 4px; }
.faq details {
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  display: inline-block; width: 100%; vertical-align: top; box-sizing: border-box;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 16px; margin: 0 0 12px;
}
.faq details[open] { border-color: rgba(113,112,255,.45); background: color-mix(in srgb, var(--surface) 85%, rgba(113,112,255,.10)); }
.faq summary {
  cursor: pointer; font-weight: 600; color: #fff; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 15px; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; flex: 0 0 auto; }
.faq details[open] summary::after { content: "−"; }
.faq .a { color: var(--fg-dim); margin: 10px 0 0; font-size: 14.5px; line-height: 1.72; }
@media (max-width: 860px) { .faq { columns: 1; } }

.cta {
  margin: 50px 0 0; padding: 26px; border-radius: 16px; text-align: center;
  background: linear-gradient(135deg, rgba(94,106,210,.18), rgba(113,112,255,.07));
  border: 1px solid rgba(113,112,255,.3);
}
.cta h2 { border: 0; margin: 0 0 8px; padding: 0; }
.cta p { color: var(--fg-dim); }
.btn {
  display: inline-block; margin: 6px 6px 0; padding: 11px 22px; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: 15px;
}
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--fg); }
.btn:hover { text-decoration: none; filter: brightness(1.1); }

/* ===== 详情页底部：同系列纯文字链接 ===== */
.same {
  margin: 22px 0 10px; font-size: 14px; color: var(--fg-dim);
  display: flex; flex-wrap: wrap; gap: 6px 0; align-items: baseline;
}
.same .sl { font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: #6b7180; margin-right: 10px; }
.same a { color: var(--fg-dim); border-bottom: 1px dashed var(--line); padding-bottom: 1px; }
.same a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.same .sep { color: var(--line); margin: 0 10px; }

.related { margin-top: 46px; }
.related h2 { border: 0; padding: 0; margin-bottom: 12px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.related li a {
  display: block; padding: 14px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; color: var(--fg);
}
.related li a:hover { border-color: rgba(113,112,255,.45); text-decoration: none; }
.related li a small { display: block; color: var(--fg-dim); font-size: 13px; margin-top: 2px; }

footer.site {
  border-top: 1px solid var(--line); padding: 26px 20px 40px;
  text-align: center; color: var(--fg-dim); font-size: 13px;
}
footer.site a { color: var(--fg-dim); }
@media (max-width: 860px) {
  .top__in { height: auto; padding: 12px 16px; flex-wrap: wrap; row-gap: 10px; }
  .top .brand img { height: 44px; }
  .top nav { position: static; transform: none; width: 100%; margin-left: 0; gap: 18px; overflow-x: auto; font-size: 15px; }
  .top .btn { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  table { font-size: 14px; }
  th, td { padding: 9px 8px; }
}

/* ===== 多页导航：当前页高亮 ===== */
.top nav a[aria-current="page"] { color: #fff; font-weight: 600; }

/* ===== 下载中心 ===== */
/* ===== 产品卡片（与首页产品区同款） ===== */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 8px; }
.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; display: flex; flex-direction: column; transition: .2s;
}
.pcard:hover { background: var(--surface-2); transform: translateY(-3px); }
.pthumb {
  position: relative; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden;
  margin-bottom: 14px; border: 1px solid var(--line);
  background: radial-gradient(120% 130% at 50% 25%, #1a1c22, #0b0c0f);
}
.pthumb > a { position: absolute; inset: 4px; display: block; }
.pthumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center; padding: 4px;
  opacity: 0; transition: opacity .16s ease; will-change: opacity;
}
.pthumb img.on { opacity: 1; }
.pcard { cursor: pointer; }
.pdots { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); display: flex; gap: 7px; z-index: 3; }
.pdots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.30), 0 1px 2px rgba(0,0,0,.4); transition: .15s;
}
.pdots button:hover { transform: scale(1.18); }
.pdots button.on {
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(0,0,0,.30), 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent);
  transform: scale(1.2);
}
.pcat { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); }
.pcard h3 { margin: 6px 0; font-size: 17px; font-weight: 590; }
.pcard h3 a { color: #fff; }
.pcard h3 a:hover { color: var(--accent); text-decoration: none; }
.pspec { font-size: 13px; color: var(--fg-dim); line-height: 1.6; min-height: 42px; margin: 0; }
.pfoot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pprice { font-size: 15px; font-weight: 590; color: #fff; }
.pprice small { font-size: 12px; font-weight: 400; color: var(--fg-dim); }
.pbtn {
  font-size: 13px; font-weight: 510; color: var(--fg); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 13px; background: transparent; white-space: nowrap;
}
.pbtn:hover { background: var(--primary); border-color: var(--primary); color: #fff; text-decoration: none; }

/* ===== 产品详情页图库 ===== */
.gallery { max-width: 640px; margin: 8px auto 30px; }
.gmain {
  position: relative; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; padding: 6px;
  background: radial-gradient(120% 130% at 50% 25%, #1a1c22, #0b0c0f);
  border: 1px solid var(--line);
}
.gmain img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.gthumbs { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.gthumbs button {
  flex: 0 0 76px; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; padding: 2px;
  border: 1px solid var(--line); background: #0b0c0f; cursor: pointer; transition: .18s;
}
.gthumbs button:hover { border-color: #3a3d46; }
.gthumbs button.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent);
}
.gthumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.ghint { text-align: center; font-size: 12.5px; color: var(--fg-dim); margin: 10px 0 0; }
@media (max-width: 620px) {
  .gthumbs button { flex: 0 0 58px; }
}

/* ===== 详情页图文细节（默认展开长图，宽度与"一句话结论"框对齐） ===== */
.detailimgs { margin: 0 0 28px; }
.detailimgs details {
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  padding: 0 22px 8px;
}
.detailimgs summary {
  cursor: pointer; padding: 17px 0; font-size: 15px; font-weight: 510; color: #fff;
  list-style: none; display: flex; align-items: center; gap: 10px;
}
.detailimgs summary::-webkit-details-marker { display: none; }
.detailimgs summary::before {
  content: "▸"; color: var(--accent); font-size: 13px; transition: transform .18s;
}
.detailimgs details[open] summary::before { transform: rotate(90deg); }
.detailimgs summary em { font-style: normal; font-size: 13px; color: var(--fg-dim); font-weight: 400; }
.detailimgs .dimgs { padding-bottom: 8px; }
.detailimgs img {
  display: block; width: 100%; height: auto; border-radius: 10px;
  margin: 0 0 16px; border: 1px solid var(--line); background: #0b0c0f;
}

/* ===== 回到顶部 ===== */
#toTop {
  position: fixed; right: 28px; bottom: 28px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(94, 106, 210, .94); color: #fff; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s, background .18s;
}
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#toTop:hover { background: #4f5ac0; }
#toTop:active { transform: translateY(0) scale(.94); }
#toTop svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 620px) {
  #toTop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ===== 关键参数一行（AI 可读，视觉轻盈） ===== */
.pkey { font-size: 13.5px; color: var(--fg-dim); margin: -14px 0 26px; line-height: 1.75; }
.pkey b { color: #fff; font-weight: 510; }

/* ===== 参数与问答折叠 ===== */
.qabody { padding: 2px 0 16px; }
.qabody table { font-size: 14px; margin: 4px 0 18px; }
.qabody th { font-size: 13.5px; }
.qabody h3 { font-size: 15px; font-weight: 590; margin: 20px 0 7px; color: #fff; }
.qabody p { margin: 0; color: var(--fg-dim); font-size: 14px; line-height: 1.75; }

/* ===== 下载中心：三列卡片，与首页同款 ===== */
.dlgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 10px; }
.dl {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; display: flex; flex-direction: column; gap: 12px; margin: 0;
}
.dl__top { display: flex; gap: 14px; align-items: center; }
.dl__ic {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(113,112,255,.28), rgba(94,106,210,.14));
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.dl__ic svg { width: 24px; height: 24px; stroke: var(--fg); fill: none; stroke-width: 1.6; }
.dl h3 { margin: 0 0 4px; font-size: 16px; font-weight: 590; }
.dl .meta { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); }
.dl p { margin: 0; color: var(--fg-dim); font-size: 13.5px; line-height: 1.65; flex: 1; }
.dl .btn {
  margin-top: 4px; justify-content: center; text-align: center;
  background: var(--primary); color: #fff; border: 1px solid transparent;
  border-radius: 8px; padding: 10px 16px; font-size: 14px; font-weight: 510;
}
.dl .btn:hover { background: #4f5ac0; text-decoration: none; }

@media (max-width: 900px) {
  .pgrid, .dlgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .pgrid, .dlgrid { grid-template-columns: 1fr; }
}

/* ===== 关于页统计 ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; margin: 20px 0 8px; }
.stats .s { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stats .s b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.stats .s span { font-size: 13px; color: var(--fg-dim); line-height: 1.6; }

/* ===== 联系页 ===== */
.qr-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 26px; }
.qr-card {
  flex: 1 1 250px; display: flex; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.qr-card img { width: 88px; height: 88px; border-radius: 8px; background: #fff; padding: 4px; flex: 0 0 88px; }
.qr-card b { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.qr-card span { font-size: 13px; color: var(--fg-dim); line-height: 1.65; }
.clist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 10px; }
.clist .ci { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.clist .ci:last-child:nth-child(odd) { grid-column: 1 / -1; }
.clist .ci svg { width: 20px; height: 20px; flex: 0 0 20px; stroke: var(--accent); fill: none; stroke-width: 1.6; margin-top: 3px; }
.clist .ci b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.clist .ci span { font-size: 14px; color: var(--fg-dim); }
.clist .ci a { color: var(--accent); font-size: 14px; }
@media (max-width: 720px) { .clist { grid-template-columns: 1fr; } .clist .ci:last-child:nth-child(odd) { grid-column: auto; } }

/* ===== 卡片网格 ===== */
.ggrid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 14px; margin: 18px 0 8px; }
.gcard {
  display: block; padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; color: inherit;
}
.gcard:hover { border-color: rgba(113,112,255,.45); text-decoration: none; }
.gcard .tag { font-size: 12px; color: var(--accent); letter-spacing: 1.5px; }
.gcard h3 { margin: 8px 0 6px; font-size: 17px; }
.gcard p { margin: 0; color: var(--fg-dim); font-size: 14px; line-height: 1.7; }

/* ===== 提示块 ===== */
.note {
  background: rgba(113,112,255,.08); border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 18px 0;
  font-size: 14px; color: var(--fg-dim);
}
.note b { color: #fff; }

/* 实拍演示视频（B 站嵌入） */
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 12px 0 4px; }
.vitem iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; background: #000; display: block; }
.vitem p { font-size: 13px; margin: 6px 0 0; color: var(--muted, #667); }
.vmore { font-size: 13px; margin: 10px 0 0; }
.vmore a { color: var(--accent, #0a7); }
