﻿/* ==========================================
   FOOTER
========================================== */

.site-footer {
    position: relative;
    background: #0f172a;
    color: #ffffff;
    padding: 80px 0 25px;
    overflow: hidden;
}


    /* Subtle top glow */

    .site-footer::before {
        content: "";
        position: absolute;
        top: -180px;
        right: 8%;
        width: 400px;
        height: 400px;
        background: rgba(37, 99, 235, 0.12);
        filter: blur(100px);
        border-radius: 50%;
        pointer-events: none;
    }


/* ==========================================
   CONTAINER
========================================== */

.footer-container {
    width: min(1180px, 92%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}


/* ==========================================
   FOOTER TOP
========================================== */

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.4fr;
    gap: 60px;
    padding-bottom: 65px;
}


/* ==========================================
   BRAND
========================================== */

.footer-brand {
    max-width: 390px;
}

.footer-logo {
    display: inline-block;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

    .footer-logo span {
        color: #60a5fa;
    }

.footer-description {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 25px;
}


/* ==========================================
   REMOTE BADGE
========================================== */

.footer-remote {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
}

.remote-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}


/* ==========================================
   FOOTER COLUMNS
========================================== */

.footer-column h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0 22px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 13px;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-column li a:hover {
    color: #60a5fa;
}


/* ==========================================
   CONNECT
========================================== */

.footer-connect p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 240px;
}


/* ==========================================
   SOCIAL ICONS
========================================== */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-socials a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #cbd5e1;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        font-size: 16px;
        transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

        .footer-socials a:hover {
            color: #ffffff;
            background: #2563eb;
            border-color: #2563eb;
            transform: translateY(-3px);
        }


/* ==========================================
   CTA
========================================== */

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 32px 35px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient( 135deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.025) );
    border-radius: 18px;
    margin-bottom: 45px;
}

.footer-cta-label {
    display: block;
    color: #60a5fa;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.footer-cta h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
}

    .footer-cta h3 span {
        color: #60a5fa;
    }


/* CTA BUTTON */

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .footer-cta-button:hover {
        background: #1d4ed8;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    }


/* ==========================================
   FOOTER BOTTOM
========================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

    .footer-bottom p {
        margin: 0;
        color: #64748b;
        font-size: 12px;
    }

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .footer-bottom-links a {
        color: #64748b;
        text-decoration: none;
        font-size: 12px;
        transition: color 0.25s ease;
    }

        .footer-bottom-links a:hover {
            color: #94a3b8;
        }

    .footer-bottom-links span {
        width: 3px;
        height: 3px;
        background: #475569;
        border-radius: 50%;
    }


/* ==========================================
   TABLET
========================================== */

@media (max-width: 950px) {

    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px;
    }

    .footer-connect {
        grid-column: 1 / -1;
    }

        .footer-connect p {
            max-width: 400px;
        }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .site-footer {
        padding: 60px 0 20px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-connect {
        grid-column: auto;
    }

    .footer-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

        .footer-cta h3 {
            font-size: 19px;
        }

    .footer-cta-button {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 450px) {

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-connect {
        grid-column: auto;
    }

    .footer-socials {
        margin-top: 5px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
