/* BitFire PRO upgrade landing page */

.upgrade-page {
  background: var(--ink);
}

.upgrade-hero {
  position: relative;
  overflow: hidden;
  padding: 158px 0 92px;
  background:
    radial-gradient(circle at 82% 22%, rgba(33, 139, 201, 0.2), transparent 27%),
    radial-gradient(circle at 9% 86%, rgba(69, 183, 232, 0.08), transparent 25%),
    linear-gradient(180deg, #071322, #081827);
}

.upgrade-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.17;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.upgrade-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.68fr);
  gap: 84px;
  align-items: center;
}

.upgrade-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #c8d9e3;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.upgrade-hero h1 {
  max-width: 800px;
  margin-bottom: 27px;
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.upgrade-hero h1 span {
  color: var(--mint);
}

.upgrade-lede {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--text-soft);
  line-height: 1.58;
}

.upgrade-actions {
  gap: 13px;
}

.hero-checks,
.price-includes {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #9db1bd;
}

.hero-checks li,
.price-includes li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-checks .icon,
.price-includes .icon {
  width: 17px;
  height: 17px;
  color: var(--mint);
}

.hero-price-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(167, 210, 233, 0.2);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(17, 41, 65, 0.96), rgba(8, 24, 39, 0.97));
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.42);
}

.hero-price-card::after {
  content: "";
  position: absolute;
  right: -115px;
  bottom: -125px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(91, 173, 218, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(91, 173, 218, 0.025), 0 0 0 68px rgba(91, 173, 218, 0.015);
  pointer-events: none;
}

.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--mint);
  font-weight: 850;
  letter-spacing: 0.11em;
}

.annual-badge {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9eb2be;
  letter-spacing: 0.04em;
}

.hero-price-card h2 {
  margin-bottom: 24px;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.starting-price {
  display: flex;
  align-items: flex-end;
  margin-bottom: 12px;
  color: var(--white);
}

.starting-price .currency {
  align-self: flex-start;
  margin: 7px 2px 0 0;
  color: var(--mint);
  font-size: 1.4rem;
  font-weight: 850;
}

.starting-price strong {
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.price-unit {
  margin: 0 0 3px 12px;
  color: #8fa4b1;
  font-size: var(--fs-sm);
  line-height: 1.35;
}

.hero-price-card > p {
  color: #8fa4b1;
}

.price-rise-alert {
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 191, 112, 0.22);
  border-radius: 12px;
  color: #d9b98f;
  background: rgba(255, 166, 77, 0.06);
  line-height: 1.5;
}

.price-rise-alert strong {
  display: block;
  color: #ffd09a;
}

.price-includes {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #c6d5dd;
}

.hero-price-card .button {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-price-card > small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 13px;
  color: #79909e;
  text-align: center;
}

.license-notice {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a1b2b;
}

.license-notice-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.license-notice-inner > .icon {
  width: 27px;
  height: 27px;
  color: var(--mint);
}

.license-notice p {
  margin: 0;
  color: #9db0bb;
}

.license-notice p strong {
  color: #e1edf2;
}

.license-notice a,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-weight: 800;
  white-space: nowrap;
}

.license-notice a .icon,
.card-link .icon {
  width: 17px;
  transition: transform 160ms ease;
}

.license-notice a:hover .icon,
.card-link:hover .icon {
  transform: translateX(3px);
}

.pro-value .section-header {
  max-width: 850px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  min-height: 455px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line-dark);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.54);
}

.value-card-featured {
  color: var(--text);
  border-color: rgba(91, 173, 218, 0.25);
  background:
    radial-gradient(circle at 90% 8%, rgba(91, 173, 218, 0.12), transparent 28%),
    var(--ink-soft);
  box-shadow: 0 28px 70px rgba(11, 27, 48, 0.18);
}

.value-number {
  color: #6e8290;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.value-card-featured .value-number {
  color: var(--mint);
}

.value-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 54px 0 24px;
  border: 1px solid rgba(33, 139, 201, 0.2);
  border-radius: 15px;
  color: #126d9f;
  background: rgba(33, 139, 201, 0.07);
}

.value-card-featured .value-icon {
  color: var(--mint);
  border-color: rgba(91, 173, 218, 0.18);
  background: rgba(91, 173, 218, 0.07);
}

.value-card h3 {
  margin-bottom: 14px;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.value-card p {
  margin-bottom: 24px;
  color: var(--text-dark-soft);
}

.value-card-featured p {
  color: var(--text-soft);
}

.value-card .card-link {
  margin-top: auto;
  color: #126d9f;
}

.value-card-featured .card-link {
  color: var(--mint);
}

.rasp-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 30%, rgba(69, 183, 232, 0.08), transparent 25%),
    #071322;
}

.rasp-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 78px;
  align-items: start;
}

.rasp-intro {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}

.rasp-intro h2 {
  margin-bottom: 24px;
}

.rasp-rule {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 18px;
}

.rasp-rule span,
.rasp-rule strong {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8da3af;
  background: rgba(255, 255, 255, 0.035);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.rasp-rule strong {
  color: var(--ink);
  border-color: var(--mint);
  background: var(--mint);
}

.rasp-rule b {
  color: var(--mint);
}

.rasp-controls {
  display: grid;
  border-top: 1px solid var(--line);
}

.rasp-control {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 26px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.control-index {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #728b98;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.control-index .icon {
  width: 36px;
  height: 36px;
  color: var(--mint);
}

.rasp-control h3 {
  margin-bottom: 13px;
  letter-spacing: -0.035em;
}

.rasp-control p {
  max-width: 660px;
  margin-bottom: 17px;
  color: var(--text-soft);
}

.rasp-control code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #d6f2ff;
  background: rgba(91, 173, 218, 0.07);
}

.blocked-operation {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--mint);
  background: rgba(91, 173, 218, 0.08);
  font-weight: 850;
  letter-spacing: 0.08em;
}

.hunter-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.hunter-copy h2 {
  margin-bottom: 24px;
}

.hunter-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 25px;
}

.hunter-targets span {
  padding: 8px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: #2b5168;
  background: rgba(255, 255, 255, 0.52);
  font-weight: 750;
}

.hunter-note {
  margin: 0;
  padding: 18px;
  border-left: 3px solid var(--mint-strong);
  color: var(--text-dark-soft);
  background: rgba(255, 255, 255, 0.42);
}

.hunter-note strong {
  color: var(--text-dark);
}

.hunter-visual {
  overflow: hidden;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(33, 139, 201, 0.23);
  border-radius: 25px;
  background: #091827;
  box-shadow: 0 32px 75px rgba(11, 27, 48, 0.22);
}

.hunter-visual .product-frame-bar {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: #7f98a8;
  letter-spacing: 0.08em;
}

.hunter-live {
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--mint);
  background: rgba(91, 173, 218, 0.08);
  font-weight: 850;
}

.hunter-visual img {
  width: 100%;
  border-radius: 16px;
}

.hunter-visual figcaption {
  display: grid;
  gap: 3px;
  padding: 16px 12px 10px;
  color: #8199a7;
}

.hunter-visual figcaption strong {
  color: #dbe8ee;
}

.pricing-section {
  background:
    radial-gradient(circle at 86% 7%, rgba(33, 139, 201, 0.11), transparent 25%),
    #081827;
}

.pricing-section .section-header {
  max-width: 800px;
}

.monthly-increase-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 22px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 191, 112, 0.25);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 166, 77, 0.09), rgba(255, 166, 77, 0.035));
}

.increase-date {
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffd09a;
  background: rgba(255, 166, 77, 0.1);
  font-weight: 850;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.monthly-increase-notice strong {
  display: block;
  margin-bottom: 3px;
  color: #ffe0ba;
}

.monthly-increase-notice p {
  margin: 0;
  color: #9eb0ba;
}

.price-schedule {
  display: grid;
  grid-template-columns: repeat(5, minmax(105px, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.price-schedule span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(255, 191, 112, 0.18);
  border-radius: 10px;
  color: #ffe0ba;
  background: rgba(255, 166, 77, 0.045);
}

.price-schedule b {
  color: #bca27f;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.checkout-status {
  margin: 0 0 22px;
  padding: 18px 22px;
  border: 1px solid rgba(91, 173, 218, 0.3);
  border-radius: 15px;
  color: #dcecf3;
  background: rgba(91, 173, 218, 0.09);
}

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

.checkout-status p {
  margin: 4px 0 0;
  color: #a8bbc5;
}

.checkout-status-error {
  border-color: rgba(255, 153, 128, 0.38);
  background: rgba(180, 55, 42, 0.12);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}

.pricing-step {
  margin-top: 24px;
}

.tier-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #0a1b2d;
}

.tier-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 155px;
  align-items: center;
  gap: 22px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  color: #a8bbc6;
  transition: background 160ms ease, color 160ms ease;
}

.tier-row:last-child {
  border-bottom: 0;
}

.tier-row strong {
  color: #dce8ee;
}

.tier-row small {
  color: #708894;
}

.tier-row.is-active {
  color: var(--white);
  background: rgba(91, 173, 218, 0.09);
  box-shadow: inset 3px 0 var(--mint);
}

.tier-row.is-active strong,
.tier-row.is-active small {
  color: var(--mint);
}

.tier-contact {
  margin: 0;
  padding: 17px 28px;
  color: #8ba1ad;
  background: rgba(0, 0, 0, 0.12);
}

.tier-contact a {
  color: var(--mint);
  font-weight: 800;
}

.price-calculator {
  padding: 32px;
  border: 1px solid rgba(91, 173, 218, 0.26);
  border-radius: 26px;
  background: linear-gradient(150deg, #112941, #0a1d30);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
}

.calculator-label {
  color: var(--mint);
  font-weight: 850;
  letter-spacing: 0.11em;
}

.price-calculator h3 {
  margin: 12px 0 25px;
  letter-spacing: -0.035em;
}

.site-count-label {
  display: block;
  margin-bottom: 8px;
  color: #a8bbc5;
  font-weight: 700;
}

.site-count-control {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(4, 14, 24, 0.46);
}

.site-count-control button,
.site-count-control input {
  height: 54px;
  border: 0;
  color: var(--white);
  background: transparent;
}

.site-count-control button {
  font-size: 1.4rem;
}

.site-count-control button:hover {
  color: var(--ink);
  background: var(--mint);
}

.site-count-control input {
  width: 100%;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  outline: 0;
  text-align: center;
  font-size: var(--fs-xl);
  font-weight: 800;
  appearance: textfield;
}

.site-count-control input::-webkit-inner-spin-button,
.site-count-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.site-count-control.site-count-synced {
  grid-template-columns: 1fr;
}

.site-count-synced output {
  min-height: 72px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: var(--fs-3xl);
  font-weight: 850;
  line-height: 1;
}

.license-step-note {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 14, 24, 0.28);
}

.license-step-note strong {
  color: #dce8ee;
}

.license-step-note p {
  margin: 6px 0 0;
  color: #8fa5b1;
}

.service-selection {
  margin-top: 24px;
  scroll-margin-top: 96px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #0a1b2d;
}

.service-selection-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 26px;
}

.service-selection-heading h3 {
  margin-top: 10px;
  letter-spacing: -0.045em;
}

.blocking-explanation {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 191, 112, 0.24);
  border-radius: 14px;
  background: rgba(255, 166, 77, 0.06);
}

.blocking-explanation .icon {
  width: 24px;
  height: 24px;
  color: #ffd09a;
}

.blocking-explanation p {
  margin: 0;
  color: #b8a88f;
  line-height: 1.55;
}

.blocking-explanation strong {
  color: #ffe0ba;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 0;
  padding: 0;
  border: 0;
}

.support-options legend {
  padding: 0;
}

.support-plan-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #dce8ee;
  background: rgba(4, 14, 24, 0.38);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.support-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 173, 218, 0.4);
}

.support-plan-card:focus-within {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.support-plan-card:has(input:checked) {
  border-color: var(--mint);
  background: rgba(91, 173, 218, 0.09);
  box-shadow: inset 0 0 0 1px rgba(91, 173, 218, 0.18);
}

.support-plan-featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -10px;
  right: 18px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--mint);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.support-plan-card > input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--mint);
}

.support-plan-content {
  min-width: 0;
}

.support-plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.support-plan-heading > span {
  display: grid;
  gap: 5px;
}

.support-plan-heading small {
  color: #78909d;
  letter-spacing: 0.08em;
}

.support-plan-heading strong {
  line-height: 1.08;
}

.support-plan-heading > b {
  display: grid;
  color: var(--mint);
  font-size: var(--fs-base);
  text-align: right;
  white-space: nowrap;
}

.support-plan-heading > b small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}

.support-plan-description {
  display: block;
  min-height: 66px;
  margin: 20px 0 16px;
  color: #9eb1bb;
  line-height: 1.5;
}

.support-plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  color: #bdcbd2;
  list-style: none;
}

.support-plan-card li {
  position: relative;
  padding-left: 18px;
}

.support-plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 900;
}

.license-details {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin-top: 24px;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0a1b2d;
}

.license-details-heading h3 {
  margin: 10px 0 12px;
  letter-spacing: -0.035em;
}

.license-details-heading p {
  margin: 0;
  color: #8fa5b1;
  line-height: 1.55;
}

.license-details-fields {
  display: grid;
  gap: 18px;
}

.license-details-fields label,
.license-details-fields label > span {
  display: grid;
  gap: 8px;
}

.license-details-fields label > span {
  color: #dce8ee;
  font-weight: 800;
}

.license-details-fields input,
.license-details-fields textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  color: var(--white);
  background: rgba(4, 14, 24, 0.46);
  font: inherit;
}

.license-details-fields input {
  height: 52px;
  padding: 0 15px;
}

.license-details-fields textarea {
  min-height: 108px;
  padding: 14px 15px;
  resize: vertical;
}

.license-details-fields input:focus,
.license-details-fields textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(91, 173, 218, 0.13);
}

.license-details-fields small {
  color: #78909d;
  line-height: 1.5;
}

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

.domain-entry-field > label {
  color: #dce8ee;
  font-weight: 800;
}

.domain-add-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.domain-add-control .button {
  min-height: 52px;
  border-color: rgba(91, 173, 218, 0.32);
  border-radius: 12px;
}

.domain-entry-error {
  margin: 2px 0 0;
  color: #ffc0bd;
  line-height: 1.45;
}

.domain-entry-error[hidden] {
  display: none;
}

.domain-list-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 14, 24, 0.3);
}

.domain-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: #dce8ee;
}

.domain-list-heading span {
  color: var(--mint);
  font-weight: 800;
}

.domain-list {
  display: grid;
  max-height: 310px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.domain-list li {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 15px;
  border-bottom: 1px solid var(--line);
  color: #c5d5dd;
}

.domain-list li:last-child {
  border-bottom: 0;
}

.domain-list .domain-list-empty {
  justify-content: flex-start;
  color: #78909d;
}

.domain-remove {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #8ea3ae;
  background: transparent;
}

.domain-remove:hover,
.domain-remove:focus-visible {
  color: #ffc0bd;
  border-color: rgba(255, 107, 103, 0.28);
  background: rgba(255, 107, 103, 0.08);
}

.domain-remove .icon {
  width: 18px;
  height: 18px;
}

.checkout-summary {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.9fr;
  gap: 34px;
  align-items: center;
  margin-top: 24px;
  padding: 28px 32px;
  border: 1px solid rgba(91, 173, 218, 0.3);
  border-radius: 22px;
  background: linear-gradient(150deg, #112941, #0a1d30);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.2);
}

.checkout-summary-heading h3 {
  margin-top: 9px;
}

.calculation {
  display: grid;
  gap: 13px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calculation > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.calculation span {
  color: #8fa5b1;
}

.calculation-total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.calculation-total strong {
  color: var(--mint);
  letter-spacing: -0.05em;
}

.checkout-summary .calculation {
  margin: 0;
}

.checkout-submit .button {
  width: 100%;
}

.checkout-submit .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.purchase-errors {
  margin: 12px 0 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 107, 103, 0.3);
  border-radius: 10px;
  color: #ffc0bd;
  background: rgba(255, 107, 103, 0.08);
  line-height: 1.45;
}

.purchase-errors[hidden] {
  display: none;
}

.calculator-note {
  margin: 13px 0 0;
  color: #738c98;
  text-align: center;
}

.license-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.license-heading {
  padding-right: 32px;
}

.license-heading h2 {
  margin-bottom: 22px;
}

.license-card {
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
}

.license-card > span {
  color: #6c7d87;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.license-card h3 {
  margin: 40px 0 20px;
  letter-spacing: -0.035em;
}

.license-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 25px;
  padding: 0;
  color: var(--text-dark-soft);
  list-style: none;
}

.license-card li {
  position: relative;
  padding-left: 20px;
}

.license-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1472a5;
  font-weight: 900;
}

.license-card .inline-link {
  margin-top: auto;
}

.pro-license {
  color: var(--text);
  border-color: rgba(91, 173, 218, 0.24);
  background: var(--ink-soft);
  box-shadow: 0 26px 65px rgba(11, 27, 48, 0.18);
}

.pro-license > span,
.pro-license .inline-link {
  color: var(--mint);
}

.pro-license ul {
  color: var(--text-soft);
}

.pro-license li::before {
  color: var(--mint);
}

.faq-section {
  background: #071322;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
  align-items: start;
}

.faq-layout .section-header {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
  margin: 0;
}

.upgrade-faq-list {
  border-top: 1px solid var(--line);
}

.upgrade-faq-list details {
  border-bottom: 1px solid var(--line);
}

.upgrade-faq-list summary {
  position: relative;
  padding: 25px 52px 25px 0;
  color: #e2ebef;
  font-weight: 750;
  list-style: none;
}

.upgrade-faq-list summary::-webkit-details-marker {
  display: none;
}

.upgrade-faq-list summary::before,
.upgrade-faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 15px;
  height: 1px;
  background: var(--mint);
  transition: transform 160ms ease;
}

.upgrade-faq-list summary::after {
  transform: rotate(90deg);
}

.upgrade-faq-list details[open] summary::after {
  transform: none;
}

.upgrade-faq-list details > div {
  max-width: 720px;
  padding: 0 50px 25px 0;
  color: var(--text-soft);
}

.upgrade-faq-list p {
  margin: 0;
}

.upgrade-cta {
  padding: 28px 0 110px;
  background: #071322;
}

.upgrade-cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 18%, rgba(91, 173, 218, 0.17), transparent 26%),
    linear-gradient(145deg, #102840, #091929);
}

.upgrade-cta-panel::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(91, 173, 218, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(91, 173, 218, 0.02), 0 0 0 110px rgba(91, 173, 218, 0.012);
}

.upgrade-cta-panel > * {
  position: relative;
  z-index: 1;
}

.upgrade-cta-panel h2 {
  max-width: 720px;
  margin-bottom: 18px;
  letter-spacing: -0.055em;
  line-height: 1;
}

.upgrade-cta-panel p {
  max-width: 670px;
  margin: 0;
  color: var(--text-soft);
}

.cta-buttons {
  display: grid;
  gap: 12px;
  min-width: 230px;
}

.upgrade-page .mobile-cta {
  display: none !important;
}

@media (max-width: 1050px) {
  .upgrade-hero-grid,
  .rasp-layout,
  .hunter-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .upgrade-hero-copy {
    max-width: 820px;
  }

  .hero-price-card {
    max-width: 620px;
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-card-featured {
    grid-column: 1 / -1;
    min-height: 390px;
  }

  .rasp-intro,
  .faq-layout .section-header {
    position: static;
  }

  .pricing-layout,
  .license-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-calculator {
    align-self: start;
  }

  .support-options {
    grid-template-columns: 1fr;
  }

  .support-plan-description {
    min-height: 0;
  }

  .checkout-summary {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-submit {
    grid-column: 1 / -1;
  }

  .license-heading {
    grid-column: 1 / -1;
    max-width: 760px;
    padding: 0 0 24px;
  }

  .upgrade-cta-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .price-schedule {
    grid-template-columns: repeat(3, minmax(105px, 1fr));
  }
}

@media (max-width: 820px) {
  .upgrade-hero {
    padding: 130px 0 78px;
  }

  .license-notice-inner {
    grid-template-columns: auto 1fr;
    padding-block: 22px;
  }

  .license-notice a {
    grid-column: 2;
    justify-self: start;
  }

  .pricing-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .price-calculator {
    grid-row: 1;
  }

  .service-selection-heading,
  .license-details,
  .checkout-summary {
    grid-template-columns: 1fr;
  }

  .checkout-submit {
    grid-column: auto;
  }

  .upgrade-cta-panel {
    padding: 46px;
  }
}

@media (max-width: 640px) {
  .monthly-increase-notice {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .price-schedule {
    grid-template-columns: repeat(2, minmax(105px, 1fr));
  }

  .increase-date {
    justify-self: start;
  }

  .upgrade-hero-copy .button,
  .upgrade-actions {
    width: 100%;
  }

  .upgrade-actions {
    display: grid;
  }

  .hero-checks {
    display: grid;
  }

  .hero-price-card,
  .price-calculator {
    padding: 24px;
    border-radius: 22px;
  }

  .value-grid,
  .license-grid {
    grid-template-columns: 1fr;
  }

  .value-card-featured,
  .license-heading {
    grid-column: auto;
  }

  .value-card {
    min-height: 390px;
    padding: 25px;
  }

  .value-icon {
    margin-top: 38px;
  }

  .rasp-control {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .control-index {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .tier-row {
    grid-template-columns: 1fr auto;
    gap: 5px 14px;
    padding: 18px 20px;
  }

  .tier-row small {
    grid-column: 1 / -1;
  }

  .service-selection,
  .license-details {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .service-selection-heading {
    gap: 22px;
  }

  .domain-add-control {
    grid-template-columns: 1fr;
  }

  .domain-add-control .button {
    width: 100%;
  }

  .support-plan-card {
    padding: 21px 17px;
  }

  .support-plan-heading {
    display: grid;
  }

  .support-plan-heading > b {
    text-align: left;
  }

  .checkout-summary {
    padding: 25px 22px;
  }

  .license-card {
    min-height: 330px;
    padding: 25px;
  }

  .upgrade-cta {
    padding-bottom: 88px;
  }

  .upgrade-cta-panel {
    padding: 38px 24px;
    border-radius: 24px;
  }

  .cta-buttons {
    display: grid;
  }

  .cta-buttons .button {
    width: 100%;
  }
}
