.page-products {
  --pd-hair: rgba(147, 167, 180, 0.24);
  --pd-soft: rgba(111, 243, 192, 0.22);
  --pd-card-shadow: rgba(23, 192, 138, 0.18);
  display: block;
  padding-bottom: 64px;
  color: var(--paper-50);
}

.page-products .breadcrumb {
  margin: 16px 0 0;
}

/* ---------- 首屏 ---------- */
.page-products .pd-masthead {
  margin-top: 14px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--pd-hair);
}

.page-products .pd-masthead h1 {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 6.2vw, 46px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-products .pd-masthead .lede {
  max-width: 36em;
  margin: 0;
  color: var(--slate-300);
  line-height: 1.75;
}

.page-products .pd-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-jump a {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--pd-soft);
  border-radius: var(--radius-pill);
  color: var(--paper-50);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-products .pd-jump a:hover,
.page-products .pd-jump a:focus-visible {
  border-color: var(--emerald-500);
  color: var(--emerald-200);
  background: rgba(23, 192, 138, 0.09);
}

/* ---------- 章节骨架 ---------- */
.page-products .section {
  padding: 38px 0;
  border-bottom: 1px dashed var(--pd-hair);
}

.page-products .section:last-of-type {
  border-bottom: none;
  padding-bottom: 8px;
}

.page-products .section-head h2 {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

.page-products .pd-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--pd-soft);
  border-radius: var(--radius-md);
}

.page-products .pd-note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--slate-300);
}

.page-products .pd-note a {
  color: var(--emerald-200);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pd-note a:hover {
  color: var(--gold-400);
}

/* ---------- 三条分支卡片 ---------- */
.page-products .pd-branch-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-products .pd-branch {
  position: relative;
  padding: 32px 18px 18px;
  background: var(--ink-700);
  border: 1px solid var(--line-hard);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 var(--pd-card-shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-products .pd-branch:hover,
.page-products .pd-branch:focus-within {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(23, 192, 138, 0.28);
}

.page-products .pd-branch-code {
  position: absolute;
  top: -1px;
  left: 14px;
  margin: 0;
  padding: 3px 10px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-900);
  background: var(--gold-400);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.page-products .pd-branch h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.page-products .pd-branch-judge {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--emerald-200);
}

.page-products .pd-branch-spec {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}

.page-products .pd-branch-spec div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--pd-hair);
}

.page-products .pd-branch-spec dt {
  font-family: var(--font-index);
  color: var(--slate-300);
  letter-spacing: 0.02em;
}

.page-products .pd-branch-spec dd {
  margin: 0;
  line-height: 1.6;
}

.page-products .pd-branch-more {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--pd-soft);
  font-size: 13px;
}

.page-products .pd-branch-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--coral-500);
}

.page-products .pd-branch-more summary::-webkit-details-marker {
  display: none;
}

.page-products .pd-branch-more summary::after {
  content: "＋";
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-products .pd-branch-more[open] summary::after {
  content: "－";
}

.page-products .pd-branch-more p {
  margin: 8px 0 0;
  line-height: 1.72;
  color: var(--slate-300);
}

/* ---------- 三级分类地图 ---------- */
.page-products .pd-map-rings {
  margin-top: 22px;
}

.page-products .pd-ring {
  padding: 14px;
  border: 1px solid var(--line-hard);
  border-radius: var(--radius-lg);
  background: rgba(23, 192, 138, 0.06);
}

.page-products .pd-ring-2 {
  margin-top: 14px;
  border-color: rgba(255, 201, 74, 0.34);
  background: rgba(255, 201, 74, 0.05);
}

.page-products .pd-ring-3 {
  margin-top: 14px;
  border-color: rgba(167, 139, 250, 0.34);
  background: rgba(167, 139, 250, 0.07);
}

.page-products .pd-ring-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.page-products .pd-ring-no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold-400);
}

.page-products .pd-ring-count {
  font-family: var(--font-index);
  font-size: 17px;
  font-weight: 400;
  color: var(--emerald-200);
  letter-spacing: 0.02em;
}

.page-products .pd-ring p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--slate-300);
}

.page-products .pd-compare {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--coral-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--ink-700);
  font-size: 14px;
  line-height: 1.78;
}

/* ---------- 图文分栏 ---------- */
.page-products .pd-split {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.page-products .pd-split-body {
  min-width: 0;
}

.page-products .pd-figure-phone,
.page-products .pd-figure-devices,
.page-products .pd-figure-stack {
  margin: 0;
}

.page-products .pd-figure-phone img {
  max-width: 320px;
  margin: 0 auto;
}

.page-products .pd-steps {
  counter-reset: pdstep;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-steps li {
  position: relative;
  padding-left: 36px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate-300);
}

.page-products .pd-steps li strong {
  color: var(--gold-400);
}

.page-products .pd-steps li::before {
  counter-increment: pdstep;
  content: counter(pdstep, decimal-leading-zero);
  position: absolute;
  top: 2px;
  left: 0;
  padding: 1px 5px;
  border: 1px solid var(--pd-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--emerald-500);
}

/* ---------- 设备适配标签 ---------- */
.page-products .pd-device-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-device-tags li {
  padding: 7px 14px;
  border: 1px dashed var(--line-hard);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--paper-50);
  transition: border-color 0.18s var(--ease), border-style 0.18s var(--ease), color 0.18s var(--ease);
}

.page-products .pd-device-tags li:hover {
  border-style: solid;
  border-color: var(--emerald-500);
  color: var(--emerald-200);
}

/* ---------- 历史档案表格 ---------- */
.page-products .pd-table-wrap {
  overflow-x: auto;
  margin-top: 4px;
  border: 1px solid var(--pd-hair);
  border-radius: var(--radius-md);
}

.page-products .pd-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.page-products .pd-table th {
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
  background: var(--ink-500);
  color: var(--emerald-200);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-products .pd-table td {
  padding: 10px 12px;
  border-top: 1px solid var(--pd-hair);
  line-height: 1.6;
  color: var(--paper-50);
}

.page-products .pd-table tbody tr:nth-child(odd) {
  background: var(--ink-700);
}

.page-products .pd-table tbody tr:nth-child(even) {
  background: var(--ink-500);
}

.page-products .pd-table .pd-tag {
  color: var(--gold-400);
}

/* ---------- 迭代节奏 ---------- */
.page-products .pd-pipeline {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.page-products .pd-pipe-item {
  padding-top: 14px;
  border-top: 2px solid var(--emerald-500);
}

.page-products .pd-pipe-kicker {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--emerald-200);
}

.page-products .pd-pipe-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.page-products .pd-pipe-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--slate-300);
}

.page-products .pd-exits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.page-products .pd-exits a {
  padding: 9px 16px;
  border: 1px solid var(--line-hard);
  border-radius: var(--radius-pill);
  color: var(--paper-50);
  font-size: 13.5px;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-products .pd-exits a:first-child {
  border-color: var(--coral-500);
  color: var(--coral-500);
}

.page-products .pd-exits a:hover,
.page-products .pd-exits a:focus-visible {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background: rgba(255, 201, 74, 0.08);
}

/* ---------- 进入视口动画 ---------- */
.reveal-ready .page-products [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-ready .page-products [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .page-products [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.2s linear;
  }
  .page-products .pd-branch,
  .page-products .pd-jump a,
  .page-products .pd-exits a,
  .page-products .pd-device-tags li {
    transition: none;
  }
  .page-products .pd-branch:hover,
  .page-products .pd-branch:focus-within {
    transform: none;
  }
}

/* ---------- 平板 ---------- */
@media (min-width: 700px) {
  .page-products .pd-branch-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-products .pd-ring {
    padding: 18px;
  }

  .page-products .pd-pipeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-products .section {
    padding: 48px 0;
  }

  .page-products .pd-masthead {
    padding-bottom: 40px;
  }

  .page-products .pd-split {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: start;
    gap: 30px;
  }

  .page-products .pd-split--rev {
    grid-template-columns: 0.86fr 1.14fr;
  }

  .page-products .pd-figure-phone img {
    max-width: 340px;
  }

  .page-products .pd-compare {
    padding: 18px 22px;
  }
}
