@font-face { font-family: 'GostA'; src: url('fonts/GOST_A.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'GostA'; src: url('fonts/GOST_A.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'GostA'; src: url('fonts/GOST_A.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'GostA'; src: url('fonts/GOST_A.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'GostA'; src: url('fonts/GOST_A.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'GostA'; src: url('fonts/GOST_A.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }


/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0f;
  --bg2: #0f0f18;
  --purple: #a855f7;
  --indigo: #6366f1;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.5);
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'GostA', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  color: #fff;
  box-shadow: 0 4px 24px rgba(168,85,247,0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168,85,247,0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: var(--card-hover);
  border-color: rgba(255,255,255,0.2);
}
.btn--lg { padding: 15px 32px; font-size: 18px; }
.btn--full { width: 100%; justify-content: center; }

/* ─── Section headers ─── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); font-size: 21px; }

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  flex-shrink: 0;
}
.nav {
  display: flex;
  gap: 8px;
  flex: 1;
}
.nav a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 18px;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: var(--card-bg); }
.header__cta { margin-left: auto; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  background: rgba(10,10,15,0.95);
}
.mobile-nav.open { display: flex; }
.mobile-nav__link {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 19px;
}
.mobile-nav__link:hover { color: var(--text); background: var(--card-bg); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--left {
  background: rgba(168,85,247,0.12);
  top: -100px; left: -200px;
}
.hero__glow--right {
  background: rgba(99,102,241,0.1);
  bottom: -100px; right: -200px;
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: var(--text-muted);
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Stats ─── */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat__value {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat__label { font-size: 18px; color: var(--text-muted); }

/* ─── Features ─── */
.features { padding: 100px 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, background 0.3s;
}
.feature-card:hover {
  border-color: rgba(168,85,247,0.3);
  background: var(--card-hover);
}
.feature-card--accent {
  border-color: rgba(168,85,247,0.25);
  background: rgba(168,85,247,0.06);
}
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 18px; color: var(--text-muted); line-height: 1.7; }

/* ─── Marquee ─── */
.marquee-section {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg2);
}
.marquee { overflow: hidden; }
.marquee__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 20s linear infinite;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee__track span:not([style]) { color: rgba(168,85,247,0.4); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Servers ─── */
.servers { padding: 100px 0; background: var(--bg2); }
.servers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.server-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  transition: border-color 0.2s, background 0.2s;
}
.server-card:hover {
  border-color: rgba(168,85,247,0.2);
  background: var(--card-hover);
}
.server-card__flag { width: 32px; height: 22px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.server-card__info { flex: 1; }
.server-card__country { font-size: 18px; font-weight: 600; }
.server-card__ping { font-size: 16px; color: var(--text-muted); margin-top: 2px; }
.server-card__status {
  font-size: 15px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.server-card__status.online {
  color: #4ade80;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
}

/* ─── How To ─── */
.howto { padding: 100px 0; }
.howto__steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}
.step {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.step__num {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 18px; color: var(--text-muted); line-height: 1.7; }
.step p a { color: var(--purple); }
.step__arrow {
  font-size: 24px;
  color: var(--border);
  margin-top: 48px;
  flex-shrink: 0;
}
.howto__cta { text-align: center; }

/* ─── Pricing ─── */
.pricing { padding: 100px 0; background: var(--bg2); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s;
}
.plan:hover { border-color: rgba(168,85,247,0.3); }
.plan--featured {
  border-color: rgba(168,85,247,0.4);
  background: rgba(168,85,247,0.06);
  transform: scale(1.03);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan__badge--gold {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.plan__period { font-size: 14px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; }
.plan__amount { font-size: 52px; font-weight: 800; line-height: 1; }
.plan__currency { font-size: 22px; font-weight: 700; color: var(--text-muted); }
.plan__per { font-size: 13px; color: var(--text-muted); margin-top: -12px; }
.plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan__features li { font-size: 14px; color: var(--text-muted); }
.plan__features li::first-letter { color: #4ade80; }

/* ─── FAQ ─── */
.faq { padding: 100px 0; }
.faq__list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item.open { border-color: rgba(168,85,247,0.3); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}
.faq__q:hover { color: var(--purple); }
.faq__icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq__item.open .faq__icon { transform: rotate(45deg); color: var(--purple); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 24px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq__item.open .faq__a { max-height: 200px; padding: 0 24px 20px; }

/* ─── CTA Bottom ─── */
.cta-bottom {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.cta-bottom__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 10%, transparent 70%);
}
.cta-bottom__glow {
  position: absolute;
  width: 500px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(168,85,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-bottom__inner {
  position: relative;
  z-index: 2;
}
.cta-bottom h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin-bottom: 12px; }
.cta-bottom p { font-size: 21px; color: var(--text-muted); margin-bottom: 36px; }

/* ─── Footer ─── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.footer__links a { font-size: 17px; color: var(--text-muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__copy { font-size: 16px; color: rgba(255,255,255,0.25); width: 100%; text-align: center; margin-top: 8px; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .features__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .servers__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .plan--featured { transform: none; }
  .howto__steps { flex-direction: column; }
  .step__arrow { display: none; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .servers__grid { grid-template-columns: 1fr; }
  .footer__links { display: none; }
  .footer__inner { justify-content: center; }
}
