/* 
 * Standard Footer CSS - Mirror AI Quantum Footer
 * Based on Privacy Policy design - to be used across all templates
 * Ensures consistent footer appearance throughout the application
 */

/* Footer Styles - Enhanced Quantum Footer Version */
.quantum-footer {
    background: linear-gradient(135deg, 
        rgba(16, 21, 46, 0.98) 0%, 
        rgba(26, 31, 58, 0.95) 25%,
        rgba(45, 55, 95, 0.9) 50%,
        rgba(30, 40, 75, 0.95) 75%,
        rgba(20, 25, 55, 0.98) 100%);
    padding: 80px 40px 30px;
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.quantum-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(118, 75, 162, 0.6) 20%, 
        rgba(0, 242, 254, 0.8) 50%, 
        rgba(118, 75, 162, 0.6) 80%, 
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.quantum-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 242, 254, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 40% 60%, rgba(103, 126, 234, 0.08) 0%, transparent 30%);
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer {
    0%, 100% { 
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(118, 75, 162, 0.6) 20%, 
            rgba(0, 242, 254, 0.8) 50%, 
            rgba(118, 75, 162, 0.6) 80%, 
            transparent 100%);
    }
    50% { 
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(0, 242, 254, 0.8) 20%, 
            rgba(118, 75, 162, 0.6) 50%, 
            rgba(0, 242, 254, 0.8) 80%, 
            transparent 100%);
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, 
        rgba(0, 242, 254, 0.2) 0%, 
        rgba(118, 75, 162, 0.3) 50%, 
        rgba(103, 126, 234, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 242, 254, 0.2);
    transition: all 0.3s ease;
}

.footer-logo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 242, 254, 0.3);
    border-color: rgba(0, 242, 254, 0.5);
}

.footer-logo-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(1.3) saturate(1.2);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 400px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-column h4 {
    color: white !important;
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.2) !important;
    position: relative !important;
}

.footer-column h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #00f2fe, #764ba2) !important;
    border-radius: 2px !important;
    transition: width 0.3s ease !important;
}

.footer-column:hover h4::after {
    width: 60px !important;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-link:hover {
    color: #00f2fe;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.footer-link:hover::before {
    left: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 40px;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 242, 254, 0.5), 
        rgba(118, 75, 162, 0.5), 
        transparent);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright-main {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.company-details {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.version-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(0, 242, 254, 0.1) 50%, 
        rgba(118, 75, 162, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 242, 254, 0.2) 0%, 
        rgba(118, 75, 162, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.3);
    border-color: rgba(0, 242, 254, 0.5);
    color: white;
}

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

.social-link:nth-child(2):hover {
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
    border-color: rgba(0, 123, 255, 0.5);
}

.social-link:nth-child(3):hover {
    box-shadow: 0 15px 30px rgba(225, 48, 108, 0.3);
    border-color: rgba(225, 48, 108, 0.5);
}

/* X (Twitter) Icon Styling */
.x-icon {
    font-size: 18px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.x-link:hover .x-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .quantum-footer {
        padding: 40px 20px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-description {
        text-align: center;
        max-width: 100%;
        font-size: 0.9rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-links {
        align-items: center;
        gap: 8px;
    }

    .footer-link {
        font-size: 0.9rem;
        padding: 6px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }

    .footer-copyright {
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 12px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .copyright-main {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .company-details {
        font-size: 0.75rem;
    }

    .version-info {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .quantum-footer {
        padding: 30px 15px 20px;
    }

    .footer-grid {
        gap: 20px;
        margin-bottom: 25px;
    }

    .footer-logo {
        font-size: 1.4rem;
    }

    .footer-logo-icon {
        width: 32px;
        height: 32px;
    }

    .footer-logo-icon img {
        width: 18px;
        height: 18px;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-column h4 {
        font-size: 0.95rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .copyright-main {
        font-size: 0.8rem;
    }

    .company-details {
        font-size: 0.7rem;
    }

    .version-info {
        font-size: 0.65rem;
    }
}