:root {
  --gs-checkout-accent: #8fff00;
  --gs-checkout-bg: #050605;
  --gs-checkout-card: #101210;
  --gs-checkout-line: rgba(143, 255, 0, 0.24);
  --gs-checkout-muted: rgba(255, 255, 255, 0.68);
}

.pricing-card .pricing-price {
  color: var(--primary, #8fff00);
  letter-spacing: 0;
}

.pricing-card .pricing-price .price-suffix {
  color: var(--text-secondary, rgba(255, 255, 255, 0.68));
  font-size: 0.34em;
  font-weight: 700;
  margin-left: 4px;
}

.pricing-card .pricing-period .gs-total-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(143, 255, 0, 0.22);
  border-radius: 999px;
  background: rgba(143, 255, 0, 0.08);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

#pricingGrid.pricing-grid {
  align-items: stretch;
  gap: clamp(18px, 1.8vw, 28px);
}

#pricingGrid .pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  height: 100%;
  padding: clamp(34px, 2.5vw, 44px) clamp(26px, 2.2vw, 38px);
  text-align: center;
}

#pricingGrid .pricing-card.featured {
  transform: none;
}

#pricingGrid .pricing-card:hover {
  transform: none;
}

#pricingGrid .pricing-card .pricing-badge {
  display: none;
}

#pricingGrid .pricing-duration {
  min-height: 24px;
  margin-bottom: 26px;
}

#pricingGrid .pricing-price {
  min-height: 66px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
  margin-bottom: 8px;
}

#pricingGrid .pricing-period {
  min-height: 38px;
  margin-bottom: 34px;
}

#pricingGrid .pricing-features {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0 0 34px;
}

#pricingGrid .pricing-features li {
  min-height: 41px;
  padding: 8px 0;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: nowrap;
}

#pricingGrid .pricing-features li::before {
  flex: 0 0 auto;
  line-height: 1.45;
}

#pricingGrid .pricing-card .btn {
  align-self: center;
  width: min(150px, 100%) !important;
  min-height: 58px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

body.gs-checkout-locked {
  overflow: hidden;
}

.gs-checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
}

.gs-checkout-overlay.active {
  display: flex;
}

.gs-checkout-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.45fr);
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid var(--gs-checkout-line);
  border-radius: 22px;
  background: var(--gs-checkout-card);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.58);
}

.gs-checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.gs-checkout-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: 34px 28px;
  background: linear-gradient(180deg, rgba(143, 255, 0, 0.14), rgba(0, 0, 0, 0.2)), #070807;
  border-right: 1px solid var(--gs-checkout-line);
}

.gs-checkout-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
}

.gs-checkout-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.gs-checkout-sidebar h2 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.05;
}

.gs-summary-list {
  display: grid;
  gap: 12px;
}

.gs-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.gs-summary-item span:first-child {
  color: var(--gs-checkout-muted);
}

.gs-summary-item span:last-child {
  font-weight: 900;
  text-align: right;
}

.gs-total-label {
  color: var(--gs-checkout-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gs-total-amount {
  margin-top: 8px;
  color: var(--gs-checkout-accent);
  font-size: 2.45rem;
  font-weight: 950;
}

.gs-checkout-main {
  min-height: 560px;
  max-height: min(760px, calc(100vh - 36px));
  overflow-y: auto;
  padding: 44px 46px;
}

.gs-step {
  display: none;
}

.gs-step.active {
  display: block;
}

.gs-step-header h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.65rem;
  line-height: 1.15;
}

.gs-step-header p {
  margin: 0 0 24px;
  color: var(--gs-checkout-muted);
  line-height: 1.55;
}

.gs-type-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.gs-type-btn,
.gs-btn {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
}

.gs-type-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.gs-type-btn.active {
  border-color: var(--gs-checkout-accent);
  background: rgba(143, 255, 0, 0.16);
  color: var(--gs-checkout-accent);
}

.gs-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gs-field {
  display: grid;
  gap: 8px;
}

.gs-field.full {
  grid-column: 1 / -1;
}

.gs-field label {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

.gs-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.26);
  color: #ffffff;
  padding: 0 14px;
  outline: none;
}

.gs-field input:focus {
  border-color: var(--gs-checkout-accent);
  box-shadow: 0 0 0 3px rgba(143, 255, 0, 0.12);
}

.gs-renew-status {
  display: none;
  border-radius: 12px;
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  line-height: 1.45;
}

.gs-renew-status.visible {
  display: block;
}

.gs-renew-status.loading {
  color: var(--gs-checkout-accent);
}

.gs-renew-status.error,
.gs-renew-status.missing {
  color: #ffd166;
}

.gs-renew-list {
  display: grid;
  gap: 10px;
}

.gs-renew-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

.gs-renew-choice.selected {
  border-color: var(--gs-checkout-accent);
  background: rgba(143, 255, 0, 0.12);
}

.gs-renew-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--gs-checkout-accent);
}

.gs-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.gs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
}

.gs-btn.primary {
  border-color: var(--gs-checkout-accent);
  background: var(--gs-checkout-accent);
  color: #000000;
}

.gs-btn.ghost {
  border-color: transparent;
  color: var(--gs-checkout-muted);
}

.gs-upsell-list {
  display: grid;
  gap: 14px;
}

.gs-upsell-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.gs-upsell-card.active {
  border-color: var(--gs-checkout-accent);
  background: rgba(143, 255, 0, 0.12);
}

.gs-upsell-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--gs-checkout-accent);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.gs-upsell-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.gs-upsell-card h4 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.1rem;
}

.gs-upsell-card p {
  margin: 0;
  color: var(--gs-checkout-muted);
}

.gs-upsell-saving {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gs-checkout-accent);
  font-weight: 900;
}

.gs-upsell-price {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 950;
  text-align: right;
}

.gs-payment-panel {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid var(--gs-checkout-line);
  border-radius: 18px;
  background: #080908;
  text-align: center;
  padding: 28px;
}

.gs-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(143, 255, 0, 0.18);
  border-top-color: var(--gs-checkout-accent);
  border-radius: 50%;
  animation: gs-spin 0.85s linear infinite;
  margin: 0 auto 18px;
}

@keyframes gs-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  #pricingGrid .pricing-card {
    min-height: auto;
  }

  #pricingGrid .pricing-features li {
    white-space: normal;
  }

  #pricingGrid .pricing-card .btn {
    width: 100% !important;
  }

  .gs-checkout-overlay {
    padding: 0;
    align-items: stretch;
  }

  .gs-checkout-modal {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    grid-template-columns: 1fr;
  }

  .gs-checkout-sidebar {
    min-height: auto;
    padding: 24px 22px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--gs-checkout-line);
  }

  .gs-checkout-sidebar h2 {
    font-size: 1.45rem;
  }

  .gs-total-amount {
    font-size: 1.9rem;
  }

  .gs-checkout-main {
    min-height: 0;
    max-height: none;
    padding: 26px 20px 34px;
  }

  .gs-form,
  .gs-type-toggle {
    grid-template-columns: 1fr;
  }

  .gs-footer {
    flex-direction: column-reverse;
  }

  .gs-btn {
    width: 100%;
  }
}
