.page-products {
  --pd-rail-w: 232px;
  --pd-gap: clamp(26px, 3.6vw, 52px);
  --pd-panel: rgba(14, 30, 60, .55);
  --pd-panel-strong: rgba(14, 30, 60, .82);
  --pd-pad: clamp(16px, 2.4vw, 22px);
  display: block;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-600);
  background:
    radial-gradient(90% 70% at 78% 6%, rgba(200, 242, 79, .16), transparent 60%),
    radial-gradient(70% 60% at 6% 96%, rgba(73, 214, 232, .12), transparent 62%),
    var(--ink-950);
  padding: clamp(52px, 9vh, 104px) 0 clamp(36px, 5.5vh, 64px);
}

.page-products .pd-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-products .pd-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 7, 15, .5) 0%, rgba(4, 7, 15, .9) 64%, var(--ink-950) 100%);
}

.page-products .pd-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--shell-max);
  margin: 0 auto;
}

.page-products .pd-hero-crumb {
  margin-bottom: 20px;
}

.page-products .pd-hero-eyebrow {
  margin: 0 0 12px;
  color: var(--lime-400);
}

.page-products .pd-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.95rem, 6vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--white);
  margin: 0 0 20px;
  max-width: 20ch;
}

.page-products .pd-hero-lead {
  max-width: 62ch;
  margin: 0 0 30px;
  color: var(--slate-100);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.8;
}

.page-products .pd-hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 760px;
}

.page-products .pd-hero-stats li {
  background: rgba(8, 18, 39, .85);
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}

.page-products .pd-hero-stats .num {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  color: var(--lime-400);
  letter-spacing: .01em;
}

.page-products .pd-stat-label {
  color: var(--slate-400);
  font-size: .79rem;
  line-height: 1.5;
}

/* ---------- 主体骨架 ---------- */
.page-products .pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pd-gap);
  padding: clamp(34px, 5.5vw, 64px) 0 clamp(50px, 8vw, 96px);
}

.page-products .pd-rail {
  min-width: 0;
}

.page-products .pd-stream {
  min-width: 0;
}

/* ---------- 目录 ---------- */
.page-products .pd-toc {
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(14, 30, 60, .9), rgba(8, 18, 39, .72));
  box-shadow: var(--shadow-panel);
  padding: 16px 14px;
}

.page-products .pd-toc-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--slate-400);
  text-transform: uppercase;
}

.page-products .pd-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-products .pd-toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  color: var(--slate-400);
  font-size: .88rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.page-products .pd-toc-num {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--line-600);
  filter: brightness(2.2);
}

.page-products .pd-toc-list a:hover,
.page-products .pd-toc-list a:focus-visible,
.page-products .pd-toc-list a.is-active,
.page-products .pd-toc-list a[aria-current] {
  color: var(--lime-200);
  background: rgba(200, 242, 79, .08);
  border-left-color: var(--lime-400);
  outline: none;
}

.page-products .pd-toc-list a:hover .pd-toc-num,
.page-products .pd-toc-list a.is-active .pd-toc-num {
  color: var(--lime-400);
  filter: none;
}

.page-products .pd-rail-card {
  margin-top: 14px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(200, 242, 79, .09), rgba(8, 18, 39, .75));
  padding: 16px 14px;
}

.page-products .pd-rail-card-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.page-products .pd-rail-card-text {
  margin: 0 0 14px;
  color: var(--slate-400);
  font-size: .84rem;
  line-height: 1.7;
}

.page-products .pd-rail-btn {
  width: 100%;
  justify-content: center;
}

/* ---------- 章节 ---------- */
.page-products .pd-section {
  padding: clamp(30px, 4.6vw, 52px) 0;
  border-top: 1px solid var(--line-600);
}

.page-products .pd-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .pd-sec-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.page-products .pd-sec-num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--lime-400);
}

.page-products .pd-sec-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--white);
  max-width: 24ch;
}

.page-products .pd-sub-title {
  margin: 28px 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: var(--lime-200);
  letter-spacing: -.01em;
}

.page-products .pd-lead {
  margin: 0 0 20px;
  color: var(--slate-100);
  font-size: .96rem;
  line-height: 1.82;
  max-width: 68ch;
}

.page-products .pd-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--cyan-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(73, 214, 232, .06);
  color: var(--slate-100);
  font-size: .9rem;
  line-height: 1.78;
}

/* ---------- 图片 ---------- */
.page-products .pd-figure {
  margin: 22px 0;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--shadow-panel);
}

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

.page-products .pd-figure figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line-600);
  color: var(--slate-400);
  font-size: .82rem;
  line-height: 1.65;
}

/* ---------- 字段参数表 ---------- */
.page-products .pd-params {
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-param {
  background: var(--ink-900);
  padding: var(--pd-pad);
}

.page-products .pd-param dt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.page-products .pd-param-idx {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--lime-400);
}

.page-products .pd-param dd {
  margin: 0;
  color: var(--slate-400);
  font-size: .88rem;
  line-height: 1.75;
}

/* ---------- 筛选项 ---------- */
.page-products .pd-filters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-products .pd-filter {
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: var(--pd-panel);
  padding: 14px 16px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.page-products .pd-filter:hover {
  border-color: rgba(200, 242, 79, .45);
  transform: translateY(-2px);
}

.page-products .pd-filter-key {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--lime-400);
  border: 1px solid rgba(200, 242, 79, .35);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.page-products .pd-filter p {
  margin: 0;
  color: var(--slate-400);
  font-size: .86rem;
  line-height: 1.72;
}

/* ---------- 赛事串联流程 ---------- */
.page-products .pd-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.page-products .pd-flow-node {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: var(--pd-panel);
  padding: 16px 18px;
}

.page-products .pd-flow-node strong {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--white);
}

.page-products .pd-flow-node > span:last-child {
  color: var(--slate-400);
  font-size: .85rem;
  line-height: 1.7;
}

.page-products .pd-flow-node--accent {
  border-color: rgba(255, 138, 43, .45);
  background: linear-gradient(160deg, rgba(255, 138, 43, .16), rgba(14, 30, 60, .6));
}

.page-products .pd-flow-idx {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--lime-400);
}

.page-products .pd-flow-node--accent .pd-flow-idx {
  color: var(--amber-300);
}

.page-products .pd-flow-arrow {
  display: block;
  width: 2px;
  height: 20px;
  margin-left: 26px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--line-600), var(--lime-400));
}

/* ---------- 要点 ---------- */
.page-products .pd-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pd-bullets li {
  position: relative;
  padding-left: 18px;
  color: var(--slate-100);
  font-size: .92rem;
  line-height: 1.78;
}

.page-products .pd-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lime-400);
  transform: rotate(45deg);
}

.page-products .pd-bullets strong {
  color: var(--white);
  font-weight: 600;
}

.page-products .pd-cta-line {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- iOS 赛程标签 ---------- */
.page-products .pd-ios {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
}

.page-products .pd-ios-copy {
  min-width: 0;
}

.page-products .pd-dims {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-dims li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--ink-900);
  padding: 14px 16px;
}

.page-products .pd-dim-idx {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--cyan-400);
  letter-spacing: .06em;
  padding-top: 3px;
}

.page-products .pd-dims strong {
  display: block;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.page-products .pd-dims div > span {
  display: block;
  color: var(--slate-400);
  font-size: .84rem;
  line-height: 1.68;
}

.page-products .pd-phone {
  margin: 0 auto;
  max-width: 288px;
  width: 100%;
  border: 1px solid var(--line-600);
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--shadow-panel);
  align-self: start;
}

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

.page-products .pd-phone figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line-600);
  color: var(--slate-400);
  font-size: .79rem;
  line-height: 1.62;
}

/* ---------- 收藏面板 ---------- */
.page-products .pd-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin: 0 0 4px;
}

.page-products .pd-fav-card {
  position: relative;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(200, 242, 79, .07), rgba(14, 30, 60, .7));
  padding: 14px 14px 14px 30px;
}

.page-products .pd-fav-dot {
  position: absolute;
  left: 14px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 8px rgba(200, 242, 79, .7);
}

.page-products .pd-fav-card strong {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 600;
  color: var(--white);
}

.page-products .pd-fav-num {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .03em;
  color: var(--slate-400);
}

.page-products .pd-fav-card--more {
  border-style: dashed;
  background: rgba(14, 30, 60, .4);
}

.page-products .pd-fav-card--more .pd-fav-dot {
  background: var(--slate-400);
  box-shadow: none;
}

/* ---------- 四视图 ---------- */
.page-products .pd-views {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 4px;
}

.page-products .pd-view {
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: var(--pd-panel);
  padding: 18px;
}

.page-products .pd-view-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
  margin-bottom: 14px;
}

.page-products .pd-view-bars span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(200, 242, 79, .85), rgba(200, 242, 79, .16));
}

.page-products .pd-view-bars span:nth-child(1) { height: 44%; }
.page-products .pd-view-bars span:nth-child(2) { height: 82%; }
.page-products .pd-view-bars span:nth-child(3) { height: 58%; }
.page-products .pd-view-bars span:nth-child(4) { height: 100%; }
.page-products .pd-view-bars span:nth-child(5) { height: 36%; }

.page-products .pd-view--cyan .pd-view-bars span {
  background: linear-gradient(180deg, rgba(73, 214, 232, .85), rgba(73, 214, 232, .16));
}

.page-products .pd-view--amber .pd-view-bars span {
  background: linear-gradient(180deg, rgba(255, 138, 43, .85), rgba(255, 138, 43, .16));
}

.page-products .pd-view-idx {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--lime-400);
}

.page-products .pd-view--cyan .pd-view-idx { color: var(--cyan-400); }
.page-products .pd-view--amber .pd-view-idx { color: var(--amber-300); }

.page-products .pd-view h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--white);
}

.page-products .pd-view p {
  margin: 0;
  color: var(--slate-400);
  font-size: .86rem;
  line-height: 1.74;
}

/* ---------- 上手三步 ---------- */
.page-products .pd-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: none;
}

.page-products .pd-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: var(--pd-panel);
  padding: 18px;
}

.page-products .pd-step-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  color: var(--lime-400);
  letter-spacing: -.02em;
  padding-top: 4px;
}

.page-products .pd-step-body {
  min-width: 0;
}

.page-products .pd-step-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--white);
}

.page-products .pd-step-body p {
  margin: 0;
  color: var(--slate-400);
  font-size: .88rem;
  line-height: 1.76;
}

/* ---------- 收尾行动区 ---------- */
.page-products .pd-cta {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 140% at 88% 10%, rgba(200, 242, 79, .14), transparent 60%),
    linear-gradient(160deg, rgba(14, 30, 60, .9), rgba(8, 18, 39, .8));
  box-shadow: var(--shadow-panel);
  padding: clamp(20px, 3vw, 30px);
}

.page-products .pd-cta h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}

.page-products .pd-cta p {
  margin: 0;
  color: var(--slate-100);
  font-size: .9rem;
  line-height: 1.78;
  max-width: 60ch;
}

.page-products .pd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

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

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

@media (min-width: 760px) {
  .page-products .pd-flow {
    flex-direction: row;
    align-items: stretch;
  }

  .page-products .pd-flow-node {
    flex: 1 1 0;
    min-width: 0;
  }

  .page-products .pd-flow-arrow {
    width: 28px;
    height: 2px;
    margin: 0 8px;
    align-self: center;
    background: linear-gradient(90deg, var(--line-600), var(--lime-400));
  }
}

@media (min-width: 860px) {
  .page-products .pd-ios {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-products .pd-layout {
    grid-template-columns: var(--pd-rail-w) minmax(0, 1fr);
    gap: clamp(30px, 4vw, 58px);
  }

  .page-products .pd-rail {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
  }

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

  .page-products .pd-cta-actions {
    justify-content: flex-end;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-filter,
  .page-products .pd-toc-list a {
    transition: none;
  }

  .page-products .pd-filter:hover {
    transform: none;
  }
}
