.page-products {
  --pd-violet-soft: rgba(164, 92, 255, .1);
  --pd-ice-soft: rgba(79, 215, 255, .08);
  --pd-coral-soft: rgba(255, 122, 74, .12);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  padding: 48px 0 46px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 420px at 84% -12%, rgba(164, 92, 255, .2), transparent 68%),
    radial-gradient(680px 360px at 4% 4%, rgba(79, 215, 255, .11), transparent 70%);
}

.page-products .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

.page-products .breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .breadcrumbs li + li::before {
  content: "/";
  color: var(--line-strong);
}

.page-products .breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.page-products .breadcrumbs a:hover,
.page-products .breadcrumbs a:focus-visible {
  color: var(--ice);
}

.page-products .pd-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 14px 0 20px;
  max-width: 900px;
}

.page-products .pd-hero .lede {
  max-width: 62ch;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.78;
  color: var(--body-text);
}

.page-products .pd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .pd-stats {
  margin-top: 38px;
}

/* ---------- 通用区块标题 ---------- */
.page-products .pd-sec-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.page-products .pd-sec-head h2,
.page-products .pd-finish-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.3vw, 38px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 10px 0 14px;
}

.page-products .pd-sec-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--body-text);
}

/* ---------- 筛选区与工作台 ---------- */
.page-products .pd-filter-block > .filters {
  margin-bottom: 22px;
}

.page-products .pd-workbench {
  display: grid;
  gap: 32px;
}

@media (min-width: 980px) {
  .page-products .pd-workbench {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
}

/* ---------- 版本对照表 ---------- */
.page-products .pd-table-wrap {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.page-products .pd-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.page-products .pd-table thead th {
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ice);
  background: rgba(79, 215, 255, .07);
  border-bottom: 1px solid var(--line);
}

.page-products .pd-table tbody td {
  padding: 15px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body-text);
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .pd-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .pd-table tbody tr:hover {
  background: var(--raise);
}

.page-products .pd-table tbody tr[hidden] {
  display: none;
}

.page-products .pd-ver {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .02em;
  color: var(--violet-lift);
  white-space: nowrap;
}

.page-products .pd-table-figure {
  margin: 22px 0 0;
}

/* ---------- 步骤卡 ---------- */
.page-products .pd-side-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-products .pd-steps {
  display: grid;
  gap: 10px;
}

.page-products .pd-step {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.page-products .pd-step[open] {
  border-color: rgba(164, 92, 255, .55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 18px 36px -28px rgba(164, 92, 255, .65);
}

.page-products .pd-step > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.page-products .pd-step > summary::-webkit-details-marker {
  display: none;
}

.page-products .pd-step > summary:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
  border-radius: 6px;
}

.page-products .pd-step-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--pd-ice-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ice);
}

.page-products .pd-step[open] .pd-step-num {
  border-color: var(--violet);
  background: var(--pd-violet-soft);
  color: var(--violet-lift);
}

.page-products .pd-step-body {
  padding: 0 16px 16px 54px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-text);
}

.page-products .pd-step-body p {
  margin: 0;
}

/* ---------- 阵容查看工具 ---------- */
.page-products .pd-tool-inner {
  display: grid;
  gap: 34px;
}

@media (min-width: 900px) {
  .page-products .pd-tool-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: center;
  }
}

.page-products .pd-tool-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.3vw, 38px);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 10px 0 16px;
}

.page-products .pd-tool-copy > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--body-text);
  max-width: 60ch;
}

.page-products .pd-dims {
  display: grid;
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .page-products .pd-dims {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-products .pd-dims li {
  padding: 16px;
  background: var(--panel);
}

.page-products .pd-dims strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-products .pd-dims span {
  display: block;
  font-size: 13px;
  line-height: 1.68;
  color: var(--muted);
}

.page-products .pd-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--coral);
  border-radius: 0 6px 6px 0;
  background: var(--pd-coral-soft);
  font-size: 14px;
  line-height: 1.72;
  color: var(--body-text);
  max-width: 62ch;
}

/* ---------- 资源下载栏目条带 ---------- */
.page-products .pd-archive {
  margin: 56px 0;
  padding: 52px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--pd-violet-soft), rgba(6, 7, 11, 0) 58%),
    var(--panel);
}

.page-products .pd-archive-inner {
  display: grid;
  gap: 30px;
}

@media (min-width: 960px) {
  .page-products .pd-archive-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 46px;
    align-items: start;
  }

  .page-products .pd-archive-figure {
    grid-column: 1 / -1;
  }
}

.page-products .pd-archive-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.3vw, 38px);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 10px 0 16px;
}

.page-products .pd-archive-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--body-text);
  max-width: 58ch;
}

.page-products .pd-archive-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.page-products .pd-archive-card {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(6, 7, 11, .55);
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}

.page-products .pd-archive-card:hover {
  border-color: var(--violet);
  transform: translateY(-2px);
}

.page-products .pd-archive-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--pd-ice-soft);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ice);
}

.page-products .pd-archive-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-products .pd-archive-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 换设备登录衔接 ---------- */
.page-products .pd-switch-inner {
  display: grid;
  gap: 34px;
}

@media (min-width: 960px) {
  .page-products .pd-switch-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
}

.page-products .pd-switch-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.3vw, 38px);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 10px 0 16px;
}

.page-products .pd-switch-copy > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--body-text);
  max-width: 58ch;
}

.page-products .pd-switch-list {
  position: relative;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.page-products .pd-switch-list::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--violet), rgba(79, 215, 255, .25));
}

.page-products .pd-switch-list li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.page-products .pd-switch-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--violet);
  background: var(--ink);
  font-size: 11px;
  color: var(--violet-lift);
}

.page-products .pd-switch-list h3 {
  margin: 2px 0 6px;
  font-family: var(--font-display);
  font-size: 16.5px;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-products .pd-switch-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 后续入口 + 兼容矩阵 ---------- */
.page-products .pd-next-inner {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .page-products .pd-next-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }
}

.page-products .pd-next-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.3vw, 38px);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 10px 0 14px;
}

.page-products .pd-next-copy > p {
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--body-text);
  max-width: 56ch;
}

.page-products .pd-next-links {
  display: grid;
  gap: 12px;
}

.page-products .pd-next-card {
  display: grid;
  gap: 6px;
}

/* ---------- 收束三步 ---------- */
.page-products .pd-finish-h {
  margin-bottom: 28px;
}

.page-products .pd-flow {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .page-products .pd-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
}

.page-products .pd-flow li {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.page-products .pd-flow li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(164, 92, 255, .18);
}

.page-products .pd-flow-num {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ice);
}

.page-products .pd-flow h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-products .pd-flow p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 图片容器 ---------- */
.page-products .figure-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(150deg, var(--raise), var(--panel));
  box-shadow: var(--shadow-card);
}

.page-products .figure-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .figure-caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted-dim);
}

/* ---------- 窄屏收紧 ---------- */
@media (max-width: 600px) {
  .page-products .pd-hero {
    padding: 34px 0 36px;
  }

  .page-products .pd-hero .lede,
  .page-products .pd-tool-copy > p,
  .page-products .pd-archive-copy p,
  .page-products .pd-switch-copy > p,
  .page-products .pd-next-copy > p {
    font-size: 15px;
    line-height: 1.76;
  }

  .page-products .pd-archive {
    margin: 44px 0;
    padding: 38px 0;
  }

  .page-products .pd-step-body {
    padding-left: 16px;
  }

  .page-products .pd-workbench,
  .page-products .pd-tool-inner,
  .page-products .pd-switch-inner,
  .page-products .pd-next-inner {
    gap: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-step,
  .page-products .pd-archive-card,
  .page-products .breadcrumbs a {
    transition: none;
  }

  .page-products .pd-archive-card:hover {
    transform: none;
  }
}
