.page-products {
  --pp-gap: clamp(18px, 2.6vw, 34px);
  --pp-radius: 2px;
}

.page-products .breadcrumb {
  padding-top: clamp(14px, 2.2vw, 24px);
}

/* ---------- 首屏 ---------- */
.page-products .hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

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

.page-products .hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--mist-100);
  margin: 14px 0 0;
}

.page-products .hero__lede {
  margin: 16px 0 0;
  max-width: 48ch;
  color: var(--mist-400);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.78;
}

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

.page-products .hero__facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: var(--bd);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

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

.page-products .hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-products .hero__facts .num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--glow-lime);
  line-height: 1;
}

.page-products .hero__facts li > span:last-child {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist-400);
}

/* 控制台视觉 */
.page-products .console {
  position: relative;
  border: 2px solid var(--line-steel);
  border-radius: var(--pp-radius);
  background: linear-gradient(158deg, rgba(139, 92, 246, 0.22), rgba(5, 6, 11, 0.96) 60%);
  box-shadow: var(--shadow-hard), 0 0 40px rgba(139, 92, 246, 0.24);
  padding: 16px 16px 12px;
  overflow: hidden;
}

.page-products .console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(231, 233, 242, 0.05) 0 1px,
    transparent 1px 4px
  );
  pointer-events: none;
}

.page-products .console__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-steel);
}

.page-products .console__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-steel);
}

.page-products .console__dot:first-child {
  background: var(--candy-pink);
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.8);
}

.page-products .console__title {
  margin-left: auto;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist-400);
}

.page-products .console__list {
  position: relative;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .console__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(20, 24, 38, 0.86);
  border: 1px solid var(--line-steel);
  border-radius: var(--pp-radius);
}

.page-products .console__slot {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--mist-100);
}

.page-products .console__state {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.page-products .console__state--free {
  color: var(--neon-cyan);
}

.page-products .console__state--busy {
  color: var(--tag-amber);
}

.page-products .console__foot {
  position: relative;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-steel);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-products .console__ver {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--candy-pink);
}

.page-products .console__hint {
  font-size: 12px;
  color: var(--mist-400);
}

.page-products .knot {
  position: absolute;
  right: -28px;
  bottom: -30px;
  width: 148px;
  height: 148px;
  color: var(--candy-pink);
  opacity: 0.34;
  pointer-events: none;
}

/* ---------- 章节标题 ---------- */
.page-products .sec-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-products .sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.24;
  margin: 12px 0 0;
  color: var(--mist-100);
}

.page-products .sec-lede {
  margin: 12px 0 0;
  color: var(--mist-400);
  line-height: 1.75;
  font-size: 16px;
}

/* ---------- 功能磁贴 ---------- */
.page-products .tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

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

.page-products .tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px 24px;
  background: var(--night-800);
  border: var(--bd);
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-hard);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-products .tile:nth-child(1) {
  border-top: 4px solid var(--neon-violet);
}

.page-products .tile:nth-child(2) {
  border-top: 4px solid var(--neon-cyan);
}

.page-products .tile:nth-child(3) {
  border-top: 4px solid var(--candy-pink);
}

.page-products .tile:nth-child(4) {
  border-top: 4px solid var(--glow-lime);
}

.page-products .tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard), 0 0 24px rgba(34, 211, 238, 0.34);
}

.page-products .tile__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
}

.page-products .tile h3 {
  margin: 0;
  font-family: var(--font-label);
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--mist-100);
}

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

/* ---------- 费用构成 ---------- */
.page-products .cost-bar {
  display: flex;
  flex-wrap: wrap;
  border: var(--bd);
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-products .cost-bar__seg {
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(42, 48, 64, 0.9);
}

.page-products .cost-bar__seg:last-child {
  border-right: 0;
}

.page-products .cost-bar__seg b {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--mist-100);
  line-height: 1;
}

.page-products .cost-bar__seg i {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist-400);
}

.page-products .cost-bar__seg--a {
  flex-grow: 42;
  background: rgba(139, 92, 246, 0.3);
}

.page-products .cost-bar__seg--b {
  flex-grow: 28;
  background: rgba(34, 211, 238, 0.26);
}

.page-products .cost-bar__seg--c {
  flex-grow: 18;
  background: rgba(244, 114, 182, 0.24);
}

.page-products .cost-bar__seg--d {
  flex-grow: 12;
  background: rgba(163, 230, 53, 0.22);
}

@media (max-width: 719px) {
  .page-products .cost-bar {
    flex-direction: column;
  }

  .page-products .cost-bar__seg {
    flex: 0 0 auto;
    border-right: 0;
    border-bottom: 1px solid rgba(42, 48, 64, 0.9);
  }

  .page-products .cost-bar__seg:last-child {
    border-bottom: 0;
  }
}

.page-products .cost-note {
  margin: 22px 0 0;
  max-width: 68ch;
  color: var(--mist-400);
  line-height: 1.8;
  font-size: 16px;
}

.page-products .cost-examples {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

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

.page-products .cost-ex {
  border: var(--bd);
  border-left: 4px solid var(--neon-cyan);
  background: var(--night-800);
  box-shadow: var(--shadow-hard);
  border-radius: var(--pp-radius);
  padding: 20px 18px;
}

.page-products .cost-ex h3 {
  margin: 0 0 10px;
  font-family: var(--font-label);
  font-size: 17px;
  color: var(--mist-100);
}

.page-products .cost-ex p {
  margin: 0;
  color: var(--mist-400);
  line-height: 1.78;
  font-size: 15px;
}

.page-products .cost-ex__total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px dashed var(--line-steel);
}

.page-products .cost-ex__total .num {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--glow-lime);
  line-height: 1;
}

.page-products .cost-ex__total span:last-child {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist-400);
}

.page-products .cost-foot {
  margin: 16px 0 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--mist-400);
}

/* ---------- 六档额度 ---------- */
.page-products .tier-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 1000px) {
  .page-products .tier-layout {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
  }
}

.page-products .tier-scroll {
  overflow-x: auto;
  border: var(--bd);
  border-radius: var(--pp-radius);
  background: var(--night-800);
  box-shadow: var(--shadow-hard);
  -webkit-overflow-scrolling: touch;
}

.page-products .tier-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-products .tier-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist-400);
  background: var(--night-900);
  border-bottom: 1px solid var(--line-steel);
}

.page-products .tier-table th,
.page-products .tier-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-steel);
  vertical-align: middle;
}

.page-products .tier-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .tier-table thead th {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist-400);
  background: var(--night-900);
}

.page-products .tier-table td:nth-child(3) {
  color: var(--mist-400);
  line-height: 1.6;
}

.page-products .tier-table td:nth-child(4) {
  font-family: var(--font-mono);
  color: var(--mist-100);
  white-space: nowrap;
}

.page-products .tier-table tbody tr {
  transition: background var(--dur) var(--ease);
}

.page-products .tier-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.12);
}

.page-products .tier-amount {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--glow-lime);
  letter-spacing: 0.02em;
}

.page-products .tier-rate {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .tier-rate__bar {
  flex: 0 0 84px;
  height: 8px;
  background: var(--night-950);
  border: 1px solid var(--line-steel);
  border-radius: 999px;
  overflow: hidden;
}

.page-products .tier-rate__fill {
  display: block;
  height: 100%;
  background: var(--glow-lime);
  box-shadow: 0 0 10px rgba(163, 230, 53, 0.7);
}

.page-products .tier-table tbody tr:nth-child(1) .tier-rate__fill { width: 0%; }
.page-products .tier-table tbody tr:nth-child(2) .tier-rate__fill { width: 25%; }
.page-products .tier-table tbody tr:nth-child(3) .tier-rate__fill { width: 40%; }
.page-products .tier-table tbody tr:nth-child(4) .tier-rate__fill { width: 60%; }
.page-products .tier-table tbody tr:nth-child(5) .tier-rate__fill { width: 80%; }
.page-products .tier-table tbody tr:nth-child(6) .tier-rate__fill { width: 100%; }

.page-products .tier-rate__num {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--glow-lime);
  min-width: 40px;
}

.page-products .tier-notes {
  border: var(--bd);
  border-top: 4px solid var(--candy-pink);
  border-radius: var(--pp-radius);
  background: var(--night-800);
  box-shadow: var(--shadow-hard);
  padding: 22px 20px;
}

.page-products .tier-notes h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--mist-100);
}

.page-products .tier-notes ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--mist-400);
  line-height: 1.8;
  font-size: 15px;
}

.page-products .tier-notes li {
  margin-bottom: 12px;
}

.page-products .tier-notes li strong {
  color: var(--mist-100);
}

.page-products .tier-notes .btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.page-products .tier-figure {
  margin-top: clamp(24px, 3vw, 36px);
}

/* ---------- 怎么选 ---------- */
.page-products .picks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

.page-products .pick {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  background: var(--night-800);
  border: var(--bd);
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-hard);
}

.page-products .pick--a { border-bottom: 4px solid var(--neon-cyan); }
.page-products .pick--b { border-bottom: 4px solid var(--neon-violet); }
.page-products .pick--c { border-bottom: 4px solid var(--glow-lime); }

.page-products .pick__who {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist-400);
}

.page-products .pick__tier {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  color: var(--glow-lime);
}

.page-products .pick h3 {
  margin: 0;
  font-family: var(--font-label);
  font-size: 17px;
  line-height: 1.5;
  color: var(--mist-100);
}

.page-products .pick p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist-400);
}

/* ---------- 下载与安装 ---------- */
.page-products .install-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 960px) {
  .page-products .install-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}

.page-products .steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.page-products .steps li {
  counter-increment: step;
  position: relative;
  margin-left: 17px;
  padding-left: 40px;
  padding-bottom: 26px;
  border-left: 1px solid var(--line-steel);
}

.page-products .steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.page-products .steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -17px;
  top: -2px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--night-950);
  border: 1px solid var(--neon-cyan);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
}

.page-products .steps h3 {
  margin: 0 0 6px;
  font-family: var(--font-label);
  font-size: 17px;
  color: var(--mist-100);
}

.page-products .steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist-400);
}

.page-products .install-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products .version-card {
  border: 2px solid var(--neon-violet);
  border-radius: var(--pp-radius);
  background: var(--night-800);
  box-shadow: var(--shadow-hard), 0 0 26px rgba(139, 92, 246, 0.3);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products .version-card__label {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist-400);
}

.page-products .version-card__num {
  font-family: var(--font-mono);
  font-size: 38px;
  line-height: 1;
  color: var(--candy-pink);
}

.page-products .version-card__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mist-400);
}

.page-products .install-tip {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist-400);
}

/* ---------- 账号体系 ---------- */
.page-products .rank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 960px) {
  .page-products .rank-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: start;
  }
}

.page-products .rank-panels {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products .rank-panel {
  border: var(--bd);
  border-radius: var(--pp-radius);
  background: var(--night-800);
  box-shadow: var(--shadow-hard);
  padding: 22px 20px;
}

.page-products .rank-panel--cyan { border-left: 4px solid var(--neon-cyan); }
.page-products .rank-panel--violet { border-left: 4px solid var(--neon-violet); }

.page-products .rank-panel h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--mist-100);
}

.page-products .rank-panel ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--mist-400);
  line-height: 1.8;
  font-size: 15px;
}

.page-products .rank-panel li {
  margin-bottom: 10px;
}

.page-products .rank-panel li strong {
  color: var(--mist-100);
}

.page-products .rank-panel > p {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line-steel);
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist-400);
}

/* ---------- 排障 ---------- */
.page-products .fix-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 960px) {
  .page-products .fix-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}

.page-products .fix-list {
  display: grid;
  gap: 12px;
}

.page-products .fix {
  border: var(--bd);
  border-radius: var(--pp-radius);
  background: var(--night-800);
  box-shadow: var(--shadow-hard);
  transition: border-color var(--dur) var(--ease);
}

.page-products .fix:hover {
  border-color: var(--neon-violet);
}

.page-products .fix summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-family: var(--font-label);
  font-size: 16px;
  color: var(--mist-100);
}

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

.page-products .fix summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--neon-cyan);
}

.page-products .fix[open] summary::after {
  content: "–";
  color: var(--candy-pink);
}

.page-products .fix__body {
  padding: 0 18px 18px;
  border-top: 1px dashed var(--line-steel);
  margin-top: -1px;
  padding-top: 14px;
}

.page-products .fix__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist-400);
}

.page-products .fix__body strong {
  color: var(--mist-100);
}

/* ---------- 索引地图 ---------- */
.page-products .index-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-steel);
  border: var(--bd);
  border-radius: var(--pp-radius);
  overflow: hidden;
}

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

.page-products .index-map__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "no label arrow"
    "no desc arrow";
  align-items: center;
  gap: 4px 14px;
  padding: 18px 18px;
  background: var(--night-900);
  text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-products .index-map__item:hover {
  background: var(--night-800);
}

.page-products .index-map__no {
  grid-area: no;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--neon-cyan);
}

.page-products .index-map__label {
  grid-area: label;
  font-family: var(--font-label);
  font-size: 16px;
  color: var(--mist-100);
}

.page-products .index-map__desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist-400);
}

.page-products .index-map__arrow {
  grid-area: arrow;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--neon-violet);
}

/* ---------- 图片微调 ---------- */
.page-products .media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .fix-figure {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .page-products .tile,
  .page-products .fix,
  .page-products .index-map__item {
    transition: none;
  }

  .page-products .tile:hover {
    transform: none;
  }
}
