/* ========== 会员与代币 /pricing（亮色，沿用参考截图的卡片结构） ========== */
.pricing {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 16px 8px;
}

.pricing-head {
  max-width: 620px;
  margin: 0 auto 28px;
  text-align: center;
}
.pricing-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.pricing-head p { margin-top: 8px; font-size: .9rem; color: var(--text-dim); }

/* ---------- 卡片网格 ---------- */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  row-gap: 64px;      /* 换行时给「MOST POPULAR」徽章留出上浮空间 */
  padding-top: 44px;  /* 首行徽章的上浮空间 */
  align-items: stretch;
}
@media (min-width: 560px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .plans { grid-template-columns: repeat(4, 1fr); }
}

.plan {
  position: relative;
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.plan-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 26px 22px;
}

/* 推荐档：渐变描边 + 顶部渐变徽章（照截图） */
.plan.is-featured {
  border: 1px solid transparent;
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(150deg, #ffb26b, #ff5ea8 52%, #a78bfa) border-box;
  box-shadow: 0 8px 24px rgba(255, 94, 168, .16);
}
.plan-badge {
  position: absolute;
  top: -44px;
  left: -1px;
  right: -1px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: #fff;
  background: linear-gradient(90deg, #ffb26b, #ff5ea8 52%, #c084fc);
  border-radius: 20px 20px 0 0;
}

/* ---------- 卡片内容 ---------- */
.plan-name { font-size: 1.3rem; font-weight: 700; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 12px;
}
.plan-price b {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.plan-price span { font-size: .82rem; color: var(--text-dim); }

.plan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}
.chip {
  padding: 3px 9px;
  font-size: .7rem;
  border: 1px solid transparent;
  border-radius: 6px;
}
.chip-accent {
  color: #b45309;
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .32);
}
.chip-plain {
  color: var(--text-dim);
  background: var(--surface-2);
  border-color: var(--border);
}

/* CTA：截图是"深底上的白色胶囊"，亮色下反相为"浅底上的深色胶囊" */
.plan-cta {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: #1a1e2e;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
}
.plan-cta:hover { background: #2b3040; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 22px;
  font-size: .83rem;
  line-height: 1.45;
}
.plan-features li {
  display: flex;
  gap: 10px;
  color: #4b5563;
}
.plan-features .fi {
  flex: none;
  width: 14px;
  text-align: center;
  color: #9aa0ac;
}
.plan-features .is-lead { color: var(--text); }
.plan-features .is-lead .fi { color: #f59e0b; }

/* ---------- 说明 ---------- */
.pricing-hint {
  margin-top: 22px;
  font-size: .78rem;
  color: #b45309;
  text-align: center;
}
.pricing-note {
  margin-top: 24px;
  padding-top: 20px;
  font-size: .76rem;
  line-height: 1.7;
  color: var(--text-dim);
  text-align: center;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .pricing { padding-top: 28px; }
  .plan-price b { font-size: 1.8rem; }
}
