.page-products {
  display: block;
  padding-bottom: clamp(40px, 6vw, 80px);
}

.page-products [id] {
  scroll-margin-top: 24px;
}

/* ---------- 面包屑 ---------- */
.page-products .crumbs {
  margin-top: clamp(16px, 2.6vw, 30px);
  font-size: 14px;
}
.page-products .crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
}
.page-products .crumbs li + li::before {
  content: "／";
  margin-right: 6px;
  color: rgba(166, 172, 185, .45);
}
.page-products .crumbs a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.page-products .crumbs a:hover {
  color: var(--gold-hi);
  border-bottom-color: var(--line-gold);
}

/* ---------- 首屏 ---------- */
.page-products .p-hero {
  position: relative;
  display: grid;
  margin-top: clamp(18px, 3vw, 34px);
  min-height: clamp(430px, 66vh, 660px);
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-100);
  box-shadow: var(--lift);
}
.page-products .p-hero-media {
  grid-area: 1 / 1;
  position: relative;
}
.page-products .p-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}
.page-products .p-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 80% at 82% 8%, rgba(139, 92, 255, .32), transparent 58%),
    linear-gradient(145deg, rgba(6, 7, 12, .93) 6%, rgba(6, 7, 12, .46) 48%, rgba(13, 71, 68, .72) 100%);
}
.page-products .p-hero-body {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 5vw, 58px);
  max-width: 62em;
}
.page-products .p-hero-body .eyebrow {
  margin: 0;
}
.page-products .p-hero h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 800;
  background: linear-gradient(102deg, var(--gold-hi) 4%, var(--gold) 42%, var(--ivory) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 46px rgba(229, 185, 78, .16);
}
.page-products .p-hero-lede {
  margin: 0;
  max-width: 40em;
  color: rgba(245, 242, 234, .82);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.78;
}
.page-products .p-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.page-products .p-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 44px);
  margin: 14px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.page-products .p-hero-stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.page-products .p-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.page-products .p-stat-txt {
  font-size: 13px;
  color: var(--mist);
  letter-spacing: .04em;
}

/* ---------- 通用章节 ---------- */
.page-products .p-section {
  padding-block: clamp(44px, 6.4vw, 92px);
}
.page-products .p-section + .p-section {
  box-shadow: inset 0 1px 0 rgba(245, 242, 234, .08);
}
.page-products .p-lead {
  max-width: 44em;
  margin-top: clamp(12px, 1.8vw, 20px);
  color: var(--mist);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
}
.page-products .section-head .eyebrow {
  margin-bottom: 10px;
}

/* ---------- 01 打开方式 ---------- */
.page-products .p-entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(24px, 3.4vw, 42px);
}
.page-products .p-entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  background: linear-gradient(168deg, var(--glass-2), rgba(6, 7, 12, .55));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.page-products .p-entry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan), transparent 88%);
}
.page-products .p-entry-card--cyan::before {
  background: linear-gradient(90deg, var(--cyan), var(--violet), transparent 88%);
}
.page-products .p-entry-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--lift);
}
.page-products .p-entry-card h3 {
  margin: 0;
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 600;
  color: var(--ivory);
}
.page-products .p-entry-card > p {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
}
.page-products .p-ticks {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.page-products .p-ticks li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(245, 242, 234, .78);
}
.page-products .p-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(53, 224, 206, .7);
}

/* ---------- 02 两步流程 ---------- */
.page-products .p-flow-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
  margin-top: clamp(24px, 3.4vw, 40px);
}
.page-products .p-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
}
.page-products .p-flow-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}
.page-products .p-flow-node {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.page-products .p-flow-node:hover {
  transform: translateY(-3px);
  border-color: var(--line-cyan);
}
.page-products .p-flow-idx {
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  color: var(--violet);
  letter-spacing: -.02em;
}
.page-products .p-flow-node strong {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  color: var(--ivory);
}
.page-products .p-flow-hint {
  font-size: 13px;
  color: var(--mist);
}
.page-products #flow-1:checked + .p-flow-node,
.page-products #flow-2:checked + .p-flow-node {
  border-color: var(--line-gold);
  background: linear-gradient(158deg, rgba(229, 185, 78, .16), rgba(245, 242, 234, .04));
  box-shadow: var(--lift);
}
.page-products #flow-1:checked + .p-flow-node .p-flow-idx,
.page-products #flow-2:checked + .p-flow-node .p-flow-idx {
  color: var(--gold);
}
.page-products .p-flow-panels {
  margin-top: 10px;
}
.page-products .p-flow-panel {
  display: none;
  padding: clamp(20px, 2.6vw, 28px);
  border-left: 2px solid var(--line-gold);
  background: linear-gradient(100deg, rgba(229, 185, 78, .08), transparent 72%);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.page-products #flow-1:checked ~ .p-flow-panels .p-flow-panel:nth-child(1),
.page-products #flow-2:checked ~ .p-flow-panels .p-flow-panel:nth-child(2) {
  display: block;
}
.page-products .p-flow-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  color: var(--ivory);
}
.page-products .p-flow-panel p {
  margin: 0 0 10px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}
.page-products .p-flow-panel p:last-child {
  margin-bottom: 0;
}
.page-products .p-flow-figure {
  margin: 0;
}
.page-products .p-flow-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: cover;
  aspect-ratio: 10 / 7;
  background: var(--ink-100);
}

/* ---------- 03 记录专区 ---------- */
.page-products .p-zone--records {
  padding-block: clamp(44px, 6.4vw, 92px);
  background:
    radial-gradient(120% 92% at 8% 0%, rgba(53, 224, 206, .18), transparent 60%),
    linear-gradient(158deg, var(--jade) 0%, #08211f 62%, var(--ink-000) 100%);
  border-top: 1px solid var(--line-cyan);
  border-bottom: 1px solid var(--line-cyan);
}
.page-products .p-rec {
  position: relative;
  margin-top: clamp(22px, 3vw, 34px);
}
.page-products .p-tab-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}
.page-products .p-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 12px 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(245, 242, 234, .2);
  background: rgba(6, 7, 12, .34);
  color: rgba(245, 242, 234, .82);
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: color .26s var(--ease), background .26s var(--ease), border-color .26s var(--ease);
}
.page-products .p-tab:hover {
  border-color: var(--line-cyan);
  color: var(--ivory);
}
.page-products #rec-all:checked + .p-tab,
.page-products #rec-auth:checked + .p-tab,
.page-products #rec-act:checked + .p-tab,
.page-products #dev-all:checked + .p-tab,
.page-products #dev-phone:checked + .p-tab,
.page-products #dev-pad:checked + .p-tab,
.page-products #dev-pc:checked + .p-tab {
  color: var(--ink-000);
  font-weight: 600;
  border-color: transparent;
  background: linear-gradient(118deg, var(--gold-hi), var(--gold));
  box-shadow: 0 10px 26px -14px rgba(229, 185, 78, .9);
}
.page-products .p-rec-body,
.page-products .p-dev-body {
  display: block;
  margin-top: 8px;
}

/* ---------- 表格 ---------- */
.page-products .p-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(245, 242, 234, .16);
  border-radius: var(--radius);
  background: rgba(6, 7, 12, .42);
  -webkit-overflow-scrolling: touch;
}
.page-products .p-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14px;
}
.page-products .p-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--mist);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(245, 242, 234, .16);
  white-space: nowrap;
}
.page-products .p-table tbody td {
  padding: 14px 18px;
  color: rgba(245, 242, 234, .86);
  border-bottom: 1px solid rgba(245, 242, 234, .07);
  vertical-align: middle;
}
.page-products .p-table tbody tr:nth-child(odd) {
  background: rgba(245, 242, 234, .035);
}
.page-products .p-table tbody tr:last-child td {
  border-bottom: 0;
}
.page-products .p-table tbody tr {
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.page-products .p-table tbody tr:hover {
  background: rgba(53, 224, 206, .12);
  box-shadow: inset 3px 0 0 var(--cyan);
}
.page-products .p-table tbody tr:hover td {
  color: var(--ivory);
}
.page-products .p-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.page-products .p-tag--cyan {
  color: var(--cyan);
  border-color: var(--line-cyan);
  background: rgba(53, 224, 206, .1);
}
.page-products .p-tag--gold {
  color: var(--gold-hi);
  border-color: var(--line-gold);
  background: rgba(229, 185, 78, .12);
}
.page-products .p-tag--violet {
  color: #c3aaff;
  border-color: var(--line-violet);
  background: rgba(139, 92, 255, .14);
}

/* 记录/终端筛选联动 */
.page-products #rec-auth:checked ~ .p-rec-body tbody tr[data-kind="activity"],
.page-products #rec-act:checked ~ .p-rec-body tbody tr:not([data-kind="activity"]),
.page-products #dev-phone:checked ~ .p-dev-body tbody tr:not([data-terminal="phone"]),
.page-products #dev-pad:checked ~ .p-dev-body tbody tr:not([data-terminal="pad"]),
.page-products #dev-pc:checked ~ .p-dev-body tbody tr:not([data-terminal="pc"]) {
  display: none;
}

/* ---------- 记录专区补充说明 ---------- */
.page-products .p-rec-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(22px, 3vw, 34px);
}
.page-products .p-note-card {
  padding: 20px 22px;
  border: 1px solid rgba(245, 242, 234, .16);
  border-radius: var(--radius);
  background: rgba(6, 7, 12, .34);
  backdrop-filter: blur(6px);
}
.page-products .p-note-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--gold-hi);
}
.page-products .p-note-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(245, 242, 234, .8);
}
.page-products .p-rec-figure {
  margin: clamp(24px, 3.4vw, 40px) 0 0;
}

/* ---------- 图片 ---------- */
.page-products .figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--ink-100);
}
.page-products .figure--wide img {
  aspect-ratio: 12 / 7;
}
.page-products .figure-cap {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--mist);
}

/* ---------- 04 终端适配 ---------- */
.page-products .p-dev {
  position: relative;
  margin-top: clamp(22px, 3vw, 34px);
}
.page-products .p-dev-figure {
  margin: 0 0 clamp(22px, 3vw, 34px);
}
.page-products .p-dev-figure img {
  aspect-ratio: 12 / 7;
}
.page-products .p-dev-foot {
  max-width: 44em;
  margin-top: clamp(18px, 2.4vw, 28px);
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- 05 迭代节奏 ---------- */
.page-products .p-zone--cadence {
  padding-block: clamp(44px, 6.4vw, 92px);
  background:
    radial-gradient(110% 88% at 88% 0%, rgba(229, 185, 78, .16), transparent 58%),
    linear-gradient(162deg, var(--wine) 0%, #2a0a18 58%, var(--ink-000) 100%);
  border-top: 1px solid rgba(245, 242, 234, .14);
  border-bottom: 1px solid rgba(245, 242, 234, .14);
}
.page-products .p-cad-figure {
  margin: clamp(24px, 3.4vw, 38px) 0 0;
}
.page-products .p-cad-figure img {
  aspect-ratio: 2 / 1;
}
.page-products .p-timeline {
  list-style: none;
  margin: clamp(24px, 3.4vw, 38px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-products .p-timeline li {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(245, 242, 234, .16);
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(245, 242, 234, .08), rgba(6, 7, 12, .4));
  transition: transform .32s var(--ease), border-color .32s var(--ease);
}
.page-products .p-timeline li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.page-products .p-timeline li:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
}
.page-products .p-tl-idx {
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  color: var(--gold);
}
.page-products .p-timeline strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--ivory);
}
.page-products .p-timeline p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(245, 242, 234, .78);
}

/* ---------- 06 服务等级 ---------- */
.page-products .p-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(24px, 3.4vw, 40px);
}
.page-products .p-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .34s var(--ease), border-color .34s var(--ease), box-shadow .34s var(--ease);
}
.page-products .p-tier--jade {
  background: linear-gradient(164deg, rgba(13, 71, 68, .78), rgba(6, 7, 12, .72));
}
.page-products .p-tier--violet {
  background: linear-gradient(164deg, rgba(139, 92, 255, .26), rgba(14, 15, 24, .82));
}
.page-products .p-tier--gold {
  background: linear-gradient(164deg, rgba(229, 185, 78, .24), rgba(14, 15, 24, .82));
}
.page-products .p-tier:hover,
.page-products .p-tier:focus-within,
.page-products .p-tier:focus {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--lift);
  outline: none;
}
.page-products .p-tier-badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold-hi);
  border: 1px solid var(--line-gold);
  background: rgba(6, 7, 12, .4);
}
.page-products .p-tier h3 {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--ivory);
}
.page-products .p-tier > p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(245, 242, 234, .8);
}
.page-products .p-tier-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin-top .35s var(--ease);
}
.page-products .p-tier:hover .p-tier-more,
.page-products .p-tier:focus-within .p-tier-more,
.page-products .p-tier:focus .p-tier-more {
  max-height: 220px;
  opacity: 1;
  margin-top: 4px;
}
.page-products .p-tier-more p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 242, 234, .16);
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 延伸入口 ---------- */
.page-products .p-next {
  padding-top: clamp(38px, 5vw, 68px);
}
.page-products .p-next-list {
  list-style: none;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.page-products .p-next-list a {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  text-decoration: none;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.page-products .p-next-list a:hover {
  transform: translateY(-4px);
  border-color: var(--line-cyan);
  background: var(--glass-2);
}
.page-products .p-next-k {
  font-size: 17px;
  font-weight: 600;
  color: var(--gold-hi);
}
.page-products .p-next-d {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-products .p-rec-notes {
    grid-template-columns: 1fr 1fr;
  }
  .page-products .p-next-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 820px) {
  .page-products .p-entry-grid {
    grid-template-columns: 1.06fr .94fr;
  }
  .page-products .p-flow {
    grid-template-columns: 1fr 1fr;
  }
  .page-products .p-flow-panels {
    grid-column: 1 / -1;
  }
  .page-products .p-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-products .p-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-products .p-flow-layout {
    grid-template-columns: 1.12fr .88fr;
    align-items: start;
  }
  .page-products .p-flow-figure {
    position: sticky;
    top: 32px;
  }
  .page-products .p-timeline {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-products .p-hero-body {
    padding: clamp(38px, 4vw, 62px);
  }
}

@media (max-width: 899px) {
  .page-products .p-hero {
    min-height: clamp(400px, 78vh, 560px);
  }
  .page-products .p-hero-stats {
    gap: 18px;
  }
  .page-products .p-stat-num {
    font-size: 24px;
  }
  .page-products .p-table {
    min-width: 520px;
    font-size: 13px;
  }
  .page-products .p-table thead th,
  .page-products .p-table tbody td {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
  .page-products .p-flow-figure {
    position: static;
  }
}
