/* Анимации для HERO блока */
@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-up { animation: fadeUp 0.8s ease forwards; }
.animate-fade-down { animation: fadeDown 0.8s ease forwards; }
.animate-fade-left { animation: fadeLeft 0.8s ease forwards; }
.animate-fade-right { animation: fadeRight 0.8s ease forwards; }
.animate-zoom-in { animation: zoomIn 0.6s ease forwards; }

/* Контейнер для фона - теперь занимает 100% ширины родителя (с учетом margin) */
/* Контейнер для фона */
.hero-background,
.hero-slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Эффект параллакса */
.hero-background.parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Видео фон */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

/* Контейнер для Rutube плеера */
.rutube-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #000;
}

.rutube-player-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

/* Оверлей */
.hero-overlay,
.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-main,
.hero-slider-left {
    flex: 1;
    max-width:850px;
}

.hero-right {
    flex: 1;
    max-width: 400px;
    padding: 32px;
	 border-radius: 28px;
	 /* Эффект стекла с размытием */
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Рамка и тени */
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Текст */
    color: #ffffff;
    font-weight: 500;
    
    /* Анимации */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Дополнительно для читаемости */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}


/* Эффект при наведении на плашку */
.hero-right:hover {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
/* Бейдж */
.hero-badge,
.hero-slider-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    color: white;
}

/* Заголовки */
.hero-main h1,
.hero-slider-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

/* Кнопки */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
	font-size: 18px;
    font-weight: 600;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: white;
    color: #2360e8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2360e8;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
	font-size: 18px;
    font-weight: 600;
    border: 2px solid #2360e8;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
   background: #1d304c;
    color: white;
    border-color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(35, 96, 232, 0.3);
}

/* Правая панель */
.hero-right h3 {
    font-size: 24px;
	font-weight: bold;
    margin-bottom: 16px;
    color: var(--gray, #fff);
}

.hero-right p {
    color: var(--gray, #fff);
    margin-bottom: 24px;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0; 
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 0px solid var(--gray-light, #f1f5f9);
}

.feature-list li i {
    width: 24px;
    color: var(--accent, #2c9e8c);
    font-size: 18px;
}

/* Навигация слайдера */
.hero-slider-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-prev,
.slider-next {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--accent, #2c9e8c);
    transform: scale(1.1);
}

.hero-slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 30px;
    border-radius: 10px;
    background: var(--accent, #2c9e8c);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-content,
    .hero-slider-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-main,
    .hero-slider-left,
    .hero-right {
        max-width: 100%;
    }
    
    .hero-main h1,
    .hero-slider-title {
        font-size: 42px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-slider-nav {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-main h1,
    .hero-slider-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .hero-right {
        margin-top: 40px;
    }
  
   
}