/* ============================================================
   GLOBAL RESET
   ============================================================ */

* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
}


body {
    margin: 0;

    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: #f5f6f8;
    color: #1f2937;

    -webkit-font-smoothing: antialiased;
}


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

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   SITE HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    height: 64px;

    background: #111827;
    color: #ffffff;

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


.site-header__inner {
    width: 100%;
    max-width: 1400px;

    height: 100%;

    margin: 0 auto;
    padding: 0 24px;

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


.site-header__brand {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}


.site-nav__link {
    padding: 8px 12px;

    border-radius: 6px;

    color: #d1d5db;

    font-size: 14px;
    font-weight: 500;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}


.site-nav__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}


/* ============================================================
   MAIN CONTENT
   ============================================================ */

.site-main {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
    padding: 32px 24px 48px;
}


/* ============================================================
   REUSABLE BUTTONS
   ============================================================ */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 16px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.button--primary {
    background: #111827;
    color: #ffffff;
    border: 1px solid #111827;
}


.button--primary:hover {
    background: #1f2937;
}


.button--secondary {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}


.button--secondary:hover {
    background: #f9fafb;
}


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

@media (max-width: 640px) {

    .site-header__inner {
        padding: 0 16px;
    }

    .site-main {
        padding: 24px 16px 40px;
    }

    .site-nav {
        gap: 2px;
    }

    .site-nav__link {
        padding: 8px;
    }

}
/* =========================================================
   INTEGRIDDY FOOTER
   ========================================================= */

.site-footer {

    position: relative;

    overflow: hidden;

    background: #0d100e;

    color: #ffffff;

    border-top: 1px solid #222823;
}


/* =========================================================
   BACKGROUND EFFECT
   ========================================================= */

.site-footer::before {

    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    top: -350px;
    right: -100px;

    border-radius: 50%;

    background: #8fbd91;

    opacity: 0.055;

    filter: blur(100px);

    pointer-events: none;
}


.site-footer::after {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    bottom: -300px;
    left: 10%;

    border-radius: 50%;

    background: #5b7cff;

    opacity: 0.035;

    filter: blur(100px);

    pointer-events: none;
}


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

.site-footer__inner {

    position: relative;

    z-index: 2;

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

    margin: 0 auto;
}


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

.site-footer__top {

    display: grid;

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

    gap: 70px;

    padding: 90px 0 80px;

    border-bottom: 1px solid #252b27;
}


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

.site-footer__brand {

    max-width: 340px;
}


.site-footer__logo {

    display: inline-block;

    color: #ffffff;

    font-size: 28px;

    font-weight: 750;

    letter-spacing: -0.045em;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.site-footer__logo:hover {

    color: #8fbd91;
}


.site-footer__tagline {

    max-width: 280px;

    margin: 18px 0 25px;

    color: #858e87;

    font-size: 14px;

    line-height: 1.7;
}


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

.site-footer__status {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 11px;

    border: 1px solid #29312b;

    border-radius: 100px;

    background: #141915;

    color: #8d968f;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.02em;
}


.site-footer__status-dot {

    position: relative;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #8fbd91;
}


.site-footer__status-dot::after {

    content: "";

    position: absolute;

    inset: -3px;

    border: 1px solid
        rgba(
            143,
            189,
            145,
            0.4
        );

    border-radius: 50%;

    animation:
        footer-pulse 2s
        ease-out
        infinite;
}


@keyframes footer-pulse {

    0% {

        transform:
            scale(0.7);

        opacity: 0.8;
    }

    100% {

        transform:
            scale(1.8);

        opacity: 0;
    }

}


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

.site-footer__column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.site-footer__column h3 {

    margin: 3px 0 22px;

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.site-footer__column a {

    margin-bottom: 13px;

    color: #7f8981;

    font-size: 13px;

    line-height: 1.5;

    text-decoration: none;

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


.site-footer__column a:hover {

    color: #8fbd91;

    transform:
        translateX(3px);
}


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

.site-footer__cta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 70px 0;

    border-bottom: 1px solid #252b27;
}


.site-footer__cta-label {

    display: block;

    margin-bottom: 16px;

    color: #8fbd91;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.16em;
}


.site-footer__cta h2 {

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            38px,
            4.5vw,
            64px
        );

    line-height: 0.95;

    letter-spacing: -0.055em;

    font-weight: 500;
}


.site-footer__cta h2 span {

    color: #5b7cff;
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.site-footer__cta-button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    flex-shrink: 0;

    min-height: 54px;

    padding: 0 23px;

    border-radius: 10px;

    background: #8fbd91;

    color: #0d100e;

    font-size: 13px;

    font-weight: 750;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.site-footer__cta-button span {

    font-size: 17px;
}


.site-footer__cta-button:hover {

    transform:
        translateY(-3px);

    background: #a9d2ab;

    box-shadow:
        0 12px 30px
        rgba(
            143,
            189,
            145,
            0.18
        );
}


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

.site-footer__bottom {

    display: grid;

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

    align-items: center;

    gap: 30px;

    min-height: 80px;
}


.site-footer__copyright {

    color: #656e67;

    font-size: 11px;

    line-height: 1.5;
}


.site-footer__legal-info {

    text-align: center;

    color: #505851;

    font-size: 10px;
}


.site-footer__links {

    display: flex;

    align-items: center;

    gap: 20px;
}


.site-footer__links a {

    color: #656e67;

    font-size: 11px;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.site-footer__links a:hover {

    color: #8fbd91;
}


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

@media (max-width: 850px) {

    .site-footer__top {

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

        gap: 50px;
    }


    .site-footer__brand {

        grid-column:
            span 3;
    }


    .site-footer__bottom {

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


    .site-footer__legal-info {

        display: none;
    }

}


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

@media (max-width: 600px) {

    .site-footer__inner {

        width:
            calc(100% - 32px);
    }


    .site-footer__top {

        grid-template-columns:
            1fr 1fr;

        gap: 45px 25px;

        padding:
            65px 0 55px;
    }


    .site-footer__brand {

        grid-column:
            span 2;
    }


    .site-footer__column h3 {

        margin-bottom: 18px;
    }


    .site-footer__cta {

        flex-direction: column;

        align-items: flex-start;

        padding:
            60px 0;
    }


    .site-footer__cta-button {

        width: 100%;

        justify-content: center;
    }


    .site-footer__bottom {

        grid-template-columns:
            1fr;

        gap: 15px;

        padding:
            25px 0;
    }


    .site-footer__links {

        order: -1;

        flex-wrap: wrap;
    }

}


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

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

    .site-footer__status-dot::after {

        animation: none;
    }

}