.page-products {
  --p-purple: var(--neon-purple);
  --p-blue: var(--electric-blue);
  --p-green: var(--acid-green);
  --p-orange: var(--bright-orange);
  --p-black: var(--deep-black);
  --p-grey: var(--dark-grey);
  --p-mid: var(--mid-grey);
  --p-light: var(--light-grey);
  overflow-x: hidden;
  background: var(--p-black);
  color: var(--p-light);
}

.page-products h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
  color: var(--pure-white);
  margin: 14px 0 16px;
  letter-spacing: .02em;
}

.page-products h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.4;
  color: var(--pure-white);
  margin: 0 0 6px;
}

/* ===== 首屏 ===== */
.page-products .p-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 32px) 0 60px;
  background:
    radial-gradient(ellipse 62% 72% at 76% 48%, rgba(184, 41, 143, .28) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 8% 24%, rgba(30, 144, 255, .15) 0%, transparent 55%),
    linear-gradient(180deg, #0A0A0A 0%, rgba(26, 26, 26, .7) 100%);
}

.page-products .p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(184, 41, 143, .10) 2px,
    rgba(184, 41, 143, .10) 3px,
    transparent 3px,
    transparent 5px
  );
  pointer-events: none;
}

.page-products .p-hero__veil {
  position: absolute;
  top: 8%;
  right: -10%;
  width: 42%;
  height: 240px;
  background: linear-gradient(115deg, rgba(184, 41, 143, .34), rgba(30, 144, 255, .10));
  transform: rotate(-13deg);
  clip-path: polygon(10% 0, 100% 0, 92% 100%, 0 100%);
  pointer-events: none;
}

.page-products .p-hero__inner {
  width: 100%;
  position: relative;
  z-index: 2;
}

.page-products .p-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 44px;
}

.page-products .p-hero__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--p-green);
  border: 1px solid rgba(168, 255, 0, .35);
  padding: 5px 12px;
  margin-bottom: 20px;
  background: rgba(168, 255, 0, .04);
}

.page-products .p-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 6.5vw, 62px);
  line-height: 1.12;
  font-weight: 800;
  color: var(--pure-white);
  margin: 0 0 18px;
  max-width: 760px;
  text-shadow: 0 0 30px rgba(184, 41, 143, .25);
}

.page-products .p-hero__lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--p-light);
  max-width: 640px;
  margin: 0 0 30px;
}

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

.page-products .p-hero__visual {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 41, 143, .4);
  background: linear-gradient(155deg, rgba(26, 26, 26, .85) 0%, rgba(10, 10, 10, .45) 70%);
  overflow: hidden;
  padding: 28px 20px;
}

.page-products .p-hero__vnum {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(96px, 20vw, 190px);
  line-height: 1;
  color: rgba(184, 41, 143, .22);
  -webkit-text-stroke: 2px var(--p-purple);
  text-shadow: 0 0 38px rgba(184, 41, 143, .5), 0 0 12px rgba(30, 144, 255, .25);
  letter-spacing: -.02em;
}

.page-products .p-hero__vsub {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--p-blue);
  border: 1px solid rgba(30, 144, 255, .4);
  background: rgba(30, 144, 255, .08);
  padding: 4px 10px;
  transform: rotate(2deg);
}

.page-products .p-hero__vnote {
  position: absolute;
  bottom: 16px;
  left: 22px;
  writing-mode: vertical-rl;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--p-mid);
}

/* ===== V4 亮点 ===== */
.page-products .p-story {
  padding: 72px 0 56px;
}

.page-products .p-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  align-items: center;
}

.page-products .p-story__media {
  margin: 0;
  position: relative;
  border: 1px solid rgba(30, 144, 255, .26);
  background: linear-gradient(135deg, rgba(30, 144, 255, .12), rgba(184, 41, 143, .10));
  padding: 10px;
  transform: rotate(-1deg);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.page-products .p-story__media:hover {
  transform: rotate(0deg) translateY(-4px);
  border-color: rgba(30, 144, 255, .55);
}

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

.page-products .p-story__cap {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--p-mid);
  padding: 12px 4px 2px;
  letter-spacing: .06em;
}

.page-products .p-story__intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--p-light);
  margin: 0 0 22px;
}

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

.page-products .p-story__list li {
  position: relative;
  padding: 14px 18px 14px 46px;
  background: rgba(26, 26, 26, .55);
  border-left: 3px solid var(--p-green);
  font-size: 15px;
  line-height: 1.7;
  color: var(--p-light);
}

.page-products .p-story__list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 9px;
  height: 9px;
  background: var(--p-green);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(168, 255, 0, .5);
}

.page-products .p-story__list b {
  color: var(--pure-white);
  font-weight: 800;
}

/* ===== 12个分类主项 ===== */
.page-products .p-cats {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.page-products .p-cats__band {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: 0;
  border-bottom: 1px solid rgba(184, 41, 143, .35);
}

.page-products .p-cats__band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .84) 0%, rgba(10, 10, 10, .30) 55%, rgba(10, 10, 10, .92) 100%);
}

.page-products .p-cats__band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .28;
  filter: saturate(1.25) contrast(1.1);
}

.page-products .p-cats__head,
.page-products .p-cats__grid {
  position: relative;
  z-index: 1;
}

.page-products .p-cats__head {
  padding: 20px 0 36px;
  max-width: 760px;
}

.page-products .p-cats__head p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--p-mid);
  margin-bottom: 0;
}

.page-products .p-cats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.page-products .p-cat {
  background: linear-gradient(150deg, var(--p-grey) 0%, #101010 75%);
  border: 1px solid rgba(136, 136, 136, .22);
  border-left: 4px solid var(--p-purple);
  min-width: 0;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.page-products .p-cat:hover {
  border-color: rgba(184, 41, 143, .65);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .5), 0 0 20px rgba(184, 41, 143, .18);
  transform: translateY(-2px);
}

.page-products .p-cat__head {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  cursor: pointer;
  position: relative;
}

.page-products .p-cat__head::-webkit-details-marker {
  display: none;
}

.page-products .p-cat__head::marker {
  content: "";
}

.page-products .p-cat__head::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--p-green);
  margin-left: auto;
  padding-right: 4px;
  transition: transform var(--transition-normal), color var(--transition-normal);
}

.page-products .p-cat[open] .p-cat__head::after {
  transform: rotate(45deg);
  color: var(--p-blue);
}

.page-products .p-cat__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--p-blue);
  background: rgba(30, 144, 255, .08);
  border: 1px solid rgba(30, 144, 255, .28);
  transition: color var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
}

.page-products .p-cat__icon svg {
  display: block;
}

.page-products .p-cat:hover .p-cat__icon {
  color: var(--p-green);
  background: rgba(168, 255, 0, .09);
  border-color: rgba(168, 255, 0, .4);
}

.page-products .p-cat__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--p-mid);
  letter-spacing: .08em;
  flex: none;
}

.page-products .p-cat__title {
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: .03em;
  color: var(--pure-white);
}

.page-products .p-cat__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 18px 0 70px;
  transition: max-height var(--transition-normal), opacity var(--transition-normal), padding var(--transition-normal);
}

.page-products .p-cat[open] .p-cat__body {
  max-height: 320px;
  opacity: 1;
  padding: 6px 18px 20px 70px;
}

.page-products .p-cat__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--p-light);
}

/* ===== 会员中心 ===== */
.page-products .p-center {
  padding: 72px 0;
  background: linear-gradient(180deg, #0A0A0A 0%, rgba(184, 41, 143, .05) 50%, #0A0A0A 100%);
}

.page-products .p-center__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: center;
}

.page-products .p-center__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--p-light);
  margin-bottom: 26px;
}

.page-products .p-center__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-products .p-center__steps::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 38px;
  bottom: 38px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(168, 255, 0, .55) 0 5px, transparent 5px 10px);
}

.page-products .p-center__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 12px 0;
}

.page-products .p-center__step-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--p-grey);
  border: 1px solid rgba(168, 255, 0, .5);
  color: var(--p-green);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 0 14px rgba(168, 255, 0, .14);
}

.page-products .p-center__step-body h3 {
  font-size: 16px;
  margin: 2px 0 6px;
}

.page-products .p-center__step-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--p-light);
}

.page-products .p-center__media {
  border: 1px solid rgba(168, 255, 0, .22);
  padding: 8px;
  background: rgba(168, 255, 0, .03);
}

.page-products .p-center__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== 对局记录导出 ===== */
.page-products .p-export {
  padding: 72px 0;
}

.page-products .p-export__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: center;
}

.page-products .p-export__media {
  order: -1;
  border: 1px solid rgba(30, 144, 255, .24);
  padding: 8px;
  background: rgba(30, 144, 255, .03);
}

.page-products .p-export__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .p-export__lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--p-light);
  margin: 0 0 24px;
}

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

.page-products .p-export__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--p-grey);
  border: 1px solid rgba(136, 136, 136, .2);
  font-size: 15px;
  color: var(--p-light);
  line-height: 1.5;
  transition: border-color var(--transition-normal);
}

.page-products .p-export__steps li:hover {
  border-color: rgba(30, 144, 255, .4);
}

.page-products .p-export__steps li span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--p-blue);
  min-width: 28px;
}

/* ===== 浏览器活动对照表 ===== */
.page-products .p-browser {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #0A0A0A 0%, rgba(30, 144, 255, .05) 50%, #0A0A0A 100%);
}

.page-products .p-browser__media {
  border: 1px solid rgba(30, 144, 255, .2);
  overflow: hidden;
  background: rgba(30, 144, 255, .04);
}

.page-products .p-browser__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .p-browser__head {
  max-width: 780px;
  padding: 36px 0 26px;
}

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

.page-products .p-browser__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products .p-browser-card {
  background: var(--p-grey);
  border: 1px solid rgba(136, 136, 136, .24);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.page-products .p-browser-card:hover {
  border-color: rgba(184, 41, 143, .55);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 16px rgba(184, 41, 143, .15);
}

.page-products .p-browser-card__badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: var(--deep-black);
  margin-bottom: 16px;
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.page-products .p-browser-card__badge--chrome {
  background: var(--p-green);
}

.page-products .p-browser-card__badge--edge {
  background: var(--p-blue);
}

.page-products .p-browser-card__badge--firefox {
  background: var(--p-orange);
}

.page-products .p-browser-card__badge--safari {
  background: var(--p-purple);
}

.page-products .p-browser-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.page-products .p-browser-card p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--p-mid);
  font-family: var(--font-mono);
  letter-spacing: .03em;
}

.page-products .p-browser-card__tag {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--p-green);
  border: 1px solid rgba(168, 255, 0, .38);
  background: rgba(168, 255, 0, .05);
  padding: 3px 10px;
}

.page-products .p-browser__note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--p-mid);
  line-height: 1.7;
}

/* ===== 底部引导 ===== */
.page-products .p-cta {
  padding: 56px 0 88px;
}

.page-products .p-cta__inner {
  border: 1px dashed rgba(184, 41, 143, .55);
  background:
    linear-gradient(120deg, rgba(184, 41, 143, .10), rgba(30, 144, 255, .08)),
    var(--p-grey);
  padding: 40px 28px;
  display: grid;
  gap: 6px;
  justify-items: start;
}

.page-products .p-cta h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.page-products .p-cta p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--p-light);
  max-width: 520px;
}

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

/* ===== 响应式增强 ===== */
@media (min-width: 480px) {
  .page-products .p-browser__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 880px) {
  .page-products .p-hero {
    padding: calc(var(--header-height) + 56px) 0 88px;
  }

  .page-products .p-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    margin-top: 56px;
  }

  .page-products .p-story {
    padding: 96px 0 72px;
  }

  .page-products .p-story__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 60px;
  }

  .page-products .p-cats {
    padding: 88px 0 110px;
  }

  .page-products .p-cats__head {
    padding: 24px 0 40px;
  }

  .page-products .p-cats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px var(--space-xl);
  }

  .page-products .p-cat:nth-child(even) {
    margin-top: 44px;
  }

  .page-products .p-cat__head {
    padding: 20px 20px;
  }

  .page-products .p-cat__body {
    padding: 0 18px 0 74px;
  }

  .page-products .p-cat[open] .p-cat__body {
    padding: 8px 20px 22px 74px;
  }

  .page-products .p-center {
    padding: 96px 0;
  }

  .page-products .p-center__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 60px;
  }

  .page-products .p-export {
    padding: 96px 0;
  }

  .page-products .p-export__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 60px;
  }

  .page-products .p-export__media {
    order: 0;
  }

  .page-products .p-browser {
    padding: 96px 0 80px;
  }

  .page-products .p-browser__head {
    padding: 44px 0 30px;
  }

  .page-products .p-browser__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .page-products .p-browser-card {
    padding: 24px 20px;
  }

  .page-products .p-cta {
    padding: 64px 0 110px;
  }

  .page-products .p-cta__inner {
    padding: 52px 56px;
  }
}
