/* Checkout pages (/buy, /buy/trial, trial link, payment status) in the site's dark red neon style.
   Loaded AFTER each template's inline <style>, overrides colours only. Never sets `display` on state containers:
   their visibility is driven by the templates' JS (.active / style.display). */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/onest-latin-ext.woff2) format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/oswald-latin.woff2) format("woff2"); }

:root { --red: #ff2e2e; --red-2: #d10f16; --red-line: rgba(255, 60, 60, 0.45); --red-soft: rgba(255, 46, 46, 0.1);
  --panel: rgba(10, 11, 16, 0.84); --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.16);
  --text: #d5dae3; --muted: #959cab; --ok: #33d17a; }

html { background: #060609; }
body { background: transparent !important; color: var(--text) !important; font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important; -webkit-font-smoothing: antialiased; }
input, button, select, textarea { font-family: inherit !important; }

/* video background (same as the site) */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #060609; pointer-events: none; }
.bg__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(6, 6, 9, 0.78), rgba(6, 6, 9, 0.3) 80%); }
.container { z-index: 1; }

/* logo */
.logo { display: inline-flex !important; align-items: center; gap: 7px; text-decoration: none; color: #fff !important; font: 600 1.7rem/1 "Oswald", sans-serif; letter-spacing: 0.01em; }
.logo__easy { background: linear-gradient(180deg, #ff3a3a, var(--red-2)); padding: 3px 9px 4px; border-radius: 7px; box-shadow: 0 0 18px rgba(255, 30, 30, 0.45); }
.header .logo span, .logo span { font-size: inherit !important; font-weight: 600 !important; }

/* headings */
.header h1 { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; letter-spacing: -0.02em; }
.header h1 .accent { color: var(--red); -webkit-text-fill-color: var(--red) !important; text-shadow: 0 0 22px rgba(255, 40, 40, 0.5); }
.header p { color: var(--muted) !important; }
.features .feature { color: var(--text) !important; }
.feature i, .info-list i, .secure-note i { color: var(--red) !important; }

/* glass panels */
.plan-card, .form-section, .card, .status-card, .state-success, .state-expired {
  background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: 16px !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none; }

/* plans */
.plan-card { border-width: 1px !important; transition: border-color .2s ease-out, box-shadow .2s ease-out !important; }
.plan-card:hover { transform: none !important; border-color: var(--red-line) !important; box-shadow: 0 0 28px rgba(255, 30, 30, 0.3) !important; background: var(--panel) !important; }
.plan-card.selected { border-color: rgba(255, 60, 60, 0.85) !important; box-shadow: 0 0 0 1px rgba(255, 60, 60, 0.4), 0 0 42px rgba(255, 25, 25, 0.35) !important; background: rgba(20, 10, 12, 0.88) !important; }
.plan-card.popular::before { background: linear-gradient(180deg, #ff3a3a, var(--red-2)) !important; border-radius: 8px !important; box-shadow: 0 0 18px rgba(255, 30, 30, 0.5); letter-spacing: 0.06em !important; }
.plan-card .plan-price { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; letter-spacing: -0.02em; }
.plan-card.selected .plan-price { -webkit-text-fill-color: var(--red) !important; color: var(--red) !important; text-shadow: 0 0 22px rgba(255, 40, 40, 0.5); }
.plan-card .plan-period { color: var(--muted) !important; }
.plan-card .plan-check { border-color: var(--line-2) !important; }
.plan-card.selected .plan-check { background: var(--red) !important; border-color: var(--red) !important; box-shadow: 0 0 14px rgba(255, 40, 40, 0.6); }

/* trial call-to-action on /buy */
.trial-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; padding: 18px 22px;
  background: var(--panel); border: 1px solid var(--red-line); border-radius: 16px; text-decoration: none; transition: box-shadow .2s ease-out; }
.trial-cta:hover { box-shadow: 0 0 30px rgba(255, 30, 30, 0.3); }
.trial-cta__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--red); border: 1px solid var(--red-line); background: var(--red-soft); font-size: 20px; flex: none; }
.trial-cta__body { display: flex; align-items: center; gap: 14px; }
.trial-cta__t { color: #fff; font-weight: 700; font-size: 16px; }
.trial-cta__d { color: var(--muted); font-size: 14px; margin-top: 2px; }
.trial-cta__go { color: var(--red); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* forms */
.input-group label { color: var(--text) !important; }
.input-group input { background: rgba(255, 255, 255, 0.05) !important; border: 1px solid var(--line-2) !important; color: #fff !important; }
.input-group input:focus { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(255, 46, 46, 0.18); }
.input-group input::placeholder { color: #6b7180 !important; }
.input-group .hint { color: var(--muted) !important; }

/* buttons */
.btn-pay, .btn-primary, .proxy-btn, .bot-btn {
  background: linear-gradient(180deg, #ff3a3a, var(--red-2)) !important; border: 1px solid rgba(255, 110, 110, 0.55) !important; color: #fff !important;
  box-shadow: 0 10px 30px rgba(255, 25, 25, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important; border-radius: 12px !important; text-decoration: none; }
.btn-pay:hover, .btn-primary:hover, .proxy-btn:hover, .bot-btn:hover { transform: none !important; box-shadow: 0 10px 40px rgba(255, 25, 25, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important; }
.btn-pay:disabled { opacity: 0.45 !important; box-shadow: none !important; }
.copy-btn { background: rgba(255, 255, 255, 0.06) !important; border: 1px solid var(--line-2) !important; color: #fff !important; border-radius: 10px !important; }
.copy-btn:hover { border-color: var(--red-line) !important; }
.secure-note { color: var(--muted) !important; }

/* trial page */
.gift-banner { background: var(--red-soft) !important; border: 1px solid var(--red-line) !important; border-radius: 14px !important; }
.gift-banner .icon { color: var(--red); }
.gift-banner h3 { color: #fff !important; }
.gift-banner p { color: var(--text) !important; }
.info-list li { color: var(--text) !important; }
.error-banner { background: rgba(255, 46, 46, 0.12) !important; border: 1px solid var(--red-line) !important; color: #ff8a8a !important; }

/* trial link page */
.countdown-wrap { background: var(--red-soft) !important; border: 1px solid var(--red-line) !important; border-radius: 14px !important; }
.countdown-wrap .label { color: var(--muted) !important; }
.countdown { color: #fff !important; background: none !important; -webkit-text-fill-color: #fff !important; text-shadow: 0 0 22px rgba(255, 40, 40, 0.45); }
.countdown.expired { color: var(--red) !important; -webkit-text-fill-color: var(--red) !important; }
.step { background: rgba(255, 255, 255, 0.03) !important; border: 1px solid var(--line) !important; border-radius: 12px !important; }
.step .num { background: linear-gradient(180deg, #ff3a3a, var(--red-2)) !important; color: #fff !important; box-shadow: 0 0 14px rgba(255, 30, 30, 0.45); }
.step .text { color: var(--text) !important; }
.step code { background: var(--red-soft) !important; color: #ff8a8a !important; }
.warning { background: rgba(255, 46, 46, 0.08) !important; border: 1px solid var(--red-line) !important; color: var(--text) !important; }
.state-success .icon, .success-icon { color: var(--ok) !important; }
.state-expired .icon { color: var(--red) !important; }
.state-success h3, .state-expired h3 { color: #fff !important; }
.state-success p, .state-expired p { color: var(--text) !important; }

/* payment status page */
.success-icon { background: rgba(51, 209, 122, 0.12) !important; border: 1px solid rgba(51, 209, 122, 0.45); box-shadow: 0 0 24px rgba(51, 209, 122, 0.25) !important; }
.success-title, .processing-title, .error-title { color: #fff !important; background: none !important; -webkit-text-fill-color: #fff !important; }
.success-text, .processing-text, .error-text { color: var(--text) !important; }
.error-icon { color: var(--red) !important; }
.processing-icon { border-color: rgba(255, 255, 255, 0.12) !important; border-top-color: var(--red) !important; }
.link-box { background: rgba(255, 255, 255, 0.04) !important; border: 1px solid var(--line-2) !important; border-radius: 12px !important; }
.link-box code { color: var(--text) !important; }
.instructions { background: rgba(255, 255, 255, 0.03) !important; border: 1px solid var(--line) !important; border-radius: 12px !important; }
.instructions h4 { color: #fff !important; }
.instructions li { color: var(--text) !important; }
.bot-cta { background: rgba(255, 46, 46, 0.08) !important; border: 1px solid var(--red-line) !important; border-radius: 14px !important; }
.bot-cta.linked { background: rgba(51, 209, 122, 0.08) !important; border-color: rgba(51, 209, 122, 0.45) !important; }
.bot-cta h4 { color: #fff !important; }
.bot-cta p { color: var(--text) !important; }
.warning-badge { background: linear-gradient(180deg, #ff3a3a, var(--red-2)) !important; color: #fff !important; border-radius: 8px !important; }
.bot-cta.linked .warning-badge { background: rgba(51, 209, 122, 0.2) !important; color: #7ff0b0 !important; }

/* footers */
.footer, .footer-links { border-top-color: var(--line) !important; }
.footer a, .footer-links a { color: var(--red) !important; }
.footer p, .footer p a, .footer-links p { color: var(--muted) !important; }

@media (max-width: 640px) {
  .logo { font-size: 1.45rem; }
  .plan-card, .form-section, .card, .status-card, .state-success, .state-expired, .trial-cta { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(12, 13, 19, 0.92) !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
