.page-products {
  --pg-cut: 22px;
  --pg-line: rgba(11, 29, 46, .13);
  --pg-line-dark: rgba(201, 211, 220, .2);
  --pg-drop: drop-shadow(0 20px 28px rgba(11, 29, 46, .12));
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  margin: 0;
}

.page-products p {
  margin: 0;
}

.page-products a {
  color: inherit;
}

.page-products .pg-section {
  padding: clamp(44px, 8vw, 92px) 0;
}

.page-products .mono {
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

/* ---------- 首屏 ---------- */
.page-products .pg-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px) 0 clamp(46px, 8vw, 86px);
  color: var(--paper);
  background:
    radial-gradient(130% 120% at 8% -10%, #1A3E5C 0%, #0B1D2E 56%, #071320 100%);
}

.page-products .pg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(201, 211, 220, .09) 0 1px, transparent 1px 92px);
  opacity: .7;
}

.page-products .pg-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 168, 79, .6), transparent);
}

.page-products .pg-hero__inner {
  position: relative;
  z-index: 1;
}

.page-products .pg-hero .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-bottom: clamp(20px, 4vw, 34px);
  font-size: .82rem;
  color: var(--moon);
}

.page-products .pg-hero .crumbs__item a {
  color: var(--tide);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 179, 200, .45);
}

.page-products .pg-hero .crumbs__item a:hover {
  color: var(--paper);
}

.page-products .pg-hero__grid {
  display: grid;
  gap: clamp(26px, 5vw, 52px);
}

.page-products .pg-hero__eyebrow {
  font-size: .78rem;
  color: var(--gold);
  margin-bottom: .9rem;
}

.page-products .pg-hero h1 {
  font-size: clamp(1.85rem, 5.4vw, 3.05rem);
  margin-bottom: 1rem;
  max-width: 20em;
}

.page-products .pg-hero__text {
  font-size: clamp(.98rem, 2.2vw, 1.06rem);
  color: rgba(243, 239, 230, .82);
  max-width: 38em;
}

.page-products .pg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.6rem;
}

.page-products .pg-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--pg-line-dark);
  font-size: .85rem;
  color: rgba(201, 211, 220, .8);
}

.page-products .pg-hero__facts .mono {
  display: block;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--gold);
}

.page-products .pg-hero__frame {
  position: relative;
  padding: 14px 14px 12px;
  border: 1px solid rgba(201, 211, 220, .26);
  background: linear-gradient(160deg, rgba(46, 111, 142, .22), rgba(11, 29, 46, .58));
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.page-products .pg-hero__frame-top,
.page-products .pg-hero__frame-foot {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  font-size: .7rem;
  color: rgba(201, 211, 220, .72);
}

.page-products .pg-hero__frame-top {
  padding-bottom: .6rem;
  border-bottom: 1px dashed rgba(201, 211, 220, .22);
  margin-bottom: .6rem;
}

.page-products .pg-hero__frame-foot {
  padding-top: .7rem;
  border-top: 1px dashed rgba(201, 211, 220, .22);
  margin-top: .4rem;
  align-items: baseline;
}

.page-products .pg-hero__frame-foot .mono {
  color: var(--tide);
  font-size: .82rem;
}

.page-products .pg-hero__chart {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 区块标题 ---------- */
.page-products .pg-head {
  max-width: 46rem;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-products .pg-head__kicker {
  font-size: .76rem;
  color: var(--clay);
  margin-bottom: .7rem;
}

.page-products .pg-head .section-head__title {
  font-size: clamp(1.35rem, 3.6vw, 2.05rem);
  margin-bottom: .8rem;
}

.page-products .pg-head .section-head__note {
  font-size: .96rem;
  color: var(--stone);
}

.page-products .pg-head--dark .section-head__title {
  color: var(--paper);
}

.page-products .pg-head--dark .section-head__note {
  color: rgba(201, 211, 220, .78);
}

.page-products .pg-head--dark .pg-head__kicker {
  color: var(--gold);
}

/* ---------- 四个板块 ---------- */
.page-products .pg-boards-sec {
  background: var(--paper);
}

.page-products .pg-arch .figure__media,
.page-products .pg-arch img {
  border-radius: var(--radius);
}

.page-products .pg-arch img,
.page-products .pg-ver__fig img,
.page-products .pg-change__fig img,
.page-products .pg-tags__fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .pg-arch {
  margin: 0 0 clamp(26px, 4vw, 42px);
}

.page-products .pg-boards {
  display: grid;
  gap: 16px;
}

.page-products .pg-board {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 26px 22px 22px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F3EA 100%);
  clip-path: polygon(0 0, calc(100% - var(--pg-cut)) 0, 100% var(--pg-cut), 100% 100%, 0 100%);
  filter: var(--pg-drop);
}

.page-products .pg-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background: var(--teal);
}

.page-products .pg-board:nth-child(2)::before { background: var(--gold); }
.page-products .pg-board:nth-child(3)::before { background: var(--coral); }
.page-products .pg-board:nth-child(4)::before { background: var(--moss); }

.page-products .pg-board__no {
  font-size: .8rem;
  color: var(--tide);
}

.page-products .pg-board h3 {
  font-size: 1.12rem;
}

.page-products .pg-board__text {
  font-size: .93rem;
  color: #33414d;
}

.page-products .pg-board__use {
  margin-top: auto;
  padding-top: .7rem;
  border-top: 1px dashed var(--pg-line);
  font-size: .82rem;
  color: var(--stone);
}

.page-products .pg-board__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 111, 142, .35);
  align-self: flex-start;
}

.page-products .pg-board__link:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* ---------- 版本号 ---------- */
.page-products .pg-version-sec {
  background:
    linear-gradient(180deg, #0E2437 0%, #0B1D2E 100%);
  color: var(--paper);
}

.page-products .pg-ver {
  display: grid;
  gap: 20px;
}

.page-products .pg-ver__panel {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--pg-line-dark);
  background: linear-gradient(155deg, rgba(46, 111, 142, .34), rgba(18, 44, 68, .92));
  border-radius: var(--radius);
}

.page-products .pg-ver__label {
  font-size: .78rem;
  color: var(--tide);
}

.page-products .pg-ver__digits {
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 3vw, 26px);
  margin: 1rem 0 1.2rem;
}

.page-products .pg-ver__part span {
  display: block;
  font-size: clamp(2.6rem, 10vw, 4rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--tide), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-products .pg-ver__part small {
  display: block;
  margin-top: .5rem;
  font-size: .78rem;
  color: rgba(201, 211, 220, .75);
}

.page-products .pg-ver__sep {
  width: 1px;
  height: 2.2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, transparent, var(--gold));
}

.page-products .pg-ver__hint {
  font-size: .9rem;
  color: rgba(243, 239, 230, .78);
  border-top: 1px dashed var(--pg-line-dark);
  padding-top: .9rem;
}

.page-products .pg-ver__notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pg-ver__notes li {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--pg-line-dark);
  border-radius: var(--radius-sm);
  background: rgba(11, 29, 46, .42);
}

.page-products .pg-ver__num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(214, 168, 79, .6);
  color: var(--gold);
  font-size: .8rem;
}

.page-products .pg-ver__notes h3 {
  font-size: 1rem;
  color: var(--paper);
  margin-bottom: .3rem;
}

.page-products .pg-ver__notes p {
  font-size: .88rem;
  color: rgba(201, 211, 220, .8);
}

.page-products .pg-ver__fig {
  margin: clamp(26px, 4vw, 40px) 0 0;
}

.page-products .pg-ver__fig img {
  border-radius: var(--radius);
}

.page-products .pg-ver__fig .figure__caption {
  color: rgba(201, 211, 220, .68);
}

/* ---------- 五类变更 ---------- */
.page-products .pg-change-sec {
  background: var(--paper-2);
}

.page-products .pg-change__band {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 2px solid rgba(46, 111, 142, .28);
}

.page-products .pg-change {
  background: var(--white);
  border: 1px solid var(--pg-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.page-products .pg-change[open] {
  background: #FFFDF7;
  border-color: rgba(214, 168, 79, .6);
}

.page-products .pg-change summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
}

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

.page-products .pg-change__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(46, 111, 142, .1);
  color: var(--teal);
}

.page-products .pg-change__icon svg {
  width: 18px;
  height: 18px;
}

.page-products .pg-change[open] .pg-change__icon {
  background: rgba(214, 168, 79, .18);
  color: var(--clay);
}

.page-products .pg-change__name {
  flex: 1 1 auto;
}

.page-products .pg-change__mark {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
}

.page-products .pg-change__mark::before,
.page-products .pg-change__mark::after {
  content: "";
  position: absolute;
  background: var(--teal);
  transition: transform .25s var(--ease), background .25s var(--ease);
}

.page-products .pg-change__mark::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}

.page-products .pg-change__mark::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}

.page-products .pg-change[open] .pg-change__mark::after {
  transform: scaleY(0);
}

.page-products .pg-change[open] .pg-change__mark::before {
  background: var(--gold);
}

.page-products .pg-change p {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px dashed var(--pg-line);
  font-size: .88rem;
  color: #3a4753;
}

.page-products .pg-change__fig {
  margin: clamp(24px, 4vw, 38px) 0 0;
}

.page-products .pg-change__fig img {
  border-radius: var(--radius);
}

/* ---------- 移动端第二栏 ---------- */
.page-products .pg-mobile-sec {
  background:
    radial-gradient(110% 130% at 90% 0%, #17374f 0%, #0B1D2E 62%, #081722 100%);
  color: var(--paper);
}

.page-products .pg-mobile {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
}

.page-products .pg-mobile .pg-head__kicker {
  color: var(--gold);
  font-size: .76rem;
  margin-bottom: .7rem;
}

.page-products .pg-mobile .section-head__title {
  font-size: clamp(1.35rem, 3.8vw, 2.05rem);
  margin-bottom: .9rem;
}

.page-products .pg-mobile__lead {
  font-size: .98rem;
  color: rgba(243, 239, 230, .82);
  max-width: 34em;
}

.page-products .pg-mobile__list {
  list-style: none;
  margin: 1.6rem 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pg-mobile__list li {
  padding-left: 16px;
  border-left: 2px solid rgba(127, 179, 200, .5);
}

.page-products .pg-mobile__list h3 {
  font-size: .98rem;
  color: var(--paper);
  margin-bottom: .2rem;
}

.page-products .pg-mobile__list p {
  font-size: .88rem;
  color: rgba(201, 211, 220, .78);
}

.page-products .pg-phone {
  position: relative;
  width: min(300px, 100%);
  margin: 0 auto;
  padding: 30px 14px 16px;
  border-radius: 34px;
  background: linear-gradient(180deg, #14314a, #0A1B29);
  border: 1px solid rgba(201, 211, 220, .24);
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .7);
}

.page-products .pg-phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 6px;
  border-radius: 999px;
  background: rgba(201, 211, 220, .32);
}

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

.page-products .pg-phone__cap {
  margin-top: .8rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(201, 211, 220, .7);
}

.page-products .pg-mobile__text .btn {
  align-self: flex-start;
}

/* ---------- 标签索引 ---------- */
.page-products .pg-tags-sec {
  background: var(--paper);
}

.page-products .pg-tags {
  display: grid;
  gap: 16px;
}

.page-products .pg-tag-group {
  padding: 20px 18px 22px;
  background: var(--white);
  border: 1px solid var(--pg-line);
  border-top: 4px solid var(--teal);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.page-products .pg-tag-group--stage { border-top-color: var(--moss); }
.page-products .pg-tag-group--focus { border-top-color: var(--coral); }

.page-products .pg-tag-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .4rem;
}

.page-products .pg-tag-group__head h3 {
  font-size: 1.05rem;
}

.page-products .pg-tag-group__count {
  font-size: .78rem;
  color: var(--stone);
}

.page-products .pg-tag-group__note {
  font-size: .85rem;
  color: var(--stone);
  margin-bottom: 1rem;
}

.page-products .pg-tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.page-products .pg-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .82rem;
  line-height: 1.6;
  border: 1px solid rgba(46, 111, 142, .45);
  color: #1d4f66;
  background: rgba(46, 111, 142, .07);
}

.page-products .pg-tag-group--stage .pg-pill {
  border-color: rgba(95, 122, 99, .5);
  color: #3f5943;
  background: rgba(95, 122, 99, .08);
}

.page-products .pg-tag-group--focus .pg-pill {
  border-color: rgba(224, 138, 110, .65);
  color: var(--coral-deep);
  background: rgba(224, 138, 110, .1);
}

.page-products .pg-tags__fig {
  margin: clamp(24px, 4vw, 38px) 0 0;
}

.page-products .pg-tags__fig img {
  border-radius: var(--radius);
}

/* ---------- 起步路线 ---------- */
.page-products .pg-paths-sec {
  background: var(--paper-2);
}

.page-products .pg-paths {
  display: grid;
  gap: 16px;
}

.page-products .pg-path {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 22px 20px 20px;
  background: var(--paper);
  border: 1px solid var(--pg-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pg-cut)), calc(100% - var(--pg-cut)) 100%, 0 100%);
}

.page-products .pg-path__tag {
  font-size: .74rem;
  color: var(--clay);
}

.page-products .pg-path h3 {
  font-size: 1.05rem;
}

.page-products .pg-path__steps {
  margin: 0;
  padding-left: 1.15rem;
  font-size: .88rem;
  color: #3a4753;
}

.page-products .pg-path__steps li {
  margin-bottom: .35rem;
}

.page-products .pg-path__steps li::marker {
  color: var(--teal);
  font-family: var(--font-mono);
}

.page-products .pg-path__link {
  margin-top: auto;
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 111, 142, .35);
  align-self: flex-start;
}

.page-products .pg-path__link:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.page-products .pg-cta {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--paper);
  background: linear-gradient(140deg, #17374f 0%, #0B1D2E 70%);
  border-left: 4px solid var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--pg-cut) 100%, 0 calc(100% - var(--pg-cut)));
}

.page-products .pg-cta__title {
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  margin-bottom: .5rem;
}

.page-products .pg-cta__text {
  font-size: .9rem;
  color: rgba(201, 211, 220, .82);
}

.page-products .pg-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-products .pg-boards,
  .page-products .pg-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-products .pg-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .pg-tag-group--focus {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .page-products .pg-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    align-items: center;
  }

  .page-products .pg-ver {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .page-products .pg-mobile {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
  }

  .page-products .pg-path {
    min-height: 100%;
  }
}

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

  .page-products .pg-change__band {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-products .pg-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pg-tag-group--focus {
    grid-column: auto;
  }

  .page-products .pg-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pg-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pg-board,
  .page-products .pg-change,
  .page-products .pg-change__mark::before,
  .page-products .pg-change__mark::after {
    transition: none;
  }
}
