.page-products {
  display: block;
  padding-bottom: 120px;
  font-family: var(--font-body);
  color: var(--white-hi);
}

.page-products [id^="dl-"] {
  scroll-margin-top: 108px;
}

.page-products a:focus-visible {
  outline: 2px solid var(--cyan-signal);
  outline-offset: 2px;
  border-radius: 4px;
}

.page-products .dl-crumbs {
  padding-top: 96px;
}

.page-products figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--grey-index);
}

/* ---------- Hero ---------- */

.page-products .dl-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 36px 0 0;
}

.page-products .dl-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -34%;
  right: -22%;
  width: min(780px, 86vw);
  height: 158%;
  background: linear-gradient(158deg, rgba(47, 107, 255, 0.22) 0%, rgba(36, 224, 214, 0.12) 46%, rgba(255, 79, 216, 0) 74%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 76%);
  pointer-events: none;
}

.page-products .dl-hero-grid {
  display: grid;
  gap: 48px;
}

.page-products .dl-hero h1 {
  margin: 18px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(34px, 7.4vw, 62px);
  font-weight: 260;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white-hi);
}

.page-products .dl-hero .lede {
  max-width: 60ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-index);
}

.page-products .dl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-products .dl-hero-meta {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-steel);
}

.page-products .dl-hero-meta li {
  display: grid;
  gap: 5px;
}

.page-products .dl-hero-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey-index);
}

.page-products .dl-hero-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--white-hi);
}

.page-products .dl-hero-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 170px;
}

.page-products .dl-frame {
  position: absolute;
  border: 1px solid var(--line-steel);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.16), rgba(5, 7, 12, 0.25));
  box-shadow: inset 0 1px 0 rgba(243, 247, 255, 0.06), 0 24px 60px rgba(5, 7, 12, 0.55);
}

.page-products .dl-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background-image:
    linear-gradient(90deg, rgba(43, 54, 70, 0.85) 1px, transparent 1px),
    linear-gradient(180deg, rgba(43, 54, 70, 0.85) 1px, transparent 1px);
  background-size: 32px 26px;
  opacity: 0.45;
}

.page-products .dl-frame--pad {
  left: 2%;
  top: 10%;
  width: 62%;
  height: 56%;
}

.page-products .dl-frame--phone {
  right: 6%;
  top: 32%;
  width: 30%;
  height: 60%;
  border-color: rgba(36, 224, 214, 0.42);
}

.page-products .dl-signal {
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.7), rgba(36, 224, 214, 0.85), rgba(255, 79, 216, 0.55), transparent);
  filter: drop-shadow(0 0 6px rgba(36, 224, 214, 0.5));
}

.page-products .dl-node {
  position: absolute;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--cyan-signal);
  box-shadow: 0 0 12px rgba(36, 224, 214, 0.9);
}

.page-products .dl-node--a { left: 12%; top: 45%; }
.page-products .dl-node--b {
  right: 24%;
  top: 45%;
  background: var(--magenta-neon);
  box-shadow: 0 0 12px rgba(255, 79, 216, 0.75);
}
.page-products .dl-node--c { right: 7%; top: 45%; }

/* ---------- 下载按钮 ---------- */

.page-products .dl-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 13px 26px;
  border: 1px solid rgba(47, 107, 255, 0.65);
  border-radius: var(--r-capsule);
  background: linear-gradient(135deg, var(--blue-volt), #1b4bd0);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-products .dl-download::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(36, 224, 214, 0.6), transparent);
  transform: skewX(-18deg);
  transition: transform 0.6s var(--ease);
}

.page-products .dl-download:hover,
.page-products .dl-download:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.32);
}

.page-products .dl-download:hover::after,
.page-products .dl-download:focus-visible::after {
  transform: translateX(360%) skewX(-18deg);
}

.page-products .dl-download--wide {
  display: flex;
  width: 100%;
  margin-top: 18px;
}

/* ---------- 通用区块头 ---------- */

.page-products .dl-sec-head {
  max-width: 62ch;
}

.page-products .dl-sec-title {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--white-hi);
}

.page-products .dl-sec-lede {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--grey-index);
}

/* ---------- 版本总览 ---------- */

.page-products .dl-overview {
  padding-top: 76px;
}

.page-products .dl-entries {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.page-products .dl-entry {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--line-steel);
  border-radius: var(--r-card);
  background: var(--ink-slate);
  box-shadow: inset 0 1px 0 rgba(243, 247, 255, 0.04);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-products .dl-entry:hover {
  border-color: rgba(36, 224, 214, 0.45);
  transform: translateY(-4px);
}

.page-products .dl-entry h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white-hi);
}

.page-products .dl-entry p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--grey-index);
}

.page-products .dl-entry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan-signal);
  text-decoration: none;
}

.page-products .dl-entry-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.page-products .dl-entry-link:hover::after { transform: translateX(4px); }

.page-products .dl-wide {
  margin: 40px 0 0;
}

.page-products .dl-wide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-steel);
  border-radius: var(--r-card);
  object-fit: cover;
  background: var(--ink-slate);
}

.page-products .dl-wide--tight { margin-top: 32px; }

/* ---------- 左栏粘性 + 右栏流式 ---------- */

.page-products .dl-layout {
  display: grid;
  gap: 40px;
  margin-top: 88px;
}

.page-products .dl-rail {
  display: grid;
  gap: 24px;
  align-content: start;
}

.page-products .dl-rail-card {
  padding: 22px 20px 24px;
  border: 1px solid var(--line-steel);
  border-radius: var(--r-card);
  background: linear-gradient(170deg, rgba(47, 107, 255, 0.1), var(--ink-slate) 42%);
  box-shadow: inset 0 1px 0 rgba(243, 247, 255, 0.05);
}

.page-products .dl-ver-badge {
  display: inline-flex;
  align-items: baseline;
  margin: 12px 0 0;
  padding: 6px 14px;
  border: 1px solid rgba(36, 224, 214, 0.4);
  border-radius: var(--r-capsule);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-signal);
}

.page-products .dl-rail-text {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--grey-index);
}

.page-products .dl-jump-nav {
  padding: 18px 20px 20px;
  border: 1px solid var(--line-steel);
  border-radius: var(--r-card);
  background: rgba(15, 22, 34, 0.6);
}

.page-products .dl-jump-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-index);
}

.page-products .dl-jump {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .dl-jump a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(43, 54, 70, 0.7);
  font-size: 13px;
  color: var(--grey-index);
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-products .dl-jump li:last-child a { border-bottom: 0; }

.page-products .dl-jump a::before {
  content: "";
  flex: none;
  width: 10px;
  height: 1px;
  background: var(--line-steel);
  transition: width 0.2s var(--ease), background 0.2s var(--ease);
}

.page-products .dl-jump a:hover,
.page-products .dl-jump a:focus-visible {
  padding-left: 6px;
  color: var(--white-hi);
}

.page-products .dl-jump a:hover::before,
.page-products .dl-jump a:focus-visible::before {
  width: 18px;
  background: var(--cyan-signal);
}

/* ---------- 流式区块 ---------- */

.page-products .dl-sec + .dl-sec {
  margin-top: 88px;
}

/* ---------- 步骤 ---------- */

.page-products .dl-steps-layout {
  display: grid;
  gap: 36px;
  margin-top: 34px;
}

.page-products .dl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .dl-step {
  position: relative;
  padding: 0 0 34px 62px;
}

.page-products .dl-step:last-child { padding-bottom: 0; }

.page-products .dl-step::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-steel), rgba(36, 224, 214, 0.4));
}

.page-products .dl-step:last-child::before { display: none; }

.page-products .dl-step-num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-steel);
  border-radius: 50%;
  background: var(--ink-slate);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan-signal);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-products .dl-step:hover .dl-step-num {
  border-color: rgba(36, 224, 214, 0.6);
  box-shadow: 0 0 0 5px rgba(36, 224, 214, 0.08);
}

.page-products .dl-step h4 {
  margin: 8px 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white-hi);
}

.page-products .dl-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--grey-index);
}

.page-products .dl-expect {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--cyan-signal);
}

.page-products .dl-expect::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--cyan-signal);
  box-shadow: 0 0 8px rgba(36, 224, 214, 0.8);
}

.page-products .dl-steps--compact .dl-step { padding-bottom: 26px; }

.page-products .dl-side-figure {
  margin: 0;
}

.page-products .dl-side-figure img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  border: 1px solid var(--line-steel);
  border-radius: var(--r-card);
  background: var(--ink-slate);
  object-fit: cover;
}

/* ---------- 对照表 ---------- */

.page-products .dl-cmp {
  margin-top: 32px;
  border: 1px solid var(--line-steel);
  border-radius: var(--r-card);
  background: var(--ink-slate);
  overflow: hidden;
}

.page-products .dl-cmp table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .dl-cmp caption {
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-index);
  border-bottom: 1px solid var(--line-steel);
}

.page-products .dl-cmp th,
.page-products .dl-cmp td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  line-height: 1.72;
  border-bottom: 1px solid rgba(43, 54, 70, 0.7);
}

.page-products .dl-cmp thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--grey-index);
  background: rgba(243, 247, 255, 0.03);
}

.page-products .dl-cmp tbody th {
  font-size: 14px;
  font-weight: 700;
  color: var(--white-hi);
}

.page-products .dl-cmp tbody tr:last-child th,
.page-products .dl-cmp tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .dl-cmp .col-legacy {
  background: linear-gradient(180deg, rgba(147, 163, 184, 0.09), rgba(147, 163, 184, 0.02));
  color: var(--grey-index);
}

.page-products .dl-cmp .col-v3 {
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.16), rgba(36, 224, 214, 0.05));
  color: var(--white-hi);
  box-shadow: inset 1px 0 0 rgba(47, 107, 255, 0.28);
}

.page-products .dl-cmp thead .col-legacy { color: var(--grey-index); }
.page-products .dl-cmp thead .col-v3 { color: var(--cyan-signal); }

/* ---------- 适配清单 ---------- */

.page-products .dl-fit-layout {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.page-products .dl-fit-figure {
  margin: 0;
}

.page-products .dl-fit-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-steel);
  border-radius: var(--r-card);
  background: var(--ink-slate);
  object-fit: cover;
}

.page-products .dl-fit {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
}

.page-products .dl-fit li {
  padding: 16px 16px 18px;
  border: 1px solid var(--line-steel);
  border-radius: 12px;
  background: var(--ink-slate);
  transition: border-color 0.25s var(--ease);
}

.page-products .dl-fit li:hover { border-color: rgba(47, 107, 255, 0.5); }

.page-products .fit-key {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan-signal);
}

.page-products .fit-val {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--white-hi);
}

.page-products .fit-note {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--grey-index);
}

/* ---------- 装好之后 ---------- */

.page-products .dl-next {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.page-products .dl-next-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 26px;
  border: 1px solid var(--line-steel);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.03), transparent 60%);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-products .dl-next-card:hover,
.page-products .dl-next-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(36, 224, 214, 0.45);
}

.page-products .dl-next-card strong {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white-hi);
}

.page-products .dl-next-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--grey-index);
}

/* ---------- 响应式 ---------- */

@media (min-width: 620px) {
  .page-products .dl-hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .page-products .dl-entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .page-products .dl-hero {
    padding-top: 44px;
  }

  .page-products .dl-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    gap: 56px;
  }

  .page-products .dl-hero-visual {
    aspect-ratio: 4 / 3;
    transform: translateY(26px);
  }

  .page-products .dl-steps-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 44px;
    align-items: start;
  }

  .page-products .dl-fit-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 36px;
  }

  .page-products .dl-next {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .page-products .dl-layout {
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 60px;
    align-items: start;
  }

  .page-products .dl-rail {
    position: sticky;
    top: 108px;
  }
}

@media (max-width: 719px) {
  .page-products {
    padding-bottom: 84px;
  }

  .page-products .dl-crumbs {
    padding-top: 92px;
  }

  .page-products .dl-hero h1 {
    font-size: clamp(30px, 8.6vw, 42px);
  }

  .page-products .dl-overview {
    padding-top: 60px;
  }

  .page-products .dl-layout {
    margin-top: 68px;
  }

  .page-products .dl-sec + .dl-sec {
    margin-top: 68px;
  }

  .page-products .dl-step {
    padding-left: 54px;
  }

  .page-products .dl-side-figure img {
    max-width: 100%;
  }

  /* 对照表在窄屏改为纵向条目 */
  .page-products .dl-cmp table,
  .page-products .dl-cmp tbody,
  .page-products .dl-cmp tr,
  .page-products .dl-cmp th,
  .page-products .dl-cmp td {
    display: block;
    width: auto;
  }

  .page-products .dl-cmp thead { display: none; }

  .page-products .dl-cmp caption {
    border-bottom: 1px solid var(--line-steel);
  }

  .page-products .dl-cmp tr {
    border-bottom: 1px solid var(--line-steel);
  }

  .page-products .dl-cmp tr:last-child { border-bottom: 0; }

  .page-products .dl-cmp tbody th {
    padding: 16px 18px 8px;
    border-bottom: 0;
    background: rgba(243, 247, 255, 0.03);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--grey-index);
  }

  .page-products .dl-cmp td {
    border-bottom: 0;
    padding: 12px 18px 16px;
  }

  .page-products .dl-cmp td::before {
    content: attr(data-ver);
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--grey-index);
  }

  .page-products .dl-cmp td.col-v3::before {
    color: var(--cyan-signal);
  }

  .page-products .dl-cmp td.col-v3 {
    box-shadow: inset 3px 0 0 rgba(47, 107, 255, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .page-products .dl-hero-visual {
    transform: none;
  }
}
