/* ============================================================
 L UMMA · shared stylesheet                         *
 black / white · S-mark · glass morphism
 ============================================================ */

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

:root {
    color-scheme: dark;
    --bg: #0a0a0c;
    --bg-alt: #0d0d10;
    --surface: #111114;
    --surface-raised: #17171b;
    --overlay: #1c1c22;
    --border: rgba(255,255,255,0.06);
    --border-strong: rgba(255,255,255,0.12);
    --text: #f5f5f7;
    --text-dim: #8a8a92;
    --text-muted: #56565e;
    --accent: #ffffff;
    --accent-soft: rgba(255,255,255,0.08);
    --danger: #ef4444;
    --warn: #f59e0b;
    --success: #22c55e;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-glass: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.4);
    --shadow-hover: 0 12px 40px -12px rgba(0,0,0,0.8), 0 0 40px -10px rgba(255,255,255,0.04);
}

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', -apple-system, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

body { display: flex; flex-direction: column; min-height: 100vh; }

::selection { background: rgba(255,255,255,0.2); color: #fff; }

button, a { cursor: pointer; font-family: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a30; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a42; }

/* ---------- container ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.wrap-sm { max-width: 720px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* ---------- nav ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(10,10,12,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 60px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
}
.brand-mark {
    width: 32px; height: 32px; border-radius: 9px;
    background: #0a0a0c; border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s ease;
}
.brand:hover .brand-mark { transform: scale(1.08); }
.brand span.dot { color: var(--text-dim); }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
    color: var(--text-dim); padding: 8px 14px; border-radius: 8px;
    font-size: 14px; font-weight: 500;
    transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }

.btn-contact {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text) !important;
    padding: 8px 16px !important;
}
.btn-contact:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.24); }

.nav-toggle {
    display: none; background: transparent; border: none;
    padding: 8px; color: var(--text-dim);
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 22px; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; letter-spacing: 0;
    border: 1px solid transparent; transition: all .2s ease;
    text-decoration: none;
}
.btn-primary {
    background: #fff; color: #0a0a0c; border-color: #fff;
}
.btn-primary:hover { background: #e8e8e8; border-color: #e8e8e8; box-shadow: 0 0 30px rgba(255,255,255,0.15); }

.btn-outline {
    background: rgba(255,255,255,0.03); color: var(--text);
    border-color: var(--border-strong);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; padding: 100px 0 60px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-dim);
    margin-bottom: 20px;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #fff;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 700; line-height: 1.05;
    letter-spacing: -0.035em; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--text-dim); }
.hero p.lead {
    font-size: 18px; color: var(--text-dim); max-width: 55ch;
    line-height: 1.6; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 28px; flex-wrap: wrap;
    margin-top: 36px; padding-top: 26px;
    border-top: 1px solid var(--border);
}
.hero-stats .s-item { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 13px; }
.hero-stats .s-item svg { color: var(--text-muted); }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 600; text-align: center; letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section-sub {
    text-align: center; color: var(--text-dim);
    font-size: 16px; margin-bottom: 48px; max-width: 60ch;
    margin-left: auto; margin-right: auto;
}
.eyebrow {
    text-align: center; font-size: 11px; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 12px; font-weight: 600;
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}
.card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text); margin-bottom: 14px;
}
.card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

.tag {
    display: inline-block; padding: 3px 10px;
    border-radius: 20px; border: 1px solid var(--border);
    font-size: 10.5px; color: var(--text-muted);
    letter-spacing: 0.05em; text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 10px;
}

/* ---------- product tabs ---------- */
.tabs {
    display: flex; justify-content: center; gap: 6px;
    flex-wrap: wrap; margin-bottom: 32px;
}
.tab {
    padding: 10px 18px; border-radius: 10px;
    background: transparent; border: 1px solid var(--border);
    color: var(--text-dim); font-size: 13px; font-weight: 600;
    transition: all .2s;
}
.tab:hover { border-color: var(--border-strong); color: var(--text); }
.tab.active {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: var(--text);
}

.product-panel { display: none; }
.product-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.product-head {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: 20px; flex-wrap: wrap;
    margin-bottom: 26px; padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.product-head h3 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.product-head p { color: var(--text-dim); font-size: 14px; max-width: 60ch; }
.product-price { font-size: 20px; font-weight: 700; color: var(--text); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
    padding: 16px; background: rgba(255,255,255,0.02);
    border: 1px solid var(--border); border-radius: var(--radius);
    display: flex; gap: 12px; align-items: flex-start;
    transition: border-color .2s, background .2s;
}
.feature:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.035); }
.feature .fi {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--text);
}
.feature h4 { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.feature p { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

/* ---------- scan table ---------- */
.scan-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.scan-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    max-width: 900px; margin: 0 auto;
}
@media (max-width: 720px) { .scan-grid { grid-template-columns: 1fr 1fr; } }

.scan-card {
    padding: 20px 16px; background: rgba(255,255,255,0.02);
    border: 1px solid var(--border); border-radius: var(--radius);
    text-align: center; transition: border-color .2s, transform .2s;
    display: block;
}
.scan-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.scan-card .s-title { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.scan-card .s-rate { font-size: 26px; font-weight: 700; font-family: 'JetBrains Mono', monospace; color: #fff; }
.scan-card .s-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.scan-card.clean .s-rate { color: var(--success); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 32px 20px; position: relative; }
.step-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-family: 'JetBrains Mono', monospace;
    font-size: 14px; font-weight: 600; color: var(--text);
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 13px; max-width: 320px; margin: 0 auto; }

/* ---------- purchase / shop ---------- */
.shop-frame {
    width: 100%; border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--surface); min-height: 700px;
}
.shop-frame iframe { width: 100%; height: 760px; border: none; display: block; }

/* ---------- telegram section ---------- */
.tg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .tg-grid { grid-template-columns: 1fr; } }
.tg-card {
    padding: 22px; border: 1px solid var(--border);
    border-radius: var(--radius); background: rgba(255,255,255,0.02);
    display: flex; gap: 14px; align-items: flex-start;
    transition: border-color .2s, background .2s;
}
.tg-card:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.035); }
.tg-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #fff, #888);
    display: flex; align-items: center; justify-content: center;
    color: #000; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.tg-body { flex: 1; min-width: 0; }
.tg-body .handle { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.tg-body .desc { font-size: 12px; color: var(--text-dim); }
.tg-members {
    font-size: 11px; color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* ---------- comparison ---------- */
.compare {
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; background: rgba(255,255,255,0.015);
}
.compare-row {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    padding: 14px 22px; align-items: center;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head {
    background: rgba(255,255,255,0.03);
    font-weight: 600; font-size: 12px; letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--text-dim);
}
.compare-row .feature-name { color: var(--text); }
.compare-row .yes, .compare-row .no, .compare-row .some {
    display: flex; justify-content: center; align-items: center;
}
.yes { color: var(--success); font-weight: 700; }
.no { color: var(--text-muted); }
.some { color: var(--warn); font-size: 12px; }

/* ---------- faq ---------- */
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 10px; overflow: hidden; background: rgba(255,255,255,0.015);
}
.faq-q {
    width: 100%; text-align: left; padding: 16px 20px;
    background: transparent; border: none; color: var(--text);
    font-size: 14px; font-weight: 600; display: flex;
    justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q:hover { background: rgba(255,255,255,0.02); }
.faq-q svg { transition: transform .25s; flex-shrink: 0; color: var(--text-muted); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    padding: 0 20px; color: var(--text-dim); font-size: 13px;
    line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 18px; }

/* ---------- footer ---------- */
.footer {
    border-top: 1px solid var(--border); padding: 40px 0 24px;
    background: rgba(255,255,255,0.01); margin-top: auto;
}
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; font-weight: 600; }
.footer a { display: block; color: var(--text-dim); font-size: 13px; padding: 4px 0; transition: color .15s; }
.footer a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 20px;
    display: flex; justify-content: space-between; flex-wrap: wrap;
    gap: 12px; color: var(--text-muted); font-size: 12px;
}
.footer-legal {
    font-size: 11px; color: var(--text-muted);
    margin-top: 14px; line-height: 1.5;
    max-width: 70ch;
}

/* ---------- utility ---------- */
.hide { display: none !important; }
.center { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }

/* ---------- animated cursor (disabled on touch/reduced motion) ---------- */
@media (hover: hover) and (pointer: fine) {
    html.no-native-cursor, html.no-native-cursor * { cursor: none !important; }
}
.cursor-ring, .cursor-dot {
    position: fixed; top: 0; left: 0; pointer-events: none;
    z-index: 9999; opacity: 0; will-change: transform;
    transition: width .2s cubic-bezier(.16,1,.3,1), height .2s cubic-bezier(.16,1,.3,1), opacity .15s;
}
.cursor-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.9);
    transform: translate(-50%,-50%);
    box-shadow: 0 0 6px rgba(255,255,255,0.35);
}
.cursor-ring {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    transform: translate(-50%,-50%);
}

/* ---------- scroll progress ---------- */
.scroll-bar {
    position: fixed; top: 2px; right: 2px; width: 3px;
    height: calc(100vh - 4px); z-index: 40; opacity: 0;
    transition: opacity .6s ease; pointer-events: none;
}
.scroll-bar.active { opacity: 1; }
.scroll-bar-thumb {
    width: 100%; background: #fff; border-radius: 2px;
    opacity: 0.6; will-change: transform, height;
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- mobile nav ---------- */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 60px; left: 0; right: 0;
        background: rgba(10,10,12,0.97); backdrop-filter: blur(20px);
        flex-direction: column; align-items: stretch;
        padding: 12px 20px 20px; border-bottom: 1px solid var(--border);
        transform: translateY(-110%); transition: transform .3s cubic-bezier(.16,1,.3,1);
        max-height: calc(100vh - 60px); overflow-y: auto;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links a { padding: 12px 14px; font-size: 15px; }
}

/* ---------- toast ---------- */
.toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
    z-index: 200; padding: 12px 20px; border-radius: var(--radius);
    background: var(--overlay); border: 1px solid var(--border-strong);
    color: var(--text); font-size: 13px;
    box-shadow: var(--shadow-glass); opacity: 0;
    transition: opacity .25s, transform .25s;
    max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { border-color: rgba(239,68,68,0.3); color: #fca5a5; }
.toast.success { border-color: rgba(34,197,94,0.3); color: #86efac; }

/* ---------- vpn modal ---------- */
.vpn-modal {
    position: fixed; bottom: 20px; right: 20px; z-index: 100;
    max-width: 340px; padding: 16px; border-radius: var(--radius);
    background: var(--overlay); border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-glass); animation: fadeUp .3s ease;
}
.vpn-modal h4 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.vpn-modal p { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; line-height: 1.5; }
.vpn-modal .vpn-actions { display: flex; gap: 8px; }
.vpn-modal .vpn-actions button { flex: 1; padding: 8px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; border: 1px solid var(--border-strong); background: transparent; color: var(--text); transition: background .2s; }
.vpn-modal .vpn-actions button.primary { background: #fff; color: #000; border-color: #fff; }
.vpn-modal .vpn-actions button:hover { background: rgba(255,255,255,0.08); }
.vpn-modal .vpn-actions button.primary:hover { background: #e8e8e8; }

/* ---------- misc ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { margin: 0 auto 12px; opacity: 0.4; }

.spinner {
    width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.15);
    border-top-color: #fff; border-radius: 50%;
    animation: spin .8s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
