/* Premium authorization storefront */

body.storefront {
  --sf-bg: #080b10;
  --sf-bg-deep: #05070a;
  --sf-panel: #0c1118;
  --sf-panel-raised: #111821;
  --sf-panel-soft: #141d28;
  --sf-line: rgba(166, 187, 210, 0.13);
  --sf-line-strong: rgba(166, 187, 210, 0.25);
  --sf-text: #f5f8fb;
  --sf-muted: #93a0af;
  --sf-muted-strong: #bdc7d2;
  --sf-accent: #78e9ba;
  --sf-accent-soft: rgba(120, 233, 186, 0.09);
  --sf-cyan: #83b8ff;
  --sf-warning: #f2bf7d;
  --sf-danger: #ff9c9f;
  font-family: "Bahnschrift", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at 12% -12%, rgba(52, 190, 146, 0.13), transparent 32rem),
    radial-gradient(circle at 92% 6%, rgba(76, 118, 184, 0.12), transparent 30rem),
    linear-gradient(145deg, #0a1017 0%, var(--sf-bg) 48%, #05080d 100%);
}

body.storefront::before {
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(148, 178, 207, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 207, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

body.storefront::after {
  opacity: 0.18;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.016) 4px
  );
}

.ambient-orbit-a {
  top: -470px;
  left: -310px;
  width: 920px;
  height: 920px;
  border-color: rgba(120, 233, 186, 0.07);
}

.ambient-orbit-b {
  right: -430px;
  bottom: -540px;
  width: 980px;
  height: 980px;
  border-color: rgba(131, 184, 255, 0.065);
}

.ambient-orbit::before,
.ambient-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(120, 233, 186, 0.05);
  border-radius: inherit;
}

.ambient-orbit::before {
  inset: 120px;
}

.ambient-orbit::after {
  inset: 260px;
}

.ambient-scan {
  opacity: 0.22;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(120, 233, 186, 0.025),
    transparent
  );
}

.site-header,
.page-shell {
  width: min(1340px, calc(100% - 56px));
}

.site-header {
  padding: 23px 0 19px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  color: #d8fff0;
  border-color: rgba(120, 233, 186, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(120, 233, 186, 0.15), rgba(120, 233, 186, 0.018)),
    #0b151b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.24);
}

.brand-text strong {
  color: #f5f9fb;
  font-size: 15px;
  letter-spacing: 0.015em;
}

.brand-text span {
  color: #748394;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.service-badge,
.header-link {
  color: #acb8c5;
  border-color: var(--sf-line);
  background: rgba(13, 20, 29, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-badge {
  font-size: 9px;
}

.service-dot {
  background: var(--sf-accent);
  box-shadow: 0 0 0 4px rgba(120, 233, 186, 0.07);
}

.page-shell {
  padding-top: 7px;
  padding-bottom: 38px;
}

.console-shell {
  overflow: hidden;
  border-color: var(--sf-line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.027), transparent 36%),
    rgba(10, 15, 22, 0.9);
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(24px);
}

.console-shell::before,
.console-shell::after {
  width: 46px;
  height: 46px;
  opacity: 0.72;
}

.console-shell::before {
  border-top-color: var(--sf-accent);
  border-left-color: var(--sf-accent);
  border-top-left-radius: 28px;
}

.console-shell::after {
  border-right-color: rgba(131, 184, 255, 0.55);
  border-bottom-color: rgba(131, 184, 255, 0.55);
  border-bottom-right-radius: 28px;
}

.console-topbar {
  min-height: 43px;
  padding: 0 21px;
  color: #69798a;
  border-bottom-color: rgba(166, 187, 210, 0.1);
  background:
    linear-gradient(90deg, rgba(120, 233, 186, 0.025), transparent 32%),
    rgba(9, 14, 21, 0.86);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.console-title {
  color: #91a0b0;
}

.console-telemetry span {
  border-left-color: rgba(166, 187, 210, 0.1);
}

.console-telemetry span:nth-child(1)::before,
.console-telemetry span:nth-child(2)::before {
  background: var(--sf-accent);
  box-shadow: 0 0 7px rgba(120, 233, 186, 0.7);
}

.purchase-layout {
  grid-template-columns: minmax(380px, 0.82fr) minmax(580px, 1.18fr);
  min-height: 750px;
}

.purchase-intro {
  padding: 39px 39px 34px;
  border-right-color: rgba(166, 187, 210, 0.1);
  background:
    radial-gradient(circle at 12% 15%, rgba(120, 233, 186, 0.075), transparent 24rem),
    radial-gradient(circle at 90% 72%, rgba(131, 184, 255, 0.04), transparent 20rem),
    linear-gradient(160deg, rgba(255, 255, 255, 0.02), transparent 42%);
}

.purchase-intro::before {
  top: 180px;
  right: -205px;
  width: 440px;
  height: 440px;
  border-color: rgba(120, 233, 186, 0.07);
  box-shadow:
    0 0 0 54px rgba(120, 233, 186, 0.018),
    0 0 0 108px rgba(131, 184, 255, 0.012);
}

.purchase-intro::after {
  right: 37px;
  bottom: 30px;
  opacity: 0.34;
  background:
    linear-gradient(90deg, transparent 49%, rgba(120, 233, 186, 0.13) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(120, 233, 186, 0.13) 50%, transparent 51%);
  background-size: 19px 19px;
}

.product-lockup {
  padding-bottom: 23px;
  border-bottom-color: var(--sf-line);
}

.product-icon {
  width: 51px;
  height: 51px;
  color: var(--sf-accent);
  border-color: rgba(120, 233, 186, 0.23);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(120, 233, 186, 0.15), rgba(120, 233, 186, 0.018)),
    #0c181c;
}

.product-icon::after {
  width: 5px;
  height: 5px;
  background: var(--sf-accent);
  box-shadow: 0 0 9px rgba(120, 233, 186, 0.65);
}

.product-lockup span {
  color: #718293;
  font-size: 9px;
}

.product-lockup strong {
  color: #edf4f8;
  font-size: 15px;
}

.product-version {
  color: #93a7b7 !important;
  border-color: var(--sf-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.system-readout {
  gap: 8px;
  margin-top: 18px;
  border: 0;
  background: transparent;
}

.system-readout > div {
  padding: 10px 11px;
  border: 1px solid var(--sf-line);
  border-radius: 9px;
  background: rgba(15, 23, 32, 0.62);
}

.system-readout > div + div {
  border-left: 1px solid var(--sf-line);
}

.system-readout span {
  color: #6e7f91;
  font-size: 7px;
}

.system-readout strong {
  color: #b4c2cf;
  font-family: "Bahnschrift", "Microsoft YaHei UI", sans-serif;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.system-readout > div:first-child strong::before {
  width: 5px;
  height: 5px;
  background: var(--sf-accent);
  box-shadow: 0 0 6px rgba(120, 233, 186, 0.6);
}

.intro-heading {
  margin-top: 42px;
}

.eyebrow {
  color: var(--sf-accent);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.hero-title {
  max-width: 500px;
  color: #f7fafc;
  font-size: clamp(44px, 4.15vw, 61px);
  line-height: 1.055;
  letter-spacing: -0.06em;
  font-weight: 740;
  text-wrap: balance;
}

.hero-title span {
  color: var(--sf-accent);
  text-shadow: 0 0 52px rgba(120, 233, 186, 0.09);
}

.hero-copy {
  max-width: 455px;
  margin-top: 21px;
  color: #98a7b6;
  font-size: 13.5px;
  line-height: 1.9;
}

.edition-compare {
  gap: 9px;
  margin-top: 31px;
}

.edition-compare > div {
  padding: 13px 14px;
  border-color: var(--sf-line);
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.025), transparent),
    rgba(13, 20, 29, 0.62);
}

.edition-compare .compare-pro {
  border-color: rgba(120, 233, 186, 0.18);
  background:
    linear-gradient(90deg, rgba(120, 233, 186, 0.065), transparent 58%),
    rgba(13, 23, 29, 0.72);
}

.compare-label {
  min-width: 50px;
  color: var(--sf-accent);
  border-color: rgba(120, 233, 186, 0.18);
  border-radius: 5px;
  background: rgba(120, 233, 186, 0.035);
}

.edition-compare strong {
  color: #dce5ec;
}

.edition-compare p {
  color: #7f91a2;
}

.benefit-list {
  margin-top: 25px;
}

.benefit-item {
  color: #b4c2ce;
}

.benefit-item strong {
  color: #d1dce5;
}

.benefit-item small {
  color: #7f91a2;
}

.benefit-icon {
  color: var(--sf-accent);
  border-color: rgba(120, 233, 186, 0.14);
  background: rgba(120, 233, 186, 0.055);
}

.purchase-card {
  padding: 40px 43px 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(131, 184, 255, 0.045), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 30%),
    rgba(12, 17, 24, 0.78);
}

.purchase-card::before {
  width: 260px;
  height: 260px;
  opacity: 0.6;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(131, 184, 255, 0.055) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(131, 184, 255, 0.055) 50%, transparent 50.5%);
  background-size: 30px 30px;
}

.card-kicker {
  color: #6d7e90;
  font-size: 8px;
}

.card-title {
  color: #f5f8fb;
  font-size: 33px;
  font-weight: 710;
}

.card-copy {
  color: #8d9dad;
  font-size: 12px;
}

.secure-label,
.merchant-badge,
.status-tag {
  min-height: 30px;
  border-radius: 7px;
  font-size: 8px;
}

.secure-label,
.merchant-badge {
  color: #a7f1d4;
  border-color: rgba(120, 233, 186, 0.16);
  background: rgba(120, 233, 186, 0.055);
}

.edition-tabs {
  gap: 4px;
  margin-top: 27px;
  padding: 5px;
  border-color: var(--sf-line);
  border-radius: 13px;
  background: rgba(7, 11, 16, 0.7);
}

.edition-tab {
  min-height: 65px;
  padding: 11px 15px;
  color: #7b8b9c;
  border-radius: 9px;
}

.edition-tab:hover {
  color: #cbd5df;
  background: rgba(255, 255, 255, 0.025);
}

.edition-tab[aria-selected="true"] {
  color: #edf4f7;
  border-color: rgba(120, 233, 186, 0.16);
  background:
    linear-gradient(110deg, rgba(120, 233, 186, 0.1), rgba(131, 184, 255, 0.025)),
    #111b24;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 8px 22px rgba(0, 0, 0, 0.12);
}

.edition-tab[aria-selected="true"]::before {
  height: 26px;
  background: linear-gradient(to bottom, transparent, var(--sf-accent), transparent);
  box-shadow: 0 0 12px rgba(120, 233, 186, 0.55);
}

.edition-tab-copy strong {
  font-size: 14px;
}

.edition-tab-copy small,
.edition-tab-note {
  color: #8b9baa;
}

.edition-tab-badge {
  color: #9defcd;
  border-color: rgba(120, 233, 186, 0.13);
  border-radius: 5px;
  background: rgba(120, 233, 186, 0.05);
}

.edition-description {
  color: #8494a5;
}

.plan-list {
  gap: 11px;
  margin-top: 17px;
}

.plan-option {
  min-height: 181px;
  padding: 18px;
  border-color: var(--sf-line);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 55%),
    rgba(16, 24, 34, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.plan-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 45px;
  height: 1px;
  opacity: 0.5;
  background: linear-gradient(90deg, var(--sf-accent), transparent);
}

.plan-option::after {
  width: 28px;
  height: 28px;
  border-color: rgba(120, 233, 186, 0.14);
}

.plan-option:hover {
  border-color: rgba(166, 187, 210, 0.22);
  background:
    linear-gradient(145deg, rgba(120, 233, 186, 0.042), transparent 55%),
    rgba(18, 28, 39, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 15px 35px rgba(0, 0, 0, 0.12);
}

.plan-option[aria-pressed="true"] {
  border-color: rgba(120, 233, 186, 0.42);
  background:
    linear-gradient(145deg, rgba(120, 233, 186, 0.1), rgba(131, 184, 255, 0.025) 65%),
    #111d24;
  box-shadow:
    inset 0 0 0 1px rgba(120, 233, 186, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.12);
}

.plan-option[aria-pressed="true"]::after {
  opacity: 1;
}

.plan-duration {
  color: #8193a4;
}

.plan-badge {
  color: #9defcd;
  border-color: rgba(120, 233, 186, 0.15);
  background: rgba(120, 233, 186, 0.05);
}

.plan-radio {
  top: 18px;
  right: 18px;
  border-color: #536475;
}

.plan-name {
  margin-top: 28px;
  color: #e0e8ef;
  font-size: 17px;
}

.plan-meta {
  color: #7d8fa0;
}

.plan-price {
  padding-top: 22px;
  color: #f3f7fa;
  font-size: 26px;
}

.plan-price small {
  color: #687a8b;
}

.purchase-action {
  margin-top: 16px;
  padding-top: 20px;
  border-top-color: var(--sf-line);
}

.selected-plan span {
  color: #6e8092;
}

.selected-plan strong {
  color: #c7d5e1;
}

.primary-button,
.secondary-button,
.quiet-button,
.danger-button {
  border-radius: 10px;
  font-size: 12px;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.primary-button {
  color: #06140f;
  border-color: rgba(198, 255, 231, 0.48);
  background: linear-gradient(120deg, #78e9ba, #64d7b1 55%, #85c8f4 135%);
  box-shadow:
    0 15px 34px rgba(38, 179, 132, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.primary-button:hover {
  color: #03110b;
  border-color: rgba(219, 255, 241, 0.62);
  background: linear-gradient(120deg, #8df3c7, #73e1bd 55%, #96d1f8 135%);
  box-shadow:
    0 18px 42px rgba(38, 179, 132, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.primary-button:active,
.secondary-button:active,
.quiet-button:active,
.danger-button:active {
  transform: none;
}

.secondary-button {
  color: #b5c3d0;
  border-color: var(--sf-line-strong);
  background: rgba(19, 29, 40, 0.74);
}

.secondary-button:hover {
  color: #f0f5f8;
  border-color: rgba(120, 233, 186, 0.3);
  background: rgba(23, 35, 47, 0.9);
}

.quiet-button {
  color: #8495a6;
  border-color: var(--sf-line);
  background: rgba(255, 255, 255, 0.014);
}

.quiet-button:hover {
  color: #d7e1e9;
  border-color: var(--sf-line-strong);
  background: rgba(255, 255, 255, 0.028);
}

.purchase-action .primary-button {
  min-width: 198px;
}

.renew-toggle {
  color: #83bca8;
}

.renew-toggle:hover {
  color: var(--sf-accent);
  background: rgba(120, 233, 186, 0.035);
}

.fine-print {
  color: #6e8092;
}

.checkout-grid {
  gap: 16px;
}

.order-summary,
.payment-guide,
.payment-panel {
  border-color: var(--sf-line);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.022), transparent 55%),
    rgba(12, 20, 28, 0.72);
}

.payment-guide {
  background: rgba(15, 24, 33, 0.66);
}

.payment-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(131, 184, 255, 0.04), transparent 18rem),
    rgba(12, 20, 28, 0.76);
}

.summary-row strong {
  color: #bac8d4;
}

.summary-total strong {
  color: var(--sf-accent);
}

.payment-channel-option,
.payment-qr-card {
  border-color: var(--sf-line);
  border-radius: 10px;
  background: rgba(13, 22, 31, 0.72);
}

.payment-channel-option[aria-pressed="true"] {
  border-color: rgba(120, 233, 186, 0.25);
  background: rgba(120, 233, 186, 0.055);
}

.payment-channel-option-copy strong {
  color: #d8e3eb;
}

.payment-qr-frame {
  border-radius: 8px;
}

.success-icon {
  border-radius: 14px;
  background: linear-gradient(145deg, #8bf0c5, #68dcb7 55%, #8bcff7);
}

.license-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-color: rgba(120, 233, 186, 0.2);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(131, 184, 255, 0.065), transparent 18rem),
    linear-gradient(135deg, rgba(120, 233, 186, 0.08), transparent 50%),
    rgba(10, 18, 24, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.license-panel::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(120, 233, 186, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(120, 233, 186, 0.015),
    0 0 0 60px rgba(131, 184, 255, 0.012);
  pointer-events: none;
}

.license-key {
  color: #c7ffe9;
  text-shadow: 0 0 26px rgba(120, 233, 186, 0.12);
}

.text-input {
  min-height: 46px;
  border-color: var(--sf-line-strong);
  border-radius: 9px;
  background: rgba(7, 12, 18, 0.72);
}

.text-input:focus {
  border-color: rgba(120, 233, 186, 0.48);
  outline: 3px solid rgba(120, 233, 186, 0.07);
}

.feature-band {
  gap: 1px;
  margin-top: 15px;
  border-color: var(--sf-line);
  border-radius: 18px;
  background: var(--sf-line);
  box-shadow:
    0 25px 65px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.feature-band > div {
  position: relative;
  min-height: 138px;
  padding: 23px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.02), transparent 60%),
    rgba(10, 16, 23, 0.92);
}

.feature-band > div::after {
  content: attr(data-index);
  position: absolute;
  right: 18px;
  bottom: 11px;
  color: rgba(143, 167, 190, 0.075);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 38px;
  font-weight: 700;
}

.feature-icon {
  color: var(--sf-accent);
  border-color: rgba(120, 233, 186, 0.14);
  border-radius: 9px;
  background: rgba(120, 233, 186, 0.05);
}

.feature-band h3 {
  color: #cbd6df;
  font-size: 10px;
}

.feature-band p {
  color: #718294;
  font-size: 9px;
}

.system-footer {
  padding-top: 18px;
  color: #546576;
  font-size: 7px;
}

.toast {
  color: #e6f8f1;
  border-color: rgba(120, 233, 186, 0.2);
  border-radius: 10px;
  background: rgba(13, 29, 27, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

@media (max-width: 1080px) {
  .purchase-layout {
    grid-template-columns: minmax(340px, 0.82fr) minmax(520px, 1.18fr);
  }

  .purchase-intro {
    padding-inline: 31px;
  }

  .purchase-card {
    padding-inline: 32px;
  }
}

@media (max-width: 900px) {
  .purchase-layout {
    grid-template-columns: 1fr;
  }

  .purchase-intro {
    border-right: 0;
    border-bottom: 1px solid var(--sf-line);
  }

  .purchase-card {
    padding: 34px;
  }

  .feature-band {
    grid-template-columns: 1fr 1fr;
  }

  .feature-band > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--sf-line);
  }

  .feature-band > div:nth-child(4) {
    border-top: 1px solid var(--sf-line);
  }
}

@media (max-width: 620px) {
  .site-header,
  .page-shell {
    width: min(100% - 24px, 1340px);
  }

  .service-badge {
    display: none;
  }

  .console-topbar {
    min-height: 39px;
    padding-inline: 14px;
  }

  .console-title {
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .console-telemetry span:not(:last-child) {
    display: none;
  }

  .purchase-intro {
    padding: 26px 22px 30px;
  }

  .purchase-card {
    padding: 27px 21px;
  }

  .hero-title {
    font-size: clamp(39px, 13vw, 54px);
  }

  .hero-copy {
    font-size: 12px;
  }

  .system-readout {
    gap: 6px;
  }

  .system-readout > div {
    padding: 9px;
  }

  .system-readout span {
    font-size: 6px;
  }

  .system-readout strong {
    font-size: 9px;
  }

  .edition-tabs {
    grid-template-columns: 1fr;
  }

  .edition-tab {
    min-height: 58px;
  }

  .plan-list {
    grid-template-columns: 1fr;
  }

  .plan-option {
    min-height: 158px;
  }

  .purchase-action {
    grid-template-columns: 1fr;
  }

  .purchase-action .primary-button {
    width: 100%;
  }

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

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-band > div + div {
    border-top: 1px solid var(--sf-line);
    border-left: 0;
  }

  .system-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront *,
  .storefront *::before,
  .storefront *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Official support channels */

.support-center[hidden],
.support-card[hidden],
.header-link[hidden] {
  display: none;
}

/* Header primary actions */

.header-link.header-link--primary {
  color: #fff;
  border-color: #d54a50;
  background: #b9272d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 28px rgba(127, 18, 24, 0.32);
  font-weight: 720;
  letter-spacing: 0.05em;
}

.header-link.header-link--primary svg {
  color: #fff;
}

.header-link.header-link--primary:hover {
  color: #fff;
  border-color: #ef777c;
  background: #d33a41;
  transform: translateY(-1px);
}

.header-link.header-link--primary:active {
  transform: translateY(0) scale(0.98);
}

.support-center {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(25px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--sf-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 110%, rgba(120, 233, 186, 0.1), transparent 21rem),
    linear-gradient(140deg, rgba(16, 35, 31, 0.72), rgba(9, 18, 20, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 26px 70px rgba(0, 0, 0, 0.16);
}

.support-center::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -100px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(120, 233, 186, 0.08);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 68px rgba(120, 233, 186, 0.018),
    inset 0 0 0 136px rgba(120, 233, 186, 0.012);
  pointer-events: none;
}

.support-center > * {
  position: relative;
  z-index: 1;
}

.support-center-head {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.support-kicker,
.support-index {
  color: var(--sf-accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.support-center-head h2 {
  margin: 0;
  color: var(--sf-text);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
}

.support-center-head p {
  max-width: 360px;
  margin: 0;
  color: var(--sf-muted);
  font-size: 11px;
  line-height: 1.8;
}

.support-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  padding: 8px 10px;
  color: #9cb3aa;
  border: 1px solid rgba(120, 233, 186, 0.13);
  border-radius: 8px;
  background: rgba(120, 233, 186, 0.045);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.support-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sf-accent);
  box-shadow: 0 0 0 4px rgba(120, 233, 186, 0.08);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  min-width: 0;
}

.support-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--sf-line);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 55%),
    rgba(7, 17, 17, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.support-card--qr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  align-items: center;
}

.support-card-copy {
  min-width: 0;
}

.support-card h3 {
  margin: 11px 0 7px;
  color: var(--sf-text);
  font-size: 18px;
}

.support-card p {
  margin: 0;
  color: #6f817c;
  font-size: 10px;
  line-height: 1.7;
}

.support-value {
  margin-top: 18px;
  color: #dff8ef;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 23px;
  letter-spacing: 0.04em;
}

.support-copy-button {
  width: fit-content;
  min-height: 36px;
  padding-inline: 12px;
  font-size: 10px;
}

.support-qr {
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.support-qr img {
  width: 156px;
  height: 156px;
  display: block;
  object-fit: contain;
  border: 8px solid #f5faf7;
  border-radius: 12px;
  background: #f5faf7;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.support-qr figcaption {
  color: #71837e;
  font-size: 8px;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .support-center {
    grid-template-columns: 1fr;
  }

  .support-center-head p {
    max-width: 560px;
  }
}

@media (max-width: 620px) {
  .support-center {
    padding: 24px 18px;
    border-radius: 18px;
  }

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

  .support-card--qr {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 14px;
    padding: 18px;
  }

  .support-qr img {
    width: 118px;
    height: 118px;
    border-width: 6px;
  }
}

/* Standalone support console inside the purchase introduction */

.plans-intro {
  justify-content: stretch;
}

.plans-info-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 640px;
  padding-block: 4px;
}

.plans-info-panel[hidden] {
  display: none;
}

.plans-intro .support-center {
  flex: 1;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  align-content: center;
  min-height: 640px;
  margin-top: 0;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(120, 233, 186, 0.045), transparent 24%),
    radial-gradient(circle at 6% 105%, rgba(120, 233, 186, 0.11), transparent 20rem),
    linear-gradient(145deg, rgba(15, 31, 30, 0.88), rgba(8, 16, 19, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.15);
}

.plans-intro .support-center::after {
  top: -150px;
  right: -120px;
  width: 330px;
  height: 330px;
  border-color: rgba(120, 233, 186, 0.1);
  box-shadow:
    inset 0 0 0 58px rgba(120, 233, 186, 0.018),
    inset 0 0 0 116px rgba(120, 233, 186, 0.01);
}

.plans-intro .support-center-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(166, 187, 210, 0.1);
}

.plans-intro .support-center-head > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.plans-intro .support-kicker {
  font-size: 9px;
  letter-spacing: 0.18em;
}

.plans-intro .support-center-head h2 {
  font-size: clamp(34px, 3vw, 43px);
  letter-spacing: -0.055em;
}

.plans-intro .support-center-head p {
  max-width: 310px;
  font-size: 11px;
  line-height: 1.8;
}

.plans-intro .support-status {
  flex: 0 0 auto;
  margin: 0 0 2px;
  padding: 8px 10px;
  font-size: 8px;
}

.plans-intro .support-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.plans-intro .support-card {
  min-height: 0;
  gap: 18px;
  padding: 21px;
  border-radius: 14px;
}

.plans-intro .support-card h3 {
  margin: 9px 0 6px;
  font-size: 20px;
}

.plans-intro .support-card p {
  font-size: 10.5px;
  line-height: 1.7;
}

.plans-intro .support-value {
  margin-top: 14px;
  font-size: 29px;
  letter-spacing: 0.055em;
}

.plans-intro .support-copy-button {
  min-height: 36px;
  padding-inline: 13px;
  font-size: 10px;
}

.plans-intro .support-card--qr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 18px;
}

.plans-intro .support-card--qr .support-qr {
  justify-self: end;
}

.plans-intro .support-qr img {
  width: 126px;
  height: 126px;
  border-width: 7px;
  border-radius: 11px;
}

.plans-intro .support-qr figcaption {
  font-size: 8px;
}

@media (min-width: 901px) and (max-width: 1120px) {
  .plans-intro .support-center-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .plans-intro .support-center-head h2 {
    font-size: 32px;
    white-space: nowrap;
  }

  .plans-intro .support-status {
    margin-top: 0;
  }

  .plans-intro .support-card--qr {
    grid-template-columns: 1fr;
  }

  .plans-intro .support-card--qr .support-qr {
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .plans-info-panel {
    min-height: 0;
    padding-block: 0;
  }

  .plans-intro .support-center {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .plans-intro .support-center {
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
  }

  .plans-intro .support-center-head {
    align-items: flex-start;
    gap: 10px;
  }

  .plans-intro .support-center-head h2 {
    font-size: 31px;
  }

  .plans-intro .support-status {
    margin-top: 1px;
  }

  .plans-intro .support-card {
    padding: 18px;
  }

  .plans-intro .support-value {
    font-size: 25px;
  }

  .plans-intro .support-card--qr {
    grid-template-columns: minmax(0, 1fr) 98px;
    gap: 13px;
  }

  .plans-intro .support-qr img {
    width: 92px;
    height: 92px;
    border-width: 6px;
  }
}

.payment-redirect-card {
  overflow: hidden;
}

.payment-redirect-surface {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 11px;
  padding: 24px 18px;
  border: 1px solid rgba(92, 158, 255, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 130, 255, 0.16), transparent 58%),
    linear-gradient(145deg, rgba(20, 49, 84, 0.7), rgba(6, 19, 31, 0.88));
  text-align: center;
}

.payment-redirect-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: #1677ff;
  box-shadow: 0 12px 28px rgba(0, 76, 190, 0.3);
  font-size: 19px;
  font-weight: 800;
}

.payment-redirect-surface > strong {
  color: #e9f4ff;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.payment-redirect-surface > p {
  max-width: 330px;
  margin: 0;
  color: #86a3bf;
  font-size: 10px;
  line-height: 1.75;
}

.payment-launch-button {
  min-width: 220px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  padding: 0 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: linear-gradient(135deg, #1786ff, #0b63d8);
  box-shadow:
    0 10px 24px rgba(0, 83, 194, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.payment-launch-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.payment-launch-button:active {
  transform: scale(0.98);
}

.payment-launch-button:focus-visible {
  outline: 2px solid #9ac7ff;
  outline-offset: 3px;
}

.payment-redirect-hint {
  color: #64829e;
  font-size: 8px;
  letter-spacing: 0.03em;
}

.payment-redirect-loading {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px 0;
  color: #7e9cb8;
  font-size: 9px;
}

.payment-redirect-loading .spinner {
  width: 22px;
  height: 22px;
  border-color: rgba(95, 162, 255, 0.18);
  border-top-color: #5fa2ff;
}

@media (max-width: 620px) {
  .payment-redirect-surface {
    min-height: 200px;
    padding: 21px 14px;
  }

  .payment-launch-button {
    width: 100%;
    min-width: 0;
  }
}
