/* Дополнительные стили для страниц скачивания */

.download-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.download-info:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.download-steps {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #22A207;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background: #49D626;
    transform: scale(1.1);
}

.step-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.download-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.download-option:hover::before {
    left: 100%;
}

.download-option:hover {
    border-color: #22A207;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.download-option.recommended {
    border-color: #22A207;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    position: relative;
}

.download-option.recommended::after {
    content: 'РЕКОМЕНДУЕТСЯ';
    position: absolute;
    top: 15px;
    right: -30px;
    background: #22A207;
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.download-option h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.download-option .size {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.download-option .features {
    text-align: left;
    margin: 20px 0;
}

.download-option .features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.download-option .features li {
    margin-bottom: 8px;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.download-option .features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22A207;
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22A207, #49D626);
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.security-badge:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.security-badge img {
    width: 20px;
    height: 20px;
}

/* Анимации для кнопок скачивания */
.download-btn {
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-btn:active::before {
    width: 300px;
    height: 300px;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .download-option.recommended::after {
        display: none;
    }
}

/* Дополнительные эффекты */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Стили для состояния загрузки */
.downloading {
    pointer-events: none;
    opacity: 0.7;
}

.downloading .progress-bar {
    display: block;
}

/* Стили для успешного скачивания */
.downloaded {
    background: #22A207 !important;
    color: white !important;
}

.downloaded:hover {
    background: #1a8a05 !important;
}

/* Пульсирующая анимация для кнопок */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 162, 7, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 162, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 162, 7, 0); }
}

.action-btn.pulse {
    animation: pulse 2s infinite;
}
