/* Стили для переключателя языка */
.language-flag {
  width: 32px;
  height: 24px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.language-flag:hover {
  border: 2px solid #3B82F6;
}

/* Основные стили страницы */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #0A0A1F;
  color: #FFFFFF;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.header {
  background: rgba(0, 0, 40, 0.6);
  padding: 20px 10%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #3B82F6;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233B82F6"><path d="M12 1.5c-4.142 0-7.5 3.358-7.5 7.5 0 4.142 3.358 7.5 7.5 7.5 4.142 0 7.5-3.358 7.5-7.5 0-4.142-3.358-7.5-7.5-7.5zm0 13.5a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-3a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></svg>');
}

nav a {
  color: #E5E7EB;
  text-decoration: none;
  margin-left: 35px;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #3B82F6;
  transform: translateY(-2px);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 35px;
}

.hero {
  padding: 120px 10% 120px;
  text-align: center;
  background: linear-gradient(180deg, #000035 0%, #0A0A1F 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80') center/cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.pricing {
  padding: 100px 10%;
  background: #000028;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #3B82F6;
  margin: 20px auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.price-card {
  background: rgba(0, 0, 50, 0.6);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #1E3A8A;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.flag {
  width: 100px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.price {
  font-size: 2rem;
  margin: 25px 0;
  color: #3B82F6;
  font-weight: 700;
}

.btn {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.features {
  padding: 100px 10%;
  background: #00001F;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.feature {
  padding: 40px;
  background: rgba(0, 0, 50, 0.6);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid #1E3A8A;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.testimonials {
  padding: 100px 10%;
  background: #00001A;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: rgba(0, 0, 50, 0.6);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #1E3A8A;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  font-size: 60px;
  color: #3B82F6;
  position: absolute;
  top: -20px;
  left: 15px;
  opacity: 0.3;
}

.testimonial-author {
  color: #3B82F6;
  margin-top: 20px;
  font-weight: bold;
}

.legal-info {
  padding: 60px 10%;
  background: #000015;
  font-size: 0.9rem;
  color: #9CA3AF;
}

.legal-info a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.legal-info a:hover {
  color: #3B82F6;
  border-bottom-color: #3B82F6;
}

footer {
  padding: 40px 10%;
  background: #000010;
  text-align: center;
  border-top: 1px solid #1E3A8A;
}

.social-links a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #3B82F6;
  border-bottom-color: #3B82F6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 5%;
    background: transparent;
    backdrop-filter: none;
  }
  
  nav {
    margin-top: 20px;
    width: 100%;
  }
  
  nav a {
    display: block;
    margin: 10px 0;
    margin-left: 0;
  }
  
  .language-switch {
    margin-top: 20px;
    margin-left: 0;
  }
  
  .hero {
    padding: 100px 5% 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .pricing {
    padding: 50px 5%;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .price-card {
    padding: 20px;
  }
  
  .flag {
    width: 80px;
    height: 48px;
  }
  
  .price {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .features {
    padding: 50px 5%;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .feature {
    padding: 20px;
  }
  
  .testimonials {
    padding: 50px 5%;
  }
  
  .testimonial-cards {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .legal-info {
    padding: 30px 5%;
  }
  
  footer {
    padding: 20px 5%;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 24px;
  }
  
  nav a {
    font-size: 0.9rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .price {
    font-size: 1.2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
