/* ══════════════════════════════════════════════════════════════
   plans-section.css — 套餐卡片共享样式
   pricing.html 和 index.html 同时引用此文件，
   修改此处即可同步两个页面的卡片外观。
   ══════════════════════════════════════════════════════════════ */

/* ── 卡片网格 ─────────────────────────────────────────────── */
.plans-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
}

/* ── 卡片基础 ─────────────────────────────────────────────── */
.plan-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px 24px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.plan-card:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}

/* 推荐卡片 (Pro) */
.plan-card.featured {
  background: rgba(99,102,241,0.06);
  border-color: rgba(99,102,241,0.35);
}
.plan-card.featured:hover {
  border-color: rgba(99,102,241,0.55);
  background: rgba(99,102,241,0.09);
}
.plan-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.7), transparent);
}

/* Pro Max 金色卡片 */
.plan-card.promax {
  background: rgba(251,191,36,0.04);
  border-color: rgba(251,191,36,0.25);
}
.plan-card.promax:hover {
  border-color: rgba(251,191,36,0.45);
  background: rgba(251,191,36,0.07);
}
.plan-card.promax::before {
  content: '';
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,0.5), transparent);
}

/* ── 套餐标签 ─────────────────────────────────────────────── */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}
.plan-card.featured .plan-badge { color: #a78bfa; }
.plan-card.promax   .plan-badge { color: #fbbf24; }

.plan-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ── 套餐名称和描述 ───────────────────────────────────────── */
.plan-name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.plan-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ── 价格 ─────────────────────────────────────────────────── */
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.plan-currency {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0;
}
.plan-amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}
.plan-period {
  font-size: 15px;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}
.plan-save-note {
  font-size: 13px;
  color: #3ecf8e;
  margin-bottom: 32px;
  min-height: 18px;
  font-weight: 500;
}

/* ── 分隔线 ───────────────────────────────────────────────── */
.plan-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 28px;
}

/* ── 特性列表 ─────────────────────────────────────────────── */
.plan-features {
  list-style: none;
  margin-bottom: 36px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding: 8px 0;
  line-height: 1.5;
}
.plan-card.featured .plan-features li { color: rgba(255,255,255,0.75); }
.plan-card.promax   .plan-features li { color: rgba(255,255,255,0.65); }

.check-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #3ecf8e;
}
.plan-card.featured .check-icon { color: #a78bfa; }
.plan-card.promax   .check-icon { color: #fbbf24; }

/* ── CTA 按钮 ─────────────────────────────────────────────── */
.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.01em;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
}
.plan-cta-outline {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}
.plan-cta-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-1px);
}
.plan-cta-primary {
  background: #fff;
  color: #050508;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 8px 24px rgba(255,255,255,0.1);
}
.plan-cta-primary:hover {
  background: #f0f0f0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 12px 32px rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

/* ── 响应式 ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .plans-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .plans-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .plan-card   { padding: 28px 20px; }
  .plan-amount { font-size: 44px; }
}
