/* ============================================================
   comp-pricing.css (Lego Block)
   Homepage 3-tier pricing — Free / Membership / VIP Packs.
   Only real, working products get listed here.
   ============================================================ */
.section:has(.pricing-grid) .section-head { text-align: center; margin-left: auto; margin-right: auto; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
.pricing-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px;
  padding: 30px 26px; box-shadow: var(--card-shadow);
  display: flex; flex-direction: column;
}
.pricing-card h3 { font-size: 1.15rem; }
.pricing-card .pricing-sub { margin-top: 4px; font-size: 13px; color: var(--text-muted); }
.pricing-card .pricing-amount {
  margin: 20px 0 4px; font-family: var(--serif); font-weight: bold;
  font-size: 34px; color: var(--text-primary);
}
.pricing-card .pricing-amount small { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.pricing-card ul { list-style: none; margin: 18px 0 24px; flex-grow: 1; }
.pricing-card li {
  position: relative; padding-left: 22px; margin: 9px 0;
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.55;
}
.pricing-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-primary); font-weight: 700; }
.pricing-card .btn { width: 100%; text-align: center; justify-content: center; }

.pricing-card.is-featured {
  background: var(--bg-void); border-color: color-mix(in srgb, var(--accent-primary) 40%, transparent);
  box-shadow: var(--card-shadow), 0 0 50px var(--glow-secondary);
  position: relative; transform: translateY(-6px);
}
.pricing-card.is-featured .pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-primary); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}

.pricing-note {
  text-align: center; margin-top: 26px; font-size: 12.5px; color: var(--text-muted);
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.is-featured { transform: none; }
}
