/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(116, 71, 255, 0.15),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(52, 120, 255, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #080a10,
            #0c101a
        );
}


.footer-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}


.footer-glow-left {
    width: 340px;
    height: 340px;

    left: -180px;
    top: 40px;

    background:
        rgba(116, 71, 255, 0.12);
}


.footer-glow-right {
    width: 360px;
    height: 360px;

    right: -190px;
    bottom: -100px;

    background:
        rgba(52, 120, 255, 0.10);
}


.footer-container {
    position: relative;

    z-index: 3;

    width: min(
        92%,
        var(--page-width)
    );

    margin: 0 auto;

    padding:
        75px 0 65px;

    display: grid;
    grid-template-columns:
        2fr repeat(3, 1fr);

    gap: 70px;
}


.footer-brand {
    max-width: 330px;
}


.footer-logo {
    width: 277px;
    height: 125px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 9px;
    font-family: var(--font-display);
    font-size: 29px;
    transform: rotate(-4deg);
}


.footer-brand h3 {
    margin-bottom: 5px;

    font-size: 18px;
    font-weight: 900;
}


.footer-tagline {
    color: #aebcff;

    font-size: 12px;
    font-weight: 700;
}


.footer-description {
    margin-top: 18px;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 12px;

    line-height: 1.7;
}


.footer-socials {
    margin-top: 23px;

    display: flex;

    gap: 10px;
}


.footer-social {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color:
        rgba(255, 255, 255, 0.75);

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 11px;

    font-size: 9px;
    font-weight: 900;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-social:hover {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    transform:
        translateY(-3px);
}


.footer-column {
    display: flex;
    flex-direction: column;

    gap: 9px;
}


.footer-column h4 {
    margin-bottom: 8px;

    color: var(--white);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.footer-column a,
.footer-column p {
    color:
        rgba(255, 255, 255, 0.48);

    font-size: 12px;

    line-height: 1.5;

    transition:
        color 0.2s ease;
}


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


.footer-bottom {
    position: relative;

    z-index: 3;

    width: min(
        92%,
        var(--page-width)
    );

    margin: 0 auto;

    padding:
        22px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}


.footer-bottom p {
    color:
        rgba(255, 255, 255, 0.3);

    font-size: 10px;
}


.footer-bottom-links {
    display: flex;

    gap: 20px;
}


.footer-bottom-links a {
    color:
        rgba(255, 255, 255, 0.3);

    font-size: 10px;

    transition:
        color 0.2s ease;
}


.footer-bottom-links a:hover {
    color:
        rgba(255, 255, 255, 0.7);
}


/* =========================================================
   FOOTER TABLET
========================================================= */

@media (max-width: 950px) {

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


    .footer-column:last-child {
        grid-column:
            2 / 4;
    }

}


/* =========================================================
   FOOTER MOBILE
========================================================= */

@media (max-width: 650px) {

    .footer-container {
        grid-template-columns: 1fr;

        gap: 38px;

        padding:
            60px 0 50px;
    }


    .footer-column:last-child {
        grid-column: auto;
    }


    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }

}

/* Footer social icons */
.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social:focus-visible {
    outline: 2px solid #afc7ff;
    outline-offset: 3px;
}

@media (max-width: 650px) {
    .footer-socials {
        margin-top: 20px;
    }

    .footer-social {
        width: 42px;
        height: 42px;
    }

    .footer-social svg {
        width: 19px;
        height: 19px;
    }
}



/* =========================================================
   UPDATED PRIMARY LOGO
========================================================= */

.footer-logo {
    width: 290px;
    height: 180px;
    margin-bottom: 10px;
    transform: none;
}

.footer-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 650px) {
    .footer-logo {
        width: min(280px, 86vw);
        height: 165px;
    }
}



/* =========================================================
   WEBSITE CREDIT
========================================================= */

.footer-bottom-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-bottom .footer-site-credit {
    color: rgba(255, 255, 255, .34);
    font-size: 9px;
    letter-spacing: .2px;
}

.footer-bottom .footer-site-credit span {
    color: rgba(174, 188, 255, .78);
    font-weight: 800;
}

@media (max-width: 650px) {
    .footer-bottom-copy {
        gap: 7px;
    }
}

