/* ===== 铭盾科技官网 · 前台样式 ===== */
:root {
  --purple: #7c5cff;
  --purple-2: #5a8bff;
  --deep: #16182e;
  --deep-2: #1e2140;
  --bg: #f5f6fa;
  --card: #ffffff;
  --line: #e7e9f2;
  --txt: #1d2033;
  --mut: #6b6f8a;
  --ok: #3ddc97;
  --shadow: 0 12px 32px rgba(35, 32, 80, .10);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans SC", system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.7;
}
/* 图片/视频统一自适应：宽度不超过容器，高度按原始比例自动缩放 */
img, video { max-width: 100%; height: auto; display: block; object-fit: contain; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.icon { width: 22px; height: 22px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(22, 24, 46, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 20px; }
.brand .logo-badge {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.brand .logo-badge svg { width: 22px; height: 22px; }
/* 顶部 Logo 自适应：任何比例的图片都等比缩放到徽标框内 */
.brand .logo-badge img { width: 100%; height: 100%; max-width: 38px; max-height: 38px; object-fit: contain; border-radius: 11px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: #cfd2e6; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #2a2158 0%, #3b2d7a 45%, #243b7a 100%);
  color: #fff; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 56px; }
.hero-text .tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 13px; margin-bottom: 20px; }
.hero-text h1 { font-size: 42px; line-height: 1.25; font-weight: 800; letter-spacing: .5px; }
.hero-text p { margin: 18px 0 28px; color: #d6d3ee; font-size: 16px; max-width: 460px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 11px;
  font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; box-shadow: 0 10px 24px rgba(124,92,255,.35); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
/* 文字按钮（无底色），适合放“了解更多 / 查看文档”这类次要入口 */
.btn-text { background: transparent; color: #cfc4ff; border-color: transparent; padding-left: 10px; padding-right: 10px; }
.btn-text:hover { color: #fff; }
.btn:hover { transform: translateY(-2px); }

/* ---------- Hero 轮播（固定画框 + 横向缓动，从右到左） ---------- */
/* 画框固定比例：桌面 16:10，手机 4:3；高度不随图片变化，页面不会跳动 */
.hero-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16/10; background: linear-gradient(150deg, #191434, #0b0c1e); box-shadow: 0 24px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06); }
/* 轨道：正常横排，配合 translateX 负值实现“从右侧进入、向左缓动” */
.hero-track { display: flex; flex-direction: row; height: 100%; transition: transform .65s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.hero-track.no-anim { transition: none; }
/* 每张图占满一屏宽；上传图片在固定框内等比缩放完整显示，不裁切不拉伸 */
.hero-media .slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
/* 前景图：等比缩放到框内完整显示，不裁切不拉伸 */
.hero-media .slide img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
/* 背景层：同一张图放大模糊后铺满画框，图片留边处不再是黑边 */
.hero-media .slide .slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: blur(26px) brightness(.55) saturate(1.2); transform: scale(1.12); }
.hero-media .slide video { width: 100%; height: 100%; object-fit: contain; background: #0d0e22; position: relative; z-index: 1; }
.hero-media .media-placeholder { width: 100%; height: 100%; position: relative; z-index: 1; }
.media-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #3a3368, #23365f); color: rgba(255,255,255,.5); }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.25); cursor: pointer; transition: background .2s; }
.hero-dots i.active { background: #fff; }

.hero-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 56px; }
.hero-link {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 13px;
  padding: 16px; color: #fff; display: flex; align-items: center; gap: 10px; transition: background .2s;
}
.hero-link:hover { background: rgba(255,255,255,.16); }
.hero-link .icon { width: 18px; height: 18px; opacity: .85; }

/* ---------- 合作伙伴 ---------- */
.partners { background: #fff; border-bottom: 1px solid var(--line); }
.partners-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 30px 0; }
.partners-title { width: 100%; text-align: center; color: var(--mut); font-size: 13px; }
.partner-item { display: flex; align-items: center; gap: 10px; color: #8a8ea8; font-weight: 600; font-size: 16px; }
.partner-item .p-logo { width: 34px; height: 34px; border-radius: 9px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--purple); }
/* 合作伙伴 Logo 自适应：高度统一 34px，宽度按原图比例伸缩 */
.partner-item img { width: auto; height: 34px; max-width: 120px; object-fit: contain; }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { font-size: 30px; font-weight: 800; }
.section-head p { color: var(--mut); margin-top: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.prod-card { padding: 30px 26px; transition: transform .2s, box-shadow .2s; }
.prod-card:hover { transform: translateY(-6px); }
.prod-media { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; margin-bottom: 18px; background: #f6f5ff; padding: 10px; }
/* 产品卡片图自适应：按容器等比缩放完整展示，不裁切不拉伸 */
.prod-media img { width: 100%; height: 100%; object-fit: contain; }
.prod-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 18px; }
.prod-icon.p1 { background: linear-gradient(135deg, #7c5cff, #5a8bff); }
.prod-icon.p2 { background: linear-gradient(135deg, #22c1a3, #3ddc97); }
.prod-icon.p3 { background: linear-gradient(135deg, #ff8a5c, #ffb85c); }
.prod-card h3 { font-size: 19px; margin-bottom: 10px; }
.prod-card p { color: var(--mut); font-size: 14px; }
.prod-card .more { display: inline-block; margin-top: 14px; color: var(--purple); font-size: 14px; font-weight: 600; }

.sol-card { display: flex; gap: 16px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.sol-card .sol-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #f0edff; color: var(--purple); display: flex; align-items: center; justify-content: center; }
.sol-card h3 { font-size: 17px; margin-bottom: 6px; }
.sol-card p { color: var(--mut); font-size: 13.5px; }
.sol-card h3 a { color: inherit; }
.sol-card h3 a:hover { color: var(--purple); }
.sol-card .more { display: inline-block; margin-top: 8px; }

/* ---------- 视频板块（多视频横排分页，每行三个） ---------- */
.video-section { background: var(--deep); color: #fff; }
.section-head.light p { color: #c3c6de; }
/* 视频轨道铺满 container 内容宽度（左右各 -8px 抵消卡片内间距），
   使三张视频窗口的左/右边缘与上方各板块严格对齐 */
.vc { position: relative; display: block; margin: 0 -8px; }
.vc-viewport { overflow: hidden; }
.vc-track { display: flex; width: 100%; transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.vc-card { flex: 0 0 calc(100% / var(--per, 3)); width: calc(100% / var(--per, 3)); max-width: calc(100% / var(--per, 3)); padding: 0 8px; min-width: 0; }
.video-frame { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.4); aspect-ratio: 16/9; background: #0d0e22; }
.video-frame.is-video { cursor: pointer; }
.video-frame video, .video-frame img { width: 100%; height: 100%; object-fit: contain; background: #0d0e22; }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(124,92,255,.92); box-shadow: 0 8px 24px rgba(124,92,255,.5); display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; pointer-events: none; }
.play-badge::before { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.video-frame.is-video:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); background: var(--purple-2); }
.vc-card h3 { font-size: 17px; margin: 0 2px 6px; text-align: center; }
.vc-card p { color: #c3c6de; font-size: 13.5px; padding: 0 2px; text-align: center; margin-bottom: 14px; }
/* 翻页箭头绝对定位：溢出到板块左右两侧，不占轨道宽度、不遮挡视频画面 */
.vc-arrow { position: absolute; top: 50%; left: -56px; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, opacity .2s; }
.vc-arrow.next { left: auto; right: -56px; }
.vc-arrow:hover:not(.disabled) { background: rgba(124,92,255,.4); }
.vc-arrow.disabled { opacity: .3; cursor: not-allowed; }

/* 屏幕宽度不足以让箭头完全溢出（< 1260px，容器已贴到屏幕边缘）时，
   箭头改为叠在视频画面内侧，避免被浏览器窗口裁掉 */
@media (max-width: 1260px) {
  .vc-arrow { left: 12px; background: rgba(13,14,34,.72); backdrop-filter: blur(3px); }
  .vc-arrow.next { left: auto; right: 12px; }
}

/* 视频放大弹窗（非全屏） */
.video-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.vm-mask { position: absolute; inset: 0; background: rgba(9,10,24,.8); backdrop-filter: blur(4px); }
.vm-box { position: relative; width: min(1020px, 92vw); background: #11132a; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.vm-frame { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; position: relative; }
.vm-frame video { width: 100%; height: 100%; }
/* 隐藏元素需要显式 display:none，否则会被上面的 display:flex/block 规则覆盖 */
.vm-frame video[hidden], .vm-embed[hidden], .vm-fail[hidden], .vf-fallback[hidden] { display: none !important; }
/* 平台外链播放器（B站 / YouTube 等 iframe） */
.vm-embed { position: absolute; inset: 0; background: #000; }
.vm-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
/* 外链播放失败兜底：提示 + 新窗口打开 */
.vm-fail { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: #0d0e22; }
.vm-fail-msg { color: #c3c6de; font-size: 15px; margin: 0; }
.vm-fail-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 999px; background: var(--purple, #7c5cff); color: #fff; font-size: 14px; text-decoration: none; }
.vm-fail-link:hover { background: var(--purple-2, #8f73ff); }
.video-frame.is-embed img, .video-frame.is-link img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
/* 直链播放失败时的封面/提示占位，盖在视频上 */
.video-frame .vf-fallback { position: absolute; inset: 0; }
.vm-title { color: #fff; margin-top: 14px; font-size: 17px; }
.vm-close { position: absolute; top: -15px; right: -15px; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--purple); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(124,92,255,.45); }
.vm-close:hover { background: var(--purple-2); }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
/* 关于我们配图：直角固定画框（4:3 固定比例），上传图片按框的宽高拉伸铺满，不裁图 */
.about-media { border-radius: 0; overflow: hidden; aspect-ratio: 4/3; width: 100%; position: relative; background: linear-gradient(135deg, #efedfb, #e6ebfa); box-shadow: var(--shadow); }
.about-media img { display: block; width: 100%; height: 100%; object-fit: fill; object-position: center; }
.about-info h2 { font-size: 28px; margin-bottom: 16px; }
.about-info > p { color: var(--mut); margin-bottom: 24px; }
.about-point { display: flex; gap: 14px; margin-bottom: 18px; }
.about-point .ap-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; background: #f0edff; color: var(--purple); display: flex; align-items: center; justify-content: center; }
.about-point h4 { font-size: 16px; margin-bottom: 4px; }
.about-point p { color: var(--mut); font-size: 14px; }

/* ---------- 资讯文章 ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { padding: 24px; }
.news-card .date { color: var(--mut); font-size: 13px; }
.news-card h3 { font-size: 17px; margin: 8px 0; }
.news-card p { color: var(--mut); font-size: 14px; }
.news-card a.more { color: var(--purple); font-size: 14px; font-weight: 600; }

/* ---------- 联系表单 ---------- */
.contact { background: var(--deep); color: #fff; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: #c3c6de; }
.contact-form { max-width: 640px; margin: 0 auto; display: grid; gap: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid #33365a;
  background: #222444; color: #fff; font-size: 15px; font-family: inherit;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form ::placeholder { color: #8a8ea8; }
.contact-form .btn-primary { justify-content: center; border: 0; }
.form-tip { text-align: center; font-size: 14px; }
.form-tip.ok { color: var(--ok); }
.form-tip.err { color: #ff9aa8; }

/* ---------- 页脚 ---------- */
.site-footer { background: #101224; color: #9a9db8; padding: 40px 0 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid #262848; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.friend-links { display: flex; gap: 18px; flex-wrap: wrap; }
.friend-links a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 22px; font-size: 13px; }
.footer-bottom a { color: #9a9db8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 悬浮客服（高端玻璃质感） ---------- */
.float-service {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 70;
  display: grid; gap: 14px; align-content: center;
}
.fs-head {
  width: 52px; padding: 14px 0; border-radius: 16px; text-align: center;
  background: linear-gradient(180deg, rgba(124, 92, 255, .16), rgba(90, 139, 255, .10));
  border: 1px solid rgba(124, 92, 255, .28); color: #b9a8ff;
  font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 3px;
  backdrop-filter: blur(8px);
}
.fs-item {
  position: relative; width: 52px; height: 52px; border-radius: 16px; cursor: pointer;
  background: linear-gradient(160deg, #2b2e4e, #1a1c33);
  border: 1px solid rgba(124, 92, 255, .22); color: #cfd2ee;
  box-shadow: 0 10px 26px rgba(15, 16, 35, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px;
  transition: transform .2s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, color .2s ease;
}
a.fs-item { text-decoration: none; }
.fs-item:hover, .fs-item.active {
  background: linear-gradient(150deg, var(--purple), var(--purple-2));
  border-color: transparent; color: #fff;
  transform: translateX(-4px);
  box-shadow: 0 16px 36px rgba(124, 92, 255, .5);
}
.fs-item .icon { width: 22px; height: 22px; }
.fs-item .fs-pop {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: rgba(22, 24, 46, .95); border: 1px solid rgba(124, 92, 255, .25); color: #fff;
  padding: 9px 14px; border-radius: 10px; font-size: 13px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.fs-item:hover .fs-pop { opacity: 1; transform: translateY(-50%) translateX(-4px); }
/* 微信二维码弹层（点击显示） */
.fs-qr {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%) translateX(10px);
  background: #fff; border-radius: 18px; padding: 16px; width: 184px; text-align: center;
  box-shadow: 0 24px 50px rgba(15, 16, 35, .35); border: 1px solid var(--line);
  opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease;
}
.fs-qr::after {
  content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #fff;
}
.fs-qr img { width: 150px; height: 150px; max-width: 100%; object-fit: contain; border-radius: 12px; margin: 0 auto 10px; background: #fff; }
.fs-qr-tip { color: var(--txt); font-size: 12.5px; font-weight: 500; }
.fs-wechat.show .fs-qr { opacity: 1; pointer-events: auto; transform: translateY(-50%) translateX(0); }
.fs-wechat.show { background: linear-gradient(150deg, var(--purple), var(--purple-2)); border-color: transparent; color: #fff; }

/* ---------- 弹窗广告 ---------- */
.popup-mask { position: fixed; inset: 0; background: rgba(10,11,25,.7); z-index: 90; display: none; align-items: center; justify-content: center; padding: 24px; }
.popup-mask.show { display: flex; animation: fadeIn .25s ease; }
.popup-box { position: relative; max-width: 420px; width: 100%; max-height: 84vh; background: #fff; border-radius: 18px; overflow: hidden; }
.popup-box img { width: 100%; height: auto; max-height: 74vh; object-fit: contain; background: #f2f3f8; }
.popup-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; cursor: pointer; font-size: 16px; z-index: 1; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .popup-box { max-width: 90vw; }
}

/* ---------- 文章详情 ---------- */
.article-page { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.article-page h1 { font-size: 30px; margin-bottom: 12px; }
.article-page .meta { color: var(--mut); font-size: 14px; margin-bottom: 24px; }
.article-page .body { line-height: 1.9; color: #33364d; }

/* ---------- 上传图标图片（等比自适应） ---------- */
.prod-icon-img { background: #f0edff !important; }
.prod-icon-img img { width: 100%; height: 100%; max-width: 32px; max-height: 32px; object-fit: contain; }
.sol-icon img { width: 100%; height: 100%; max-width: 26px; max-height: 26px; object-fit: contain; }

/* ---------- 产品详情（商品介绍式） ---------- */
.pdp { max-width: 1180px; margin: 0 auto; padding: 36px 24px 70px; }
.pdp-crumb { font-size: 14px; color: var(--mut); margin-bottom: 26px; }
.pdp-crumb a:hover { color: var(--purple); }
.pdp-crumb em { color: var(--txt); font-style: normal; }
.pdp-main { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.pdp-stage { border-radius: 20px; overflow: hidden; background: #f2f3f8; aspect-ratio: 4/3; }
.pdp-img { display: none; width: 100%; height: 100%; object-fit: contain; }
.pdp-img.active { display: block; }
/* 产品详情主图：容器高度随图片比例自适应，宽度始终撑满内容区 */
.pdp-stage-adaptive { aspect-ratio: auto; display: flex; align-items: center; justify-content: center; padding: 12px; min-height: 280px; max-height: 620px; }
.pdp-stage-adaptive .pdp-img { width: 100%; height: auto; max-height: 596px; object-fit: contain; }
/* 方案详情图标：等比自适应，限制最大尺寸，避免小图被放大变糊 */
.pdp-stage-icon { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
.pdp-stage-icon .pdp-img { width: auto; height: auto; max-width: 78%; max-height: 78%; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: #fff; cursor: pointer; padding: 0; }
.pdp-thumb.active { border-color: var(--purple); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pdp-info h1 { font-size: 30px; margin-bottom: 16px; }
.pdp-price { font-size: 16px; color: var(--txt); font-weight: 700; margin-bottom: 16px; }
.pdp-price span { font-size: 26px; color: var(--purple); }
.pdp-summary { color: var(--mut); margin-bottom: 26px; }
.pdp-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pdp-detail, .pdp-related { margin-top: 50px; }
.pdp-detail h2, .pdp-related h2 { font-size: 24px; margin-bottom: 22px; }
.pdp-body { line-height: 1.9; color: #33364d; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.pdp-body p { margin: 0 0 12px; }
.pdp-body h1, .pdp-body h2, .pdp-body h3, .pdp-body h4 { margin: 18px 0 10px; line-height: 1.4; }
.pdp-body ul, .pdp-body ol { margin: 0 0 12px; padding-left: 24px; }
.pdp-body li { margin: 4px 0; }
.pdp-body img { max-width: 100%; height: auto; object-fit: contain; border-radius: 10px; margin: 8px 0; }
.pdp-body a { color: var(--purple); }
.pdp-body blockquote { margin: 12px 0; padding: 10px 16px; border-left: 3px solid var(--purple); background: #f6f7fb; border-radius: 0 10px 10px 0; color: #55586e; }
.pdp-body table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.pdp-body th, .pdp-body td { border: 1px solid var(--line); padding: 8px 12px; }
@media (max-width: 960px) {
  .pdp-main { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- 程序下载板块 ---------- */
.dl-section { background: linear-gradient(160deg, #14162b 0%, #1a1c38 55%, #16182e 100%); color: #fff; }
.dl-hero { max-width: 720px; margin-bottom: 40px; }
.dl-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--ok); font-size: 13px; font-weight: 700; letter-spacing: 3px; margin-bottom: 18px; }
.dl-tag::before { content: ""; width: 26px; height: 2px; background: var(--ok); }
.dl-title { font-size: 40px; line-height: 1.25; font-weight: 800; letter-spacing: .5px; }
.dl-desc { margin-top: 18px; color: #c3c6de; font-size: 15.5px; }
.dl-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dl-chip { padding: 7px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 13px; color: #d6d8ec; background: rgba(255,255,255,.05); }

.dl-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }
.dl-main { display: grid; gap: 24px; }
.dl-card, .dl-side-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 26px; }

.dl-card-head { display: flex; align-items: center; gap: 16px; }
.dl-card-icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(90,139,255,.25)); border: 1px solid rgba(124,92,255,.4); display: flex; align-items: center; justify-content: center; color: #b9a7ff; }
.dl-card-icon .icon { width: 26px; height: 26px; }
.dl-card-tag { display: block; font-size: 12px; letter-spacing: 2px; color: var(--ok); font-weight: 600; }
.dl-card-head h3 { font-size: 22px; margin-top: 3px; }
.dl-card-desc { margin: 18px 0; color: #c3c6de; font-size: 14.5px; }

.dl-file { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(124,92,255,.08); border: 1px solid rgba(124,92,255,.28); border-radius: 14px; padding: 18px 20px; }
.dl-file-meta strong { display: block; font-size: 16px; }
.dl-file-meta span { color: #9aa0c4; font-size: 13px; }
.dl-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; color: #0c1020; background: linear-gradient(120deg, var(--ok), var(--purple-2)); box-shadow: 0 10px 26px rgba(61,220,151,.25); transition: transform .2s, box-shadow .2s; }
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(61,220,151,.35); }
.dl-btn.disabled { background: rgba(255,255,255,.12); color: #9aa0c4; box-shadow: none; cursor: not-allowed; }

.dl-meta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.dl-meta-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px 16px; }
.dl-meta-item span { display: block; color: #9aa0c4; font-size: 12.5px; }
.dl-meta-item strong { font-size: 16px; margin-top: 4px; }

.dl-notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 15px 18px; border-radius: 12px; background: rgba(61,220,151,.08); border: 1px solid rgba(61,220,151,.22); color: #c9ecd9; font-size: 13.5px; }
.dl-notice-icon { flex: 0 0 18px; width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }

.dl-steps { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); }
.dl-steps h3 { font-size: 18px; margin-bottom: 18px; }
.dl-steps ol { list-style: none; display: grid; gap: 16px; }
.dl-steps li { display: flex; gap: 16px; align-items: flex-start; }
.dl-step-no { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; background: rgba(124,92,255,.18); color: #b9a7ff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.dl-steps li p { color: #c3c6de; font-size: 14.5px; padding-top: 5px; }

.dl-side { display: grid; gap: 24px; }
.dl-side-card h4 { font-size: 16px; margin-bottom: 16px; }
.dl-side-card ul { list-style: none; display: grid; gap: 0; }
.dl-side-card li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); }
.dl-side-card li:first-of-type { border-top: 0; }
.dl-side-card li span { color: #9aa0c4; }
.dl-side-card li strong { text-align: right; }
.dl-side-card p { color: #c3c6de; font-size: 14px; margin-bottom: 12px; }
.dl-side-card p:last-child { margin-bottom: 0; }
.dl-help-item { text-align: center; padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.05); font-weight: 600; margin-bottom: 12px; }
.dl-help-item:last-child { margin-bottom: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner, .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .dl-grid { grid-template-columns: 1fr; }
  .grid-3, .news-list { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-media { aspect-ratio: 4/3; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: var(--deep); flex-direction: column; gap: 0; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid rgba(255,255,255,.08); }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .news-list { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 30px; }
  .section { padding: 52px 0; }
  .dl-title { font-size: 28px; }
  .dl-file { flex-direction: column; align-items: stretch; text-align: center; }
  .dl-btn { width: 100%; }
  .dl-meta-row { grid-template-columns: 1fr; }
}
