/* ============================================================
   配置与下单页 — Midnight Aurora（与首页 vitrine 同系，全新版式）
   ============================================================ */

.psc-page.page-main {
  padding-top: 0;
}

.psc-page.page-main,
.page-main:has(#psc-order-bar) {
  padding-bottom: clamp(88px, 14vw, 120px);
}

/* ---- 首屏：左文案 + 右装饰（与旧版居中 shell-hero 不同） ---- */
.psc-hero {
  position: relative;
  padding: clamp(24px, 5vw, 48px) 0 clamp(32px, 6vw, 56px);
  overflow: hidden;
}

.psc-hero__aurora {
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 45% at 20% 25%, rgba(99, 102, 241, 0.38) 0, transparent 55%),
    radial-gradient(ellipse 42% 38% at 85% 20%, rgba(232, 121, 249, 0.2) 0, transparent 50%),
    radial-gradient(ellipse 36% 32% at 55% 85%, rgba(244, 114, 182, 0.1) 0, transparent 48%);
  animation: psc-aurora-drift 18s ease-in-out infinite alternate;
}

@keyframes psc-aurora-drift {
  0% {
    opacity: 0.85;
    transform: scale(1) translateX(0);
  }
  100% {
    opacity: 1;
    transform: scale(1.03) translateX(-1%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .psc-hero__aurora {
    animation: none;
    opacity: 0.92;
  }
}

.psc-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.psc-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.psc-blob--1 {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  left: -12%;
  top: 8%;
  background: rgba(99, 102, 241, 0.45);
}
.psc-blob--2 {
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  right: -5%;
  top: 28%;
  background: rgba(232, 121, 249, 0.22);
}
.psc-blob--3 {
  width: min(280px, 50vw);
  height: min(280px, 50vw);
  left: 35%;
  bottom: -8%;
  background: rgba(34, 211, 238, 0.12);
}

.psc-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}
@media (min-width: 900px) {
  .psc-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  }
}

.psc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.psc-kicker__ico {
  width: 16px;
  height: 16px;
  opacity: 0.95;
}

.psc-hero-title {
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 16px;
  background: linear-gradient(120deg, #fdf4ff 0%, #e9d5ff 35%, #c4b5fd 65%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.psc-hero-lead {
  margin: 0 0 12px;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.65;
  color: rgba(233, 229, 248, 0.92);
  max-width: 38rem;
}
.psc-hero-lead--muted {
  color: rgba(155, 146, 184, 0.95);
  font-size: clamp(14px, 1.75vw, 16px);
}

.psc-trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 20px 0 18px;
  padding: 0;
}
.psc-trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  color: rgba(209, 203, 236, 0.9);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: rgba(12, 8, 24, 0.45);
}
.psc-trust-row li .lucide {
  width: 15px;
  height: 15px;
  stroke: #c4b5fd;
}

.psc-hero__viz {
  position: relative;
  min-height: clamp(200px, 24vw, 260px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.psc-viz-stage {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 28px) clamp(22px, 3vw, 32px);
}

.psc-viz-aurora {
  position: absolute;
  inset: -40% -20% 20%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 55%, rgba(167, 139, 250, 0.38) 0%, transparent 62%),
    radial-gradient(ellipse 50% 40% at 72% 38%, rgba(244, 114, 182, 0.18) 0%, transparent 55%);
  opacity: 0.95;
  animation: psc-viz-aurora-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.psc-viz-orbit {
  position: absolute;
  width: min(88%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 48px -24px rgba(99, 102, 241, 0.45);
  animation: psc-viz-orbit-spin 28s linear infinite;
  pointer-events: none;
}

.psc-viz-orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e9d5ff, #a78bfa);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.75);
}
.psc-viz-orbit-dot--1 {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}
.psc-viz-orbit-dot--2 {
  bottom: 14%;
  right: 10%;
}
.psc-viz-orbit-dot--3 {
  bottom: 18%;
  left: 12%;
}

.psc-viz-mark {
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
  filter: drop-shadow(0 12px 28px rgba(79, 70, 229, 0.25));
}

.psc-viz-svg {
  display: block;
  width: clamp(108px, 26vw, 148px);
  height: auto;
  animation: psc-viz-svg-float 6s ease-in-out infinite;
}

.psc-viz-svg-pulse {
  animation: psc-viz-led-pulse 2.4s ease-in-out infinite;
}

.psc-viz-caption {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  max-width: 16rem;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.45;
  color: rgba(196, 181, 253, 0.88);
  text-align: center;
}

@keyframes psc-viz-aurora-drift {
  0% { transform: translate(-2%, 0) scale(1); opacity: 0.88; }
  100% { transform: translate(3%, -2%) scale(1.05); opacity: 1; }
}

@keyframes psc-viz-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes psc-viz-svg-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes psc-viz-led-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .psc-viz-aurora,
  .psc-viz-orbit,
  .psc-viz-svg,
  .psc-viz-svg-pulse {
    animation: none;
  }
}

/* ---- 玻璃面板（token 来自 page-shell） ---- */
.psc-glass {
  border-radius: 20px;
  border: 1px solid var(--idx-vitrine-border, rgba(167, 139, 250, 0.22));
  background: var(--idx-vitrine-bg, rgba(22, 12, 38, 0.75));
  box-shadow: var(--idx-vitrine-shadow, var(--soft-shadow));
  -webkit-backdrop-filter: blur(14px) saturate(1.06);
  backdrop-filter: blur(14px) saturate(1.06);
}

/* ---- 主体：纵向流 + 与旧版双栏粘性完全不同的栅格 ---- */
.psc-body {
  padding-top: clamp(8px, 2vw, 16px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 32px);
}


.psc-workspace__main .psc-body {
  padding-top: 0;
}

/* ---- 主站：配置区 + 右侧订单摘要（参考双栏结算布局） ---- */
.psc-workspace {
  padding-top: clamp(4px, 1.5vw, 12px);
  padding-bottom: clamp(8px, 2vw, 20px);
}
.psc-workspace__grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
}
@media (min-width: 1100px) {
  .psc-workspace__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 32px;
    align-items: stretch;
  }
  /* 侧栏撑满与左列同高，子项 sticky 才能在整个主列滚动区间内保持吸附 */
  .psc-workspace__aside {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
}
.psc-workspace__aside {
  min-width: 0;
}

.psc-pro-block .psc-pro-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
@media (min-width: 720px) {
  .psc-pro-block .psc-pro-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
  }
}
.psc-pro-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  color: color-mix(in srgb, var(--aurora-muted) 92%, transparent);
  line-height: 1.45;
  max-width: 20rem;
  text-align: left;
}
@media (min-width: 720px) {
  .psc-pro-meta {
    text-align: right;
  }
}

.dc-chip-group--cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 520px) {
  .dc-chip-group--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .dc-chip-group--cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* —— ② 计费周期：轨道式四档（图标 + 文案，无标价） —— */
.psc-cycle-panel .psc-field-title {
  letter-spacing: -0.02em;
}

.billing-toggle.psc-cycle-grid.psc-cycle-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--aurora-card) 72%, transparent) 0%,
    color-mix(in srgb, var(--aurora-bg2) 88%, var(--aurora-indigo) 4%) 100%
  );
  border: 1px solid var(--aurora-border);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent),
    0 18px 40px -28px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (min-width: 900px) {
  .billing-toggle.psc-cycle-grid.psc-cycle-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
}

.psc-cycle-tile__ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--aurora-indigo) 22%, var(--aurora-bg0));
  color: var(--aurora-accent);
  border: 1px solid color-mix(in srgb, var(--aurora-border) 80%, transparent);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.psc-cycle-tile__ico svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.psc-cycle-tile__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.psc-cycle-tile__label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--aurora-muted);
  margin: 0;
  line-height: 1.2;
}

.psc-cycle-tile.toggle-btn.active .psc-cycle-tile__label {
  color: var(--white);
}

.psc-cycle-tile__note {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: color-mix(in srgb, var(--aurora-muted) 92%, var(--aurora-ink));
  line-height: 1.35;
}

.psc-cycle-tile.toggle-btn.active .psc-cycle-tile__note {
  color: color-mix(in srgb, var(--white) 72%, var(--aurora-muted));
}

.psc-cycle-tile.toggle-btn.active .psc-cycle-tile__ico {
  background: color-mix(in srgb, rgba(244, 114, 182, 0.22) 100%, var(--aurora-violet));
  color: #fff;
  border-color: color-mix(in srgb, rgba(244, 114, 182, 0.55) 40%, rgba(255, 255, 255, 0.35));
}

/* 右侧订单面板：宽屏随主列滚动时吸附在视窗内（须配合 .psc-workspace__aside stretch） */
#psc-order-bar.psc-order-panel {
  position: sticky;
  top: calc(var(--nav-height, 92px) + 12px + env(safe-area-inset-top, 0px));
  max-height: calc(100vh - var(--nav-height, 92px) - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(20px, 2.5vw, 26px);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
  /* 与参考图一致：略深的玻璃底，仍沿用全站 vitrine 描边 */
  background: linear-gradient(
      165deg,
      color-mix(in srgb, var(--aurora-card) 88%, var(--aurora-bg2)) 0%,
      color-mix(in srgb, var(--aurora-card) 72%, transparent) 100%
    ),
    var(--idx-vitrine-bg, var(--aurora-card));
  border-color: var(--idx-vitrine-border, var(--aurora-border));
}
.psc-order-panel__head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--aurora-border);
}
.psc-order-panel__title {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.psc-order-panel__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.45;
}
.psc-rail-dc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--aurora-border);
  background: color-mix(in srgb, var(--aurora-bg2) 78%, var(--aurora-indigo) 6%);
  font-size: 14px;
  font-weight: 750;
  color: var(--white);
}
.psc-rail-dc-flag {
  font-size: 1.25rem;
  line-height: 1;
}
.psc-rail-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.psc-rail-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--aurora-border) 65%, transparent);
  font-size: 13px;
}
.psc-rail-line--wide .psc-rail-line-v {
  text-align: right;
  max-width: 68%;
}
.psc-rail-line-k {
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.psc-rail-line-v {
  font-weight: 650;
  color: var(--white);
  text-align: right;
  line-height: 1.35;
}

.psc-rail-total {
  padding-top: 4px;
}
.psc-rail-total-label {
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--muted) 92%, transparent);
  margin-bottom: 6px;
}
.psc-rail-total-num {
  display: block;
  font-size: clamp(2rem, 4.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 8px;
}
.psc-rail-total-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.psc-rail-cta {
  width: 100%;
  margin: 0;
  padding: 15px 18px;
  border: 1px solid color-mix(in srgb, var(--aurora-accent) 45%, rgba(244, 114, 182, 0.28));
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  background: linear-gradient(105deg, #6366f1 0%, #7c3aed 42%, #a855f7 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 40px -14px rgba(99, 102, 241, 0.58),
    0 0 28px -10px rgba(244, 114, 182, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}
.psc-rail-cta:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 18px 48px -14px rgba(99, 102, 241, 0.68),
    0 0 34px -8px rgba(244, 114, 182, 0.35);
}
.psc-rail-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.15) brightness(0.88);
}
.psc-rail-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.psc-rail-trust li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: color-mix(in srgb, var(--muted) 96%, var(--aurora-ink));
  line-height: 1.4;
}
.psc-rail-trust-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: color-mix(in srgb, var(--white) 88%, var(--aurora-accent));
}

@media (max-width: 1099px) {
  #psc-order-bar.psc-order-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 850;
    max-height: min(58vh, 420px);
    overflow-y: auto;
    border-radius: 18px 18px 0 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0));
    margin: 0;
    border: 1px solid var(--aurora-border-strong);
    border-bottom: none;
    box-shadow: 0 -24px 56px -24px rgba(0, 0, 0, 0.65);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    backdrop-filter: blur(16px) saturate(1.08);
  }
  .psc-workspace {
    padding-bottom: calc(12px + min(52vh, 400px) * 0.12);
  }
}

.psc-page.page-main:has(#psc-order-bar.psc-order-panel) {
  padding-bottom: clamp(28px, 5vw, 56px);
}
@media (max-width: 1099px) {
  .psc-page.page-main:has(#psc-order-bar.psc-order-panel) {
    padding-bottom: clamp(140px, 42vw, 220px);
  }
}

/* ① 机型 */
.psc-panel--plans .psc-plans-inner {
  padding: clamp(22px, 3.5vw, 30px);
}
.psc-plans-title {
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  font-weight: 800;
  color: #ebe7f7;
  margin: 0 0 6px;
}
.plans-aside-hint {
  font-size: 14px;
  color: rgba(155, 146, 184, 0.95);
  line-height: 1.5;
  margin: 0 0 22px;
}

.pricing-cards-stack {
  display: grid;
  gap: clamp(16px, 2.5vw, 22px);
}
@media (min-width: 720px) {
  .pricing-cards-stack {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-card {
  position: relative;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: rgba(6, 4, 14, 0.42);
  cursor: default;
  transition:
    transform 0.25s var(--ease-smooth, ease),
    box-shadow 0.25s ease,
    border-color 0.2s ease;
}
.pricing-card[data-plan-card] {
  cursor: pointer;
}
.pricing-card[data-plan-card]:focus {
  outline: none;
}
.pricing-card[data-plan-card]:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.75);
  outline-offset: 3px;
}
.pricing-card:hover {
  border-color: rgba(167, 139, 250, 0.35);
}
.pricing-card.pricing-card--selected {
  border-color: rgba(244, 114, 182, 0.55);
  box-shadow:
    0 0 0 1px rgba(244, 114, 182, 0.25),
    0 28px 56px -24px rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}
.pricing-card.pricing-card--selected::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #a78bfa, #f472b6);
  pointer-events: none;
}

.popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(105deg, rgba(244, 114, 182, 0.35), rgba(232, 121, 249, 0.28));
  border: 1px solid rgba(244, 114, 182, 0.45);
  color: #fce7f3;
}

.p-header {
  border-bottom: 1px solid rgba(167, 139, 250, 0.18);
  padding-bottom: 16px;
  margin-bottom: 14px;
}
.plan-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 6px;
  color: #f5f3ff;
}
.product-subtitle {
  font-size: 13px;
  color: rgba(155, 146, 184, 0.95);
  margin: 0;
}

.price-display-compact {
  display: flex;
  align-items: baseline;
  margin-top: 12px;
  flex-wrap: wrap;
}
.price-display-compact .price-currency {
  font-size: 22px;
  font-weight: 700;
  color: #ddd6fe;
}
.price-display-compact .price-amount {
  font-size: clamp(36px, 7vw, 44px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(100deg, #e9d5ff, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-display-compact .price-period {
  font-size: 14px;
  color: rgba(155, 146, 184, 0.9);
  margin-left: 6px;
}

.feature-list-compact {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list-compact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(210, 204, 232, 0.95);
  line-height: 1.4;
}
.feature-list-compact li:last-child {
  margin-bottom: 0;
}
.feature-list-compact i {
  color: #86efac;
  margin-right: 8px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 侧栏壳页「去支付」等仍用 .btn-primary.btn-plan */
.btn-plan {
  width: 100%;
  justify-content: center;
}

/* ②③ 并排字段 */
.psc-config-duo {
  display: grid;
  gap: clamp(16px, 2.5vw, 22px);
}
@media (min-width: 840px) {
  .psc-config-duo {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.psc-field-panel {
  padding: clamp(20px, 3vw, 26px);
}
.psc-step-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--aurora-accent) 92%, var(--white));
  margin-bottom: 8px;
}
.psc-field-title {
  font-size: clamp(1.05rem, 2.3vw, 1.2rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 8px;
}
.psc-field-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
}

/* 计费：胶囊分段 */
.psc-segment.billing-toggle,
.billing-toggle.psc-segment {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(8, 6, 18, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.15);
}
.toggle-btn {
  flex: 1 1 calc(50% - 8px);
  min-width: 0;
  padding: 12px 12px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: rgba(155, 146, 184, 0.95);
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 520px) {
  .toggle-btn {
    flex: 1 1 auto;
    min-width: 72px;
  }
}
.toggle-btn:hover {
  color: #e9d5ff;
  background: rgba(99, 102, 241, 0.12);
}
.toggle-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(139, 92, 246, 0.35));
  color: #fdf4ff;
  box-shadow: 0 8px 24px -10px rgba(99, 102, 241, 0.55);
}

/* 周期档位按钮（轨道内） */
.billing-toggle.psc-cycle-grid.psc-cycle-rail > .psc-cycle-tile.toggle-btn {
  position: relative;
  flex: unset;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 12px;
  padding: 14px 12px 14px 14px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--aurora-border) 85%, var(--white));
  background: color-mix(in srgb, var(--aurora-card) 55%, var(--aurora-bg0));
  color: var(--aurora-ink);
  min-height: 88px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.billing-toggle.psc-cycle-grid.psc-cycle-rail > .psc-cycle-tile.toggle-btn:hover {
  border-color: var(--aurora-border-strong);
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--aurora-card));
  transform: translateY(-1px);
  color: var(--white);
}

.billing-toggle.psc-cycle-grid.psc-cycle-rail > .psc-cycle-tile.toggle-btn:hover:not(.active) .psc-cycle-tile__ico {
  background: color-mix(in srgb, var(--aurora-indigo) 32%, var(--aurora-bg0));
  color: color-mix(in srgb, var(--white) 88%, var(--aurora-accent));
  border-color: var(--aurora-border-strong);
}

.billing-toggle.psc-cycle-grid.psc-cycle-rail > .psc-cycle-tile.toggle-btn.active {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--aurora-indigo) 22%, var(--aurora-card)) 0%,
    color-mix(in srgb, var(--aurora-violet) 10%, var(--aurora-bg2)) 100%
  );
  border: 1px solid rgba(244, 114, 182, 0.58);
  box-shadow:
    0 0 0 1px rgba(244, 114, 182, 0.28),
    0 0 32px -10px rgba(244, 114, 182, 0.4),
    0 24px 52px -24px rgba(99, 102, 241, 0.45);
  color: var(--white);
}

/* 数据中心芯片 */
.dc-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dc-chip {
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 650;
  font-family: inherit;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 999px;
  background: rgba(10, 8, 20, 0.5);
  color: rgba(210, 204, 232, 0.92);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.dc-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.4);
}
.dc-chip.is-active {
  background: rgba(99, 102, 241, 0.28);
  border-color: rgba(129, 140, 248, 0.65);
  color: #f5f3ff;
  box-shadow: 0 10px 28px -14px rgba(99, 102, 241, 0.55);
}

/* 主站 Aurora：地区大卡（须放在 .dc-chip 之后以覆盖 pill） */
.dc-chip.dc-chip--card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 4, 14, 0.5);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.dc-chip.dc-chip--card .dc-chip__flag {
  font-size: 1.35rem;
  line-height: 1;
}
.dc-chip.dc-chip--card .dc-chip__text {
  line-height: 1.25;
  color: rgba(233, 229, 248, 0.94);
}
.dc-chip.dc-chip--card:hover:not(.is-active) {
  transform: none;
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(99, 102, 241, 0.1);
}
.dc-chip.dc-chip--card.is-active {
  background:
    radial-gradient(100% 70% at 50% -10%, rgba(167, 139, 250, 0.28) 0%, transparent 58%),
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--aurora-indigo) 44%, var(--aurora-card)) 0%,
      color-mix(in srgb, var(--aurora-violet) 32%, rgba(14, 8, 26, 0.96)) 46%,
      color-mix(in srgb, var(--aurora-indigo) 26%, rgba(10, 6, 20, 0.94)) 100%
    );
  border: 1px solid color-mix(in srgb, var(--aurora-accent) 48%, rgba(244, 114, 182, 0.22));
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(129, 140, 248, 0.28),
    0 14px 36px -16px rgba(99, 102, 241, 0.52),
    0 0 26px -12px rgba(139, 92, 246, 0.28);
}
.dc-chip.dc-chip--card.is-active .dc-chip__text {
  color: #f5f3ff;
}
.dc-chip.dc-chip--card.is-active:hover {
  border-color: color-mix(in srgb, rgba(167, 139, 250, 0.75) 60%, rgba(244, 114, 182, 0.35));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 0 0 1px rgba(129, 140, 248, 0.36),
    0 16px 40px -16px rgba(99, 102, 241, 0.58),
    0 0 30px -10px rgba(139, 92, 246, 0.32);
}

.dc-status {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 650;
  color: rgba(155, 146, 184, 0.95);
}
.dc-status.is-ok {
  color: #86efac;
}

/* ④ 加购 */
.psc-addons-block {
  padding: clamp(22px, 3.5vw, 28px);
}
.optional-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: middle;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #bae6fd;
}

.addon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .addon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.addon-item {
  padding: 18px 16px;
  cursor: pointer;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  background: rgba(6, 4, 14, 0.38);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.addon-item:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.35);
}
.addon-item.selected {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(165deg, rgba(56, 189, 248, 0.12), rgba(12, 8, 24, 0.2));
  box-shadow: 0 16px 40px -22px rgba(34, 211, 238, 0.25);
}

.addon-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 8px;
}
.addon-item strong {
  font-size: 16px;
  font-weight: 800;
  color: #f5f3ff;
}
.addon-desc {
  font-size: 13px;
  color: rgba(155, 146, 184, 0.95);
  line-height: 1.45;
  margin: 0 0 12px;
}
.addon-price {
  font-size: 17px;
  font-weight: 800;
  color: #e9d5ff;
}
.addon-currency {
  font-size: 14px;
  margin-right: 2px;
}
.addon-period {
  font-size: 13px;
  font-weight: 650;
  color: rgba(155, 146, 184, 0.9);
}

.checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(167, 139, 250, 0.45);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  background: rgba(8, 6, 18, 0.5);
  flex-shrink: 0;
}
.addon-item.selected .checkbox {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.65), rgba(99, 102, 241, 0.55));
  border-color: rgba(125, 211, 252, 0.55);
}
.addon-item.selected .checkbox::after {
  content: '✓';
  font-size: 13px;
  font-weight: 900;
  color: #0a0818;
  line-height: 1;
}

/* ---- 支付方式弹层（极光深色） ---- */
body.pay-method-modal-open {
  overflow: hidden;
}

.pay-method-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.pay-method-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 12, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.pay-method-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(92vh, 640px);
  overflow-y: auto;
  padding: 28px 24px 22px;
  border-radius: 22px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: var(--idx-vitrine-bg);
  box-shadow: var(--idx-vitrine-shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.pay-method-modal-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
  text-align: center;
  color: #f5f3ff;
}
.pay-method-modal-lead {
  font-size: 14px;
  color: rgba(155, 146, 184, 0.95);
  line-height: 1.55;
  margin: 0 0 12px;
  text-align: center;
}
.pay-method-modal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.pay-method-option {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  cursor: pointer;
  font: inherit;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(10, 8, 22, 0.55);
  color: inherit;
}
.pay-method-option:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.45);
}
.pay-method-option-ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ddd6fe;
}
.pay-method-option-ico img,
.pay-method-option-ico svg {
  display: block;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}
.pay-method-option-textcol {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.pay-method-option-main {
  font-size: 16px;
  font-weight: 800;
  color: #f5f3ff;
}
.pay-method-option-sub {
  font-size: 13px;
  font-weight: 600;
  color: rgba(155, 146, 184, 0.92);
}
.pay-method-cancel {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 4px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: rgba(196, 181, 253, 0.95);
}
.pay-method-cancel:hover {
  color: #f5f3ff;
}

/* 底部配置摘要（支付前后在站内可见） */
.psc-order-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 5, 16, 0.92) 28%, rgba(7, 5, 16, 0.97) 100%);
  border-top: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow: 0 -16px 48px -20px rgba(0, 0, 0, 0.55);
}
.psc-order-bar__inner {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px 20px;
  justify-content: space-between;
  max-width: var(--nav-inner-max, 1180px);
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: var(--idx-vitrine-bg, rgba(22, 12, 38, 0.88));
  box-shadow: var(--idx-vitrine-shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.psc-order-bar__overview {
  flex: 1 1 min(0, 520px);
  min-width: 0;
}
.psc-order-bar__eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.9);
  margin: 0 0 8px;
}
.psc-order-bar__dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
}
@media (min-width: 640px) {
  .psc-order-bar__dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .psc-order-bar__row--wide {
    grid-column: span 2;
  }
}
.psc-order-bar__row {
  margin: 0;
}
.psc-order-bar__row dt {
  font-size: 11px;
  font-weight: 700;
  color: rgba(155, 146, 184, 0.92);
  margin: 0 0 2px;
}
.psc-order-bar__row dd {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  color: rgba(237, 233, 250, 0.96);
  overflow-wrap: anywhere;
}
.psc-order-bar__total {
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding-left: 8px;
  border-left: 1px solid rgba(167, 139, 250, 0.2);
  min-width: min(200px, 46vw);
}
.psc-order-bar__total-figures {
  text-align: right;
}
.psc-order-bar__pay {
  flex-shrink: 0;
  min-height: 46px;
}
@media (max-width: 639px) {
  .psc-order-bar__total {
    flex: 1 1 100%;
    border-left: none;
    border-top: 1px solid rgba(167, 139, 250, 0.18);
    padding: 10px 0 0;
    padding-left: 0;
  }
  .psc-order-bar__total-figures {
    text-align: left;
  }
}
.psc-order-bar__total-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(155, 146, 184, 0.95);
  margin-bottom: 4px;
}
.psc-order-bar__total-num {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 800;
  color: #faf5ff;
  letter-spacing: -0.02em;
}

/* 支付弹层内 · 订单核对 */
.pay-method-order-recap {
  margin: 0 0 16px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(6, 4, 14, 0.45);
}
.pay-method-order-recap__head {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
  text-align: center;
}
.pay-method-order-recap__dl {
  margin: 0;
  display: grid;
  gap: 8px 12px;
}
.pay-method-order-recap__dl > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}
.pay-method-order-recap__dl dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(155, 146, 184, 0.95);
}
.pay-method-order-recap__dl dd {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  color: rgba(240, 235, 255, 0.96);
  overflow-wrap: anywhere;
}