.page-products {
  --pd-accent: var(--electric);
  --pd-notch: 20px;
}

/* ---------- 通用页内元件 ---------- */
.page-products .pd-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 3.4vw, 38px);
}

.page-products .pd-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.24;
  letter-spacing: .01em;
  margin: 12px 0 0;
  color: var(--ink);
}

.page-products .pd-sub {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.85;
}

.page-products .pd-lead {
  max-width: 46ch;
  margin: 18px 0 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
  color: var(--ink-soft);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  padding-top: clamp(24px, 4vw, 44px);
  padding-bottom: clamp(28px, 4.4vw, 54px);
  background:
    radial-gradient(115% 118% at 92% -12%, rgba(127, 181, 154, .20), transparent 58%),
    radial-gradient(88% 92% at -6% 112%, rgba(228, 184, 177, .18), transparent 62%);
}

.page-products .pd-hero__split {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  align-items: end;
  margin-top: clamp(20px, 3.2vw, 36px);
}

.page-products .pd-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.16;
  letter-spacing: .01em;
  margin: 14px 0 0;
  color: var(--ink);
}

.page-products .pd-hero__fig {
  margin: 0;
  clip-path: polygon(0 0, calc(100% - var(--pd-notch)) 0, 100% var(--pd-notch), 100% 100%, 0 100%);
  background: linear-gradient(150deg, rgba(127, 181, 154, .24), rgba(228, 184, 177, .28));
}

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

.page-products .pd-hero .season-band {
  margin-top: clamp(28px, 4vw, 48px);
}

/* ---------- 多端入口总览 ---------- */
.page-products .pd-overview {
  background: linear-gradient(180deg, rgba(232, 230, 224, .55), rgba(232, 230, 224, 0));
}

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

.page-products .pd-rail__row {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 20px clamp(18px, 2.4vw, 28px) 20px clamp(22px, 2.8vw, 32px);
  background: var(--white);
  border: 1px solid var(--rule-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pd-notch)), calc(100% - var(--pd-notch)) 100%, 0 100%);
  transition: border-color .24s ease, background-color .24s ease;
}

.page-products .pd-rail__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--pd-accent);
  transform: scaleY(.38);
  transform-origin: top center;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}

.page-products .pd-rail__row:hover::before,
.page-products .pd-rail__row:focus-within::before {
  transform: scaleY(1);
}

.page-products .pd-rail__row:hover,
.page-products .pd-rail__row:focus-within {
  border-color: var(--pd-accent);
}

.page-products .pd-rail__row--spring { --pd-accent: var(--spring); }
.page-products .pd-rail__row--summer { --pd-accent: var(--summer); }
.page-products .pd-rail__row--autumn { --pd-accent: var(--autumn); }

.page-products .pd-rail__code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pd-accent);
  white-space: nowrap;
}

.page-products .pd-rail__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

.page-products .pd-rail__desc {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.page-products .pd-rail__go {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--pd-accent);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.page-products .pd-rail__go:hover,
.page-products .pd-rail__go:focus-visible {
  border-bottom-color: currentColor;
}

/* ---------- iOS 端 ---------- */
.page-products .pd-ios__grid {
  display: grid;
  gap: clamp(26px, 4.2vw, 54px);
  align-items: center;
}

.page-products .pd-ios__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.24;
  margin: 12px 0 0;
  color: var(--ink);
}

.page-products .pd-ios__copy > p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.88;
}

.page-products .pd-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0 0 0 30px;
  border-left: 1px dashed var(--spring);
  display: grid;
  gap: 20px;
}

.page-products .pd-steps li {
  position: relative;
}

.page-products .pd-steps li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spring);
  box-shadow: 0 0 0 4px var(--paper);
}

.page-products .pd-steps__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--spring);
}

.page-products .pd-steps__text {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}

.page-products .pd-ios__actions {
  margin-top: 28px;
}

.page-products .pd-ios__fig {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pd-notch)), calc(100% - var(--pd-notch)) 100%, 0 100%);
  background: linear-gradient(140deg, rgba(127, 181, 154, .22), rgba(228, 184, 177, .26));
}

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

/* ---------- Android 与 Web ---------- */
.page-products .pd-multi__stage {
  display: grid;
  gap: clamp(20px, 2.8vw, 30px);
}

.page-products .pd-multi__cards {
  display: grid;
  gap: 16px;
}

.page-products .pd-multi__card h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.4;
  margin: 12px 0 0;
  color: var(--ink);
}

.page-products .pd-multi__card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.page-products .pd-multi__fig {
  margin: 0;
  clip-path: polygon(0 0, calc(100% - var(--pd-notch)) 0, 100% var(--pd-notch), 100% 100%, 0 100%);
  background: linear-gradient(150deg, rgba(47, 127, 158, .2), rgba(242, 155, 91, .22));
}

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

/* ---------- 版本演进 ---------- */
.page-products .pd-ver__stage {
  display: grid;
  gap: clamp(26px, 4vw, 50px);
  align-items: start;
}

.page-products .pd-timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 28px;
  border-left: 1px solid var(--rule);
  display: grid;
  gap: clamp(22px, 3vw, 32px);
}

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

.page-products .pd-timeline__node::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--autumn);
  box-shadow: 0 0 0 4px var(--paper);
}

.page-products .pd-timeline__node:last-child::before {
  background: var(--autumn-soft);
}

.page-products .pd-timeline__ver {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--autumn-soft);
  border: 1px solid currentColor;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.page-products .pd-timeline__body h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.42;
  margin: 0;
  color: var(--ink);
}

.page-products .pd-timeline__body p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.page-products .pd-ver__fig {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pd-notch)), calc(100% - var(--pd-notch)) 100%, 0 100%);
  background: linear-gradient(150deg, rgba(217, 154, 61, .24), rgba(181, 90, 69, .26));
}

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

/* ---------- 适用场景 ---------- */
.page-products .pd-fit__grid {
  gap: clamp(16px, 2.4vw, 26px);
}

.page-products .pd-fit__card {
  --pd-accent: var(--spring);
  position: relative;
  padding: clamp(22px, 2.8vw, 32px) clamp(18px, 2.4vw, 26px) clamp(26px, 3.2vw, 34px);
  background: var(--white);
  border: 1px solid var(--rule-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pd-notch)), calc(100% - var(--pd-notch)) 100%, 0 100%);
  transition: border-color .24s ease;
}

.page-products .pd-fit__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52%;
  height: 3px;
  background: var(--pd-accent);
}

.page-products .pd-fit__card:hover {
  border-color: var(--pd-accent);
}

.page-products .pd-fit__card--spring { --pd-accent: var(--spring); }
.page-products .pd-fit__card--summer { --pd-accent: var(--summer); }
.page-products .pd-fit__card--autumn { --pd-accent: var(--autumn); }

.page-products .pd-fit__idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--pd-accent);
}

.page-products .pd-fit__card h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.4;
  margin: 10px 0 0;
  color: var(--ink);
}

.page-products .pd-fit__card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- 常见问题 ---------- */
.page-products .pd-faq__list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.page-products .pd-faq__item {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  transition: border-color .22s ease;
}

.page-products .pd-faq__item[open] {
  border-color: var(--winter-deep);
}

.page-products .pd-faq__item summary {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 18px clamp(16px, 2.2vw, 24px);
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
}

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

.page-products .pd-faq__item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--winter-deep);
  flex: none;
}

.page-products .pd-faq__item[open] summary::after {
  content: "\2212";
}

.page-products .pd-faq__code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--winter-deep);
  flex: none;
}

.page-products .pd-faq__body {
  padding: 0 clamp(16px, 2.2vw, 24px) 20px;
}

.page-products .pd-faq__body p {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.88;
}

/* ---------- 下载与更新提示 ---------- */
.page-products .pd-tips__panel {
  display: grid;
  gap: clamp(24px, 3.4vw, 42px);
  padding: clamp(24px, 3.6vw, 46px);
  background: linear-gradient(126deg, var(--white) 0%, rgba(244, 248, 248, .94) 56%, rgba(44, 58, 94, .09) 100%);
  border: 1px solid var(--rule-soft);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.page-products .pd-tips__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.2vw, 34px);
  line-height: 1.26;
  margin: 12px 0 0;
  color: var(--ink);
}

.page-products .pd-check {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pd-check li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.page-products .pd-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--winter-deep);
}

.page-products .pd-tips__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.page-products .pd-tips__link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}

.page-products .pd-tips__link:hover,
.page-products .pd-tips__link:focus-visible {
  color: var(--winter-deep);
  border-bottom-color: var(--winter-deep);
}

.page-products .pd-tips__fig {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pd-notch)), calc(100% - var(--pd-notch)) 100%, 0 100%);
  background: linear-gradient(150deg, rgba(244, 248, 248, .9), rgba(44, 58, 94, .18));
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 780px) {
  .page-products .pd-rail__row {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
  }
}

@media (min-width: 880px) {
  .page-products .pd-hero__split {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  }

  .page-products .pd-hero__fig {
    transform: translateY(16px);
  }

  .page-products .pd-ios__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .86fr);
  }

  .page-products .pd-ios__fig {
    transform: translateY(-14px);
  }
}

@media (min-width: 900px) {
  .page-products .pd-multi__stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, .68fr);
    align-items: start;
  }

  .page-products .pd-multi__fig {
    margin-top: 26px;
  }

  .page-products .pd-ver__stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, .76fr);
  }

  .page-products .pd-ver__fig {
    margin-top: 18px;
  }

  .page-products .pd-tips__panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .8fr);
    align-items: center;
  }
}

@media (max-width: 620px) {
  .page-products {
    --pd-notch: 14px;
  }

  .page-products .pd-head h2,
  .page-products .pd-ios__copy h2,
  .page-products .pd-tips__copy h2 {
    font-size: clamp(22px, 7vw, 28px);
  }

  .page-products .pd-hero__copy h1 {
    font-size: clamp(27px, 8.6vw, 38px);
  }

  .page-products .pd-tips__panel {
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-rail__row::before,
  .page-products .pd-rail__row,
  .page-products .pd-fit__card,
  .page-products .pd-faq__item {
    transition: none;
  }

  .page-products .pd-rail__row::before {
    transform: scaleY(1);
  }

  .page-products .pd-hero__fig,
  .page-products .pd-ios__fig,
  .page-products .pd-ver__fig,
  .page-products .pd-multi__fig {
    transform: none;
  }
}
