/* Copied by tools/sync-key-copy.js from flux-vpn-landing app/fx-pay.css. Do not edit here. */
/*
 * The payment pages (/free, /pro) in the look of the Flux app (owner decision
 * 2026-10-14): the app's dark teal gradient, glass panels, the turquoise-to-blue
 * call to action and the light-blue accents of flux-vpn-ios FluxDesign.swift
 * (FluxColors, FluxTheme). The logo is the app icon tile on black
 * (PROJECT-STANDARDS 1: only on black or white).
 *
 * One stylesheet for both sites: fluxvpn.pro imports it, and the payment mirror
 * appblog.ru gets a copy as public/flux.css from appblog/tools/sync-key-copy.js.
 * Everything is scoped to .fx, so the rest of the site keeps its own look.
 */
.fx {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: #07131a linear-gradient(135deg, #07131a 0%, #102a35 50%, #0a1d27 100%) fixed;
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
html:has(.fx), html:has(.fx) body { background: #07131a; }
/* Resets without weight (:where), so every class below wins over them. */
:where(.fx) *, :where(.fx) *::before, :where(.fx) *::after { box-sizing: border-box; }
.fx [hidden] { display: none !important; }
:where(.fx) :where(button, select) { font: inherit; color: inherit; }
:where(.fx) :where(button) { margin: 0; cursor: pointer; }
:where(.fx) :where(h1, h2, p, figure, ul) { margin: 0; }
:where(.fx) :where(a) { color: inherit; }

.fx-page { max-width: 36rem; margin: 0 auto; padding: 2.5rem 1rem 3rem; }
@media (min-width: 640px) { .fx-page { padding-top: 3.5rem; } }

.fx-head { text-align: center; }
.fx-logo {
  display: block; width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 16px;
  box-shadow: 0 10px 30px rgb(0 0 0 / .45), 0 0 0 1px rgb(255 255 255 / .08);
}
.fx-toolbar { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.fx-badge {
  display: inline-flex; align-items: center; border-radius: 9999px; border: 1px solid rgb(255 255 255 / .14);
  background: rgb(255 255 255 / .11); padding: .25rem .75rem; font-size: .75rem; line-height: 1rem; font-weight: 600;
}
.fx-lang {
  border-radius: .5rem; border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .08);
  padding: .25rem .5rem; font-size: .75rem; line-height: 1rem; font-weight: 600; color: #fff;
}
.fx-lang option { color: #16242b; background: #fff; }
.fx-title { margin-top: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 800; letter-spacing: -.025em; }
.fx-lead { max-width: 28rem; margin: 1rem auto 0; color: rgb(255 255 255 / .68); }

.fx-benefits {
  max-width: 28rem; margin: 1.5rem auto 0; padding: 0; list-style: none;
  font-size: .875rem; line-height: 1.25rem; color: rgb(255 255 255 / .9);
}
.fx-benefits li { display: flex; gap: .5rem; }
.fx-benefits li + li { margin-top: .5rem; }
.fx-check { font-weight: 700; color: #78fff2; }

.fx-card {
  margin-top: 1.5rem; border-radius: 1rem; border: 1px solid rgb(255 255 255 / .14);
  background: rgb(255 255 255 / .08); padding: 1.5rem;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.fx-card--top { margin-top: 2.5rem; }
.fx-card--key { margin-top: 2rem; }
.fx-card h2, .fx-card legend { font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; padding: 0; color: #fff; }
.fx-card--paid { text-align: center; }
.fx-card--paid h2 { font-size: 1.5rem; line-height: 2rem; font-weight: 800; }
:where(.fx) :where(fieldset) { margin: 0; padding: 0; border: 0; min-width: 0; }
.fx-card fieldset + fieldset { margin-top: 1.5rem; }
.fx-tiers { margin-bottom: 1.5rem; }

.fx-btn {
  display: inline-flex; width: 100%; align-items: center; justify-content: center; border: 0; border-radius: .75rem;
  background: linear-gradient(90deg, #0891b2, #1d4ed8); color: #fff; padding: .8rem 1.25rem;
  font-size: .9375rem; line-height: 1.25rem; font-weight: 700; text-decoration: none; text-align: center;
  box-shadow: 0 8px 22px rgb(8 145 178 / .35); transition: filter .15s, opacity .15s;
}
.fx-btn:hover { filter: brightness(1.08); }
.fx-btn:disabled { opacity: .5; cursor: default; filter: none; }
.fx-btn-intro { display: flex; max-width: 24rem; margin: 2rem auto 0; }
.fx-mt-4 { margin-top: 1rem; }

.fx-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.fx-choice {
  border-radius: 1rem; border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .06);
  padding: .75rem; text-align: start; color: #fff; transition: border-color .15s, background-color .15s;
}
.fx-choice:hover { border-color: rgb(155 232 255 / .55); }
.fx-choice[aria-pressed="true"] { border-color: #9be8ff; background: rgb(31 138 166 / .38); box-shadow: inset 0 0 0 1px #9be8ff; }
.fx-choice__name { display: block; font-size: .875rem; line-height: 1.25rem; font-weight: 700; }
.fx-choice__price { display: block; margin-top: .5rem; font-size: 1.125rem; line-height: 1.25; font-weight: 800; }
.fx-choice__sub { display: block; margin-top: .25rem; font-size: .75rem; line-height: 1rem; color: rgb(255 255 255 / .6); }
.fx-choice[aria-pressed="true"] .fx-choice__sub { color: rgb(255 255 255 / .82); }

.fx-methods { display: grid; gap: .75rem; margin-top: .75rem; }
@media (min-width: 640px) { .fx-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fx-method { display: flex; align-items: center; gap: .75rem; padding: 1rem; font-weight: 600; }
.fx-method__icon {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .75rem;
  background: rgb(255 255 255 / .1); font-size: 1.125rem;
}
.fx-card-method {
  display: flex; align-items: center; gap: .75rem; margin-top: .75rem; border-radius: 1rem;
  border: 1px solid #9be8ff; background: rgb(31 138 166 / .38); box-shadow: inset 0 0 0 1px #9be8ff;
  padding: .75rem; font-weight: 600;
}
.fx-card-method .fx-method__icon { width: 2rem; height: 2rem; background: rgb(255 255 255 / .15); }

.fx-text-link {
  display: block; margin-top: 1rem; border: 0; background: none; padding: 0; text-align: start;
  font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: #9be8ff;
  text-decoration: underline; text-decoration-color: rgb(155 232 255 / .45); text-underline-offset: 3px;
}
.fx-legal { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: 1.5rem; font-size: .75rem; line-height: 1rem; color: rgb(255 255 255 / .52); }
.fx-legal a { text-decoration: underline; text-underline-offset: 2px; }

.fx-paybar {
  position: sticky; bottom: 0; z-index: 10; margin-top: 1rem; border-radius: 1rem; border: 1px solid rgb(255 255 255 / .14);
  background: rgb(8 23 31 / .92); padding: 1rem; padding-bottom: max(1rem, env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgb(0 0 0 / .35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.fx-paybar__summary { margin-bottom: .5rem; text-align: center; font-size: .75rem; line-height: 1rem; font-weight: 600; color: rgb(255 255 255 / .68); }
.fx-paybar__note { margin-top: .5rem; text-align: center; font-size: .75rem; line-height: 1rem; color: rgb(255 255 255 / .52); }

.fx-notice {
  margin-top: 2rem; border-radius: 1rem; border: 1px solid rgb(255 214 128 / .35); background: rgb(255 214 128 / .12);
  padding: 1rem; font-size: .875rem; line-height: 1.25rem; color: #ffe6ad;
}
.fx-notice h2 { font-size: .875rem; font-weight: 700; color: #ffd680; }
.fx-notice p { margin-top: .25rem; }
.fx-notice a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.fx-fallback { max-width: 36rem; margin: 0 auto 2rem; text-align: center; }
.fx-fallback .fx-btn { margin-top: .75rem; }

.fx-hint { max-width: 28rem; margin: 1.5rem auto 0; text-align: center; font-size: .875rem; line-height: 1.25rem; color: rgb(255 255 255 / .68); }
.fx-text { margin-top: .25rem; font-size: .875rem; line-height: 1.25rem; color: rgb(255 255 255 / .68); }
.fx-status { text-align: center; font-size: .875rem; line-height: 1.25rem; color: rgb(255 255 255 / .85); }
.fx-btn + .fx-status, .fx-status--after { margin-top: 1rem; }
.fx-small-note { margin-top: .25rem; text-align: center; font-size: .75rem; line-height: 1rem; color: rgb(255 255 255 / .52); }
.fx-strong-note { margin-top: 1rem; text-align: center; font-size: .875rem; font-weight: 600; color: #ffd680; }
.fx-error { margin-top: 1.5rem; text-align: center; font-size: .875rem; line-height: 1.25rem; color: #ff6170; }
.fx-retry { max-width: 24rem; margin: 1rem auto 0; }

.fx-loading { padding: 3rem 0; text-align: center; }
.fx-spinner {
  width: 2rem; height: 2rem; margin: 0 auto; border-radius: 9999px; border: 4px solid rgb(255 255 255 / .15);
  border-top-color: #9be8ff; animation: fx-spin 1s linear infinite;
}
.fx-loading p, .fx-muted { margin-top: 1rem; font-size: .875rem; line-height: 1.25rem; color: rgb(255 255 255 / .68); }
.fx-card--paid .fx-spinner { margin-top: 1.25rem; }
.fx-card--paid .fx-muted { margin-top: .75rem; color: rgb(255 255 255 / .85); }
@keyframes fx-spin { to { transform: rotate(360deg); } }

.fx-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.5rem; margin-top: 1.25rem; font-size: .875rem; }
.fx-actions button {
  border: 0; background: none; padding: 0; font-weight: 600; color: #9be8ff;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgb(155 232 255 / .4);
}
.fx-actions button:hover { text-decoration-color: #9be8ff; }
.fx-shown-link { margin-top: .75rem; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; color: rgb(255 255 255 / .6); word-break: break-all; user-select: all; }
.fx-qr { margin-top: 1.25rem; text-align: center; }
.fx-qr canvas, .fx-qr img { width: 240px; height: 240px; border-radius: .75rem; background: #fff; }
.fx-qr figcaption { margin-top: .5rem; font-size: .75rem; color: rgb(255 255 255 / .52); }

.fx-howto { margin-top: 2.5rem; }
.fx-howto h2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.fx-howto p { margin-top: .75rem; font-size: .875rem; line-height: 1.25rem; color: rgb(255 255 255 / .68); }
.fx-howto p + p { margin-top: .5rem; }
.fx-privacy { margin-top: 2rem; border-top: 1px solid rgb(255 255 255 / .14); padding-top: 1.25rem; font-size: .75rem; line-height: 1rem; color: rgb(255 255 255 / .52); }
.fx-privacy button { margin-top: .5rem; border: 0; background: none; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.fx-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The checkout opened by an app's ticket (and /pay, the cabinet's renewal): a screen of its own over the site. */
.fx-screen { position: fixed; inset: 0; z-index: 60; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.fx-back { margin: 0 0 1.5rem; }
.fx-client { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.fx-client .fx-text-link { margin-top: 0; }
.fx-client__id { margin-top: .25rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; font-weight: 600; }
.fx-form { margin-top: 1.5rem; }
.fx-label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 600; color: rgb(255 255 255 / .9); }
.fx-input {
  display: block; width: 100%; border-radius: .75rem; border: 1px solid rgb(255 255 255 / .18);
  background: rgb(255 255 255 / .06); color: #fff; padding: .75rem 1rem; font-size: .875rem; outline: none;
}
.fx-input::placeholder { color: rgb(255 255 255 / .4); }
.fx-input:focus { border-color: #9be8ff; box-shadow: 0 0 0 3px rgb(155 232 255 / .2); }
.fx-input--mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.fx-error--field { margin-top: .5rem; text-align: start; }
.fx-text--ok { color: #40e594; }

/*
 * The website account box shares its e-mail sign-in form with the light cabinet
 * (EmailCodeForm, site utility classes); inside the dark checkout it takes the
 * app's colours here.
 */
.fx-account input {
  border-color: rgb(255 255 255 / .18); background: rgb(255 255 255 / .06); color: #fff;
}
.fx-account input::placeholder { color: rgb(255 255 255 / .4); }
.fx-account input:focus { border-color: #9be8ff; --tw-ring-color: rgb(155 232 255 / .2); }
.fx-account label { color: rgb(255 255 255 / .9); }
.fx-account .btn.btn-primary { background: linear-gradient(90deg, #0891b2, #1d4ed8); color: #fff; }
.fx-account .text-neutral-500, .fx-account .text-neutral-600 { color: rgb(255 255 255 / .6); }
.fx-account .text-rose-700 { color: #ff6170; }
.fx-account form a, .fx-account form button.underline { color: #9be8ff; }
