.page-products {
  --pv-glow-cyan: rgba(91, 231, 214, .16);
  --pv-glow-violet: rgba(122, 107, 255, .16);
  --pv-gap: clamp(18px, 3vw, 34px);
}

/* ---------- 首屏 ---------- */
.page-products .pv-hero {
  padding-top: 26px;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-products .pv-hero__grid {
  display: grid;
  gap: 30px;
}

.page-products .pv-kicker {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .pv-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.005em;
  color: var(--bright);
}

.page-products .pv-hero__lede {
  margin: 0 0 24px;
  max-width: 36em;
}

.page-products .pv-hero__actions {
  margin-top: 4px;
}

.page-products .pv-aside {
  display: grid;
  gap: 12px;
}

.page-products .pv-aside__card {
  padding: 18px 18px 16px;
}

.page-products .pv-aside__card--accent {
  background: linear-gradient(140deg, rgba(91, 231, 214, .14), rgba(122, 107, 255, .08)), var(--ink-float);
  border-color: rgba(91, 231, 214, .38);
}

.page-products .pv-aside__val {
  margin: 6px 0 8px;
  font-family: var(--font-mono);
  font-size: 1.12rem;
  letter-spacing: .02em;
  color: var(--bright);
}

/* ---------- 章节通用 ---------- */
.page-products .pv-chapter {
  position: relative;
  padding: clamp(52px, 8vw, 104px) 0;
}

.page-products .pv-chapter--panel {
  background: linear-gradient(180deg, rgba(12, 20, 40, .9), rgba(5, 10, 24, 0));
  border-top: 1px solid var(--line-grid);
  border-bottom: 1px solid var(--line-grid);
}

.page-products .pv-chapter--last {
  padding-bottom: clamp(64px, 9vw, 120px);
}

.page-products .pv-subhead {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 图片容器统一处理 ---------- */
.page-products .pv-figure {
  margin: 0 0 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-grid);
  background: var(--ink-panel);
}

.page-products .pv-figure img,
.page-products .pv-land__media img,
.page-products .pv-device__fig img,
.page-products .pv-modwrap__fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(.86) brightness(.92);
}

.page-products .pv-figure--slim {
  margin-bottom: 26px;
}

/* ---------- 01 版本对照 ---------- */
.page-products .pv-compare {
  display: grid;
  gap: 16px;
}

.page-products .pv-compare .compare__col {
  padding: 22px 20px 18px;
  background: var(--ink-float);
  border: 1px solid var(--line-grid);
  border-top: 3px solid var(--cyan);
  border-radius: var(--radius);
}

.page-products .pv-compare .compare__col--alt {
  border-top-color: var(--violet);
  background: linear-gradient(150deg, rgba(122, 107, 255, .1), rgba(22, 33, 60, .9));
}

.page-products .pv-compare .compare__head {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-products .pv-compare .compare__col--alt .compare__head {
  color: var(--violet);
}

.page-products .pv-compare .compare__row {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-top: 1px solid var(--line-grid);
}

.page-products .pv-compare .compare__key {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-products .pv-compare .compare__val {
  font-size: .94rem;
  line-height: 1.72;
  color: var(--bright);
}

.page-products .pv-compare__note {
  margin-top: 22px;
}

/* ---------- 02 测试版 ---------- */
.page-products .pv-beta {
  gap: var(--pv-gap);
  align-items: start;
}

.page-products .pv-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-products .pv-list li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .pv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(91, 231, 214, .7);
}

.page-products .pv-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-products .pv-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px 16px;
  background: var(--ink-float);
  border: 1px solid var(--line-grid);
  border-radius: 12px;
}

.page-products .pv-steps__idx {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 122, 61, .45);
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--orange);
}

.page-products .pv-steps h4 {
  margin: 0 0 4px;
  font-size: .98rem;
  font-weight: 600;
  color: var(--bright);
}

.page-products .pv-steps p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.68;
  color: var(--muted);
}

/* ---------- 03 横屏 ---------- */
.page-products .pv-land__frame {
  margin-top: 28px;
  padding: 0;
  background: linear-gradient(155deg, var(--ink-panel), var(--ink-void) 70%);
  border: 1px solid var(--line-grid);
  border-radius: var(--bevel);
  overflow: hidden;
}

.page-products .pv-land__media {
  margin: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line-grid);
}

.page-products .pv-land__media::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(122, 107, 255, .5), transparent);
}

.page-products .pv-land__panel {
  padding: 0 clamp(16px, 2.4vw, 28px) clamp(20px, 3vw, 30px);
}

.page-products .pv-land__panel[hidden] {
  display: none;
}

.page-products .pv-spec {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-products .pv-spec li {
  padding: 14px 16px;
  background: rgba(22, 33, 60, .72);
  border: 1px solid var(--line-grid);
  border-left: 2px solid var(--cyan);
  border-radius: 10px;
}

.page-products .pv-spec strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-products .pv-spec span {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pv-land__foot {
  margin: 22px 0 0;
  font-size: .94rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 52em;
}

/* ---------- 切换控件 ---------- */
.page-products .pv-switch {
  display: inline-flex;
  gap: 4px;
  margin: 22px clamp(16px, 2.4vw, 28px) 20px;
  padding: 4px;
  background: rgba(5, 10, 24, .72);
  border: 1px solid var(--line-grid);
  border-radius: 999px;
}

.page-products .pv-switch__btn {
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--muted);
  cursor: pointer;
  transition: color .18s var(--ease), background .18s var(--ease);
}

.page-products .pv-switch__btn[aria-selected="true"] {
  background: linear-gradient(120deg, rgba(91, 231, 214, .2), rgba(122, 107, 255, .24));
  color: var(--bright);
  box-shadow: inset 0 0 0 1px rgba(91, 231, 214, .45);
}

.page-products .pv-switch__btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- 04 功能模块 ---------- */
.page-products .pv-modwrap {
  margin-top: 30px;
  display: grid;
  gap: 24px;
}

.page-products .pv-modwrap__fig {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-grid);
  background: var(--ink-panel);
}

.page-products .pv-modules {
  display: grid;
  gap: 12px;
}

.page-products .pv-mod {
  position: relative;
  padding: 20px 18px 22px;
  background: var(--ink-panel);
  border: 1px solid var(--line-grid);
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.page-products .pv-mod:hover,
.page-products .pv-mod:focus-within {
  background: var(--ink-float);
  border-color: rgba(91, 231, 214, .5);
  transform: translateY(-3px);
}

.page-products .pv-mod:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-products .pv-mod__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  color: var(--orange);
}

.page-products .pv-mod h3 {
  margin: 10px 0 8px;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--bright);
}

.page-products .pv-mod p {
  margin: 0;
  font-size: .91rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pv-mod__more {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid transparent;
  transition: max-height .28s var(--ease), opacity .24s var(--ease), margin-top .28s var(--ease);
}

.page-products .pv-mod:hover .pv-mod__more,
.page-products .pv-mod:focus-within .pv-mod__more {
  max-height: 120px;
  margin-top: 10px;
  padding-top: 10px;
  opacity: 1;
  border-top-color: var(--line-grid);
}

/* ---------- 05 灰度节奏 ---------- */
.page-products .pv-gate {
  margin-top: 8px;
}

.page-products .pv-gate .pv-switch {
  margin-left: 0;
  margin-right: 0;
}

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

.page-products .pv-flow__node {
  position: relative;
  padding-left: 30px;
}

.page-products .pv-flow__node::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-void);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(91, 231, 214, .12);
}

.page-products .pv-flow__node::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 20px;
  bottom: -22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(91, 231, 214, .5), rgba(91, 231, 214, .04));
}

.page-products .pv-flow__node:last-child::after {
  display: none;
}

.page-products .pv-flow__node h3 {
  margin: 0 0 6px;
  font-size: .98rem;
  font-weight: 600;
  color: var(--bright);
}

.page-products .pv-flow__node p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.68;
  color: var(--muted);
}

.page-products .pv-gate__hint {
  margin: 26px 0 0;
  padding: 16px 18px;
  border-left: 2px solid var(--orange);
  background: rgba(255, 122, 61, .07);
  border-radius: 0 10px 10px 0;
  font-size: .94rem;
  line-height: 1.72;
  color: var(--bright);
}

/* ---------- 06 设备支持 ---------- */
.page-products .pv-device {
  margin-top: 30px;
  display: grid;
  gap: 24px;
}

.page-products .pv-device__fig {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-grid);
}

.page-products .pv-ratios {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .pv-ratios li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--ink-panel);
  border: 1px solid var(--line-grid);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-products .pv-ratios li::before {
  content: "";
  width: 14px;
  height: 9px;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  opacity: .85;
}

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

.page-products .pv-notes li {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(12, 20, 40, .8);
  border: 1px solid var(--line-grid);
  border-radius: 12px;
  font-size: .92rem;
  line-height: 1.68;
  color: var(--muted);
}

.page-products .pv-notes .tag {
  justify-self: start;
}

/* ---------- 07 选版本 ---------- */
.page-products .pv-choose {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-products .pv-choose li {
  padding: 24px 20px;
  background: linear-gradient(165deg, var(--ink-float), var(--ink-panel));
  border: 1px solid var(--line-grid);
  border-radius: var(--radius);
}

.page-products .pv-choose__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: .06em;
  color: rgba(91, 231, 214, .55);
}

.page-products .pv-choose h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bright);
}

.page-products .pv-choose p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .pv-callout {
  margin-top: 34px;
  padding: 22px 20px;
  background: linear-gradient(120deg, rgba(122, 107, 255, .14), rgba(91, 231, 214, .07));
  border: 1px solid rgba(122, 107, 255, .42);
  border-radius: var(--radius);
}

.page-products .pv-callout__title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--bright);
}

.page-products .pv-callout__body {
  margin: 0 0 18px;
  max-width: 46em;
  font-size: .94rem;
  line-height: 1.75;
  color: var(--muted);
}

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

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

@media (min-width: 860px) {
  .page-products .pv-hero {
    padding-top: 44px;
  }

  .page-products .pv-hero__grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    gap: 48px;
    align-items: start;
  }

  .page-products .pv-aside {
    padding-top: 6px;
  }

  .page-products .pv-compare {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
  }

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

  .page-products .pv-flow__node {
    padding: 28px 20px 0 0;
  }

  .page-products .pv-flow__node::before {
    left: 0;
    top: 6px;
  }

  .page-products .pv-flow__node::after {
    left: 20px;
    top: 11px;
    bottom: auto;
    right: -6px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(91, 231, 214, .5), rgba(91, 231, 214, .05));
  }

  .page-products .pv-choose {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-products .pv-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 26px 28px;
  }

  .page-products .pv-callout__title,
  .page-products .pv-callout__body {
    grid-column: 1;
  }

  .page-products .pv-callout .btn-row {
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .page-products .pv-modwrap {
    grid-template-columns: minmax(0, 288px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

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

  .page-products .pv-modwrap__fig {
    position: sticky;
    top: calc(var(--status-h) + 24px);
  }

  .page-products .pv-device {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 34px;
    align-items: start;
  }
}

@media (hover: none) {
  .page-products .pv-mod__more {
    max-height: none;
    margin-top: 10px;
    padding-top: 10px;
    opacity: 1;
    border-top-color: var(--line-grid);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pv-mod,
  .page-products .pv-switch__btn,
  .page-products .pv-mod__more {
    transition: none;
  }

  .page-products .pv-mod:hover,
  .page-products .pv-mod:focus-within {
    transform: none;
  }
}
