.page-products {
  --pr-gap: clamp(14px, 2.4vw, 26px);
  --pr-panel: #07201B;
  --pr-radius: 10px;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(53, 242, 200, .10), transparent 62%),
    radial-gradient(760px 420px at -6% 24%, rgba(255, 138, 61, .07), transparent 70%),
    var(--ink-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: clip;
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-products .pr-crumb {
  padding-top: clamp(14px, 2.4vw, 24px);
}

.page-products .section {
  padding-block: clamp(38px, 6.5vw, 78px);
}

.page-products .pr-head {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-products .pr-head__note {
  margin: 8px 0 0;
  color: var(--text-quiet);
  font-size: .92rem;
  max-width: 46ch;
}

.page-products .pr-lead,
.page-products p {
  color: var(--text-secondary);
}

/* ---------- 首屏 ---------- */
.page-products .pr-hero {
  position: relative;
  padding-bottom: clamp(10px, 2vw, 20px);
}

.page-products .pr-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 44px);
  padding-block: clamp(18px, 3.4vw, 40px) clamp(20px, 3vw, 36px);
  align-items: start;
}

.page-products .pr-hero__visual {
  order: 2;
  display: grid;
  gap: 14px;
}

.page-products .pr-hero__intro {
  order: 1;
}

.page-products .pr-hero__intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 5.4vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 10px 0 0;
  color: var(--text-primary);
}

.page-products .pr-lead {
  margin: 16px 0 0;
  font-size: clamp(.96rem, 1.6vw, 1.06rem);
  line-height: 1.7;
  max-width: 52ch;
}

.page-products .pr-version {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line-mid);
  border-radius: var(--pr-radius);
  background: linear-gradient(140deg, rgba(18, 61, 51, .78), rgba(7, 32, 27, .5));
}

.page-products .pr-version__num {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: .86;
  letter-spacing: -.05em;
  color: var(--neon);
  text-shadow: 0 0 26px rgba(53, 242, 200, .28);
}

.page-products .pr-version__note {
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--text-secondary);
  padding-bottom: 4px;
}

.page-products .pr-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .pr-facts li {
  position: relative;
  padding-left: 20px;
  font-size: .92rem;
  color: var(--text-secondary);
}

.page-products .pr-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal-line);
  transform: rotate(45deg);
}

.page-products .pr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-products .pr-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.page-products .copy-status {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--neon);
  min-height: 1em;
}

/* 设备切换 */
.page-products .pr-device-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  background: rgba(11, 43, 36, .7);
  width: fit-content;
}

.page-products .pr-device-switch .filter-btn {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.page-products .pr-device-switch .filter-btn.is-active,
.page-products .pr-device-switch .filter-btn[aria-pressed="true"] {
  background: var(--neon);
  color: var(--ink-deep);
}

.page-products .pr-stage {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: clamp(14px, 2.6vw, 26px);
  background:
    linear-gradient(160deg, rgba(18, 61, 51, .55), rgba(6, 26, 22, .9));
  box-shadow: inset 0 1px 0 rgba(53, 242, 200, .12);
}

.page-products .pr-device {
  margin: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.page-products .pr-device__frame {
  position: relative;
  width: min(100%, 300px);
  border: 8px solid #0E2A24;
  border-radius: 30px;
  overflow: hidden;
  background: var(--ink-deep);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px var(--line-mid);
}

.page-products .pr-device__frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(201, 214, 208, .3);
  z-index: 2;
}

.page-products .pr-device__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.page-products .pr-device__cap {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--text-quiet);
  margin: 0;
  text-align: center;
}

/* 平板示意 */
.page-products .pr-pad {
  width: min(100%, 420px);
  border: 8px solid #0E2A24;
  border-radius: 18px;
  background: linear-gradient(170deg, #0B2B24, #061A16);
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px var(--line-mid);
  display: grid;
  gap: 12px;
}

.page-products .pr-pad__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-products .pr-pad__meta {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--text-quiet);
}

.page-products .pr-pad__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-products .pr-pad__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 5px;
  background: rgba(18, 61, 51, .62);
  border-left: 2px solid var(--teal-line);
}

.page-products .pr-pad__name {
  font-size: .8rem;
  color: var(--text-secondary);
}

.page-products .pr-pad__bars {
  display: grid;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px dashed var(--line-soft);
}

.page-products .pr-pad__bar {
  display: block;
  height: 7px;
  border-radius: 4px;
  width: var(--w, 50%);
  transition: width .3s var(--ease);
}

.page-products .pr-pad__bar--goal {
  background: linear-gradient(90deg, var(--goal-orange), rgba(255, 138, 61, .35));
}

.page-products .pr-pad__bar--loss {
  background: linear-gradient(90deg, var(--loss-magenta), rgba(199, 71, 122, .3));
}

/* ---------- 功能卡片 ---------- */
.page-products .pr-features__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.page-products .pr-features__list {
  display: grid;
  gap: 10px;
}

.page-products .pr-fcard {
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--teal-line);
  border-radius: var(--pr-radius);
  background: linear-gradient(120deg, rgba(18, 61, 51, .55), rgba(7, 32, 27, .8));
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.page-products .pr-fcard[open] {
  background: linear-gradient(120deg, rgba(18, 61, 51, .82), rgba(7, 32, 27, .92));
}

.page-products .pr-fcard--orange { border-left-color: var(--goal-orange); }
.page-products .pr-fcard--magenta { border-left-color: var(--loss-magenta); }
.page-products .pr-fcard--yellow { border-left-color: var(--check-yellow); }
.page-products .pr-fcard--teal { border-left-color: var(--teal-line); }

.page-products .pr-fcard summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 15px 17px;
  cursor: pointer;
  list-style: none;
}

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

.page-products .pr-fcard summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--neon);
  line-height: 1;
}

.page-products .pr-fcard[open] summary::after {
  content: "−";
}

.page-products .pr-fcard__title {
  font-size: .98rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: .01em;
}

.page-products .pr-fcard__body {
  padding: 0 17px 16px;
}

.page-products .pr-fcard__body p {
  margin: 0;
  font-size: .89rem;
  line-height: 1.72;
}

.page-products .pr-features__figure {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-products .pr-features__figure img,
.page-products .pr-versions__figure img,
.page-products .pr-steps__figure img,
.page-products .pr-privacy__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--pr-radius);
  border: 1px solid var(--line-mid);
  object-fit: cover;
  background: var(--surface-1);
}

.page-products .pr-features__figure figcaption,
.page-products .pr-versions__figure figcaption,
.page-products .pr-steps__figure figcaption {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--text-quiet);
}

/* ---------- 版本时间线 ---------- */
.page-products .pr-versions__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.page-products .pr-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  display: grid;
  gap: 12px;
}

.page-products .pr-tl {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding-left: 6px;
}

.page-products .pr-tl::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 30px;
  bottom: -14px;
  width: 1px;
  background: linear-gradient(180deg, var(--teal-line), rgba(24, 184, 148, .12));
}

.page-products .pr-tl:last-child::before { display: none; }

.page-products .pr-tl__num {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: -.02em;
  color: var(--neon);
  background: var(--ink-deep);
  border: 1px solid var(--line-mid);
  border-radius: 6px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .pr-tl:last-child .pr-tl__num {
  background: var(--neon);
  color: var(--ink-deep);
  border-color: var(--neon);
  box-shadow: 0 0 20px rgba(53, 242, 200, .32);
}

.page-products .pr-tl__card {
  border: 1px solid var(--line-soft);
  border-radius: var(--pr-radius);
  background: rgba(11, 43, 36, .55);
  overflow: hidden;
}

.page-products .pr-tl__card[open] {
  border-color: rgba(53, 242, 200, .4);
  background: rgba(18, 61, 51, .72);
}

.page-products .pr-tl__card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 15px;
  cursor: pointer;
  list-style: none;
}

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

.page-products .pr-tl__card summary::after {
  content: "▾";
  font-size: .7rem;
  color: var(--teal-line);
  transition: transform var(--dur-fast) var(--ease);
}

.page-products .pr-tl__card[open] summary::after {
  transform: rotate(180deg);
}

.page-products .pr-tl__title {
  font-size: .94rem;
  font-weight: 600;
  color: var(--text-primary);
}

.page-products .pr-tl__card p {
  margin: 0;
  padding: 0 15px 15px;
  font-size: .87rem;
  line-height: 1.72;
}

.page-products .pr-versions__figure {
  margin: 0;
  display: grid;
  gap: 10px;
}

/* ---------- 步骤 ---------- */
.page-products .pr-steps__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 40px);
  align-items: start;
}

.page-products .pr-steps__intro p {
  margin: 12px 0 20px;
  font-size: .94rem;
  line-height: 1.7;
  max-width: 46ch;
}

.page-products .pr-steps__figure {
  margin: 25px 0 0;
  display: grid;
  gap: 10px;
}

.page-products .pr-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: prstep;
}

.page-products .pr-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--pr-radius);
  background: linear-gradient(120deg, rgba(11, 43, 36, .7), rgba(6, 26, 22, .85));
  transition: border-color var(--dur-fast) var(--ease);
}

.page-products .pr-step:has(.pr-step__check:checked) {
  border-color: rgba(53, 242, 200, .45);
  background: linear-gradient(120deg, rgba(18, 61, 51, .8), rgba(7, 32, 27, .9));
}

.page-products .pr-step__check {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 4px 0 0;
  border: 1.5px solid var(--border-grey);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  background: transparent;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.page-products .pr-step__check:checked {
  border-color: var(--neon);
  background: rgba(53, 242, 200, .16);
}

.page-products .pr-step__check:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--neon);
}

.page-products .pr-step__body {
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.page-products .pr-step__num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--teal-line);
}

.page-products .pr-step__title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.page-products .pr-step__desc {
  font-size: .87rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---------- 规格表 ---------- */
.page-products .pr-spec__body {
  display: grid;
  gap: 18px;
}

.page-products .pr-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line-mid);
  border-radius: var(--pr-radius);
  overflow: hidden;
  background: rgba(11, 43, 36, .5);
}

.page-products .pr-spec-table th,
.page-products .pr-spec-table td {
  text-align: left;
  padding: 13px 15px;
  font-size: .89rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.page-products .pr-spec-table tr:last-child th,
.page-products .pr-spec-table tr:last-child td {
  border-bottom: 0;
}

.page-products .pr-spec-table th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--teal-line);
  width: 34%;
  background: rgba(6, 26, 22, .55);
}

.page-products .pr-spec-table td {
  color: var(--text-secondary);
}

.page-products .pr-spec__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 隐私 ---------- */
.page-products .pr-privacy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
}

.page-products .pr-privacy__figure {
  margin: 0;
}

.page-products .pr-privacy__figure img {
  border-color: rgba(53, 242, 200, .22);
  opacity: .92;
}

.page-products .pr-privacy__text p {
  margin: 12px 0 0;
  font-size: .92rem;
  line-height: 1.75;
  max-width: 54ch;
}

.page-products .pr-privacy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- 常见问题 ---------- */
.page-products .pr-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-products .pr-q {
  border: 1px solid var(--line-soft);
  border-radius: var(--pr-radius);
  background: rgba(11, 43, 36, .45);
}

.page-products .pr-q[open] {
  border-color: rgba(24, 184, 148, .42);
  background: rgba(18, 61, 51, .66);
}

.page-products .pr-q summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

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

.page-products .pr-q summary::after {
  content: "?";
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--check-yellow);
  border: 1px solid var(--check-yellow);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  opacity: .8;
}

.page-products .pr-q[open] summary::after {
  color: var(--ink-deep);
  background: var(--check-yellow);
  opacity: 1;
}

.page-products .pr-q__title {
  font-size: .93rem;
  font-weight: 600;
  color: var(--text-primary);
}

.page-products .pr-q p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: .87rem;
  line-height: 1.74;
}

.page-products .pr-faq__foot {
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line-mid);
  border-radius: var(--pr-radius);
  background:
    linear-gradient(140deg, rgba(18, 61, 51, .72), rgba(7, 32, 27, .55));
  display: grid;
  gap: 16px;
}

.page-products .pr-faq__foot p {
  margin: 0;
  font-size: .94rem;
  color: var(--text-secondary);
}

.page-products .pr-faq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 中等屏 ---------- */
@media (min-width: 640px) {
  .page-products .pr-faq__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-products .pr-hero__visual {
    order: 1;
    position: sticky;
    top: calc(var(--header-offset) + 20px);
  }

  .page-products .pr-hero__intro {
    order: 2;
  }

  .page-products .pr-steps__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-products .pr-privacy__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .page-products .pr-versions__body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .pr-version {
    padding: 18px 22px;
  }
}

@media (min-width: 980px) {
  .page-products .pr-features__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .pr-features__figure {
    position: sticky;
    top: calc(var(--header-offset) + 20px);
  }

  .page-products .pr-spec__body {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-pad__bar,
  .page-products .pr-tl__card summary::after {
    transition: none;
  }
}

.page-products {
  --w: 1rem;
}
