.page-products {
  --pp-gap: clamp(16px, 3vw, 28px);
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0 clamp(44px, 6vw, 78px);
  background:
    radial-gradient(115% 85% at 86% 8%, rgba(18, 160, 106, .26), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--slate) 100%);
  border-bottom: var(--line);
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(44, 59, 87, .55) 46px 49px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  mask-image: linear-gradient(180deg, transparent, #000);
  pointer-events: none;
}

.page-products .prod-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--pp-gap);
  align-items: end;
}

@media (min-width: 900px) {
  .page-products .prod-hero__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(28px, 4vw, 56px);
  }
}

.page-products .prod-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--mist);
}

.page-products .prod-hero__lead {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--mist);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.page-products .prod-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 4vw, 40px);
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 2px solid var(--iron);
}

.page-products .prod-hero__facts > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .prod-hero__facts dt {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--fog);
}

.page-products .prod-hero__facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--cyan);
}

.page-products .prod-hero__media {
  margin: 0;
  border: var(--line);
  box-shadow: var(--shadow-hard);
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
}

.page-products .prod-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.94) contrast(1.04);
}

.page-products .media-frame__caption {
  padding: 11px 14px;
  background: var(--navy);
  border-top: 2px solid var(--iron);
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.7;
  color: var(--fog);
}

/* ---------- 章节通用 ---------- */
.page-products .section--tint {
  background: linear-gradient(180deg, var(--slate) 0%, var(--night) 100%);
  border-top: var(--line);
  border-bottom: var(--line);
}

.page-products .prod-lead {
  max-width: 62ch;
  margin: 12px 0 0;
  color: var(--fog);
  font-size: var(--fs-body);
  line-height: 1.8;
}

/* ---------- 终端切换 ---------- */
.page-products .term-layout {
  display: grid;
  gap: var(--pp-gap);
}

@media (min-width: 880px) {
  .page-products .term-layout {
    grid-template-columns: 224px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
  }
}

.page-products .term-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 880px) {
  .page-products .term-switch {
    grid-template-columns: 1fr;
    position: sticky;
    top: 148px;
  }
}

.page-products .term-switch .tab {
  min-height: 52px;
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--mist);
  background: var(--slate);
  border: 2px solid var(--iron);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-products .term-switch .tab:hover {
  background: var(--navy);
  transform: translateX(3px);
}

.page-products .term-switch .tab[data-active],
.page-products .term-switch .tab[aria-selected="true"] {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
}

.page-products .tab-panel {
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(158deg, var(--navy) 0%, var(--slate) 100%);
  border: var(--line);
  box-shadow: var(--shadow-hard);
}

.page-products .tab-panel + .tab-panel {
  margin-top: 16px;
}

.page-products .term-panels:has(.tab-panel[data-active]) .tab-panel:not([data-active]) {
  display: none;
}

.page-products .term-panels:has(.tab-panel[data-active]) .tab-panel + .tab-panel {
  margin-top: 0;
}

.page-products .term-panel__kicker {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-products .term-panel__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.25;
  color: var(--mist);
}

.page-products .term-panel__text {
  margin: 14px 0 0;
  max-width: 58ch;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-products .term-panel__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.page-products .term-panel__list li {
  position: relative;
  padding-left: 22px;
  color: var(--fog);
  font-size: 15px;
  line-height: 1.7;
}

.page-products .term-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 12px;
  height: 3px;
  background: var(--jade);
}

.page-products .term-panel__note {
  margin: 20px 0 0;
  padding: 11px 14px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 176, 32, .09);
  color: var(--fog);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 终端对比 ---------- */
.page-products .term-matrix {
  margin-top: clamp(24px, 4vw, 40px);
  border: var(--line);
  background: var(--slate);
}

.page-products .term-matrix__row {
  display: block;
  border-bottom: 2px solid var(--iron);
}

.page-products .term-matrix__row:last-child {
  border-bottom: 0;
}

.page-products .term-matrix__row--head {
  display: none;
}

.page-products .term-matrix__key,
.page-products .term-matrix__cell {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.6;
}

.page-products .term-matrix__key {
  background: var(--navy);
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--jade);
}

.page-products .term-matrix__cell {
  border-bottom: 1px dashed var(--iron);
  color: var(--mist);
}

.page-products .term-matrix__row .term-matrix__cell:last-child {
  border-bottom: 0;
}

@media (max-width: 859px) {
  .page-products .term-matrix__cell::before {
    content: attr(data-term) "：";
    margin-right: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
  }
}

@media (min-width: 860px) {
  .page-products .term-matrix__row,
  .page-products .term-matrix__row--head {
    display: grid;
    grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr));
  }

  .page-products .term-matrix__row--head {
    background: var(--navy);
  }

  .page-products .term-matrix__row--head .term-matrix__key,
  .page-products .term-matrix__row--head .term-matrix__cell {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    color: var(--mist);
    border-bottom: 0;
  }

  .page-products .term-matrix__key,
  .page-products .term-matrix__cell {
    border-right: 2px solid var(--iron);
    border-bottom: 0;
  }

  .page-products .term-matrix__row .term-matrix__cell:last-child {
    border-right: 0;
  }
}

.page-products .bigscreen {
  margin: clamp(24px, 4vw, 40px) 0 0;
  border: var(--line);
  box-shadow: var(--shadow-hard);
  background: var(--navy);
}

.page-products .bigscreen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  filter: saturate(.9) contrast(1.06);
}

/* ---------- 免费范围 ---------- */
.page-products .free-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 32px);
}

@media (min-width: 700px) {
  .page-products .free-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.page-products .free-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
  background: var(--slate);
  border: var(--line);
  box-shadow: var(--shadow-hard);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .free-card:hover {
  transform: translateY(-2px);
  border-color: var(--jade);
}

.page-products .free-card .card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--mist);
}

.page-products .free-card p {
  margin: 0;
  color: var(--fog);
  font-size: 15px;
  line-height: 1.75;
}

.page-products .free-card .card__meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 2px solid var(--iron);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cyan);
}

/* ---------- 费用档位 ---------- */
.page-products .plan-figure {
  margin: clamp(20px, 3vw, 32px) 0 0;
  border: var(--line);
  box-shadow: var(--shadow-hard);
  background: var(--navy);
}

.page-products .plan-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-products .plan-grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(20px, 3vw, 32px);
}

@media (min-width: 800px) {
  .page-products .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

.page-products .plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  background: var(--slate);
  border: var(--line);
  box-shadow: var(--shadow-hard);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .plan-card:hover,
.page-products .plan-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--amber);
}

.page-products .plan-card--focus {
  background: linear-gradient(165deg, var(--navy) 0%, var(--slate) 100%);
  border-color: var(--amber);
}

.page-products .plan-card__tier {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-products .plan-card--focus .plan-card__tier {
  color: var(--amber);
}

.page-products .plan-card .card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--mist);
}

.page-products .plan-card__text {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
}

.page-products .plan-card__list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.page-products .plan-card__list li {
  position: relative;
  padding-left: 20px;
  color: var(--fog);
  font-size: 14.5px;
  line-height: 1.65;
}

.page-products .plan-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 3px;
  background: var(--jade);
}

.page-products .plan-card__detail {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 2px solid var(--iron);
  color: var(--fog);
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.7;
  transform: translateY(4px);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-products .plan-card:hover .plan-card__detail,
.page-products .plan-card:focus-within .plan-card__detail {
  color: var(--mist);
  transform: none;
}

.page-products .plan-footnote {
  margin: clamp(18px, 3vw, 28px) 0 0;
  padding: 14px 18px;
  border-left: 4px solid var(--cyan);
  background: rgba(44, 224, 194, .07);
  color: var(--fog);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- 平板端 ---------- */
.page-products .pad-layout {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

@media (min-width: 940px) {
  .page-products .pad-layout {
    grid-template-columns: 1.1fr 1fr;
  }
}

.page-products .pad-layout__media {
  margin: 0;
  border: var(--line);
  box-shadow: var(--shadow-hard);
  background: var(--navy);
}

.page-products .pad-layout__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.page-products .pad-layout__copy h3,
.page-products .module-block__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.3;
  color: var(--mist);
}

.page-products .pad-layout__copy p {
  margin: 14px 0 0;
  color: var(--fog);
  font-size: 15.5px;
  line-height: 1.8;
}

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

.page-products .pad-list li {
  position: relative;
  padding: 12px 14px 12px 34px;
  background: var(--slate);
  border: 2px solid var(--iron);
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.65;
}

.page-products .pad-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 1.35em;
  width: 10px;
  height: 10px;
  background: var(--cyan);
}

.page-products .module-block {
  margin-top: clamp(28px, 4vw, 48px);
}

.page-products .module-block__lead {
  margin: 12px 0 0;
  max-width: 60ch;
  color: var(--fog);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-products .module-block__body {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  margin-top: clamp(18px, 3vw, 28px);
  align-items: start;
}

@media (min-width: 880px) {
  .page-products .module-block__body {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }
}

.page-products .module-block__media {
  margin: 0;
  border: var(--line);
  box-shadow: var(--shadow-hard);
  background: var(--navy);
}

.page-products .module-block__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-products .module-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.page-products .module-tile {
  position: relative;
  padding: 16px 14px 16px 18px;
  background: var(--slate);
  border: 2px solid var(--iron);
  border-left: 4px solid var(--iron);
  transition: border-left-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-products .module-tile:hover {
  border-left-color: var(--cyan);
  background: var(--navy);
  transform: translateY(-2px);
}

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

.page-products .module-tile__name {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--cyan);
}

.page-products .module-tile__desc {
  margin: 8px 0 0;
  color: var(--fog);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ---------- 长期用户 ---------- */
.page-products .section--loyal {
  background:
    linear-gradient(102deg, rgba(18, 160, 106, .18) 0%, transparent 52%),
    var(--night);
  border-top: var(--line);
  border-bottom: var(--line);
}

.page-products .loyal-inner {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

@media (min-width: 820px) {
  .page-products .loyal-inner {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}

.page-products .loyal-inner__copy h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.2;
  color: var(--mist);
}

.page-products .loyal-inner__copy p {
  margin: 16px 0 0;
  max-width: 58ch;
  color: var(--fog);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-products .loyal-inner__cta {
  margin-top: 24px;
}

.page-products .loyal-inner__stat {
  padding: 22px 20px;
  text-align: center;
  background: var(--slate);
  border: var(--line);
  box-shadow: var(--shadow-hard);
  transform: rotate(-1.5deg);
}

.page-products .loyal-inner__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--amber);
}

.page-products .loyal-inner__label {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: .06em;
  color: var(--fog);
}

/* ---------- 开通三步 ---------- */
.page-products .step-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: 0;
  counter-reset: none;
}

@media (min-width: 800px) {
  .page-products .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-products .step-item {
  position: relative;
  padding: 24px 20px 22px;
  background: var(--slate);
  border: var(--line);
  box-shadow: var(--shadow-hard);
}

.page-products .step-item__no {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--amber);
}

.page-products .step-item__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--mist);
}

.page-products .step-item p {
  margin: 10px 0 0;
  color: var(--fog);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- 版本演进 ---------- */
.page-products .version-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 32px);
}

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

.page-products .version-item {
  padding: 22px 20px;
  background: var(--navy);
  border: var(--line);
  border-bottom: 6px solid var(--jade);
}

.page-products .version-item__no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .version-item h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--mist);
}

.page-products .version-item p {
  margin: 10px 0 0;
  color: var(--fog);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-products .version-note {
  margin: clamp(18px, 3vw, 28px) 0 0;
  color: var(--fog);
  font-size: 14.5px;
  line-height: 1.8;
}

.page-products .version-note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .version-note a:hover {
  color: var(--amber);
}

/* ---------- 结尾 ---------- */
.page-products .prod-outro {
  background: linear-gradient(120deg, var(--slate) 0%, var(--night) 70%);
  border-top: var(--line);
}

.page-products .prod-outro__inner {
  max-width: 780px;
}

.page-products .prod-outro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.25;
  color: var(--mist);
}

.page-products .prod-outro p {
  margin: 16px 0 0;
  color: var(--fog);
  font-size: 15.5px;
  line-height: 1.85;
}

.page-products .prod-outro__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .page-products .free-card,
  .page-products .plan-card,
  .page-products .module-tile,
  .page-products .term-switch .tab,
  .page-products .plan-card__detail {
    transition: none;
  }
}
