:root {
  --bg: #070b14;
  --surface: rgba(14, 22, 40, 0.72);
  --text: #e8f0ff;
  --muted: #9aaccc;
  --primary: #3c86ff;
  --primary-2: #36c9ff;
  --border: rgba(106, 142, 204, 0.35);
  --shadow: 0 16px 35px rgba(5, 12, 30, 0.5);
  --glow: 0 0 0 1px rgba(80, 140, 255, 0.35), 0 0 30px rgba(54, 201, 255, 0.18);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(900px 600px at -10% -20%, rgba(54, 201, 255, 0.12), transparent 65%),
    radial-gradient(700px 500px at 120% 0%, rgba(60, 134, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #060a12 0%, #090f1b 40%, #080d18 100%);
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 20, 0.84);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(93, 126, 189, 0.24);
}

.header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #eef5ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #031022;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(60, 134, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(54, 201, 255, 0.36);
  filter: brightness(1.05);
}

.btn:focus-visible {
  outline: 3px solid rgba(54, 201, 255, 0.35);
  outline-offset: 2px;
}

.btn--ghost {
  background: rgba(14, 26, 47, 0.6);
  color: var(--text);
  border-color: rgba(113, 157, 228, 0.36);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(18, 33, 60, 0.85);
}

.btn--small {
  min-height: 40px;
  padding: 0.52rem 0.95rem;
  font-size: 0.95rem;
}

.hero {
  padding: 3.2rem 0 1.6rem;
}

.hero__grid {
  display: grid;
  gap: 1.2rem;
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4.6vw, 2.8rem);
  line-height: 1.18;
  text-wrap: balance;
}

.hero__content p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 65ch;
}

.hero__actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.banner {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(93, 139, 218, 0.34);
  background:
    radial-gradient(500px 280px at 90% -20%, rgba(54, 201, 255, 0.2), transparent 55%),
    linear-gradient(145deg, #0d1d39 0%, #122a4f 48%, #12396a 100%);
  color: #f3f8ff;
  box-shadow: var(--shadow), var(--glow);
}

.banner::before,
.banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(141, 187, 255, 0.16);
}

.banner::before {
  width: 180px;
  height: 180px;
  top: -80px;
  right: -60px;
}

.banner::after {
  width: 120px;
  height: 120px;
  bottom: -50px;
  left: -20px;
}

.banner__badge {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(225, 243, 255, 0.14);
  border: 1px solid rgba(211, 233, 255, 0.25);
}

.banner h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
}

.banner p {
  margin: 0.65rem 0 0;
  max-width: 42ch;
  color: #d8e6ff;
}

.banner__stats {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  background: rgba(14, 30, 58, 0.55);
  padding: 0.8rem;
  border: 1px solid rgba(132, 180, 255, 0.26);
  border-radius: 12px;
}

.stat-card__value {
  display: block;
  font-weight: 700;
}

.stat-card__label {
  font-size: 0.84rem;
  color: #d2e1ff;
}

.section {
  padding: 0.8rem 0 2rem;
}

.section h2 {
  margin: 0;
}

.section__head {
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.section__intro {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.section__actions {
  margin-top: 1rem;
}

.card {
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.qr-card {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.qr-card__content p {
  margin: 0.45rem 0 0.8rem;
  color: var(--muted);
}

.qr-card__image-wrap {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(126, 165, 233, 0.3);
  background: rgba(12, 22, 39, 0.7);
}

.qr-image {
  width: min(210px, 100%);
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(126, 165, 233, 0.35);
}

.qr-fallback {
  display: none;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.feature-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.feature-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.highlight {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 199, 255, 0.3);
  background: rgba(29, 53, 88, 0.45);
  color: #d9ebff;
}

.steps-list {
  margin-top: 1rem;
  padding-left: 1.45rem;
}

.steps-list li + li {
  margin-top: 0.45rem;
}

.telegram-card p {
  color: var(--muted);
  margin-top: 0.55rem;
}

.news-status {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.news-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.news-card {
  background: rgba(13, 22, 40, 0.86);
  border: 1px solid rgba(110, 145, 210, 0.33);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(5, 12, 30, 0.45);
}

.news-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.news-card p {
  margin: 0.55rem 0;
  color: var(--muted);
}

.news-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid rgba(86, 117, 173, 0.26);
  background: rgba(8, 13, 23, 0.95);
}

.footer__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer a {
  color: #7cc7ff;
  font-weight: 600;
}

@media (min-width: 760px) {
  .qr-card {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 4rem 0 1.8rem;
  }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: 1.4rem;
  }

  .card {
    padding: 1.45rem;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

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

  #plans .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
