/* === БАЗА === */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a14;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.07);
    --border: rgba(255,255,255,0.08);
    --text: #e0e0e0;
    --text-muted: #6b7280;
    --text-white: #ffffff;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99,102,241,0.3);
    --green: #10b981;
    --radius: 14px;
    --radius-sm: 10px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { color: #a5b4fc; }

/* === НАВИГАЦИЯ === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10,10,20,0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-white); }
.nav-btn {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}
.nav-btn:hover { background: #5558e6; }
.nav-btn-outline {
    border: 1px solid var(--border);
    padding: 7px 16px;
    border-radius: 8px;
    color: var(--text) !important;
    transition: border-color 0.2s;
}
.nav-btn-outline:hover { border-color: var(--accent); }

/* === HERO === */
.hero-home {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}
.hero-glow {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero-home .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(16,185,129,0.12);
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(16,185,129,0.2);
    margin-bottom: 24px;
}
.hero-home h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--accent-light) 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-sub {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 16px;
}

/* === КНОПКИ === */
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary:hover {
    background: #5558e6;
    box-shadow: 0 0 30px var(--accent-glow);
    color: #fff;
}
.btn-ghost {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--text-white);
}

/* === СТАТИСТИКА === */
.stats-section { padding: 0 0 80px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    transition: border-color 0.3s;
}
.stat-card:hover { border-color: rgba(99,102,241,0.3); }
.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 4px;
}
.stat-label { font-size: 14px; color: var(--text-muted); }

/* === СЕКЦИИ === */
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 48px;
}

/* === ВОЗМОЖНОСТИ === */
.features-section { padding: 80px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: rgba(99,102,241,0.3);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.feature-big { grid-column: span 2; }
.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === ТАРИФЫ === */
.pricing-section { padding: 80px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}
.price-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
}
.price-popular {
    border-color: var(--accent);
    background: rgba(99,102,241,0.06);
    transform: scale(1.04);
}
.price-popular:hover { transform: scale(1.04) translateY(-4px); }
.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.price-period {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 12px;
}
.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 4px;
}
.price-currency { font-size: 24px; font-weight: 600; }
.price-per {
    font-size: 14px;
    color: var(--accent-light);
    margin-bottom: 24px;
}
.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}
.price-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.price-features li:before {
    content: "✓  ";
    color: var(--green);
    font-weight: 700;
}
.price-features li:last-child { border: none; }
.btn-price {
    display: block;
    padding: 12px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-price:hover { border-color: var(--accent); color: var(--text-white); }
.btn-price-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-price-primary:hover {
    background: #5558e6;
    box-shadow: 0 0 20px var(--accent-glow);
    color: #fff;
}

/* === ШАГИ === */
.steps-section { padding: 80px 0; }
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    flex: 1;
    max-width: 300px;
    text-align: center;
}
.step-num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-light), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.step-card h3 {
    font-size: 17px;
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 8px;
}
.step-card p { font-size: 14px; color: var(--text-muted); }
.step-arrow {
    font-size: 24px;
    color: var(--text-muted);
}

/* === CTA === */
.cta-section { padding: 40px 0 80px; }
.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-card h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
    position: relative;
}
.cta-card p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 28px;
    position: relative;
}

/* === ПАРТНЁРСКАЯ ПРОГРАММА === */
.partner-section { padding: 80px 0; }
.partner-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(192,132,252,0.06) 100%);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 24px;
    padding: 48px 40px;
}
.partner-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.partner-text { flex: 1; }
.partner-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
}
.partner-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.partner-benefits {
    list-style: none;
    margin-bottom: 0;
}
.partner-benefits li {
    padding: 6px 0;
    color: var(--text);
    font-size: 15px;
}
.partner-benefits li:before {
    content: "💰 ";
}
.partner-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
}
.partner-actions .btn-primary,
.partner-actions .btn-ghost {
    text-align: center;
    padding: 14px 28px;
}

/* === ФУТЕР === */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}
.footer-desc { color: var(--text-muted); font-size: 14px; }
.footer-grid h4 {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.footer-grid a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer-grid a:hover { color: var(--text-white); }
.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ===============================
   ВНУТРЕННИЕ СТРАНИЦЫ (get, account)
   =============================== */
.container-sm {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* Шапка внутренних страниц */
header {
    text-align: center;
    padding: 20px 0;
}
header .logo {
    color: var(--text-white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

/* Карточка */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
}
.center-card {
    text-align: center;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}
.card h2 {
    color: var(--text-white);
    font-size: 22px;
    margin-bottom: 12px;
}
.card h3 {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 12px;
}

/* Формы */
input[type="email"],
input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s;
}
input:focus { border-color: var(--accent); }

.code-input {
    font-size: 28px;
    text-align: center;
    letter-spacing: 8px;
    font-weight: bold;
}

button, .btn {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}
button:hover, .btn:hover {
    background: #5558e6;
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent-light);
    margin-top: 8px;
}
.btn-outline:hover {
    background: rgba(99,102,241,0.1);
}

/* VPN ключ */
.key-box {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin: 12px 0;
    word-break: break-all;
}
.key-box code {
    font-size: 14px;
    color: var(--accent-light);
    display: block;
    margin-bottom: 8px;
}
.copy-btn {
    width: auto;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

/* Инструкции */
.steps { text-align: left; margin: 20px 0; }
.steps ol { padding-left: 20px; }
.steps li { margin-bottom: 8px; color: #ccc; line-height: 1.5; }

/* Статы в кабинете */
.stats { margin-top: 16px; }
.stat { margin-bottom: 16px; }
.stat-label-sm {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}
.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
}
.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Тарифы в кабинете */
.tariffs-compact { display: flex; flex-direction: column; gap: 8px; }
.tariff-form { width: 100%; }
.tariff-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    width: 100%;
    cursor: pointer;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
}
.tariff-btn:hover { border-color: var(--accent); background: rgba(0,0,0,0.3); }
.tariff-btn .tariff-name { color: #ccc; font-weight: normal; font-size: 15px; }
.tariff-btn .tariff-price { color: var(--accent-light); font-weight: 700; font-size: 16px; }

/* Сообщения */
.error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #fca5a5;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
}
.info {
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    color: #a5b4fc;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
}
.hint {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 16px;
}
.hint a { color: var(--accent-light); }
.referral-bonus {
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    color: #6ee7b7;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}
.actions { margin-top: 20px; }

/* Лендинг /get */
.hero { text-align: center; padding-top: 20px; }
.hero h1 { font-size: 28px; color: var(--text-white); margin-bottom: 8px; }
.subtitle { color: var(--text-muted); font-size: 16px; margin-bottom: 32px; }
.features-sm {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.feature-sm {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 8px;
    font-size: 13px;
    line-height: 1.4;
}
.pricing-sm { margin-top: 40px; }
.pricing-sm h3 { color: var(--text-white); margin-bottom: 16px; }
.tariffs-sm {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.tariff-sm {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    position: relative;
}
.tariff-sm.popular { border-color: var(--accent); }

/* Внутренний футер */
footer.inner-footer {
    text-align: center;
    padding: 32px 0 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
    .nav-links a:not(.nav-btn) { display: none; }
    .partner-content { flex-direction: column; }
    .partner-actions { min-width: 100%; }
    .partner-card { padding: 32px 24px; }
    .hero-home h1 { font-size: 36px; }
    .hero-desc { font-size: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .feature-big { grid-column: span 1; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-popular { transform: none; }
    .price-popular:hover { transform: translateY(-4px); }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .section-title { font-size: 28px; }
    .cta-card { padding: 40px 20px; }
}

@media (max-width: 480px) {
    .hero-home h1 { font-size: 28px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-ghost { width: 100%; text-align: center; }
    .features-sm { grid-template-columns: 1fr; }
    .tariffs-sm { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: 1fr; }
}
