/* ============================================
   Site Footer – CubeBS
   Modern dark theme, fully responsive
   ============================================ */

.site-footer {
    background: linear-gradient(135deg, #0a0f1a 0%, #0c1220 100%);
    color: #cbd5e6;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Footer Grid – 3 responsive columns */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2.5rem;
}

/* Footer columns */
.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #a855f7);
    border-radius: 2px;
}

/* About text */
.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0 1.2rem;
    opacity: 0.85;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-badges span {
    background: rgba(59, 130, 246, 0.12);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #90cdf4;
    backdrop-filter: blur(4px);
}

.footer-badges i {
    margin-right: 6px;
    font-size: 0.7rem;
}

/* Lists – links & contact */
.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.7rem;
}

.footer-links a, .footer-contact a {
    color: #cbd5e6;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-contact i {
    width: 24px;
    color: #3b82f6;
    font-size: 0.9rem;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #cbd5e6;
    font-size: 1rem;
    transition: all 0.25s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25);
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-bottom p {
    margin: 0;
}

.footer-credit i {
    margin: 0 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 2.5rem 0 1rem;
    }
    .footer-grid {
        gap: 1.8rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col h4 {
        display: block;
        text-align: center;
    }
    .footer-badges {
        justify-content: center;
    }
    .social-icons {
        justify-content: center;
    }
}