.page-products {
  --pd-block: clamp(56px, 8vw, 112px);
  --pd-radius: 2px;
}

/* 面包屑下方留白 */
.page-products .breadcrumbs {
  padding-top: 24px;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  display: grid;
  gap: 32px;
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-products .pd-hero__title {
  margin: 12px 0 20px;
  font-size: clamp(2.3rem, 7.4vw, 5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.page-products .pd-hero__mark {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.page-products .pd-hero__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.12em;
  background: linear-gradient(90deg, var(--accent), var(--data));
  opacity: 0.45;
}

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

.page-products .pd-hero__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .pd-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-products .pd-fact__num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.page-products .pd-fact__label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.page-products .pd-hero__media {
  margin: 0;
  position: relative;
}

.page-products .pd-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  box-shadow: var(--shadow-soft);
}

.page-products .pd-hero__media::before {
  content: "";
  position: absolute;
  inset: auto -1px -1px auto;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent));
  pointer-events: none;
}

/* ---------- 章节索引 ---------- */
.page-products .pd-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-index .index-nav__link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
}

.page-products .pd-index .index-nav__link:hover,
.page-products .pd-index .index-nav__link:focus-visible,
.page-products .pd-index .index-nav__link[aria-current] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- 通用区块间距 ---------- */
.page-products .section {
  padding-top: var(--pd-block);
  padding-bottom: var(--pd-block);
}

.page-products .section-head {
  max-width: 46ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-products .section-title {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.page-products .lede {
  margin-top: 16px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- 版本对照 ---------- */
.page-products .pd-version__lede {
  max-width: 58ch;
}

.page-products .pd-tabs {
  display: block;
}

.page-products .pd-tabs .tab {
  display: inline-block;
  margin: 0 8px 10px 0;
  padding: 10px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.page-products .pd-tabs .tab:hover {
  color: var(--text);
  border-color: var(--muted);
}

.page-products .pd-tabs .tab[aria-selected="true"],
.page-products .pd-tabs .tab.is-active {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}

.page-products .pd-panel {
  margin-top: 20px;
  padding: clamp(22px, 3.4vw, 36px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--pd-radius);
  animation: pd-fade 300ms var(--ease) both;
}

.page-products .pd-panel[hidden] {
  display: none;
}

.page-products .pd-panel__title {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.35;
}

.page-products .pd-panel__text {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 62ch;
}

.page-products .pd-diff {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  overflow: hidden;
}

.page-products .pd-diff__col {
  padding: 16px 18px;
  background: var(--panel-2);
}

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

.page-products .pd-diff__ver {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-products .pd-diff__col--old .pd-diff__ver {
  color: var(--muted);
}

.page-products .pd-diff__col--new {
  background: var(--tint);
  box-shadow: inset 3px 0 0 var(--accent);
}

.page-products .pd-diff__col--new .pd-diff__ver {
  color: var(--accent);
}

.page-products .pd-diff__col--new p {
  color: var(--text);
}

/* ---------- 领取步骤 ---------- */
.page-products .pd-claim__lede {
  max-width: 54ch;
}

.page-products .pd-claim__figure {
  margin: 0 0 8px;
}

.page-products .pd-tree {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
}

.page-products .pd-claim__caption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.page-products .pd-claim__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
}

.page-products .pd-steps {
  list-style: none;
  display: grid;
  gap: 20px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
}

.page-products .pd-step {
  position: relative;
  padding: 26px 22px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
}

.page-products .pd-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 380ms var(--ease);
}

.page-products .pd-step:hover {
  transform: translateY(-4px);
  border-color: var(--line);
}

.page-products .pd-step:hover::after {
  width: 100%;
}

.page-products .pd-step__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}

.page-products .pd-step__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-products .pd-step__desc {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--muted);
}

.page-products .pd-step__list {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .pd-step__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-products .pd-step__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--data);
}

.page-products .pd-claim__note {
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 15px;
  max-width: 62ch;
}

/* ---------- 主客场看板 ---------- */
.page-products .pd-board__lede {
  max-width: 60ch;
}

.page-products .pd-board__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  margin-bottom: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
}

.page-products .pd-dims {
  display: grid;
  gap: 16px;
}

.page-products .pd-dim {
  padding: 22px 20px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  display: flex;
  flex-direction: column;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
}

.page-products .pd-dim:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.page-products .pd-dim__name {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--text);
}

.page-products .pd-dim__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1 1 auto;
}

.page-products .pd-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin: 18px 0 10px;
}

.page-products .pd-bars span {
  flex: 1 1 0;
  height: var(--h, 40%);
  min-height: 6px;
  background: linear-gradient(180deg, var(--data), rgba(47, 212, 255, 0.08));
  border-radius: 1px;
}

.page-products .pd-bars--accent span {
  background: linear-gradient(180deg, var(--accent), rgba(198, 255, 61, 0.08));
}

.page-products .pd-bars--mixed span:nth-child(odd) {
  background: linear-gradient(180deg, var(--accent), rgba(198, 255, 61, 0.08));
}

.page-products .pd-bars--mixed span:nth-child(even) {
  background: linear-gradient(180deg, var(--data), rgba(47, 212, 255, 0.08));
}

.page-products .pd-bars--alert span {
  background: linear-gradient(180deg, var(--alert), rgba(255, 122, 47, 0.08));
}

.page-products .pd-dim__foot {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-products .pd-filters {
  margin-top: clamp(24px, 3.5vw, 36px);
  padding: 20px 22px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-products .pd-filters__text {
  flex: 1 1 260px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 设备 ---------- */
.page-products .pd-devices__lede {
  max-width: 56ch;
}

.page-products .pd-devices__grid {
  display: grid;
  gap: 28px;
}

.page-products .pd-device {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-device:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.page-products .pd-device__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.005em;
}

.page-products .pd-device p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

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

.page-products .pd-devices__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
}

/* ---------- 更新与版本号 ---------- */
.page-products .pd-notes__grid {
  display: grid;
  gap: 30px;
}

.page-products .pd-note {
  padding-left: 18px;
  border-left: 2px solid var(--line);
  margin-bottom: 24px;
}

.page-products .pd-note:last-child {
  margin-bottom: 0;
}

.page-products .pd-note__title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
}

.page-products .pd-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 60ch;
}

.page-products .pd-notes__side {
  display: grid;
  gap: 20px;
}

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

.page-products .pd-notes__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
}

.page-products .pd-badge {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 22px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
}

.page-products .pd-badge__num {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.page-products .pd-badge__label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- FAQ ---------- */
.page-products .pd-faq__list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  overflow: hidden;
}

.page-products .pd-faq__item {
  padding: 22px 20px;
  background: var(--panel);
  transition: background 260ms var(--ease);
}

.page-products .pd-faq__item:hover {
  background: var(--panel-2);
}

.page-products .pd-faq__q {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.page-products .pd-faq__a {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 66ch;
}

.page-products .pd-faq__callout {
  margin-top: clamp(26px, 4vw, 40px);
}

.page-products .pd-faq__callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 66ch;
}

@keyframes pd-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 媒体查询 ---------- */
@media (min-width: 640px) {
  .page-products .pd-hero__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .page-products .pd-steps > .pd-step:nth-child(2) {
    margin-top: 34px;
  }

  .page-products .pd-steps > .pd-step:nth-child(3) {
    margin-top: 68px;
  }
}

@media (min-width: 960px) {
  .page-products .pd-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(36px, 5vw, 64px);
  }

  .page-products .pd-board__img {
    max-height: 420px;
  }

  .page-products .pd-devices__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(32px, 5vw, 64px);
  }

  .page-products .pd-notes__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(32px, 5vw, 64px);
  }
}

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

  .page-products .pd-dims > .pd-dim:nth-child(even) {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-panel {
    animation: none;
  }

  .page-products .pd-step,
  .page-products .pd-dim {
    transition: none;
  }

  .page-products .pd-step:hover,
  .page-products .pd-dim:hover {
    transform: none;
  }
}

.page-products {
  --h: 1rem;
}
