/* ══════════════════════════════════════════════════════════
   NetPoint — основные стили
   Целевая аудитория: клиенты (главная + кабинет + авторизация)
   ══════════════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Цветовая схема */
    --c-bg:        #ffffff;
    --c-surface:   #f8fafc;
    --c-border:    #e2e8f0;
    --c-text:      #0f172a;
    --c-muted:     #64748b;
    --c-light:     #94a3b8;

    /* Акцентный цвет — индиго */
    --c-accent:    #4f46e5;
    --c-accent-h:  #4338ca;  /* hover */
    --c-accent-bg: #eef2ff;  /* light bg */
    --c-accent-10: rgba(79,70,229,.1);

    /* Семантические */
    --c-success:   #16a34a;
    --c-warning:   #d97706;
    --c-danger:    #dc2626;
    --c-success-bg:#f0fdf4;
    --c-warning-bg:#fffbeb;
    --c-danger-bg: #fef2f2;

    /* Типографика */
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    --mono: 'SF Mono','Fira Code','Fira Mono','Consolas', monospace;

    /* Размеры */
    --radius:   10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --shadow:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
    --shadow-lg:0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);

    /* Ширина контента */
    --max-w: 1080px;
    --max-w-sm: 720px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* ── ШАПКА ────────────────────────────────────────────────── */
.site-header {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 19px;
    font-weight: 800;
    color: var(--c-accent);
    letter-spacing: -.4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--c-accent);
    border-radius: 50%;
    display: inline-block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-muted);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all .15s;
}
.nav-link:hover {
    color: var(--c-text);
    background: var(--c-surface);
    text-decoration: none;
}

/* ── КНОПКИ ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 22px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all .18s;
    white-space: nowrap;
    letter-spacing: -.1px;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.btn-primary {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 2px 6px rgba(79,70,229,.3);
}
.btn-primary:hover:not(:disabled) {
    background: var(--c-accent-h);
    box-shadow: 0 4px 12px rgba(79,70,229,.4);
    transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(79,70,229,.3);
}

.btn-secondary {
    background: #fff;
    color: var(--c-text);
    border: 1.5px solid var(--c-border);
}
.btn-secondary:hover:not(:disabled) {
    border-color: #c0c0c0;
    background: var(--c-surface);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline:hover:not(:disabled) {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.7);
}

.btn-ghost {
    background: transparent;
    color: var(--c-muted);
}
.btn-ghost:hover:not(:disabled) {
    background: var(--c-surface);
    color: var(--c-text);
}

.btn-sm  { padding: 7px 14px; font-size: 13px; }
.btn-lg  { padding: 14px 32px; font-size: 16px; border-radius: var(--radius); }
.btn-xl  { padding: 17px 40px; font-size: 17px; border-radius: var(--radius); }
.btn-full{ width: 100%; }
.btn-copy{
    padding: 6px 12px;
    font-size: 13px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font);
    font-weight: 500;
    color: var(--c-muted);
    transition: all .15s;
}
.btn-copy:hover { background: var(--c-border); color: var(--c-text); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
    /* Тёмный градиент — никаких ассоциаций с конкретным сервисом */
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    color: #fff;
    padding: 100px 24px 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Декоративные элементы фона */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .3;
    pointer-events: none;
}
.hero::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}
.hero::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -100px;
    right: 10%;
}

.hero-inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .7; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 20px;
    color: #fff;
}
.hero-title span {
    /* Градиентный текст для выделения ключевого слова */
    background: linear-gradient(90deg, #a5b4fc, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255,255,255,.65);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255,255,255,.4);
}

/* ── FEATURES ─────────────────────────────────────────────── */
.features {
    padding: 88px 24px;
    background: var(--c-bg);
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--c-accent);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--c-text);
    margin-bottom: 14px;
}
.section-sub {
    font-size: 17px;
    color: var(--c-muted);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.feature-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all .2s;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.feature-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--c-accent-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.feature-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 10px;
    letter-spacing: -.02em;
}
.feature-desc {
    font-size: 15px;
    color: var(--c-muted);
    line-height: 1.65;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how {
    padding: 80px 24px;
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
}
.how-step {
    text-align: center;
}
.how-num {
    width: 44px;
    height: 44px;
    background: var(--c-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    margin: 0 auto 18px;
}
.how-step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 8px;
}
.how-step-desc {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.6;
}

/* ── PRICING ──────────────────────────────────────────────── */
.pricing {
    padding: 88px 24px;
    background: var(--c-bg);
}
.pricing-wrap {
    max-width: 440px;
    margin: 0 auto;
}
.pricing-card {
    background: #fff;
    border: 2px solid var(--c-accent);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg), 0 0 0 6px var(--c-accent-10);
    position: relative;
}
.pricing-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 16px;
    border-radius: 99px;
    white-space: nowrap;
}
.pricing-plan {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.pricing-price {
    font-size: 56px;
    font-weight: 800;
    color: var(--c-text);
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: 4px;
}
.pricing-price sup {
    font-size: 24px;
    font-weight: 600;
    vertical-align: super;
    margin-right: 2px;
}
.pricing-period {
    font-size: 15px;
    color: var(--c-muted);
    margin-bottom: 32px;
}
.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--c-text);
    padding: 9px 0;
    border-bottom: 1px solid var(--c-border);
    line-height: 1.5;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-check {
    width: 20px;
    height: 20px;
    background: var(--c-success-bg);
    color: var(--c-success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}
.pricing-note {
    font-size: 12px;
    color: var(--c-light);
    margin-top: 16px;
    line-height: 1.5;
}

/* ── MAIN CONTENT ─────────────────────────────────────────── */
.main-content {
    flex: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px 24px;
    width: 100%;
}

/* ── CARDS ────────────────────────────────────────────────── */
.card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: box-shadow .2s;
}
.card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 18px;
    letter-spacing: -.02em;
}
.card-desc {
    font-size: 14px;
    color: var(--c-muted);
    margin-bottom: 20px;
    line-height: 1.65;
}

/* ── STATUS BADGES ────────────────────────────────────────── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.status-active   { background: var(--c-success-bg); color: var(--c-success); border: 1px solid #bbf7d0; }
.status-inactive { background: var(--c-surface); color: var(--c-muted); border: 1px solid var(--c-border); }
.status-warning  { background: var(--c-warning-bg); color: var(--c-warning); border: 1px solid #fde68a; }
.status-critical {
    background: var(--c-danger-bg);
    color: var(--c-danger);
    border: 1px solid #fecaca;
    animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse { 0%,100%{opacity:1} 50%{opacity:.7} }

/* ── КАБИНЕТ ──────────────────────────────────────────────── */
.cabinet-container { max-width: 680px; }

.cabinet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--c-border);
}
.cabinet-title { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.cabinet-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--c-muted);
    margin-top: 4px;
}
.cabinet-email-dot {
    width: 8px;
    height: 8px;
    background: var(--c-success);
    border-radius: 50%;
}

/* Карточка подписки */
.sub-card { border-radius: var(--radius-lg); }

/* Счётчик дней */
.days-counter {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--c-surface);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 16px 0;
}
.days-num {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    min-width: 80px;
    text-align: center;
}
.days-num.days-ok     { color: var(--c-accent); }
.days-num.days-warn   { color: var(--c-warning); }
.days-num.days-crit   { color: var(--c-danger); }
.days-info { line-height: 1.5; }
.days-label { font-size: 15px; font-weight: 600; color: var(--c-text); }
.days-until { font-size: 13px; color: var(--c-muted); }

/* Кнопка подключения */
.btn-connect {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 700;
    background: var(--c-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(79,70,229,.35);
    letter-spacing: -.02em;
    margin-bottom: 12px;
}
.btn-connect:hover {
    background: var(--c-accent-h);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79,70,229,.45);
    text-decoration: none;
    color: #fff;
}
.btn-connect:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(79,70,229,.35);
}
.btn-connect-icon { font-size: 22px; }

.connect-alt {
    text-align: center;
    font-size: 13px;
    margin-bottom: 24px;
}
.connect-alt a { color: var(--c-muted); }
.connect-alt a:hover { color: var(--c-accent); }

/* Блок с ссылкой для копирования */
.proxy-link-block {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 18px;
}
.proxy-link-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--c-light);
    margin-bottom: 10px;
}
.proxy-link-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.proxy-link-text {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--c-muted);
    word-break: break-all;
    flex: 1;
    line-height: 1.5;
}

/* Ручная настройка */
.proxy-manual {
    border-top: 1px solid var(--c-border);
    padding-top: 18px;
}
.proxy-manual summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-muted);
    user-select: none;
    list-style: none;
}
.proxy-manual summary::-webkit-details-marker { display: none; }
.proxy-manual summary::before {
    content: '▶';
    font-size: 10px;
    transition: transform .2s;
}
.proxy-manual[open] summary::before { transform: rotate(90deg); }
.proxy-manual-content {
    margin-top: 16px;
}
.manual-path {
    font-size: 13px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--c-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

/* Таблица параметров */
.params-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 16px;
}
.params-table tr { border-bottom: 1px solid var(--c-border); }
.params-table tr:last-child { border-bottom: none; }
.params-table td { padding: 10px 12px; vertical-align: middle; }
.params-table .p-name {
    color: var(--c-muted);
    font-weight: 500;
    width: 90px;
    white-space: nowrap;
}
.params-table .p-val code {
    font-family: var(--mono);
    font-size: 13px;
    word-break: break-all;
}
.params-table .p-act { width: 36px; text-align: right; }
.btn-icon-copy {
    background: none;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
    color: var(--c-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}
.btn-icon-copy:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Платформы */
.platforms { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.platform-item {
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.platform-item summary {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    list-style: none;
    background: var(--c-surface);
}
.platform-item summary::-webkit-details-marker { display: none; }
.platform-item[open] summary { border-bottom: 1px solid var(--c-border); }
.platform-steps {
    padding: 12px 16px 12px 28px;
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.9;
}

/* Тарифный блок */
.plan-solo {
    background: linear-gradient(135deg, var(--c-accent-bg) 0%, #f0f9ff 100%);
    border: 2px solid var(--c-accent);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}
.plan-price-inline {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}
.plan-price-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--c-text);
    letter-spacing: -.04em;
}
.plan-price-cur { font-size: 22px; font-weight: 700; color: var(--c-text); }
.plan-price-period { font-size: 14px; color: var(--c-muted); }
.plan-feats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.plan-feat-tag {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 99px;
    padding: 4px 12px;
    font-size: 13px;
    color: var(--c-muted);
    font-weight: 500;
}
.plan-coming {
    font-size: 12px;
    color: var(--c-light);
    margin-top: 10px;
}

/* Переключатель тарифов (1 месяц / 3 месяца) */
.plan-choice {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.plan-choice-opt {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .15s ease;
}
.plan-choice-opt:has(input:checked) {
    border-color: var(--c-accent);
}
.plan-choice-opt input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--c-accent);
    flex-shrink: 0;
}
.plan-choice-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.plan-choice-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
}
.plan-choice-sub {
    font-size: 12.5px;
    color: var(--c-muted);
}
.plan-choice-opt--disabled {
    opacity: .55;
    cursor: not-allowed;
}
.plan-choice-opt--disabled .plan-choice-sub {
    color: #b45309;
}
.plan-3m-note {
    font-size: 12px;
    color: var(--c-muted);
    line-height: 1.6;
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

/* Pending */
.card-pending { border-color: #fed7aa; background: #fff7ed; }
.pending-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--c-muted);
    font-size: 14px;
    line-height: 1.6;
}
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--c-border);
    border-top-color: var(--c-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── AUTH FORMS ───────────────────────────────────────────── */
.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--c-surface);
}
.auth-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-md);
}
.auth-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 6px;
    text-align: center;
}
.auth-sub {
    font-size: 14px;
    color: var(--c-muted);
    text-align: center;
    margin-bottom: 30px;
}
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
}
.form-input {
    padding: 11px 15px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font);
    outline: none;
    transition: all .15s;
    background: #fff;
    color: var(--c-text);
}
.form-input:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-10);
}
.form-hint {
    font-size: 12px;
    color: var(--c-light);
}
.form-notice { font-size: 12px; color: var(--c-muted); }
.form-notice a { color: var(--c-accent); }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--c-light);
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-border);
}
.auth-alt {
    text-align: center;
    font-size: 14px;
    color: var(--c-muted);
    margin-top: 16px;
}
.auth-alt a { color: var(--c-accent); font-weight: 500; }

/* ── ALERTS ───────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.5;
}
.alert-error {
    background: var(--c-danger-bg);
    border: 1px solid #fecaca;
    color: var(--c-danger);
}
.alert-success {
    background: var(--c-success-bg);
    border: 1px solid #bbf7d0;
    color: var(--c-success);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--c-border);
    background: var(--c-surface);
    padding: 28px 24px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
}
.footer-copy {
    font-size: 13px;
    color: var(--c-light);
    margin-top: 2px;
}
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-link {
    font-size: 13px;
    color: var(--c-muted);
    text-decoration: none;
    transition: color .15s;
}
.footer-link:hover { color: var(--c-text); text-decoration: none; }

/* ── DOCUMENT PAGES ───────────────────────────────────────── */
.doc-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px;
}
.doc-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}
.doc-date {
    font-size: 13px;
    color: var(--c-muted);
    margin-bottom: 36px;
}
.doc-container p { margin-bottom: 16px; color: var(--c-muted); }

/* ── УТИЛИТЫ ──────────────────────────────────────────────── */
.text-muted  { color: var(--c-muted); }
.text-center { text-align: center; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 32px; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 640px) {
    .hero { padding: 64px 20px 72px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-xl { width: 100%; max-width: 320px; }

    .features { padding: 56px 20px; }
    .how      { padding: 56px 20px; }
    .pricing  { padding: 56px 20px; }

    .card { padding: 20px; }
    .auth-card { padding: 28px 20px; }

    .pricing-card { padding: 32px 24px; }

    .footer-inner { flex-direction: column; align-items: flex-start; }

    .days-counter { flex-direction: column; text-align: center; gap: 8px; }
    .days-num { min-width: auto; }

    .cabinet-header { flex-direction: column; }
    .proxy-link-row { flex-direction: column; align-items: stretch; }
}
