/* ============================================
   ECPSOLUTIONS INC. - Premium Footer
   ============================================ */

.footer {
    position: relative;
    background: #050505;
    padding: 5rem 2rem 2rem;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
}

.footer-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Footer Brand */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.logo-orb-small {
    width: 36px;
    height: 36px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-orb-small .orb-core {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 30% 30%, #a855f7, #6366f1);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.footer-logo .brand-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo .brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-logo .brand-inc {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    border-radius: 4px;
}

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

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a,
.footer-column span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #a855f7;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #a855f7;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 2rem 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-links {
        gap: 1.5rem 2rem;
    }
    
    .footer-column {
        min-width: 140px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        gap: 1.5rem;
    }
}
