/* ============================= */
/* Общие стили */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #0d0d0d;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  animation: moveBg 20s infinite alternate ease-in-out;
}

body::before {
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,234,255,0.4), transparent 70%);
}

body::after {
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,170,204,0.4), transparent 70%);
  filter: blur(150px);
  animation: moveBg2 25s infinite alternate ease-in-out;
}

@keyframes moveBg {
  from { transform: translate(0,0); }
  to { transform: translate(100px,50px); }
}
@keyframes moveBg2 {
  from { transform: translate(0,0); }
  to { transform: translate(-80px,-60px); }
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2 {
  text-transform: uppercase;
  letter-spacing: 2px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* ============================= */
/* Навигация */
/* ============================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 50px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-center {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.navbar .logo {
  font-size: 26px;
  font-weight: bold;
  color: #00eaff;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 14px 18px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 234, 255, 0.15), rgba(0, 234, 255, 0.05));
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.25), inset 0 0 20px rgba(0, 234, 255, 0.12);
  animation: logoGlow 4s ease-in-out infinite alternate;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.logo:hover {
  background: radial-gradient(circle at 40% 40%, rgba(0, 234, 255, 0.2), rgba(0, 234, 255, 0.08));
  box-shadow: 0 0 35px rgba(0, 234, 255, 0.5),inset 0 0 25px rgba(0, 234, 255, 0.25);
  transform: scale(1.04);
}

@keyframes logoGlow {
  0% {
    box-shadow: 0 0 22px rgba(0, 234, 255, 0.25), inset 0 0 18px rgba(0, 234, 255, 0.1);
  }
  100% {
    box-shadow: 0 0 40px rgba(0, 234, 255, 0.4), inset 0 0 25px rgba(0, 234, 255, 0.2);
  }
}

.logo a {
  display: inline-block;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 0 14px rgba(0, 234, 255, 0.9))
          drop-shadow(0 0 28px rgba(0, 234, 255, 0.5));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.logo-img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 20px rgba(0, 234, 255, 1))
          drop-shadow(0 0 35px rgba(0, 234, 255, 0.7));
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .logo {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 234, 255, 0.06);
  }
  .logo-img {
    height: 38px;
    filter: drop-shadow(0 0 8px rgba(0, 234, 255, 0.8))
            drop-shadow(0 0 18px rgba(0, 234, 255, 0.4));
  }
}


.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.navbar nav ul li a {
  color: white;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: 0.3s;
}

.navbar nav ul li a:hover,
.navbar nav ul li a.active {
  color: #00eaff;
  text-shadow: 0 0 10px rgba(0,234,255,0.8);
}

.lang-switch {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-family: sans-serif;
}

.lang-btn {
  background: #222;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 8px 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.lang-btn:hover {
  background: #111;
  color: #00eaff;
}

.lang-content {
  display: none;
  position: absolute;
  background-color: #2a2a2a;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  z-index: 1;
  border-radius: 6px;
  overflow: hidden;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(-10px);
  opacity: 0;
  margin-top: 10px;      
  right: 0;          

}

.lang-switch.show .lang-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.lang-content a {
  color: #ddd;
  text-decoration: none;
  display: block;
  transition: background 0.3s, color 0.3s;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 18px;
}

.lang-content a:hover,
.lang-content a.active {
  background-color: #00eaff10; /* легкая подсветка */
  color: #00eaff;
}



/* ============================= */
/* Hero Section */
/* ============================= */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero .bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  z-index: 1;
  max-width: 800px;
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(15px);
  box-shadow: 0 0 30px rgba(0,234,255,0.2);
}

.hero h1 {
  font-size: 48px;
  color: #00eaff;
  text-shadow: 0 0 15px rgba(0,234,255,0.8);
}

.hero p {
  font-size: 20px;
  margin: 20px 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: #00eaff;
  color: #000;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(0,234,255,0.6);
  animation: pulse 2.5s infinite;
}

.btn:hover {
  background: #00aacc;
  color: #fff;
  box-shadow: 0 0 25px rgba(0,234,255,1);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(0,234,255,0.6); }
  50% { box-shadow: 0 0 30px rgba(0,234,255,1); }
}

/* ============================= */
/* Секции */
/* ============================= */
.section {
  padding: 100px 50px;
  text-align: center;
  scroll-margin-top: 100px;
}

.section.dark {
  background: #111;
}

/* ============================= */
/* Преимущества */
/* ============================= */
.advantage-block {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.advantage-block h3 {
  color: #00eaff;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 20px;
}

.advantage-block p {
  margin-bottom: 15px;
}

.advantage-block table {
  width: 90%;
  margin: 10px auto 0;
  border-collapse: collapse;
  table-layout: fixed;
  overflow-x: auto;
}

.advantage-block th,
.advantage-block td {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 10px;
  text-align: center;
  word-wrap: break-word;
}

.advantage-block th {
  color: #00eaff;
  font-weight: 600;
}

.advantage-block .highlight {
  background: rgba(0,234,255,0.15);
  font-weight: bold;
}

/* Задаём одинаковую ширину колонкам */
.advantage-block table th:nth-child(1),
.advantage-block table td:nth-child(1) { width: 40%; }
.advantage-block table th:nth-child(2),
.advantage-block table td:nth-child(2) { width: 20%; }
.advantage-block table th:nth-child(3),
.advantage-block table td:nth-child(3) { width: 40%; }

/* ============================= */
/* Контакты */
/* ============================= */
form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

form input, form textarea {
  padding: 12px;
  border: none;
  border-radius: 10px;
  outline: none;
}

form input:focus, form textarea:focus {
  box-shadow: 0 0 15px rgba(0,234,255,0.6);
  border: 1px solid #00eaff;
}

form button {
  cursor: pointer;
}

.form-message {
  margin-top: 15px;
  font-size: 1rem;
  font-weight: bold;
  min-height: 20px;
  transition: opacity 0.5s ease;
}

/* ============================= */
/* Footer */
/* ============================= */
.footer {
  background: #000;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #aaa;
}

/* ============================= */
/* Видео */
/* ============================= */
.video-wrapper {
  max-width: 800px;
  margin: 40px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,234,255,0.3);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================= */
/* Эффект появления */
/* ============================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/* Бургер меню */
/* ============================= */
.burger {
  display: none; /* отображение включаем через медиа */
  flex-direction: column;
  justify-content: space-between;
  width: 30px; /* чуть больше для удобства */
  height: 22px;
  cursor: pointer;
  z-index: 1001; /* выше других элементов */
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #00eaff;
  border-radius: 3px;
  transition: all 0.4s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* тень для глубины */
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: #00c8e0; /* легкий цветовой акцент при активации */
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px); /* плавный уход */
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: #00c8e0;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
  transition: none; /* для десктопа анимация не нужна */
}

.navbar nav ul li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.navbar nav ul li a:hover,
.navbar nav ul li a.active {
  color: #00eaff;
  text-shadow: 0 0 10px rgba(0,234,255,0.8);
}

/* ============================= */
/* Мобильное меню */
/* ============================= */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 65px;
    right: 0;
    flex-direction: column;
    background: rgba(20, 20, 20, 0.95);
    width: 220px;
    padding: 15px 0;
    gap: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1000;
  }

  nav ul.active {
    transform: translateX(0);
    opacity: 1;
  }

  nav ul li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    list-style: none;
  }

  nav ul.active li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Появление по очереди */
  nav ul.active li:nth-child(1) { transition-delay: 0.05s; }
  nav ul.active li:nth-child(2) { transition-delay: 0.1s; }
  nav ul.active li:nth-child(3) { transition-delay: 0.15s; }
  nav ul.active li:nth-child(4) { transition-delay: 0.2s; }
  nav ul.active li:nth-child(5) { transition-delay: 0.25s; }

  nav ul li a {
    display: block;
    padding: 10px 25px;
    color: #fff;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  nav ul li a:hover,
  nav ul li a.active {
    color: #00eaff;
    background: rgba(0,234,255,0.05);
    border-left: 3px solid #00eaff;
    box-shadow: 0 4px 15px rgba(0,234,255,0.3);
  }
}


/* ============================= */
/* Адаптивность */
/* ============================= */
@media (max-width: 992px) {
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 18px; }
  .section { padding: 80px 30px; }
}

@media (max-width: 768px) {
  .nav-center {
    flex-direction: row;
    justify-content: space-between;
  }
  nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.9);
    width: 200px;
    padding: 20px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  nav ul.active { transform: translateX(0); }
  .burger { display: flex; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 28px; line-height: 1.3; }
  .hero p { font-size: 16px; }
  .btn { padding: 10px 20px; font-size: 14px; }
  .section { padding: 60px 20px; }
  .advantage-block { padding: 20px; }
  .advantage-block table { display: block; overflow-x: auto; white-space: nowrap; }
  .advantage-block table th,
  .advantage-block table td { font-size: 14px; padding: 8px; }
  .navbar { padding: 15px 20px; }
  .navbar .logo { font-size: 20px; }
}
