:root {
    --bg: #05050c;
    --bg-2: #090a18;
    --panel: rgba(15, 18, 38, .88);
    --panel-2: rgba(20, 24, 49, .82);
    --card: rgba(20, 24, 49, .72);
    --card-strong: rgba(38, 45, 87, .82);
    --line: rgba(151, 164, 255, .18);
    --line-strong: rgba(96, 239, 255, .28);
    --text: #f7fbff;
    --muted: #a7b0d6;
    --accent: #7c5cff;
    --accent-2: #00e7ff;
    --accent-3: #ff4fd8;
    --success: #62ffb8;
    --warning: #ffd76a;
    --dark: #05050c;
    --shadow: 0 26px 90px rgba(0, 0, 0, .42);
    --glow-blue: 0 0 42px rgba(0, 231, 255, .2);
    --glow-purple: 0 0 48px rgba(124, 92, 255, .28);
    --radius: 30px;
    --radius-sm: 22px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% -8%, rgba(124, 92, 255, .36), transparent 34rem),
        radial-gradient(circle at 88% 6%, rgba(0, 231, 255, .24), transparent 30rem),
        radial-gradient(circle at 50% 105%, rgba(255, 79, 216, .16), transparent 36rem),
        linear-gradient(180deg, #05050c 0%, #080a16 46%, #05050c 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .34;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(circle at top, #000 0%, transparent 72%);
    z-index: 0;
}

a { color: inherit; text-decoration: none; }
code {
    padding: .18rem .42rem;
    border-radius: .6rem;
    color: #dffbff;
    background: rgba(0, 231, 255, .09);
    border: 1px solid rgba(0, 231, 255, .18);
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 0;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    position: relative;
    z-index: 1;
}
.section { padding: 96px 0; }
.section.compact { padding: 74px 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(6, 7, 18, .74);
    border-bottom: 1px solid rgba(151, 164, 255, .16);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .22);
    backdrop-filter: blur(22px);
}
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,231,255,.65), rgba(255,79,216,.55), transparent);
}
.header-row {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.logo-mark {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border-radius: 17px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(124, 92, 255, 1), rgba(0, 231, 255, .95) 52%, rgba(255, 79, 216, .95));
    box-shadow: 0 0 28px rgba(124, 92, 255, .55), 0 0 54px rgba(0, 231, 255, .16);
    position: relative;
    overflow: hidden;
}
.logo-mark::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.28);
}
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 750;
}
.nav a {
    padding: 10px 13px;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.nav a:hover {
    color: var(--text);
    background: rgba(124, 92, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(151, 164, 255, .13);
}
.menu-toggle { display: none; }

.hero { padding-top: 92px; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .68fr);
    gap: 46px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(0, 231, 255, .28);
}
.eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent-3);
    box-shadow: 0 0 18px rgba(255, 79, 216, .75);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
    margin-bottom: 22px;
    max-width: 870px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .95;
    letter-spacing: -.06em;
}
h1::first-line { color: #fff; }
h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.03;
    letter-spacing: -.04em;
}
h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.68; }
.lead { max-width: 700px; font-size: 20px; color: #cfd6ff; }
.hero-actions, .card-actions, .proxy-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
    white-space: nowrap;
    user-select: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), #4a8cff 48%, var(--accent-2));
    box-shadow: 0 16px 42px rgba(124, 92, 255, .25), 0 0 26px rgba(0, 231, 255, .14);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 18px 52px rgba(124, 92, 255, .32), 0 0 36px rgba(0, 231, 255, .18); }
.btn-ghost {
    color: var(--text);
    border: 1px solid rgba(151, 164, 255, .22);
    background: rgba(15, 18, 38, .58);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.btn-soft {
    color: var(--text);
    border: 1px solid rgba(0, 231, 255, .16);
    background: linear-gradient(180deg, rgba(0, 231, 255, .1), rgba(124, 92, 255, .08));
}
.btn-small { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 14px; }
.btn-big { min-height: 60px; padding: 0 28px; }
.full { width: 100%; margin-top: 22px; }
.btn:disabled { cursor: wait; opacity: .72; }

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.trust-row span, .chips span {
    padding: 9px 13px;
    border-radius: 999px;
    color: #e9f3ff;
    background: rgba(124, 92, 255, .12);
    border: 1px solid rgba(151, 164, 255, .18);
    box-shadow: inset 0 0 18px rgba(0, 231, 255, .04);
}

.glass-card, .card {
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),
        linear-gradient(135deg, rgba(124, 92, 255, .12), rgba(0, 231, 255, .05));
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}
.card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: var(--radius-sm);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 32%, rgba(0,231,255,.05));
    opacity: .65;
}
.card > * { position: relative; z-index: 1; }
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 231, 255, .32);
    box-shadow: var(--shadow), var(--glow-blue);
}
.hero-card {
    position: relative;
    overflow: hidden;
    min-height: 510px;
    padding: 28px;
    border-radius: var(--radius);
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), transparent 44%),
        radial-gradient(circle at 88% 4%, rgba(0, 231, 255, .22), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(255, 79, 216, .12), transparent 38%);
    pointer-events: none;
}
.orb {
    position: absolute;
    top: -96px;
    right: -92px;
    width: 292px;
    height: 292px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,231,255,.92), rgba(124,92,255,.45) 40%, rgba(255,79,216,.18) 58%, transparent 72%);
    filter: blur(3px);
}
.status-line {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #effcff;
    font-weight: 950;
    letter-spacing: .02em;
}
.pulse {
    width: 10px; height: 10px; border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 0 8px rgba(98, 255, 184, .12), 0 0 22px rgba(98, 255, 184, .74);
}
.mini-dashboard { position: relative; display: grid; gap: 12px; margin-top: 74px; }
.mini-dashboard div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(5, 6, 16, .64);
    border: 1px solid rgba(151, 164, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.mini-dashboard .mini-stat strong {
    color: var(--success);
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -.02em;
    white-space: nowrap;
    text-shadow: 0 0 22px rgba(98,255,184,.25);
}
.mini-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: 10px 16px;
    border-radius: 14px;
    color: #fff;
    font-weight: 950;
    font-size: 14px;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(124,92,255,1), rgba(0,231,255,.9));
    box-shadow: 0 10px 26px rgba(124,92,255,.22);
    white-space: nowrap;
}
.mini-link:hover { transform: translateY(-1px); filter: brightness(1.06); }
.mini-link:focus-visible { outline: 2px solid rgba(0, 231, 255, .75); outline-offset: 3px; }

.section-head { max-width: 760px; margin-bottom: 34px; }
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.service-cards { align-items: stretch; }
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.service-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent), var(--accent-3));
    box-shadow: 0 0 20px rgba(0,231,255,.35);
}
.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    font-size: 30px;
    margin-bottom: 18px;
    border-radius: 20px;
    background: rgba(0, 231, 255, .08);
    border: 1px solid rgba(0, 231, 255, .14);
    box-shadow: inset 0 0 20px rgba(124, 92, 255, .08);
}
.muted { color: var(--muted); }
.check-list { padding: 0; margin: 22px 0; list-style: none; display: grid; gap: 10px; }
.service-card .check-list { margin-bottom: 22px; }
.check-list li { color: #dce4ff; display: flex; gap: 10px; }
.check-list li::before { content: "✦"; color: var(--accent-2); font-weight: 950; }
.service-card .card-actions { margin-top: auto; padding-top: 4px; }

.dark-band {
    background:
        linear-gradient(135deg, rgba(124, 92, 255, .16), rgba(0, 231, 255, .08)),
        rgba(5, 6, 16, .55);
    border-block: 1px solid rgba(151, 164, 255, .14);
}
.connect-grid { display: grid; grid-template-columns: .78fr 1fr; gap: 36px; align-items: start; }
.steps { display: grid; gap: 14px; }
.step {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(15, 18, 38, .62);
    border: 1px solid rgba(151, 164, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.step > span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, var(--accent-3), var(--accent), var(--accent-2));
    box-shadow: 0 10px 30px rgba(124, 92, 255, .25);
}
.step p { margin-bottom: 0; }
.step a, details a { color: var(--accent-2); font-weight: 850; }

.proxy-layout { display: grid; grid-template-columns: .75fr 1fr; gap: 28px; align-items: start; }
.proxy-toolbar { display: flex; gap: 10px; margin-bottom: 18px; }
.proxy-toolbar input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(151, 164, 255, .18);
    border-radius: 16px;
    padding: 0 16px;
    color: var(--text);
    outline: none;
    background: rgba(5, 6, 16, .54);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.proxy-toolbar input:focus { border-color: rgba(0, 231, 255, .48); box-shadow: 0 0 0 3px rgba(0, 231, 255, .08); }
.proxy-list { display: grid; gap: 10px; max-height: 450px; overflow: auto; padding-right: 4px; }
.proxy-list::-webkit-scrollbar { width: 8px; }
.proxy-list::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(151, 164, 255, .22); }
.proxy-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(5, 6, 16, .52);
    border: 1px solid rgba(151, 164, 255, .13);
}
.proxy-item b { display: block; margin-bottom: 3px; }
.proxy-item span { color: var(--muted); font-size: 13px; word-break: break-all; }
.copy-status { min-height: 24px; margin-top: 12px; color: var(--success); font-weight: 850; }

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.tariff-list { display: grid; gap: 10px; margin-top: 20px; }
.tariff-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(5, 6, 16, .5);
    border: 1px solid rgba(151, 164, 255, .11);
}
.tariff-row span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.tariff-row strong {
    color: #ffffff;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 231, 255, .1);
    border: 1px solid rgba(0, 231, 255, .18);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.tariffs-section .section-head { margin-bottom: 28px; }
.tariff-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.tariff-card { display: flex; flex-direction: column; min-height: 100%; }
.tariff-card h3 { font-size: 28px; letter-spacing: -.025em; }
.tariff-card .muted { min-height: 54px; }
.tariff-actions { margin-top: auto; padding-top: 22px; }
.locations-strip {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.locations-strip h3 { margin-bottom: 0; }
.locations-strip .chips { margin-top: 0; justify-content: flex-end; }

.updates-section { padding-top: 56px; }
.updates-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.update-card {
    position: relative;
    padding: 22px;
    border-radius: 22px;
    background: rgba(15, 18, 38, .62);
    border: 1px solid rgba(151, 164, 255, .13);
    overflow: hidden;
}
.update-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}
.update-card time { color: var(--accent-2); font-size: 12px; font-weight: 950; }
.update-card h3 { margin-top: 12px; font-size: 18px; }
.update-card p { margin-bottom: 0; font-size: 14px; }

.support-section { padding-top: 56px; }
.support-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 79, 216, .18), transparent 32%),
        linear-gradient(135deg, rgba(124, 92, 255, .22), rgba(0, 231, 255, .1));
    border: 1px solid rgba(151, 164, 255, .2);
    box-shadow: var(--shadow), var(--glow-purple);
}
.support-card p { max-width: 730px; margin-bottom: 0; }

.faq-list { display: grid; gap: 12px; }
details {
    padding: 20px 24px;
    border-radius: 20px;
    background: rgba(15, 18, 38, .62);
    border: 1px solid rgba(151, 164, 255, .13);
}
summary { cursor: pointer; font-weight: 900; }
details p { margin: 14px 0 0; }

.site-footer {
    padding: 44px 0;
    border-top: 1px solid rgba(151, 164, 255, .13);
    background: rgba(3, 4, 11, .72);
}
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-grid p { margin: 14px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

#onlineUsersCounter {
    transition: opacity .18s ease, transform .18s ease;
}
#onlineUsersCounter.is-updating {
    opacity: .82;
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .hero-grid, .connect-grid, .proxy-layout, .two-col { grid-template-columns: 1fr; }
    .cards, .updates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-card { min-height: 380px; }
    .tariff-grid { grid-template-columns: 1fr; }
    .locations-strip { flex-direction: column; align-items: flex-start; }
    .locations-strip .chips { justify-content: flex-start; }
}

@media (max-width: 720px) {
    .section, .section.compact { padding: 58px 0; }
    .header-row { min-height: 68px; }
    .nav {
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        padding: 18px;
        border-radius: 20px;
        background: rgba(6, 7, 18, .97);
        border: 1px solid rgba(151, 164, 255, .18);
        box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
    .menu-toggle {
        display: inline-grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(151, 164, 255, .22);
        border-radius: 14px;
        color: var(--text);
        background: rgba(124, 92, 255, .13);
    }
    h1 { font-size: 42px; line-height: 1; }
    .lead { font-size: 17px; }
    .hero-actions, .proxy-actions, .card-actions { align-items: stretch; }
    .hero-actions .btn, .proxy-actions .btn, .card-actions .btn { width: 100%; }
    .cards, .updates-grid { grid-template-columns: 1fr; }
    .support-card, .footer-grid { flex-direction: column; align-items: flex-start; }
    .proxy-toolbar { flex-direction: column; }
    .proxy-item { grid-template-columns: 1fr; }
    .tariff-row { align-items: flex-start; flex-direction: column; }
    .mini-dashboard { margin-top: 46px; }
    .mini-dashboard div { align-items: flex-start; flex-direction: column; }
    .mini-link { width: 100%; }
}
