.pricing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(99, 102, 241, 0.18), transparent 36%),
    var(--sc-bg);
  color: var(--sc-text);
}
.pricing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: var(--sc-gradient-dark);
  color: #fff;
}
.pricing-brand {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pricing-nav-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
.pricing-main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0 3rem; }
.pricing-hero { text-align: center; margin-bottom: 1.75rem; }
.pricing-kicker {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.pricing-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 0.5rem; }
.pricing-hero p { color: var(--sc-muted); margin: 0 auto; max-width: 36rem; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.15rem;
  padding: 1.25rem 1.15rem 1.15rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.price-card.is-popular {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.28), 0 16px 36px rgba(79, 70, 229, 0.16);
}
.price-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sc-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  white-space: nowrap;
}
.price-name { font-weight: 800; font-size: 1.05rem; }
.price-amount { display: flex; align-items: flex-end; gap: 0.25rem; margin: 0.8rem 0 0.2rem; }
.price-amount strong { font-size: 2.15rem; letter-spacing: -0.04em; line-height: 1; }
.price-amount span { color: #64748b; font-weight: 600; margin-bottom: 0.2rem; }
.price-note { min-height: 1.2rem; color: #4f46e5; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.8rem; }
.price-perks { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.45rem; }
.price-perks li { display: flex; gap: 0.4rem; align-items: flex-start; font-size: 0.84rem; color: #334155; }
.price-perks i { color: #16a34a; margin-top: 0.12rem; }
.price-perks i.is-premium { color: #d97706; }
.pay-method {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 0.9rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.55rem;
  color: inherit;
  text-decoration: none;
}
.pay-method i { font-size: 1.25rem; color: #4f46e5; }
.pay-method span { display: flex; flex-direction: column; }
.pay-method small { color: #64748b; }
.pay-qr {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0.25rem auto 0.75rem;
  border-radius: 0.8rem;
  background: #fff;
}
.qr-hint, .pay-status { color: #64748b; font-size: 0.85rem; text-align: center; }
@media (max-width: 767.98px) {
  .pay-sheet .modal-dialog {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 0;
    display: block;
  }
  .pay-sheet .modal-content {
    border-radius: 1.15rem 1.15rem 0 0;
    max-height: 92vh;
    overflow: auto;
  }
}
.price-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.45rem; }
.price-actions .btn { min-height: 44px; font-weight: 700; }
.price-loading, .price-empty { grid-column: 1 / -1; text-align: center; color: #64748b; }
.buy-links { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.85rem; }
.buy-links a { font-weight: 700; text-decoration: none; }
@media (max-width: 1099.98px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .pricing-main { width: min(100% - 2rem, 520px); padding-top: 1.5rem; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.is-popular { box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35), 0 10px 24px rgba(79, 70, 229, 0.12); }
}
