/* VPN PRO — тёмно-синий минимализм. Две краски: фон и акцент. */
:root {
  --bg:      #05091a;
  --bg-2:    #080f26;
  --surface: #0d1633;
  --surface-2: #111d40;
  --line:    rgba(120, 155, 255, .14);
  --line-2:  rgba(120, 155, 255, .26);
  --accent:  #3b6ef6;
  --accent-2:#6d9bff;
  --text:    #eef2ff;
  --muted:   #93a3c9;
  --radius:  18px;
  --wrap:    1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(59, 110, 246, .22), transparent 70%),
    radial-gradient(700px 400px at 90% 20%, rgba(59, 110, 246, .10), transparent 70%);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 820px; }

/* ---------------------------------------------------------- шапка */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 9, 26, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--muted); transition: color .18s; }
.nav a:hover { color: var(--text); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.burger span + span { margin-top: 6px; }

/* ---------------------------------------------------------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 14px;
  background: var(--accent); color: #fff; font-weight: 650; font-size: 16px;
  cursor: pointer; transition: transform .16s, background .16s, border-color .16s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-lg { padding: 18px 38px; font-size: 17px; border-radius: 16px; }
.btn-sm { padding: 10px 20px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; margin-top: auto; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); }

/* ---------------------------------------------------------- герой */
.hero { padding: 92px 0 76px; text-align: center; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); margin-bottom: 20px; }
.lead { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--muted); font-size: 14px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ---------------------------------------------------------- секции */
.sec { padding: 70px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

/* ---------------------------------------------------------- статистика + серверы */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px;
}
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.stat b { display: block; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; }

.srv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.srv {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: border-color .2s;
}
.srv:hover { border-color: var(--line-2); }
.srv-top { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.srv-flag { font-size: 24px; line-height: 1; }
.srv-name { display: flex; flex-direction: column; min-width: 0; }
.srv-name b { font-size: 15px; }
.srv-name span { color: var(--muted); font-size: 13px; }
.srv-ping { margin-left: auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.bar { height: 6px; background: rgba(120, 155, 255, .12); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width 1.2s ease; }
.srv-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 11px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.live { display: inline-flex; align-items: center; gap: 7px; }

/* ---------------------------------------------------------- карточки-преимущества */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.ico {
  width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(59, 110, 246, .16); color: var(--accent-2);
}
.ico svg { width: 24px; height: 24px; }

/* ---------------------------------------------------------- тарифы */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
}
.plan-hot { border-color: var(--accent); background: var(--surface-2); }
.badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 13px; border-radius: 99px; letter-spacing: .02em;
}
.plan h3 { font-size: 23px; }
.plan-tag { color: var(--muted); font-size: 15px; margin-top: 6px; }
.price { margin: 22px 0 24px; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price b { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 16px; }
.price s { color: var(--muted); opacity: .6; font-size: 17px; }
.plan-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.plan-list li { position: relative; padding-left: 27px; color: var(--muted); font-size: 15px; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 9px;
  border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------- сравнение */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
.cmp th, .cmp td {
  padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px;
}
.cmp thead th { font-size: 16px; font-weight: 700; background: var(--surface-2); }
.cmp thead th.hot { color: var(--accent-2); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .lbl { text-align: left; color: var(--muted); }

/* ---------------------------------------------------------- шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { color: var(--muted); }
.num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 12px; background: rgba(59, 110, 246, .16);
  color: var(--accent-2); font-weight: 700; font-size: 17px;
}

/* ---------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 4px 22px;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  flex: 0 0 12px; width: 12px; height: 12px; position: relative; transition: transform .22s;
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; background: var(--accent-2); border-radius: 2px;
}
.faq summary i::before { left: 0; top: 5px; width: 12px; height: 2px; }
.faq summary i::after  { left: 5px; top: 0; width: 2px; height: 12px; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* ---------------------------------------------------------- финальный CTA */
.cta {
  background: linear-gradient(140deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: 26px; padding: 66px 30px; text-align: center;
}
.cta h2 { font-size: clamp(28px, 4vw, 40px); }
.cta p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ---------------------------------------------------------- футер */
.ftr { border-top: 1px solid var(--line); padding: 52px 0 30px; margin-top: 30px; }
.ftr-in { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.ftr-in p { color: var(--muted); margin-top: 12px; max-width: 340px; font-size: 15px; }
.ftr-links { display: flex; flex-direction: column; gap: 11px; }
.ftr-links a { color: var(--muted); font-size: 15px; transition: color .18s; }
.ftr-links a:hover { color: var(--text); }
.ftr-btm { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------- адаптив */
@media (max-width: 900px) {
  .srv-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .burger { display: block; margin-left: auto; }
  .nav {
    position: fixed; inset: 68px 0 auto; margin: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); display: none;
  }
  body.menu-open .nav { display: flex; }
  .nav a { padding: 17px 22px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .hdr-in .btn-sm { display: none; }
  .hero { padding: 62px 0 52px; }
  .sec { padding: 52px 0; }
  .btn-lg { width: 100%; }
  .hero-cta { flex-direction: column; }
  .cta { padding: 46px 22px; }
}
@media (max-width: 460px) {
  .srv-grid { grid-template-columns: 1fr; }
}
