.pricing-page { background: linear-gradient(180deg, #eef5ff 0, #f7f9fc 420px); padding: 64px 0 80px; }
.pricing-intro { text-align: center; max-width: 800px; margin: 0 auto 28px; }
.pricing-intro h1 { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.2; letter-spacing: -.04em; margin: 14px 0 18px; }
.pricing-intro p { font-size: 17px; line-height: 1.8; color: #526580; margin: 0; }
.billing-toggle { display: flex; gap: 6px; width: fit-content; margin: 0 auto 40px; padding: 6px; border: 1px solid #dce5f2; border-radius: 14px; background: #fff; }
.billing-toggle button { border: 0; background: transparent; color: #526580; padding: 12px 26px; border-radius: 9px; font: 700 14px "Plus Jakarta Sans", sans-serif; min-height: 46px; cursor: pointer; }
.billing-toggle button.active { background: #156cf3; color: #fff; box-shadow: 0 5px 14px rgba(21,108,243,.2); }
.config-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.stack { display: grid; gap: 26px; min-width: 0; }
.config-panel { background: #fff; border: 1px solid #dfe7f2; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 24px rgba(17,44,83,.035); }
.panel-title { padding: 23px 24px; background: #f9fbfe; border-bottom: 1px solid #e4ebf5; }
.panel-title strong { display: block; font-size: 15px; letter-spacing: .02em; }
.panel-title span { display: block; font-size: 14px; line-height: 1.7; color: #526580; margin-top: 6px; }
.plan-selector { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 22px; }
.plan-choice { position: relative; padding: 24px 20px; border: 2px solid #e1e8f2; border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.plan-choice:hover { border-color: #9abbef; }
.plan-choice.active { border-color: #156cf3; background: #f3f8ff; }
.plan-choice .badge { display: table; margin-bottom: 14px; border-radius: 6px; padding: 4px 8px; background: #e4eeff; color: #195bbd; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.plan-choice h3 { font-size: 23px; line-height: 1.4; letter-spacing: -.03em; margin: 0 0 10px; }
.plan-choice p { font-size: 14px; line-height: 1.75; color: #526580; margin: 0 0 20px; }
.plan-price { font-size: 29px; line-height: 1.4; font-weight: 800; letter-spacing: -.04em; }
.plan-price small { display: inline-block; font-size: 13px; font-weight: 500; color: #526580; letter-spacing: 0; }
.plan-meta { display: grid; gap: 9px; border-top: 1px solid #dfe7f2; margin-top: 20px; padding-top: 18px; }
.plan-meta span { font-size: 12px; line-height: 1.7; color: #3f5573; }
.line-item { display: grid; grid-template-columns: minmax(0, 1fr) 118px 110px; gap: 16px; align-items: center; padding: 24px; border-bottom: 1px solid #e8edf4; }
.line-item:last-child { border-bottom: 0; }
.item-info { grid-column: 1 / -1; }
.item-name { font-size: 16px; font-weight: 700; line-height: 1.7; }
.item-name .mandatory { display: inline-block; font-size: 10px; padding: 2px 8px; background: #edf4ff; color: #195bbd; border-radius: 6px; margin-left: 6px; vertical-align: middle; }
.item-desc { color: #526580; font-size: 14px; line-height: 1.75; margin-top: 5px; max-width: 580px; }
.unit-price, .line-total { font-size: 14px; line-height: 1.6; color: #526580; }
.line-total { text-align: right; font-weight: 700; color: #142a48; }
.qty { display: grid; grid-template-columns: 38px 40px 38px; border: 1px solid #cedbeb; border-radius: 9px; overflow: hidden; height: 44px; }
.qty button { border: 0; background: #f5f8fc; color: #195bbd; font-size: 19px; cursor: pointer; }
.qty button:hover:not(:disabled) { background: #e4eeff; }
.qty button:disabled { cursor: default; color: #97a6bb; }
.qty span { display: grid; place-items: center; border-inline: 1px solid #e1e8f2; font-size: 14px; font-weight: 700; }
.addon-note { font-size: 12px; color: #526580; line-height: 1.8; padding: 18px 24px 24px; background: #f9fbfe; }
.summary { position: sticky; top: 112px; background: #fff; border: 1px solid #dce5f2; border-radius: 18px; padding: 26px; box-shadow: 0 16px 40px rgba(17,44,83,.08); }
.summary h3 { font-size: 22px; letter-spacing: -.03em; margin: 0 0 6px; }
.summary-intro { font-size: 13px; line-height: 1.7; color: #526580; margin: 0 0 20px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid #edf1f7; font-size: 13px; color: #526580; }
.sum-row strong { color: #142a48; text-align: right; }
.sum-row > strong { flex-shrink: 0; }
.sum-row small { font-size: 11px; line-height: 1.6; }
.sum-total { display: grid; gap: 8px; padding: 20px 0; }
.sum-total span { font-size: 14px; font-weight: 700; }
.sum-total small { color: #526580; font-size: 12px; }
.sum-total > strong { font-size: 34px; line-height: 1.3; letter-spacing: -.04em; color: #195bbd; overflow-wrap: anywhere; }
.terms { background: #f5f8fd; border-radius: 12px; padding: 18px; margin: 20px 0; }
.terms strong { display: block; font-size: 13px; margin-bottom: 10px; }
.terms div { font-size: 12px; color: #526580; line-height: 1.85; margin-top: 7px; }
.summary .continue { display: flex; justify-content: center; padding: 14px 20px; border-radius: 10px; background: #156cf3; color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 6px 16px rgba(21,108,243,.2); }
.continue:hover { background: #0f5bd2; }
.pricing-page button:focus-visible, .plan-choice:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
@media (max-width: 1100px) {
  .config-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; }
  .plan-selector { grid-template-columns: 1fr; }
  .summary { padding: 22px; }
}
@media (max-width: 980px) {
  .config-grid { grid-template-columns: 1fr; }
  .plan-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary { position: static; }
}
@media (max-width: 650px) {
  .pricing-page { padding: 40px 0 52px; }
  .pricing-intro p { font-size: 15px; }
  .billing-toggle { margin-bottom: 28px; }
  .billing-toggle button { padding: 12px 20px; }
  .plan-selector { grid-template-columns: 1fr; padding: 16px; }
  .panel-title { padding: 20px; }
  .line-item { padding: 20px; grid-template-columns: minmax(0, 1fr) 118px; gap: 12px; }
  .line-total { grid-column: 1 / -1; padding-top: 10px; border-top: 1px dashed #e1e8f2; }
  .line-total::before { content: "Total: "; color: #526580; font-weight: 500; }
  .summary { padding: 22px 20px; }
  .sum-row { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-choice { transition: none; }
}
