/* ========================================
   MODERN FOOTER STYLES
   ======================================== */

.footer-modern {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Footer Column */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.footer-brand-col {
    max-width: 350px;
}

.footer-logo h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Links */
.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon svg {
    position: relative;
    z-index: 1;
}

/* Footer Headings */
.footer-heading {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    border-radius: 2px;
}

/* Footer Links List */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list li {
    margin: 0;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.footer-links-list a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    transition: width 0.3s ease;
}

.footer-links-list a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-links-list a:hover::before {
    width: 100%;
}

/* Footer Badge */
.footer-badge {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

.credit-link {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.credit-link:hover {
    color: #ec4899;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-credits {
        justify-content: center;
    }

    .footer-brand-col {
        max-width: 100%;
    }
}

/* Dark Mode Enhancement */
@media (prefers-color-scheme: dark) {
    .footer-modern {
        background: linear-gradient(180deg, rgba(10, 15, 30, 0.98) 0%, rgba(5, 10, 20, 1) 100%);
    }
}