/* ===== ВИДЕО СЕКЦИЯ ===== */
.video-section {
  padding: 80px 0;
  background: #fafafa;
  position: relative;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.video-header {
  text-align: center;
  margin-bottom: 60px;
}

.video-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.video-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.video-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

.video-info {
  padding: 20px 0;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.video-badge i {
  font-size: 1.1rem;
}

.video-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 25px;
  line-height: 1.3;
}

.video-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.video-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.video-features li:last-child {
  border-bottom: none;
}

.video-features i {
  color: #10b981;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.video-cta {
  margin-top: 30px;
}

.video-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  border: none;
  cursor: pointer;
}

.video-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #128c7e, #25d366);
}

.video-btn i {
  font-size: 1.3rem;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .video-section {
    padding: 60px 0;
  }
  
  .video-header h2 {
    font-size: 2rem;
  }
  
  .video-subtitle {
    font-size: 1.1rem;
  }
  
  .video-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }
  
  .video-info h3 {
    font-size: 1.5rem;
  }
  
  .video-btn {
    width: 100%;
    justify-content: center;
    padding: 18px 30px;
  }
}

@media (max-width: 480px) {
  .video-container {
    padding: 0 15px;
  }
  
  .video-header h2 {
    font-size: 1.8rem;
  }
  
  .video-wrapper {
    padding: 25px 15px;
  }
  
  .video-info h3 {
    font-size: 1.3rem;
  }
  
  .video-features li {
    font-size: 0.95rem;
  }
}

/* Анимации появления */
.video-section {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-frame {
  opacity: 0;
  animation: slideInLeft 0.8s ease forwards;
  animation-delay: 0.5s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.video-info {
  opacity: 0;
  animation: slideInRight 0.8s ease forwards;
  animation-delay: 0.7s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
