﻿:root {
    --bg: #0a0a0f;
    --panel: #131320;
    --panel2: #1a1a2e;
    --border: #26263d;
    --text: #e8e8f0;
    --muted: #8a8aa3;
    --accent: #7c5cff;
    --accent2: #ff2f6d;
    --green: #3ddc97;
    --red: #ff4d6d;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', 'Inter', sans-serif;
    min-height: 100vh;
    background-image:
        radial-gradient(800px 400px at 80% -10%, rgba(124, 92, 255, .18), transparent 60%),
        radial-gradient(600px 300px at 10% 110%, rgba(255, 47, 109, .12), transparent 60%);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 10, 15, .7);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo { font-weight: 800; font-size: 20px; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; border-radius: 8px; }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 24px; align-items: center; color: var(--muted); }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: .15s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #5b3df0);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 92, 255, .35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 26px rgba(124, 92, 255, .5); }

.btn-ghost { background: var(--panel2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); }

.btn-danger { background: linear-gradient(135deg, var(--accent2), #d61f56); color: #fff; }
.btn-danger:hover { transform: translateY(-1px); }

.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

.hero {
    text-align: center;
    padding: 110px 24px 70px;
    max-width: 860px;
    margin: 0 auto;
}

.hero .tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--accent);
    background: linear-gradient(135deg, rgba(124, 92, 255, .15), rgba(0, 255, 170, .1));
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.hero h1 { font-size: 54px; font-weight: 800; line-height: 1.1; }
.hero h1 .grad {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p { color: var(--muted); font-size: 17px; margin-top: 20px; line-height: 1.6; }
.hero .cta { margin-top: 36px; display: flex; gap: 16px; justify-content: center; }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1060px;
    margin: 40px auto 80px;
    padding: 0 24px;
}

.feature {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px;
}
.feature h3 { font-size: 16px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.pricing {
    max-width: 1180px;
    margin: 0 auto 70px;
    padding: 0 24px;
}
.pricing h2 { text-align: center; font-size: 34px; margin-bottom: 40px; }

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.plan {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 34px 30px;
    position: relative;
    transition: .2s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--accent); }
.plan.hot { border-color: var(--accent); box-shadow: 0 0 40px rgba(124, 92, 255, .15); }
.plan .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.plan h3 { font-size: 18px; }
.plan .price { font-size: 40px; font-weight: 800; margin: 16px 0 4px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; margin: 22px 0 28px; }
.plan li { padding: 7px 0; color: var(--muted); font-size: 14px; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 700; }

.pricing-hint {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: 26px;
    line-height: 1.6;
}
.pricing-hint b { color: #c0c0d0; }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 18, .75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}
.modal {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    max-width: 440px;
    width: 100%;
    position: relative;
}
.modal h3 { font-size: 22px; margin: 0 0 6px; }
.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 20px;
    cursor: pointer;
}
.modal-close:hover { color: #fff; }
.price-line { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.m-price-big { font-size: 34px; font-weight: 800; }
.m-days { color: var(--muted); font-size: 14px; }
.m-note { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.m-actions { display: flex; flex-direction: column; gap: 10px; }
.m-steps {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}
.m-steps b { color: #c0c0d0; }

.faq { max-width: 760px; margin: 0 auto 100px; padding: 0 24px; }
.faq h2 { text-align: center; font-size: 34px; margin-bottom: 30px; }
.faq-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 14px;
}
.faq-item h4 { font-size: 15px; margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.55; }

footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}

/* ---------- auth / cabinet ---------- */

.auth-wrap {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.card h2 { font-size: 24px; margin-bottom: 6px; }
.card .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: .15s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 92, 255, .15); }

.msg {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: none;
    line-height: 1.4;
}
.msg.show { display: block; }
.msg.ok { background: rgba(61, 220, 151, .1); color: var(--green); border: 1px solid rgba(61, 220, 151, .3); }
.msg.err { background: rgba(255, 77, 109, .1); color: var(--red); border: 1px solid rgba(255, 77, 109, .3); }

.switch-line { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.status-pill.active { background: rgba(61, 220, 151, .12); color: var(--green); }
.status-pill.active .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.status-pill.inactive { background: rgba(255, 77, 109, .12); color: var(--red); }
.status-pill.inactive .dot { background: var(--red); box-shadow: 0 0 10px var(--red); }

.cabinet-body { max-width: 560px; margin: 60px auto; padding: 0 24px; }

.cab-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.cab-head h1 { font-size: 22px; }
.cab-head .login-name { color: var(--accent); }

.uid-pill {
    background: var(--panel2);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}
.uid-pill b { color: var(--accent); font-weight: 800; }

.sub-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sub-info { font-size: 14px; color: var(--muted); }
.sub-info strong { color: var(--text); display: block; font-size: 16px; margin-bottom: 4px; }

.activate {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}
.activate h3 { font-size: 15px; margin-bottom: 12px; }
.activate .row { display: flex; gap: 10px; }

.download-note {
    background: rgba(124, 92, 255, .07);
    border: 1px dashed var(--accent);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 20px;
}

.loader-steps { margin-top: 20px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.loader-steps code {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--accent);
}

.guide-box {
    margin-top: 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 26px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(124, 92, 255, .12);
}
.guide-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(124, 92, 255, .12), transparent 55%),
        radial-gradient(400px 120px at 90% -10%, rgba(255, 47, 109, .15), transparent 70%);
    pointer-events: none;
}
.guide-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    position: relative;
}
.guide-head .guide-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    box-shadow: 0 0 18px rgba(124, 92, 255, .45);
}
.guide-head h2 {
    font-size: 17px;
    color: var(--text);
}
.guide-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(38, 38, 61, .6);
    position: relative;
    font-size: 14px;
    line-height: 1.5;
}
.guide-item:last-child { border-bottom: none; }
.guide-num {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #5b3df0);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(124, 92, 255, .35);
}
.guide-item b { color: var(--text); }
.guide-item kbd {
    background: var(--bg);
    border: 1px solid var(--border);
    border-bottom-width: 3px;
    border-radius: 6px;
    padding: 2px 9px;
    font-family: 'Consolas', monospace;
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
}
.guide-warn {
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px dashed var(--accent);
    background: rgba(124, 92, 255, .08);
    border-radius: 10px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}
.guide-warn b { color: var(--accent2); }

.socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--panel2);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    transition: .15s;
}
.social-btn:hover { border-color: var(--accent); transform: translateY(-1px); text-decoration: none; }
.social-btn.tg:hover { border-color: #229ED9; box-shadow: 0 0 16px rgba(34, 158, 217, .25); }
.social-btn.ds:hover { border-color: #5865F2; box-shadow: 0 0 16px rgba(88, 101, 242, .25); }

.media-box {
    margin-top: 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
}
.media-box h2 {
    font-size: 17px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.media-box .media-sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.media-req {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}
.media-req-item {
    display: flex;
    gap: 14px;
    background: var(--panel2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
}
.media-req-item .m-num {
    flex: 0 0 auto;
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent2), #d61f56);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-req-item b { color: var(--text); }
.media-note {
    padding: 12px 16px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
}
.media-apply {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.media-apply a { flex: 1; min-width: 200px; }

.soc-community {
    max-width: 1060px;
    margin: 40px auto 80px;
    padding: 0 24px;
}
.soc-community h2 { text-align: center; font-size: 34px; margin-bottom: 8px; }
.soc-community .soc-sub { text-align: center; color: var(--muted); margin-bottom: 32px; }
.soc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.soc-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: .2s;
    color: var(--text);
}
.soc-card:hover { transform: translateY(-4px); text-decoration: none; }
.soc-card.tg:hover { border-color: #229ED9; box-shadow: 0 0 40px rgba(34, 158, 217, .15); }
.soc-card.ds:hover { border-color: #5865F2; box-shadow: 0 0 40px rgba(88, 101, 242, .15); }
.soc-card.media:hover { border-color: var(--accent2); box-shadow: 0 0 40px rgba(255, 47, 109, .15); }
.soc-card .soc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--panel2);
    border: 1px solid var(--border);
}
.soc-card.tg .soc-icon { border-color: #229ED9; }
.soc-card.ds .soc-icon { border-color: #5865F2; }
.soc-card.media .soc-icon { border-color: var(--accent2); }
.soc-card h3 { font-size: 17px; }
.soc-card p { color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.soc-card .soc-cta { color: var(--accent); font-weight: 700; font-size: 14px; }

.media-page {
    max-width: 640px;
    margin: 60px auto;
    padding: 0 24px;
}
.media-head { text-align: center; margin-bottom: 34px; }
.media-head .tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--accent2);
    background: linear-gradient(135deg, rgba(255, 47, 109, .12), rgba(124, 92, 255, .1));
    color: var(--accent2);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.media-head h1 { font-size: 34px; font-weight: 800; }
.media-head p { color: var(--muted); margin-top: 12px; font-size: 15px; line-height: 1.6; }
.media-box-page {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}
.media-box-page .media-note { margin-top: 18px; }
.media-apply a { flex: 1; min-width: 100%; }

.muted { color: var(--muted); }
.times-cell { font-size: 12px; color: var(--muted); white-space: nowrap; }