.page-products {
  --p-hair: rgba(27, 42, 74, 0.12);
  --p-glow: rgba(242, 140, 40, 0.16);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

.page-products .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 首屏 ---------- */
.page-products .p-hero {
  position: relative;
  padding: 22px 0 34px;
  overflow: hidden;
  background:
    radial-gradient(115% 85% at 96% -8%, var(--p-glow), transparent 60%),
    var(--paper);
}

.page-products .p-hero::before {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(242, 140, 40, 0.22);
  pointer-events: none;
}

.page-products .p-hero > .wrap {
  position: relative;
  z-index: 1;
}

.page-products .p-hero-grid {
  display: grid;
  gap: 26px;
  margin-top: 16px;
}

.page-products .p-h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 7.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.page-products .p-lead {
  margin: 16px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate);
}

.page-products .p-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- 价格速览板 ---------- */
.page-products .price-board {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--paper);
  border: 1px solid rgba(46, 230, 214, 0.26);
  overflow: hidden;
}

.page-products .price-board::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -66px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 192, 120, 0.35);
  pointer-events: none;
}

.page-products .pb-title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange-soft);
}

.page-products .pb-list {
  margin: 0;
}

.page-products .pb-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(228, 233, 242, 0.24);
}

.page-products .pb-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .pb-name {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 247, 238, 0.8);
}

.page-products .pb-val {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.1;
  color: var(--orange-soft);
  white-space: nowrap;
}

.page-products .pb-val small {
  margin-left: 3px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 247, 238, 0.62);
}

/* ---------- 章节骨架 ---------- */
.page-products .section {
  position: relative;
  padding: 36px 0;
}

.page-products .sec-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--p-hair);
}

.page-products .sec-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 6.4vw, 44px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--orange);
}

.page-products .sec-tag {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange-deep);
}

.page-products .sec-title {
  margin: 0;
  font-size: clamp(22px, 4.6vw, 32px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.page-products .sec-lead {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 01 方案切换 ---------- */
.page-products .plan-switcher {
  position: relative;
}

.page-products .plan-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-products .plan-tabbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 14px;
  margin: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-products .plan-tabbar::-webkit-scrollbar {
  display: none;
}

.page-products .plan-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--p-hair);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-products .plan-tab b {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-deep);
}

.page-products #plan-s1:checked ~ .plan-tabbar [for="plan-s1"],
.page-products #plan-s2:checked ~ .plan-tabbar [for="plan-s2"],
.page-products #plan-s3:checked ~ .plan-tabbar [for="plan-s3"],
.page-products #plan-s4:checked ~ .plan-tabbar [for="plan-s4"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-products #plan-s1:checked ~ .plan-tabbar [for="plan-s1"] b,
.page-products #plan-s2:checked ~ .plan-tabbar [for="plan-s2"] b,
.page-products #plan-s3:checked ~ .plan-tabbar [for="plan-s3"] b,
.page-products #plan-s4:checked ~ .plan-tabbar [for="plan-s4"] b {
  color: var(--orange-soft);
}

.page-products #plan-s1:focus-visible ~ .plan-tabbar [for="plan-s1"],
.page-products #plan-s2:focus-visible ~ .plan-tabbar [for="plan-s2"],
.page-products #plan-s3:focus-visible ~ .plan-tabbar [for="plan-s3"],
.page-products #plan-s4:focus-visible ~ .plan-tabbar [for="plan-s4"] {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 2px;
}

.page-products .plan-main {
  display: grid;
  gap: 20px;
}

.page-products .plan-panel {
  display: none;
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--p-hair);
  overflow: hidden;
}

.page-products .plan-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--orange), var(--orange-soft));
}

.page-products #plan-s1:checked ~ .plan-main .plan-panel[data-plan="s1"],
.page-products #plan-s2:checked ~ .plan-main .plan-panel[data-plan="s2"],
.page-products #plan-s3:checked ~ .plan-main .plan-panel[data-plan="s3"],
.page-products #plan-s4:checked ~ .plan-main .plan-panel[data-plan="s4"] {
  display: block;
  animation: pPanelIn 0.28s var(--ease) both;
}

@keyframes pPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-products .plan-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--slate);
}

.page-products .plan-panel h3 {
  margin: 0;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-products .plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 0;
}

.page-products .plan-amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 11vw, 62px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.page-products .plan-unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-deep);
}

.page-products .plan-desc {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .plan-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--p-hair);
}

.page-products .plan-list li {
  display: flex;
  gap: 9px;
  padding: 6px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}

.page-products .plan-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--cyan-deep);
}

.page-products .plan-hint {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(242, 140, 40, 0.1);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink);
}

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

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

.page-products .plan-figure figcaption {
  padding: 12px 14px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 247, 238, 0.72);
}

/* ---------- 02 对比卡 ---------- */
.page-products .compare-cover {
  position: relative;
  margin: 0 0 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--p-hair);
  overflow: hidden;
}

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

.page-products .compare-cover figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 27, 49, 0.74);
  color: rgba(255, 247, 238, 0.92);
  font-size: 12px;
  line-height: 1.5;
}

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

.page-products .compare-card {
  --card-fg: var(--ink);
  --card-muted: var(--slate);
  --card-line: var(--p-hair);
  display: flex;
  flex-direction: column;
  padding: 24px 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--p-hair);
  color: var(--card-fg);
}

.page-products .compare-card.is-pick {
  --card-fg: var(--paper);
  --card-muted: rgba(255, 247, 238, 0.72);
  --card-line: rgba(228, 233, 242, 0.22);
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%);
  border-color: rgba(242, 140, 40, 0.52);
}

.page-products .compare-badge {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.page-products .compare-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  color: var(--card-fg);
}

.page-products .compare-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 0;
}

.page-products .compare-amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 10vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--card-fg);
}

.page-products .compare-card.is-pick .compare-amount {
  color: var(--orange-soft);
}

.page-products .compare-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--card-muted);
}

.page-products .compare-facts {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--card-line);
}

.page-products .compare-facts > div {
  display: grid;
  grid-template-columns: 5.2em minmax(0, 1fr);
  gap: 10px;
}

.page-products .compare-facts dt {
  margin: 0;
  font-size: 12.5px;
  color: var(--card-muted);
}

.page-products .compare-facts dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--card-fg);
}

.page-products .compare-say {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--card-line);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--card-muted);
}

/* ---------- 03 明细表 ---------- */
.page-products .detail-grid {
  display: grid;
  gap: 20px;
}

.page-products .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--p-hair);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.page-products .table-scroll:focus-visible {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 2px;
}

.page-products .detail-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.page-products .detail-table thead th {
  padding: 12px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  white-space: nowrap;
}

.page-products .detail-table tbody th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-products .detail-table tbody td {
  padding: 12px 14px;
  color: var(--slate);
  line-height: 1.5;
}

.page-products .detail-table tbody tr:nth-child(odd) {
  background: rgba(228, 233, 242, 0.5);
}

.page-products .detail-table td.cell-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-products .detail-table td.has-dot::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cyan-deep);
  vertical-align: middle;
}

.page-products .detail-aside {
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

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

.page-products .detail-aside p {
  margin: 0;
  padding: 16px 18px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 247, 238, 0.78);
}

/* ---------- 04 账单 ---------- */
.page-products .bill-grid {
  display: grid;
  gap: 20px;
}

.page-products .bill-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--p-hair);
  overflow: hidden;
}

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

.page-products .bill-sheet {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--p-hair);
}

.page-products .bill-head {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange-deep);
}

.page-products .bill-row {
  border-bottom: 1px dashed var(--p-hair);
}

.page-products .bill-row summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 2px;
  cursor: pointer;
  list-style: none;
}

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

.page-products .bill-name {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.page-products .bill-amt {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-products .bill-row summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-deep);
}

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

.page-products .bill-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(46, 230, 214, 0.14);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
}

.page-products .bill-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 16px 2px 4px;
  border-top: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.page-products .bill-total span:last-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--orange-deep);
}

.page-products .bill-foot {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--slate);
}

/* ---------- 05 流程 ---------- */
.page-products .flow-cover {
  margin: 0 0 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--p-hair);
  overflow: hidden;
}

.page-products .flow-cover img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

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

.page-products .flow-steps li {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--p-hair);
}

.page-products .flow-num {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.page-products .flow-steps h3 {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 900;
}

.page-products .flow-steps p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate);
}

/* ---------- 06 追问 ---------- */
.page-products .faq-grid {
  display: grid;
  gap: 14px;
}

.page-products .faq-item {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--p-hair);
  border-left: 3px solid var(--orange);
}

.page-products .faq-item h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.5;
}

.page-products .faq-item p {
  margin: 9px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .p-cta {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(242, 140, 40, 0.15), rgba(46, 230, 214, 0.12));
  border: 1px solid var(--p-hair);
}

.page-products .p-cta p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}

.page-products .p-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .page-products .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

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

@media (min-width: 900px) {
  .page-products .p-hero {
    padding: 32px 0 48px;
  }

  .page-products .p-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: end;
    margin-top: 22px;
  }

  .page-products .section {
    padding: 52px 0;
  }

  .page-products .sec-head {
    gap: 22px;
    margin-bottom: 30px;
  }

  .page-products .plan-main {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 24px;
    align-items: start;
  }

  .page-products .plan-panel {
    padding: 28px 26px 26px;
  }

  .page-products .plan-figure img {
    aspect-ratio: 3 / 4;
  }

  .page-products .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }

  .page-products .compare-card {
    padding: 28px 26px 24px;
  }

  .page-products .detail-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 26px;
    align-items: start;
  }

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

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

  .page-products .bill-sheet {
    padding: 22px 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .plan-panel[data-plan],
  .page-products .plan-tab {
    animation: none;
    transition: none;
  }
}
