.page-products {
  --pp-shadow: 0 22px 48px -28px rgba(7, 18, 38, .75);
  --pp-pad: clamp(20px, 3vw, 36px);
  background: var(--ink);
  color: var(--cream);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow-x: hidden;
}

.page-products .pp-crumbs {
  padding-top: clamp(18px, 2.4vw, 28px);
  padding-bottom: 4px;
}

/* ---------- 首屏 ---------- */
.page-products .pp-hero {
  position: relative;
  padding: clamp(20px, 3.6vw, 40px) 0 clamp(36px, 5vw, 64px);
  overflow: hidden;
}

.page-products .pp-hero::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -150px;
  width: min(620px, 92vw);
  height: min(620px, 92vw);
  background: radial-gradient(circle at 35% 35%, rgba(53, 224, 208, .20), rgba(53, 224, 208, 0) 62%);
  pointer-events: none;
}

.page-products .pp-hero::after {
  content: "";
  position: absolute;
  left: -16%;
  bottom: -130px;
  width: 72%;
  height: 260px;
  background: linear-gradient(100deg, rgba(230, 180, 94, .18), rgba(230, 180, 94, 0) 72%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.page-products .pp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-products .pp-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 6.6vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.018em;
  color: var(--cream);
}

.page-products .pp-hero__lead {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.78;
  color: rgba(242, 232, 213, .78);
}

.page-products .pp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.6vw, 28px);
}

.page-products .pp-hero__meta {
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--mist);
}

.page-products .pp-hero__visual {
  position: relative;
  min-width: 0;
}

.page-products .pp-quick {
  display: grid;
  margin-top: 16px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pp-quick__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(242, 232, 213, .06);
  border-bottom: 1px solid var(--line-cool);
}

.page-products .pp-quick__row:last-child {
  border-bottom: 0;
}

.page-products .pp-quick__name {
  min-width: 62px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
}

.page-products .pp-quick__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.page-products .pp-quick__note {
  margin-left: auto;
  font-size: 12px;
  color: var(--mist);
}

/* ---------- 通用区块 ---------- */
.page-products .pp-sec,
.page-products .pp-pricing {
  padding: clamp(34px, 5vw, 64px) 0 clamp(10px, 2vw, 18px);
}

.page-products .pp-sec--final {
  padding-bottom: 0;
}

.page-products .pp-sec__head {
  max-width: 760px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-products .pp-sec__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.012em;
  color: var(--cream);
}

.page-products .pp-sec__lead {
  margin: 12px 0 0;
  max-width: 64ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: rgba(242, 232, 213, .76);
}

.page-products .panel .pp-sec__title {
  color: var(--brown);
}

.page-products .panel .pp-sec__lead {
  color: rgba(36, 26, 22, .74);
}

.page-products .panel--deep .pp-sec__title {
  color: var(--cream);
}

.page-products .panel--deep .pp-sec__lead {
  color: rgba(242, 232, 213, .76);
}

/* ---------- 三档价格 ---------- */
.page-products .pp-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 22px);
}

.page-products .pp-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius);
  border: 1px solid rgba(242, 232, 213, .14);
  box-shadow: var(--pp-shadow);
  overflow: hidden;
  color: var(--cream);
}

.page-products .pp-tier--basic {
  background: linear-gradient(155deg, #2A5C8A 0%, #17395A 100%);
}

.page-products .pp-tier--plus {
  background: linear-gradient(155deg, #1E8F96 0%, #10666B 100%);
}

.page-products .pp-tier--prime {
  background: linear-gradient(160deg, #E38B4F 0%, #C25F2E 100%);
  color: var(--brown);
}

.page-products .pp-tier__name {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .92;
}

.page-products .pp-tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 2px 0 0;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}

.page-products .pp-tier__price span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: .82;
}

.page-products .pp-tier__for {
  margin: 0;
  min-height: 2.2em;
  font-size: 14px;
  line-height: 1.6;
  opacity: .88;
}

.page-products .pp-tier__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.page-products .pp-tier__list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}

.page-products .pp-tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  opacity: .55;
}

.page-products .pp-tier__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(242, 232, 213, .42);
  background: rgba(7, 18, 38, .24);
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.page-products .pp-tier--prime .pp-tier__cta {
  border-color: rgba(36, 26, 22, .34);
  background: rgba(242, 232, 213, .26);
}

.page-products .pp-tier__cta:hover,
.page-products .pp-tier__cta:focus-visible {
  background: rgba(7, 18, 38, .42);
  border-color: rgba(242, 232, 213, .8);
}

.page-products .pp-tier--prime .pp-tier__cta:hover,
.page-products .pp-tier--prime .pp-tier__cta:focus-visible {
  background: rgba(242, 232, 213, .48);
  border-color: rgba(36, 26, 22, .6);
}

/* ---------- 权益对照 ---------- */
.page-products .pp-compare {
  padding: var(--pp-pad);
  border-radius: var(--radius);
  color: var(--brown);
}

.page-products .pp-compare__grid {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  margin-top: clamp(18px, 2.4vw, 26px);
}

.page-products .pp-compare__table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(36, 26, 22, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .38);
}

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

.page-products .pp-table__caption {
  padding: 10px 14px;
  text-align: left;
  font-size: 12.5px;
  color: rgba(36, 26, 22, .62);
}

.page-products .pp-table th,
.page-products .pp-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(36, 26, 22, .12);
}

.page-products .pp-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--cream-2);
  color: var(--brown);
  font-size: 13px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.page-products .pp-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--cream);
  font-weight: 700;
  white-space: nowrap;
}

.page-products .pp-table tbody tr:nth-child(even) td {
  background: rgba(230, 217, 193, .46);
}

.page-products .pp-table tbody tr:nth-child(even) th {
  background: #EADDC6;
}

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

.page-products .pp-table .num {
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-products .pp-compare__aside {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-products .pp-compare__tip {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(36, 26, 22, .76);
}

/* ---------- 到期与续费 ---------- */
.page-products .pp-renew {
  padding: var(--pp-pad);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pp-renew__grid {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  align-items: center;
}

.page-products .pp-renew__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pp-renew__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(242, 232, 213, .82);
}

.page-products .pp-renew__idx {
  color: var(--cyan);
  font-size: 12px;
  padding: 2px 7px;
  border: 1px solid var(--line-cool);
  border-radius: 6px;
}

.page-products .pp-renew__list + .btn {
  margin-top: 24px;
}

/* ---------- 场景 ---------- */
.page-products .pp-scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(18px, 2.5vw, 28px);
}

.page-products .pp-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 26px);
  border-radius: var(--radius);
  background: rgba(242, 232, 213, .055);
  border: 1px solid var(--line-cool);
  overflow: hidden;
}

.page-products .pp-scene::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

.page-products .pp-scene--a::before {
  background: var(--cyan);
}

.page-products .pp-scene--b::before {
  background: var(--gold);
}

.page-products .pp-scene--c::before {
  background: var(--orange);
}

.page-products .pp-scene__title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--cream);
}

.page-products .pp-scene__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(242, 232, 213, .74);
}

.page-products .pp-scene__fit {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-cool);
  font-size: 13.5px;
  color: var(--mist);
}

.page-products .pp-scene__fit strong {
  font-size: 15px;
  color: var(--gold);
}

/* ---------- 升级 ---------- */
.page-products .pp-upgrade {
  padding: var(--pp-pad);
  border-radius: var(--radius);
  color: var(--brown);
}

.page-products .pp-upgrade__grid {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  align-items: center;
}

.page-products .pp-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .pp-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(36, 26, 22, .14);
}

.page-products .pp-step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-products .pp-step__num {
  grid-row: span 2;
  align-self: start;
  padding-top: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

.page-products .pp-step__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
}

.page-products .pp-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(36, 26, 22, .74);
}

.page-products .pp-fold {
  margin-top: 22px;
  border: 1px solid rgba(36, 26, 22, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .42);
}

.page-products .pp-fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
  list-style: none;
}

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

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

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

.page-products .pp-fold__body {
  padding: 0 16px 16px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(36, 26, 22, .78);
}

.page-products .pp-fold__body p {
  margin: 0;
}

.page-products .pp-fold + .btn {
  margin-top: 22px;
}

/* ---------- 下单前 ---------- */
.page-products .pp-final {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  margin-top: clamp(16px, 2.4vw, 24px);
}

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

.page-products .pp-checklist > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(242, 232, 213, .055);
  border: 1px solid var(--line-cool);
}

.page-products .pp-checklist__box {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid var(--cyan);
  border-radius: 5px;
}

.page-products .pp-checklist__box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(40deg);
}

.page-products .pp-checklist__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
}

.page-products .pp-checklist__text {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242, 232, 213, .72);
}

.page-products .pp-cta {
  display: grid;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line-gold);
  background: linear-gradient(120deg, rgba(230, 180, 94, .16), rgba(53, 224, 208, .12));
}

.page-products .pp-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: var(--cream);
}

.page-products .pp-cta__text p:not(.pp-cta__title) {
  margin: 8px 0 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(242, 232, 213, .78);
}

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

/* ---------- 图片容器 ---------- */
.page-products .figure {
  margin: 0;
  min-width: 0;
}

.page-products .figure__frame {
  overflow: hidden;
  border-radius: 10px;
  background: rgba(242, 232, 213, .08);
}

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

.page-products .figure__caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .panel .figure__caption,
.page-products .pp-compare .figure__caption {
  color: rgba(36, 26, 22, .62);
}

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

  .page-products .pp-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

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

  .page-products .pp-final {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-products .pp-hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
  }

  .page-products .pp-renew__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }
}

@media (min-width: 940px) {
  .page-products .pp-upgrade__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }
}

@media (min-width: 980px) {
  .page-products .pp-compare__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 560px) {
  .page-products .pp-quick__note {
    margin-left: 0;
    width: 100%;
  }
}

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