.page-products {
  --pp-line: rgba(30, 74, 60, .6);
  --pp-surface: linear-gradient(155deg, rgba(16, 48, 38, .78), rgba(6, 23, 16, .58));
  position: relative;
  overflow-x: clip;
  color: var(--text);
  font-family: var(--font-body);
}

.page-products .pp-wrap {
  width: var(--shell);
  margin-inline: auto;
}

/* ---------- 首屏 ---------- */
.page-products .pp-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 2.25rem) 0 2.75rem;
}

.page-products .pp-hero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 90% -8%, rgba(47, 247, 214, .14), transparent 62%),
    radial-gradient(720px 500px at 2% 106%, rgba(255, 138, 43, .10), transparent 64%);
}

.page-products .pp-hero__field::before {
  content: "";
  position: absolute;
  top: -16%;
  right: -10%;
  width: 54%;
  height: 132%;
  transform: skewX(calc(-1 * var(--slant)));
  background: linear-gradient(158deg, rgba(16, 48, 38, .92), rgba(10, 33, 24, .14));
  border-left: 1px solid rgba(47, 247, 214, .2);
}

.page-products .pp-hero__field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grid), transparent);
}

.page-products .pp-hero__body {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.page-products .pp-hero__title {
  margin: .875rem 0 1rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 7vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
}

.page-products .pp-mark {
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}

.page-products .pp-mark::after {
  content: "";
  position: absolute;
  left: -.06em;
  right: -.06em;
  bottom: .04em;
  height: .3em;
  z-index: -1;
  background: linear-gradient(90deg, rgba(47, 247, 214, .46), rgba(255, 138, 43, .26));
}

.page-products .pp-hero__lead {
  max-width: 42rem;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.82;
  color: var(--text-dim);
}

.page-products .pp-hero__note {
  max-width: 40rem;
  margin: 1rem 0 0;
  padding-left: .9rem;
  border-left: 2px solid rgba(47, 247, 214, .4);
  font-size: .875rem;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-products .pp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.page-products .pp-hero__anchor {
  display: grid;
  gap: .4rem;
  padding: 1.5rem 1.35rem 1.6rem;
  background: var(--pp-surface);
  border: 1px solid var(--grid);
  box-shadow: var(--shadow-panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-products .pp-hero__anchor-label {
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--text-dim);
}

.page-products .pp-hero__anchor-value {
  font-family: var(--font-num);
  font-size: clamp(3.25rem, 16vw, 5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--orange);
  text-shadow: 0 0 42px rgba(255, 138, 43, .3);
}

.page-products .pp-hero__anchor-sub {
  font-size: .875rem;
  line-height: 1.72;
  color: var(--text-dim);
}

.page-products .pp-hero__anchor-list {
  display: grid;
  gap: .55rem;
  margin: 1.1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--grid);
  list-style: none;
  font-size: .875rem;
  line-height: 1.68;
  color: var(--text-dim);
}

.page-products .pp-hero__anchor-list .num {
  margin-right: .4rem;
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--cyan);
}

/* ---------- 通用区块 ---------- */
.page-products .pp-block {
  position: relative;
  padding: 3rem 0;
}

.page-products .pp-block + .pp-block {
  border-top: 1px solid var(--pp-line);
}

.page-products .pp-split {
  display: grid;
  gap: 1.75rem;
  width: var(--shell);
  margin-inline: auto;
  align-items: center;
}

.page-products .pp-split__copy > p {
  margin: 0 0 .75rem;
  font-size: .9688rem;
  line-height: 1.82;
  color: var(--text-dim);
}

.page-products .pp-subtitle {
  margin: 0 0 .75rem;
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.page-products .pp-list {
  display: grid;
  gap: .8rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pp-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-products .pp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: .48rem;
  height: .48rem;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.page-products .pp-list strong {
  color: var(--text);
  font-weight: 600;
}

.page-products .pp-inline-note {
  margin: 1.5rem 0 0;
  font-size: .875rem;
  line-height: 1.82;
  color: var(--text-dim);
}

.page-products .pp-inline-note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: .22em;
}

/* ---------- 图像 ---------- */
.page-products .pp-shot {
  margin: 0;
  min-width: 0;
}

.page-products .pp-shot__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--grid);
  background: var(--pp-surface);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-products .pp-shot__frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .pp-shot__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(205deg, rgba(47, 247, 214, .12), transparent 46%);
}

.page-products .pp-shot__caption {
  margin-top: .75rem;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-products .pp-shot--inline {
  margin: 1.15rem 0 .25rem;
}

/* ---------- 表格 ---------- */
.page-products .pp-table-wrap {
  width: 100%;
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--grid);
  background: var(--pp-surface);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-table-wrap .data-table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  font-size: .9375rem;
}

.page-products .pp-table-wrap .data-table th,
.page-products .pp-table-wrap .data-table td {
  padding: .875rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(30, 74, 60, .5);
  line-height: 1.65;
}

.page-products .pp-table-wrap .data-table thead th {
  background: rgba(10, 33, 24, .96);
  color: var(--cyan);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
}

.page-products .pp-table-wrap .data-table tbody th {
  font-family: var(--font-num);
  font-size: .9688rem;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

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

.page-products .pp-table-wrap .data-table tbody tr:hover {
  background: rgba(47, 247, 214, .05);
}

.page-products .pp-table-wrap .data-table .tag {
  display: inline-block;
  white-space: nowrap;
}

/* ---------- 指标 ---------- */
.page-products .pp-metrics {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

.page-products .pp-metric {
  display: grid;
  gap: .2rem;
  padding: 1.35rem 1.15rem 1.4rem;
  background: rgba(10, 33, 24, .62);
  border: 1px solid rgba(30, 74, 60, .72);
  border-top: 2px solid var(--cyan);
}

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

.page-products .pp-metric:nth-child(3) {
  border-top-color: var(--cyan-soft);
}

.page-products .pp-metric:nth-child(4) {
  border-top-color: var(--orange-soft);
}

.page-products .pp-metric__value {
  font-family: var(--font-num);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cyan-soft);
}

.page-products .pp-metric:nth-child(2) .pp-metric__value {
  color: var(--orange);
}

.page-products .pp-metric__label {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
}

.page-products .pp-metric__note {
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ---------- 技能树步骤 ---------- */
.page-products .pp-path {
  display: grid;
  gap: .875rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pp-path__step {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: .5rem 1rem;
  padding: 1.25rem 1.25rem 1.35rem 1.1rem;
  background: var(--pp-surface);
  border: 1px solid var(--grid);
  border-left: 2px solid rgba(47, 247, 214, .48);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-products .pp-path__index {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-num);
  font-size: .875rem;
  font-weight: 800;
  color: var(--ink-900);
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.page-products .pp-path__title {
  align-self: center;
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.4;
  color: var(--text);
}

.page-products .pp-path__desc {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--text-dim);
}

/* ---------- 使用建议 ---------- */
.page-products .pp-audience {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.page-products .pp-audience__card {
  padding: 1.6rem 1.4rem 1.75rem;
  background: var(--pp-surface);
  border: 1px solid var(--grid);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.page-products .pp-audience__card--alt {
  background: linear-gradient(155deg, rgba(255, 138, 43, .12), rgba(12, 32, 24, .74));
  border-color: rgba(255, 138, 43, .34);
}

.page-products .pp-audience__card h3 {
  margin: .9rem 0 .7rem;
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.48;
  color: var(--text);
}

.page-products .pp-audience__card > p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--text-dim);
}

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

@media (min-width: 780px) {
  .page-products .pp-path__step {
    grid-template-columns: 2.5rem 15rem minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 1.5rem 1.45rem 1.35rem;
  }

  .page-products .pp-path__index {
    grid-row: auto;
  }
}

@media (min-width: 880px) {
  .page-products .pp-hero__body {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 3rem;
    align-items: end;
  }

  .page-products .pp-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-products .pp-block {
    padding: 4.5rem 0;
  }

  .page-products .pp-hero {
    padding-top: calc(var(--header-h) + 3.5rem);
    padding-bottom: 4rem;
  }
}

@media (min-width: 960px) {
  .page-products .pp-split {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    gap: 3.5rem;
  }

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

  .page-products .pp-split--reverse > .pp-shot {
    order: 2;
  }

  .page-products .pp-shot--narrow {
    max-width: 46rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-products [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
