/* Pricing / purchase page */
.pricing-page {
  background:
    radial-gradient(ellipse 75% 36% at 50% -12%, rgba(255, 107, 53, 0.16), transparent 62%),
    var(--bg);
}
.pricing-hero {
  max-width: var(--site-container);
  margin: 0 auto;
  padding: 96px var(--site-gutter) 48px;
  text-align: center;
  scroll-margin-top: 88px;
}
.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.34);
  background: rgba(255, 107, 53, 0.08);
  color: #ffb08e;
  font-size: 13px;
  font-weight: 600;
}
.pricing-title {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 760;
}
.pricing-subtitle {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.75;
}
.pricing-grid {
  max-width: var(--site-container);
  margin: 0 auto;
  padding: 0 var(--site-gutter) 72px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
    rgba(20, 20, 20, 0.88);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 20px 60px rgba(0, 0, 0, 0.32);
}
.price-card--featured {
  border-color: rgba(255, 107, 53, 0.52);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 24px 70px rgba(255, 107, 53, 0.14),
    0 20px 60px rgba(0, 0, 0, 0.4);
}
.price-card--sale {
  border-color: rgba(255, 107, 53, 0.42);
}
.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.14);
  color: #ffb08e;
  font-size: 12px;
  font-weight: 700;
}
.price-name {
  margin: 0;
  padding-right: 70px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.price-desc {
  min-height: 48px;
  margin: 10px 0 20px;
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.65;
}
.price-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 22px;
  margin: -10px 0 8px;
  color: var(--text-faint);
  font-size: 13px;
}
.price-promo del {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  font-weight: 650;
  text-decoration-color: #ff8a5c;
  text-decoration-thickness: 2px;
}
.price-promo span {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.14);
  color: #ffb08e;
  font-size: 12px;
  font-weight: 700;
}
.price-value {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 4px 6px;
  min-height: 48px;
  margin-bottom: 20px;
}
.price-currency {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  font-weight: 650;
}
.price-number {
  flex-shrink: 1;
  min-width: 0;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-period {
  flex-shrink: 0;
  color: var(--text-faint);
  font-size: 13px;
  white-space: nowrap;
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.price-features li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}
.price-action {
  margin-top: auto;
}
.price-action .btn {
  width: 100%;
  justify-content: center;
}
.price-footnote {
  margin: 12px 0 0;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.6;
}
.pricing-section {
  max-width: var(--site-container);
  margin: 0 auto;
  padding: 0 var(--site-gutter) 72px;
}
.pricing-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.78);
  padding: clamp(22px, 4vw, 36px);
}
.pricing-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.pricing-panel p,
.pricing-panel li {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.85;
}
.pricing-panel ul {
  margin: 0;
  padding-left: 1.2em;
}
.pricing-panel a {
  color: #ffb08e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}
.pricing-term-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
}
.pricing-term-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.pricing-panel--compare {
  overflow: hidden;
}
.pricing-eyebrow--compact {
  margin-bottom: 10px;
}
.compare-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.compare-head h2 {
  margin-bottom: 0;
}
.compare-head p {
  max-width: 520px;
  margin: 0;
  color: var(--text-mute);
}
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
}
.compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  vertical-align: middle;
}
.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font-weight: 700;
}
.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
}
.compare-table tbody th {
  width: 240px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.026);
}
.compare-ok,
.compare-no,
.compare-limit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.compare-ok {
  background: rgba(125, 206, 160, 0.12);
  color: #9ee2b8;
}
.compare-no {
  background: rgba(255, 107, 53, 0.12);
  color: #ffb08e;
}
.compare-limit {
  background: rgba(255, 193, 7, 0.12);
  color: #ffd37a;
}
.compare-note {
  margin: 14px 0 0;
  color: var(--text-faint);
  font-size: 12px;
}

/* Payment modal */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.pay-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pay-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(6px);
}
.pay-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #141414;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 32px 80px rgba(0, 0, 0, 0.64);
}
.pay-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.56);
}
.pay-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.pay-title {
  margin: 0;
  padding-right: 42px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.pay-summary {
  margin: 8px 0 20px;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.65;
}
.pay-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.pay-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
}
.pay-method.is-active {
  border-color: rgba(255, 107, 53, 0.55);
  background: rgba(255, 107, 53, 0.12);
  color: #fff;
}
.pay-qr {
  width: 210px;
  height: 210px;
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  color: #222;
}
.pay-qr__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 30px 30px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 30px 30px,
    #f4f4f4;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: pre-line;
}
.pay-help {
  margin: 0;
  text-align: center;
  color: var(--text-mute);
  font-size: 13px;
}
.pay-agree {
  margin: 16px 0 0;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}
.pay-agree a {
  color: #ffb08e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.pay-modal-open {
  overflow: hidden;
}
@media (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .pricing-grid,
  .pricing-terms-grid {
    grid-template-columns: 1fr;
  }
  .price-card {
    min-height: auto;
  }
  .compare-head {
    display: block;
  }
  .compare-head p {
    margin-top: 12px;
  }
}
@media (max-width: 560px) {
  .pricing-hero {
    padding-top: 64px;
  }
  .pay-modal__dialog {
    padding: 24px 20px;
  }
}
