/* ----------------------------------------------------------------------------
 * Orion Pricing Page Styles
 * --------------------------------------------------------------------------
 * Dedicated styling for pricing.html so we can document every visual group with
 * inline comments. Shared card/layout rules stay in base.css.
 * -------------------------------------------------------------------------- */

.sub-hero--pricing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(99, 102, 241, 0.25), transparent 55%),
    radial-gradient(circle at 88% 10%, rgba(14, 165, 233, 0.18), transparent 50%),
    linear-gradient(160deg, rgba(14, 30, 64, 0.65), transparent 70%);
}

.pricing-hero__stack {
  display: grid;
  gap: 1.75rem;
  position: relative;
}

.pricing-hero__metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  padding: 1.4rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 28, 48, 0.85), rgba(14, 23, 42, 0.7));
  border: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: 0 20px 45px rgba(8, 14, 31, 0.45);
  backdrop-filter: blur(18px);
}

.pricing-metric {
  display: grid;
  gap: 0.4rem;
}

.pricing-metric__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.85);
}

.pricing-metric__value {
  font-size: 1.85rem;
  font-weight: 700;
  color: #f8fafc;
}

.pricing-metric__caption {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.72);
}

.pricing {
  display: grid;
  gap: 2.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  border-radius: 28px;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(147, 197, 253, 0.22);
  background: linear-gradient(145deg, rgba(18, 24, 41, 0.85), rgba(15, 23, 42, 0.65));
  color: rgba(224, 231, 255, 0.88);
  display: grid;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.pricing-card--selected {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.35);
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pricing-card:hover::after,
.pricing-card:focus-within::after {
  opacity: 1;
}

.pricing-card--highlight {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.18), rgba(14, 165, 233, 0.12));
  box-shadow: 0 32px 70px rgba(11, 18, 35, 0.55);
}

.pricing-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: -0.25rem;
}

.pricing-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.75);
  color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 32px rgba(11, 17, 33, 0.25);
}

.pricing-card__badge--accent {
  border-color: rgba(129, 140, 248, 0.45);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.42), rgba(14, 165, 233, 0.26));
  color: #f8fafc;
}

.pricing-card__badge--savings {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.22);
  color: rgba(240, 253, 244, 0.95);
}

.pricing-card__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-card__price--with-strike {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.pricing-card__strike {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 1rem;
  color: rgba(148, 163, 184, 0.75);
}

.pricing-card__strike-value,
.pricing-card__strike-currency {
  text-decoration: line-through;
}

.pricing-card__strike-period {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.6);
}

.pricing-card__value {
  font-size: 2.4rem;
  font-weight: 700;
}

.pricing-card__currency {
  font-size: 1.05rem;
  opacity: 0.75;
}

.pricing-card__period {
  font-size: 0.9rem;
  opacity: 0.7;
}

.pricing-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: rgba(224, 231, 255, 0.75);
}

.pricing-card__features li::before {
  content: '•';
  margin-right: 0.5rem;
  color: rgba(99, 102, 241, 0.75);
}

.pricing-card__terms {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.85);
}

.pricing-card__seats {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.18);
  color: rgba(226, 232, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pricing-card__actions {
  display: flex;
  gap: 0.75rem;
}

.pricing-card__actions .btn {
  flex: 1 1 auto;
}

.pricing-grid__empty {
  padding: 2rem;
  border-radius: 24px;
  text-align: center;
  color: rgba(148, 163, 184, 0.75);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  background: rgba(14, 20, 30, 0.55);
}

.section__header--with-controls {
  max-width: none;
  display: grid;
  gap: 1.5rem;
}

.section__header-content {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.section__header-content .section__lead {
  margin: 0;
}

.section__header-controls {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.section__header-hint {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.7);
}

@media (min-width: 900px) {
  .section__header--with-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .section__header-controls {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
  }
}

.pricing-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.pricing-sidebar {
  display: grid;
  gap: 1.5rem;
}

.pricing-sidebar__card {
  padding: 1.6rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.7));
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 18px 40px rgba(10, 14, 30, 0.45);
  display: grid;
  gap: 0.9rem;
  color: rgba(226, 232, 240, 0.88);
}

.pricing-sidebar__action {
  margin-top: 0.25rem;
}

.pricing-sidebar__meta {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 20px;
  background: rgba(13, 23, 42, 0.72);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.pricing-sidebar__meta div {
  display: grid;
  gap: 0.25rem;
}

.pricing-sidebar__meta dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 0.85);
}

.pricing-sidebar__meta dd {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.88);
}

.pricing-sidebar__card {
  position: relative;
  overflow: hidden;
}

.pricing-sidebar__card::before {
  content: '';
  position: absolute;
  inset: -45% -25% 55% -25%;
  background:
    radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.38), transparent 65%),
    radial-gradient(circle at 75% 10%, rgba(56, 189, 248, 0.28), transparent 70%);
  opacity: 0;
  transform: translate3d(0, 12%, 0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.pricing-sidebar__card > * {
  position: relative;
  z-index: 1;
}

.pricing-sidebar__card:hover::before,
.pricing-sidebar__card:focus-within::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (min-width: 1024px) {
  .pricing-sidebar__card {
    position: sticky;
    top: 2.5rem;
  }
}

.pricing-highlights__grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 2rem;
}

.pricing-highlights__card {
  padding: 1.8rem;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(14, 23, 42, 0.92), rgba(11, 26, 52, 0.72));
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: 0 20px 42px rgba(8, 14, 31, 0.35);
  display: grid;
  gap: 0.9rem;
  color: rgba(226, 232, 240, 0.92);
}

.pricing-highlights__card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #f8fafc;
}

.pricing-highlights__bullets {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: rgba(202, 213, 225, 0.9);
}

.pricing-highlights__bullets li::marker {
  color: rgba(129, 140, 248, 0.85);
}

.pricing-journey__steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.pricing-journey__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem 1.6rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.78));
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.pricing-journey__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.95), rgba(56, 189, 248, 0.95));
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.45);
}

.pricing-journey__body {
  display: grid;
  gap: 0.35rem;
  color: rgba(226, 232, 240, 0.9);
}

.pricing-journey__body h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #f8fafc;
}

.payment-card.payment-card--accordion {
  background: linear-gradient(155deg, rgba(14, 24, 40, 0.92), rgba(9, 17, 32, 0.78));
  border-color: rgba(99, 102, 241, 0.22);
  box-shadow: 0 24px 55px rgba(6, 10, 24, 0.45);
}

.payment-card.payment-card--accordion > summary {
  padding: 1.5rem 1.75rem;
}

.payment-card.payment-card--accordion > summary:hover,
.payment-card.payment-card--accordion[open] > summary {
  background: rgba(15, 23, 42, 0.65);
}

.payment-card.payment-card--accordion .payment-card__inner {
  padding: 1.3rem 1.75rem 1.75rem;
  background: linear-gradient(180deg, rgba(11, 20, 35, 0.92), rgba(10, 18, 34, 0.78));
  border-top: 1px solid rgba(99, 102, 241, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.section.pricing-highlights,
.section.pricing-journey,
.section.pricing-highlight {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(150deg, rgba(12, 22, 40, 0.92), rgba(8, 16, 32, 0.76));
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 28px 60px rgba(7, 12, 28, 0.45);
  overflow: hidden;
}

.section.pricing-highlights::before,
.section.pricing-journey::before,
.section.pricing-highlight::before {
  content: '';
  position: absolute;
  inset: -40% -20% -30% -20%;
  background:
    radial-gradient(circle at 15% 20%, rgba(129, 140, 248, 0.35), transparent 60%),
    radial-gradient(circle at 82% 18%, rgba(14, 165, 233, 0.28), transparent 58%),
    radial-gradient(circle at 50% 90%, rgba(56, 189, 248, 0.2), transparent 72%);
  opacity: 0.95;
  pointer-events: none;
  filter: blur(0.5px);
}

.section.pricing-highlights > *,
.section.pricing-journey > *,
.section.pricing-highlight > * {
  position: relative;
  z-index: 1;
}

.section.pricing-journey {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.pricing-help__grid {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(140deg, rgba(30, 64, 175, 0.38), rgba(14, 165, 233, 0.24));
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 24px 48px rgba(8, 17, 39, 0.35);
}

.pricing-help__content {
  display: grid;
  gap: 0.75rem;
}

.pricing-help__actions {
  display: grid;
  gap: 0.75rem;
}

.pricing-help__accent {
  font-weight: 600;
  color: #f8fafc;
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.5);
}

@media (min-width: 768px) {
  .pricing-highlights__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-layout {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    align-items: start;
  }

  .pricing-help__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (max-width: 640px) {
  .pricing-hero__metrics {
    grid-template-columns: 1fr;
  }

  .pricing-journey__step {
    grid-template-columns: 1fr;
  }

  .pricing-journey__badge {
    justify-self: start;
  }
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 42px rgba(7, 11, 24, 0.45);
  backdrop-filter: blur(12px);
  font-weight: 500;
  color: rgba(226, 232, 240, 0.8);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.billing-toggle__caption,
.billing-toggle__state {
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

.billing-toggle__caption {
  color: rgba(148, 163, 184, 0.8);
}

.billing-toggle__state {
  color: rgba(226, 232, 240, 0.95);
}

.billing-toggle--annual {
  border-color: rgba(99, 102, 241, 0.45);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.32), rgba(14, 165, 233, 0.22));
  box-shadow: 0 22px 48px rgba(8, 13, 30, 0.55);
}

.billing-toggle--annual .billing-toggle__caption {
  color: rgba(203, 213, 225, 0.82);
}

.billing-toggle--annual .billing-toggle__state {
  color: #f8fafc;
}

.license-checkout__billing {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
}

.license-checkout__billing-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.75);
}

.license-checkout__billing .billing-toggle {
  width: fit-content;
}

@media (max-width: 720px) {
  .pricing-card {
    padding-inline: 1.75rem;
  }

  .pricing-card__actions {
    flex-direction: column;
  }

  .license-checkout__billing .billing-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .section__header-controls {
    align-items: stretch;
  }

  .section__header-controls .billing-toggle {
    width: 100%;
    justify-content: space-between;
  }
}

.checkout-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(10px);
}

.checkout-modal__dialog {
  position: relative;
  width: min(640px, 94vw);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 20, 30, 0.95);
  box-shadow: 0 32px 90px rgba(2, 6, 16, 0.45);
  color: #fff;
}

.checkout-modal__content {
  position: relative;
  padding: 2.25rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  max-height: 92vh;
}

.checkout-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.checkout-modal__close:hover,
.checkout-modal__close:focus-visible {
  background: rgba(99, 102, 241, 0.22);
  color: #fff;
}

.checkout-modal__header {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.checkout-modal__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

.checkout-modal__summary {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: rgba(226, 232, 240, 0.95);
}

.checkout-modal__summary > span[data-checkout-term] {
  color: rgba(148, 163, 184, 0.9);
  font-weight: 500;
}

.checkout-modal__summary > span:last-child {
  color: rgba(148, 163, 184, 0.85);
  font-weight: 500;
}

[data-checkout-price] {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  color: inherit;
}

.checkout-modal__price-old {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  color: rgba(148, 163, 184, 0.75);
}

.checkout-modal__price-old-value,
.checkout-modal__price-old-currency {
  text-decoration: line-through;
}

.checkout-modal__price-period {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.6);
}

.checkout-modal__price-current {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.checkout-modal__price-current strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.checkout-modal__meta {
  margin: 0;
  display: flex;
  gap: 0.6rem 1.25rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.85);
}

.checkout-modal__savings {
  margin: -0.25rem 0 0;
  font-size: 0.88rem;
  color: rgba(34, 197, 94, 0.85);
}

.checkout-modal__section {
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 25, 38, 0.85);
}

.checkout-modal__section h4 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.checkout-modal__providers-status {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.85);
}

.checkout-modal__providers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-modal__provider {
  margin: 0;
  padding: 0;
}

.checkout-modal__provider-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(11, 16, 27, 0.85);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.checkout-modal__provider-card[open] {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.38);
}

.checkout-modal__provider.is-selected .checkout-modal__provider-card {
  border-color: rgba(99, 102, 241, 0.75);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.45);
}

.checkout-modal__provider-summary {
  margin: 0;
  padding: 0.85rem 1rem;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkout-modal__provider-summary::-webkit-details-marker {
  display: none;
}

.checkout-modal__provider-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  flex: 1 1 auto;
}

.checkout-modal__provider-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.checkout-modal__provider-configure,
.checkout-modal__provider-expand {
  appearance: none;
  border: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1.1;
  font-weight: 600;
  background: rgba(226, 232, 240, 0.08);
  color: rgba(226, 232, 240, 0.9);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-modal__provider-configure:hover,
.checkout-modal__provider-configure:focus-visible,
.checkout-modal__provider-expand:hover,
.checkout-modal__provider-expand:focus-visible {
  background: rgba(99, 102, 241, 0.35);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.45);
}

.checkout-modal__provider-configure {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-modal__provider-expand {
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checkout-modal__provider-expand span {
  font-size: 1rem;
  transform: translateY(-0.05rem);
}

.checkout-modal__provider-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.checkout-modal__provider-option input[type='radio'] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: #6366f1;
}

.checkout-modal__provider-option input[type='radio']:disabled {
  accent-color: rgba(148, 163, 184, 0.35);
}

.checkout-modal__provider-content {
  padding: 0 1rem 1rem 2.25rem;
  display: grid;
  gap: 0.4rem;
}

.checkout-modal__provider-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.checkout-modal__provider-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.85);
  color: rgba(226, 232, 240, 0.92);
}

.checkout-modal__provider-badge--success {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.22);
  color: rgba(240, 253, 244, 0.92);
}

.checkout-modal__provider-badge--warning {
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.22);
  color: rgba(255, 249, 196, 0.92);
}

.checkout-modal__provider-badge--info {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.2);
  color: rgba(219, 234, 254, 0.95);
}

.checkout-modal__provider-badge--muted {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(203, 213, 225, 0.9);
}

.checkout-modal__provider-name {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.95);
}

.checkout-modal__provider-meta {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.8);
}

.checkout-modal__status {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(148, 163, 184, 0.88);
}

.checkout-modal__error {
  margin: -0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--danger);
}

.checkout-modal__result {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(22, 36, 20, 0.85);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--success);
  font-size: 0.95rem;
}

.checkout-modal__result code {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}

.checkout-modal__result-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.checkout-modal__result-actions .btn {
  flex: 0 0 auto;
}

.checkout-modal__result-actions .btn.is-success {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.35);
  color: rgba(240, 253, 244, 0.95);
}

.checkout-modal__payment {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 0.75rem;
}

.checkout-modal__payment-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.4;
}

.checkout-modal__payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkout-modal__payment-actions .btn {
  min-width: 10rem;
}

.checkout-modal__payment-status {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.checkout-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.checkout-modal__help {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.75);
  text-align: center;
}

.checkout-modal__help a {
  color: rgba(96, 165, 250, 0.95);
  text-decoration: underline;
}

body.checkout-modal-open {
  overflow: hidden;
}

.license-summary {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  background: rgba(13, 21, 37, 0.75);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.license-summary__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.license-summary__plan {
  font-weight: 600;
  font-size: 1.05rem;
  color: rgba(226, 232, 240, 0.95);
}

.license-summary__term {
  font-size: 0.92rem;
  color: rgba(148, 163, 184, 0.85);
}

.license-summary__details {
  margin: 0;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.license-summary__details div {
  display: grid;
  gap: 0.2rem;
}

.license-summary__details dt {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
}

.license-summary__details dd {
  margin: 0;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

[data-summary-price] {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
}

.license-summary__price-old {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.75);
}

.license-summary__price-old-value,
.license-summary__price-old-currency {
  text-decoration: line-through;
}

.license-summary__price-period {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.6);
}

.license-summary__price-current {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.license-summary__price-current strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.license-field--inline {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.license-field--inline input[type='checkbox'] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  accent-color: rgba(99, 102, 241, 0.8);
}

.license-field--inline span {
  flex: 1 1 auto;
  color: rgba(203, 213, 225, 0.9);
  font-size: 0.92rem;
  line-height: 1.45;
}

.license-field textarea {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 13, 20, 0.85);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  min-height: 96px;
  resize: vertical;
}

.license-field textarea:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.license-field--quantity {
  gap: 0.85rem;
}

.license-quantity {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.25rem;
  gap: 0.25rem;
  width: fit-content;
}

.license-quantity__button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: rgba(226, 232, 240, 0.95);
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.license-quantity__button:hover,
.license-quantity__button:focus-visible {
  background: rgba(99, 102, 241, 0.35);
  color: #fff;
}

.license-quantity__button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.license-quantity__button:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.65);
  outline-offset: 2px;
}

.license-quantity input[type='number'] {
  background: transparent;
  border: none;
  width: 72px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.95);
  -moz-appearance: textfield;
}

.license-quantity input[type='number']::-webkit-outer-spin-button,
.license-quantity input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.payment-card__badge--success {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.22);
  color: rgba(240, 253, 244, 0.95);
}

.payment-card__badge--warning {
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.22);
  color: rgba(255, 250, 205, 0.95);
}

.payment-card__badge--info {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.22);
  color: rgba(219, 234, 254, 0.95);
}

.payment-card__badge--muted {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(203, 213, 225, 0.9);
}

@media (max-width: 600px) {
  .checkout-modal__content {
    padding: 2rem 1.5rem 1.75rem;
  }

  .checkout-modal__section {
    padding: 1rem;
  }

  .checkout-modal__payment-actions {
    flex-direction: column;
  }

  .checkout-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .payment-card--accordion > summary {
    padding: 1.1rem 1.25rem;
  }

  .payment-card__inner {
    padding: 0 1.25rem 1.25rem;
  }
}
