* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #06070b;
  color: white;
  overflow-x: hidden;
}

/* -------------------------------- */
/* АНИМАЦИЯ ПОЯВЛЕНИЯ              */
/* -------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.appear {
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
  will-change: transform, opacity;
}

/* Задержки */
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }
.d6 { animation-delay: 0.85s; }
.d7 { animation-delay: 1s; }

/* Галерея скриншотов */
.screenshots-section {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.screenshots-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.screenshot-container {
  width: 800px;
  height: 450px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(123, 97, 255, 0.15);
  border: 1px solid rgba(123, 97, 255, 0.3);
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-btn:hover {
  background: rgba(123, 97, 255, 0.3);
}

.screenshot-counter {
  font-size: 16px;
  color: #b5b5c7;
}

/* Адаптивность */
@media (max-width: 900px) {
  .screenshot-container {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
  .screenshots-gallery {
    gap: 10px;
  }
}

/* Фоновые элементы */
body::before {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.2) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.12) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  z-index: -1;
}

.navbar {
  width: 100%;
  height: 82px;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 800;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-links a {
  color: #c8c8d1;
  text-decoration: none;
}

.nav-button,
.primary-btn {
  padding: 14px 26px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #7b61ff, #3d7eff);
  color: white;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.secondary-btn {
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 140px 30px;
}

.hero h1 {
  font-size: 82px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 850px;
  color: #b3b3c4;
  line-height: 1.7;
  font-size: 20px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.features {
  margin-top: 80px;
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature {
  padding: 30px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(18px);
}

.telegram-box {
  margin-top: 80px;
  padding: 40px;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

section {
  min-height: 100vh;
  padding: 140px 80px 80px;
}

.section-title {
  font-size: 52px;
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  color: #b5b5c7;
  max-width: 700px;
  line-height: 1.7;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.download-box,
.review-form,
.review-card {
  padding: 35px;
}

.download-box {
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.download-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 30px 0;
}

textarea,
input,
select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 15px;
  color: white;
  margin-top: 15px;
}

textarea {
  min-height: 140px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.review-card {
  position: relative;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b61ff, #3d7eff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.review-user {
  display: flex;
  gap: 14px;
}

.review-date {
  color: #8f8fa2;
  font-size: 13px;
  margin-top: 5px;
}

.stars {
  color: #ffd54a;
}

footer {
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: #88889a;
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 130px 24px 60px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .telegram-box {
    flex-direction: column;
  }
}