/* PUFFIX VPN — dark neon red design system
   Стиль: чёрный фон, красные неоновые акценты (#EF0124), белый текст со свечением.
   Референс: брендинг из видео-документов (две красные черты //, неон, красное подчёркивание заголовков). */

:root {
    --bg: #060608;
    --bg2: #0b0b0f;
    --card: #101014;
    --card2: #141419;
    --line: #232329;
    --red: #ef0124;
    --red2: #ff2b47;
    --red-dim: rgba(239, 1, 36, .16);
    --white: #f5f5f7;
    --muted: #9a9aa6;
    --ok: #2fd574;
    --err: #ff4d5e;
    --radius: 14px;
    --glow-red: 0 0 18px rgba(239, 1, 36, .45), 0 0 44px rgba(239, 1, 36, .18);
    --glow-white: 0 0 12px rgba(255, 255, 255, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-color: #333 var(--bg); }

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background: var(--bg);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(900px 420px at 85% -10%, rgba(239, 1, 36, .10), transparent 60%),
        radial-gradient(700px 380px at -10% 110%, rgba(239, 1, 36, .07), transparent 60%);
}

h1, h2, h3, .brand-text, .val, .btn {
    font-family: 'Unbounded', 'Montserrat', sans-serif;
}

a { color: var(--red2); text-decoration: none; }
a:hover { color: #fff; }

/* ── Фоновые свечения ── */
.bg-glow { position: fixed; border-radius: 50%; filter: blur(120px); opacity: .25; pointer-events: none; z-index: 0; }
.bg-glow.red { width: 520px; height: 520px; background: var(--red); top: -180px; right: -140px; }
.bg-glow.blue { width: 420px; height: 420px; background: #1b2a6b; bottom: -160px; left: -140px; opacity: .18; }

/* ── Тест-баннер ── */
.test-banner {
    position: relative; z-index: 5;
    background: linear-gradient(90deg, var(--red), #a3001a);
    color: #fff; text-align: center; font-size: 13px; font-weight: 600;
    padding: 7px 12px; letter-spacing: .4px;
}

/* ── Навбар ── */
.navbar {
    position: relative; z-index: 4;
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1140px; margin: 0 auto; padding: 18px 22px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(239,1,36,.6)); }
.brand-text {
    font-weight: 700; font-size: 19px; letter-spacing: 1.2px; color: var(--white);
    text-shadow: 0 0 14px rgba(255, 255, 255, .35);
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s, text-shadow .2s; }
.nav-link:hover { color: #fff; text-shadow: 0 0 12px rgba(255,255,255,.5); }

/* ── Контейнер ── */
.container { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding: 26px 20px 60px; }

/* ── Карточки ── */
.card {
    background: linear-gradient(180deg, var(--card), var(--bg2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 18px;
    position: relative;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover {
    border-color: rgba(239, 1, 36, .55);
    box-shadow: var(--glow-red);
    transform: translateY(-1px);
}
.card-title {
    font-size: 17px; font-weight: 700; letter-spacing: .4px; margin-bottom: 14px;
    display: inline-block; position: relative; padding-bottom: 8px;
}
.card-title::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 46px;
    background: var(--red); border-radius: 2px;
    box-shadow: 0 0 10px rgba(239, 1, 36, .8);
}
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.panel-header h3 { font-size: 17px; }
.panel-close {
    background: none; border: 1px solid var(--line); color: var(--muted);
    width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 14px;
    transition: all .2s;
}
.panel-close:hover { border-color: var(--red); color: #fff; box-shadow: 0 0 10px rgba(239,1,36,.4); }
.panel-note { color: var(--muted); font-size: 13px; margin-bottom: 14px; }

/* ── Кнопки ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(180deg, var(--red2), var(--red));
    color: #fff; border: none; border-radius: 10px;
    padding: 12px 22px; font-size: 14px; font-weight: 600; letter-spacing: .3px;
    cursor: pointer; transition: box-shadow .2s, transform .15s, filter .2s;
    box-shadow: 0 0 0 rgba(239, 1, 36, 0);
}
.btn:hover { box-shadow: var(--glow-red); filter: brightness(1.12); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-ghost {
    background: transparent; border: 1px solid #3a3a44; color: var(--white);
}
.btn-ghost:hover { border-color: var(--red); color: #fff; box-shadow: 0 0 12px rgba(239,1,36,.35); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ── Табы ── */
.tabs {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin: 22px 0 18px; position: relative; z-index: 2;
}
.tab-btn {
    background: var(--card); border: 1px solid var(--line); color: var(--muted);
    padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: 'Unbounded', sans-serif; letter-spacing: .3px;
    transition: all .2s;
}
.tab-btn:hover { color: #fff; border-color: rgba(239,1,36,.5); }
.tab-btn.active {
    background: linear-gradient(180deg, var(--red2), var(--red));
    color: #fff; border-color: var(--red);
    box-shadow: 0 0 16px rgba(239, 1, 36, .45);
}
.tab-panel { display: none; position: relative; z-index: 2; }
.tab-panel.active { display: block; animation: fadeIn .25s ease; }

/* ── Формы ── */
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 7px; font-weight: 500; }
input, select, textarea {
    width: 100%; padding: 12px 14px;
    background: #0a0a0e; border: 1px solid #2a2a33; border-radius: 10px;
    color: var(--white); font-size: 15px; font-family: inherit; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 1, 36, .18), 0 0 14px rgba(239,1,36,.25);
}
input::placeholder { color: #565660; }
select { appearance: none; }

/* ── Опции (сетка выбора) ── */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.opt {
    background: #0a0a0e; border: 1px solid #2a2a33; border-radius: 10px;
    padding: 12px 10px; text-align: center; cursor: pointer;
    font-size: 14px; font-weight: 600; color: var(--white);
    transition: all .18s; font-family: 'Unbounded', sans-serif;
}
.opt small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; font-family: 'Montserrat', sans-serif; font-weight: 500; }
.opt:hover { border-color: rgba(239,1,36,.55); }
.opt.selected {
    border-color: var(--red); background: var(--red-dim);
    box-shadow: 0 0 14px rgba(239, 1, 36, .35);
}

/* ── Статистика ── */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.stat {
    background: #0a0a0e; border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 12px; text-align: center;
}
.stat .val {
    font-size: 22px; font-weight: 700; color: #fff;
    text-shadow: 0 0 14px rgba(255, 255, 255, .3);
}
.stat .lbl { font-size: 11.5px; color: var(--muted); margin-top: 4px; letter-spacing: .3px; }

/* ── Ссылки-подписки ── */
.sub-link {
    background: #0a0a0e; border: 1px dashed #3a3a46; border-radius: 10px;
    padding: 12px 14px; font-size: 13px; word-break: break-all; color: var(--muted);
    font-family: monospace;
}

/* ── Прочее ── */
.muted { color: var(--muted); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11.5px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; } .mt-18 { margin-top: 18px; } .mt-20 { margin-top: 20px; }
.mt-26 { margin-top: 26px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-18 { margin-bottom: 18px; }
.row { display: flex; align-items: center; }
.row.space { justify-content: space-between; }
.row.gap-10 { gap: 10px; } .row.gap-12 { gap: 12px; } .row.gap-sm { gap: 8px; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ── Статус-пилюля ── */
.status-pill {
    display: inline-block; padding: 5px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
}
.status-on { background: rgba(47, 213, 116, .14); color: var(--ok); border: 1px solid rgba(47, 213, 116, .4); }
.status-off { background: rgba(239, 1, 36, .14); color: var(--red2); border: 1px solid rgba(239, 1, 36, .45); }

/* ── Устройства / списки ── */
.device-item, .ref-item, .log-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #0a0a0e; border: 1px solid var(--line); border-radius: 10px;
    padding: 13px 16px; margin-bottom: 10px;
    transition: border-color .2s;
}
.device-item:hover, .ref-item:hover { border-color: rgba(239,1,36,.45); }
.device-item .meta, .ref-item .meta { color: var(--muted); font-size: 12px; }

/* ── Спиннер ── */
.spinner {
    width: 42px; height: 42px; margin: 40px auto;
    border: 3px solid #26262e; border-top-color: var(--red);
    border-radius: 50%; animation: spin .8s linear infinite;
    box-shadow: 0 0 16px rgba(239,1,36,.25);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── Тост ── */
#toast {
    position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
    background: var(--card2); border: 1px solid var(--line); color: var(--white);
    padding: 13px 22px; border-radius: 12px; font-size: 14px; font-weight: 500;
    opacity: 0; pointer-events: none; transition: all .3s; z-index: 100;
    max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.ok { border-color: rgba(47, 213, 116, .6); box-shadow: 0 0 18px rgba(47, 213, 116, .25); }
#toast.err { border-color: rgba(239, 1, 36, .65); box-shadow: 0 0 18px rgba(239, 1, 36, .3); }

/* ── Вход ── */
.login-wrap {
    position: relative; z-index: 2;
    max-width: 470px; margin: 30px auto 60px; padding: 0 20px;
}
.login-box h1 {
    font-size: 30px; font-weight: 700; letter-spacing: .5px; margin-bottom: 8px;
    text-shadow: 0 0 18px rgba(255, 255, 255, .25);
}
.login-box h1 span { color: var(--red2); text-shadow: 0 0 18px rgba(239, 1, 36, .6); }
.divider {
    display: flex; align-items: center; gap: 12px;
    color: var(--muted); font-size: 12px; margin: 18px 0;
    text-transform: uppercase; letter-spacing: 1px;
}
.divider::before, .divider::after {
    content: ""; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, #2c2c36, transparent);
}
#tg-widget { min-height: 44px; }

/* ── Инструкции ── */
.instructions h3 { color: #fff; margin: 16px 0 8px; font-size: 15px; }
.instructions p, .instructions li { color: var(--muted); font-size: 14px; }
.instructions ol, .instructions ul { padding-left: 20px; margin: 8px 0; }
.instructions b { color: var(--white); }
.instructions .plat { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }

/* ── Футер ── */
footer {
    position: relative; z-index: 2;
    text-align: center; color: #4c4c58; font-size: 13px;
    padding: 26px 20px 34px; border-top: 1px solid #16161c; margin-top: 30px;
}

/* ── Лендинг (index) ── */
.hero {
    position: relative; z-index: 2; text-align: center;
    padding: 60px 20px 40px; max-width: 860px; margin: 0 auto;
}
.hero h1 {
    font-size: 44px; font-weight: 700; line-height: 1.15; letter-spacing: .5px;
    text-shadow: 0 0 26px rgba(255, 255, 255, .22);
}
.hero h1 span { color: var(--red2); text-shadow: 0 0 26px rgba(239, 1, 36, .7); }
.hero p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero .btn { margin-top: 28px; padding: 15px 34px; font-size: 15px; }
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; max-width: 1000px; margin: 40px auto; padding: 0 20px; position: relative; z-index: 2; }
.lp-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; max-width: 1000px; margin: 30px auto; padding: 0 20px; position: relative; z-index: 2; }
.lp-price {
    background: linear-gradient(180deg, var(--card), var(--bg2));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 18px; text-align: center; transition: all .25s;
}
.lp-price:hover { border-color: rgba(239,1,36,.6); box-shadow: var(--glow-red); transform: translateY(-3px); }
.lp-price .p-val { font-family: 'Unbounded'; font-size: 24px; font-weight: 700; }
.lp-price .p-per { color: var(--muted); font-size: 12px; margin: 4px 0 14px; }
.lp-section-title {
    position: relative; z-index: 2; text-align: center;
    font-size: 26px; font-weight: 700; margin: 44px 0 6px; letter-spacing: .5px;
    display: inline-block; left: 50%; transform: translateX(-50%);
    padding-bottom: 10px;
}
.lp-section-title::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: var(--red); border-radius: 2px; box-shadow: 0 0 12px rgba(239,1,36,.8);
}

/* ── Админка ── */
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 60px; position: relative; z-index: 2; }
.admin-sidebar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-sidebar a {
    padding: 9px 16px; border-radius: 9px; border: 1px solid var(--line);
    color: var(--muted); font-size: 13.5px; font-weight: 600;
}
.admin-sidebar a.active, .admin-sidebar a:hover {
    color: #fff; border-color: var(--red); background: var(--red-dim);
    box-shadow: 0 0 12px rgba(239,1,36,.3);
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
td { color: var(--white); }
tr:hover td { background: rgba(239, 1, 36, .04); }

/* ── Адаптив ── */
@media (max-width: 700px) {
    .hero h1 { font-size: 30px; }
    .login-box h1 { font-size: 24px; }
    .tabs { gap: 6px; }
    .tab-btn { padding: 9px 13px; font-size: 12.5px; }
    .card { padding: 18px; }
    .navbar { padding: 14px 16px; }
    .brand-text { font-size: 16px; }
}


/* ── Лендинг (index.html) и админка — стили из прежней версии ──
.admin-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
}

.admin-sidebar {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    backdrop-filter: blur(24px);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 4px;
    transition: 0.2s;
}

.admin-sidebar a:hover,

.admin-sidebar a.active {
    background: var(--glass-solid);
    color: var(--text);
}

.admin-sidebar a.active {
    color: var(--primary);
}

.admin-badge {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    font-size: 0.64rem;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 700;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
    animation: fade 0.25s ease;
}

.admin-form {
    max-width: 520px;
}

.admin-form .row {
    margin-top: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.stats-grid .card {
    padding: 20px;
}

.stats-grid .stat .val {
    font-size: 1.2rem;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

/* Utility helpers */

.section-title { margin-bottom: 20px; }

.inline-form { display: flex; gap: 12px; flex-wrap: wrap; }

.inline-form input,

.inline-form select { flex: 1; min-width: 140px; }

.mt-22 { margin-top: 22px; }

.sidebar-icon {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 1.9rem; }
    .grid { margin-bottom: 42px; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar { padding: 18px 20px; }
    .nav-right .nav-link:not(.btn) { display: none; }
    .hero { margin: 40px auto 30px; padding: 0 20px; }
    .hero h1 { font-size: 1.7rem; }
    .hero p { font-size: 0.95rem; }
    .grid,
    .devices,
    .container { padding: 0 20px; }
    .card { padding: 22px; border-radius: 20px; }
    .admin-grid { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 12px;
    }
    .admin-sidebar a { margin: 0; white-space: nowrap; padding: 10px 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — PUFFIX VPN
   Optimized for conversion: clear hierarchy, visible CTAs,
   mobile-first navigation, social proof, and reduced friction.
   ═══════════════════════════════════════════════════════════════ */

/* ── Top bar ── */

.lp-topbar {
    width: 100%;
    position: relative;
    z-index: 101;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(225, 29, 72, 0.12);
    border-bottom: 1px solid rgba(225, 29, 72, 0.2);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-topbar a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Navbar ── */

.lp-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(7, 7, 10, 0.78);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-brand img {
    width: 32px;
    height: 32px;
}

.lp-brand .brand-text {
    font-size: 1.1rem;
}

.lp-nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.lp-nav-links a {
    display: block;
    padding: 9px 14px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    transition: 0.18s ease;
}

.lp-nav-links a:hover {
    color: var(--text);
    background: var(--glass);
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-nav-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--text-secondary);
    background: var(--glass);
    border: 1px solid var(--border);
    transition: 0.18s ease;
}

.lp-nav-icon:hover {
    color: var(--text);
    background: var(--glass-hover);
    border-color: var(--border-strong);
}

.lp-nav-btn {
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 0.82rem;
}

.lp-nav-cabinet {
    display: none;
}

.lp-burger {
    display: none;
    width: 38px;
    height: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
}

.lp-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: 0.2s ease;
}

/* ── Mobile menu ── */

.lp-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(7, 7, 10, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 20px 24px 32px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.lp-mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.lp-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.lp-menu-close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
}

.lp-mobile-links {
    list-style: none;
    margin: 0 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-mobile-link {
    display: block;
    padding: 16px 0;
    font-family: 'Unbounded', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.lp-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

/* ── Hero ── */

.lp-main {
    position: relative;
    z-index: 5;
}

.lp-hero {
    position: relative;
    min-height: calc(100svh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 28px 90px;
    overflow: hidden;
}

.lp-hero-body {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 18px 8px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.lp-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: lp-pulse 2s ease-in-out infinite;
}

@keyframes lp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.lp-hero h1 {
    font-size: clamp(2.4rem, 6.5vw, 4.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.lp-hero h1 span {
    color: var(--primary);
}

.lp-hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

.lp-hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.lp-btn-glow {
    box-shadow: 0 8px 28px rgba(225, 29, 72, 0.38);
}

.lp-btn-hero {
    padding: 13px 22px;
    font-size: 0.88rem;
    min-width: 160px;
}

.lp-trust-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.lp-pill svg {
    color: var(--green);
}

/* ── Deco floating cards ── */

.lp-deco {
    position: absolute;
    z-index: 1;
    background: rgba(22, 22, 26, 0.82);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
    pointer-events: none;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.lp-deco-tl { top: 13%; left: 4%; transform: rotate(-7deg); }

.lp-deco-tr { top: 11%; right: 4%; transform: rotate(6deg); }

.lp-deco-bl { bottom: 14%; left: 5%; transform: rotate(5deg); }

.lp-deco-br { bottom: 12%; right: 5%; transform: rotate(-6deg); }

.lp-deco-icon { font-size: 22px; }

.lp-deco-val { font-size: 0.95rem; font-weight: 700; }

.lp-deco-lbl { font-size: 0.68rem; color: var(--text-tertiary); letter-spacing: 0.3px; }

/* ── Section base ── */

.lp-section {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 90px 28px;
    position: relative;
    z-index: 5;
}

.lp-section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.lp-section-head h2 {
    font-size: clamp(1.7rem, 4.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 14px;
}

.lp-section-sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.lp-accent {
    color: var(--primary);
}

/* ── Trust section ── */

.lp-trust-section {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -40px;
}

.lp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.lp-trust-item {
    text-align: center;
}

.lp-trust-num {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.lp-trust-label {
    font-size: 0.76rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ── Problem / solution ── */

.lp-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lp-problem-text h2 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
}

.lp-problem-text > p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.lp-problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-problem-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
}

.lp-problem-list svg {
    flex-shrink: 0;
    color: var(--primary);
}

.lp-problem-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-globe {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(225, 29, 72, 0.12), transparent 55%),
                radial-gradient(circle at 70% 70%, rgba(14, 165, 233, 0.1), transparent 55%),
                rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    animation: lp-float 6s ease-in-out infinite;
}

.lp-globe svg {
    width: 100%;
    height: 100%;
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ── Features ── */

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lp-feature-card {
    padding: 28px;
    text-align: left;
}

.lp-feature-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(225, 29, 72, 0.12);
    color: var(--primary);
    margin-bottom: 18px;
}

.lp-feature-card:nth-child(2) .lp-feature-icon { background: rgba(14, 165, 233, 0.12); color: var(--blue); }

.lp-feature-card:nth-child(3) .lp-feature-icon { background: rgba(34, 197, 94, 0.12); color: var(--green); }

.lp-feature-card:nth-child(4) .lp-feature-icon { background: rgba(245, 158, 11, 0.12); color: var(--amber); }

.lp-feature-card:nth-child(5) .lp-feature-icon { background: rgba(139, 92, 246, 0.12); color: #a78bfa; }

.lp-feature-card:nth-child(6) .lp-feature-icon { background: rgba(236, 72, 153, 0.12); color: #f472b6; }

.lp-feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.lp-feature-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ── How it works ── */

.lp-how {
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: none;
}

.lp-how .lp-section-head,

.lp-how .lp-how-cta {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.lp-how .lp-section-head {
    margin-bottom: 48px;
}

.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1160px;
    margin: 0 auto 36px;
}

.lp-step {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    backdrop-filter: blur(16px);
}

.lp-step-num {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-tertiary);
}

.lp-step-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary);
    margin-bottom: 18px;
}

.lp-step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.lp-step p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.6;
}

.lp-how-cta {
    text-align: center;
}

/* ── Pricing ── */

.lp-pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.lp-pricing-tab {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 12px;
    padding: 11px 18px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    transition: 0.18s ease;
}

.lp-pricing-tab:hover {
    color: var(--text);
    background: var(--glass-hover);
}

.lp-pricing-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.lp-price-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(16px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.lp-price-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.lp-price-popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(225, 29, 72, 0.12) 0%, var(--glass) 45%);
    transform: scale(1.03);
}

.lp-price-popular:hover {
    border-color: var(--primary-hover);
    transform: scale(1.03) translateY(-4px);
}

.lp-price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.lp-price-devices {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.lp-price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp-price-current {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text);
}

.lp-price-old {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    min-height: 1.2em;
}

.lp-price-period {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.lp-price-feats {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-price-feats li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.lp-price-feats svg {
    color: var(--primary);
    flex-shrink: 0;
}

.lp-price-btn {
    margin-top: 8px;
}

.lp-pricing-note {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.76rem;
    margin-top: 24px;
}

/* ── Servers ── */

.lp-servers {
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid var(--border);
    max-width: none;
}

.lp-servers .lp-section-head {
    max-width: 1160px;
}

.lp-servers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1160px;
    margin: 0 auto;
}

.lp-server-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    backdrop-filter: blur(12px);
    transition: 0.18s ease;
}

.lp-server-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.lp-server-flag {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

/* ── Trust reasons ── */

.lp-reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lp-reason-card {
    padding: 28px;
    text-align: center;
}

.lp-reason-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary);
    margin-bottom: 18px;
}

.lp-reason-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.lp-reason-card p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.6;
}

/* ── FAQ ── */

.lp-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-faq-item {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 20px;
    backdrop-filter: blur(12px);
}

.lp-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 400;
    transition: transform 0.2s ease;
}

.lp-faq-item[open] summary::after {
    content: '−';
}

.lp-faq-item p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.65;
    padding-bottom: 18px;
}

/* ── Final CTA ── */

.lp-final-cta {
    background: linear-gradient(180deg, transparent 0%, rgba(225, 29, 72, 0.08) 100%);
    padding: 100px 28px;
    text-align: center;
}

.lp-final-cta-inner {
    max-width: 620px;
    margin: 0 auto;
}

.lp-final-cta h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.lp-final-cta p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

.lp-final-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ── */

.lp-footer {
    width: 100%;
    padding: 56px 28px 24px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.28);
    position: relative;
    z-index: 5;
}

.lp-footer-grid {
    max-width: 1160px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
}

.lp-footer-brand p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.6;
    margin-top: 14px;
    max-width: 260px;
}

.lp-footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.lp-footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.15s;
}

.lp-footer-col a:hover {
    color: var(--text);
}

.lp-footer-bottom {
    max-width: 1160px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.lp-footer-bottom p {
    font-size: 0.74rem;
    color: var(--text-tertiary);
}

.lp-footer-bottom a {
    font-size: 0.74rem;
    color: var(--text-tertiary);
    text-decoration: underline;
}

/* ── Mobile sticky CTA ── */

.lp-mobile-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(7, 7, 10, 0.92);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(16px);
    transition: transform 0.25s ease;
}

.lp-mobile-cta.is-hidden {
    transform: translateY(120%);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .lp-deco { display: none; }
    .lp-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-steps { grid-template-columns: repeat(2, 1fr); }
    .lp-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-reason-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-servers-grid { grid-template-columns: repeat(3, 1fr); }
    .lp-problem-grid { grid-template-columns: 1fr; gap: 40px; }
    .lp-problem-visual { order: -1; }
}

@media (max-width: 768px) {
    .lp-navbar { padding: 12px 20px; }
    .lp-nav-links { display: none; }
    .lp-burger { display: flex; }
    .lp-nav-btn { display: none; }
    .lp-nav-channel { display: none; }
    .lp-nav-cabinet { display: inline-flex; }
    .lp-hero { min-height: auto; padding: 50px 20px 70px; }
    .lp-hero h1 { font-size: 2rem; }
    .lp-hero-sub { font-size: 0.95rem; }
    .lp-hero-cta { flex-direction: column; align-items: stretch; }
    .lp-hero-cta .btn { width: 100%; }
    .lp-section { padding: 60px 20px; }
    .lp-trust-section { margin-top: -30px; }
    .lp-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 24px; }
    .lp-trust-num { font-size: 1.5rem; }
    .lp-feature-grid { grid-template-columns: 1fr; }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-pricing-grid { grid-template-columns: 1fr; }
    .lp-price-popular { transform: none; }
    .lp-price-popular:hover { transform: translateY(-4px); }
    .lp-servers-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-reason-grid { grid-template-columns: 1fr; }
    .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .lp-footer-brand { grid-column: 1 / -1; }
    .lp-footer-bottom { flex-direction: column; text-align: center; }
    .lp-mobile-cta { display: block; }
}

@media (max-width: 480px) {
    .lp-navbar { padding: 10px 16px; }
    .lp-brand .brand-text { font-size: 1rem; }
    .lp-hero { padding: 40px 16px 60px; }
    .lp-section { padding: 50px 16px; }
    .lp-trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
    .lp-trust-label { font-size: 0.68rem; }
    .lp-final-cta { padding: 70px 16px; }
    .lp-footer { padding: 40px 16px 20px; }
    .lp-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .lp-footer-bottom { padding-top: 20px; }
}
