/* ==========================================================================
   WEBSITISM - Footer Styles
   ========================================================================== */

/* ---- CTA Band ---- */
.ws-footer__cta-band {
    background: var(--ws-gradient-hero);
    border-top: 1px solid rgba(0, 201, 219, 0.1);
    padding: var(--ws-space-16) 0;
    position: relative;
    overflow: hidden;
}

.ws-footer__cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 201, 219, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.ws-footer__cta-band::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(123, 47, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.ws-footer__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ws-space-8);
    position: relative;
    z-index: 1;
}

.ws-footer__cta-title {
    font-size: var(--ws-text-3xl);
    font-weight: 500;
    color: var(--ws-white);
    margin-bottom: var(--ws-space-3);
}

.ws-footer__cta-text {
    font-size: var(--ws-text-lg);
    color: var(--ws-gray-400);
    margin: 0;
}

.ws-footer__cta-actions {
    display: flex;
    gap: var(--ws-space-4);
    flex-shrink: 0;
}

/* ---- Main Footer ---- */
.ws-footer__main {
    padding: var(--ws-space-16) 0 var(--ws-space-12);
    background: var(--ws-bg-raised, #111114);
}

.ws-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--ws-space-10);
}

/* Footer Column */
.ws-footer__col--about {
    padding-right: var(--ws-space-8);
}

.ws-footer__logo {
    display: inline-block;
    margin-bottom: var(--ws-space-6);
    text-decoration: none;
}

.ws-footer__logo .ws-logo__text {
    font-size: var(--ws-text-2xl);
}

.ws-footer__about-text {
    font-size: var(--ws-text-sm);
    color: var(--ws-gray-400);
    line-height: var(--ws-leading-relaxed);
    margin-bottom: var(--ws-space-6);
}

/* Social Links */
.ws-footer__social {
    display: flex;
    gap: var(--ws-space-3);
}

.ws-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--ws-radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ws-gray-400);
    transition: all var(--ws-transition-base);
}

.ws-footer__social-link:hover {
    background: var(--ws-accent);
    border-color: var(--ws-accent);
    color: var(--ws-white);
    transform: translateY(-3px);
    box-shadow: var(--ws-shadow-glow);
}

/* Footer Headings */
.ws-footer__heading {
    font-family: var(--ws-font-primary);
    font-size: var(--ws-text-xs);
    font-weight: var(--ws-weight-semibold);
    color: var(--ws-white);
    text-transform: uppercase;
    letter-spacing: var(--ws-tracking-widest);
    margin-bottom: var(--ws-space-5);
}

/* Footer Links */
.ws-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-2);
}

.ws-footer__links a {
    font-size: var(--ws-text-sm);
    color: var(--ws-gray-400);
    text-decoration: none;
    transition: color var(--ws-transition-fast),
                padding-left var(--ws-transition-fast);
    display: inline-block;
}

.ws-footer__links a:hover {
    color: var(--ws-accent);
    padding-left: var(--ws-space-2);
}

/* ---- Footer Bottom ---- */
.ws-footer__bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--ws-space-5) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ws-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ws-space-4);
}

.ws-footer__copyright {
    font-size: var(--ws-text-xs);
    color: var(--ws-gray-500);
    margin: 0;
}

.ws-footer__legal-links {
    list-style: none;
    display: flex;
    gap: var(--ws-space-6);
    margin: 0;
    padding: 0;
}

.ws-footer__legal-links a {
    font-size: var(--ws-text-xs);
    color: var(--ws-gray-500);
    text-decoration: none;
    transition: color var(--ws-transition-fast);
}

.ws-footer__legal-links a:hover {
    color: var(--ws-accent);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .ws-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--ws-space-8);
    }

    .ws-footer__col--about {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .ws-footer__cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .ws-footer__cta-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .ws-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--ws-space-8);
    }

    .ws-footer__cta-band {
        padding: var(--ws-space-10) 0;
    }

    .ws-footer__cta-title {
        font-size: var(--ws-text-2xl);
    }

    .ws-footer__cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .ws-footer__cta-actions .ws-btn {
        width: 100%;
        text-align: center;
    }

    .ws-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--ws-space-3);
    }

    .ws-footer__legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
