/* ============================================================
   无界指纹浏览器 · 官网样式
   设计系统对齐产品端：macOS 风格 / 系统蓝 #007aff / 扁平化 1px 描边
   ============================================================ */

:root {
  --accent: #007aff;
  --accent-hover: #0071e3;
  --accent-soft: rgba(0, 122, 255, 0.12);
  --bg: #f5f5f7;
  --bg-alt: #fbfbfd;
  --bg-card: #ffffff;
  --text: #1d1d1f;
  --text-dim: #6e6e73;
  --text-faint: #8e8e93;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --success: #34c759;
  --danger: #ff3b30;
  --warning: #ff9f0a;
  --radius-card: 20px;
  --radius-window: 14px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text",
    "PingFang SC", "Segoe UI", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas,
    "JetBrains Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ============================================================
   按钮系统
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 13px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.09);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   顶部导航
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(251, 251, 253, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-brand-text em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 980px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.nav-cta {
  margin-left: 6px;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: 148px 0 72px;
  background: linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 78%;
  background: radial-gradient(ellipse 62% 58% at 50% 0%,
      rgba(0, 122, 255, 0.14),
      rgba(0, 122, 255, 0.05) 46%,
      transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 980px;
  padding: 7px 16px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(44px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 30em;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-faint);
}

.hero-visual {
  min-width: 0;
}

/* ---------- macOS 窗口框（包裹真实截图） ---------- */

.window-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-window);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.24);
}

.window-frame img {
  width: 100%;
  height: auto;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.015);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.window-title {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-frame-dark {
  background: #1e1e20;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.65);
}

.window-frame-dark .window-bar {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.window-frame-dark .window-title {
  color: rgba(255, 255, 255, 0.42);
}

/* ============================================================
   数据条
   ============================================================ */

.stats {
  padding: 26px 0 8px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ============================================================
   通用 section
   ============================================================ */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16.5px;
  color: var(--text-dim);
}

/* ============================================================
   功能特色栅格
   ============================================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  transition: border-color 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(0, 122, 255, 0.42);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.68;
}

/* ============================================================
   深度展示（交替图文）
   ============================================================ */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 64px;
}

.showcase + .showcase {
  margin-top: 88px;
}

.showcase-reverse .showcase-copy {
  order: 2;
}

.showcase-reverse .showcase-visual {
  order: 1;
}

.showcase-copy h3 {
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.24;
  margin-bottom: 16px;
}

.showcase-copy p {
  font-size: 15.5px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007aff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- 深色区块（深色模式展示） ---------- */

.case-dark {
  margin-top: 96px;
  background: #161617;
  padding: 88px 0;
  color: #f5f5f7;
}

.case-dark .showcase-copy h3 {
  color: #f5f5f7;
}

.case-dark .showcase-copy p {
  color: rgba(245, 245, 247, 0.62);
}

.case-dark .check-list li {
  color: rgba(245, 245, 247, 0.88);
}

.case-dark .check-list li::before {
  background-color: rgba(10, 132, 255, 0.24);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a84ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E");
}

/* ============================================================
   功能全景
   ============================================================ */

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 14px;
}

.module-group + .module-group {
  margin-top: 36px;
}

.module-group-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.module-group-title::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--accent);
}

.module-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.25s ease;
}

.module-item:hover {
  border-color: rgba(0, 122, 255, 0.42);
}

.module-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
}

.module-item span {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ============================================================
   自动化（深色区块）
   ============================================================ */

.section-dark {
  background: #161617;
  color: #f5f5f7;
}

.section-head-dark .section-title {
  color: #f5f5f7;
}

.section-head-dark .section-sub {
  color: rgba(245, 245, 247, 0.62);
}

.section-head-dark .eyebrow {
  color: #0a84ff;
}

.code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.code-card {
  background: #1e1e20;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-lang {
  font-size: 13px;
  font-weight: 700;
  color: #f5f5f7;
}

.code-file {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(245, 245, 247, 0.4);
}

.code-body {
  padding: 20px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  color: #e8e8ed;
  white-space: pre;
}

.code-body .c { color: #7c7c82; }
.code-body .k { color: #ff7ab2; }
.code-body .s { color: #68d68f; }
.code-body .n { color: #d9b8ff; }

.automation-notes {
  margin-top: 36px;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.automation-notes p {
  font-size: 15px;
  color: rgba(245, 245, 247, 0.62);
  line-height: 1.75;
}

.automation-notes strong {
  color: #f5f5f7;
}

/* ============================================================
   安全
   ============================================================ */

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: border-color 0.25s ease;
}

.security-card:hover {
  border-color: rgba(0, 122, 255, 0.42);
}

.security-card .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.security-card .feature-icon svg {
  width: 21px;
  height: 21px;
}

.security-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 7px;
}

.security-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.66;
}

/* ============================================================
   下载
   ============================================================ */

.download-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
}

.download-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 22px;
}

.download-card h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.018em;
  margin-bottom: 10px;
}

.download-sub {
  font-size: 15.5px;
  color: var(--text-dim);
  margin-bottom: 30px;
}

.download-btn {
  min-width: 300px;
}

.download-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

.download-meta span {
  position: relative;
}

.download-meta span + span::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
  transform: translateY(-50%);
}

.download-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.7;
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  max-width: 420px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 4px 8px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 980px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-faint);
}

.footer-disclaimer {
  max-width: 640px;
  line-height: 1.65;
}

/* ============================================================
   使用场景
   ============================================================ */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  transition: border-color 0.25s ease;
}

.scenario-card:hover {
  border-color: rgba(0, 122, 255, 0.42);
}

.scenario-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.scenario-head .feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.scenario-head h3 {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.scenario-card > p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.68;
  margin-bottom: 16px;
}

/* ============================================================
   界面巡览（截图画廊 + 灯箱）
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  border-color: rgba(0, 122, 255, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 0.28);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--border);
}

.gallery-item figcaption {
  padding: 15px 20px 17px;
  font-size: 14px;
  font-weight: 700;
}

.gallery-item figcaption span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-dim);
}

.gallery-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 30px 26px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-card);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.gallery-more:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.gallery-more-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-more-icon svg {
  width: 24px;
  height: 24px;
}

.gallery-more strong {
  font-size: 15px;
  font-weight: 700;
}

.gallery-more span {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---------- 图片灯箱 ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px;
  background: rgba(18, 18, 20, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.open {
  opacity: 1;
}

.lightbox-img {
  max-width: min(1140px, 94vw);
  max-height: 78vh;
  width: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 80px -30px rgba(0, 0, 0, 0.7);
}

.lightbox-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ============================================================
   三步上手
   ============================================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  transition: border-color 0.25s ease;
}

.step-card:hover {
  border-color: rgba(0, 122, 255, 0.42);
}

.step-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #007aff, #5ac8fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.68;
}

.start-cta {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   常见问题（折叠）
   ============================================================ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(0, 122, 255, 0.32);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 19px 54px 19px 24px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
  line-height: 1;
  color: var(--text-faint);
  transition: color 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-body {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- 文字链接 ---------- */

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

/* ============================================================
   使用手册页
   ============================================================ */

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.manual-hero {
  padding: 136px 0 44px;
  background: linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
  text-align: center;
}

.manual-title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.manual-sub {
  font-size: 16.5px;
  color: var(--text-dim);
  max-width: 40em;
  margin: 0 auto 20px;
}

.manual-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 28px;
}

.manual-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.manual-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 10px 0 72px;
}

.manual-index a {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.manual-index a:hover {
  border-color: rgba(0, 122, 255, 0.42);
  transform: translateY(-2px);
}

.manual-index strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.manual-index span {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

.manual-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding: 0 0 100px;
}

.manual-toc {
  position: sticky;
  top: 92px;
}

.manual-toc-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
  padding-left: 14px;
}

.manual-toc nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.manual-toc a {
  display: block;
  padding: 8px 14px;
  border-left: 2px solid transparent;
  border-radius: 0 9px 9px 0;
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.manual-toc a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.045);
}

.manual-toc a.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  border-left-color: var(--accent);
}

.manual-content {
  min-width: 0;
}

.manual-section {
  scroll-margin-top: 92px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 42px 48px 48px;
}

.manual-section + .manual-section {
  margin-top: 24px;
}

.manual-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.manual-section-num {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manual-section h2 {
  font-size: clamp(24px, 2.8vw, 31px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.manual-section h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}

.manual-section-head + h3 {
  margin-top: 0;
}

.manual-section p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 12px;
}

.manual-section p strong {
  color: var(--text);
}

.manual-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 6px 0 16px;
}

.manual-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
}

.manual-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.manual-steps {
  list-style: none;
  counter-reset: mstep;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 18px;
}

.manual-steps > li {
  position: relative;
  counter-increment: mstep;
  padding: 3px 0 3px 44px;
  font-size: 14.5px;
  line-height: 1.72;
}

.manual-steps > li::before {
  content: counter(mstep);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manual-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 122, 255, 0.16);
  border-radius: 14px;
  padding: 15px 18px;
  margin: 16px 0;
}

.manual-note::before {
  content: "提示";
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  background: #fff;
  border-radius: 6px;
  padding: 2px 8px;
}

.manual-note p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.manual-note-warn {
  background: rgba(255, 159, 10, 0.09);
  border-color: rgba(255, 159, 10, 0.22);
}

.manual-note-warn::before {
  content: "注意";
  color: #c26c00;
}

.manual-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  margin: 10px 0 20px;
}

.manual-table th {
  text-align: left;
  padding: 11px 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(0, 0, 0, 0.025);
}

.manual-table td {
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.manual-table td:first-child {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.manual-section .code-card {
  margin: 14px 0 20px;
}

.manual-section .faq-list {
  margin: 4px 0 0;
}

.manual-section .faq-item {
  background: rgba(0, 0, 0, 0.022);
}

/* ============================================================
   新板块响应式
   ============================================================ */

@media (max-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manual-index {
    grid-template-columns: repeat(2, 1fr);
  }

  .manual-section {
    padding: 36px 34px 40px;
  }
}

@media (max-width: 960px) {
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .manual-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .manual-toc {
    position: static;
  }

  .manual-toc-title {
    padding-left: 0;
  }

  .manual-toc nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .manual-toc a {
    border-left: none;
    border-radius: 980px;
    padding: 7px 14px;
    background: rgba(0, 0, 0, 0.04);
  }

  .manual-toc a.active {
    border-left: none;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .manual-index {
    grid-template-columns: 1fr;
  }

  .manual-hero {
    padding: 112px 0 36px;
  }

  .manual-section {
    padding: 28px 22px 32px;
    border-radius: 20px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-img {
    max-height: 66vh;
  }
}

/* ============================================================
   滚动入场动画
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-sub {
    max-width: none;
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .showcase-reverse .showcase-copy {
    order: 1;
  }

  .showcase-reverse .showcase-visual {
    order: 2;
  }

  .showcase + .showcase {
    margin-top: 64px;
  }

  .code-grid {
    grid-template-columns: 1fr;
  }

  .case-dark {
    margin-top: 72px;
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1200px, 100% - 36px);
  }

  .nav-row {
    gap: 14px;
  }

  .nav-brand-text em {
    display: none;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .hero {
    padding: 104px 0 56px;
  }

  .hero-actions .btn-lg {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat {
    padding: 20px 14px;
  }

  .stat strong {
    font-size: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 24px 22px;
  }

  .download-card {
    padding: 40px 24px;
    border-radius: 22px;
  }

  .download-btn {
    min-width: 0;
    width: 100%;
  }

  .footer-grid {
    flex-direction: column;
    gap: 28px;
  }
}

/* ============================================================
   模块详情页与模块总览页
   ============================================================ */

/* ---------- 模块卡（首页 / 总览页共用，可点击） ---------- */

.module-item {
  display: block;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.module-item::after {
  content: "→";
  position: absolute;
  top: 15px;
  right: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.module-item:hover {
  transform: translateY(-2px);
}

.module-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.modules-more {
  margin-top: 44px;
  text-align: center;
}

/* ---------- 模块详情页头部 ---------- */

.module-hero {
  padding: 132px 0 0;
  background: linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--text-faint);
  opacity: 0.7;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

.module-hero-body {
  max-width: 820px;
}

.module-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 980px;
  padding: 5px 13px;
  margin-bottom: 18px;
}

.module-hero-title {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin-bottom: 12px;
}

.module-hero-sub {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.module-hero-intro {
  max-width: 720px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-dim);
}

/* ---------- 能力一览 ---------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.cap-card:hover {
  border-color: rgba(0, 122, 255, 0.42);
  transform: translateY(-2px);
}

.cap-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cap-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* ---------- 界面实拍 ---------- */

.shot-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 36px;
}

.shot-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1060px;
  margin: 0 auto;
}

.shot-item {
  margin: 0;
}

.shot-item figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- 上手方式 ---------- */

.mstep-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mstep {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
}

.mstep-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mstep p {
  flex: 1;
  padding-top: 4px;
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- 手册引用条 ---------- */

.manual-ref {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(90, 200, 250, 0.06));
  border: 1px solid rgba(0, 122, 255, 0.22);
  border-radius: 18px;
  padding: 22px 26px;
}

.manual-ref-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.28);
}

.manual-ref-icon svg {
  width: 22px;
  height: 22px;
}

.manual-ref-main {
  flex: 1;
  min-width: 0;
}

.manual-ref-main strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.manual-ref-main p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.manual-ref .btn {
  flex: none;
  margin-left: auto;
}

/* ---------- 协同模块 ---------- */

.related-block {
  margin-top: 96px;
}

.related-block .section-head {
  margin-bottom: 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.related-card:hover {
  border-color: rgba(0, 122, 255, 0.42);
  transform: translateY(-2px);
}

.related-card strong {
  font-size: 15px;
  margin-bottom: 6px;
}

.related-card span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.related-card em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 16px;
}

/* ---------- 页尾 CTA 与模块导航 ---------- */

.module-tail {
  padding-bottom: 72px;
}

.module-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, #0a84ff 0%, #0069d9 100%);
  border-radius: 22px;
  padding: 42px 48px;
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 105, 217, 0.24);
}

.module-cta-copy h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.module-cta-copy p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.module-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: none;
}

.module-cta .btn-primary {
  background: #fff;
  color: #0071e3;
  box-shadow: none;
}

.module-cta .btn-primary:hover {
  background: #eef5ff;
}

.module-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.module-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
}

.module-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  margin-top: 36px;
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  transition: border-color 0.25s ease;
}

.pager-link:hover {
  border-color: rgba(0, 122, 255, 0.42);
}

.pager-link em {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.pager-link strong {
  font-size: 14px;
  font-weight: 700;
}

.pager-all {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 28px;
}

.pager-next {
  align-items: flex-end;
  text-align: right;
}

/* ---------- 模块总览页 ---------- */

.modules-hero {
  padding: 136px 0 24px;
  background: linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
  text-align: center;
}

.modules-hero-title {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.modules-hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 30px;
}

.modules-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.module-group-desc {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 13px;
  margin: -8px 0 16px;
}

/* ---------- 模块页响应式 ---------- */

@media (max-width: 960px) {
  .module-hero {
    padding-top: 106px;
  }

  .modules-hero {
    padding-top: 112px;
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-grid-2 {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 30px;
  }
}

@media (max-width: 640px) {
  .cap-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .module-hero {
    padding-top: 96px;
  }

  .breadcrumb {
    margin-bottom: 22px;
  }

  .mstep {
    padding: 16px 18px;
    gap: 12px;
  }

  .manual-ref {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .manual-ref .btn {
    margin-left: 0;
  }

  .module-cta {
    padding: 28px 22px;
  }

  .module-cta-actions {
    width: 100%;
  }

  .module-pager {
    grid-template-columns: 1fr;
  }

  .pager-next {
    align-items: flex-start;
    text-align: left;
  }
}

/* ============================================================
   下载页
   ============================================================ */

.dl-hero {
  position: relative;
  padding: 152px 0 36px;
  background:
    radial-gradient(1080px 460px at 50% -120px, rgba(0, 122, 255, 0.13), transparent 70%),
    radial-gradient(680px 340px at 10% 4%, rgba(90, 200, 250, 0.1), transparent 70%),
    radial-gradient(680px 340px at 90% 0%, rgba(0, 122, 255, 0.08), transparent 72%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  text-align: center;
  overflow: hidden;
}

.dl-title {
  font-size: clamp(38px, 4.8vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.dl-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 42em;
  margin: 0 auto 20px;
  line-height: 1.65;
}

.dl-card-sec {
  position: relative;
  padding: 34px 0 108px;
}

/* 卡片后方品牌光晕（缓慢呼吸，reduced-motion 下静态） */
.dl-card-sec::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, 92vw);
  height: 560px;
  background: radial-gradient(closest-side, rgba(0, 122, 255, 0.16), rgba(90, 200, 250, 0.09) 55%, transparent 76%);
  filter: blur(30px);
  pointer-events: none;
  animation: dlGlow 9s ease-in-out infinite;
}

@keyframes dlGlow {
  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-card-sec::before {
    animation: none;
  }
}

.dl-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.dl-box {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 30px;
  box-shadow:
    0 1px 2px rgba(16, 42, 90, 0.03),
    0 18px 36px -24px rgba(16, 60, 130, 0.12);
}

.dl-box h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.dl-specs {
  margin: 0;
}

.dl-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.dl-spec-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl-spec-row dt {
  color: var(--text-dim);
  flex-shrink: 0;
}

.dl-spec-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

.dl-hint {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 12px;
}

.dl-hash-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.dl-code {
  display: block;
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.7;
  word-break: break-all;
  color: var(--text);
}

.dl-copy {
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.dl-copy:hover {
  border-color: rgba(0, 122, 255, 0.45);
}

.dl-copy.copied {
  color: #34a853;
  border-color: rgba(52, 168, 83, 0.45);
}

/* ---------- 主下载面板（宽幅产品面板） ---------- */

.dl-hero-card {
  position: relative;
  max-width: 1040px;
  padding: 64px 72px;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  border-color: rgba(0, 122, 255, 0.14);
  box-shadow:
    0 1px 2px rgba(16, 42, 90, 0.04),
    0 30px 60px -20px rgba(16, 60, 130, 0.16),
    0 80px 150px -60px rgba(0, 90, 200, 0.24);
}

.dl-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.45), transparent);
}

.dl-hero-card .download-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin-bottom: 24px;
  box-shadow: 0 14px 30px -12px rgba(0, 105, 220, 0.5);
}

.dl-hero-card h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  margin-bottom: 12px;
}

.dl-hero-card .download-sub {
  font-size: 16.5px;
  max-width: 560px;
  margin: 0 auto 30px;
}

.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.18);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.dl-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.18);
}

.dl-hero-card .download-btn {
  min-width: 340px;
  padding: 17px 36px;
  font-size: 16.5px;
  background: linear-gradient(135deg, #0a84ff 0%, #0066e0 100%);
  box-shadow: 0 14px 30px -12px rgba(0, 105, 220, 0.6);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.dl-hero-card .download-btn:hover {
  background: linear-gradient(135deg, #0a84ff 0%, #0066e0 100%);
  box-shadow: 0 20px 42px -14px rgba(0, 105, 220, 0.68);
  transform: translateY(-2px);
}

/* 底部规格条（四格） */
.dl-hero-card .download-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #edf1f7;
}

.dl-hero-card .download-meta span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 2px 12px;
  border-radius: 0;
  background: none;
  border: none;
  border-right: 1px solid #edf1f7;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-faint);
  text-align: center;
}

.dl-hero-card .download-meta span:last-child {
  border-right: 0;
}

.dl-hero-card .download-meta strong {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.dl-hero-card .download-meta span + span::before {
  display: none;
}

@media (max-width: 960px) {
  .dl-info {
    grid-template-columns: 1fr;
  }

  .dl-hero-card {
    padding: 52px 40px;
  }

  .dl-hero-card .download-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .dl-hero-card .download-meta span {
    border-right: 0;
  }

  .dl-hero-card .download-meta span:nth-child(even) {
    border-left: 1px solid #edf1f7;
  }
}

@media (max-width: 640px) {
  .dl-hero {
    padding: 112px 0 24px;
  }

  .dl-hero-card {
    padding: 40px 24px;
  }

  .dl-hero-card .download-logo {
    width: 76px;
    height: 76px;
    border-radius: 19px;
  }

  .dl-hero-card .download-btn {
    min-width: 0;
    width: 100%;
    padding: 16px 18px;
    font-size: 15.5px;
  }

  .dl-box {
    padding: 24px 20px;
  }

  .dl-hash-row {
    flex-direction: column;
  }

  .dl-copy {
    width: 100%;
  }
}
