.page-products {
  --pp-gap: clamp(16px, 2.4vw, 28px);
  --pp-pad: clamp(22px, 3.2vw, 40px);
}

.page-products .crumbs {
  padding-block: 22px 4px;
}

/* ---------- 首屏 ---------- */
.page-products .pp-hero {
  padding-top: clamp(12px, 2vw, 24px);
}

.page-products .pp-hero__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(26px, 3.6vw, 44px);
  padding: var(--pp-pad);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(115% 130% at 6% -10%, rgba(57, 255, 158, .16), transparent 58%),
    radial-gradient(85% 120% at 102% 8%, rgba(255, 138, 61, .13), transparent 62%),
    linear-gradient(158deg, var(--ink-800) 0%, var(--ink-900) 58%, var(--field) 100%);
  box-shadow: var(--shadow-panel);
}

.page-products .pp-hero__panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -46% auto;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 48% 52% 60% 40% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 34% 32%, rgba(28, 107, 74, .5), transparent 68%);
  pointer-events: none;
}

.page-products .pp-hero__copy {
  position: relative;
  z-index: 1;
}

.page-products .pp-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(30px, 4.8vw, 48px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--text);
  max-width: 20ch;
}

.page-products .pp-hero__lead {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  opacity: .9;
}

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

.page-products .pp-hero__facts {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
  align-self: end;
}

.page-products .pp-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(10, 22, 38, .55);
}

.page-products .pp-hero__fact-num {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.page-products .pp-hero__fact-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 版本对比 ---------- */
.page-products .pp-vers {
  display: grid;
  gap: var(--pp-gap);
  grid-template-columns: 1fr;
}

.page-products .pp-ver {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(172deg, var(--ink-800) 0%, var(--field) 100%);
  transition: transform .32s var(--ease), border-color .32s var(--ease), box-shadow .32s var(--ease);
}

.page-products .pp-ver:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.page-products .pp-ver--pick {
  border-color: rgba(57, 255, 158, .5);
  box-shadow:
    0 0 0 1px rgba(57, 255, 158, .2),
    0 22px 56px rgba(4, 10, 20, .55),
    0 0 48px rgba(57, 255, 158, .12);
}

.page-products .pp-ver__flag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-900);
  background: var(--accent);
}

.page-products .pp-ver__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-products .pp-ver__for {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--accent-2);
}

.page-products .pp-ver__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

.page-products .pp-ver__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .pp-ver__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.page-products .pp-ver--pick .pp-ver__list li::before {
  background: var(--accent);
}

/* ---------- 设备选择器 ---------- */
.page-products .pp-picker {
  margin-top: clamp(30px, 4vw, 52px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(27, 42, 71, .6), rgba(10, 22, 38, .7));
}

.page-products .pp-picker__q {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

.page-products .pp-picker__tabs {
  margin-bottom: 18px;
}

.page-products .pp-picker__panel p {
  margin: 0;
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  opacity: .92;
}

.page-products .pp-picker__panel strong {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- 四步安装 ---------- */
.page-products .pp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
}

.page-products .pp-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(172deg, rgba(27, 42, 71, .72), rgba(10, 22, 38, .66));
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.page-products .pp-step:hover,
.page-products .pp-step:focus-visible {
  border-color: rgba(57, 255, 158, .45);
  transform: translateY(-3px);
  outline: none;
}

.page-products .pp-step__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--accent-2);
}

.page-products .pp-step__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

.page-products .pp-step__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pp-step__time {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--muted);
}

.page-products .pp-install__shot {
  margin: clamp(30px, 4vw, 50px) 0 0;
}

/* ---------- 平板视图 ---------- */
.page-products .pp-tablet__shot {
  margin: 0;
}

.page-products .pp-tablet__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  margin-top: clamp(24px, 3vw, 38px);
  align-items: start;
}

.page-products .pp-specs {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 2.8vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(27, 42, 71, .62), rgba(10, 22, 38, .72));
}

.page-products .pp-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--ink-700), var(--field));
  padding: 12px;
  display: grid;
  gap: 8px;
  box-shadow: inset 0 0 40px rgba(47, 169, 201, .12);
}

.page-products .pp-frame__dot {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--line-strong);
}

.page-products .pp-frame__screen {
  margin-top: 8px;
  display: grid;
  gap: 7px;
  align-content: start;
}

.page-products .pp-frame__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.page-products .pp-frame__tabs span {
  height: 16px;
  border-radius: 999px;
  background: rgba(47, 169, 201, .22);
}

.page-products .pp-frame__tabs span:nth-child(1) { width: 40px; background: rgba(57, 255, 158, .3); }
.page-products .pp-frame__tabs span:nth-child(2) { width: 32px; }
.page-products .pp-frame__tabs span:nth-child(3) { width: 36px; }
.page-products .pp-frame__tabs span:nth-child(4) { width: 28px; }

.page-products .pp-frame__row {
  height: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(237, 242, 247, .1), rgba(237, 242, 247, .03));
}

.page-products .pp-frame__row--short {
  width: 62%;
}

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

.page-products .pp-specs__list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.page-products .pp-specs__list .u-mono {
  color: var(--accent);
  font-weight: 600;
  margin-right: 4px;
}

.page-products .pp-tablet__detail {
  margin: 0;
}

.page-products .pp-tablet__note {
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  max-width: 74ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
  opacity: .88;
}

/* ---------- 稳定保障 ---------- */
.page-products .pp-stab__panel {
  padding: clamp(22px, 2.8vw, 30px);
}

.page-products .pp-stab__dl {
  margin: 0;
  display: grid;
  gap: 18px;
}

.page-products .pp-stab__dl > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .pp-stab__dl dt {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.page-products .pp-stab__dl dd {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--teal);
}

.page-products .pp-stab__dl > div:first-child dd {
  color: var(--accent);
}

.page-products .pp-stab__prose p {
  margin: 0 0 1.2em;
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
  opacity: .9;
}

.page-products .pp-stab__prose p:last-child {
  margin-bottom: 0;
}

.page-products .pp-stab__shot {
  margin: clamp(24px, 3vw, 36px) 0 0;
}

/* ---------- 更新说明 ---------- */
.page-products .pp-updates {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3.6vw, 48px);
  align-items: start;
}

.page-products .pp-log {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.page-products .pp-log__item {
  display: grid;
  grid-template-columns: minmax(72px, auto) auto 1fr;
  align-items: baseline;
  gap: 10px 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.page-products .pp-log__item:first-child {
  border-top: 1px solid var(--line);
}

.page-products .pp-log__ver {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
}

.page-products .pp-log__desc {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .pp-updates__side {
  display: grid;
  gap: 20px;
}

.page-products .pp-updates__shot {
  margin: 0;
}

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

/* ---------- 常见问题 ---------- */
.page-products .pp-faq {
  display: grid;
  gap: 10px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-products .pp-vers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-products .pp-tablet__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-products .pp-log__item {
    grid-template-columns: minmax(84px, auto) auto minmax(0, 1fr);
  }

  .page-products .pp-log__desc {
    grid-column: 3 / -1;
  }
}

@media (min-width: 960px) {
  .page-products .pp-hero__panel {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
    align-items: end;
  }

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

  .page-products .pp-updates {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr);
  }

  .page-products .pp-specs {
    position: sticky;
    top: 24px;
  }
}

@media (max-width: 480px) {
  .page-products .pp-hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-products .pp-log__item {
    grid-template-columns: 1fr auto;
  }

  .page-products .pp-log__desc {
    grid-column: 1 / -1;
  }
}
