/* =========================================================
   JESTSPYON.COM — GLOBAL FOOTER
   FULL WIDTH + READABLE + SLIDING LINK ANIMATION
========================================================= */

.jso-footer,
.jso-footer *,
.jso-footer *::before,
.jso-footer *::after {
    box-sizing: border-box;
}


/* =========================================================
   FOOTER WRAPPER
========================================================= */

.jso-footer {
    position: relative;

    width: 100%;
    max-width: 100%;

    margin: 42px 0 0;

    overflow: hidden;

    color: #ffffff;

    font-family:
        "Plus Jakarta Sans",
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(116, 87, 255, 0.22),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(86, 63, 210, 0.10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #0f1120 0%,
            #091022 50%,
            #1a1335 100%
        );

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 0;

    box-shadow: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.jso-footer__container {
    width:
        min(
            1320px,
            calc(100% - 80px)
        );

    margin: 0 auto;

    padding:
        74px
        0
        30px;
}


/* =========================================================
   MAIN GRID
========================================================= */

.jso-footer__grid {
    display: grid;

    grid-template-columns:
        minmax(320px, 1.55fr)
        minmax(180px, 0.82fr)
        minmax(180px, 0.82fr)
        minmax(190px, 0.86fr);

    gap: 56px 64px;

    align-items: start;
}


/* =========================================================
   BRAND
========================================================= */

.jso-footer__brand {
    min-width: 0;
}


.jso-footer__brand-link {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    color: #ffffff;

    text-decoration: none;
}


.jso-footer__brand-icon {
    width: 58px;
    height: 58px;

    display: grid;

    flex: 0 0 58px;

    place-items: center;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #876cff,
            #6345ef
        );

    border-radius: 16px;

    box-shadow:
        0 12px 28px
        rgba(101, 70, 245, 0.28);
}


.jso-footer__brand-icon svg {
    width: 25px !important;
    height: 25px !important;

    max-width: 25px;
    max-height: 25px;

    display: block;

    fill: none !important;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.jso-footer__brand-name {
    color: #ffffff;

    font-size: 1.7rem;

    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.05em;
}


.jso-footer__brand-name span {
    color: #9a82ff;
}


/* =========================================================
   BRAND DESCRIPTION
========================================================= */

.jso-footer__brand-description {
    max-width: 340px;

    margin:
        26px
        0
        0;

    color: #c1bfd0;

    font-size: 1rem;

    font-weight: 500;

    line-height: 1.8;
}


/* =========================================================
   ERROR FIXER CTA
========================================================= */

.jso-footer__fix-link {
    width: max-content;
    max-width: 100%;

    min-height: 50px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 28px;

    padding:
        0
        20px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(116, 87, 255, 0.26),
            rgba(98, 68, 240, 0.18)
        );

    border:
        1px solid
        rgba(151, 127, 255, 0.44);

    border-radius: 13px;

    font-size: 0.90rem;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    transition:
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}


.jso-footer__fix-link svg {
    width: 17px;
    height: 17px;

    display: block;

    flex: 0 0 17px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform 220ms
        cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.jso-footer__column {
    min-width: 0;

    padding-top: 8px;
}


/* =========================================================
   COLUMN HEADINGS
========================================================= */

.jso-footer__column h2 {
    position: relative;

    margin:
        0
        0
        30px;

    color: #b09bff;

    font-size: 0.92rem;

    font-weight: 800;

    line-height: 1;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.jso-footer__column h2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -12px;

    width: 34px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #9175ff,
            #6546f5
        );

    border-radius: 999px;
}


/* =========================================================
   LINK LIST
========================================================= */

.jso-footer__column ul {
    display: flex;

    flex-direction: column;

    gap: 17px;

    margin: 0;

    padding: 0;

    list-style: none;
}


.jso-footer__column li {
    margin: 0;

    padding: 0;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.jso-footer__column a {
    position: relative;

    display: inline-flex;

    width: max-content;
    max-width: 100%;

    align-items: center;

    padding-bottom: 5px;

    color: #d9d7e2;

    font-size: 0.90rem;

    font-weight: 600;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 200ms ease,
        transform 200ms ease;
}


/* =========================================================
   SLIDING HIGHLIGHT / UNDERLINE REVEAL
========================================================= */

.jso-footer__column a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #a58cff 0%,
            #8061ff 45%,
            #6546f5 100%
        );

    border-radius: 999px;

    box-shadow:
        0 1px 7px
        rgba(116, 87, 255, 0.28);

    transform: scaleX(0);

    transform-origin:
        left center;

    transition:
        transform 260ms
        cubic-bezier(0.22, 1, 0.36, 1);
}


/* Hover state */

.jso-footer__column a:hover {
    color: #ffffff;

    transform:
        translateX(2px);
}


.jso-footer__column a:hover::after {
    transform:
        scaleX(1);
}


/* Keyboard state */

.jso-footer__column a:focus-visible::after {
    transform:
        scaleX(1);
}


/* =========================================================
   BOTTOM BAR
========================================================= */

.jso-footer__bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 62px;

    padding-top: 24px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.09);
}


.jso-footer__bottom p {
    margin: 0;

    color: #a09eb0;

    font-size: 0.82rem;

    font-weight: 500;

    line-height: 1.6;
}


.jso-footer__bottom a {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding-bottom: 4px;

    color: #b9b6c8;

    font-size: 0.82rem;

    font-weight: 650;

    text-decoration: none;

    transition:
        color 180ms ease,
        transform 180ms ease;
}


.jso-footer__bottom a svg {
    width: 16px;
    height: 16px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform 200ms ease;
}


/* Bottom link underline */

.jso-footer__bottom a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: calc(100% - 24px);
    height: 1.5px;

    background:
        linear-gradient(
            90deg,
            #a58cff,
            #6546f5
        );

    border-radius: 999px;

    transform:
        scaleX(0);

    transform-origin:
        left center;

    transition:
        transform 240ms
        cubic-bezier(0.22, 1, 0.36, 1);
}


.jso-footer__bottom a:hover::after,
.jso-footer__bottom a:focus-visible::after {
    transform:
        scaleX(1);
}


/* =========================================================
   HOVER EFFECTS
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .jso-footer__fix-link:hover {
        background:
            linear-gradient(
                90deg,
                rgba(116, 87, 255, 0.38),
                rgba(98, 68, 240, 0.29)
            );

        border-color:
            rgba(151, 127, 255, 0.67);

        box-shadow:
            0 11px 27px
            rgba(69, 43, 184, 0.16);

        transform:
            translateY(-2px);
    }


    .jso-footer__fix-link:hover svg {
        transform:
            translateX(3px);
    }


    .jso-footer__bottom a:hover {
        color: #ffffff;

        transform:
            translateY(-1px);
    }


    .jso-footer__bottom a:hover svg {
        transform:
            translateY(-2px);
    }

}


/* =========================================================
   KEYBOARD ACCESSIBILITY
========================================================= */

.jso-footer a:focus-visible {
    outline:
        3px solid
        rgba(151, 127, 255, 0.46);

    outline-offset: 5px;

    border-radius: 7px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .jso-footer__container {
        width:
            min(
                920px,
                calc(100% - 52px)
            );

        padding-top: 60px;
    }


    .jso-footer__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap:
            44px
            38px;
    }


    .jso-footer__brand {
        grid-column:
            1 / -1;
    }


    .jso-footer__brand-description {
        max-width: 540px;
    }


    .jso-footer__column a {
        font-size: 0.91rem;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .jso-footer {
        margin-top: 24px;
    }


    .jso-footer__container {
        width:
            calc(100% - 30px);

        padding:
            44px
            0
            22px;
    }


    .jso-footer__grid {
        grid-template-columns: 1fr;

        gap: 34px;
    }


    .jso-footer__brand {
        grid-column: auto;
    }


    .jso-footer__brand-icon {
        width: 50px;
        height: 50px;

        flex-basis: 50px;

        border-radius: 14px;
    }


    .jso-footer__brand-icon svg {
        width: 23px !important;
        height: 23px !important;

        max-width: 23px;
        max-height: 23px;
    }


    .jso-footer__brand-name {
        font-size: 1.35rem;
    }


    .jso-footer__brand-description {
        max-width: 100%;

        font-size: 0.93rem;

        line-height: 1.75;
    }


    .jso-footer__fix-link {
        min-height: 47px;

        padding:
            0
            18px;

        font-size: 0.85rem;
    }


    .jso-footer__column {
        padding-top: 0;
    }


    .jso-footer__column h2 {
        margin-bottom: 25px;

        font-size: 0.86rem;
    }


    .jso-footer__column ul {
        gap: 14px;
    }


    .jso-footer__column a {
        font-size: 0.89rem;

        line-height: 1.55;
    }


    .jso-footer__bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 11px;

        margin-top: 40px;

        padding-top: 20px;
    }


    .jso-footer__bottom p,
    .jso-footer__bottom a {
        font-size: 0.78rem;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .jso-footer__container {
        width:
            calc(100% - 24px);
    }


    .jso-footer__brand-name {
        font-size: 1.25rem;
    }


    .jso-footer__brand-description {
        font-size: 0.89rem;
    }


    .jso-footer__column a {
        font-size: 0.87rem;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .jso-footer *,
    .jso-footer *::before,
    .jso-footer *::after {
        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;
    }


    .jso-footer__column a::after,
    .jso-footer__bottom a::after {
        transition: none !important;
    }

}