.page-products {
  display: block;
  background: var(--ink);
  color: var(--silver);
}

/* -------------------------------------------------- 首屏 */
.page-products .apps-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 52px) 0 clamp(36px, 5vw, 76px);
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(47, 212, 234, 0.08), transparent 62%),
    radial-gradient(90% 70% at 4% 100%, rgba(255, 176, 32, 0.07), transparent 66%),
    linear-gradient(160deg, var(--slate), var(--ink) 74%);
}

.page-products .apps-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
}

.page-products .apps-hero .shell {
  position: relative;
  z-index: 1;
}

.page-products .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(20px, 3vw, 34px);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-products .crumbs a.crumbs__item {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.page-products .crumbs a.crumbs__item:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.page-products .crumbs__item[aria-current="page"] {
  color: var(--silver);
}

.page-products .crumbs__sep {
  color: var(--hairline);
}

.page-products .apps-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 44px);
}

.page-products .apps-hero__lead {
  min-width: 0;
}

.page-products .apps-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.page-products .apps-hero__dek {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--silver);
}

.page-products .apps-hero__dek--sub {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--mist);
}

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

.page-products .apps-hero__side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-products .hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--slate), var(--ink) 72%);
  box-shadow: var(--shadow-card);
}

.page-products .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-products .hero-card {
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--amber);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--graphite), var(--slate));
  box-shadow: var(--shadow-card);
}

.page-products .hero-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
}

.page-products .hero-card__code {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-products .hero-card__rows {
  list-style: none;
  margin: 0;
  padding: 4px 18px 10px;
}

.page-products .hero-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
}

.page-products .hero-card__row:last-child {
  border-bottom: 0;
}

.page-products .hero-card__k {
  font-size: 0.875rem;
  color: var(--mist);
}

.page-products .hero-card__v {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-align: right;
}

/* -------------------------------------------------- 章节索引带 */
.page-products .chapter-band {
  border-bottom: 1px solid var(--hairline);
  background: var(--slate);
}

.page-products .chapter-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: thin;
}

.page-products .chapter-rail__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--silver);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.page-products .chapter-rail__item .mono {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mist);
  transition: color var(--ease);
}

.page-products .chapter-rail__item:hover {
  border-color: var(--amber-deep);
  color: var(--white);
  background: rgba(255, 176, 32, 0.06);
}

.page-products .chapter-rail__item:hover .mono {
  color: var(--amber);
}

/* -------------------------------------------------- 通用章节 */
.page-products .apps-sec {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--hairline);
}

.page-products .apps-sec--slate {
  background: linear-gradient(180deg, var(--slate), var(--ink) 94%);
}

.page-products .sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: clamp(24px, 3.6vw, 42px);
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}

.page-products .sec-no {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--mist);
  transition: color var(--ease);
}

.page-products .apps-sec.is-active .sec-no {
  color: var(--amber);
}

.page-products .sec-head__text {
  min-width: 0;
}

.page-products .sec-title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .sec-sum {
  margin: 12px 0 0;
  max-width: 66ch;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .apps-sec .prose {
  margin: 0 0 22px;
  max-width: 64ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--silver);
}

.page-products .apps-sec .prose a,
.page-products .svc-row__desc a,
.page-products .ver-row__desc a,
.page-products .fee-cards__note a,
.page-products .calc-note a,
.page-products .price-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 212, 234, 0.42);
  transition: color var(--ease), border-color var(--ease);
}

.page-products .apps-sec .prose a:hover,
.page-products .svc-row__desc a:hover,
.page-products .ver-row__desc a:hover,
.page-products .fee-cards__note a:hover,
.page-products .calc-note a:hover,
.page-products .price-note a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* -------------------------------------------------- 01 服务总览 */
.page-products .svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.page-products .svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.page-products .svc-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-products .svc-row__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--silver);
}

.page-products .svc-row__desc {
  margin: 0;
  max-width: 68ch;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--mist);
}

/* -------------------------------------------------- 02 注册流程 */
.page-products .flow-media {
  margin: 0 0 clamp(24px, 3.2vw, 36px);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--graphite), var(--ink) 78%);
}

.page-products .flow-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-products .flow-media figcaption {
  padding: 12px 18px;
  border-top: 1px solid var(--hairline);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-products .reg-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--hairline);
  overflow: hidden;
}

.page-products .reg-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px 22px;
  background: var(--graphite);
  transition: background var(--ease);
}

.page-products .reg-step__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  opacity: 0;
  transition: opacity var(--ease);
}

.page-products .reg-step:first-child .reg-step__bar,
.page-products .reg-step:hover .reg-step__bar,
.page-products .reg-step:focus-within .reg-step__bar {
  opacity: 1;
}

.page-products .reg-step:hover {
  background: linear-gradient(180deg, #222a34, var(--graphite));
}

.page-products .reg-step__no {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
  line-height: 1;
}

.page-products .reg-step__title {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.page-products .reg-step__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .reg-step__meta {
  margin: auto 0 0;
  padding-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

/* -------------------------------------------------- 03 订阅计价 */
.page-products .price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
}

.page-products .price-main {
  min-width: 0;
}

.page-products .tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.page-products .tier-table th,
.page-products .tier-table td {
  text-align: left;
  padding: 14px 14px 14px 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.page-products .tier-table thead th {
  padding-top: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-products .tier-table tbody th {
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.page-products .tier-table tbody td {
  color: var(--mist);
}

.page-products .tier-table tbody td.mono {
  color: var(--amber);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.page-products .price-note {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .price-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--graphite), var(--ink) 76%);
}

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

.page-products .price-media figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--hairline);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--mist);
}

/* -------------------------------------------------- 04 数据卡对比 */
.page-products .fee-strip {
  margin: 0 0 clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.page-products .fee-strip img {
  display: block;
  width: 100%;
  height: clamp(110px, 15vw, 170px);
  object-fit: cover;
  opacity: 0.42;
}

.page-products .fee-cards {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-products .fee-card {
  flex: 0 0 min(82%, 320px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px 18px;
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--amber);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--graphite), var(--slate));
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), border-color var(--ease);
}

.page-products .fee-card:hover,
.page-products .fee-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(201, 208, 216, 0.28);
  border-top-color: var(--amber);
}

.page-products .fee-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-products .fee-card__code {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-products .fee-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
}

.page-products .fee-card__body {
  margin: 0;
  border-top: 1px solid var(--hairline);
}

.page-products .fee-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
}

.page-products .fee-card__row:last-child {
  border-bottom: 0;
}

.page-products .fee-card__row dt {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-products .fee-card__row dd {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  text-align: right;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--silver);
}

.page-products .fee-cards__note {
  margin: 6px 0 0;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--mist);
}

/* -------------------------------------------------- 05 设备与版本 */
.page-products .device-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

.page-products .device-col {
  min-width: 0;
}

.page-products .device-col__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.page-products .device-details {
  margin-top: 6px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--graphite);
  overflow: hidden;
}

.page-products .device-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cyan);
  transition: color var(--ease), background var(--ease);
}

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

.page-products .device-details summary::after {
  content: "＋";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--amber);
}

.page-products .device-details[open] summary::after {
  content: "－";
}

.page-products .device-details summary:hover {
  color: var(--amber);
  background: rgba(255, 176, 32, 0.05);
}

.page-products .device-steps {
  margin: 0;
  padding: 4px 18px 20px 34px;
  border-top: 1px solid var(--hairline);
  list-style: decimal;
}

.page-products .device-steps li {
  padding: 9px 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .device-media {
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--slate), var(--ink) 78%);
}

.page-products .device-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.page-products .ver-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.page-products .ver-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.page-products .ver-row__ver {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.page-products .ver-row--ember .ver-row__ver {
  color: var(--ember);
}

.page-products .ver-row__desc {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--mist);
}

/* -------------------------------------------------- 06 计价示例 */
.page-products .calc-rail {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--graphite);
  -webkit-overflow-scrolling: touch;
}

.page-products .calc-rail:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-products .calc-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.page-products .calc-table th,
.page-products .calc-table td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.page-products .calc-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mist);
  background: var(--slate);
}

.page-products .calc-table tbody th {
  font-weight: 600;
  color: var(--silver);
}

.page-products .calc-table tbody td {
  color: var(--mist);
}

.page-products .calc-table tbody td.mono {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

.page-products .calc-note {
  margin: 20px 0 0;
  max-width: 74ch;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--mist);
}

/* -------------------------------------------------- 响应式 */
@media (min-width: 700px) {
  .page-products .svc-row {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    padding: 22px 0;
  }

  .page-products .svc-row__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-products .reg-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .sec-head {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  .page-products .apps-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
  }

  .page-products .price-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-products .fee-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .page-products .fee-card {
    flex: none;
  }

  .page-products .fee-cards__note {
    margin-top: 18px;
  }

  .page-products .device-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .page-products .apps-hero__title {
    max-width: 16ch;
  }

  .page-products .reg-step {
    padding: 28px 24px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .reg-step,
  .page-products .fee-card,
  .page-products .chapter-rail__item,
  .page-products .sec-no,
  .page-products .crumbs a.crumbs__item {
    transition: none;
  }

  .page-products .fee-card:hover,
  .page-products .fee-card:focus-within {
    transform: none;
  }
}
