/**
 * منصة يونيميديا - الفوتر المركزي الذكي (Smart Central Footer)
 * Galaxy 2.0 Premium Edition
 */

.smart-footer {
    background: linear-gradient(to bottom, transparent, rgba(2, 6, 23, 0.95)) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.smart-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--jewel-primary, #10b981), transparent);
    opacity: 0.5;
}

/* Elite CTA Section */
.footer-cta {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 30px;
    padding: 3rem;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    backdrop-filter: blur(10px);
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.cta-content p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
}

/* Footer Main Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--jewel-primary, #10b981);
}

.footer-description {
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* Links Styling */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.8rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(-5px);
}

.footer-links a:hover i {
    opacity: 1;
    color: var(--jewel-primary, #10b981);
}

/* Newsletter Refined */
.newsletter-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.newsletter-input-wrap {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.newsletter-input-wrap input {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    color: white;
    flex: 1;
}

.newsletter-input-wrap button {
    background: var(--jewel-primary, #10b981);
    color: white;
    border: none;
    border-radius: 12px;
    width: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-input-wrap button:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

/* Stats Ribbon */
.footer-stats-ribbon {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.premium-stat {
    text-align: center;
}

.premium-stat .stat-val {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.premium-stat .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Bottom Strip */
.footer-bottom-strip {
    padding: 2rem 0;
    background: rgba(2, 6, 23, 0.5);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.social-icons-elite {
    display: flex;
    gap: 1.5rem;
}

.social-icons-elite a {
    color: #64748b;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons-elite a:hover {
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 3rem;
    }

    .bottom-flex {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}