:root {
    --brand:#183728;
    --brand-dark:#2f725a;
    --text:#101114;
    --muted:#5a6073;
    --bg:#ffffff;
    --bg-alt:#f6f7fb;
    --card:#ffffff;
    --ring: rgba(125, 223, 142, 0.25);
    --shadow: 0 10px 25px rgba(16,17,20,.08), 0 2px 6px rgba(16,17,20,.03);
    --radius: 16px;
}
    
* { box-sizing: border-box; }
html,body { margin:0; padding:0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif; color:var(--text); background:var(--bg);}
a { color: var(--brand); text-decoration: none; }
img { max-width:100%; height:auto; }
.container { width: min(1200px, 92%); margin: 0 auto; }
header { position: sticky; top:0; backdrop-filter: saturate(180%) blur(12px); background: rgba(255,255,255,.8); border-bottom:1px solid #eee; z-index: 50;}
.nav { display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:16px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:700; font-size:20px; }
.brand img { width:34px; height:34px; }
.navlinks { display:flex; gap:22px; align-items:center; }
.navlinks a { color:var(--text); opacity:.9; font-weight:500; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:700; border:0; padding:12px 18px; border-radius:999px; cursor:pointer; transition:.2s ease; }
.btn.primary { background:var(--brand); color:white; box-shadow: 0 8px 20px var(--ring); }
.btn.primary:hover { background: var(--brand-dark); transform: translateY(-1px);}
.btn.ghost { background: transparent; border: 1px solid #ddd; }
.btn.ghost2 { display: none; }
.mobile-toggle { display:none; }
@media (max-width:900px) { .navlinks { display:none; } .mobile-toggle { display:inline-flex; } .btn.ghost2 { display:inline-flex; margin-bottom:20px; background:transparent; border:1px solid #ddd; } }

/* Hero */
.hero { padding: 72px 0 36px; background: linear-gradient(180deg, rgba(5, 235, 5, 0.08), transparent); }
.hero .grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items:center; }
.headline { font-size: clamp(32px, 4.5vw, 56px); line-height:1.05; letter-spacing:-.02em; margin: 0 0 12px; }
.subhead { color:var(--muted); font-size: clamp(16px, 1.6vw, 18px); }
.hero-card { background:var(--card); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.badges { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.badge { background: var(--bg-alt); color: var(--text); padding:8px 12px; border-radius: 999px; font-weight:600; font-size:13px; } 
@media (max-width:900px) { .hero .grid { grid-template-columns: 1fr; } }

/* Vpn row */
.vpn-row { display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:center; padding: 10px 0 36px; color: var(--muted);}
.vpn-row img { height:26px; opacity:.8; }

/* Tariffs */
.section2 { padding: 56px 0; }
.section2 h2 { font-size: clamp(26px, 3vw, 36px); margin:0 0 16px; }
.section2 p.lead { color:var(--muted); }
.cards2 { margin-top:26px; display:grid; gap:18px; grid-template-columns: repeat(4, 1fr); }
.card2 { background:var(--card); padding:22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.card2 ul { display: inline; list-style-type: none; }
.card2 li { padding: 8px 0; line-height: 1.5; border-bottom: 1px solid #e9ecef; text-align: center; color: var(--muted); font-size: clamp(16px, 1.6vw, 16px); }
.card2 li:last-of-type { border-bottom: none; }
.card2 a { margin: 30px 0 5px; padding: 12px 30px; border: var(--brand) solid 1px !important; }
.icon2 h3 { margin:0; font-size: 1.75rem; font-weight: 500; text-align: center; }
.icon3 h3 { margin:0; padding: 32px 0 0; font-size: 2rem; font-weight: 400; text-align: center; }
@media (max-width:900px) { .cards2 { grid-template-columns: 1fr; } }

/* Features */
.section { padding: 56px 0; }
.section h2 { font-size: clamp(26px, 3vw, 36px); margin:0 0 16px; }
.section p.lead { color:var(--muted); }
.cards { margin-top:26px; display:grid; gap:18px; grid-template-columns: repeat(3, 1fr); }
.card { background:var(--card); padding:22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.card h3 { margin:10px 0 8px; }
.icon { width:28px; height:28px; display:inline-block; }
@media (max-width:900px) { .cards { grid-template-columns: 1fr; } }

/* Stats */
.stats { background: var(--bg-alt); border-radius: var(--radius); display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; padding:22px; margin-top:24px; }
.stat { text-align:center; padding:10px; }
.stat b { font-size: 28px; display:block; }
@media (max-width:900px) { .stats { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { background: linear-gradient(180deg, transparent, rgba(107,74,243,.06)); }
.plans { margin-top:24px; display:grid; gap:18px; grid-template-columns: repeat(3, 1fr); }
.plan { background:var(--card); padding:26px; border-radius: var(--radius); box-shadow: var(--shadow); position:relative; overflow:hidden; }
.plan .ribbon { position:absolute; top:14px; right:-40px; transform:rotate(35deg); background:var(--brand); color:#fff; padding:6px 48px; font-weight:800; font-size:12px; }
.plan h3 { margin:3px 0 6px; }
.price { font-size:34px; font-weight:900; }
.features { color: var(--muted); margin:12px 0 16px; padding:0; list-style:none; }
.features li { margin:8px 0; display:flex; gap:10px; align-items:flex-start; }
.features svg { flex: 0 0 18px; }
@media (max-width:900px) { .plans { grid-template-columns: 1fr; } }

/* Platforms */
.platforms ul { display:flex; flex-wrap:wrap; gap:12px; padding:0; list-style:none; }
.pill { border:1px solid #e5e7ee; padding:10px 14px; border-radius: 999px; font-weight:600; }

/* FAQ */
details { background:#fff; border:1px solid #eee; border-radius:12px; padding:14px 18px; box-shadow: var(--shadow); }
details + details { margin-top:12px; }
summary { cursor:pointer; font-weight:700; }
summary::-webkit-details-marker { display:none; }

    /* Footer */
footer { background: #0f0f14; color:#d8dbec; }
footer a { color:#9aa1b2; }
.footergrid { display:grid; gap:24px; grid-template-columns: 2fr 1fr 1fr; padding: 36px 0; }
.small { color:#9aa1b2; font-size:14px; }
@media (max-width:900px) { .footergrid { grid-template-columns: 1fr; } }

/* Telegram button */
.tg-button { position:fixed; bottom:100px; right:25px; width:60px; height:60px; background:#229ED9; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 25px rgba(0,0,0,0.25); animation:pulse 2s infinite; z-index:9999; }
.tg-button svg { width:28px; height:28px; }
@keyframes pulse { 0% { transform:scale(1); box-shadow:0 0 0 0 rgba(34,158,217,0.7); } 70% { transform:scale(1.1); box-shadow:0 0 0 18px rgba(34,158,217,0); } 100% { transform:scale(1); box-shadow:0 0 0 0 rgba(34,158,217,0); } }
    
/* Modal */
.modal { display:none; position:fixed; z-index:9999; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.6); justify-content:center; align-items:center; }
.modal-content { background:#fff; padding:30px; border-radius:12px; width:90%; max-width:400px; text-align:center; position:relative; animation:popup .3s ease; }
.modal-content h2 { font-weight: 500; }
@keyframes popup { from{transform:scale(.8);opacity:0} to{transform:scale(1);opacity:1 } }
.close { position:absolute; top:10px; right:15px; font-size:24px; cursor:pointer; }
input[type="email"] { width:100%; padding:12px; margin-top:15px; border-radius:6px; border:#ddd 2px solid; }
input[type="email"]:active { border:var(--brand) 2px solid; }
input[type="checkbox"] { accent-color:var(--brand); }
.checkbox { display:flex; gap: 8px; }
.checkbox p { margin: 0; margin-top: 18px; font-size: 14px; text-align: left; }
.checkbox a { padding: 0; text-decoration: underline; border: 0 !important; }
.submit-btn { margin-top:20px; width:100%; padding:14px; background:var(--brand); color:white; border:none; border-radius:8px; cursor:pointer; font-size:16px; }
.submit-btn:hover { background:var(--brand-dark); }