.page-products {
  --p-gap: clamp(16px, 2.4vw, 26px);
  --p-rail: rgba(232, 240, 235, .13);
  padding-bottom: clamp(44px, 7vw, 92px);
}

.page-products .breadcrumbs {
  padding: 16px 0 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .section {
  padding: clamp(32px, 5.5vw, 68px) 0 0;
}

.page-products :focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(124, 92, 255, .3);
  border-radius: 6px;
}

/* ---------- 控制台首屏 ---------- */
.page-products .p-console {
  position: relative;
  margin-top: 10px;
  padding: clamp(20px, 4vw, 46px);
  border: 1px solid var(--p-rail);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(182, 255, 59, .13), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(49, 230, 196, .10), transparent 60%),
    var(--ink-900);
  overflow: hidden;
}

.page-products .p-console::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius-lg) - 8px);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.page-products .p-console__grid {
  position: relative;
  display: grid;
  gap: clamp(22px, 3.4vw, 40px);
}

.page-products .p-console__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6.6vw, 60px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 12px 0 0;
  color: var(--paper);
  text-wrap: balance;
}

.page-products .p-console__lead {
  margin: 14px 0 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.72;
}

.page-products .p-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.page-products .p-end {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--p-rail);
  border-radius: 999px;
  background: rgba(232, 240, 235, .03);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--paper);
}

.page-products .p-end__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.page-products .p-end--acid .p-end__dot {
  background: var(--acid);
  box-shadow: 0 0 8px rgba(182, 255, 59, .85);
}

.page-products .p-end--cyan .p-end__dot {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(49, 230, 196, .8);
}

.page-products .p-end--violet .p-end__dot {
  background: var(--violet);
  box-shadow: 0 0 8px rgba(124, 92, 255, .8);
}

.page-products .p-end--amber .p-end__dot {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(245, 197, 66, .8);
}

.page-products .p-end--mute {
  color: var(--muted);
}

.page-products .p-console .btn-row {
  margin-top: 22px;
}

.page-products .p-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 46px);
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--p-rail);
}

.page-products .p-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .p-kpi__value {
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

.page-products .p-kpi__label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}

.page-products .p-screen {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: var(--ink-800);
  box-shadow: var(--shadow-1);
}

.page-products .p-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  filter: saturate(.8);
}

.page-products .p-screen__tag {
  position: absolute;
  left: 22px;
  bottom: 20px;
  padding: 6px 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(7, 17, 13, .84);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--acid);
}

/* ---------- 通用区块头 ---------- */
.page-products .p-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--p-rail);
}

.page-products .p-head__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.14;
  color: var(--paper);
  margin: 8px 0 0;
}

.page-products .p-head__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0;
}

.page-products .p-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--paper);
  margin: 0;
}

.page-products .p-sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 12px 0 0;
}

.page-products .p-figure {
  margin: 0;
  border: 1px solid var(--p-rail);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
}

.page-products .p-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(.78);
}

.page-products .p-cap {
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- 会员档位 ---------- */
.page-products .p-member__intro {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  margin-bottom: clamp(22px, 3.4vw, 34px);
}

.page-products .p-tiers {
  display: grid;
  gap: var(--p-gap);
  align-items: start;
}

.page-products .p-tier {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 24px);
  border: 1px solid var(--p-rail);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-products .p-tier:hover,
.page-products .p-tier:focus-within {
  background: var(--ink-700);
  border-color: var(--line-2);
  transform: translateY(-4px);
}

.page-products .p-tier--c {
  border-color: rgba(182, 255, 59, .34);
  background:
    linear-gradient(158deg, rgba(182, 255, 59, .09), transparent 58%),
    var(--ink-800);
}

.page-products .p-tier__rank {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .p-tier--b .p-tier__rank { color: var(--violet); }
.page-products .p-tier--c .p-tier__rank { color: var(--acid); }

.page-products .p-tier__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--paper);
}

.page-products .p-tier__sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-products .p-tier__bar {
  margin-top: 4px;
}

.page-products .p-bar__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(232, 240, 235, .09);
  overflow: hidden;
}

.page-products .p-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.page-products .p-bar__fill--a { width: 14.3%; }
.page-products .p-bar__fill--b { width: 42.9%; }
.page-products .p-bar__fill--c { width: 100%; }

.page-products .p-bar__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.page-products .p-tier__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--paper);
}

.page-products .p-tier__list li {
  position: relative;
  padding-left: 18px;
}

.page-products .p-tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 2px;
  background: var(--acid);
}

.page-products .p-tier--b .p-tier__list li::before { background: var(--cyan); }
.page-products .p-tier--c .p-tier__list li::before { background: var(--amber); }

.page-products .p-table-wrap {
  margin-top: clamp(22px, 3.6vw, 36px);
  border: 1px solid var(--p-rail);
  border-radius: var(--radius);
  overflow-x: auto;
}

.page-products .p-table-wrap .data-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .p-table__cap {
  caption-side: top;
  text-align: left;
  padding: 14px 16px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .p-table-wrap th,
.page-products .p-table-wrap td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.page-products .p-table-wrap thead th {
  background: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .p-table-wrap tbody th {
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
}

.page-products .p-table-wrap tbody td {
  color: var(--muted);
}

.page-products .p-table-wrap tbody tr:hover {
  background: rgba(232, 240, 235, .035);
}

.page-products .p-table-wrap tbody tr:last-child th,
.page-products .p-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 客户端功能 ---------- */
.page-products .p-band {
  position: relative;
  margin-bottom: clamp(18px, 3vw, 28px);
  border: 1px solid var(--p-rail);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-products .p-band img {
  display: block;
  width: 100%;
  height: clamp(150px, 26vw, 250px);
  object-fit: cover;
  filter: saturate(.7);
}

.page-products .p-band__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 3vw, 26px);
  background:
    linear-gradient(180deg, rgba(7, 17, 13, .2), rgba(7, 17, 13, .88)),
    repeating-linear-gradient(90deg, rgba(232, 240, 235, .06) 0 1px, transparent 1px 64px);
}

.page-products .p-band__text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--acid);
}

.page-products .p-feat-grid {
  display: grid;
  gap: 14px;
}

.page-products .p-feat {
  --c: var(--acid);
  padding: 20px;
  border: 1px solid var(--p-rail);
  border-top: 2px solid var(--c);
  border-radius: var(--radius);
  background: var(--ink-800);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .p-feat:hover,
.page-products .p-feat:focus-within {
  background: var(--ink-700);
  border-color: var(--line-2);
  border-top-color: var(--c);
  transform: translateY(-3px);
}

.page-products .p-feat--cyan { --c: var(--cyan); }
.page-products .p-feat--lava { --c: var(--lava); }
.page-products .p-feat--violet { --c: var(--violet); }

.page-products .p-feat__idx {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-products .p-feat__title {
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--paper);
}

.page-products .p-feat__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .p-feat--wide {
  grid-column: 1 / -1;
  display: grid;
  padding: 0;
  overflow: hidden;
  border-top-color: var(--cyan);
}

.page-products .p-feat__body {
  padding: clamp(18px, 2.8vw, 30px);
}

.page-products .p-feat__body .p-sub {
  margin-bottom: 16px;
}

.page-products .p-feat__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  filter: saturate(.85);
}

/* ---------- 球队与校园赛事工具 ---------- */
.page-products .p-tools__grid {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.page-products .p-nodes {
  position: relative;
}

.page-products .p-node {
  border: 1px solid var(--p-rail);
  border-left: 2px solid var(--acid);
  border-radius: var(--radius-sm);
  background: var(--ink-800);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products .p-node[open] {
  background: var(--ink-700);
  border-color: var(--line-2);
  border-left-color: var(--acid);
}

.page-products .p-node + .p-node {
  margin-top: 10px;
}

.page-products .p-node summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

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

.page-products .p-node summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--acid);
}

.page-products .p-node[open] summary::after {
  content: "–";
}

.page-products .p-node__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  border: 1px solid var(--p-rail);
  border-radius: 6px;
  padding: 2px 6px;
}

.page-products .p-node__body {
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 版本与下载 ---------- */
.page-products .p-vers {
  list-style: none;
  margin: 0 0 clamp(22px, 3.6vw, 34px);
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .p-vers__item {
  position: relative;
  padding: 14px 0 0 18px;
  border-top: 1px solid var(--line-2);
}

.page-products .p-vers__item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 1px solid var(--acid);
}

.page-products .p-vers__year {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

.page-products .p-vers__text {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-products .p-dl {
  display: grid;
  gap: 14px;
}

.page-products .p-dl__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--p-rail);
  border-radius: var(--radius);
  background:
    linear-gradient(158deg, rgba(49, 230, 196, .08), transparent 62%),
    var(--ink-800);
}

.page-products .p-dl__ver {
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-products .p-dl__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--acid);
  letter-spacing: .02em;
}

.page-products .p-dl__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

.page-products .p-dl__card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.page-products .p-dl__note {
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--cyan);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 会员咨询 ---------- */
.page-products .p-support__box {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(20px, 3.6vw, 40px);
  border: 1px solid var(--p-rail);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(124, 92, 255, .14), transparent 58%),
    var(--ink-800);
}

.page-products .p-support__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--paper);
}

.page-products .p-support__lead {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .p-support .btn-row {
  margin-top: 20px;
}

.page-products .p-contact {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(7, 17, 13, .55);
}

.page-products .p-contact__item {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-soft);
}

.page-products .p-contact__item:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .p-contact__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .p-contact__value {
  font-size: 15px;
  color: var(--paper);
  word-break: break-word;
}

.page-products .p-contact__note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

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

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

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

@media (min-width: 760px) {
  .page-products .p-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
  }

  .page-products .p-head__note {
    white-space: nowrap;
    text-align: right;
    padding-bottom: 4px;
  }

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

  .page-products .p-vers__item {
    padding: 18px 14px 0 0;
  }

  .page-products .p-vers__item::before {
    left: 0;
  }

  .page-products .p-tools__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  }
}

@media (min-width: 840px) {
  .page-products .p-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
  }

  .page-products .p-tier--b {
    margin-top: 20px;
  }

  .page-products .p-tier--c {
    margin-top: 40px;
  }

  .page-products .p-feat--wide {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  }
}

@media (min-width: 900px) {
  .page-products .p-member__intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .page-products .p-tools__grid {
    gap: clamp(22px, 3.4vw, 40px);
  }

  .page-products .p-support__box {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
  }
}

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

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

  .page-products .p-feat:nth-child(2),
  .page-products .p-feat:nth-child(4) {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .p-tier,
  .page-products .p-feat,
  .page-products .p-node {
    transition: none;
  }

  .page-products .p-tier:hover,
  .page-products .p-tier:focus-within,
  .page-products .p-feat:hover,
  .page-products .p-feat:focus-within {
    transform: none;
  }
}
