/* VPN_GOD site — dark theme matching the desktop client (VpngodStyle.qml) */

:root {
  --bg: #0E0E11;            /* midnightBlack */
  --bg-elev: #1C1D21;       /* onyxBlack */
  --bg-elev-2: #2C2D30;     /* slateGray */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #D7D8DB;          /* paleGray */
  --text-strong: #EAEAEC;   /* pearlGray */
  --muted: #878B91;         /* mutedGray */
  --accent: #FBB26A;        /* goldenApricot */
  --accent-2: #E0A458;      /* darker apricot for hover */
  --accent-soft: rgba(251, 178, 106, 0.3);
  --accent-deep: #A85809;   /* burntOrange */
  --danger: #EB5757;
  --ok: #6FCF97;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(251, 178, 106, 0.10), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(168, 88, 9, 0.12), transparent 60%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; }

h1, h2, h3 { color: var(--text-strong); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
code, kbd { font-family: var(--mono); font-size: 0.92em; background: var(--bg-elev-2); padding: 0.1em 0.4em; border-radius: 6px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(14, 14, 17, 0.8);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); font-weight: 800; letter-spacing: 0.06em; text-decoration: none; }
.brand:hover { text-decoration: none; color: var(--accent); }
.brand .mark { width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFD9A8 0%, var(--accent) 35%, var(--accent-deep) 100%);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 6px 18px rgba(251, 178, 106, 0.25); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text); font-weight: 500; }
.nav a:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: #1C1208; }
.btn-primary:hover { background: var(--accent-2); color: #1C1208; }
.btn-ghost { background: transparent; color: var(--text-strong); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 88px 0 56px; }
.hero .eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 14px; }
.hero p.lead { font-size: 1.2rem; color: var(--text); max-width: 640px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.hero .cta .note { color: var(--muted); font-size: 0.9rem; flex-basis: 100%; }
.signature { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--accent-2); opacity: .85; margin-top: 40px; }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-top: 0; }
.card .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 14px; }

section { padding: 48px 0; }
section.alt { background: rgba(28, 29, 33, 0.5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { text-align: center; margin-bottom: 28px; }
.section-title p { color: var(--muted); }

/* Steps */
.steps { counter-reset: step; }
.step { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step::before { counter-increment: step; content: counter(step); flex: 0 0 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #1C1208; font-weight: 800; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 20px 60px rgba(251, 178, 106, 0.08); }
.plan .badge { position: absolute; top: -12px; right: 20px; background: var(--accent); color: #1C1208; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em; }
.plan .price { font-size: 2.4rem; font-weight: 800; color: var(--text-strong); margin: 8px 0 2px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 22px; color: var(--text); }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* Forms */
.form { display: grid; gap: 16px; }
label { display: block; font-weight: 600; color: var(--text-strong); margin-bottom: 6px; }
.hint { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
input[type="email"], input[type="text"], select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-elev-2); border: 1px solid var(--line-strong); color: var(--text-strong);
  font: inherit; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder { color: var(--muted); }
.plan-options { display: grid; gap: 10px; }
.plan-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-elev-2); border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .15s ease; }
.plan-option:hover { border-color: var(--accent-2); }
.plan-option input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.plan-option.selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan-option .title { font-weight: 700; color: var(--text-strong); }
.plan-option .sub { color: var(--muted); font-size: 0.9rem; }
.plan-option .amount { margin-left: auto; font-weight: 800; color: var(--text-strong); white-space: nowrap; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.consent input { accent-color: var(--accent); margin-top: 4px; }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: 0.95rem; }
.alert-error { border-color: rgba(235, 87, 87, 0.5); background: rgba(235, 87, 87, 0.08); color: #FFB4B4; }
.alert-ok { border-color: rgba(111, 207, 151, 0.5); background: rgba(111, 207, 151, 0.08); color: #B8F0CF; }
.alert-info { border-color: var(--accent-soft); background: rgba(251, 178, 106, 0.07); color: var(--text); }
[hidden] { display: none !important; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(28, 18, 8, 0.3); border-top-color: #1C1208; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pay panel */
.pay-layout { display: grid; grid-template-columns: 1fr 220px; gap: 22px; align-items: start; }
@media (max-width: 720px) { .pay-layout { grid-template-columns: 1fr; } }
.pay-figures { display: grid; gap: 8px; margin: 0; }
.pay-figures div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pay-figures dt { color: var(--muted); }
.pay-figures dd { margin: 0; font-weight: 700; color: var(--text-strong); text-align: right; }
.pay-usdt { font-size: 1.6rem; font-weight: 800; color: var(--text-strong); margin: 8px 0 0; }
.addr { font-family: var(--mono); word-break: break-all; background: var(--bg-elev-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.qr-wrap { background: #fff; padding: 12px; border-radius: 12px; display: inline-block; }
.qr-wrap canvas { display: block; width: 196px; height: 196px; }

/* Status page */
.status-hero { text-align: center; padding: 72px 0 32px; }
.status-hero .big { font-size: 3rem; line-height: 1; margin-bottom: 14px; }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin: 0.35em 0; }
.prose .meta { color: var(--muted); font-size: 0.9rem; }
.placeholder { border: 1px dashed var(--accent-2); border-radius: var(--radius-sm); padding: 16px 18px; background: rgba(251, 178, 106, 0.05); }
.placeholder::before { content: "Плейсхолдер"; display: block; color: var(--accent); font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-elev); padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--text-strong); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.2rem; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 16px; margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 0.9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.requisites { flex-basis: 100%; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
