/* Telegram VPN — telegramvpn24.site
   Theme: NEON / NIGHT / 24-7 cyber dark
   Fonts: Onest (display) + Inter Tight (body)
*/

:root {
  --primary: #00E5FF;          /* neon cyan */
  --primary-2: #00B8D4;
  --accent: #FF6B9D;           /* pink contrast */
  --accent-2: #FF3D7F;
  --bg: #0A1628;               /* deep navy night */
  --bg-alt: #0F1F35;
  --bg-card: rgba(15,31,53,.7);
  --bg-card-solid: #122644;
  --text: #E0EAFF;
  --text-muted: #93A4C4;
  --border: rgba(0, 229, 255, .12);
  --border-hover: rgba(0, 229, 255, .35);
  --grad: linear-gradient(135deg, #00E5FF 0%, #FF6B9D 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,229,255,.18) 0%, rgba(255,107,157,.18) 100%);
  --shadow-neon: 0 0 0 1px rgba(0,229,255,.25), 0 12px 40px -8px rgba(0,229,255,.25);
  --shadow-pink: 0 12px 40px -8px rgba(255,107,157,.4);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 15% -10%, rgba(0,229,255,.10) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 110%, rgba(255,107,157,.08) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: 'Onest', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { color: var(--text-muted); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER (dark sticky) ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10,22,40,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background .25s, box-shadow .25s;
}

.header.scrolled {
  background: rgba(10,22,40,.95);
  box-shadow: 0 4px 30px rgba(0,229,255,.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Onest', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--primary); }
.logo img { width: 38px; height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width .25s;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-links a.nav-cta {
  background: var(--grad);
  color: #000000;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 22px -6px rgba(0,229,255,.6);
  transition: transform .2s, box-shadow .2s;
}
.nav-links a.nav-cta:hover {
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px rgba(255,107,157,.55);
}

.burger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  gap: 5px;
  padding: 8px 6px;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s;
}

/* mobile-nav */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  padding: 90px 28px 30px;
  transform: translateX(110%);
  transition: transform .3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.btn { border-bottom: 0; margin-top: 14px; text-align: center; }
.close-btn {
  position: absolute;
  top: 22px; right: 22px;
  background: transparent;
  border: 0;
  color: var(--primary);
  font-size: 28px;
  cursor: pointer;
}

/* ===== BUTTONS (gradient) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  transition: transform .2s, box-shadow .25s, filter .2s;
  letter-spacing: 0.005em;
}
.btn-primary {
  background: var(--grad);
  color: #00121C;
  box-shadow: 0 10px 30px -8px rgba(0,229,255,.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(255,107,157,.55);
  filter: saturate(1.1);
  color: #00121C;
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(0,229,255,.4);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(0,229,255,.06);
  color: var(--primary);
}
.btn-arrow::after {
  content: '→';
  font-size: 1.1em;
  transition: transform .2s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== HERO with diagonal skew bottom ===== */
.hero {
  position: relative;
  padding: 80px 0 130px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(0,229,255,.16), transparent 40%),
    radial-gradient(circle at 75% 65%, rgba(255,107,157,.12), transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -10%;
  right: -10%;
  height: 130px;
  background: var(--bg-alt);
  transform: skewY(-3deg);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-soft);
  border: 1px solid rgba(0,229,255,.3);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero h1 .glow {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 24px 0 36px;
  max-width: 580px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-row span {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-row span strong {
  color: var(--primary);
  font-weight: 700;
}

/* hero visual: terminal-card */
.hero-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  position: relative;
  box-shadow: var(--shadow-neon);
}
.hero-visual::before {
  content: '';
  position: absolute;
  top: -1px; left: 30px; right: 30px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.term-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.term-head i {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.term-head i:nth-child(1) { background: #FF6B9D; }
.term-head i:nth-child(2) { background: #FFD23F; }
.term-head i:nth-child(3) { background: #00E5FF; }
.term-head span {
  margin-left: 14px;
  font-family: 'Inter Tight', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.term-line {
  font-family: 'Inter Tight', monospace;
  font-size: 0.92rem;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.term-line::before {
  content: '> ';
  color: var(--primary);
  font-weight: 700;
}
.term-line.ok strong { color: var(--primary); }
.term-line.warn strong { color: var(--accent); }
.term-cta {
  margin-top: 22px;
  display: block;
  text-align: center;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-alt);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-cell {
  text-align: center;
  position: relative;
}
.stat-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px; top: 20%;
  width: 1px; height: 60%;
  background: var(--border);
}
.stat-num {
  display: block;
  font-family: 'Onest', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== SECTIONS (all dark) ===== */
.section {
  padding: 100px 0;
  position: relative;
}
.section.section-deep { background: var(--bg-alt); }

.section-eyebrow {
  display: block;
  font-family: 'Onest', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 700;
}
.section-title {
  max-width: 780px;
  margin-bottom: 16px;
}
.section-subtitle {
  max-width: 700px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 50px;
}

/* ===== FEATURE CARDS — left vertical gradient stripe ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  position: relative;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 30px 36px;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 18px 50px -16px rgba(0,229,255,.28);
}
.feat-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.feat-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}
.feat-card p {
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ===== PLATFORMS ===== */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all .25s;
}
.plat-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -12px rgba(0,229,255,.35);
  color: var(--text);
}
.plat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,229,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: background .25s;
}
.plat-card:hover .plat-icon {
  background: var(--grad);
  color: #00121C;
}
.plat-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.plat-card p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }

/* ===== WHY (text block) ===== */
.prose p {
  font-size: 1.02rem;
  margin-bottom: 18px;
  color: var(--text-muted);
}
.prose p strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== USE CASES (cards 2 col with icon left) ===== */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.use-card {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 28px 28px 28px 36px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.use-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
}
.use-card .feat-icon { flex-shrink: 0; margin-bottom: 0; }
.use-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.use-card p { font-size: 0.95rem; }

/* ===== PRICE — minimalist row ===== */
.price-row {
  margin: 0 auto;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0,229,255,.05), rgba(255,107,157,.05)),
    var(--bg-card-solid);
  flex-wrap: wrap;
}
.price-row .price-main {
  font-family: 'Onest', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}
.price-row .price-main .free {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-row .price-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  margin: 0 auto;
  padding: 80px 0;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  background:
    radial-gradient(ellipse at top left, rgba(0,229,255,.18), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(255,107,157,.18), transparent 55%),
    var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}
.cta-inner h2 {
  margin-bottom: 14px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.cta-inner p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card-solid);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 10px 30px -12px rgba(0,229,255,.3);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 28px;
  text-align: left;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 28px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ===== FOOTER (two-level) ===== */
.footer {
  background: #06101D;
  border-top: 1px solid var(--border);
  padding-top: 50px;
}
.footer-top {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-top .logo { font-size: 1.1rem; }
.footer-top nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-top nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-top nav a:hover { color: var(--primary); }

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
}
.footer-bottom .eng {
  display: block;
  margin-top: 6px;
  opacity: .55;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* ===== ANIM (slide-in from sides) ===== */
.slide-in-left, .slide-in-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
.slide-in-left { transform: translateX(-40px); }
.slide-in-right { transform: translateX(40px); }
.slide-in-left.in, .slide-in-right.in {
  opacity: 1;
  transform: translateX(0);
}

/* ===== INSTRUKTSIYA-only ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.step-card {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
}
.step-num {
  font-family: 'Onest', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.step-card p { margin-bottom: 14px; }

.after-pay {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { padding: 60px 0 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { order: 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .stat-cell:not(:last-child)::after { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .uses-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .header .container { height: 68px; }
  .hero { padding: 50px 0 100px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .feat-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { padding: 40px 22px; }
  .price-row { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .section { padding: 60px 0; }
  .section-subtitle { margin-bottom: 36px; }
  .step-card { padding: 28px 22px; }
  .after-pay { padding: 28px 22px; }
}
