.page-products {
  --pp-gap: 20px;
  --pp-radius: 22px;
  position: relative;
  overflow: hidden;
  color: var(--ice);
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(47, 123, 255, .20), transparent 62%),
    radial-gradient(720px 420px at 2% 6%, rgba(255, 63, 164, .12), transparent 60%),
    var(--bg);
}

.page-products img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-products .section__head {
  margin-bottom: 26px;
}

.page-products .section__head--split {
  display: grid;
  gap: 24px;
  align-items: end;
}

.page-products h2 {
  font-size: clamp(1.5rem, 4.4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 10px 0 12px;
}

.page-products h3 {
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}

.page-products .lede {
  color: var(--silver);
  max-width: 62ch;
}

.page-products .eyebrow {
  color: var(--blue);
}

.page-products a {
  color: inherit;
}

.page-products .lede a,
.page-products .compare-note a,
.page-products .support-list a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 123, 255, .45);
}

.page-products .lede a:hover,
.page-products .compare-note a:hover,
.page-products .support-list a:hover {
  border-bottom-color: var(--magenta);
  color: var(--ice);
}

/* ---------- 首屏 ---------- */
.plans-hero {
  position: relative;
  padding: calc(var(--header-h) + 26px) 0 48px;
}

.plans-hero__halo {
  inset: -120px -180px auto auto;
  width: 620px;
  height: 620px;
  opacity: .55;
}

.plans-hero__trail {
  inset: auto auto -60px -40px;
  width: 340px;
  opacity: .5;
}

.plans-hero__inner {
  position: relative;
  z-index: 1;
}

.plans-hero .breadcrumbs {
  margin-bottom: 22px;
}

.plans-hero__grid {
  display: grid;
  gap: 34px;
}

.plans-hero h1 {
  font-size: clamp(1.85rem, 6.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}

.plans-hero__actions {
  margin-top: 22px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  font-size: .84rem;
  color: var(--silver);
}

.hero-facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.hero-facts .mono {
  font-size: 1.05rem;
  color: var(--ice);
  letter-spacing: .02em;
}

.plans-hero__rail {
  display: grid;
  gap: 14px;
}

.price-bar {
  display: block;
  padding: 16px 18px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-1);
  text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.price-bar:hover,
.price-bar:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(47, 123, 255, .5);
  box-shadow: var(--shadow-island);
}

.price-bar--plus {
  background: var(--surface-2);
  border-color: rgba(255, 63, 164, .36);
}

.price-bar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.price-bar__num {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.price-bar__num i {
  font-style: normal;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--silver);
  margin-left: 8px;
}

.price-bar__meter {
  display: block;
  height: 5px;
  margin-top: 14px;
  border-radius: var(--pill);
  background: rgba(199, 206, 219, .13);
  overflow: hidden;
}

.price-bar__meter::after {
  content: "";
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.price-bar--base .price-bar__meter::after { width: 34%; }
.price-bar--plus .price-bar__meter::after { width: 64%; }
.price-bar--pro .price-bar__meter::after {
  width: 100%;
  background: linear-gradient(90deg, var(--magenta), var(--orange));
}

.price-bar__note {
  display: block;
  margin-top: 12px;
  font-size: .82rem;
  color: var(--silver);
}

/* ---------- 方案总览 ---------- */
.overview-grid {
  display: grid;
  gap: 16px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-1);
  overflow: hidden;
}

.plan-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, rgba(47, 123, 255, .28), transparent 70%);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  pointer-events: none;
}

.plan-card--plus {
  background: var(--surface-2);
  border-color: rgba(255, 63, 164, .42);
  box-shadow: var(--shadow-island);
}

.plan-card--plus::after {
  background: linear-gradient(135deg, rgba(255, 63, 164, .42), transparent 70%);
}

.plan-card__idx {
  display: block;
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--silver);
  margin-bottom: 14px;
}

.plan-card h3 {
  margin: 0 0 8px;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--ice);
}

.plan-card__price .mono {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-card__price em {
  font-style: normal;
  font-size: .8rem;
  color: var(--silver);
  letter-spacing: .04em;
}

.plan-card__for {
  margin: 0 0 16px;
  font-size: .9rem;
  color: var(--silver);
}

.plan-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: .88rem;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.plan-card__list li {
  position: relative;
  padding-left: 20px;
  color: var(--silver);
}

.plan-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  transform: rotate(45deg);
}

.overview-figure {
  margin: 26px 0 0;
}

/* ---------- 对比表 ---------- */
.compare-figure {
  margin: 0;
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: .9rem;
}

.compare-table caption {
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--silver);
}

.compare-table thead th {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver);
  background: rgba(14, 27, 46, .68);
  white-space: nowrap;
}

.compare-table tbody th {
  color: var(--ice);
  font-weight: 600;
  width: 20%;
}

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

.compare-table .is-featured {
  background: linear-gradient(180deg, rgba(255, 63, 164, .13), rgba(122, 92, 255, .07));
  color: var(--ice);
}

.compare-table thead .is-featured {
  color: var(--magenta);
  box-shadow: inset 0 3px 0 0 var(--magenta);
}

.compare-table .is-full {
  color: var(--silver);
}

.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td:not(.is-featured) {
  background: rgba(47, 123, 255, .09);
}

.compare-table .price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ice);
  letter-spacing: -0.01em;
}

.compare-table .price--hot {
  color: var(--magenta);
}

.compare-note {
  margin: 16px 0 0;
  font-size: .86rem;
  color: var(--silver);
}

/* ---------- 记录查询 ---------- */
.records-grid {
  display: grid;
  gap: 28px;
}

.records-copy h2 {
  margin-top: 10px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(14, 27, 46, .72);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--silver);
}

.filter-pill.is-active {
  border-color: transparent;
  background: linear-gradient(120deg, var(--blue), var(--violet));
  color: var(--ice);
  box-shadow: 0 14px 30px -18px rgba(47, 123, 255, .95);
}

.records-list {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.records-list__row {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(14, 27, 46, .6);
  border-left: 3px solid var(--blue);
}

.records-list dt {
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 6px;
}

.records-list dd {
  margin: 0;
  font-size: .88rem;
  color: var(--silver);
}

.records-figure {
  margin: 0;
}

/* ---------- 设备与版本 ---------- */
.device-grid {
  display: grid;
  gap: 14px;
}

.version-card {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.version-card__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(79, 224, 176, .14);
  margin-bottom: 16px;
}

.version-card h3 {
  margin: 0 0 10px;
  letter-spacing: .04em;
  color: var(--ice);
}

.version-card p {
  margin: 0;
  font-size: .88rem;
  color: var(--silver);
}

.device-migration {
  display: grid;
  gap: 24px;
  margin-top: 26px;
}

.device-figure {
  margin: 0;
}

.device-migration__copy h3 {
  margin: 0 0 14px;
}

.check-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: .9rem;
  color: var(--silver);
}

.check-list__mark {
  position: absolute;
  left: 0;
  top: .35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(79, 224, 176, .18);
  box-shadow: inset 0 0 0 2px var(--mint);
}

/* ---------- 流程 ---------- */
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.flow-step {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.flow-step__num {
  display: block;
  font-size: .74rem;
  letter-spacing: .2em;
  color: var(--blue);
  margin-bottom: 12px;
}

.flow-step h3 {
  margin: 0 0 8px;
}

.flow-step p {
  margin: 0;
  font-size: .87rem;
  color: var(--silver);
}

/* ---------- 售后 ---------- */
.support-grid {
  display: grid;
  gap: 30px;
}

.support-clock {
  position: relative;
  width: 190px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 200deg, var(--orange) 0 62%, rgba(199, 206, 219, .14) 62% 100%);
}

.support-clock::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(199, 206, 219, .28);
  animation: pp-spin 26s linear infinite;
}

.support-clock::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--bg-2);
}

.support-clock__label {
  position: relative;
  z-index: 1;
  text-align: center;
}

.support-clock__num {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ice);
  line-height: 1;
}

.support-clock__unit {
  display: block;
  margin-top: 6px;
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--silver);
}

@keyframes pp-spin {
  to { transform: rotate(360deg); }
}

.support-copy {
  display: grid;
  gap: 24px;
}

.support-figure {
  margin: 0;
}

.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.support-list li {
  padding-left: 16px;
  border-left: 2px solid rgba(255, 159, 69, .55);
}

.support-list strong {
  display: block;
  color: var(--ice);
  margin-bottom: 6px;
  font-size: .95rem;
}

.support-list span {
  display: block;
  font-size: .87rem;
  color: var(--silver);
}

/* ---------- 收尾 CTA ---------- */
.plans-cta {
  padding-bottom: 72px;
}

.cta-panel {
  display: grid;
  gap: 22px;
  padding: 30px 24px;
}

.cta-panel__copy h2 {
  margin: 10px 0 10px;
}

.cta-panel__copy p {
  margin: 0;
  color: var(--silver);
  font-size: .92rem;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .device-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section__head--split {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 40px;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 36px 32px;
  }

  .cta-panel__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 900px) {
  .page-products .section {
    padding: 72px 0;
  }

  .plans-hero {
    padding: calc(var(--header-h) + 40px) 0 68px;
  }

  .plans-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 60px;
    align-items: end;
  }

  .records-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 48px;
    align-items: center;
  }

  .device-migration {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
  }

  .flow-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  .flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -16px;
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), transparent);
    transform: rotate(-16deg);
    transform-origin: left center;
  }

  .support-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
    align-items: center;
  }

  .support-clock {
    width: 220px;
  }

  .support-copy {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 36px;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .plans-hero__rail {
    gap: 16px;
  }

  .overview-grid {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .js-reveal,
  .page-products .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .support-clock::before {
    animation: none;
  }

  .price-bar:hover,
  .price-bar:focus-visible {
    transform: none;
  }
}
