/* ==========================================
   FOOTER - MODERN DARK DESIGN
   Matches homepage and header design
   ========================================== */

.site-footer {
    position: relative;
    background: #0a0f0d;
    color: #ffffff;
    overflow: hidden;
}

/* Decorative glow */
.footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center bottom, rgba(181, 244, 51, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ==========================================
   MAIN FOOTER SECTION
   ========================================== */
.footer-main {
    padding: 80px 0 60px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 60px;
}

/* ==========================================
   BRAND COLUMN
   ========================================== */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
    transform: scale(1.05);
}

.footer-logo-text {
    height: 14px;
    width: auto;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.footer-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}

/* CTA Button */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #b5f433;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 8px;
    width: fit-content;
}

.footer-cta-btn:hover {
    background: #c8ff4d;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(181, 244, 51, 0.3);
}

.footer-cta-btn svg {
    transition: transform 0.3s ease;
}

.footer-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #b5f433;
    border-color: #b5f433;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(181, 244, 51, 0.25);
}

/* ==========================================
   LINKS WRAPPER
   ========================================== */
.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* ==========================================
   FOOTER COLUMNS
   ========================================== */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    color: #b5f433;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(181, 244, 51, 0.2);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #b5f433;
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

.footer-links li a:hover::before {
    width: 100%;
}

/* ==========================================
   FOOTER BOTTOM
   ========================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-copyright .text-primary {
    color: #b5f433;
    font-weight: 600;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: #b5f433;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-brand-col {
        align-items: center;
        text-align: center;
    }

    .footer-logo-link {
        align-items: center;
    }

    .footer-description {
        max-width: 450px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0 40px;
    }

    .footer-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-heading {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links li a {
        font-size: 13px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-tagline {
        font-size: 20px;
    }

    .footer-links-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-col {
        text-align: center;
        align-items: center;
    }

    .footer-heading {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-links li a {
        justify-content: center;
    }

    .footer-links li a:hover {
        transform: translateX(0);
    }

    .footer-links li a::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-footer.animate .footer-brand-col,
.site-footer.animate .footer-col {
    animation: footerFadeIn 0.6s ease forwards;
    opacity: 0;
}

.site-footer.animate .footer-col:nth-child(1) { animation-delay: 0.1s; }
.site-footer.animate .footer-col:nth-child(2) { animation-delay: 0.2s; }
.site-footer.animate .footer-col:nth-child(3) { animation-delay: 0.3s; }
