/* Footer Styles - Premium & Mobile Friendly */

.site-footer {
    background: var(--bg-main);
    padding: 6rem 8% 2rem;
    border-top: 1px solid var(--border-glass);
    font-family: var(--font-main, 'Inter', sans-serif);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    /* Ensure it pushes to bottom if flex container */
}

/* Add a subtle glow effect */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.5) 0%, transparent 70%);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.footer-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.footer-brand .tagline {
    color: #86efac;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-brand .description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 350px;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.follow-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--brand-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
    border-color: transparent;
}

/* Link Columns */
.link-column h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.link-column ul {
    list-style: none;
    padding: 0;
}

.link-column ul li {
    margin-bottom: 1rem;
}

.link-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.link-column ul li a:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.badge-pill {
    padding: 0.4rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.badge-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.badge-pill.green {
    color: var(--brand-green);
    border-color: rgba(34, 197, 94, 0.2);
}

.badge-pill.blue {
    color: var(--brand-green);
    border-color: rgba(34, 197, 94, 0.2);
}

.badge-pill.purple {
    color: var(--brand-green);
    border-color: rgba(34, 197, 94, 0.2);
}

.badge-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer-brand .description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .link-column h4 {
        margin-bottom: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }
}