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

.site-footer {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 70%,
            rgba(37, 99, 235, 0.08),
            transparent 27%
        ),
        radial-gradient(
            circle at 10% 0%,
            rgba(37, 99, 235, 0.05),
            transparent 28%
        ),
        #080d1a;

    color: #ffffff;

    isolation: isolate;
}



/* =========================================================
   CONTAINER
========================================================= */

.footer-container {
    position: relative;

    width: min(
        1200px,
        calc(100% - 50px)
    );

    margin: 0 auto;

    z-index: 2;
}


/* =========================================================
   BACKGROUND ORBITS
========================================================= */

.footer-orbit {
    position: absolute;

    width: 520px;
    height: 520px;

    border: 1px solid rgba(
        37,
        99,
        235,
        0.12
    );

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}

.footer-orbit::before {
    content: "";

    position: absolute;

    inset: 60px;

    border: 1px solid rgba(
        124,
        58,
        237,
        0.09
    );

    border-radius: 50%;
}

.footer-orbit::after {
    content: "";

    position: absolute;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #2563eb;

    box-shadow:
        0 0 20px rgba(37, 99, 235, 0.7),
        0 0 45px rgba(37, 99, 235, 0.35);
}

.footer-orbit-top {
    top: -430px;
    left: -300px;
}

.footer-orbit-top::after {
    right: 100px;
    bottom: 70px;
}

.footer-orbit-bottom {
    right: -360px;
    bottom: -370px;
}

.footer-orbit-bottom::after {
    left: 110px;
    top: 80px;

    background: #7c3aed;

    box-shadow:
        0 0 20px rgba(124, 58, 237, 0.7),
        0 0 45px rgba(124, 58, 237, 0.35);
}


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

.footer-main {
    position: relative;

    display: grid;

    grid-template-columns:
        1.55fr
        1fr
        .85fr
        .85fr;

    gap: 70px;

    padding:
        100px
        0
        78px;

    border-bottom: 1px solid
        rgba(148, 163, 184, 0.16);
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    min-width: 0;
}


.footer-logo {
    display: inline-block;

    text-decoration: none;

    color: #ffffff;
}


.footer-logo-main {
    display: block;

    font-family: "Manrope", sans-serif;

    font-size: 48px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -0.065em;
}


.footer-logo-main span {
    background:
        linear-gradient(
            110deg,
            #2563eb 0%,
            #7c3aed 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
}


.footer-tagline {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 13px;

    font-family: "JetBrains Mono", monospace;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.18em;

    color: #94a3b8;
}


.footer-tagline span {
    color: #2563eb;
}


.footer-brand-line {
    width: 62px;
    height: 2px;

    margin-top: 28px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #7c3aed
        );
}


.footer-description {
    max-width: 390px;

    margin: 25px 0 0;

    font-family: "Manrope", sans-serif;

    font-size: 15px;

    line-height: 1.75;

    color: #94a3b8;
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact {
    display: inline-flex;
    align-items: center;

    gap: 14px;

    margin-top: 34px;

    text-decoration: none;

    color: #ffffff;
}


.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 50%;

    border: 1px solid
        rgba(37, 99, 235, 0.38);

    background:
        rgba(37, 99, 235, 0.06);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}


.footer-contact-icon svg {
    width: 18px;
    height: 18px;

    stroke: #ffffff;

    stroke-width: 1.7;
}


.footer-contact-content {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.footer-contact-label {
    font-family: "JetBrains Mono", monospace;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 0.18em;

    color: #64748b;
}


.footer-contact-email {
    font-family: "Manrope", sans-serif;

    font-size: 14px;

    font-weight: 600;

    color: #e2e8f0;

    transition: color 0.25s ease;
}


.footer-contact:hover
.footer-contact-icon {
    transform: translateY(-2px);

    border-color:
        rgba(37, 99, 235, 0.75);

    background:
        rgba(37, 99, 235, 0.12);
}


.footer-contact:hover
.footer-contact-email {
    color: #ffffff;
}


/* =========================================================
   COLUMNS
========================================================= */

.footer-column {
    position: relative;
}


.footer-column-title {
    margin: 0 0 26px;

    font-family: "JetBrains Mono", monospace;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.18em;

    color: #64748b;
}


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

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 17px;
}


.footer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    width: 100%;

    text-decoration: none;

    font-family: "Manrope", sans-serif;

    font-size: 13px;

    line-height: 1.4;

    color: #cbd5e1;

    transition:
        color 0.25s ease,
        transform 0.3s ease;
}


.footer-links a svg {
    width: 14px;
    height: 14px;

    flex-shrink: 0;

    opacity: 0;

    transform:
        translate(-5px, 5px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.footer-links a:hover {
    color: #ffffff;

    transform: translateX(3px);
}


.footer-links a:hover svg {
    opacity: 1;

    transform:
        translate(0, 0);
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.footer-social-links {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


.footer-social-link {
    display: grid;

    grid-template-columns:
        42px
        1fr
        18px;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    font-family: "Manrope", sans-serif;

    font-size: 13px;

    color: #cbd5e1;

    transition: color 0.25s ease;
}


.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    border: 1px solid
        rgba(148, 163, 184, 0.25);

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}


.footer-social-icon svg {
    width: 17px;
    height: 17px;

    stroke-width: 1.6;
}


.footer-social-arrow {
    width: 15px;
    height: 15px;

    opacity: 0;

    transform:
        translate(-4px, 4px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.footer-social-link:hover {
    color: #ffffff;
}


.footer-social-link:hover
.footer-social-icon {
    border-color:
        rgba(37, 99, 235, 0.65);

    background:
        rgba(37, 99, 235, 0.08);

    transform: translateY(-2px);
}


.footer-social-link:hover
.footer-social-arrow {
    opacity: 1;

    transform:
        translate(0, 0);
}


/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    display: grid;

    grid-template-columns:
        1.3fr
        1fr
        1fr;

    align-items: center;

    min-height: 92px;

    gap: 30px;
}


/* COPYRIGHT */

.footer-copyright {
    font-family: "Manrope", sans-serif;

    font-size: 11px;

    color: #64748b;
}


/* LEGAL */

.footer-legal {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;
}


.footer-legal a {
    position: relative;

    font-family: "Manrope", sans-serif;

    font-size: 11px;

    text-decoration: none;

    color: #64748b;

    transition: color 0.25s ease;
}


.footer-legal a:hover {
    color: #cbd5e1;
}


/* BUILT */

.footer-built {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 5px;

    font-family: "Manrope", sans-serif;

    font-size: 13px;

    color: #cbd5e1;
}


.footer-built-accent {
    color: #3b82f6;

    background:
        linear-gradient(
            110deg,
            #3b82f6,
            #8b5cf6
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;

    font-weight: 700;
}


.footer-built svg {
    width: 15px;
    height: 15px;

    margin-left: 4px;

    color: #3b82f6;
}


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

@media (max-width: 1050px) {

    .footer-main {
        grid-template-columns:
            1.4fr
            1fr
            1fr;

        gap: 55px;
    }

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

    .footer-connect {
        grid-column: 2;
    }

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

        padding: 24px 0;
    }

    .footer-built {
        justify-content: flex-end;
    }

    .footer-legal {
        justify-content: flex-end;
    }

    .footer-copyright {
        grid-column: 1;
        grid-row: 2;
    }
}


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

@media (max-width: 760px) {

    .footer-container {
        width: calc(100% - 34px);
    }

    .footer-main {
        display: grid;

        grid-template-columns: 1fr;

        gap: 45px;

        padding:
            75px
            0
            55px;
    }


    /* BRAND */

    .footer-logo-main {
        font-size: 41px;
    }

    .footer-description {
        max-width: 360px;

        font-size: 14px;
    }


    /* COLUMNS */

    .footer-column {
        width: 100%;
    }

    .footer-column-title {
        margin-bottom: 20px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        font-size: 13px;
    }


    /* CONNECT */

    .footer-connect {
        grid-column: auto;
    }

    .footer-social-links {
        gap: 12px;
    }

    .footer-social-link {
        grid-template-columns:
            42px
            1fr
            18px;
    }


    /* BOTTOM */

    .footer-bottom {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        padding:
            28px
            0
            32px;
    }

    .footer-copyright {
        order: 3;
    }

    .footer-legal {
        justify-content: flex-start;

        flex-wrap: wrap;

        gap: 12px 24px;

        order: 2;
    }

    .footer-built {
        justify-content: flex-start;

        order: 1;
    }


    /* ORBITS */

    .footer-orbit {
        width: 330px;
        height: 330px;
    }

    .footer-orbit-top {
        top: -260px;
        left: -240px;
    }

    .footer-orbit-bottom {
        right: -260px;
        bottom: -250px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .footer-main {
        padding-top: 65px;
    }

    .footer-logo-main {
        font-size: 37px;
    }

    .footer-tagline {
        font-size: 8px;

        letter-spacing: 0.15em;
    }

    .footer-description {
        font-size: 13px;
    }

    .footer-contact-email {
        font-size: 13px;
    }

    .footer-built {
        font-size: 12px;
    }

    .footer-legal a,
    .footer-copyright {
        font-size: 10px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .footer-contact-icon,
    .footer-contact-email,
    .footer-links a,
    .footer-links a svg,
    .footer-social-link,
    .footer-social-icon,
    .footer-social-arrow {
        transition: none;
    }

    .footer-links a:hover,
    .footer-contact:hover .footer-contact-icon,
    .footer-social-link:hover .footer-social-icon {
        transform: none;
    }
}