:root {
  --bg: #0e141b;
  --panel: #141b24;
  --panel-2: #182231;
  --text: #eaf2ff;
  --muted: #b3c3d8;
  --primary: #2aa7ff;
  --primary-2: #5a6ff1;
  --glow: rgba(42, 167, 255, .4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background:
    radial-gradient(60rem 60rem at 80% -20%, rgba(42, 167, 255, .08), transparent 60%),
    radial-gradient(40rem 40rem at -10% 110%, rgba(90, 111, 241, .08), transparent 60%),
    var(--bg);
  color: var(--text);
  text-align: center;
}

/* ==== HERO ==== */
.hero {
  max-width: 1080px;
  margin: 40px auto 0;
  padding: 0 20px;
  border-radius: 24px;
  animation: fadeUp 0.9s ease-out;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(42, 167, 255, 0.1), rgba(90, 111, 241, 0.05));
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 0 30px rgba(42, 167, 255, 0.15);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

/* фоновое свечение */
.banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(42, 167, 255, 0.15) 0%, transparent 70%);
  animation: moveGlow 8s infinite linear;
  z-index: 0;
}

@keyframes moveGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.banner-left,
.banner-right {
  border-radius: 16px;
  position: relative;
  z-index: 1;
  margin-left: 25px;
}

.banner-logo {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(42, 167, 255, 0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.banner-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(42, 167, 255, 0.6));
}

.banner-title {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 12px;
  color: #eaf2ff;
  font-weight: 700;
}

.banner-text {
  color: var(--muted);
  font-size: clamp(14px, 1.8vw, 18px);
  margin: 0 0 20px;
  line-height: 1.5;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  color: white;
  cursor: pointer;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px var(--glow);
  transition: transform .15s ease, filter .2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

@media (max-width: 700px) {
  .banner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .banner-right {
    text-align: center;
  }

  .banner-logo {
    max-width: 150px;
  }
}

/* ==== СЕКЦИИ ==== */
.container {
  max-width: 980px;
  margin: 22px auto;
  padding: 0 20px;
}

.section {
  margin: 40px 0;
}

.section-title {
  font-size: 22px;
  margin: 0 0 14px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin: -4px 0 18px;
  line-height: 1.5;
}

/* ==== КАРТОЧКИ ==== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  justify-items: center;
}

.card {
  background: var(--panel);
  border-radius: 16px;
  padding: 24px 16px 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .03);
  text-align: center;
  transition: all .3s ease;
}

.card:hover {
  box-shadow: 0 0 25px rgba(42, 167, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .04);
  transform: translateY(-2px);
}

.card-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.price {
  margin: 0 0 8px;
  font-size: 20px;
  color: #cfe3ff;
}

.card-desc {
  margin: 0;
  color: #b7c8e0;
}

/* ==== КНОПКИ ==== */
.btn-tariff,
.btn-download {
  position: relative;
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

.btn-tariff {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px var(--glow);
  margin-top: 20px;
}

.btn-tariff:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-download {
  background: linear-gradient(90deg, #25e48b, #1fbfb0);
  box-shadow: 0 10px 30px rgba(37, 228, 139, .35);
}

.btn-download:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ==== ИНСТРУКЦИЯ ==== */
.install-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-items: center;
}

.install {
  background: var(--panel);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.install h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.download-links {
  margin: 0 0 6px;
}

.steps {
  margin: 0;
  padding-left: 0;
  color: #c9d7ec;
  list-style-position: inside;
}

.steps li {
  margin: 8px 0;
  line-height: 1.5;
}

/* ==== ПОДДЕРЖКА ==== */
.help {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  color: #cfe3ff;
  font-size: 15px;
}

.help a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.help a:hover {
  text-decoration: underline;
}

/* ==== ПОДВАЛ ==== */
.footer {
  max-width: 980px;
  margin: 18px auto 40px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9eb2cc;
}

.footer a {
  color: #cfe3ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ==== АНИМАЦИИ ==== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp .8s ease-out forwards;
}

/* ==== АДАПТИВ ==== */
@media (max-width: 480px) {

  .hero,
  .container {
    padding: 16px;
  }

  .btn-primary,
  .btn-tariff,
  .btn-download {
    width: 100%;
    text-align: center;
  }
}

/* ==== FLOATING SUPPORT PANEL ==== */
.chat-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #eaf2ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 0 25px var(--glow);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  z-index: 1000;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
}

.chat-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(42, 167, 255, 0.6);
  filter: brightness(1.07);
}

.chat-icon {
  fill: var(--panel);
  opacity: 0.85;
  transition: opacity .25s ease, fill .25s ease;
}

.chat-panel:hover .chat-icon {
  fill: #fff;
  opacity: 1;
}

.chat-text small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  color: var(--muted);
}

/* Мобильная адаптация */
@media (max-width: 520px) {
  .chat-panel {
    bottom: 18px;
    right: 18px;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 12px;
  }

  .chat-icon {
    width: 22px;
    height: 22px;
  }

  .chat-text small {
    font-size: 11px;
  }
}

/* === Логотип с плавным скруглением === */

.banner-logo {
  display: block;
  border-radius: 16px;
  /* Inner R */
  width: 100%;
  height: auto;
}

/* === Иконки ОС: белые и с мягким свечением === */
.os-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
  opacity: 0.95;
  transition: opacity 0.25s ease;
  position: relative;
  z-index: 1;
}

/* Принудительно делаем Android и Apple белыми */
.os-icon[alt="Android"],
.os-icon[alt="Apple"] {
  filter: brightness(0) invert(1);
}

/* Псевдо-свечение */
.os-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0px var(--glow);
  opacity: 0;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

/* При наведении — только свечение, без смены цвета */
.os-icon:hover::after {
  opacity: 1;
  box-shadow: 0 0 8px var(--glow);
}

#bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  background: var(--bg);
  pointer-events: none;
}