.page-products {
  overflow-x: clip;
}

/* 首屏 */
.page-products .pp-intro {
  padding-top: clamp(20px, 4vw, 36px);
  padding-bottom: clamp(10px, 2vw, 24px);
}

.page-products .pp-eyebrow {
  margin-top: clamp(22px, 5vw, 48px);
}

.page-products .pp-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 8.4vw, 86px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.page-products .pp-lede {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.85;
  color: var(--cyan-soft);
}

.page-products .pp-stats {
  margin-top: clamp(30px, 5vw, 52px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}

.page-products .pp-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products .pp-stats .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pp-stats .stat--flare .stat-num {
  color: var(--flare);
}

.page-products .pp-stats .stat--amber .stat-num {
  color: var(--amber);
}

.page-products .pp-stats .stat-label {
  font-family: var(--font-index);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

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

/* 章节通用 */
.page-products .pp-module {
  border-top: 1px solid var(--line);
}

.page-products .pp-head .section-index {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: clamp(52px, 12vw, 112px);
  font-weight: 700;
  line-height: 0.86;
  color: var(--cyan);
}

.page-products .pp-head .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--paper);
}

.page-products .pp-head .section-lede {
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

/* 主栏 + 视觉栏 */
.page-products .pp-split {
  margin-top: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .page-products .pp-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    gap: 48px;
  }

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

.page-products .pp-copy p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--paper);
}

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

.page-products .pp-copy strong {
  color: var(--cyan-soft);
  font-weight: 700;
}

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

.page-products .pp-copy ul li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .pp-copy ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}

.page-products .pp-copy--wide {
  margin-top: clamp(22px, 4vw, 34px);
  max-width: 68ch;
}

.page-products .pp-inline-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--cyan);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 224, 176, 0.45);
  padding-bottom: 2px;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-products .pp-inline-link:hover,
.page-products .pp-inline-link:focus-visible {
  color: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

/* 终端切换 */
.page-products .pp-visual {
  min-width: 0;
}

.page-products .pp-tabs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products .pp-tabs-list {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
}

.page-products .pp-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-index);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
}

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

.page-products .pp-tab[aria-selected="true"] {
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

.page-products .pp-tab:focus-visible {
  outline: 2px solid var(--cyan-soft);
  outline-offset: 2px;
}

.page-products .pp-tab-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--panel), var(--panel-2));
}

/* 设备示意 */
.page-products .pp-device {
  border: 1px solid var(--line);
  background: var(--ink);
}

.page-products .pp-device--phone {
  width: min(238px, 80%);
  margin: 0 auto;
  padding: 16px 14px;
  border-radius: 26px;
  box-shadow: 0 30px 60px -36px rgba(20, 224, 176, 0.55);
}

.page-products .pp-dev-head {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.page-products .pp-dev-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 999px;
  padding: 3px 9px;
}

.page-products .pp-dev-pill--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.page-products .pp-dev-track {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 14px;
}

.page-products .pp-dev-track-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft));
}

.page-products .pp-dev-rows {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .pp-dev-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

.page-products .pp-dev-row .u-mono {
  color: var(--paper);
}

.page-products .pp-dev-foot {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  padding: 7px 10px;
  text-align: center;
}

.page-products .pp-device--wide {
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 30px 60px -40px rgba(20, 224, 176, 0.45);
}

.page-products .pp-dev-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@media (min-width: 560px) {
  .page-products .pp-dev-cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.page-products .pp-dev-col {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  background: var(--panel-2);
  min-height: 116px;
}

.page-products .pp-dev-mini {
  display: block;
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}

.page-products .pp-dev-line {
  display: block;
  height: 8px;
  width: 100%;
  border-radius: 999px;
  background: var(--line);
  margin-bottom: 8px;
}

.page-products .pp-dev-line--a {
  background: rgba(20, 224, 176, 0.4);
}

.page-products .pp-dev-line--b {
  background: rgba(255, 194, 74, 0.35);
}

.page-products .pp-dev-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 76px;
}

.page-products .pp-dev-bars span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(20, 224, 176, 0.12));
}

/* 功能对照表 */
.page-products .pp-table-block {
  margin-top: clamp(32px, 5vw, 56px);
}

.page-products .pp-subtitle {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-products .pp-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.page-products .pp-table-wrap .data-table th[data-sort-type] {
  cursor: pointer;
  white-space: nowrap;
}

.page-products .pp-table-wrap .data-table th[data-sort-type]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-products .pp-table-wrap .data-table td {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pp-table-wrap .data-table th[scope="row"] {
  color: var(--paper);
  font-weight: 700;
}

/* 图片 */
.page-products .pp-figure {
  margin: 0;
}

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

.page-products .pp-figure .media-caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pp-figure--wide {
  margin-top: clamp(28px, 5vw, 44px);
}

.page-products .pp-figure--versus {
  margin-bottom: 22px;
}

/* 九个维度标签 */
.page-products .pp-dim-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 雷达与维度卡 */
.page-products .pp-radar-wrap {
  margin-top: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

@media (min-width: 820px) {
  .page-products .pp-radar-wrap {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 44px;
  }
}

.page-products .pp-radar {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
}

.page-products .pp-dims {
  margin-top: clamp(28px, 5vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

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

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

.page-products .pp-dim {
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.page-products .pp-dim:nth-child(2) {
  border-top-color: var(--flare);
}

.page-products .pp-dim:nth-child(5) {
  border-top-color: var(--amber);
}

.page-products .pp-dim h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .pp-dim p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

/* 历史交锋对向条形 */
.page-products .pp-versus-block {
  min-width: 0;
}

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

.page-products .pp-versus-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 8px;
}

.page-products .pp-versus-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--paper);
  text-align: center;
}

.page-products .pp-versus-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2px;
  height: 16px;
}

.page-products .pp-versus-track .a,
.page-products .pp-versus-track .b {
  display: block;
  height: 100%;
  border-radius: 2px;
}

.page-products .pp-versus-track .a {
  justify-self: end;
  background: linear-gradient(90deg, rgba(20, 224, 176, 0.18), var(--cyan));
}

.page-products .pp-versus-track .b {
  justify-self: start;
  background: linear-gradient(90deg, var(--flare), rgba(255, 90, 46, 0.18));
}

.page-products .pp-versus-legend {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.page-products .pp-versus-key {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-radius: 2px;
}

.page-products .pp-versus-key--a {
  background: var(--cyan);
}

.page-products .pp-versus-key--b {
  margin-left: 10px;
  background: var(--flare);
}

/* 场景纸条 */
.page-products .pp-notes {
  margin-top: clamp(28px, 5vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

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

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

.page-products .pp-note {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 34px -28px rgba(0, 0, 0, 0.9);
  transform: rotate(-1deg);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease);
}

.page-products .pp-note:nth-child(2n) {
  transform: rotate(1.1deg);
}

.page-products .pp-note:nth-child(3n) {
  transform: rotate(-0.6deg);
}

.page-products .pp-note:hover,
.page-products .pp-note[open] {
  transform: rotate(0deg);
  border-color: var(--cyan);
}

.page-products .pp-note-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

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

.page-products .pp-note-summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pp-note[open] .pp-note-summary::after {
  content: "–";
}

.page-products .pp-note-summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-products .pp-note-body {
  padding: 0 16px 18px;
}

.page-products .pp-note-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* 合作路径 */
.page-products .pp-path {
  list-style: none;
  counter-reset: pp-path;
  margin: clamp(28px, 5vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

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

.page-products .pp-path-step {
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .pp-path-step::before {
  counter-increment: pp-path;
  content: "0" counter(pp-path);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
}

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

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-note,
  .page-products .pp-tab,
  .page-products .pp-inline-link {
    transition: none;
  }

  .page-products .pp-note {
    transform: none;
  }
}
