/* Documentation Styles */
.documentation-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.documentation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.document-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.document-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ED1516, #c41212);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(237, 21, 22, 0.3);
}

.document-icon i {
    font-size: 2rem;
    color: white;
}

.document-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.document-title {
    font-size: 1.8rem;
    color: #ED1516;
    margin-bottom: 1rem;
    font-weight: 600;
}

.document-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.document-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.document-size,
.document-format {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.document-size {
    background: #e0f2fe;
    color: #0369a1;
}

.document-format {
    background: #f0fdf4;
    color: #166534;
}

.document-card .btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Download All Section */
.download-all-section {
    margin-top: 4rem;
}

.download-all-card {
    background: linear-gradient(135deg, #ED1516 0%, #c41212 50%, #07A709 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.download-all-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.download-all-content {
    position: relative;
    z-index: 2;
}

.download-all-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
}

.download-all-icon i {
    font-size: 3rem;
    color: white;
}

.download-all-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.download-all-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-all-content .btn {
    background: white;
    color: #ED1516;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.download-all-content .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Download Notification */
.download-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #07A709, #059606);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(7, 167, 9, 0.3);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.download-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-content i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .documentation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .document-card {
        padding: 1.5rem;
    }
    
    .document-icon {
        width: 60px;
        height: 60px;
    }
    
    .document-icon i {
        font-size: 1.5rem;
    }
    
    .document-title {
        font-size: 1.3rem;
    }
    
    .download-all-card {
        padding: 2rem 1.5rem;
    }
    
    .download-all-icon {
        width: 80px;
        height: 80px;
    }
    
    .download-all-icon i {
        font-size: 2rem;
    }
    
    .download-all-content h3 {
        font-size: 1.5rem;
    }
    
    .download-all-content p {
        font-size: 1rem;
    }
}
