/* ============ 资料与订阅中心 ============ */
.page-products {
  --pp-pad: 20px;
  --pp-line: rgba(199, 208, 218, .16);
  --pp-line-2: rgba(199, 208, 218, .3);
  --pp-card: linear-gradient(158deg, rgba(18, 38, 63, .92), rgba(11, 26, 46, .72));
}

.page-products .pp-wrap {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--pp-pad);
  padding-right: var(--pp-pad);
}

.page-products .pp-crumb {
  padding-top: 16px;
  padding-bottom: 2px;
}

/* ---------- 首屏 ---------- */
.page-products .pp-hero {
  padding-top: 26px;
}

.page-products .pp-hero h1 {
  margin: 12px 0 16px;
  max-width: 22ch;
  font-size: clamp(28px, 7.6vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.012em;
  color: var(--mist);
}

.page-products .pp-hero__lede {
  max-width: 68ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--silver);
}

/* ---------- 两张通道卡 ---------- */
.page-products .pp-channels {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.page-products .pp-channel {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-lg);
  background: var(--pp-card);
}

.page-products .pp-channel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pp-accent), rgba(255, 255, 255, 0) 74%);
}

.page-products .pp-channel::after {
  content: "";
  position: absolute;
  top: -72px;
  right: -64px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pp-glow), transparent 70%);
  pointer-events: none;
}

.page-products .pp-channel > * {
  position: relative;
  z-index: 1;
}

.page-products .pp-channel--legacy {
  --pp-accent: var(--orange);
  --pp-glow: rgba(255, 106, 26, .24);
}

.page-products .pp-channel--new {
  --pp-accent: var(--cyan);
  --pp-glow: rgba(56, 225, 208, .2);
}

.page-products .pp-channel__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pp-accent);
}

.page-products .pp-channel__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pp-accent);
}

.page-products .pp-channel__name {
  margin: 14px 0 10px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--mist);
}

.page-products .pp-channel__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--silver);
}

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

.page-products .pp-channel__notes li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--warm);
}

.page-products .pp-channel__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 9px;
  height: 1px;
  background: var(--pp-accent);
}

.page-products .pp-channel__link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--pp-line-2);
  transition: border-color .22s ease;
}

.page-products .pp-channel__link:hover {
  border-bottom-color: currentColor;
}

/* ---------- 首屏横幅 ---------- */
.page-products .pp-band {
  position: relative;
  margin: 28px 0 0;
  aspect-ratio: 1200 / 320;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-lg);
}

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

.page-products .pp-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 26, 46, .8), rgba(11, 26, 46, 0) 58%, rgba(11, 26, 46, .5));
  pointer-events: none;
}

/* ---------- 通用区块 ---------- */
.page-products .pp-sec {
  padding-top: 56px;
}

.page-products .pp-sec--last {
  padding-bottom: 64px;
}

.page-products .pp-sec__head {
  margin-bottom: 24px;
}

.page-products .pp-sec__head h2 {
  margin: 10px 0 10px;
  font-size: clamp(22px, 4.6vw, 34px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.008em;
  color: var(--mist);
}

.page-products .pp-sec__head p {
  max-width: 66ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--warm);
}

/* ---------- 资料类型 ---------- */
.page-products .pp-types {
  display: grid;
  gap: 24px;
}

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

.page-products .pp-type {
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--pp-line);
  border-left: 3px solid var(--pp-line-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(18, 38, 63, .45);
  transition: border-left-color .22s ease, background-color .22s ease;
}

.page-products .pp-type:hover {
  border-left-color: var(--cyan);
  background: rgba(18, 38, 63, .78);
}

.page-products .pp-type__code {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cyan);
}

.page-products .pp-type__name {
  margin: 6px 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--mist);
}

.page-products .pp-type__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--silver);
}

.page-products .pp-type__meta {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--warm);
}

.page-products .pp-types__fig {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-lg);
}

.page-products .pp-types__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- 旧版通道 ---------- */
.page-products .pp-cream {
  padding: 30px 22px;
  border-radius: var(--r-lg);
  background: var(--cream);
  color: #12263F;
}

.page-products .pp-cream__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brick);
}

.page-products .pp-cream h2 {
  margin: 12px 0 14px;
  font-size: clamp(21px, 4.2vw, 30px);
  line-height: 1.24;
  font-weight: 800;
  color: var(--navy);
}

.page-products .pp-cream p {
  max-width: 68ch;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: #23374F;
}

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

.page-products .pp-cream__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.72;
  color: #23374F;
}

.page-products .pp-cream__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--brick);
  border-radius: 50%;
}

/* ---------- 对照表 ---------- */
.page-products .pp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-md);
}

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

.page-products .pp-table caption {
  padding: 16px 18px 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warm);
}

.page-products .pp-table th,
.page-products .pp-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  line-height: 1.72;
  border-top: 1px solid var(--pp-line);
}

.page-products .pp-table thead th {
  border-top: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--mist);
  background: rgba(14, 59, 69, .55);
}

.page-products .pp-table tbody th {
  width: 128px;
  font-weight: 500;
  color: var(--warm);
  white-space: nowrap;
}

.page-products .pp-table tbody td {
  color: var(--silver);
}

.page-products .pp-table tbody tr:nth-child(even) {
  background: rgba(14, 59, 69, .26);
}

.page-products .pp-table tbody tr:hover {
  background: rgba(14, 59, 69, .5);
}

/* ---------- 流程步骤 ---------- */
.page-products .pp-flow {
  display: grid;
  gap: 22px;
}

.page-products .pp-flow__bg {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1200 / 700;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-lg);
}

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

.page-products .pp-step {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-md);
  background: rgba(18, 38, 63, .5);
  transition: border-color .22s ease;
}

.page-products .pp-step[open] {
  border-color: rgba(56, 225, 208, .45);
}

.page-products .pp-step summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--mist);
}

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

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

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

.page-products .pp-step__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--orange);
}

.page-products .pp-step__body {
  padding: 0 16px 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--silver);
}

.page-products .pp-step__body p {
  margin: 0 0 8px;
}

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

.page-products .pp-step__body a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 225, 208, .4);
}

.page-products .pp-step__body a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 格式徽标 ---------- */
.page-products .pp-formats {
  margin-top: 22px;
}

.page-products .pp-formats__lead {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warm);
}

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

.page-products .pp-fmt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-md);
  background: rgba(18, 38, 63, .45);
  cursor: default;
  transition: border-color .22s ease;
}

.page-products .pp-fmt:hover,
.page-products .pp-fmt:focus-visible {
  border-color: var(--cyan);
  outline: none;
}

.page-products .pp-fmt__code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-products .pp-fmt__size {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--warm);
}

.page-products .pp-fmt__hint {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--silver);
  transition: max-height .22s ease, opacity .22s ease, margin-top .22s ease;
}

.page-products .pp-fmt:hover .pp-fmt__hint,
.page-products .pp-fmt:focus-visible .pp-fmt__hint {
  max-height: 110px;
  margin-top: 4px;
  opacity: 1;
}

/* ---------- 场景路径 ---------- */
.page-products .pp-scene-band {
  margin: 0 0 22px;
  overflow: hidden;
  aspect-ratio: 1400 / 400;
  min-height: 170px;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-lg);
}

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

.page-products .pp-scenes {
  display: grid;
  gap: 14px;
}

.page-products .pp-scene {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(18, 38, 63, .78), rgba(11, 26, 46, .42));
  transition: border-color .22s ease;
}

.page-products .pp-scene:hover {
  border-color: rgba(255, 106, 26, .5);
}

.page-products .pp-scene__role {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-products .pp-scene__name {
  margin: 8px 0 10px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--mist);
}

.page-products .pp-scene__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--silver);
}

.page-products .pp-scene__pick {
  margin: auto 0 0;
  padding-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--warm);
  border-top: 1px solid var(--pp-line);
}

/* ---------- 时效与支持 ---------- */
.page-products .pp-delivery {
  display: grid;
  gap: 26px;
}

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

.page-products .pp-delivery__stats li {
  padding: 16px;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-md);
  background: rgba(18, 38, 63, .5);
}

.page-products .pp-delivery__figure {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 6px;
}

.page-products .pp-delivery__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--orange);
}

.page-products .pp-delivery__unit {
  font-size: 13px;
  color: var(--warm);
}

.page-products .pp-delivery__lbl {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--silver);
}

.page-products .pp-delivery__text {
  max-width: 68ch;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--silver);
}

.page-products .pp-delivery__text a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 225, 208, .4);
}

.page-products .pp-delivery__text a:hover {
  border-bottom-color: var(--cyan);
}

.page-products .pp-delivery__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.page-products .pp-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mist);
  text-decoration: none;
  border: 1px solid var(--pp-line-2);
  border-radius: 999px;
  transition: border-color .22s ease, color .22s ease, background-color .22s ease;
}

.page-products .pp-link:hover {
  color: var(--navy);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-products .pp-delivery__fig {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1000 / 750;
  border: 1px solid var(--pp-line);
  border-radius: var(--r-lg);
}

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

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-products {
    --pp-pad: 28px;
  }

  .page-products .pp-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

  .page-products .pp-scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .page-products .pp-cream {
    padding: 38px 34px;
  }
}

@media (min-width: 900px) {
  .page-products .pp-types {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 34px;
    align-items: start;
  }

  .page-products .pp-flow {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 30px;
    align-items: start;
  }

  .page-products .pp-delivery {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 34px;
    align-items: start;
  }

  .page-products .pp-sec {
    padding-top: 68px;
  }
}

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

  .page-products .pp-scene:nth-child(2),
  .page-products .pp-scene:nth-child(4) {
    transform: translateY(20px);
  }

  .page-products .pp-band {
    aspect-ratio: 1200 / 300;
  }
}

@media (hover: none) {
  .page-products .pp-fmt__hint {
    max-height: 120px;
    margin-top: 4px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-fmt__hint,
  .page-products .pp-channel__link,
  .page-products .pp-type,
  .page-products .pp-scene,
  .page-products .pp-step,
  .page-products .pp-link {
    transition: none;
  }

  .page-products .pp-scene:nth-child(2),
  .page-products .pp-scene:nth-child(4) {
    transform: none;
  }
}
