/* ============================================
   TORIK PLATFORM — Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #050510;
    --bg-secondary: #0c0c20;
    --bg-card: #12122a;
    --bg-card-hover: #1a1a3a;
    --bg-surface: #161638;
    --accent-1: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #22d3ee;
    --accent-4: #a78bfa;
    --gradient-main: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    --gradient-card: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.08));
    --text-primary: #e8eaf6;
    --text-secondary: #8b92b0;
    --text-muted: #555a7a;
    --border-subtle: rgba(255,255,255,0.05);
    --border-light: rgba(255,255,255,0.08);
    --shadow-card: 0 4px 32px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-height: 70px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-1); border-radius: 3px; }

/* ============================================
   BACKGROUND
   ============================================ */
.bg-effects { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.bg-orb { position: absolute; border-radius: 50%; filter: blur(100px); animation: orbFloat 20s ease-in-out infinite; }
.bg-orb--1 { width: 600px; height: 600px; background: var(--accent-1); top: -200px; right: -200px; opacity: 0.07; animation-duration: 25s; }
.bg-orb--2 { width: 400px; height: 400px; background: var(--accent-2); bottom: -100px; left: -100px; opacity: 0.06; animation-duration: 30s; animation-delay: -5s; }
.bg-orb--3 { width: 300px; height: 300px; background: var(--accent-3); top: 50%; left: 50%; opacity: 0.04; animation-duration: 22s; animation-delay: -10s; }

.bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    25% { transform: translate(30px,-40px) scale(1.05); }
    50% { transform: translate(-20px,20px) scale(0.95); }
    75% { transform: translate(40px,30px) scale(1.02); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); z-index: 1000;
    display: flex; align-items: center; justify-content: space-between; padding: 0 32px;
    background: rgba(5,5,16,0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle); transition: var(--transition);
}
.navbar.scrolled { background: rgba(5,5,16,0.92); box-shadow: 0 2px 30px rgba(0,0,0,0.5); }

.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px; cursor: pointer; }
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo .logo-text { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: var(--transition); }
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--accent-3); background: rgba(34,211,238,0.08); }

/* Auth button in navbar */
.nav-auth-btn {
    display: flex; align-items: center; gap: 6px; padding: 7px 16px;
    border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600;
    color: #fff; background: linear-gradient(135deg, var(--accent-3), var(--accent-1));
    border: none; cursor: pointer; transition: var(--transition); font-family: var(--font);
    margin-left: 8px; white-space: nowrap;
}
.nav-auth-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.nav-auth-btn.logged-in { background: rgba(255,255,255,0.08); color: var(--text-primary); border: 1px solid var(--border-subtle); }
.nav-auth-btn.logged-in:hover { border-color: var(--accent-3); color: var(--accent-3); }

/* Balance + Topup in navbar */
.nav-balance-group { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav-balance-display {
    display: flex; align-items: center; gap: 5px; padding: 6px 12px;
    background: rgba(255,255,255,0.06); border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle); font-size: 0.85rem; font-weight: 600;
    color: var(--accent-3); font-family: var(--font); white-space: nowrap;
}
.nav-balance-display svg { stroke: var(--accent-3); flex-shrink: 0; }
.nav-topup-btn {
    padding: 6px 14px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600;
    color: #fff; background: linear-gradient(135deg, #4ade80, #22d3ee);
    border: none; cursor: pointer; transition: var(--transition); font-family: var(--font);
    white-space: nowrap;
}
.nav-topup-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* Topup Modal */
.topup-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    z-index: 10000; display: flex; align-items: center; justify-content: center;
}
.topup-modal {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); width: 90%; max-width: 420px;
    overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.topup-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid var(--border-subtle);
}
.topup-modal-header h3 { margin: 0; font-size: 1.1rem; color: var(--text-primary); font-family: var(--font); }
.topup-close-btn {
    background: none; border: none; color: var(--text-muted); font-size: 1.5rem;
    cursor: pointer; line-height: 1; padding: 0 4px;
}
.topup-close-btn:hover { color: var(--text-primary); }
.topup-modal-body { padding: 24px; }
.topup-desc { color: var(--text-secondary); font-size: 0.9rem; margin: 0 0 16px 0; }
.topup-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.topup-preset {
    padding: 10px 0; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600;
    color: var(--text-primary); background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle); cursor: pointer; transition: var(--transition);
    font-family: var(--font);
}
.topup-preset:hover { border-color: var(--accent-3); color: var(--accent-3); background: rgba(34,211,238,0.08); }
.topup-custom { position: relative; margin-bottom: 16px; }
.topup-input {
    width: 100%; padding: 12px 40px 12px 16px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06); border: 1px solid var(--border-subtle);
    color: var(--text-primary); font-size: 1rem; font-family: var(--font);
    outline: none; box-sizing: border-box;
}
.topup-input:focus { border-color: var(--accent-3); }
.topup-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.topup-currency {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-weight: 600; font-size: 0.95rem;
}
.topup-error { color: #f87171; font-size: 0.85rem; margin-bottom: 12px; }
.topup-pay-btn {
    width: 100%; padding: 14px; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 700;
    color: #fff; background: linear-gradient(135deg, #4ade80, #22d3ee);
    border: none; cursor: pointer; transition: var(--transition); font-family: var(--font);
}
.topup-pay-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.topup-pay-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.topup-hint { color: var(--text-muted); font-size: 0.75rem; margin: 12px 0 0 0; text-align: center; }

@media (max-width: 768px) {
    .nav-balance-group { margin-left: 0; gap: 4px; }
    .nav-balance-display { padding: 5px 8px; font-size: 0.8rem; }
    .nav-topup-btn { padding: 5px 10px; font-size: 0.75rem; }
    .topup-presets { grid-template-columns: repeat(2, 1fr); }
}

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav-burger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile {
    display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: rgba(5,5,16,0.97); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center; gap: 8px; z-index: 999; padding: 32px;
}
.nav-mobile.open { display: flex; animation: fadeIn 0.3s ease; }
.nav-mobile .nav-link { font-size: 1.2rem; padding: 14px 32px; width: 100%; text-align: center; border-radius: var(--radius-md); }

/* ============================================
   PAGES
   ============================================ */
.page { display: none; min-height: 100vh; padding-top: var(--nav-height); position: relative; z-index: 1; }
.page.active { display: block; animation: pageIn 0.5s ease; }

@keyframes pageIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================
   HOME
   ============================================ */
.hero {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; min-height: calc(100vh - var(--nav-height)); padding: 60px 24px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 50px;
    background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2);
    font-size: 0.8rem; font-weight: 500; color: var(--accent-4); margin-bottom: 32px;
    animation: fadeIn 0.8s ease;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 { font-size: clamp(2.5rem,6vw,4.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 24px; animation: fadeIn 0.8s ease 0.1s both; }
.hero h1 .gradient-text { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: clamp(1rem,2vw,1.25rem); color: var(--text-secondary); max-width: 560px; margin-bottom: 48px; animation: fadeIn 0.8s ease 0.2s both; }

.services-section { padding: 0 24px 100px; max-width: 1100px; margin: 0 auto; }
.services-section h2 { text-align: center; font-size: 1rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 48px; }

.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

.service-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 36px 28px; cursor: pointer; overflow: hidden; transition: var(--transition);
}
.service-card::before { content: ''; position: absolute; inset: 0; background: var(--gradient-card); opacity: 0; transition: var(--transition); }
.service-card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: var(--shadow-card), var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }

.service-card__icon { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; position: relative; z-index: 1; }
.service-card__icon--twave { background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(99,102,241,0.15)); color: var(--accent-3); }
.service-card__icon--vpn { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(168,85,247,0.15)); color: var(--accent-2); }
.service-card__icon--market { background: linear-gradient(135deg, rgba(251,146,60,0.15), rgba(251,113,133,0.15)); color: #fb923c; }
.service-card__icon--passport { background: linear-gradient(135deg, rgba(52,211,153,0.15), rgba(34,211,238,0.15)); color: #34d399; }

.service-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.service-card__desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; position: relative; z-index: 1; }
.service-card__arrow {
    position: absolute; top: 28px; right: 28px; width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: var(--transition); z-index: 1;
}
.service-card:hover .service-card__arrow { background: rgba(255,255,255,0.08); color: var(--text-primary); transform: translate(2px,-2px); }

/* ============================================
   VPN — LOGIN
   ============================================ */
.vpn-overlay {
    display: flex; align-items: center; justify-content: center;
    min-height: calc(100vh - var(--nav-height)); padding: 24px;
}

.vpn-login-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
    padding: 48px 36px; max-width: 420px; width: 100%; text-align: center;
    box-shadow: var(--shadow-card); animation: fadeIn 0.5s ease;
}

.vpn-login-icon {
    width: 64px; height: 64px; border-radius: var(--radius-md); margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex; align-items: center; justify-content: center; color: white;
}
.vpn-login-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.vpn-login-card > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 28px; }

.vpn-login-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.vpn-login-form input {
    background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-sm);
    padding: 14px 16px; font-size: 1rem; color: var(--text-primary); outline: none;
    font-family: var(--font); text-align: center; transition: var(--transition);
}
.vpn-login-form input::placeholder { color: var(--text-muted); }
.vpn-login-form input:focus { border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }

.vpn-login-error { color: #f87171; font-size: 0.85rem; min-height: 20px; margin-bottom: 12px; }
.vpn-login-hint { color: var(--text-muted); font-size: 0.8rem; line-height: 1.5; }
.vpn-login-hint a { color: var(--accent-3); text-decoration: underline; }

/* Auth tabs */
.auth-tabs {
    display: flex; gap: 4px; background: var(--bg-surface); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm); padding: 3px; margin-bottom: 20px;
}
.auth-tab {
    flex: 1; padding: 8px 6px; border-radius: var(--radius-sm); font-size: 0.78rem;
    font-weight: 500; color: var(--text-secondary); transition: var(--transition);
    border: none; background: none; cursor: pointer; font-family: var(--font);
}
.auth-tab:hover { color: var(--text-primary); }
.auth-tab.active {
    background: var(--bg-card); color: var(--text-primary); font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Logout button */
.vpn-logout-btn {
    background: none; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
    color: var(--text-secondary); cursor: pointer; padding: 6px 8px; transition: var(--transition);
    display: flex; align-items: center;
}
.vpn-logout-btn:hover { color: #f87171; border-color: #f87171; }

/* ============================================
   VPN — DASHBOARD
   ============================================ */
.vpn-dashboard { max-width: 900px; margin: 0 auto; padding: 24px 20px 40px; }

.vpn-topbar {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
    padding: 16px 24px; margin-bottom: 20px;
}
.vpn-topbar__user { display: flex; align-items: center; gap: 12px; }
.vpn-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.vpn-topbar__name { font-weight: 600; font-size: 0.9rem; }
.vpn-topbar__status { font-size: 0.75rem; color: var(--text-muted); }
.vpn-topbar__balance {
    font-size: 1.2rem; font-weight: 700;
    background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Tabs */
.vpn-tabs {
    display: flex; gap: 4px; background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); padding: 4px; margin-bottom: 20px; overflow-x: auto;
}
.vpn-tab {
    flex: 1; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.85rem;
    font-weight: 500; color: var(--text-secondary); transition: var(--transition);
    white-space: nowrap; text-align: center;
}
.vpn-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.vpn-tab.active { color: white; background: var(--accent-1); }

.vpn-tab-content { display: none; animation: fadeIn 0.3s ease; }
.vpn-tab-content.active { display: block; }

/* Cards */
.vpn-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
    padding: 24px; margin-bottom: 16px;
}
.vpn-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.vpn-card__desc { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 16px; line-height: 1.5; }

/* Status */
.vpn-status-card { position: relative; overflow: hidden; }
.vpn-status-header { display: flex; align-items: center; justify-content: space-between; }
.vpn-status-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.vpn-status-value { font-size: 1.1rem; font-weight: 700; }
.vpn-status-indicator {
    width: 12px; height: 12px; border-radius: 50%; background: #555;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.vpn-status-indicator.active { background: #4ade80; box-shadow: 0 0 16px rgba(74,222,128,0.4); }
.vpn-status-indicator.expired { background: #f87171; box-shadow: 0 0 16px rgba(248,113,113,0.4); }
.vpn-status-expiry { color: var(--text-secondary); font-size: 0.85rem; margin-top: 12px; }

/* Key */
.vpn-key-box {
    display: flex; align-items: center; gap: 8px; background: var(--bg-surface);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 12px; margin-top: 12px;
}
.vpn-key-box code {
    flex: 1; font-size: 0.75rem; color: var(--accent-3); word-break: break-all;
    font-family: 'JetBrains Mono', 'Fira Code', monospace; line-height: 1.4;
}
.vpn-copy-btn {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: var(--transition);
}
.vpn-copy-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.vpn-copy-toast {
    font-size: 0.8rem; color: #4ade80; margin-top: 8px; opacity: 0; transition: opacity 0.3s;
}
.vpn-copy-toast.show { opacity: 1; }

/* Quick actions */
.vpn-quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 16px; }
.vpn-quick-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
    padding: 20px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
    cursor: pointer; transition: var(--transition); color: var(--text-secondary); font-size: 0.8rem; font-weight: 500;
}
.vpn-quick-card:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--border-light); transform: translateY(-2px); }

/* ============================================
   VPN — TARIFFS
   ============================================ */
.tariffs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }

.tariff-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
    padding: 32px 24px; text-align: center; position: relative; transition: var(--transition);
}
.tariff-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.tariff-card--popular { border-color: var(--accent-1); box-shadow: 0 0 30px rgba(99,102,241,0.12); }

.tariff-popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-main); padding: 4px 16px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.tariff-tag { font-size: 0.8rem; font-weight: 600; color: var(--accent-4); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.tariff-price { font-size: 2.5rem; font-weight: 900; letter-spacing: -2px; margin-bottom: 4px; }
.tariff-price span { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tariff-period { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 8px; }
.tariff-save { color: #4ade80; font-size: 0.8rem; font-weight: 500; margin-bottom: 16px; }

.tariff-features { list-style: none; text-align: left; margin-bottom: 24px; }
.tariff-features li {
    padding: 6px 0; font-size: 0.85rem; color: var(--text-secondary);
    display: flex; align-items: center; gap: 8px;
}
.tariff-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-1); flex-shrink: 0; }

.tariff-note { text-align: center; color: var(--text-muted); font-size: 0.8rem; }
.tariff-note a { color: var(--accent-3); text-decoration: underline; }

/* ============================================
   VPN — ROULETTE
   ============================================ */
.roulette-display { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
.roulette-slots { display: flex; gap: 12px; margin-bottom: 16px; }
.roulette-slot {
    width: 72px; height: 72px; border-radius: var(--radius-md);
    background: var(--bg-surface); border: 2px solid var(--border-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800; color: var(--accent-4);
    transition: all 0.2s ease;
}
.roulette-slot.spin { animation: slotSpin 0.1s ease infinite; border-color: var(--accent-1); }
.roulette-slot.win { border-color: #4ade80; color: #4ade80; background: rgba(74,222,128,0.08); }
.roulette-slot.lose { border-color: #f87171; color: #f87171; }
.roulette-result { font-size: 0.9rem; font-weight: 600; min-height: 24px; }

@keyframes slotSpin {
    0% { transform: translateY(-2px); }
    50% { transform: translateY(2px); }
    100% { transform: translateY(-2px); }
}

/* Referrals */
.referral-stats { display: flex; gap: 16px; margin-bottom: 16px; }
.referral-stat {
    flex: 1; background: var(--bg-surface); border-radius: var(--radius-sm);
    padding: 16px; text-align: center;
}
.referral-stat__value { font-size: 1.5rem; font-weight: 800; color: var(--accent-3); }
.referral-stat__label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

.referral-link-box {
    display: flex; align-items: center; gap: 8px; background: var(--bg-surface);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 12px;
}
.referral-link-box code { flex: 1; font-size: 0.8rem; color: var(--accent-3); word-break: break-all; }

.giveaway-msg { font-size: 0.85rem; color: var(--accent-4); margin-top: 12px; text-align: center; min-height: 20px; }

/* ============================================
   VPN — INSTRUCTIONS
   ============================================ */
.instructions-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

.instruction-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
    padding: 28px 24px;
}
.instruction-icon { width: 48px; height: 48px; margin-bottom: 16px; color: var(--accent-2); }
.instruction-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.instruction-card ol { padding-left: 20px; }
.instruction-card li { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 8px; line-height: 1.5; }
.instruction-card li strong { color: var(--text-primary); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
    overflow: hidden; transition: var(--transition);
}
.faq-item[open] { border-color: var(--border-light); }
.faq-item summary {
    padding: 14px 16px; font-size: 0.9rem; font-weight: 600; cursor: pointer;
    list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 1.2rem; color: var(--text-muted); transition: var(--transition);
}
.faq-item[open] summary::after { content: '-'; color: var(--accent-3); }
.faq-item p { padding: 0 16px 14px; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.faq-item p a { color: var(--accent-3); text-decoration: underline; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: block; width: auto; padding: 12px 24px; border-radius: var(--radius-sm);
    background: var(--gradient-main); color: white; font-weight: 600; font-size: 0.9rem;
    border: none; cursor: pointer; transition: var(--transition); text-align: center;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(99,102,241,0.3); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
    display: block; padding: 12px 24px; border-radius: var(--radius-sm);
    background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.3);
    color: var(--accent-4); font-weight: 600; font-size: 0.9rem; cursor: pointer;
    transition: var(--transition); text-align: center;
}
.btn-secondary:hover { background: rgba(99,102,241,0.15); border-color: var(--accent-1); }

.btn-block { display: block; width: 100%; }

/* ============================================
   PLACEHOLDER PAGES
   ============================================ */
.placeholder-page {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: calc(100vh - var(--nav-height)); text-align: center; padding: 24px; position: relative;
}
.placeholder-icon {
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
    display: flex; align-items: center; justify-content: center; margin-bottom: 32px;
    animation: placeholderFloat 6s ease-in-out infinite;
}
.placeholder-icon svg { width: 48px; height: 48px; color: var(--accent-1); opacity: 0.6; }
@keyframes placeholderFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.placeholder-text { font-size: clamp(1.3rem,3vw,1.8rem); font-weight: 600; color: var(--text-secondary); letter-spacing: 2px; }
.placeholder-text::after {
    content: ''; display: inline-block; width: 3px; height: 1.2em;
    background: var(--accent-1); margin-left: 4px; vertical-align: middle; animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.placeholder-sub { font-size: 0.9rem; color: var(--text-muted); margin-top: 12px; }

.placeholder-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.placeholder-particle {
    position: absolute; width: 3px; height: 3px; border-radius: 50%;
    background: var(--accent-1); opacity: 0; animation: particleRise 8s ease-in-out infinite;
}
@keyframes particleRise {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.5; }
    80% { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-20px) scale(1); }
}

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(80px);
    background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md);
    padding: 14px 28px; font-size: 0.9rem; font-weight: 500; color: var(--text-primary);
    box-shadow: var(--shadow-card); z-index: 9999; opacity: 0; transition: all 0.3s ease;
    pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================
   FOOTER
   ============================================ */
.footer { position: relative; z-index: 1; text-align: center; padding: 32px 24px; border-top: 1px solid var(--border-subtle); color: var(--text-muted); font-size: 0.8rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root { --nav-height: 60px; }
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .tariffs-grid { grid-template-columns: 1fr; gap: 14px; }
    .instructions-grid { grid-template-columns: 1fr; }
    .vpn-quick-grid { grid-template-columns: repeat(2,1fr); }
    .vpn-topbar { flex-direction: column; gap: 12px; text-align: center; }
    .vpn-topbar__user { justify-content: center; }
    .vpn-tabs { gap: 2px; padding: 3px; }
    .vpn-tab { padding: 8px 10px; font-size: 0.78rem; }
    .hero { padding: 40px 20px; }
    .hero h1 { letter-spacing: -1px; }
    .vpn-login-card { padding: 36px 24px; }
    .roulette-slot { width: 60px; height: 60px; font-size: 1.2rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .tariffs-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 400px) {
    .navbar { padding: 0 16px; }
}

/* ============================================
   UTILITIES
   ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
