/* РЕГИОН.ВПН — ч/б логотип: глубокий чёрный и белый; яркие акценты — лёд и индиго */

:root {
  --bg: #030303;
  --bg-alt: #070708;
  --card: #0c0c0f;
  --card-border: rgba(255, 255, 255, 0.07);
  --text: #fafafa;
  --muted: #737373;
  --muted-soft: #a3a3a3;
  /* хром / белый из логотипа */
  --chrome: #f5f5f5;
  --chrome-dim: #a1a1aa;
  /* яркие акценты в UI */
  --cyan: #38bdf8;
  --cyan-bright: #7dd3fc;
  --cyan-dim: #0284c7;
  --yellow: #fef9c3;
  --yellow-border: rgba(56, 189, 248, 0.38);
  --green: #4ade80;
  --accent-violet: #a78bfa;
  --radius-card: 28px;
  --radius-btn: 14px;
  --shadow-card: 0 0 0 1px var(--card-border), 0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 72px rgba(56, 189, 248, 0.04);
  --font: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #030303;
}

/* Медленный перелив графитовых оттенков под ч/б марку */
.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    #020202 0%,
    #08080a 18%,
    #0a0a0c 32%,
    #050508 46%,
    #0c0c10 60%,
    #040406 74%,
    #09090b 88%,
    #030303 100%
  );
  background-size: 320% 320%;
  animation: bgShimmer 22s ease-in-out infinite;
}

/* Блики: холодный голубой + лёгкий фиолетовый */
.page-bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 52% 42% at 28% 38%, rgba(56, 189, 248, 0.09), transparent 58%),
    radial-gradient(ellipse 48% 38% at 78% 62%, rgba(167, 139, 250, 0.07), transparent 55%),
    radial-gradient(ellipse 38% 32% at 52% 88%, rgba(250, 250, 250, 0.04), transparent 50%);
  animation: bgGlowDrift 28s ease-in-out infinite alternate;
}

@keyframes bgShimmer {
  0%,
  100% {
    background-position: 0% 40%;
  }
  35% {
    background-position: 100% 55%;
  }
  65% {
    background-position: 85% 20%;
  }
}

@keyframes bgGlowDrift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate(6%, -5%) scale(1.08);
    opacity: 1;
  }
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
  padding: 20px 18px 40px;
}

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo {
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 8px 28px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(56, 189, 248, 0.1);
}

.logo--sm {
  width: 44px;
  height: 44px;
}

.logo--lg {
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  border-radius: 22px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 14px 44px rgba(0, 0, 0, 0.58),
    0 0 40px rgba(56, 189, 248, 0.12);
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.brand-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-emoji {
  font-size: 1.1rem;
  line-height: 1;
}

.vpn-pill {
  color: var(--text);
}

.brand-name {
  color: var(--chrome);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.2), 0 0 36px rgba(56, 189, 248, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.pill--users {
  flex-shrink: 0;
  background: rgba(15, 17, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--cyan);
  backdrop-filter: blur(8px);
}

.pill--users span:first-of-type {
  filter: hue-rotate(-15deg) saturate(1.15);
  font-size: 1rem;
}

.pill--users strong {
  font-weight: 700;
}

.pill--blue {
  margin-top: 4px;
  background: rgba(8, 12, 18, 0.92);
  border: 1px solid var(--yellow-border);
  color: #bae6fd;
  font-weight: 600;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.12);
}

.cyan {
  color: var(--cyan);
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.card--hero {
  text-align: center;
  padding-top: 32px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 6vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Белый/хром из логотипа + яркий лёд и индиго */
.hero-title-glow {
  display: inline-block;
  background: linear-gradient(
    95deg,
    #94a3b8 0%,
    #f8fafc 14%,
    #38bdf8 32%,
    #e2e8f0 48%,
    #a78bfa 62%,
    #f1f5f9 78%,
    #0ea5e9 100%
  );
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: heroTitleShimmer 6s ease-in-out infinite, heroTitleGlow 3.2s ease-in-out infinite;
}

@keyframes heroTitleShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes heroTitleGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.45)) drop-shadow(0 0 22px rgba(167, 139, 250, 0.25));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.55)) drop-shadow(0 0 32px rgba(56, 189, 248, 0.35));
  }
}

.hero-desc {
  margin: 0 auto 18px;
  max-width: 34ch;
  font-size: 0.9375rem;
  color: var(--muted-soft);
}

.muted {
  color: var(--muted);
}

/* Progress */
.progress-block {
  margin-top: 26px;
  text-align: left;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.progress-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.progress-pct {
  font-size: 0.9375rem;
  font-weight: 700;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan), var(--cyan-bright), var(--accent-violet));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  transition: width 0.8s ease;
}

/* CTA card */
.card--cta .cta-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: linear-gradient(145deg, #101418, #080a0e);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 16px rgba(56, 189, 248, 0.06);
}

.card-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.card--cta .muted {
  font-size: 0.9375rem;
  color: var(--muted-soft);
  margin: 0 0 22px;
  line-height: 1.6;
}

.btn-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 700;
  color: #020617;
  text-decoration: none;
  background: linear-gradient(95deg, var(--cyan-dim) 0%, var(--cyan) 38%, var(--cyan-bright) 72%, #c4b5fd 100%);
  border: none;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-telegram:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 32px rgba(56, 189, 248, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-1px);
}

.btn-telegram:active {
  transform: translateY(0);
}

.btn-telegram .tg-icon {
  width: 22px;
  height: 22px;
}

/* Feature sections */
.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.head-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.head-icon--bolt {
  background: radial-gradient(circle at 30% 30%, rgba(250, 250, 250, 0.2), rgba(12, 14, 20, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.14);
}

.head-icon--shield {
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.35), rgba(8, 10, 18, 0.96));
  border: 1px solid rgba(129, 140, 248, 0.4);
  box-shadow: 0 0 22px rgba(167, 139, 250, 0.16);
}

.section-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feat-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-list strong {
  font-weight: 600;
  color: var(--text);
}

.feature-list .dash {
  color: var(--muted);
  font-weight: 400;
}

.feature-list .muted {
  font-size: 0.9375rem;
  color: var(--muted-soft);
}

/* Status */
.status-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 20px;
  margin: 8px 0 20px;
  border-radius: 999px;
  background: rgba(17, 18, 29, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  color: var(--muted-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.status-pill .status-lead {
  color: var(--green);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.1);
  }
}

/* Mini cards */
.bot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

.card--mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  margin-bottom: 0;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card--mini:hover {
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: var(--shadow-card), 0 0 24px rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

.mini-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: linear-gradient(145deg, #101418, #080a0e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.mini-title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.mini-sub {
  font-size: 0.8125rem;
}

@media (max-width: 380px) {
  .bot-grid {
    grid-template-columns: 1fr;
  }

  .pill--users {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}

@media (min-width: 480px) {
  .wrap {
    max-width: 480px;
    padding: 28px 24px 48px;
  }
}
