   /* Language switching */
[data-lang] {
    display: none !important;
}

[data-lang].active {
    display: block !important;
}

.lang-button {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-button:hover {
    background: rgba(66, 153, 225, 0.1);
}

.lang-button.active {
    background: #4299e1;
    border-color: #4299e1;
}

/* Background and Animations */
.crypto-particles {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: 
       radial-gradient(circle at 10% 20%, rgba(4, 159, 255, 0.3) 0%, transparent 50%),
       radial-gradient(circle at 90% 80%, rgba(255, 145, 4, 0.3) 0%, transparent 50%),
       linear-gradient(125deg, #1a1f2c 0%, #2d3748 50%, #1a1f2c 100%);
   z-index: -2;
   pointer-events: none;
   animation: bgPulse 15s ease infinite;
}



/* Floating Particles */  
.particles {  
   position: fixed;  
   top: 0;  
   left: 0;  
   width: 100%;  
   height: 100%;  
   z-index: -1;  
   pointer-events: none;  
}  

.particle {  
   position: absolute;  
   width: 3px;  
   height: 3px;  
   border-radius: 50%;  
   opacity: 0.7; /* Начальная прозрачность */  
   animation: float 6s infinite;  
   animation-timing-function: ease-in-out;  
   transition: opacity 0.5s; /* Плавное затухание */  
}  

@keyframes float {  
    0% {  
        transform: translateY(0) scale(1);  
        opacity: 1;  
    }  
    50% {  
        transform: translateY(-20px) translateX(10px) scale(1.5);  
        opacity: 0.5;  
    }  
    100% {  
        transform: translateY(0) translateX(-10px) scale(1);  
        opacity: 1;  
    }  
}  

/* Animations */
@keyframes moveNodes {
   0% { transform: translate(0, 0); }
   100% { transform: translate(300px, 300px); }
}

@keyframes moveConnections {
   0% { transform: translate(0, 0) rotate(0deg); }
   100% { transform: translate(-60px, -60px) rotate(45deg); }
}

@keyframes float {
   0%, 100% {
       transform: translate(0, 0);
       opacity: 0;
   }
   25% {
       opacity: 1;
   }
   75% {
       opacity: 1;
   }
   50% {
       transform: translate(100px, -100px);
   }
}

@keyframes bgPulse {
   0%, 100% { opacity: 1; }
   50% { opacity: 0.8; }
}

/* Добавляем парящие частицы */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(66, 153, 225, 0.5);
    border-radius: 50%;
    animation: float 6s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    50% {
        transform: translate(100px, -100px);
    }
}

/* Радиальные градиенты для фона */
/* 
.gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(4, 159, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 145, 4, 0.3) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: bgPulse 15s ease infinite;
}
*/

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.3; }
}

/* Добавить эти стили */
.tradingview-widget-container {
    height: 46px !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tradingview-widget-container__widget {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tradingview-widget-copyright {
    display: none !important;
}


/* Feature Cards */
.feature-card {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 153, 225, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(66, 153, 225, 0.5);
    box-shadow: 0 0 30px rgba(66, 153, 225, 0.2);
}

/* Stats Cards */
.stats-card1 {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 153, 225, 0.2);
    transition: all 0.3s ease;
}

.stats-card1:hover {
    transform: translateY(-5px);
    border-color: rgba(66, 153, 225, 0.5);
    box-shadow: 0 0 30px rgba(66, 153, 225, 0.2);
}

/* Coin Cards Hover Effect - добавить после строки 162 */
.coin-card-wrapper {
    perspective: 1000px;
    height: 100%;
    min-height: 140px;
    position: relative;
}

.coin-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 140px;
    transition: transform 0.4s ease-out; /* Ускорили анимацию */
    transform-style: preserve-3d;
    cursor: pointer;
}

.coin-card-front,
.coin-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: rgba(55, 65, 81, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 153, 225, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden; /* Предотвращаем выход контента */
}

.coin-card-front {
    z-index: 2;
}

.coin-card-back {
    transform: rotateY(180deg);
    background: rgba(31, 41, 55, 0.95);
    border-color: rgba(66, 153, 225, 0.4);
    padding: 1rem;
    min-height: 220px; /* Минимальная высота для обратной стороны */
}

/* Hover effect с увеличением пространства */
.coin-card-wrapper:hover {
    z-index: 10; /* Поднимаем карточку над остальными */
    transform: scale(1.1); /* Немного увеличиваем */
}

.coin-card-wrapper:hover .coin-card {
    transform: rotateY(180deg);
}

.coin-card-wrapper:hover .coin-card-front {
    border-color: rgba(66, 153, 225, 0.3);
}

.coin-card-wrapper:hover .coin-card-back {
    box-shadow: 0 10px 30px rgba(66, 153, 225, 0.3);
}

/* Стили для содержимого карточек */
.coin-symbol {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #e5e7eb;
}

.coin-profit {
    font-size: 1.5rem;
    font-weight: bold;
}

.coin-symbol-small {
    font-size: 0.9rem; /* Уменьшили размер */
    font-weight: bold;
    color: #93c5fd;
    margin-bottom: 0.25rem;
}

.coin-profit-small {
    font-size: 1.1rem; /* Уменьшили размер */
    font-weight: bold;
    margin-bottom: 0.5rem; /* Уменьшили отступ */
}

.coin-stats {
    width: 100%;
    font-size: 0.75rem; /* Уменьшили размер шрифта */
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 0; /* Уменьшили отступы */
    border-bottom: 1px solid rgba(66, 153, 225, 0.1);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.7rem; /* Уменьшили размер */
}

.stat-value {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 0.75rem; /* Уменьшили размер */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .coin-card-wrapper {
        touch-action: manipulation;
    }
    
    .coin-card-wrapper.active {
        z-index: 10;
        transform: scale(1.05);
    }
    
    .coin-card-wrapper.active .coin-card {
        transform: rotateY(180deg);
    }
}

/* Анимация появления карточек */
.coin-card-wrapper {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    transition: all 0.3s ease, transform 0.3s ease; /* Добавили плавность */
}

.coin-card-wrapper:nth-child(1) { animation-delay: 0.1s; }
.coin-card-wrapper:nth-child(2) { animation-delay: 0.2s; }
.coin-card-wrapper:nth-child(3) { animation-delay: 0.3s; }
.coin-card-wrapper:nth-child(4) { animation-delay: 0.4s; }
.coin-card-wrapper:nth-child(5) { animation-delay: 0.5s; }
.coin-card-wrapper:nth-child(6) { animation-delay: 0.6s; }
.coin-card-wrapper:nth-child(7) { animation-delay: 0.7s; }
.coin-card-wrapper:nth-child(8) { animation-delay: 0.8s; }
.coin-card-wrapper:nth-child(9) { animation-delay: 0.9s; }
.coin-card-wrapper:nth-child(10) { animation-delay: 1s; }

/* Дополнительные эффекты */
.coin-card-front::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(66, 153, 225, 0.1), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.coin-card-wrapper:hover .coin-card-front::before {
    animation: shine 0.5s ease-out;
}

/* Обновленные стили для сетки монет с увеличенными отступами */
#coins-grid-ru,
#coins-grid-en {
    display: grid;
    grid-template-columns: calc(50% - 0.75rem) calc(50% - 0.75rem); /* 2 колонки */
    gap: 1.5rem;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    #coins-grid-ru,
    #coins-grid-en {
        grid-template-columns: calc(25% - 1.5rem) calc(25% - 1.5rem) calc(25% - 1.5rem) calc(25% - 1.5rem); /* 4 колонки */
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    #coins-grid-ru,
    #coins-grid-en {
        grid-template-columns: calc(20% - 1.6rem) calc(20% - 1.6rem) calc(20% - 1.6rem) calc(20% - 1.6rem) calc(20% - 1.6rem); /* 5 колонок */
        gap: 2rem;
    }
}

/* Оптимизация производительности */
.coin-card {
    will-change: transform; /* Подсказка браузеру для оптимизации */
}

.coin-card-wrapper:hover .coin-card {
    will-change: auto; /* Убираем после анимации */
}

/* Contact Form Styles */
.contact-section {
    position: relative;
    overflow: hidden;
    background-color: #1a1f2c;
}

.contact-container {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 153, 225, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.contact-container:hover {
    border-color: rgba(66, 153, 225, 0.3);
    box-shadow: 0 0 30px rgba(66, 153, 225, 0.1);
}

/* Form Input Styles */
.input-field,
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(66, 153, 225, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #e5e7eb !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-field::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(156, 163, 175, 0.6) !important;
}

.input-field:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(66, 153, 225, 0.5);
    background: rgba(17, 24, 39, 0.9);
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.1);
}

/* Select Styles */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

select option {
    background-color: #1f2937;
    color: #e5e7eb;
}

/* Textarea Styles */
textarea {
    min-height: 120px;
    resize: vertical;
}

/* Price Indicators */
.price-up {
    color: #34D399;
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.price-down {
    color: #EF4444;
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.price-up::before {
    content: '▲';
    font-size: 10px;
    margin-right: 4px;
}

.price-down::before {
    content: '▼';
    font-size: 10px;
    margin-right: 4px;
}

/* Icons */
.crypto-icon {
    font-size: 24px;
    margin-right: 8px;
    background: linear-gradient(45deg, #4299e1, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}



@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-container {
        padding: 1.5rem;
    }
    
    .input-field,
    .select-field,
    .textarea-field {
        font-size: 0.875rem;
    }
}
/* Hero Image Styles */
.floating {
    animation: floating 6s ease-in-out infinite;
}

.glow {
    box-shadow: 0 0 15px rgba(66, 153, 225, 0.5);
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Добавляем новый стиль для первой секции */
section:first-of-type {
    padding-top: 80px; /* отступ от тикера */
    padding-bottom: 40px; /* уменьшаем нижний отступ */
    min-height: auto; /* убираем фиксированную минимальную высоту */
}

/* Modal styles */
.modal-open {
    overflow: hidden;
}

#videoModal {
    transition: opacity 0.3s ease;
    padding: 20px;
}

#videoModal.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

#videoModal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
    display: flex !important;
}

.modal-content {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

.btn-glow {
            position: relative;
            background: linear-gradient(45deg, #3182ce, #4299e1);
            background-size: 200% 200%;
            animation: glowPulse 2s infinite;
        }
		@keyframes glowPulse {
            0% { background-position: 0% 50%; box-shadow: 0 0 20px rgba(66, 153, 225, 0.5); }
            50% { background-position: 100% 50%; box-shadow: 0 0 30px rgba(66, 153, 225, 0.8); }
            100% { background-position: 0% 50%; box-shadow: 0 0 20px rgba(66, 153, 225, 0.5); }
        }
		 .text-gradient {
            background: linear-gradient(45deg, #4299e1, #667eea);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
		
		/* Trading Terminal */
    .terminal-window {
        background: rgba(26, 32, 44, 0.95);
        border: 1px solid rgba(66, 153, 225, 0.3);
        border-radius: 8px;
        padding: 16px;
        font-family: 'Monaco', monospace;
        margin-top: 24px;
    }

    .terminal-header {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
    }

    .terminal-button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
    }

    .terminal-button:nth-child(1) { background: #FF5F56; }
    .terminal-button:nth-child(2) { background: #FFBD2E; }
    .terminal-button:nth-child(3) { background: #27C93F; }

    .terminal-content {
        color: #4299e1;
        line-height: 1.6;
    }

    .terminal-line {
        margin-bottom: 8px;
        display: flex;
        align-items: center;
    }

    .terminal-prompt {
        color: #34D399;
        margin-right: 8px;
    }

    .terminal-cursor {
        display: inline-block;
        width: 8px;
        height: 16px;
        background: #4299e1;
        animation: cursorBlink 1s infinite;
        margin-left: 4px;
    }

    @keyframes cursorBlink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }
	
	/* Price Cards */
    .price-card {
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .price-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(66, 153, 225, 0.1), transparent);
        transform: rotate(45deg);
        animation: shine 3s infinite;
    }

    @keyframes shine {
        0% { transform: translateX(-100%) rotate(45deg); }
        100% { transform: translateX(100%) rotate(45deg); }
    }
	body {
    overflow-x: hidden;
}
/* Убираем отступы между секциями */
section {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Убираем возможные границы */
section + section {
    border-top: none;
}

/* TradingView Widget Styles */
.tv-ticker-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 46px;
    z-index: 40;
}

.tradingview-widget-container,
.tradingview-widget-container__widget {
    height: 46px !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tradingview-widget-copyright {
    display: none !important;
}

/* Дополнительные стили для Feature Cards */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(125deg, 
        rgba(66, 153, 225, 0.1) 0%, 
        rgba(102, 126, 234, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

/* Улучшенная анимация иконок */
.feature-card .fas {
    transition: all 0.3s ease;
}

.feature-card:hover .fas {
    transform: scale(1.2) rotate(360deg);
    color: #60A5FA;
}

/* Анимация появления при скролле */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* Улучшенный градиентный фон для карточек */
.feature-card {
    background: linear-gradient(
        145deg,
        rgba(30, 41, 59, 0.8),
        rgba(15, 23, 42, 0.8)
    );
    backdrop-filter: blur(10px);
}

/* Улучшенные эффекты для шагов */
.step-number {
    background: linear-gradient(45deg, #3B82F6, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Дополнительная анимация для списков */
.feature-card ul li {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.feature-card:hover ul li {
    opacity: 1;
    transform: translateX(0);
}

.feature-card ul li:nth-child(1) { transition-delay: 0.1s; }
.feature-card ul li:nth-child(2) { transition-delay: 0.2s; }
.feature-card ul li:nth-child(3) { transition-delay: 0.3s; }

/* Скрипт для анимации при скролле */

/* Button Hover Animation - этого у вас нет */
.group:hover .group-hover\:translate-x-2 {
    transition-delay: 0.1s;
}

/* Popular Badge Animation - этого тоже нет */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Scroll Animation для price cards - у вас есть похожее, но для feature cards */
.price-card.animate-on-scroll {
    opacity: 0;
}

.price-card.animate-on-scroll.visible {
    animation: fadeInUp 0.6s ease forwards;
}
/* Анимация для индикаторов доверия */
.bg-gray-900\/50 {
    transition: all 0.3s ease;
}

.bg-gray-900\/50:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.2);
}

/* Улучшенная анимация для статистики */
.animate__animated.animate__fadeInUp {
    animation-duration: 0.8s;
    animation-delay: 0.2s;
}

/* Улучшенный градиент для призыва к действию */
.from-blue-600\/20.to-indigo-600\/20 {
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-gradient-animation {
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
}

.stat-card:hover .stat-blur {
    opacity: 1;
    transform: scale(1.05);
}

.stat-number {
    text-shadow: 0 0 20px rgba(66, 153, 225, 0.5);
}

/* Дополнительная анимация для подчеркивания заголовка */
.section-title-underline {
    width: 0;
    transition: width 0.6s ease;
}

.section-title:hover .section-title-underline {
    width: 100%;
}
.stats-card {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(66, 153, 225, 0.2);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(66, 153, 225, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: rgba(66, 153, 225, 0.5);
    box-shadow: 0 0 30px rgba(66, 153, 225, 0.2);
}

.text-gradient {
    background: linear-gradient(45deg, #4299e1, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Специфичные стили для футера */
footer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 3rem 0;
    border: none;
    overflow: visible;
    background: transparent !important;
    z-index: 1; /* Убеждаемся, что футер поверх */
}

/* Стили для фоновых элементов внутри футера */
footer .background-elements {
     position: absolute;
    inset: 0;
    z-index: 0;
}

footer .crypto-particles,
footer .particles {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer .gradient-overlay {
 position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(26, 32, 44, 0.95) 100%
    );
    z-index: 1;
}

/* Контент футера */
 position: relative;
    z-index: 2;
    padding-top: 3rem; /* Добавляем отступ сверху для контента футера */
}

/* Убираем все возможные фоны внутри футера */
footer *, 
footer *::before,
footer *::after {
    background-color: transparent !important;
}

/* Стили для социальных иконок */
footer .social-icons a {
    background: rgba(66, 153, 225, 0.1) !important;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    background: rgba(66, 153, 225, 0.2) !important;
    transform: translateY(-2px);
}

/* Override для body */
body {
    overflow-x: hidden;
    min-height: 100vh;
}

/* Убираем отступы между секциями */
section {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* FAQ Section Animation Styles */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    animation: faqFadeIn 0.6s ease forwards;
    background: rgba(26, 32, 44, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 153, 225, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация задержки для последовательного появления */
.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

/* Улучшенные стили для кнопки вопроса */
.faq-button {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    padding: 1.25rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border-radius: 0.5rem;
}

.faq-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #4299e1, #667eea);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.faq-button:hover {
    background: rgba(66, 153, 225, 0.05);
}

.faq-button:hover::before,
.faq-button.active::before {
    transform: scaleY(1);
}

/* Улучшенная анимация иконки */
.faq-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.faq-button.active .faq-icon {
    transform: translateY(-50%) rotate(180deg);
    color: #4299e1;
}

/* Улучшенная анимация ответа */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-10px);
    padding: 0 1.25rem;
    background: rgba(26, 32, 44, 0.3);
}

.faq-answer.active {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 1.25rem;
    border-top: 1px solid rgba(66, 153, 225, 0.1);
}

/* Улучшенный эффект свечения при наведении */
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(66, 153, 225, 0.1),
        0 0 0 1px rgba(66, 153, 225, 0.1);
    border-color: rgba(66, 153, 225, 0.2);
}

/* Улучшенная пульсация для активного вопроса */
@keyframes activePulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(66, 153, 225, 0.2);
        background: rgba(66, 153, 225, 0.05);
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(66, 153, 225, 0);
        background: rgba(66, 153, 225, 0.1);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(66, 153, 225, 0);
        background: rgba(66, 153, 225, 0.05);
    }
}

.faq-button.active {
    animation: activePulse 2s infinite;
    background: rgba(66, 153, 225, 0.05);
}

/* Дополнительные стили для улучшения внешнего вида */
.faq-question {
    color: #e2e8f0;
    font-weight: 500;
    padding-right: 2rem;
    transition: color 0.3s ease;
}

.faq-button.active .faq-question {
    color: #4299e1;
}

.faq-answer-content {
    color: #a0aec0;
    line-height: 1.6;
}

/* Стили для контейнера FAQ */
.faq-container {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Contact Section Specific Styles - Add these to your existing CSS */
.contact-method-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-method-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(66, 153, 225, 0.15);
}

/* Status indicator animation */
.status-indicator {
    position: relative;
    padding-left: 1rem;
}

.status-indicator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #34D399;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.5); opacity: 0.5; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

/* Contact card hover effects */
.contact-info-card {
    transition: all 0.3s ease;
    transform-origin: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(66, 153, 225, 0.2);
}

/* Social media icons animation */
.social-media-icon {
    transition: all 0.3s ease;
}

.social-media-icon:hover {
    transform: translateY(-3px) scale(1.1);
    filter: brightness(1.2);
}

/* WhatsApp and Telegram cards */
.messenger-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.messenger-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(66, 153, 225, 0.1),
        rgba(66, 153, 225, 0.05)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.messenger-card:hover::after {
    opacity: 1;
}

.messenger-icon {
    transition: all 0.3s ease;
}

.messenger-card:hover .messenger-icon {
    transform: scale(1.1);
}

/* Support hours cards */
.support-hours-card {
    transition: all 0.3s ease;
}

.support-hours-card:hover {
    background: rgba(26, 32, 44, 0.9);
    transform: translateY(-2px);
}

/* International support badges */
.language-badge {
    transition: all 0.3s ease;
}

.language-badge:hover {
    transform: translateY(-2px);
    background: rgba(66, 153, 225, 0.3);
}

/* Pricing Section Styles */
.pricing-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Container styles for grid layout */
.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 153, 225, 0.2);
    border-radius: 1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 1.5rem; /* Уменьшено с 2rem */
    display: flex;
    flex-direction: column;
    min-height: 500px; /* Уменьшено с 600px */
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(66, 153, 225, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.pricing-card:hover::before {
    animation: shine 1.5s ease-out;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(66, 153, 225, 0.5);
    box-shadow: 0 20px 40px rgba(66, 153, 225, 0.2);
}

/* Featured Card */
.pricing-card.featured {
    background: linear-gradient(
        145deg,
        rgba(49, 130, 206, 0.2),
        rgba(66, 153, 225, 0.1)
    );
    transform: translateY(-20px);
    border-color: rgba(66, 153, 225, 0.3);
}

.pricing-card.featured:hover {
    transform: translateY(-30px);
}

/* Card Header Styles */
.pricing-card-header {
    margin-bottom: 1rem; /* Уменьшено с 2rem */
}


.pricing-card h3 {
    font-size: 1.25rem; /* Уменьшено с 1.5rem */
    font-weight: bold;
    margin-bottom: 0.25rem; /* Уменьшено с 0.5rem */
}

.pricing-card p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
}

/* Price Styles */
.pricing-amount {
    margin-bottom: 1rem; /* Уменьшено с 2rem */
}

.pricing-amount .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-amount .amount {
    font-size: 2.5rem; /* Уменьшено с 3rem */
    font-weight: bold;
}

.pricing-amount .period {
    color: #a0aec0;
    margin-left: 0.25rem;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 0.75rem; /* Уменьшено с 1rem */
    right: 0.75rem; /* Уменьшено с 1rem */
    background: linear-gradient(45deg, #3182ce, #4299e1);
    padding: 0.2rem 0.75rem; /* Уменьшено */
    border-radius: 9999px;
    font-size: 0.7rem; /* Уменьшено с 0.75rem */
    font-weight: bold;
    color: white;
    animation: pulse 2s infinite;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 4rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(66, 153, 225, 0.2);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background: #4299e1;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgba(66, 153, 225, 0.4);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Feature Icons */
.card-icon {
    transition: all 0.3s ease;
    margin-left: auto;
}

.pricing-card:hover .card-icon {
    transform: scale(1.1) rotate(360deg);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem; /* Уменьшено с 2rem */
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    opacity: 0.9;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    padding: 0.35rem 0; /* Уменьшено с 0.5rem */
    color: #e2e8f0;
	font-size: 0.9rem; /* Уменьшен размер шрифта */
}

.feature-list li i {
    color: #48bb78;
    margin-right: 1rem;
    flex-shrink: 0;
}

.pricing-card:hover .feature-list li {
    opacity: 1;
    transform: translateX(0);
}

.feature-list li:nth-child(1) { transition-delay: 0.1s; }
.feature-list li:nth-child(2) { transition-delay: 0.2s; }
.feature-list li:nth-child(3) { transition-delay: 0.3s; }
.feature-list li:nth-child(4) { transition-delay: 0.4s; }
.feature-list li:nth-child(5) { transition-delay: 0.5s; }
.feature-list li:nth-child(6) { transition-delay: 0.6s; }

/* Start Button */
.start-button {
    background: linear-gradient(45deg, #3182ce, #4299e1);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 0.75rem; /* Уменьшено с 1rem */
    border-radius: 0.5rem;
    text-align: center;
    width: 100%;
    margin-top: auto;
	font-size: 0.9rem; /* Уменьшено */
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(66, 153, 225, 0.3);
}

.start-button .arrow-icon {
    transition: transform 0.3s ease;
    opacity: 0;
    margin-left: 0.5rem;
}

.start-button:hover .arrow-icon {
    transform: translateX(5px);
    opacity: 1;
}

/* Featured Button */
.featured-button {
    background: white;
    color: #4299e1;
}

.featured-button:hover {
    background: #f7fafc;
}

/* Most Popular Text */
.most-popular-text {
    text-align: center;
    color: #a0aec0;
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* Section Title */
.pricing-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-section-title h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #4299e1, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-section-title p {
    color: #a0aec0;
    font-size: 1.2rem;
}

/* Animations */
@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .pricing-cards-container {
        grid-template-columns: calc(50% - 0.75rem) calc(50% - 0.75rem); /* 2 колонки */
        gap: 1.5rem; /* Уменьшено с 2rem */
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .pricing-cards-container {
        grid-template-columns: calc(33.333% - 1.34rem) calc(33.333% - 1.34rem) calc(33.333% - 1.34rem); /* 3 колонки */
    gap: 2rem;
    }

    .pricing-card.featured {
        transform: translateY(0);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .pricing-toggle {
        flex-direction: column;
        align-items: center;
    }
    
    .billing-text {
        margin: 0.5rem 0;
    }

    .pricing-section-title h2 {
        font-size: 2rem;
    }
}

/* Features Section под ценами */
.pricing-feature {
    text-align: center;
    padding: 1.25rem; /* Уменьшено с 2rem */
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 153, 225, 0.2);
    border-radius: 0.75rem; /* Уменьшено с 1rem */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem; /* Уменьшено с 1rem */
}

.pricing-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(66, 153, 225, 0.5);
    box-shadow: 0 10px 20px rgba(66, 153, 225, 0.2);
}

.pricing-feature h4 {
    color: #fff;
     font-size: 1.1rem; /* Уменьшено с 1.25rem */
    font-weight: 600;
    margin-bottom: 0.25rem; /* Уменьшено с 0.5rem */
}

.pricing-feature p {
    color: #a0aec0;
    font-size: 0.9rem; /* Уменьшено с 1rem */
    line-height: 1.4;
}

.pricing-feature .feature-icon {
    width: 3rem; /* Уменьшено с 4rem */
    height: 3rem; /* Уменьшено с 4rem */
    background: rgba(66, 153, 225, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
     margin-bottom: 0.75rem; /* Уменьшено с 1rem */
    transition: all 0.3s ease;
}

.pricing-feature .feature-icon i {
    font-size: 1.5rem;
    color: #4299e1;
    transition: all 0.3s ease;
}

.pricing-feature:hover .feature-icon {
    background: rgba(66, 153, 225, 0.2);
    transform: scale(1.1);
}

.pricing-feature:hover .feature-icon i {
    transform: rotate(360deg);
}

/* Features Container */
.features-section {
    margin-top: 4rem;
    padding: 2rem 0;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .pricing-feature {
        padding: 1.5rem;
    }
    
    .pricing-feature h4 {
        font-size: 1.1rem;
    }
    
    .pricing-feature p {
        font-size: 0.9rem;
    }
}

/* Algorithm Cards Styles */
.algorithm-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.algorithm-card:nth-child(1) { animation-delay: 0.1s; }
.algorithm-card:nth-child(2) { animation-delay: 0.2s; }
.algorithm-card:nth-child(3) { animation-delay: 0.3s; }
.algorithm-card:nth-child(4) { animation-delay: 0.4s; }
.algorithm-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.algorithm-card:hover {
    transform: translateY(-5px);
}

/* Icon Animation */
.algorithm-card .rounded-full {
    transition: all 0.3s ease;
}

.algorithm-card:hover .rounded-full {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(66, 153, 225, 0.3);
}

/* Gradient Border Animation */
.algorithm-card .absolute {
    transition: opacity 1s ease;
}

.algorithm-card:hover .absolute {
    opacity: 1;
}

/* List Item Animation */
.algorithm-card ul li {
    transition: transform 0.3s ease;
}

.algorithm-card:hover ul li {
    transform: translateX(5px);
}

/* Button Glow Effect */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(66, 153, 225, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: buttonGlow 2s linear infinite;
}

@keyframes buttonGlow {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Benefits Cards Animation */
.benefit-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.3s; }
.benefit-card:nth-child(3) { animation-delay: 0.5s; }

.benefit-card:hover {
    transform: translateY(-5px);
}

/* Icon Animation */
.benefit-card .rounded-full i {
    transition: all 0.5s ease;
}

.benefit-card:hover .rounded-full i {
    transform: scale(1.2) rotate(360deg);
}

/* Border Animation */
.benefit-card .border {
    transition: all 0.3s ease;
}

.benefit-card:hover .border {
    border-color: rgba(66, 153, 225, 0.5);
    box-shadow: 0 0 30px rgba(66, 153, 225, 0.2);
}

/* Общие стили для карточек */
.benefit-card .relative.bg-gray-900 {
    min-height: 320px; /* Фиксированная высота для всех карточек */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Контейнер для текста */
.benefit-card .text-center {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Стили для заголовка */
.benefit-card h3 {
    margin-bottom: 1rem;
    min-height: 3rem; /* Фиксированная высота для заголовков */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для описания */
.benefit-card p {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 280px; /* Ограничение ширины текста */
    margin: 0 auto;
    line-height: 1.5;
}

/* Стили для иконок */
.benefit-card .w-20 {
    margin-bottom: 2rem;
}

/* Прогресс-бар */
.benefit-card .h-1 {
    margin-top: auto;
    width: 100%;
}

/* Progress Bar Styles */
.progress-bar {
    position: relative;
    height: 2px; /* Немного увеличим высоту */
    width: 0;
    background: linear-gradient(90deg, #3B82F6, #6366F1);
    transition: width 0.6s ease;
    border-radius: 1px;
    margin-top: auto;
}

/* Эффект свечения */
.progress-bar::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    bottom: -2px;
    background: inherit;
    filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Анимация при наведении */
.benefit-card:hover .progress-bar {
    width: 100%;
    animation: progressPulse 2s ease infinite;
}

.benefit-card:hover .progress-bar::after {
    opacity: 0.6;
}

/* Пульсация прогресс-бара */
@keyframes progressPulse {
    0% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
    100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
}
/*обучение */
.learning-section {
  position: relative;
  overflow: hidden;
}

.learning-section .container {
  position: relative;
  z-index: 1;
}

.learning-section .video-card {
  transition: transform 0.3s ease;
}

.learning-section .video-card:hover {
  transform: translateY(-5px);
}

.learning-section .play-button {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.learning-section .video-card:hover .play-button {
  opacity: 1;
  transform: scale(1);
}

.learning-section .resource-card {
  transition: all 0.3s ease;
}

.learning-section .resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.learning-section {
  position: relative;
  overflow: hidden;
}

.learning-section .video-card {
  transition: transform 0.3s ease;
}

.learning-section .video-card:hover {
  transform: translateY(-5px);
}

.learning-section .play-button {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.learning-section .video-card:hover .play-button {
  opacity: 1;
  transform: scale(1);
}

#videoModal {
  transition: opacity 0.3s ease;
}

#videoModal.hidden {
  opacity: 0;
  pointer-events: none;
}

#videoModal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* для соотношения сторон 16:9 */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* следуюущий блок */
/* Learning Section Styles */
.learning-section {
  position: relative;
  overflow: hidden;
}

.learning-section .video-card {
  transition: transform 0.3s ease;
}

.learning-section .video-card:hover {
  transform: translateY(-5px);
}

.learning-section .play-button {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.learning-section .video-card:hover .play-button {
  opacity: 1;
  transform: scale(1);
}

/* Modal Styles */
body {
  min-height: 100vh;
  overflow-y: scroll;
}

#videoModal {
  transition: opacity 0.3s ease;
  padding-right: var(--scrollbar-width, 0);
}

#videoModal.hidden {
  opacity: 0;
  pointer-events: none;
}

#videoModal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Modal Open States */
.modal-open {  
  overflow: hidden;  
  
}  

.modal-open {
  padding-right: var(--scrollbar-width, 0);
}

/* Animation Classes */
.fade-enter {
  opacity: 0;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity 300ms ease-in;
}

.fade-exit {
  opacity: 1;
}

.fade-exit-active {
  opacity: 0;
  transition: opacity 300ms ease-in;
}

/* доп стили1 */
/* Стили для валидации полей */
input:not(:placeholder-shown):valid {
    border-color: rgb(34, 197, 94) !important;
}

input:not(:placeholder-shown):invalid {
    border-color: rgb(239, 68, 68) !important;
}

input:focus {
    border-color: rgb(59, 130, 246) !important;
}

/* Плавные переходы для полей */
input {
    transition: all 0.3s ease !important;
}

/* Стиль для поля в фокусе с ошибкой */
input:focus:invalid {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* Стиль для поля в фокусе с валидным значением */
input:focus:valid {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2) !important;
}
/* notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: white;
}

.notification.warning {
    background: rgba(251, 146, 60, 0.9);
    border-color: rgba(251, 146, 60, 0.4);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

