:root {
  --bg: #0b0f14;
  --bg-elev: #141b24;
  --bg-card: #161f2b;
  --border: #26313f;
  --text: #e7edf3;
  --text-dim: #9fb0c0;
  --accent: #2fd6a5;
  --accent-ink: #04120d;
  --amber: #f0b53f;
  --radius: 14px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; margin: 0; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--sm { padding: 8px 16px; background: var(--accent); color: var(--accent-ink); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,15,20,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-dim); font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .btn { color: var(--accent-ink); }

/* hero */
.hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(60% 120% at 50% -10%, rgba(47,214,165,.14), transparent 60%),
    var(--bg);
  text-align: center;
}
.hero__title { font-size: clamp(32px, 6vw, 56px); font-weight: 800; letter-spacing: -.5px; }
.hero__lead { max-width: 620px; margin: 20px auto 0; font-size: clamp(16px, 2.4vw, 20px); color: var(--text-dim); }
.hero__lead strong { color: var(--text); }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero__note { margin-top: 22px; font-size: 13px; color: var(--text-dim); }

/* sections */
.section-title { font-size: clamp(24px, 4vw, 34px); font-weight: 800; text-align: center; }
.trust { padding: 64px 0; border-top: 1px solid var(--border); }
.trust__grid {
  display: grid; gap: 16px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.trust-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.trust-card__icon { font-size: 28px; }
.trust-card h3 { margin: 12px 0 6px; font-size: 18px; }
.trust-card p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* catalog */
.catalog { padding: 64px 0; border-top: 1px solid var(--border); }
.catalog__demo {
  margin: 16px auto 0; max-width: 640px; text-align: center;
  color: var(--amber); font-size: 14px;
  background: rgba(240,181,63,.08); border: 1px solid rgba(240,181,63,.28);
  border-radius: 10px; padding: 10px 14px;
}
.catalog__controls { display: flex; align-items: center; gap: 10px; margin: 26px 0 20px; color: var(--text-dim); font-size: 14px; }
.catalog__controls select {
  background: var(--bg-elev); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 14px;
}

.vpn-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.vpn-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.vpn-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.vpn-card__name { font-size: 18px; font-weight: 700; }
.vpn-card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge--ad { background: rgba(240,181,63,.14); color: var(--amber); border: 1px solid rgba(240,181,63,.4); }
.badge--verified { background: rgba(47,214,165,.14); color: var(--accent); border: 1px solid rgba(47,214,165,.4); }
.badge--check { background: rgba(159,176,192,.12); color: var(--text-dim); border: 1px solid var(--border); }

.rating { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.stars { color: var(--amber); font-size: 15px; letter-spacing: 1px; }
.rating__num { font-weight: 700; }
.rating__reviews { color: var(--text-dim); font-size: 13px; }

.vpn-card__blurb { margin: 12px 0; color: var(--text-dim); font-size: 14px; }
.vpn-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.vpn-card__meta .flags { letter-spacing: 2px; }
.vpn-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 12px; }
.price { font-weight: 700; font-size: 15px; }
.price small { color: var(--text-dim); font-weight: 400; }
.price--free { color: var(--accent); }

/* cta */
.cta-tg { padding: 72px 0; border-top: 1px solid var(--border); text-align: center;
  background: radial-gradient(70% 140% at 50% 120%, rgba(47,214,165,.12), transparent 60%); }
.cta-tg__inner h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; }
.cta-tg__inner p { color: var(--text-dim); max-width: 520px; margin: 14px auto 26px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 34px 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; color: var(--text-dim); font-size: 14px; }
.site-footer__links { display: flex; gap: 18px; }
.site-footer small { flex-basis: 100%; color: var(--text-dim); font-size: 12px; }

@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 60px 0 48px; }
}
