* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: #fff;
  background: #070b18;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 20%, rgba(45, 212, 191, .18), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(168, 85, 247, .2), transparent 35%),
    linear-gradient(135deg, #070b18, #10172a 48%, #020617);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%);
}

.blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(55px);
  opacity: .55;
  animation: float 12s ease-in-out infinite;
}

.blob-one {
  left: -120px;
  top: 120px;
  background: #22d3ee;
}

.blob-two {
  right: -110px;
  top: 80px;
  background: #a855f7;
  animation-delay: -4s;
}

.blob-three {
  left: 35%;
  bottom: -180px;
  background: #fb7185;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(25px, -35px, 0) scale(1.08); }
}

.glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255,255,255,.15);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-weight: 900;
  font-size: 24px;
  background: linear-gradient(135deg, #22d3ee, #a855f7, #fb7185);
  box-shadow: 0 0 28px rgba(34,211,238,.35);
}

.brand strong {
  display: block;
  font-size: 18px;
}

.brand span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  margin-top: 2px;
}

.support-link,
.contacts a,
.pay-button {
  color: #fff;
  text-decoration: none;
}

.support-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
}

.hero {
  border-radius: 34px;
  padding: clamp(28px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.13), transparent);
  transform: translateX(-100%);
  animation: shine 7s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  45%, 100% { transform: translateX(100%); }
}

.hero-badge {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, .14);
  border: 1px solid rgba(34, 211, 238, .24);
  color: #a5f3fc;
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 76px);
  line-height: .95;
  letter-spacing: -2px;
}

.hero p {
  width: min(760px, 100%);
  margin: 22px auto 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.65;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.plan-card {
  border-radius: 30px;
  padding: 24px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.32);
  box-shadow: 0 32px 90px rgba(0,0,0,.48);
}

.featured {
  transform: translateY(-12px);
}

.featured:hover {
  transform: translateY(-18px);
}

.ribbon {
  position: absolute;
  top: 65px;
  right: 20px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: linear-gradient(135deg, #a855f7, #22d3ee);
  box-shadow: 0 0 24px rgba(168,85,247,.35);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.tag {
  display: inline-flex;
  font-size: 13px;
  padding: 7px 11px;
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.1);
}

.plan-card h2 {
  margin: 14px 0 0;
  font-size: 30px;
}

.price {
  font-size: 32px;
  font-weight: 900;
  white-space: nowrap;
}

ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  color: rgba(255,255,255,.74);
  line-height: 1.7;
}

li::before {
  content: "✓";
  color: #67e8f9;
  margin-right: 9px;
}

.qr-wrap {
  margin-top: auto;
  background: rgba(255,255,255,.92);
  border-radius: 24px;
  padding: 16px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform .25s ease;
}

.plan-card:hover .qr-wrap img {
  transform: scale(1.04);
}

.pay-button {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  border-radius: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(34,211,238,.9), rgba(168,85,247,.9));
  box-shadow: 0 15px 35px rgba(34,211,238,.18);
}

.vless-card .pay-button {
  background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.hysteria-card .pay-button {
  background: linear-gradient(135deg, #a855f7, #22d3ee);
}

.donate-card .pay-button {
  background: linear-gradient(135deg, #fb7185, #f97316);
}

.notice {
  margin-top: 24px;
  border-radius: 30px;
  padding: 30px;
  text-align: center;
}

.notice h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.notice p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.contacts {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.contacts a {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}

footer {
  padding: 28px 16px 36px;
  text-align: center;
  color: rgba(255,255,255,.5);
}

@media (max-width: 980px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: none;
  }

  .featured:hover {
    transform: translateY(-8px);
  }

  .plan-card {
    min-height: auto;
  }

  .qr-wrap {
    max-width: 340px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .support-link {
    width: 100%;
    text-align: center;
  }

  h1 {
    letter-spacing: -1px;
  }

  .plan-top {
    flex-direction: column;
  }
}

.logo img,
.support-link img,
.hero-badge img,
.tag img,
.pay-button img,
.contacts img,
.section-icon,
.connect-icon img {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 10px rgba(34,211,238,.35));
}

.logo img {
  width: 27px;
  height: 27px;
}

.nav-actions,
.support-link,
.hero-badge,
.tag,
.pay-button,
.contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.support-link:hover,
.contacts a:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-1px);
}

.support-link,
.contacts a {
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.notice h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-icon {
  width: 30px;
  height: 30px;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.connect-card {
  border-radius: 30px;
  padding: 26px;
  min-height: 220px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.connect-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 32px 90px rgba(0,0,0,.42);
}

.connect-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(168,85,247,.22));
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 18px;
}

.connect-icon img {
  width: 28px;
  height: 28px;
}

.connect-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.connect-card p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .connect-grid {
    grid-template-columns: 1fr;
  }
}
