.page-products {
  --pd-hair: rgba(44, 74, 99, 0.5);
  --pd-panel-bg: linear-gradient(158deg, rgba(26, 40, 53, 0.94), rgba(10, 20, 32, 0.96));
  --pd-shadow: 0 22px 46px -30px rgba(0, 0, 0, 0.92);
}

.page-products [id] {
  scroll-margin-top: 5.5rem;
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding-top: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-products .breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-products .breadcrumbs a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.page-products .breadcrumbs span[aria-hidden] {
  color: var(--edge);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  padding: clamp(1.75rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 76% 0%, rgba(41, 240, 176, 0.13), transparent 62%),
    radial-gradient(680px 380px at 4% 12%, rgba(44, 74, 99, 0.42), transparent 66%);
  pointer-events: none;
}

.page-products .pd-hero > .container {
  position: relative;
}

.page-products .pd-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-products .pd-hero__kicker {
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--neon);
}

.page-products .pd-hero__title {
  margin: 0.9rem 0 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-products .pd-hero__lede {
  margin: 1.25rem 0 0;
  max-width: 48ch;
  color: var(--mist);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.85;
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.page-products .pd-hero__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--pd-hair);
  background: var(--ink-deep);
  box-shadow: var(--pd-shadow);
}

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

.page-products .pd-hero__figure::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 26px;
  height: 26px;
  border-top: 2px solid var(--neon);
  border-left: 2px solid var(--neon);
  z-index: 2;
}

.page-products .pd-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(41, 240, 176, 0.06) 0 1px, transparent 1px 5px);
  opacity: 0.5;
  pointer-events: none;
}

.page-products .pd-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  padding: 0.45rem 0.8rem;
  background: rgba(10, 20, 32, 0.9);
  border-top: 1px solid var(--pd-hair);
  border-right: 1px solid var(--pd-hair);
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}

.page-products .pd-hero__stats {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 0;
  background: var(--pd-hair);
  border: 1px solid var(--pd-hair);
}

.page-products .pd-hero__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.1rem;
  background: var(--ink-deep);
}

.page-products .pd-hero__stats .stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-products .pd-hero__stats .stat__value {
  font-family: var(--font-data);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--neon);
}

/* ---------- 通用分栏 ---------- */
.page-products .pd-split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.page-products .pd-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-products .pd-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--neon);
}

/* ---------- 指标列表 ---------- */
.page-products .pd-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pd-hair);
}

.page-products .pd-metrics li {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.3rem 0.85rem;
  padding: 0.95rem 0.5rem 0.95rem 0;
  border-bottom: 1px solid var(--pd-hair);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.page-products .pd-metrics li:hover {
  background: var(--neon-soft);
  padding-left: 0.6rem;
}

.page-products .pd-metrics__idx {
  grid-row: 1 / span 2;
  padding-top: 0.22rem;
  font-family: var(--font-data);
  font-size: 0.7rem;
  color: var(--edge);
}

.page-products .pd-metrics__name {
  color: var(--paper);
  font-size: 0.98rem;
  font-weight: 600;
}

.page-products .pd-metrics__desc {
  color: var(--mist);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ---------- 图例 ---------- */
.page-products .pd-legend {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--pd-hair);
  background: rgba(16, 19, 24, 0.6);
}

.page-products .pd-legend svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pd-legend__cap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 0.85rem;
}

.page-products .pd-legend__k {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-products .pd-legend__k::before {
  content: "";
  width: 12px;
  height: 3px;
}

.page-products .pd-legend__k--home::before {
  background: var(--flare);
}

.page-products .pd-legend__k--away::before {
  background: var(--edge);
}

.page-products .pd-legend__k--pulse::before {
  background: var(--neon);
}

/* ---------- 图片框 ---------- */
.page-products .pd-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--pd-hair);
  background: var(--ink-deep);
  overflow: hidden;
}

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

.page-products .pd-figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 2px;
  background: var(--neon);
  z-index: 2;
}

/* ---------- 标注面板 ---------- */
.page-products .pd-callout {
  margin-top: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  border-left: 2px solid var(--neon);
}

.page-products .pd-callout h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: var(--paper);
}

.page-products .pd-callout p {
  margin: 0;
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.8;
}

.page-products .pd-checks {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding: 0;
}

.page-products .pd-checks li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--mist);
  font-size: 0.88rem;
  line-height: 1.7;
}

.page-products .pd-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--neon);
  transform: rotate(45deg);
}

/* ---------- 手机框 ---------- */
.page-products .pd-phone {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid var(--pd-hair);
  border-radius: 28px;
  background: linear-gradient(180deg, #05090d, #0d1722);
  box-shadow: var(--pd-shadow), inset 0 0 0 1px rgba(44, 74, 99, 0.35);
}

.page-products .pd-phone::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 3;
  width: 54px;
  height: 5px;
  border-radius: 3px;
  background: rgba(44, 74, 99, 0.85);
  transform: translateX(-50%);
}

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

.page-products .pd-phone .pd-cap {
  left: 10px;
  bottom: 10px;
  border-radius: 0 0 0 20px;
}

/* ---------- 参数表 ---------- */
.page-products .pd-spec {
  margin: 0 0 1rem;
  padding: 0;
  border: 1px solid var(--pd-hair);
  background: var(--pd-panel-bg);
}

.page-products .pd-spec__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--pd-hair);
}

.page-products .pd-spec__row:last-child {
  border-bottom: none;
}

.page-products .pd-spec__key {
  margin: 0;
  color: var(--mist);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.page-products .pd-spec__val {
  margin: 0;
  font-family: var(--font-data);
  font-size: 1rem;
  color: var(--neon);
}

.page-products .pd-spec__val--amber {
  color: var(--amber);
}

/* ---------- 折叠块 ---------- */
.page-products .pd-details {
  margin: 0 0 0.75rem;
  border: 1px solid var(--pd-hair);
  background: rgba(16, 19, 24, 0.72);
}

.page-products .pd-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.25s var(--ease);
}

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

.page-products .pd-details summary:hover {
  color: var(--signal);
}

.page-products .pd-details summary::after {
  content: "＋";
  font-family: var(--font-data);
  font-size: 0.95rem;
  line-height: 1;
  color: var(--neon);
}

.page-products .pd-details[open] summary::after {
  content: "－";
}

.page-products .pd-details__body {
  padding: 0 1.15rem 1.1rem;
  color: var(--mist);
  font-size: 0.88rem;
  line-height: 1.85;
}

/* ---------- 同步清单 ---------- */
.page-products .pd-pairs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pd-hair);
}

.page-products .pd-pairs li {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--pd-hair);
}

.page-products .pd-pairs__dot {
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  background: var(--neon);
  transform: rotate(45deg);
}

.page-products .pd-pairs h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  color: var(--paper);
}

.page-products .pd-pairs p {
  margin: 0;
  color: var(--mist);
  font-size: 0.87rem;
  line-height: 1.75;
}

.page-products .pd-tail {
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  max-width: 62ch;
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ---------- 场景卡 ---------- */
.page-products .pd-scenes {
  display: grid;
  gap: 1px;
  background: var(--pd-hair);
  border: 1px solid var(--pd-hair);
}

.page-products .pd-scene {
  position: relative;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  background: var(--ink-deep);
  transition: background 0.35s var(--ease);
}

.page-products .pd-scene:hover {
  background: var(--panel);
}

.page-products .pd-scene__time {
  margin: 0 0 0.85rem;
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--flare);
}

.page-products .pd-scene__title {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  color: var(--paper);
}

.page-products .pd-scene__text {
  margin: 0;
  color: var(--mist);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ---------- 版本时间轴 ---------- */
.page-products .pd-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.6rem;
}

.page-products .pd-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(180deg, var(--flare), rgba(44, 74, 99, 0.18));
}

.page-products .pd-timeline > li {
  position: relative;
  padding-bottom: 1.75rem;
}

.page-products .pd-timeline > li:last-child {
  padding-bottom: 0;
}

.page-products .pd-timeline > li::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.45rem;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid var(--flare);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 90, 60, 0.12);
}

.page-products .pd-timeline__ver {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-data);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--neon);
}

.page-products .pd-timeline__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--paper);
}

.page-products .pd-timeline__text {
  margin: 0 0 0.7rem;
  color: var(--mist);
  font-size: 0.87rem;
  line-height: 1.75;
}

/* ---------- 结尾 ---------- */
.page-products .pd-cta {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.page-products .pd-cta__inner {
  position: relative;
  padding: clamp(1.9rem, 5vw, 3.25rem);
  border: 1px solid var(--pd-hair);
  background:
    radial-gradient(600px 260px at 88% 0%, rgba(41, 240, 176, 0.14), transparent 68%),
    linear-gradient(150deg, var(--grass), var(--ink-deep));
  overflow: hidden;
}

.page-products .pd-cta__title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
  line-height: 1.08;
  color: var(--paper);
}

.page-products .pd-cta__text {
  margin: 0.9rem 0 0;
  max-width: 54ch;
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.85;
}

.page-products .pd-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* ---------- 桌面布局 ---------- */
@media (min-width: 720px) {
  .page-products .pd-scenes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 900px) {
  .page-products .pd-split {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .page-products .pd-split--flip {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-products .pd-split--even {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 940px) {
  .page-products .pd-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: end;
  }

  .page-products .pd-hero__figure {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .page-products .pd-hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-metrics li,
  .page-products .pd-scene,
  .page-products .pd-details summary {
    transition: none;
  }
}
