/* Pricing page: restrained hierarchy and a dedicated checkout column. */
body { background: #faf9fc; }

.pricing-page-hero {
  padding: 72px 20px 58px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(249,115,22,.10), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(124,58,237,.12), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fbf9ff 100%);
}
.pricing-page-hero h1 { max-width: 720px; margin-bottom: 14px; font-size: clamp(38px, 5vw, 56px); }
.pricing-page-hero p { max-width: 590px; font-size: 15px; line-height: 1.7; }

.pricing-overview { padding: 0 20px 38px; background: #fbf9ff; }
.pricing-overview .container { max-width: 1040px; }
.pricing-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e9e4f2;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(76,29,149,.06);
}
.pricing-overview-card { min-width: 0; padding: 24px 26px; }
.pricing-overview-card + .pricing-overview-card { border-left: 1px solid #ece7f4; }
.pricing-overview-card.featured { background: linear-gradient(135deg, rgba(124,58,237,.055), rgba(249,115,22,.045)); }
.pricing-overview-card > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pricing-overview-card strong { color: #6d28d9; font-size: 28px; letter-spacing: -.035em; }
.pricing-overview-card strong span { color: #7c7189; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.overview-label { color: #31263f; font-size: 14px; font-weight: 900; }
.pricing-overview-card p { margin: 13px 0 5px; color: #40364d; font-size: 13px; line-height: 1.55; }
.pricing-overview-card > span { color: #7a7085; font-size: 12px; }

.pricing-redesign { padding: 66px 20px 72px; background: #faf9fc; }
.pricing-redesign .container { max-width: 1160px; }
.pricing-section-heading { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.pricing-section-heading h2 { margin: 16px 0 9px; font-size: 32px; letter-spacing: -.025em; }
.pricing-section-heading p { margin: 0; color: #716779; font-size: 14px; line-height: 1.7; }

.pricing-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.pricing-catalog { display: grid; gap: 20px; min-width: 0; }
.pricing-group,
.usage-details {
  border: 1px solid #e8e3ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(54,31,76,.045);
}
.pricing-group { padding: 26px; }
.pricing-group-head { display: grid; grid-template-columns:minmax(0, 1fr) minmax(220px, .8fr); gap: 24px; align-items: start; margin-bottom: 22px; }
.pricing-group-head > div { display: flex; align-items: center; gap: 11px; }
.pricing-group-head > div > span {
  display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px;
  border-radius: 10px; background: #f1eafe; color: #6d28d9; font-size: 11px; font-weight: 900;
}
.pricing-group-head h3 { margin: 0; color: #21182d; font-size: 18px; letter-spacing: -.012em; }
.pricing-group-head p { margin: 1px 0 0; color: #766d7e; font-size: 12px; line-height: 1.55; }

.pricing-redesign .plan-tabs { margin: 0; gap: 10px; flex-wrap: nowrap; }
.pricing-redesign .plan-tab {
  min-width: 0;
  padding: 19px 17px 17px;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #e8e2ef;
  border-radius: 15px;
  box-shadow: none;
  transform: none;
}
.pricing-redesign .plan-tab:hover { transform: none; border-color: #c4b5fd; box-shadow: 0 10px 25px rgba(76,29,149,.06); }
.pricing-redesign .plan-tab.active {
  border-color: #8b5cf6;
  background: linear-gradient(150deg, #fbf9ff, #f7f1ff);
  box-shadow: inset 0 0 0 1px rgba(124,58,237,.12), 0 12px 28px rgba(124,58,237,.09);
}
.pricing-redesign .plan-tab.best.active { border-color: #f97316; background: linear-gradient(150deg, #fff, #fff7ed); }
.pricing-redesign .subscription-tabs .plan-tab { flex: 1 1 0; max-width: none; min-height: 188px; }
.pricing-redesign .tab-name { font-size: 13px; }
.pricing-redesign .tab-price { margin: 8px 0 2px; font-size: 29px; letter-spacing: -.035em; }
.pricing-redesign .tab-unit { min-height: 18px; font-size: 11px; }
.pricing-redesign .tab-benefits {
  max-width: none; margin-top: auto; padding-top: 12px; border-top: 1px solid #eee8f4;
  color: #6b5c78; font-size: 10.5px; line-height: 1.55;
}
.pricing-redesign .tab-badge { top: -9px; left: 16px; transform: none; font-size: 9px; padding: 3px 8px; }

.usage-details { overflow: hidden; }
.usage-details summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 22px; cursor: pointer; color: #342640; font-size: 13px; font-weight: 900;
  list-style: none;
}
.usage-details summary::-webkit-details-marker { display: none; }
.usage-details summary::after { content: "+"; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: #f2ebfc; color: #6d28d9; font-size: 18px; }
.usage-details[open] summary::after { content: "−"; }
.usage-details summary small { margin-left: auto; color: #887c91; font-size: 11px; font-weight: 500; }
.usage-details .usage-pricing-grid { grid-template-columns: 1fr; gap: 0; max-width: none; margin: 0; padding: 0 22px 20px; }
.usage-details .usage-pricing-grid article { padding: 16px 0; border: 0; border-top: 1px solid #eeeaf2; border-radius: 0; }
.usage-details .usage-pricing-grid h3 { margin-bottom: 8px; }
.usage-details .usage-pricing-grid p { display: inline; margin-right: 14px; line-height: 1.8; }
.usage-details .usage-pricing-grid small { margin-top: 7px; }

.compact-group .pricing-group-head { margin-bottom: 18px; }
.single-plan-row .plan-tab { width: 100%; min-height: 116px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 20px; }
.single-plan-row .tab-price { grid-column: 2; grid-row: 1 / span 2; }
.single-plan-row .tab-unit,
.single-plan-row .credit-pack-desc { grid-column: 1; max-width: none; margin: 0; }
.topup-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.topup-grid .plan-tab { min-height: 144px; }
.pricing-redesign .credit-pack-desc { max-width: none; margin-top: auto; padding-top: 10px; color: #756a7c; font-size: 10px; line-height: 1.45; }
.topup-grid .custom-plan { justify-content: center; }

.checkout-panel {
  position: sticky;
  top: 92px;
  padding: 26px;
  border: 1px solid #ded4eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(76,29,149,.10);
}
.checkout-eyebrow { color: #7c3aed; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.checkout-panel h3 { margin: 8px 0 21px; color: #21182d; font-size: 20px; }
.checkout-panel .pay-action-price { margin: 0 0 22px; padding: 17px 18px; border-radius: 15px; background: linear-gradient(135deg, #f7f1ff, #fff8f2); text-align: left; }
.checkout-panel .pay-action-price small { display: block; margin-bottom: 3px; color: #7b7084; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.checkout-panel .pay-action-price div,
.checkout-panel .pay-action-price span { color: #4c1d95; font-size: 38px; font-weight: 900; letter-spacing: -.04em; }
.checkout-panel .email-row,
.checkout-panel .coupon-row { max-width: none; margin: 0 0 17px; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.checkout-panel .email-row label,
.checkout-panel .coupon-row label { color: #62566c; font-size: 11px; font-weight: 700; }
.checkout-panel .email-row input,
.checkout-panel .coupon-controls input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #e1dae8; border-radius: 10px; background: #fdfcfe; font: inherit; }
.checkout-panel .coupon-controls button { border-radius: 10px; padding: 0 13px; }
.checkout-panel .pay-action { margin-top: 5px; padding: 0; }
.checkout-panel .btn-pay-main { min-height: 52px; border-radius: 12px; font-size: 14px; }
.checkout-panel .pay-secure-note { margin-bottom: 0; font-size: 10.5px; }

.activate,
.faq { padding: 54px 20px; }
.activate h2,
.faq h2 { font-size: 24px; }
.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-top: 27px; gap: 14px; }
.step { padding: 17px; border: 1px solid #ece7f1; border-radius: 15px; background: #fff; }
.step-num { flex-basis: 30px; width: 30px; height: 30px; border-radius: 9px; font-size: 12px; }
.step-text { padding-top: 3px; font-size: 13px; }
.faq-list { max-width: 820px; margin-top: 27px; gap: 10px; }
.faq-item { padding: 16px 19px; border-radius: 13px; box-shadow: none; }
.faq-q { font-size: 13px; }
.faq-a { font-size: 12px; }

@media (max-width: 980px) {
  .pricing-workspace { grid-template-columns: 1fr; }
  .checkout-panel { position: static; max-width: 620px; width: 100%; margin: 0 auto; }
}

@media (max-width: 700px) {
  .pricing-page-hero { padding: 56px 16px 44px; }
  .pricing-page-hero h1 { font-size: 36px; }
  .pricing-overview { padding-inline: 16px; }
  .pricing-overview-grid { grid-template-columns: 1fr; }
  .pricing-overview-card + .pricing-overview-card { border-left: 0; border-top: 1px solid #ece7f4; }
  .pricing-redesign { padding: 48px 16px 58px; }
  .pricing-section-heading { margin-bottom: 28px; }
  .pricing-group { padding: 20px; }
  .pricing-group-head { grid-template-columns: 1fr; gap: 10px; }
  .pricing-redesign .plan-tabs { flex-direction: column; }
  .pricing-redesign .subscription-tabs .plan-tab { width: 100%; min-height: 160px; }
  .topup-grid { grid-template-columns: 1fr; }
  .single-plan-row .plan-tab { display: flex; min-height: 150px; align-items: flex-start; }
  .usage-details summary { align-items: flex-start; }
  .usage-details summary small { display: none; }
  .usage-details .usage-pricing-grid p { display: block; margin: 6px 0; }
  .checkout-panel { padding: 21px; }
  .steps { grid-template-columns: 1fr; }
}
