/* ============================================================
   MODERN MULTI-COLUMN FOOTER
   Inspired by Cube, Sleuth, and Bigeye designs
   ============================================================ */

.site-footer {
    background: linear-gradient(180deg, #0a0a1a 0%, #0f0f23 100%);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0;
}

/* Main Footer Section */
.footer-main {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 3rem;
}

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

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

.footer-logo-img {
    height: 36px;
    width: 36px;
    border-radius: 8px;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

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

/* Newsletter Form */
.footer-newsletter h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.newsletter-form {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.newsletter-form:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

/* Footer Columns */
.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

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

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

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
}

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

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Social Links */
.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: #a5b4fc;
    transform: translateY(-2px);
}

/* Legal Links */
.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.footer-legal a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
    }

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

    .footer-legal {
        order: 3;
    }
}

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer-column {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        padding: 0.875rem;
    }
}
