* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #0f1117;
    --bg2: #161922;
    --surface: rgba(255,255,255,0.05);
    --surface-hover: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --text: #e8eaed;
    --text2: rgba(232,234,237,0.6);
    --text3: rgba(232,234,237,0.35);
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.page-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 40%);
}
.container { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
header { text-align: center; padding: 48px 0 32px; }
.logo-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}
.header-body { padding-top: 20px; }
h1 { font-size: clamp(24px, 5vw, 38px); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
h1 .hl { color: var(--accent); }
.subtitle { font-size: 16px; color: var(--text2); max-width: 460px; margin: 0 auto; line-height: 1.6; }

/* ── Sections ── */
section { margin: 36px 0; }
.section-tag { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 2px; margin-bottom: 4px; text-transform: uppercase; }
h2 { font-size: clamp(20px, 4vw, 26px); font-weight: 800; margin-bottom: 10px; }
.section-desc { color: var(--text2); font-size: 15px; margin-bottom: 16px; }

/* ── Alert ── */
.alert {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.15);
    border-left: 3px solid #ef4444;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.alert-icon { font-size: 20px; flex-shrink: 0; }
.alert h3 { font-weight: 700; font-size: 15px; margin-bottom: 2px; color: #f87171; }
.alert p { font-size: 14px; color: var(--text2); line-height: 1.5; }

/* ── Button ── */
.btn-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s;
    margin: 18px 0;
    border: none;
    cursor: pointer;
}
.btn-big:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.btn-big:active { transform: translateY(0); }

/* ── Tabs ── */
.tabs {
    display: flex;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
}
.tab {
    flex: 1; padding: 10px; text-align: center; font-size: 14px; font-weight: 600;
    cursor: pointer; color: var(--text3); background: transparent; border: none;
    border-right: 1px solid var(--border); font-family: inherit; transition: all 0.15s;
}
.tab:last-child { border-right: none; }
.tab.active { background: rgba(255,255,255,0.05); color: var(--text); }
.tab:hover:not(.active) { color: var(--text2); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Steps ── */
.steps { display: grid; gap: 8px; }
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: background 0.15s;
}
.step:hover { background: var(--surface-hover); }
.step-n {
    width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.step h3 { font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.step p { font-size: 14px; color: var(--text2); line-height: 1.5; }
.step a { color: var(--accent); font-weight: 600; text-decoration: none; }
.step a:hover { text-decoration: underline; }
.step-arrow {
    display: inline-block; margin-top: 8px; padding: 6px 14px;
    background: rgba(255,255,255,0.05); color: var(--accent) !important;
    border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none !important;
    border: 1px solid var(--border);
}
.step-arrow:hover { background: rgba(255,255,255,0.08); }

.remark {
    margin-top: 14px; padding: 12px 16px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    font-size: 13px; color: var(--text3); line-height: 1.6;
}
.remark strong { color: var(--text2); text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }

/* ── VPN grid ── */
.vpn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.vpn-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    padding: 16px; transition: all 0.15s; text-decoration: none; color: inherit; display: block;
}
.vpn-card:hover { background: var(--surface-hover); border-color: var(--border-hover); transform: translateY(-1px); }
.vpn-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.vpn-name { font-weight: 700; font-size: 15px; }
.badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; }
.badge-free { background: rgba(34,197,94,0.1); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.badge-bot { background: rgba(255,255,255,0.05); color: var(--text2); border: 1px solid var(--border); }
.vpn-desc { font-size: 13px; color: var(--text3); margin-bottom: 10px; line-height: 1.4; }
.vpn-link { color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 600; }
.vpn-link:hover { text-decoration: underline; }
.vpn-card-bot { border-style: dashed; }

.vpn-bot-block { margin-top: 14px; text-align: center; }
.vpn-bot-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; color: var(--text3); }
.vpn-bot-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 14px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px;
    color: var(--text); transition: all 0.15s;
}
.vpn-bot-btn:hover { background: var(--surface-hover); border-color: var(--border-hover); }

/* ── Contacts ── */
.contacts-block { margin: 36px 0; }
.contacts-list { display: grid; gap: 6px; }
.contact-item {
    display: block; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none;
    color: var(--text); transition: all 0.15s; cursor: pointer;
}
a.contact-item:hover { background: var(--surface-hover); border-color: var(--border-hover); }

/* ── Divider ── */
.sep { text-align: center; margin: 32px 0; position: relative; }
.sep::before {
    content: ''; position: absolute; left: 20%; right: 20%; top: 50%; height: 1px;
    background: var(--border);
}
.sep span { padding: 0 14px; position: relative; color: var(--text3); font-size: 14px; letter-spacing: 4px; }

/* ── Footer ── */
footer { text-align: center; padding: 32px 0; margin-top: 36px; border-top: 1px solid var(--border); }
.footer-logo { font-weight: 700; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--text3); margin-bottom: 4px; }
footer p { color: var(--text3); font-size: 13px; }

/* ── Toast ── */
.toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
    background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 10px;
    font-weight: 700; font-size: 14px; z-index: 100001; transition: transform 0.3s; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Responsive: Tablet ── */
@media (max-width: 768px) {
    .container { padding: 0 18px; }
    header { padding: 40px 0 28px; }
    .vpn-grid { gap: 6px; }
    .vpn-card { padding: 14px; }
    .vpn-name { font-size: 14px; }
    .vpn-desc { font-size: 12px; }
}

/* ── Responsive: Phone ── */
@media (max-width: 520px) {
    .container { padding: 0 14px; }
    header { padding: 32px 0 22px; }
    .logo-text { font-size: 12px; letter-spacing: 2px; padding-bottom: 8px; }
    h1 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
    .subtitle { font-size: 14px; line-height: 1.5; }
    section { margin: 24px 0; }
    .section-tag { font-size: 11px; letter-spacing: 1.5px; }
    h2 { font-size: 18px; margin-bottom: 8px; }
    .section-desc { font-size: 14px; margin-bottom: 12px; }
    .alert { flex-direction: column; gap: 6px; padding: 12px 14px; }
    .alert-icon { font-size: 18px; }
    .alert h3 { font-size: 14px; }
    .alert p { font-size: 13px; }
    .btn-big { padding: 16px; font-size: 15px; border-radius: 8px; }
    .tabs { border-radius: 6px; }
    .tab { padding: 9px; font-size: 13px; }
    .step { flex-direction: column; gap: 8px; padding: 14px; }
    .step-n { width: 28px; height: 28px; font-size: 12px; }
    .step h3 { font-size: 14px; }
    .step p { font-size: 13px; line-height: 1.5; }
    .step-arrow { font-size: 12px; padding: 5px 12px; }
    .remark { padding: 10px 12px; font-size: 12px; }
    .vpn-grid { grid-template-columns: 1fr; gap: 6px; }
    .vpn-card { padding: 14px; }
    .vpn-top { margin-bottom: 4px; }
    .vpn-name { font-size: 14px; }
    .vpn-desc { font-size: 12px; margin-bottom: 8px; line-height: 1.4; }
    .vpn-link { font-size: 12px; }
    .badge { font-size: 9px; padding: 2px 6px; }
    .vpn-bot-btn { padding: 12px; font-size: 14px; }
    .sep { margin: 20px 0; }
    .sep span { font-size: 12px; }
    footer { padding: 22px 0; margin-top: 24px; }
    .footer-logo { font-size: 11px; letter-spacing: 2px; }
    footer p { font-size: 12px; }
    .contact-item { padding: 12px 14px; font-size: 13px; }
    .contacts-block { margin: 24px 0; }
    .toast { font-size: 13px; padding: 10px 20px; border-radius: 8px; bottom: 16px; }
}

/* ── Responsive: Small phone ── */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    header { padding: 24px 0 18px; }
    .logo-text { font-size: 11px; letter-spacing: 1.5px; }
    h1 { font-size: 19px; }
    .subtitle { font-size: 13px; }
    .btn-big { font-size: 14px; padding: 14px; }
    .step { padding: 12px; }
    .vpn-card { padding: 12px; }
}
