@font-face {
  font-family: "Involve";
  src: url("fonts/Involve-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Involve";
  src: url("fonts/Involve-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Involve";
  src: url("fonts/Involve-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-2: #0e0e0e;
  --card: #141414;
  --line: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --muted: #b3b3b3;
  --accent: #00e5ff;
  --ink: #041018;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Involve", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis-smooth {
  scroll-behavior: auto !important;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 70%, transparent);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 28px;
  color: #d7d7d7;
  font-size: 15px;
}

.nav a:hover {
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: #fff;
}

.burger::before { top: 14px; }
.burger span { top: 20px; }
.burger::after { top: 26px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.45s var(--ease), background 0.3s, color 0.3s, box-shadow 0.45s, border-color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary:hover {
  box-shadow: 0 12px 28px rgba(0, 229, 255, 0.22);
}

.btn--lg {
  min-height: 54px;
  padding: 0 26px;
}

.btn--primary {
  background: var(--accent);
  color: var(--ink);
}

.btn--ghost {
  color: #fff;
  background: transparent;
  border: 1px solid #2a2a2a;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(0deg, #0e0e0e 0%, #000 100%);
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0;
}

.hero__shade {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, #000);
  pointer-events: none;
}

.hero h1,
.methods h2,
.payments h2,
.pricing h2,
.trust h2,
.after h2,
.how h2,
.stats h2,
.servers h2,
.consult h2,
.faq h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero__copy {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
}

.hero__copy > * {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  animation: hero-in 1.1s var(--ease) forwards;
}

.hero__copy h1 { animation-delay: 0.08s; }
.hero__copy p { animation-delay: 0.22s; }
.hero__copy .hero__points { animation-delay: 0.36s; }
.hero__copy .hero__actions { animation-delay: 0.5s; }

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 14ch;
}

.hero p,
.lead,
.after p,
.how p,
.consult p {
  color: var(--muted);
}

.hero p {
  margin: 22px 0 24px;
  max-width: 42ch;
  font-size: 18px;
}

.hero__points {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  color: #e8e8e8;
}

.hero__points li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero__actions .btn--ghost {
  min-height: 54px;
}

.methods,
.payments,
.pricing,
.trust,
.after,
.how,
.stats,
.servers,
.consult,
.faq {
  padding: 96px 0;
}

.methods {
  text-align: center;
}

.methods h2,
.payments h2,
.pricing h2,
.trust h2,
.after h2,
.how h2,
.stats h2,
.servers h2,
.consult h2,
.faq h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 16ch;
}

.methods h2,
.payments h2,
.pricing h2,
.trust h2,
.after h2,
.how h2,
.stats h2,
.servers h2 {
  margin-bottom: 40px;
}

.methods__art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.methods__art article,
.pay-card,
.plan,
.trust-grid article,
.after-grid article,
.steps article,
.stats-grid article {
  background: var(--card);
  border: 1px solid #1d1d1d;
  border-radius: 24px;
  transition: transform 0.55s var(--ease), border-color 0.4s, background 0.4s;
}

.methods__art article:hover,
.pay-card:hover,
.plan:hover,
.trust-grid article:hover,
.after-grid article:hover,
.steps article:hover,
.stats-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.28);
}

.methods__art article {
  min-height: 180px;
  display: grid;
  place-content: center;
  gap: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.12), transparent 55%),
    var(--card);
}

.methods__art b {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.methods__art span,
.pay-card p,
.trust-grid p,
.steps p,
.stats-grid p {
  color: var(--muted);
}

.pay-grid,
.trust-grid,
.after-grid,
.steps,
.stats-grid,
.server-grid {
  display: grid;
  gap: 16px;
}

.pay-grid {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 32px;
}

.pay-card {
  min-height: 280px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 16px;
  overflow: hidden;
}

.pay-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.pay-card__lead {
  color: var(--accent) !important;
  margin: 0 0 12px;
  font-weight: 600;
}

.pay-card__visual {
  border-radius: 18px;
  min-height: 140px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.3) contrast(1.05);
}

.pay-card__visual--vless { background-image: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.45)), url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80"); }
.pay-card__visual--hy2 { background-image: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.45)), url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=900&q=80"); }
.pay-card__visual--vmess { background-image: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.45)), url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=900&q=80"); }
.pay-card__visual--devices { background-image: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.45)), url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&w=900&q=80"); }

.plans {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.plan {
  min-height: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.plan h3 {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.plan__price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 22px 0 4px;
}

.plan__price b {
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.plan__price span {
  margin-top: 6px;
  color: var(--muted);
}

.plan__term {
  margin: 0 0 22px;
  color: var(--muted);
}

.plan ul {
  margin: 0 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.plan ul li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.plan .btn {
  width: 100%;
  margin-top: 24px;
}

.plan--featured {
  background: #0d1719;
  border-color: rgba(0, 229, 255, 0.28);
}

.plan__tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.06), transparent 40%),
    var(--card);
}

.trust-grid h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.after .lead {
  max-width: 46ch;
  margin: -16px 0 36px;
}

.after-grid {
  grid-template-columns: repeat(3, 1fr);
}

.after-grid article {
  overflow: hidden;
}

.after-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.1);
}

.after-grid h3,
.after-grid ul {
  padding: 0 22px;
}

.after-grid h3 {
  margin: 18px 0 8px;
}

.after-grid ul {
  margin: 0 0 22px;
  padding: 0 22px 0 22px;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.after-grid ul li {
  position: relative;
  padding-left: 18px;
}

.after-grid ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.steps article {
  padding: 28px;
  min-height: 220px;
}

.steps span {
  color: var(--accent);
  font-weight: 600;
}

.steps h3 {
  margin: 18px 0 10px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.stats {
  text-align: center;
}

.stats h2,
.servers h2,
.methods h2,
.payments h2,
.pricing h2,
.trust h2,
.how h2,
.after h2 {
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid article {
  padding: 36px 24px;
}

.stats-grid strong {
  display: block;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  letter-spacing: -0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}

.server-grid {
  grid-template-columns: repeat(4, 1fr);
}

.server-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 24px;
}

.server-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease);
}

.server-card:hover img {
  transform: scale(1.06);
}

.server-info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(10px);
}

.server-info h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.server-info p {
  margin: 0;
  color: #c8c8c8;
  font-size: 13px;
}

.consult__box {
  border-radius: 28px;
  padding: 72px 40px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 229, 255, 0.16), transparent 46%),
    linear-gradient(180deg, #141414, #0a0a0a);
  border: 1px solid #1d1d1d;
}

.consult h2 {
  max-width: 14ch;
  margin-bottom: 16px;
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.faq h2 {
  max-width: 12ch;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 18px;
  padding: 0 22px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0 0 18px;
  color: var(--muted);
}

.legal {
  padding: 140px 0 80px;
}

.legal__inner {
  max-width: 820px;
}

.legal h1 {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.045em;
  font-weight: 600;
}

.legal h2 {
  margin: 36px 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

.legal ul {
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal__crumb {
  margin: 0 0 18px;
  font-size: 14px;
}

.legal__crumb a {
  color: var(--accent);
}

.legal__lead {
  color: #d7d7d7 !important;
}

.legal__note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #1e1e1e;
  background: #111;
  color: #e8e8e8 !important;
}

.footer {
  border-top: 1px solid #1a1a1a;
  padding: 48px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer__grid > div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer b {
  color: #fff;
  margin-bottom: 6px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #1a1a1a;
  color: #8d8d8d;
  font-size: 14px;
}

.footer__bottom a {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__copy > *,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .pay-grid,
  .faq__grid,
  .footer__grid,
  .pay-card {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid,
  .after-grid,
  .steps,
  .stats-grid,
  .methods__art,
  .server-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1,
  .methods h2,
  .payments h2,
  .pricing h2,
  .trust h2,
  .after h2,
  .how h2,
  .stats h2,
  .servers h2,
  .faq h2 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    padding: 16px;
    border-radius: 18px;
    background: #111;
    border: 1px solid #222;
  }
  .header.is-open .nav {
    display: flex;
  }
  .burger {
    display: block;
  }
  .header__actions .btn--ghost {
    display: none;
  }
  .methods,
  .payments,
  .pricing,
  .trust,
  .after,
  .how,
  .stats,
  .servers,
  .consult,
  .faq {
    padding: 72px 0;
  }
  .trust-grid,
  .after-grid,
  .steps,
  .stats-grid,
  .methods__art,
  .server-grid,
  .pay-card,
  .plans {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 84px 0 40px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .consult__box {
    padding: 40px 22px;
  }
}
