/* =========================
   ОБЩИЕ НАСТРОЙКИ
   ========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.7;

  /* Неоновый переливающийся фон */
  background: radial-gradient(circle at 20% 30%, #00c6ff, transparent 40%),
              radial-gradient(circle at 80% 70%, #ff6ec7, transparent 40%),
              radial-gradient(circle at 50% 50%, #004080, #001133 70%);
  background-size: cover;
  animation: glowShift 15s infinite alternate;
}

@keyframes glowShift {
  0% {
    background-position: 20% 30%, 80% 70%, 50% 50%;
  }
  100% {
    background-position: 30% 40%, 70% 60%, 50% 55%;
  }
}

.container { 
  width: 90%; 
  max-width: 1100px; 
  margin: 0 auto; 
  text-align: left;
}

/* =========================
   ХЕДЕР
   ========================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%; height: 70px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  z-index: 1000;
}
.header__inner { height: 100%; display: flex; justify-content: center; align-items: center; position: relative; }
.header__logo { position: absolute; left: 20%; font-weight: bold; font-size: 1.4rem; color: #fff; }
.header__controls { position: absolute; right: 20%; display: flex; gap: 1rem; align-items: center; }
.lang-select { padding: 0.4rem; border-radius: 4px; border: none; background: #fff; color: #004080; }
.header__btn { padding: 0.5rem 1rem; background: #ffcc00; color: #004080; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; }
.header__btn:hover { background: #e6b800; }

/* =========================
   БАННЕР (HERO)
   ========================= */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: auto; /* вся картинка помещается */
  display: block;
}
.hero__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* затемнение */
}
.hero__content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
.hero__title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
}
.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}
.hero__btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 1.2rem;
  background: #ffcc00;
  color: #004080;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(30px);
}
.hero__btn:hover { background: #e6b800; transform: translateY(-3px); }

/* Анимация появления */
.animate-fade { animation: fadeSlideUp 1s forwards; }
.hero__title.animate-fade { animation-delay: 0.3s; }
.hero__subtitle.animate-fade { animation-delay: 0.6s; }
.hero__btn.animate-fade { animation-delay: 0.9s; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   СЕКЦИИ
   ========================= */
.section { padding: 1.5rem 0; }
.section h2 { 
  text-align: center; 
  font-size: 2rem; 
  margin-bottom: 0.5rem; 
  color: #ffcc00; 
  font-weight: 700;
}
.section p { margin-bottom: 1rem; line-height: 1.7; }

/* =========================
   H3 (FAQ и др.)
   ========================= */
.faq-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffcc00;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 12px;
}
.faq-item h3::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em;
  width: 6px; height: 6px;
  background: #ffcc00;
  border-radius: 50%;
}

/* =========================
   СПИСКИ
   ========================= */
.custom-list {
  list-style: disc inside;
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.custom-list li { margin-bottom: 0.5rem; }

/* =========================
   ТАБЛИЦЫ
   ========================= */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.custom-table th,
.custom-table td {
  border: 1px solid #fff;
  padding: 0.7rem;
  text-align: left;
}
.custom-table th {
  background: rgba(255,255,255,0.15);
  color: #ffcc00;
}

/* =========================
   КОНТАКТЫ
   ========================= */
.contacts p { font-size: 1.2rem; margin-bottom: 1rem; }

/* =========================
   ФУТЕР
   ========================= */
.footer { background: rgba(0,0,0,0.6); color: #fff; padding: 2rem 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer__logo { color: #ffcc00; font-weight: bold; }
.footer__socials a { margin-left: 1rem; color: #fff; }
.footer__socials a:hover { color: #ffcc00; }

/* =========================
   АДАПТИВ
   ========================= */
@media (max-width: 992px) {
  .hero { height: 50vh; }
  .hero__title { font-size: 2.2rem; }
  .hero__subtitle { font-size: 1.2rem; }
  .hero__btn { font-size: 1rem; padding: 0.7rem 1.5rem; }

  .header__logo { left: 10%; font-size: 1.2rem; }
  .header__controls { right: 10%; }
}

@media (max-width: 600px) {
  .hero { height: 40vh; padding: 0 10px; }
  .hero__title { font-size: 1.6rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__btn { font-size: 0.9rem; padding: 0.6rem 1.2rem; }

  .header { height: 60px; }
  .header__logo { position: static; font-size: 1rem; }
  .header__controls { position: static; gap: 0.5rem; }
  .header__inner { justify-content: space-between; padding: 0 1rem; }
}
