.page-products {
  --pd-gap: clamp(16px, 3vw, 32px);
  --pd-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
}

.page-products img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-products .pd-block {
  padding: clamp(44px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.page-products .pd-block:nth-of-type(even) {
  background: linear-gradient(180deg, var(--ink) 0%, var(--hull) 100%);
}

.page-products .section-head {
  margin-bottom: clamp(22px, 4vw, 40px);
}

.page-products .section-head h2,
.page-products .pd-picker__head h2,
.page-products .pd-load__body h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  font-weight: 900;
  margin: 10px 0 0;
  max-width: 24ch;
}

.page-products .section-head p,
.page-products .pd-picker__intro,
.page-products .pd-matrix__intro {
  color: var(--rock);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.8;
  margin: 12px 0 0;
  max-width: 58ch;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  padding: clamp(24px, 4vw, 44px) 0 clamp(36px, 6vw, 76px);
  background:
    radial-gradient(110% 80% at 88% 4%, rgba(53, 242, 208, .16), transparent 58%),
    radial-gradient(80% 60% at 4% 100%, rgba(255, 138, 61, .1), transparent 62%),
    linear-gradient(158deg, var(--ink) 0%, var(--hull) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(46%, 520px);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--glow));
  opacity: .8;
}

.page-products .pd-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pd-gap);
  margin-top: clamp(20px, 3vw, 34px);
}

.page-products .pd-hero h1 {
  font-size: clamp(2rem, 6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -.028em;
  font-weight: 900;
  margin: 12px 0 0;
  max-width: 17ch;
}

.page-products .pd-hero__lede {
  margin: 18px 0 0;
  max-width: 48ch;
  color: var(--rock);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
}

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

.page-products .pd-hero__panel {
  position: relative;
  align-self: start;
  padding: 8px 20px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  background: linear-gradient(180deg, rgba(11, 27, 51, .92), rgba(7, 17, 31, .94));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-products .pd-hero__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--glow), rgba(53, 242, 208, 0));
}

.page-products .pd-spec {
  margin: 0;
}

.page-products .pd-spec > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.page-products .pd-spec > div:last-child {
  border-bottom: 0;
}

.page-products .pd-spec dt {
  color: var(--rock);
  font-size: .84rem;
  letter-spacing: .02em;
}

.page-products .pd-spec dd {
  margin: 0;
  font-family: var(--mono);
  font-size: .84rem;
  letter-spacing: .03em;
  color: var(--glow);
  text-align: right;
}

/* ---------- 设备选择 ---------- */
.page-products .pd-picker__head {
  margin-bottom: clamp(22px, 3.5vw, 36px);
}

.page-products .pd-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .pd-switch__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  background: linear-gradient(155deg, rgba(11, 27, 51, .9), rgba(7, 17, 31, .9));
  color: var(--paper);
  text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}

.page-products .pd-switch__card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, transparent 50%, rgba(53, 242, 208, .14) 50%);
  border-bottom-right-radius: var(--pd-radius);
  pointer-events: none;
}

.page-products .pd-switch__card:hover,
.page-products .pd-switch__card:focus-visible {
  border-color: var(--glow);
  transform: translateY(-3px);
  background: linear-gradient(155deg, rgba(14, 92, 102, .38), rgba(7, 17, 31, .92));
}

.page-products .pd-switch__tag {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--glow);
}

.page-products .pd-switch__name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-products .pd-switch__desc {
  color: var(--rock);
  font-size: .88rem;
  line-height: 1.72;
}

.page-products .pd-switch__arrow {
  margin-top: 6px;
  font-family: var(--mono);
  color: var(--ember);
  font-size: .95rem;
}

.page-products .pd-picker__fig {
  margin: clamp(24px, 4vw, 44px) 0 0;
}

.page-products .pd-picker__fig img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--pd-radius);
}

.page-products .media-frame__caption {
  font-size: .8rem;
  color: var(--rock);
  line-height: 1.7;
  margin-top: 10px;
  letter-spacing: .01em;
}

/* ---------- 苹果通道 ---------- */
.page-products .pd-apple__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pd-gap);
  align-items: start;
}

.page-products .pd-apple__lede {
  color: var(--rock);
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.85;
  margin: 0 0 22px;
  max-width: 52ch;
}

.page-products .pd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.page-products .pd-steps li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-steps .index-num {
  flex: none;
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--glow);
  padding-top: 3px;
}

.page-products .pd-steps strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.page-products .pd-steps p {
  margin: 0;
  color: var(--rock);
  font-size: .92rem;
  line-height: 1.8;
}

.page-products .pd-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--ember);
  background: rgba(255, 138, 61, .07);
  color: var(--rock);
  font-size: .88rem;
  line-height: 1.8;
  border-radius: 0 8px 8px 0;
}

.page-products .pd-apple__fig {
  margin: 0;
}

.page-products .pd-apple__fig img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--pd-radius);
}

/* ---------- 帮助文档时间线 ---------- */
.page-products .pd-doc__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pd-gap);
}

.page-products .pd-doc__lead h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 900;
  margin: 10px 0 0;
}

.page-products .pd-doc__lead p {
  color: var(--rock);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.85;
  margin: 14px 0 22px;
  max-width: 46ch;
}

.page-products .pd-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.page-products .pd-timeline__item {
  position: relative;
}

.page-products .pd-timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 0 4px rgba(53, 242, 208, .13);
}

.page-products .pd-timeline .disclosure__trigger {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: rgba(11, 27, 51, .78);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--paper);
  font: inherit;
  font-weight: 800;
  font-size: .98rem;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}

.page-products .pd-timeline .disclosure__trigger:hover,
.page-products .pd-timeline .disclosure__trigger:focus-visible {
  border-color: var(--glow);
  background: rgba(14, 92, 102, .3);
}

.page-products .pd-timeline__num {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--glow);
  flex: none;
}

.page-products .pd-timeline__label {
  flex: 1 1 auto;
}

.page-products .pd-timeline .disclosure__mark {
  flex: none;
  color: var(--ember);
}

.page-products .pd-timeline .disclosure__panel {
  padding: 12px 16px 2px;
  color: var(--rock);
  font-size: .9rem;
  line-height: 1.85;
}

.page-products .pd-timeline .disclosure__panel p {
  margin: 0;
}

.page-products .pd-doc__fig {
  margin: clamp(24px, 4vw, 42px) 0 0;
}

.page-products .pd-doc__fig img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--pd-radius);
}

/* ---------- 检查清单 ---------- */
.page-products .pd-check__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pd-gap);
  align-items: start;
}

.page-products .pd-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  overflow: hidden;
  background: rgba(11, 27, 51, .55);
}

.page-products .pd-checklist li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-checklist li:last-child {
  border-bottom: 0;
}

.page-products .pd-checklist input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(7, 17, 31, .9);
  position: relative;
  cursor: pointer;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}

.page-products .pd-checklist input[type="checkbox"]:checked {
  background: var(--glow);
  border-color: var(--glow);
}

.page-products .pd-checklist input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.page-products .pd-checklist input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
}

.page-products .pd-check__label {
  display: block;
  cursor: pointer;
}

.page-products .pd-check__label strong {
  display: block;
  font-size: .98rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.page-products .pd-check__label span {
  display: block;
  color: var(--rock);
  font-size: .89rem;
  line-height: 1.78;
}

.page-products .pd-check__aside {
  padding: 20px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  background: linear-gradient(170deg, rgba(14, 92, 102, .28), rgba(7, 17, 31, .92));
  box-shadow: var(--shadow-soft);
}

.page-products .pd-check__aside h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--paper);
}

.page-products .pd-check__aside p {
  margin: 0 0 14px;
  color: var(--rock);
  font-size: .9rem;
  line-height: 1.82;
}

.page-products .pd-check__aside-note {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--glow) !important;
  font-size: .85rem !important;
}

.page-products .pd-check__aside .btn {
  margin-top: 2px;
}

/* ---------- 加载优化 ---------- */
.page-products .pd-load__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pd-gap);
  align-items: center;
}

.page-products .pd-load__body h2 {
  margin-bottom: 16px;
}

.page-products .pd-load__body > p {
  color: var(--rock);
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  line-height: 1.88;
  margin: 0 0 26px;
  max-width: 54ch;
}

.page-products .pd-load__body h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--paper);
}

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

.page-products .pd-load__list li {
  position: relative;
  padding-left: 22px;
  color: var(--rock);
  font-size: .9rem;
  line-height: 1.8;
}

.page-products .pd-load__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--ember);
  transform: rotate(45deg);
}

.page-products .pd-load__fig {
  margin: 0;
}

.page-products .pd-load__fig img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--pd-radius);
}

/* ---------- 兼容矩阵 ---------- */
.page-products .pd-matrix__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  background: rgba(11, 27, 51, .5);
}

.page-products .pd-matrix table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .9rem;
}

.page-products .pd-matrix caption {
  text-align: left;
  padding: 14px 18px 0;
  color: var(--rock);
  font-size: .78rem;
  letter-spacing: .04em;
  font-family: var(--mono);
}

.page-products .pd-matrix thead th {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--glow);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-products .pd-matrix tbody th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  white-space: nowrap;
}

.page-products .pd-matrix tbody td {
  padding: 14px 18px;
  color: var(--rock);
  line-height: 1.72;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

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

.page-products .pd-matrix tbody tr:nth-child(3) td:first-of-type {
  color: var(--glow);
}

.page-products .pd-matrix__fig {
  margin: clamp(22px, 3.5vw, 38px) 0 0;
}

.page-products .pd-matrix__fig img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--pd-radius);
}

/* ---------- 常见故障 ---------- */
.page-products .pd-issues__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  overflow: hidden;
}

.page-products .pd-issues__list li {
  padding: 20px 20px 22px;
  background: var(--ink);
}

.page-products .pd-issues__list h3 {
  margin: 0 0 8px;
  font-size: .98rem;
  font-weight: 800;
  color: var(--paper);
}

.page-products .pd-issues__list h3::before {
  content: "//";
  font-family: var(--mono);
  color: var(--clay);
  margin-right: 8px;
  font-weight: 400;
}

.page-products .pd-issues__list p {
  margin: 0;
  color: var(--rock);
  font-size: .89rem;
  line-height: 1.8;
}

.page-products .pd-issues__more {
  margin-top: clamp(22px, 3.5vw, 36px);
  padding: 22px;
  border-radius: var(--pd-radius);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 138, 61, .1), rgba(7, 17, 31, .9) 62%);
}

.page-products .pd-issues__more p {
  margin: 0 0 16px;
  color: var(--rock);
  font-size: .92rem;
  line-height: 1.78;
}

.page-products .pd-issues__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .pd-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 940px) {
  .page-products .pd-hero__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
    align-items: end;
  }

  .page-products .pd-switch {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .pd-apple__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-products .pd-doc__grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-products .pd-check__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
    gap: clamp(26px, 3.5vw, 44px);
  }

  .page-products .pd-load__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(28px, 4vw, 52px);
  }

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

@media (min-width: 1180px) {
  .page-products .pd-hero h1 {
    max-width: 19ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-switch__card,
  .page-products .pd-timeline .disclosure__trigger,
  .page-products .pd-checklist input[type="checkbox"] {
    transition: none;
  }

  .page-products .pd-switch__card:hover,
  .page-products .pd-switch__card:focus-visible {
    transform: none;
  }

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