.page-products {
  --fee-cut: 22px;
  --fee-panel: rgba(24, 74, 122, 0.5);
  --fee-panel-hi: rgba(24, 74, 122, 0.82);
}

/* ---------- 通用排版 ---------- */
.page-products .page-hero__title,
.page-products .section__title,
.page-products .cap-card__title,
.page-products .fee-card__title,
.page-products .sync-card__title,
.page-products .step-node__title,
.page-products .cta-title {
  font-family: var(--font-display);
  color: var(--ice-white);
  letter-spacing: -0.02em;
}

/* ---------- 首屏 ---------- */
.page-products .page-hero {
  padding-top: clamp(22px, 4vw, 40px);
}

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

.page-products .page-hero__title {
  font-size: clamp(30px, 7.4vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  max-width: 18em;
}

.page-products .page-hero__lede {
  max-width: 40em;
  color: var(--silver);
  font-size: clamp(0.96rem, 2.4vw, 1.06rem);
  line-height: 1.8;
}

.page-products .hero-prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  clip-path: polygon(0 0, calc(100% - var(--fee-cut)) 0, 100% var(--fee-cut), 100% 100%, 0 100%);
}

.page-products .hero-price {
  padding: 18px 20px 20px;
  background: var(--ink-soft);
}

.page-products .hero-price--amber {
  background: linear-gradient(150deg, rgba(255, 122, 47, 0.16), var(--ink-soft) 68%);
}

.page-products .hero-price__label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.page-products .hero-price__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: var(--ice);
}

.page-products .hero-price--amber .hero-price__value {
  color: var(--amber);
}

.page-products .hero-price__num {
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
}

.page-products .hero-price__cur,
.page-products .hero-price__from {
  font-size: 0.94rem;
  font-weight: 500;
}

.page-products .hero-price__note {
  margin: 8px 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--silver);
}

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

/* ---------- 01 能力带 ---------- */
.page-products .cap-banner {
  margin: 0 0 clamp(28px, 5vw, 48px);
}

.page-products .cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .cap-card {
  position: relative;
  padding: 22px 20px 24px;
  background: var(--surface);
  border-left: 2px solid var(--ice-deep);
  clip-path: polygon(0 0, calc(100% - var(--fee-cut)) 0, 100% var(--fee-cut), 100% 100%, 0 100%);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .cap-card:hover,
.page-products .cap-card:focus-within {
  background: var(--fee-panel-hi);
  border-left-color: var(--neon);
}

.page-products .cap-card__no {
  margin: 0 0 14px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--neon);
}

.page-products .cap-card__title {
  margin: 0 0 10px;
  font-size: 1.14rem;
  font-weight: 800;
}

.page-products .cap-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--silver);
}

/* ---------- 02 费用切换 ---------- */
.page-products .fee-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 44px);
}

.page-products .fee-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .fee-card {
  display: block;
  padding: 24px 22px 26px;
  background: var(--fee-panel);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--fee-cut)) 0, 100% var(--fee-cut), 100% 100%, 0 100%);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-products .fee-card:hover {
  background: var(--fee-panel-hi);
}

.page-products .fee-radio:checked + .fee-card--single {
  background: linear-gradient(160deg, rgba(127, 212, 255, 0.2), var(--fee-panel-hi) 62%);
}

.page-products .fee-radio:checked + .fee-card--weekend {
  background: linear-gradient(160deg, rgba(255, 122, 47, 0.24), var(--fee-panel-hi) 62%);
}

.page-products .fee-radio:focus-visible + .fee-card {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

.page-products .fee-card__tag {
  margin: 0 0 18px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--silver);
}

.page-products .fee-card--weekend .fee-card__tag {
  color: var(--amber-hi);
}

.page-products .fee-card__price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0 0 16px;
  color: var(--ice);
}

.page-products .fee-card--weekend .fee-card__price {
  color: var(--amber);
}

.page-products .fee-card__num {
  font-size: clamp(3rem, 13vw, 5.6rem);
  font-weight: 700;
  line-height: 0.92;
}

.page-products .fee-card__cur,
.page-products .fee-card__from {
  font-size: clamp(0.9rem, 2.6vw, 1.06rem);
  font-weight: 600;
}

.page-products .fee-card__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
}

.page-products .fee-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--silver);
  max-width: 30em;
}

.page-products .fee-detail {
  display: none;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(5, 11, 24, 0.72), rgba(24, 74, 122, 0.32));
  border-top: 1px solid var(--line);
}

.page-products #fee-single:checked ~ .fee-detail--single,
.page-products #fee-weekend:checked ~ .fee-detail--weekend {
  display: grid;
}

.page-products .fee-detail__label {
  margin: 0 0 12px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--ice);
}

.page-products .fee-detail__list {
  margin: 0;
  padding-left: 1.1em;
  list-style: square;
  color: var(--silver);
  font-size: 0.92rem;
  line-height: 1.8;
}

.page-products .fee-detail__list li + li {
  margin-top: 10px;
}

.page-products .fee-detail__list--dot {
  padding-left: 0;
  list-style: none;
}

.page-products .fee-detail__list--dot li {
  position: relative;
  padding-left: 1.4em;
}

.page-products .fee-detail__list--dot li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  background: var(--neon);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-products .fee-foot {
  margin: clamp(22px, 3vw, 32px) 0 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--silver);
}

/* ---------- 03 iOS 档位 ---------- */
.page-products .ios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 5vw, 48px);
  align-items: start;
}

.page-products .ios-media {
  margin: 0;
  order: 2;
}

.page-products .ios-copy {
  order: 1;
}

.page-products .ios-copy__lede {
  margin: 16px 0 0;
  max-width: 36em;
  color: var(--silver);
  font-size: 0.96rem;
  line-height: 1.8;
}

.page-products .tier-scroll {
  margin-top: 26px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .tier-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.page-products .tier-table thead th {
  padding: 12px 14px;
  background: var(--ice-deep);
  color: var(--ice-white);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: left;
  white-space: nowrap;
}

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

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

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

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

.page-products .tier-table tbody tr:hover {
  background: rgba(127, 212, 255, 0.09);
}

.page-products .tier-table tbody tr:hover td {
  color: var(--ice-white);
}

.page-products .ios-copy__note {
  margin: 18px 0 0;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--silver);
}

/* ---------- 04 提醒与同步 ---------- */
.page-products .sync-media {
  margin: 0 0 clamp(24px, 4vw, 38px);
}

.page-products .sync-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

.page-products .sync-card {
  padding: 24px 22px;
  background: var(--ink-soft);
}

.page-products .sync-card__title {
  margin: 0 0 10px;
  font-size: 1.06rem;
  font-weight: 800;
}

.page-products .sync-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--silver);
}

/* ---------- 05 步骤树 ---------- */
.page-products .steps-banner {
  margin: 0 0 clamp(26px, 4vw, 42px);
  max-height: 220px;
  overflow: hidden;
}

.page-products .steps-banner .media-frame__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.72;
}

.page-products .step-tree {
  position: relative;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.page-products .step-node {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}

.page-products .step-node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 54px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(180deg, rgba(43, 245, 208, 0.7), rgba(43, 245, 208, 0.06));
}

.page-products .step-node__no {
  margin: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 0.86rem;
  font-family: var(--font-mono);
  color: var(--neon);
  background: var(--ink-soft);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-products .step-node__box {
  padding: 18px 20px 20px;
  background: var(--fee-panel);
  clip-path: polygon(0 0, calc(100% - var(--fee-cut)) 0, 100% var(--fee-cut), 100% 100%, 0 100%);
  transition: background var(--dur) var(--ease);
}

.page-products .step-node:hover .step-node__no,
.page-products .step-node:focus-within .step-node__no {
  border-color: var(--neon);
  color: var(--ice-white);
}

.page-products .step-node:hover .step-node__box,
.page-products .step-node:focus-within .step-node__box {
  background: var(--fee-panel-hi);
}

.page-products .step-node__title {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 800;
}

.page-products .step-node__text {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.8;
  color: var(--silver);
}

.page-products .step-node__hint {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ice);
  transition: color var(--dur) var(--ease);
}

.page-products .step-node:hover .step-node__hint {
  color: var(--neon);
}

/* ---------- 结尾 ---------- */
.page-products .cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  padding: clamp(26px, 5vw, 44px) clamp(22px, 4vw, 40px);
  background: linear-gradient(120deg, rgba(24, 74, 122, 0.62), rgba(5, 11, 24, 0.9));
  clip-path: polygon(var(--fee-cut) 0, 100% 0, 100% calc(100% - var(--fee-cut)), calc(100% - var(--fee-cut)) 100%, 0 100%, 0 var(--fee-cut));
}

.page-products .cta-title {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 4.4vw, 1.9rem);
  font-weight: 900;
  line-height: 1.2;
}

.page-products .cta-text {
  margin: 0;
  max-width: 42em;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--silver);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 600px) {
  .page-products .hero-prices {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-products .fee-detail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .page-products .sync-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .cta-inner {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }
}

@media (min-width: 960px) {
  .page-products .cap-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page-products .ios-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 56px;
  }

  .page-products .ios-media {
    order: 1;
  }

  .page-products .ios-copy {
    order: 2;
    padding-top: 8px;
  }

  .page-products .step-node {
    grid-template-columns: 64px 1fr;
    gap: 22px;
  }

  .page-products .step-node__no {
    width: 60px;
    height: 60px;
  }

  .page-products .step-node:not(:last-child)::after {
    left: 29px;
    top: 62px;
    bottom: -24px;
  }

  .page-products .step-tree {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .cap-card,
  .page-products .fee-card,
  .page-products .fee-radio:checked + .fee-card,
  .page-products .step-node__no,
  .page-products .step-node__box,
  .page-products .step-node__hint,
  .page-products .tier-table tbody tr {
    transition: none;
  }
}
