:root {
  --bg: #06060d;
  --bg2: #0b0b18;
  --cyan: #00d4ff;
  --purple: #7c3aed;
  --tg: #229ED9;
  --glow: 0 0 40px rgba(0,212,255,0.35);
  --card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: #eef1f8;
  overflow-x: hidden;
}

.app-root { position: relative; min-height: 100vh; }

/* Animated background */
.bg-mesh { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.blob1 { width: 500px; height: 500px; background: var(--cyan); top: -120px; left: -80px; animation: float1 16s ease-in-out infinite; }
.blob2 { width: 560px; height: 560px; background: var(--purple); bottom: -160px; right: -100px; animation: float2 20s ease-in-out infinite; }
.blob3 { width: 400px; height: 400px; background: var(--tg); top: 40%; left: 55%; opacity: 0.3; animation: float3 24s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(80px,60px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-70px,-50px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,40px) scale(1.15)} }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

section, header, nav, footer { position: relative; z-index: 1; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all .3s; }
.nav-scrolled { background: rgba(6,6,13,0.75); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-mark {
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 20px;
  padding: 6px 10px; border-radius: 12px; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #04040a; box-shadow: var(--glow);
}
.logo-mark.small { font-size: 16px; padding: 5px 8px; }
.brand-word { font-family: 'JetBrains Mono', monospace; font-weight: 300; letter-spacing: 4px; font-size: 16px; color: #cdd6f4; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { cursor: pointer; color: #b9c1d9; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--cyan); }

.lang-toggle { display: flex; background: rgba(255,255,255,0.06); border-radius: 20px; padding: 3px; border: 1px solid var(--border); }
.lang-toggle.center { margin: 6px auto; }
.lang-toggle button { border: none; background: transparent; color: #99a0bb; padding: 5px 12px; border-radius: 16px; cursor: pointer; font-size: 13px; font-weight: 600; transition: all .2s; }
.lang-toggle button.active { background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #04040a; }

/* GitHub button */
.gh-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: linear-gradient(135deg, #24292e, #0d1117);
  color: #fff; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 12px 22px;
  font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: all .25s; box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}
.gh-btn:hover { transform: translateY(-2px) scale(1.03); border-color: var(--cyan); box-shadow: 0 10px 36px rgba(0,212,255,0.35); }
.gh-btn.small { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.gh-btn.big { padding: 16px 32px; font-size: 17px; border-radius: 16px; }
.gh-ic { width: 20px; height: 20px; }

/* Telegram button */
.tg-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff; border: none; border-radius: 14px; padding: 12px 22px;
  font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: all .25s; box-shadow: 0 6px 24px rgba(34,158,217,0.45);
}
.tg-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 40px rgba(34,158,217,0.7); }
.tg-btn.small { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.tg-btn.big { padding: 16px 32px; font-size: 17px; border-radius: 16px; }

/* Primary (cyan/purple) button */
.primary-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #04040a; border: none; border-radius: 14px; padding: 12px 22px;
  font-family: inherit; font-weight: 800; font-size: 15px; cursor: pointer;
  transition: all .25s; box-shadow: 0 6px 28px rgba(0,212,255,0.4);
}
.primary-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 40px rgba(0,212,255,0.6); }
.primary-btn.big { padding: 16px 34px; font-size: 17px; border-radius: 16px; }

/* PROXY GRID */
.proxy-sec { max-width: 1200px; margin: 0 auto; padding: 60px 24px 40px; text-align: center; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 40px; max-width: 900px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: #b9c1d9;
  padding: 8px 14px; border-radius: 30px; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600; transition: all .2s;
}
.filter-chip:hover { border-color: rgba(0,212,255,0.4); color: #fff; }
.filter-chip.active { background: linear-gradient(135deg, rgba(0,212,255,0.18), rgba(124,58,237,0.18)); border-color: var(--cyan); color: #fff; }
.chip-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }

.proxy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proxy-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 22px;
  padding: 22px; text-align: start; backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(40px); transition: all .6s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; gap: 14px;
}
.proxy-sec.reveal .proxy-card { opacity: 1; transform: translateY(0); }
.proxy-card:hover { border-color: rgba(0,212,255,0.35); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,212,255,0.1); }
.proxy-top { display: flex; align-items: center; gap: 12px; }
.flag { width: 44px; height: 30px; object-fit: cover; border-radius: 6px; box-shadow: 0 3px 10px rgba(0,0,0,0.5); flex-shrink: 0; border: 1px solid rgba(255,255,255,0.15); }
.proxy-titles { flex: 1; min-width: 0; }
.proxy-country { font-weight: 700; font-size: 18px; color: #eef1f8; }
.proxy-city { font-size: 13px; color: #8a92b2; font-weight: 200; }
.online-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: #10b981; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); padding: 4px 9px; border-radius: 20px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; animation: pulse 1.8s infinite; }
.proxy-addr { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.proxy-addr code { font-family: 'JetBrains Mono', monospace; font-size: 15px; color: var(--cyan); letter-spacing: 0.5px; direction: ltr; }
.proxy-type-pill { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: #cbb6ff; background: rgba(124,58,237,0.18); border: 1px solid rgba(124,58,237,0.4); padding: 3px 9px; border-radius: 8px; flex-shrink: 0; }
.proxy-desc { color: #9aa3c2; font-size: 14px; line-height: 1.6; font-weight: 200; margin: 0; }
.proxy-metrics { display: flex; align-items: flex-end; gap: 16px; }
.metric { flex: 1; }
.metric.ping { flex: 0 0 auto; text-align: end; }
.metric-label { font-size: 11px; color: #7c8299; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.speed-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.08); border-radius: 6px; overflow: hidden; margin-bottom: 5px; }
.speed-fill { height: 100%; border-radius: 6px; transition: width .8s ease; }
.metric-val { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 700; color: #dfe4f5; }
.copy-proxy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.3);
  color: var(--cyan); border-radius: 12px; padding: 12px; font-family: inherit;
  font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s;
}
.copy-proxy-btn:hover { background: rgba(0,212,255,0.16); transform: translateY(-2px); }
.copy-proxy-btn.ok { background: linear-gradient(135deg,#10b981,#059669); border-color: transparent; color: #fff; }
.copy-ic { width: 17px; height: 17px; }

.ghost-btn {
  background: transparent; color: #dfe4f5; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 16px 30px; font-family: inherit; font-weight: 600;
  font-size: 17px; cursor: pointer; transition: all .25s; backdrop-filter: blur(6px);
}
.ghost-btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.ghost-btn:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 24px rgba(0,212,255,0.2); }
.ghost-btn.ok { background: linear-gradient(135deg,#10b981,#059669); border-color: transparent; color: #fff; }

/* Hamburger */
.hamburger { background: none; border: none; display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 26px; height: 2.5px; background: #dfe4f5; border-radius: 2px; }
.mobile-menu { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px 28px; background: rgba(6,6,13,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.mobile-menu a { color: #cdd6f4; cursor: pointer; font-size: 17px; text-align: center; }
.desktop-only { display: flex; }
.mobile-only { display: none; }

/* HERO */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 60px; }
.hero-content { max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #a9b2d4;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 20px; margin-bottom: 28px; backdrop-filter: blur(6px);
  animation: fadeUp .8s ease both;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(56px, 13vw, 140px); line-height: 0.95; letter-spacing: -2px;
  background: linear-gradient(120deg, #fff 10%, var(--cyan) 45%, var(--purple) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(0,212,255,0.25);
  animation: fadeUp .8s .1s ease both;
}
.hero-sub { font-size: clamp(16px, 2.5vw, 22px); color: #b3bbd8; margin: 26px auto 40px; max-width: 640px; line-height: 1.7; font-weight: 200; animation: fadeUp .8s .2s ease both; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeUp .8s .3s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

.scroll-ind { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: #6b7397; font-size: 12px; cursor: pointer; letter-spacing: 1px; }
.chevron { width: 12px; height: 12px; border-right: 2px solid #6b7397; border-bottom: 2px solid #6b7397; transform: rotate(45deg); animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100%{transform:rotate(45deg) translate(0,0)} 50%{transform:rotate(45deg) translate(4px,4px)} }

/* STATS */
.stats-strip { max-width: 1100px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 26px 16px; text-align: center; backdrop-filter: blur(10px); transition: all .3s; }
.stat-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); }
.stat-num { font-family: 'JetBrains Mono', monospace; font-size: clamp(28px, 5vw, 42px); font-weight: 700; background: linear-gradient(120deg, var(--cyan), var(--purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-suffix { font-size: 0.6em; }
.stat-label { color: #97a0c0; font-size: 14px; margin-top: 8px; font-weight: 200; }

/* FEATURES */
.features-sec { max-width: 1150px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.sec-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(32px, 6vw, 54px); font-weight: 800; letter-spacing: -1px; background: linear-gradient(120deg,#fff,var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-sub { color: #97a0c0; margin: 14px auto 50px; font-size: 17px; font-weight: 200; max-width: 500px; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 22px;
  padding: 32px 26px; text-align: start; backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(40px); transition: all .6s cubic-bezier(.16,1,.3,1);
  position: relative; overflow: hidden;
}
.features-sec.reveal .feat-card { opacity: 1; transform: translateY(0); }
.feat-card:hover { border-color: rgba(0,212,255,0.35); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,212,255,0.1); }
.feat-ic-wrap { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.15)); border: 1px solid var(--border); }
.feat-ic { width: 30px; height: 30px; color: var(--cyan); }
.feat-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #eef1f8; }
.feat-card p { color: #9aa3c2; font-size: 15px; line-height: 1.7; font-weight: 200; }

/* CTA */
.cta-sec { max-width: 1000px; margin: 0 auto; padding: 40px 24px 90px; opacity: 0; transform: translateY(40px); transition: all .7s cubic-bezier(.16,1,.3,1); }
.cta-sec.reveal { opacity: 1; transform: translateY(0); }
.cta-card {
  position: relative; text-align: center; padding: 60px 30px;
  background: linear-gradient(135deg, rgba(34,158,217,0.12), rgba(124,58,237,0.12));
  border: 1px solid rgba(0,212,255,0.25); border-radius: 32px; backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5); overflow: hidden;
}
.cta-tg-ic { width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%; background: linear-gradient(135deg,#2AABEE,#229ED9); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(34,158,217,0.5); animation: floaty 3s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.cta-tg { width: 42px; height: 42px; color: #fff; }
.tg-handle { color: #6cd0ff !important; border-color: rgba(42,171,238,0.5) !important; }
.tg-handle:hover { background: rgba(42,171,238,0.1) !important; box-shadow: 0 0 24px rgba(42,171,238,0.25) !important; }
.cta-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -1px; }
.cta-sub { color: #a9b2d4; margin: 12px 0 24px; font-weight: 200; font-size: 17px; }
.repo-box { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: clamp(15px,3vw,22px); font-weight: 700; color: var(--cyan); padding: 10px 24px; border: 1px dashed rgba(0,212,255,0.4); border-radius: 14px; cursor: pointer; margin-bottom: 30px; transition: all .2s; text-decoration: none; direction: ltr; }
.repo-box:hover { background: rgba(0,212,255,0.08); box-shadow: 0 0 24px rgba(0,212,255,0.2); }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 50px 24px 40px; text-align: center; background: rgba(6,6,13,0.6); backdrop-filter: blur(10px); }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.foot-tag { color: #8a92b2; font-weight: 200; margin-bottom: 22px; }
.foot-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 22px; }
.foot-links a { color: #b9c1d9; cursor: pointer; font-size: 15px; transition: color .2s; text-decoration: none; }
.foot-links a:hover { color: var(--cyan); }
.foot-gh { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: #dfe4f5; font-family: 'JetBrains Mono', monospace; font-weight: 700; padding: 10px 20px; border-radius: 14px; cursor: pointer; transition: all .25s; margin-bottom: 24px; text-decoration: none; direction: ltr; }
.foot-gh:hover { background: rgba(0,212,255,0.15); border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.foot-gh.tg:hover { background: rgba(34,158,217,0.18); border-color: var(--tg); color: #6cd0ff; }
.foot-gh .gh-ic { width: 18px; height: 18px; }
.rights { color: #6b7397; font-size: 13px; font-weight: 200; margin-bottom: 10px; }
.remix { color: #7c8299; font-size: 13px; text-decoration: none; border-bottom: 1px dotted #7c8299; }
.remix:hover { color: var(--cyan); border-color: var(--cyan); }

/* Responsive */
@media (max-width: 980px) {
  .proxy-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .desktop-only { display: none; }
  .mobile-only { display: flex; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .proxy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .cta-card { padding: 44px 20px; }
}
</parameter>
</invoke>