.page-products {
  --pd-cut: 20px;
  --pd-glow-v: rgba(124, 58, 237, .38);
  --pd-glow-c: rgba(34, 211, 238, .28);
  color: var(--star);
  background:
    radial-gradient(900px 520px at 94% -10%, rgba(124, 58, 237, .22), transparent 70%),
    radial-gradient(760px 440px at -12% 26%, rgba(34, 211, 238, .12), transparent 74%),
    var(--ink-0);
  overflow-x: clip;
}

.page-products .pd-crumb-bar {
  padding-top: clamp(14px, 2vw, 22px);
}

.page-products .section {
  padding-block: clamp(34px, 5.2vw, 66px);
}

/* ---------- 通用文字层 ---------- */
.page-products .eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-products .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.page-products .h2 {
  margin: .4rem 0 .7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--star);
}

.page-products .h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.9vw, 1.24rem);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--star);
}

.page-products .lede {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(.98rem, 1.5vw, 1.08rem);
  line-height: 1.85;
  color: var(--mauve);
  max-width: 60ch;
}

.page-products .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--cyan);
}

.page-products .pd-head {
  max-width: 64ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-products .pd-note {
  margin: clamp(16px, 2.4vw, 22px) 0 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(34, 211, 238, .45);
  font-size: .92rem;
  line-height: 1.8;
  color: var(--mauve);
  max-width: 68ch;
}

.page-products .pd-note a,
.page-products .pd-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, .4);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-products .pd-note a:hover,
.page-products .pd-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.page-products .pd-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .9rem;
  font-size: .92rem;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  padding-block: clamp(26px, 5vw, 58px) clamp(34px, 5vw, 64px);
  overflow: clip;
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -14%;
  width: min(680px, 76vw);
  height: 560px;
  background: linear-gradient(142deg, rgba(124, 58, 237, .5), rgba(34, 211, 238, .26) 56%, transparent 80%);
  transform: rotate(-6deg);
  pointer-events: none;
}

.page-products .pd-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  grid-template-columns: 1fr;
}

.page-products .pd-hero h1.display {
  margin: .55rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--star);
  text-shadow: 2px 0 0 rgba(124, 58, 237, .6), -2px 0 0 rgba(34, 211, 238, .32);
}

.page-products .pd-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-quick li {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  padding: .6rem .9rem;
  border-radius: var(--cut-sm);
  background: linear-gradient(158deg, rgba(124, 58, 237, .2), rgba(18, 16, 31, .92));
  box-shadow: inset 0 0 0 1px var(--line);
}

.page-products .pd-quick .mono {
  font-size: .95rem;
  font-weight: 700;
}

.page-products .pd-quick span:last-child {
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--mauve);
}

.page-products .pd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.page-products .pd-hero-visual {
  position: relative;
  min-height: clamp(220px, 42vw, 330px);
}

.page-products .pd-frame {
  position: absolute;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.page-products .pd-frame--screen {
  right: 0;
  top: 4%;
  width: 76%;
  height: 70%;
  padding: 14px;
  border-radius: 12px;
  transform: rotate(-6deg);
  background: linear-gradient(155deg, rgba(124, 58, 237, .34), rgba(18, 16, 31, .95) 62%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-products .pd-frame-bar {
  display: block;
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: var(--cyan);
  opacity: .85;
}

.page-products .pd-frame-line {
  display: block;
  width: 82%;
  height: 8px;
  margin-top: 14px;
  border-radius: 4px;
  background: rgba(244, 242, 255, .22);
}

.page-products .pd-frame-line--short {
  width: 54%;
  background: rgba(34, 211, 238, .32);
}

.page-products .pd-frame--phone {
  left: 4%;
  bottom: 0;
  width: min(126px, 34%);
  aspect-ratio: 9 / 16;
  border-radius: 18px 18px 22px 22px;
  transform: rotate(-6deg);
  background: linear-gradient(168deg, rgba(34, 211, 238, .3), rgba(124, 58, 237, .5) 58%, rgba(7, 6, 15, .96));
}

.page-products .pd-frame-dot {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(244, 242, 255, .5);
  transform: translateX(-50%);
}

.page-products .pd-visual-rule {
  position: absolute;
  left: 8%;
  right: 12%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .5;
}

/* ---------- 双端入口 ---------- */
.page-products .pd-entries {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  grid-template-columns: 1fr;
}

.page-products .pd-entry {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(25, 22, 48, .92), rgba(18, 16, 31, .82));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pd-cut)), calc(100% - var(--pd-cut)) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}

.page-products .pd-entry-media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-1);
}

.page-products .pd-entry--android .pd-entry-media {
  aspect-ratio: 4 / 3;
}

.page-products .pd-entry-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pd-entry-body {
  padding: clamp(16px, 2.6vw, 26px);
}

.page-products .pd-entry-text {
  margin: 0 0 .9rem;
  font-size: .95rem;
  line-height: 1.82;
  color: var(--mauve);
}

.page-products .pd-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .45rem;
}

.page-products .pd-facts li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6rem;
  padding: .5rem .7rem;
  border-radius: 8px;
  background: rgba(7, 6, 15, .55);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .88rem;
}

.page-products .pd-facts .mono {
  min-width: 4.2em;
  font-weight: 700;
}

/* ---------- 包体对照 ---------- */
.page-products .pd-compare-figure,
.page-products .pd-batch-figure,
.page-products .pd-version-figure {
  margin: 0 0 clamp(20px, 3vw, 30px);
  overflow: hidden;
  border-radius: var(--pd-cut);
  box-shadow: inset 0 0 0 1px var(--line);
  background: var(--ink-1);
}

.page-products .pd-compare-figure img,
.page-products .pd-batch-figure img,
.page-products .pd-version-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pd-caption {
  caption-side: bottom;
  padding-top: .7rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--mauve);
  text-align: left;
}

/* ---------- 切换控件 ---------- */
.page-products .pd-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.page-products .pd-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .3rem;
  padding: .3rem;
  margin-bottom: clamp(14px, 2vw, 20px);
  border-radius: 999px;
  background: rgba(18, 16, 31, .94);
  box-shadow: inset 0 0 0 1px var(--line);
}

.page-products .pd-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .88rem;
  color: var(--mauve);
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.page-products .pd-tab .mono {
  font-size: .78rem;
  color: inherit;
  opacity: .9;
}

.page-products .pd-tab:hover {
  color: var(--star);
}

.page-products #pkg-standard:checked ~ .pd-tabs label[for="pkg-standard"],
.page-products #pkg-lite:checked ~ .pd-tabs label[for="pkg-lite"],
.page-products #batch-all:checked ~ .pd-tabs label[for="batch-all"],
.page-products #batch-wed:checked ~ .pd-tabs label[for="batch-wed"],
.page-products #batch-sat:checked ~ .pd-tabs label[for="batch-sat"],
.page-products #cfg-min:checked ~ .pd-tabs label[for="cfg-min"],
.page-products #cfg-rec:checked ~ .pd-tabs label[for="cfg-rec"] {
  background: linear-gradient(118deg, var(--violet), var(--cyan));
  color: var(--ink-0);
  font-weight: 700;
}

.page-products #pkg-standard:focus-visible ~ .pd-tabs label[for="pkg-standard"],
.page-products #pkg-lite:focus-visible ~ .pd-tabs label[for="pkg-lite"],
.page-products #batch-all:focus-visible ~ .pd-tabs label[for="batch-all"],
.page-products #batch-wed:focus-visible ~ .pd-tabs label[for="batch-wed"],
.page-products #batch-sat:focus-visible ~ .pd-tabs label[for="batch-sat"],
.page-products #cfg-min:focus-visible ~ .pd-tabs label[for="cfg-min"],
.page-products #cfg-rec:focus-visible ~ .pd-tabs label[for="cfg-rec"] {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

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

.page-products #pkg-standard:checked ~ .pd-panel--standard,
.page-products #pkg-lite:checked ~ .pd-panel--lite,
.page-products #cfg-min:checked ~ .pd-cfg-panel--min,
.page-products #cfg-rec:checked ~ .pd-cfg-panel--rec {
  display: block;
  animation: pd-panel-in .28s var(--ease);
}

@keyframes pd-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 规格列表 ---------- */
.page-products .pd-panel {
  padding: clamp(16px, 2.6vw, 26px);
  background: linear-gradient(158deg, rgba(25, 22, 48, .9), rgba(12, 11, 24, .82));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pd-cut)), calc(100% - var(--pd-cut)) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}

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

.page-products .pd-spec-row {
  display: grid;
  grid-template-columns: minmax(84px, 32%) 1fr;
  gap: .6rem 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-spec-row:first-child {
  padding-top: 0;
}

.page-products .pd-spec-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-products .pd-spec dt {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--mauve);
}

.page-products .pd-spec dd {
  margin: 0;
  font-size: .93rem;
  line-height: 1.72;
  color: var(--star);
}

.page-products .pd-spec .mono {
  font-weight: 700;
}

.page-products .pd-spec--cfg dd {
  font-size: .96rem;
}

.page-products .pd-panel-foot {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
  padding-top: .9rem;
  border-top: 1px dashed var(--line-strong);
  font-size: .88rem;
  line-height: 1.7;
  color: var(--mauve);
}

/* ---------- 批次表 ---------- */
.page-products .pd-batch-wrap {
  position: relative;
}

.page-products .pd-table-scroll {
  overflow-x: auto;
  border-radius: var(--pd-cut);
  background: rgba(12, 11, 24, .8);
  box-shadow: inset 0 0 0 1px var(--line);
}

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

.page-products .pd-table th {
  padding: .8rem .9rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: left;
  border-bottom: 1px solid rgba(34, 211, 238, .38);
}

.page-products .pd-table td {
  padding: .85rem .9rem;
  line-height: 1.7;
  color: var(--star);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

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

.page-products .pd-table tbody tr:hover td {
  background: rgba(124, 58, 237, .1);
}

.page-products .pd-batch-row--wed td:first-child {
  box-shadow: inset 3px 0 0 rgba(34, 211, 238, .7);
}

.page-products .pd-batch-row--sat td:first-child {
  box-shadow: inset 3px 0 0 rgba(255, 138, 61, .7);
}

.page-products #batch-wed:checked ~ .pd-table-scroll .pd-batch-row--sat,
.page-products #batch-sat:checked ~ .pd-table-scroll .pd-batch-row--wed {
  display: none;
}

/* ---------- 版本时间轴 ---------- */
.page-products .pd-timeline {
  position: relative;
  display: grid;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-step {
  position: relative;
  padding: 1rem 1.1rem 1rem 2.5rem;
  background: linear-gradient(152deg, rgba(25, 22, 48, .9), rgba(12, 11, 24, .74));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}

.page-products .pd-step::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.5rem;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--pd-glow-c);
}

.page-products .pd-step-tag {
  display: block;
  margin-bottom: .3rem;
  font-size: .74rem;
  letter-spacing: .14em;
}

.page-products .pd-step p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--mauve);
}

/* ---------- 场景卡 ---------- */
.page-products .pd-scenes {
  display: grid;
  gap: clamp(12px, 1.8vw, 18px);
  grid-template-columns: 1fr;
}

.page-products .pd-scene {
  position: relative;
  padding: clamp(16px, 2.4vw, 24px);
  background: linear-gradient(158deg, rgba(25, 22, 48, .88), rgba(12, 11, 24, .76));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.page-products .pd-scene:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .42);
}

.page-products .pd-scene-num {
  display: block;
  margin-bottom: .5rem;
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--violet-soft);
}

.page-products .pd-scene p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--mauve);
}

.page-products .pd-scene--link {
  background: linear-gradient(158deg, rgba(124, 58, 237, .3), rgba(18, 16, 31, .9));
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, .5);
}

/* ---------- 结尾行动条 ---------- */
.page-products .pd-cta-strip {
  display: grid;
  gap: 1rem;
  margin-top: clamp(24px, 3.6vw, 40px);
  padding: clamp(18px, 2.8vw, 28px);
  background: linear-gradient(120deg, rgba(124, 58, 237, .28), rgba(34, 211, 238, .16) 62%, rgba(7, 6, 15, .9));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pd-cut)), calc(100% - var(--pd-cut)) 100%, 0 100%);
}

.page-products .pd-cta-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: .96rem;
  line-height: 1.8;
  color: var(--star);
  max-width: 56ch;
}

.page-products .pd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

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

  .page-products .pd-cta-strip {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

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

  .page-products .pd-entries {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: stretch;
  }

  .page-products .pd-entry--android .pd-entry-media {
    aspect-ratio: 4 / 5;
  }

  .page-products .pd-entry--pc {
    align-content: start;
  }

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

  .page-products .pd-step {
    padding: 1.2rem 1.15rem 1.2rem 1.15rem;
  }

  .page-products .pd-step::before {
    position: static;
    display: block;
    margin-bottom: .7rem;
  }

  .page-products .pd-spec-row {
    grid-template-columns: minmax(96px, 26%) 1fr;
  }
}

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

  .page-products .pd-hero-visual {
    min-height: 360px;
  }
}

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

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