.page-products {
  --pd-accent: var(--cyan);
  --pd-accent-soft: rgba(0, 229, 199, 0.12);
  --pd-accent-line: rgba(0, 229, 199, 0.42);
  --pd-card: #ffffff;
  --pd-stripe: #e9f0f7;
  --pd-gap: clamp(18px, 3vw, 34px);
  position: relative;
  overflow-x: clip;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
}

.page-products:has(#pd-main:checked) {
  --pd-accent: var(--orange);
  --pd-accent-soft: rgba(255, 122, 69, 0.12);
  --pd-accent-line: rgba(255, 122, 69, 0.46);
}

/* --- 隐藏的版本选择器 --- */
.page-products .pd-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- 首屏 --- */
.page-products .pd-hero {
  position: relative;
  padding: clamp(20px, 3vw, 30px) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(120% 90% at 88% 4%, rgba(0, 229, 199, 0.16), transparent 58%),
    radial-gradient(90% 80% at 6% 96%, rgba(255, 122, 69, 0.12), transparent 62%),
    linear-gradient(158deg, var(--sea-900) 0%, var(--sea-800) 58%, #11406c 100%);
  color: var(--paper);
  overflow: hidden;
}

.page-products .pd-hero__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(26px, 5vw, 48px);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.page-products .pd-hero__crumbs a {
  color: rgba(244, 247, 250, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-products .pd-hero__crumbs a:hover,
.page-products .pd-hero__crumbs a:focus-visible {
  color: var(--pd-accent);
  border-bottom-color: var(--pd-accent);
}

.page-products .pd-hero__sep {
  color: rgba(244, 247, 250, 0.32);
}

.page-products .pd-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 52px);
  align-items: center;
}

@media (min-width: 940px) {
  .page-products .pd-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

.page-products .pd-hero__kicker {
  margin: 0 0 18px;
  color: var(--pd-accent);
}

.page-products .pd-hero__title {
  margin: 0 0 22px;
  color: var(--paper);
  font-size: clamp(2.2rem, 6.4vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  word-break: break-word;
}

.page-products .pd-hero__lead {
  margin: 0 0 26px;
  max-width: 46ch;
  color: rgba(244, 247, 250, 0.78);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
}

.page-products .pd-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-hero__chips .chip {
  padding: 6px 13px;
  border: 1px solid rgba(244, 247, 250, 0.2);
  border-radius: 999px;
  background: rgba(244, 247, 250, 0.06);
  color: rgba(244, 247, 250, 0.82);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.page-products .pd-hero__visual {
  position: relative;
}

.page-products .pd-hero__art {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: 0 auto;
}

.page-products .pd-hero__art rect {
  fill: none;
  stroke: rgba(244, 247, 250, 0.3);
  stroke-width: 1.4;
}

.page-products .pd-hero__art .pd-art-fill {
  fill: rgba(244, 247, 250, 0.2);
  stroke: none;
}

.page-products .pd-hero__art .pd-art-fill-soft {
  fill: rgba(244, 247, 250, 0.08);
  stroke: none;
}

.page-products .pd-hero__art .pd-art-accent-fill {
  fill: var(--pd-accent);
  stroke: none;
  opacity: 0.85;
}

.page-products .pd-hero__art .pd-art-stroke {
  fill: none;
  stroke: rgba(244, 247, 250, 0.22);
  stroke-width: 1.4;
}

.page-products .pd-hero__art .pd-art-link {
  fill: none;
  stroke: var(--pd-accent);
  stroke-width: 2;
  stroke-dasharray: 5 7;
}

/* --- 版本选择器 --- */
.page-products .pd-picker {
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: clamp(24px, 4vw, 34px);
  border-top: 1px solid var(--line-dark);
}

.page-products .pd-picker__label {
  margin: 0 0 14px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.page-products .pd-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .page-products .pd-switch {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.page-products .pd-switch__btn {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "tag name"
    "tag meta";
  align-content: center;
  gap: 2px 14px;
  padding: 16px 18px;
  border: 1px solid rgba(244, 247, 250, 0.18);
  border-radius: var(--radius-m);
  background: rgba(244, 247, 250, 0.05);
  cursor: pointer;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease);
}

.page-products .pd-switch__btn:hover {
  border-color: rgba(244, 247, 250, 0.4);
  transform: translateY(-2px);
}

.page-products .pd-switch__tag {
  grid-area: tag;
  align-self: center;
  padding: 5px 9px;
  border-radius: var(--radius-s);
  background: rgba(244, 247, 250, 0.1);
  color: rgba(244, 247, 250, 0.66);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.page-products .pd-switch__name {
  grid-area: name;
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.page-products .pd-switch__meta {
  grid-area: meta;
  color: var(--steel);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.page-products:has(#pd-slim:checked) .pd-switch__btn--slim,
.page-products:has(#pd-main:checked) .pd-switch__btn--main {
  border-color: var(--pd-accent);
  background: var(--pd-accent-soft);
  box-shadow: 0 0 0 1px var(--pd-accent-line) inset;
}

.page-products:has(#pd-slim:checked) .pd-switch__btn--slim .pd-switch__tag,
.page-products:has(#pd-main:checked) .pd-switch__btn--main .pd-switch__tag {
  background: var(--pd-accent);
  color: var(--sea-900);
}

.page-products:has(#pd-slim:checked) .pd-switch__btn--slim .pd-switch__meta,
.page-products:has(#pd-main:checked) .pd-switch__btn--main .pd-switch__meta {
  color: rgba(244, 247, 250, 0.82);
}

.page-products:has(#pd-slim:focus-visible) .pd-switch__btn--slim,
.page-products:has(#pd-main:focus-visible) .pd-switch__btn--main {
  outline: 2px solid var(--pd-accent);
  outline-offset: 3px;
}

/* --- 通用版块 --- */
.page-products .pd-sec {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
}

.page-products .pd-sec--paper {
  background: var(--paper);
}

.page-products .pd-sec--versions {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.page-products .pd-sec--compare {
  background: var(--paper);
}

.page-products .pd-head {
  margin-bottom: clamp(30px, 5vw, 52px);
}

.page-products .pd-head .section-head__index {
  color: var(--steel);
}

.page-products .pd-head .section-head__title {
  color: var(--sea-800);
}

.page-products .pd-head .section-head__lead {
  max-width: 62ch;
  color: var(--steel);
}

/* --- 三个问题 --- */
.page-products .pd-ask {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 780px) {
  .page-products .pd-ask {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
}

.page-products .pd-ask__item {
  position: relative;
  padding: 26px 22px 26px 0;
  border-top: 2px solid var(--line-light);
}

@media (min-width: 780px) {
  .page-products .pd-ask__item {
    padding: 30px 30px 30px 0;
  }
  .page-products .pd-ask__item + .pd-ask__item {
    padding-left: 30px;
    border-left: 1px solid var(--line-light);
  }
}

.page-products .pd-ask__item:first-child {
  border-top-color: var(--pd-accent);
}

.page-products .pd-ask__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--pd-accent);
}

.page-products .pd-ask__q {
  margin: 0 0 12px;
  color: var(--sea-800);
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.4;
}

.page-products .pd-ask__a {
  margin: 0;
  max-width: 34ch;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.85;
}

/* --- 版本卡片 --- */
.page-products .pd-ver {
  margin-bottom: var(--pd-gap);
  padding: clamp(22px, 3.5vw, 38px);
  border-radius: var(--radius-l);
  background: var(--pd-card);
  box-shadow: var(--shadow-1);
}

.page-products .pd-ver:last-child {
  margin-bottom: 0;
}

.page-products .pd-ver--slim {
  border-left: 4px solid var(--cyan);
}

.page-products .pd-ver--main {
  border-left: 4px solid var(--orange);
}

.page-products .pd-ver__head {
  margin-bottom: clamp(18px, 3vw, 28px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
}

.page-products .pd-ver__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-s);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.page-products .pd-ver--slim .pd-ver__tag {
  background: rgba(0, 229, 199, 0.16);
  color: #0a7b6c;
}

.page-products .pd-ver--main .pd-ver__tag {
  background: rgba(255, 122, 69, 0.16);
  color: #b64a1c;
}

.page-products .pd-ver__name {
  margin: 0 0 8px;
  color: var(--sea-800);
  font-size: clamp(20px, 2.8vw, 26px);
  line-height: 1.3;
}

.page-products .pd-ver__sub {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.page-products .pd-ver__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3.5vw, 40px);
  align-items: start;
}

@media (min-width: 860px) {
  .page-products .pd-ver__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.page-products .pd-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-list li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid var(--line-light);
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.8;
}

.page-products .pd-list li:last-child {
  border-bottom: 0;
}

.page-products .pd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--pd-accent);
}

.page-products .pd-list strong {
  display: inline-block;
  margin-right: 8px;
  color: var(--sea-800);
  font-weight: 700;
}

.page-products .pd-ver__fig {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: linear-gradient(150deg, rgba(10, 43, 78, 0.06), rgba(0, 229, 199, 0.08));
}

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

.page-products .pd-ver__fig--square img {
  aspect-ratio: 1 / 1;
}

.page-products .pd-ver__fig--wide img {
  aspect-ratio: 16 / 10;
}

/* --- 对照表 --- */
.page-products .pd-compare__fig {
  margin: 0 0 clamp(26px, 4vw, 40px);
  overflow: hidden;
  border-radius: var(--radius-m);
}

.page-products .pd-compare__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 3;
  object-fit: cover;
}

.page-products .pd-compare__wrap {
  overflow-x: auto;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  -webkit-overflow-scrolling: touch;
}

.page-products .pd-compare {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: var(--pd-card);
  font-size: 14.5px;
}

.page-products .pd-compare__cap {
  padding: 14px 16px;
  background: var(--sea-900);
  color: rgba(244, 247, 250, 0.6);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: left;
}

.page-products .pd-compare thead th {
  padding: 14px 16px;
  background: var(--sea-800);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  white-space: nowrap;
}

.page-products .pd-compare thead th.col-slim {
  box-shadow: inset 0 -3px 0 var(--cyan);
}

.page-products .pd-compare thead th.col-main {
  box-shadow: inset 0 -3px 0 var(--orange);
}

.page-products .pd-compare tbody th,
.page-products .pd-compare tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-light);
  color: var(--graphite);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.page-products .pd-compare tbody th {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--steel);
  white-space: nowrap;
}

.page-products .pd-compare tbody tr:nth-child(odd) {
  background: var(--pd-stripe);
}

.page-products .pd-compare tbody tr:hover td {
  background: var(--pd-accent-soft);
}

.page-products .pd-compare tbody tr:last-child th,
.page-products .pd-compare tbody tr:last-child td {
  border-bottom: 0;
}

.page-products:has(#pd-slim:checked) .pd-compare tbody tr:hover td:nth-of-type(1) {
  background: rgba(0, 229, 199, 0.16);
}

.page-products:has(#pd-main:checked) .pd-compare tbody tr:hover td:nth-of-type(2) {
  background: rgba(255, 122, 69, 0.16);
}

/* --- 性能 --- */
.page-products .pd-sec--perf {
  background:
    radial-gradient(90% 70% at 92% 0%, rgba(0, 229, 199, 0.14), transparent 60%),
    linear-gradient(180deg, var(--sea-900) 0%, var(--sea-800) 100%);
  color: var(--paper);
}

.page-products .pd-perf__kicker {
  margin: 0 0 14px;
  color: var(--pd-accent);
}

.page-products .pd-perf__title {
  margin: 0 0 clamp(28px, 4vw, 44px);
  max-width: 22ch;
  color: var(--paper);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.3;
}

.page-products .pd-perf__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-products .pd-perf__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    grid-template-areas:
      "metric copy"
      "fig copy";
    align-items: start;
  }
  .page-products .pd-perf__metric {
    grid-area: metric;
  }
  .page-products .pd-perf__copy {
    grid-area: copy;
  }
  .page-products .pd-perf__fig {
    grid-area: fig;
    align-self: end;
  }
}

.page-products .pd-perf__metric {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.page-products .pd-perf__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 15vw, 8.6rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--pd-accent);
}

.page-products .pd-perf__unit {
  font-size: 0.42em;
  font-weight: 400;
  margin-left: 4px;
}

.page-products .pd-perf__cap {
  margin: 16px 0 0;
  max-width: 20ch;
  color: rgba(244, 247, 250, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.page-products .pd-perf__copy p {
  margin: 0 0 16px;
  max-width: 52ch;
  color: rgba(244, 247, 250, 0.8);
  font-size: 15px;
  line-height: 1.85;
}

.page-products .pd-perf__copy p:last-child {
  margin-bottom: 0;
}

.page-products .pd-perf__links a {
  display: inline-block;
  padding-bottom: 3px;
  color: var(--pd-accent);
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid var(--pd-accent-line);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-products .pd-perf__links a:hover,
.page-products .pd-perf__links a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.page-products .pd-perf__fig {
  margin: 22px 0 0;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-dark);
}

.page-products .pd-perf__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  opacity: 0.92;
}

/* --- 安装流程 --- */
.page-products .pd-sec--flow {
  background: var(--paper);
}

.page-products .pd-flow {
  position: relative;
  padding: clamp(26px, 4vw, 46px) clamp(20px, 4vw, 46px);
  border-radius: var(--radius-l);
  background: var(--sea-900);
  overflow: hidden;
  isolation: isolate;
}

.page-products .pd-flow__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
}

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

.page-products .pd-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 26, 49, 0.55) 0%, rgba(6, 26, 49, 0.86) 100%);
}

.page-products .pd-flow__steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 780px) {
  .page-products .pd-flow__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .page-products .pd-flow__steps::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 44px;
    right: 14%;
    height: 1px;
    background: linear-gradient(90deg, var(--pd-accent), rgba(111, 233, 220, 0.16));
    opacity: 0.7;
    z-index: 0;
  }
}

.page-products .pd-flow__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

@media (min-width: 780px) {
  .page-products .pd-flow__item {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.page-products .pd-flow__dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pd-accent);
  color: var(--sea-900);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 0 6px rgba(0, 229, 199, 0.1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-products .pd-flow__dot:hover,
.page-products .pd-flow__dot:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 9px rgba(0, 229, 199, 0.16);
  outline: none;
}

.page-products .pd-flow__txt h3 {
  margin: 0 0 8px;
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 780px) {
  .page-products .pd-flow__txt {
    margin-top: 18px;
  }
}

.page-products .pd-flow__txt p {
  margin: 0;
  color: rgba(244, 247, 250, 0.74);
  font-size: 14px;
  line-height: 1.8;
}

.page-products .pd-flow__details {
  margin-top: clamp(30px, 4vw, 48px);
}

.page-products .pd-flow__detail {
  padding: 24px 0 8px;
  border-top: 1px solid var(--line-light);
  scroll-margin-top: 96px;
}

.page-products .pd-flow__detail h3 {
  margin: 0 0 14px;
  color: var(--sea-800);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
}

.page-products .pd-flow__detail p {
  margin: 0 0 14px;
  max-width: 68ch;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.85;
}

.page-products .pd-flow__detail p:last-child {
  margin-bottom: 0;
}

.page-products .pd-flow__detail:target {
  border-top-color: var(--pd-accent);
}

/* --- 收尾 --- */
.page-products .pd-sec--cta {
  padding: clamp(44px, 6vw, 70px) 0;
  background: linear-gradient(120deg, var(--sea-800) 0%, var(--ink) 100%);
  color: var(--paper);
}

.page-products .pd-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

@media (min-width: 820px) {
  .page-products .pd-cta {
    grid-template-columns: minmax(0, 1.3fr) auto;
    gap: 44px;
  }
}

.page-products .pd-cta__copy h2 {
  margin: 0 0 12px;
  color: var(--paper);
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  line-height: 1.35;
}

.page-products .pd-cta__copy p {
  margin: 0;
  max-width: 56ch;
  color: rgba(244, 247, 250, 0.74);
  font-size: 15px;
  line-height: 1.8;
}

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

.page-products .pd-cta__actions .btn {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .page-products .pd-cta__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
