.page-products {
  --pp-panel: #15171D;
  --pp-line-soft: rgba(90, 98, 112, .35);
  --pp-tint-flame: rgba(255, 95, 31, .12);
  --pp-tint-cyan: rgba(42, 240, 208, .14);
  --pp-rail-num: clamp(44px, 9vw, 88px);
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
}

.page-products .pp-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: clamp(18px, 3vw, 30px);
  font-size: 14px;
  color: var(--grey);
}

.page-products .pp-crumb__link {
  color: var(--grey);
  text-decoration: none;
}

.page-products .pp-crumb__link:hover {
  color: var(--flame-soft);
}

.page-products .pp-crumb__sep {
  color: var(--pp-line-soft);
}

.page-products .fx-breadcrumb__item[aria-current="page"] {
  color: var(--flame);
  font-weight: 600;
}

/* ---------- 首屏 ---------- */
.page-products .pp-hero {
  padding-top: clamp(32px, 5vw, 60px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.page-products .pp-hero__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

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

.page-products .pp-hero__text .fx-lead {
  max-width: 34em;
  margin-top: 18px;
  color: #CFCCC6;
}

.page-products .pp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 36px);
}

.page-products .pp-hero__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--pp-line-soft);
  border: 1px solid var(--pp-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-products .pp-stat {
  background: var(--panel);
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page-products .pp-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: .02em;
}

.page-products .pp-stat__label {
  font-size: 14px;
  color: var(--grey);
}

/* ---------- 章节骨架 ---------- */
.page-products .pp-sec {
  position: relative;
  border-top: 1px solid var(--pp-line-soft);
}

.page-products .pp-sec--panel {
  background: var(--pp-panel);
}

.page-products .pp-sec--panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: clamp(90px, 22vw, 260px);
  height: 3px;
  background: linear-gradient(90deg, var(--flame), rgba(255, 95, 31, 0));
}

.page-products .pp-split {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

@media (min-width: 960px) {
  .page-products .pp-split {
    grid-template-columns: minmax(96px, 170px) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 76px);
    align-items: start;
  }
}

.page-products .pp-rail {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

@media (min-width: 960px) {
  .page-products .pp-rail {
    position: sticky;
    top: 112px;
    flex-direction: column;
    gap: 6px;
  }
}

.page-products .pp-rail__num {
  font-family: var(--font-mono);
  font-size: var(--pp-rail-num);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  transition: color 240ms ease-out, -webkit-text-stroke-color 240ms ease-out;
}

.page-products .pp-sec.is-active .pp-rail__num {
  color: var(--flame);
  -webkit-text-stroke-color: var(--flame);
}

.page-products .pp-rail__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--grey);
}

.page-products .pp-h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.28;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  color: var(--white);
}

.page-products .pp-h3 {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--white);
}

.page-products .pp-p {
  max-width: 36em;
  margin: 0 0 18px;
  line-height: 1.85;
  color: #D6D3CD;
}

.page-products .pp-note {
  max-width: 36em;
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--flame);
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
}

.page-products .pp-link {
  color: var(--flame-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pp-link:hover {
  color: var(--cyan);
}

.page-products .pp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 38em;
}

.page-products .pp-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.8;
  color: #D6D3CD;
}

.page-products .pp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-products .pp-list strong {
  color: var(--white);
}

/* ---------- 设备预览切换 ---------- */
.page-products .pp-switch {
  margin-top: clamp(24px, 3vw, 36px);
}

.page-products .pp-radio {
  position: absolute;
}

.page-products .pp-switch__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.page-products .pp-switch__tabs::-webkit-scrollbar {
  display: none;
}

.page-products .pp-switch__tab {
  flex: 0 0 auto;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--pp-line-soft);
  background: var(--panel);
  color: var(--grey);
  font-size: 14px;
  font-weight: 500;
  transition: color 200ms ease-out, border-color 200ms ease-out, background 200ms ease-out;
}

.page-products #ppv-phone:checked ~ .pp-switch__tabs label[for="ppv-phone"],
.page-products #ppv-desktop:checked ~ .pp-switch__tabs label[for="ppv-desktop"],
.page-products #ppv-tv:checked ~ .pp-switch__tabs label[for="ppv-tv"] {
  color: #16110D;
  background: linear-gradient(120deg, var(--flame), var(--flame-soft));
  border-color: transparent;
}

.page-products .pp-stage {
  margin-top: 20px;
  min-height: 260px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--pp-line-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(255, 95, 31, .16), rgba(255, 95, 31, 0) 62%),
    var(--panel);
}

.page-products .pp-device {
  display: none;
}

.page-products #ppv-phone:checked ~ .pp-stage .pp-device[data-panel="phone"],
.page-products #ppv-desktop:checked ~ .pp-stage .pp-device[data-panel="desktop"],
.page-products #ppv-tv:checked ~ .pp-stage .pp-device[data-panel="tv"] {
  display: block;
  animation: pp-fade 260ms ease-out;
}

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

.page-products .pp-device img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  background: var(--ink);
}

.page-products .pp-device--phone {
  width: min(300px, 100%);
  margin: 0 auto;
  padding: 12px;
  border-radius: 36px;
  border: 1px solid var(--pp-line-soft);
  background: linear-gradient(160deg, #24262E, #101116);
  box-shadow: var(--shadow-card);
}

.page-products .pp-device__notch {
  width: 66px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: var(--pill);
  background: var(--line);
  opacity: .6;
}

.page-products .pp-device--phone img {
  border-radius: 26px;
}

.page-products .pp-device--desktop,
.page-products .pp-device--tv {
  padding: 12px 12px 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--pp-line-soft);
  background: linear-gradient(160deg, #22242B, #101116);
  box-shadow: var(--shadow-card);
}

.page-products .pp-device__bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 22px;
  padding-left: 4px;
}

.page-products .pp-device__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  opacity: .7;
}

.page-products .pp-device__frame {
  padding: clamp(20px, 4vw, 44px) clamp(16px, 3vw, 32px);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 95, 31, .18), rgba(42, 240, 208, .1)),
    var(--ink);
  text-align: center;
}

.page-products .pp-tv__score {
  font-family: var(--font-mono);
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.page-products .pp-tv__meta {
  margin: 10px 0 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
}

.page-products .pp-tv__bars {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}

.page-products .pp-tv__bars span {
  display: block;
  height: 8px;
  width: var(--w, 50%);
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--flame), var(--cyan));
}

.page-products .pp-switch__hint {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--grey);
}

/* ---------- 横屏三面板 ---------- */
.page-products .pp-panels {
  display: grid;
  gap: 16px;
  margin: 26px 0 clamp(28px, 4vw, 44px);
}

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

.page-products .pp-panel {
  padding: 22px;
}

.page-products .pp-panel__title {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--white);
}

.page-products .pp-panel__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
}

.page-products .pp-panel__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

/* ---------- 时间轴 ---------- */
.page-products .pp-timeline {
  margin: 18px 0 clamp(28px, 4vw, 44px);
  padding: 20px clamp(14px, 2.4vw, 24px) 8px;
  border: 1px solid var(--pp-line-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(42, 240, 208, .07), rgba(42, 240, 208, 0) 70%),
    var(--pp-panel);
}

.page-products .pp-timeline__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--grey);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--pp-line-soft);
}

.page-products .pp-timeline__track {
  list-style: none;
  margin: 0;
  padding: 16px 0 20px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-products .pp-timeline__item {
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
  position: relative;
}

.page-products .pp-timeline__item::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(42, 240, 208, .16);
}

.page-products .pp-snap {
  border-top: 1px solid var(--pp-line-soft);
  padding-top: 14px;
}

.page-products .pp-snap__sum {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .pp-snap__sum::-webkit-details-marker {
  display: none;
}

.page-products .pp-snap__time {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.page-products .pp-snap__type {
  font-size: 13px;
  color: var(--flame);
}

.page-products .pp-snap__body {
  padding-top: 10px;
}

.page-products .pp-snap__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--grey);
}

.page-products .pp-snap[open] .pp-snap__type {
  color: var(--cyan);
}

.page-products .pp-figure {
  margin: clamp(24px, 4vw, 40px) 0 0;
}

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

/* ---------- 字段表 ---------- */
.page-products .pp-fields {
  display: grid;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-products .pp-field-group {
  border: 1px solid var(--pp-line-soft);
  border-radius: var(--radius-md);
  background: var(--panel);
  overflow: hidden;
}

.page-products .pp-field-group__sum {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.page-products .pp-field-group__sum::-webkit-details-marker {
  display: none;
}

.page-products .pp-field-group__sum::after {
  content: "＋";
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--flame);
}

.page-products .pp-field-group[open] .pp-field-group__sum::after {
  content: "－";
  color: var(--cyan);
}

.page-products .pp-field-group__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.page-products .pp-field-group__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey);
  margin-right: auto;
  padding-left: 10px;
}

.page-products .pp-table__wrap {
  overflow-x: auto;
  border-top: 1px solid var(--pp-line-soft);
}

.page-products .pp-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .pp-table th,
.page-products .pp-table td {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--pp-line-soft);
  line-height: 1.6;
}

.page-products .pp-table th {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--grey);
  background: var(--pp-panel);
  white-space: nowrap;
}

.page-products .pp-table td {
  color: #D6D3CD;
}

.page-products .pp-table td.fx-num {
  font-family: var(--font-mono);
  color: var(--cyan);
}

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

/* ---------- 三步路径 ---------- */
.page-products .pp-path {
  margin: 24px 0 0;
}

.page-products .pp-path__time {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--flame-soft);
}

/* ---------- 多端 ---------- */
.page-products .pp-devices {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

@media (min-width: 760px) {
  .page-products .pp-devices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .pp-devices__item {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--pp-line-soft);
  background: linear-gradient(150deg, rgba(255, 95, 31, .1), rgba(255, 95, 31, 0) 70%), var(--ink);
}

.page-products .pp-devices__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
}

/* ---------- 刷新刻度 ---------- */
.page-products .pp-refresh {
  position: relative;
  margin: 26px 0 28px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--pp-line-soft);
  border-radius: var(--radius-lg);
  background: var(--pp-panel);
}

.page-products .pp-refresh__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .pp-refresh__tick {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--pp-line-soft);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--grey);
  transition: color 200ms ease-out, background 200ms ease-out, border-color 200ms ease-out;
}

.page-products #ppr-3:checked ~ .pp-refresh__ticks label[for="ppr-3"],
.page-products #ppr-8:checked ~ .pp-refresh__ticks label[for="ppr-8"],
.page-products #ppr-15:checked ~ .pp-refresh__ticks label[for="ppr-15"],
.page-products #ppr-30:checked ~ .pp-refresh__ticks label[for="ppr-30"] {
  color: #16110D;
  background: var(--cyan);
  border-color: transparent;
}

.page-products .pp-refresh__bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 6px;
  margin: 22px 0 18px;
  border-radius: var(--pill);
  background: rgba(90, 98, 112, .3);
  overflow: hidden;
}

.page-products .pp-refresh__fill {
  display: block;
  background: linear-gradient(90deg, var(--flame), var(--cyan));
  opacity: 0;
  transition: opacity 220ms ease-out;
}

.page-products #ppr-3:checked ~ .pp-refresh__bar .pp-refresh__fill[data-fill="3"],
.page-products #ppr-8:checked ~ .pp-refresh__bar .pp-refresh__fill[data-fill="8"],
.page-products #ppr-15:checked ~ .pp-refresh__bar .pp-refresh__fill[data-fill="15"],
.page-products #ppr-30:checked ~ .pp-refresh__bar .pp-refresh__fill[data-fill="30"] {
  opacity: 1;
}

.page-products .pp-read {
  display: none;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #D6D3CD;
}

.page-products #ppr-3:checked ~ .pp-refresh__readout .pp-read[data-read="3"],
.page-products #ppr-8:checked ~ .pp-refresh__readout .pp-read[data-read="8"],
.page-products #ppr-15:checked ~ .pp-refresh__readout .pp-read[data-read="15"],
.page-products #ppr-30:checked ~ .pp-refresh__readout .pp-read[data-read="30"] {
  display: block;
}

/* ---------- 适用人群 ---------- */
.page-products .pp-audience {
  display: grid;
  gap: 14px;
  margin: 24px 0 clamp(28px, 4vw, 44px);
}

@media (min-width: 760px) {
  .page-products .pp-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .pp-audience__card {
  padding: 22px;
}

.page-products .pp-audience__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
}

/* ---------- 收尾 ---------- */
.page-products .pp-cta {
  border-top: 1px solid var(--pp-line-soft);
  padding-bottom: clamp(56px, 7vw, 100px);
}

.page-products .pp-cta__inner {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 95, 31, .3);
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(255, 95, 31, .24), rgba(255, 95, 31, 0) 60%),
    var(--panel);
  overflow: hidden;
}

.page-products .pp-cta__inner::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 240, 208, .22), rgba(42, 240, 208, 0) 70%);
  pointer-events: none;
}

.page-products .pp-cta__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--white);
}

.page-products .pp-cta__text {
  max-width: 40em;
  margin: 0 0 24px;
  line-height: 1.85;
  color: #D6D3CD;
}

.page-products .pp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-device,
  .page-products .pp-rail__num,
  .page-products .pp-refresh__fill {
    animation: none;
    transition: none;
  }
}

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