.page-products {
  --pp-space: clamp(20px, 4vw, 44px);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  color: var(--fog);
}

.page-products a:not(.btn) {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(94, 242, 194, .35);
  transition: color .22s ease, border-color .22s ease;
}

.page-products a:not(.btn):hover,
.page-products a:not(.btn):focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.page-products .p-crumbs {
  padding-bottom: 4px;
}

/* ---------- 首屏 ---------- */
.page-products .p-hero {
  position: relative;
  padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 6vw, 76px);
  overflow: hidden;
}

.page-products .p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 76% at 88% -10%, rgba(31, 138, 112, .32), transparent 62%),
    linear-gradient(180deg, rgba(14, 59, 53, .58), transparent 60%);
  pointer-events: none;
}

.page-products .p-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 44px);
}

.page-products .p-hero__title {
  margin: 14px 0 clamp(16px, 2.4vw, 26px);
  font-size: clamp(2.15rem, 7.4vw, 4.5rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: .015em;
}

.page-products .p-hero__lead {
  max-width: 46ch;
  margin: 0 0 clamp(22px, 3vw, 32px);
  color: var(--text-dim);
  font-size: clamp(.94rem, 1.6vw, 1.06rem);
  line-height: 1.88;
}

.page-products .p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .p-hero__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.page-products .p-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.72) contrast(1.06);
}

.page-products .p-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .p-hero__stats > div {
  background: var(--panel);
  padding: 15px 17px;
}

.page-products .p-hero__stats dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--mist);
}

.page-products .p-hero__stats dd {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--fog);
  line-height: 1.3;
}

/* ---------- 章节通用 ---------- */
.page-products .p-head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 4.2vw, 48px);
}

.page-products .p-head .chapter-num {
  display: inline-block;
  padding-left: 10px;
  border-left: 2px solid var(--lime);
}

.page-products .p-head h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.5rem, 4.4vw, 2.65rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: .012em;
}

.page-products .p-head__lead {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.88;
}

/* ---------- 01 入口 ---------- */
.page-products .p-entry__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .p-entry__card {
  position: relative;
  padding: clamp(22px, 3.4vw, 38px);
  background: var(--panel);
  transition: background .28s ease;
}

.page-products .p-entry__card--b {
  background: linear-gradient(158deg, var(--valley), var(--panel) 72%);
}

.page-products .p-entry__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s ease;
}

.page-products .p-entry__card:hover::after,
.page-products .p-entry__card:focus-within::after {
  transform: scaleX(1);
}

.page-products .p-entry__kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--mint);
}

.page-products .p-entry__card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.08rem, 2.4vw, 1.45rem);
  line-height: 1.32;
}

.page-products .p-entry__card p {
  margin: 0 0 16px;
  color: var(--text-dim);
  font-size: .94rem;
  line-height: 1.85;
}

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

.page-products .p-list li {
  position: relative;
  padding-left: 21px;
  color: var(--text-dim);
  font-size: .89rem;
  line-height: 1.72;
}

.page-products .p-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 9px;
  height: 1px;
  background: var(--lime);
}

.page-products .p-entry__note {
  margin: clamp(18px, 3vw, 26px) 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--karst);
  color: var(--text-dim);
  font-size: .9rem;
  line-height: 1.85;
}

/* ---------- 02 对照面板 ---------- */
.page-products .p-panel__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
}

.page-products .p-panel__board {
  position: relative;
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(11, 34, 57, .96), rgba(6, 20, 24, .99));
  box-shadow: 0 26px 62px -32px rgba(0, 0, 0, .92);
}

.page-products .p-panel__board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .16;
  pointer-events: none;
}

.page-products .p-panel__board > * {
  position: relative;
}

.page-products .p-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-products .p-board__label {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--fog);
}

.page-products .p-board__sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .73rem;
  color: var(--mist);
}

.page-products .p-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: pp-pulse 2.6s ease-out infinite;
}

@keyframes pp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 242, 194, .55); }
  70% { box-shadow: 0 0 0 9px rgba(94, 242, 194, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 242, 194, 0); }
}

.page-products .p-metrics {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  display: grid;
  gap: 0;
}

.page-products .p-metric {
  display: grid;
  grid-template-columns: 5.8em minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(46, 74, 70, .78);
}

.page-products .p-metric:last-child {
  border-bottom: 0;
}

.page-products .p-metric__name {
  font-size: .85rem;
  color: var(--text-dim);
}

.page-products .p-metric__track {
  display: block;
  position: relative;
  height: 6px;
  background: rgba(46, 74, 70, .48);
  overflow: hidden;
}

.page-products .p-metric__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--karst), var(--lime));
  transition: width .45s ease, background .25s ease;
}

.page-products .p-metric:hover .p-metric__fill {
  background: linear-gradient(90deg, var(--mint), var(--lime));
}

.page-products .p-board__foot {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--steel);
}

.page-products .p-panel__side {
  display: grid;
  gap: clamp(18px, 3vw, 26px);
}

.page-products .p-panel__side h3 {
  margin: 0 0 12px;
  font-size: clamp(1.02rem, 2.2vw, 1.32rem);
  line-height: 1.42;
}

.page-products .p-panel__side p {
  margin: 0;
  color: var(--text-dim);
  font-size: .92rem;
  line-height: 1.88;
}

.page-products .p-panel__side figure {
  margin: 0;
  border: 1px solid var(--line);
}

.page-products .p-panel__side img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.7) contrast(1.04);
}

/* ---------- 03 场馆与转会 ---------- */
.page-products .p-extra__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.page-products .p-extra__figure {
  margin: 0;
  border: 1px solid var(--line);
  transform: skewY(-1.2deg);
}

.page-products .p-extra__figure img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.6) contrast(1.05);
  transform: skewY(1.2deg) scale(1.02);
}

.page-products .p-extra__copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.06rem, 2.3vw, 1.34rem);
  line-height: 1.4;
}

.page-products .p-extra__copy h3 + p {
  margin-top: 0;
}

.page-products .p-extra__copy p {
  margin: 0 0 24px;
  color: var(--text-dim);
  font-size: .93rem;
  line-height: 1.9;
}

.page-products .p-extra__link {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .04em;
}

/* ---------- 04 回看 ---------- */
.page-products .p-replay__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.page-products .p-replay__phone {
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-products .p-replay__phone img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.72) contrast(1.05);
}

.page-products .p-replay__cards {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .p-replay__card {
  background: var(--bg);
  padding: clamp(18px, 2.6vw, 26px);
  transition: background .26s ease, transform .26s ease;
}

.page-products .p-replay__card:hover,
.page-products .p-replay__card:focus-within {
  background: var(--panel);
  transform: translateY(-2px);
}

.page-products .p-replay__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 8px;
  border: 1px solid var(--karst);
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .12em;
  color: var(--karst);
}

.page-products .p-replay__card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.42;
}

.page-products .p-replay__card p {
  margin: 0 0 12px;
  color: var(--text-dim);
  font-size: .89rem;
  line-height: 1.78;
}

.page-products .p-replay__sync {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: .71rem;
  color: var(--mist);
}

.page-products .p-replay__sync i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--karst);
  transition: background .26s ease;
}

.page-products .p-replay__card:hover .p-replay__sync i {
  background: var(--lime);
}

/* ---------- 05 注册步骤 ---------- */
.page-products .p-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-products .p-step {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: clamp(20px, 3vw, 32px) clamp(18px, 3vw, 28px);
  background: var(--bg);
  border-left: 2px solid transparent;
  transition: background .26s ease, border-color .26s ease;
}

.page-products .p-step:hover {
  background: var(--valley);
  border-left-color: var(--lime);
}

.page-products .p-step__num {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .16em;
  color: var(--lime);
}

.page-products .p-step h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.4;
}

.page-products .p-step p {
  margin: 0;
  color: var(--text-dim);
  font-size: .9rem;
  line-height: 1.82;
}

.page-products .p-steps__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .p-steps__foot p {
  flex: 1 1 300px;
  margin: 0;
  color: var(--text-dim);
  font-size: .91rem;
  line-height: 1.85;
}

/* ---------- 06 刷新节奏 ---------- */
.page-products .p-refresh {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 7vw, 92px) 0;
}

.page-products .p-refresh__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.page-products .p-refresh__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
  filter: saturate(.85);
}

.page-products .p-refresh__copy {
  position: relative;
  z-index: 1;
  max-width: 72ch;
}

.page-products .p-refresh__copy h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.45rem, 4.2vw, 2.5rem);
  line-height: 1.18;
  font-weight: 800;
}

.page-products .p-refresh__lead {
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: var(--text-dim);
  line-height: 1.9;
}

.page-products .p-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(46, 74, 70, .65);
  border: 1px solid rgba(46, 74, 70, .65);
}

.page-products .p-facts li {
  padding: 17px 19px;
  background: rgba(6, 20, 24, .88);
  color: var(--text-dim);
  font-size: .89rem;
  line-height: 1.75;
}

.page-products .p-facts strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: .95rem;
  letter-spacing: .04em;
  font-weight: 700;
  color: var(--lime);
}

/* ---------- 收尾 ---------- */
.page-products .p-cta {
  padding: clamp(44px, 7vw, 88px) 0;
}

.page-products .p-cta__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--valley), var(--ink) 64%);
}

.page-products .p-cta__inner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -8%;
  width: 42%;
  height: 210%;
  background: linear-gradient(180deg, transparent, rgba(201, 255, 61, .13), transparent);
  transform: rotate(18deg);
  pointer-events: none;
}

.page-products .p-cta__inner > * {
  position: relative;
}

.page-products .p-cta__inner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 4vw, 2.3rem);
  line-height: 1.2;
  font-weight: 800;
}

.page-products .p-cta__inner p {
  max-width: 56ch;
  margin: 0 0 clamp(20px, 3vw, 28px);
  color: var(--text-dim);
  line-height: 1.85;
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .p-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .page-products .p-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .p-hero__inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    align-items: end;
  }

  .page-products .p-extra__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }
}

@media (min-width: 960px) {
  .page-products .p-panel__layout {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  }

  .page-products .p-replay__grid {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
  }

  .page-products .p-replay__phone {
    margin: clamp(18px, 3vw, 34px) 0 0;
    max-width: 100%;
  }
}

@media (max-width: 559px) {
  .page-products .p-hero__figure {
    clip-path: none;
  }

  .page-products .p-extra__figure,
  .page-products .p-extra__figure img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .page-products .p-dot {
    animation: none;
  }
}

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