/* =========================================================
   BUZZERBAIK - MODERN GLASS FOOTER
   ========================================================= */

.bb-footer {
    position: relative;

    overflow: hidden;

    color: #dbeafe;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(37, 99, 235, .25),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 10%,
            rgba(124, 58, 237, .25),
            transparent 30%
        ),
        radial-gradient(
            circle at 70% 90%,
            rgba(14, 165, 233, .15),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #020617 0%,
            #0f172a 45%,
            #111827 100%
        );
}


/* =========================================================
   DECORATIVE GLOW
   ========================================================= */

.bb-footer::before,
.bb-footer::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    filter: blur(90px);

    pointer-events: none;

    opacity: .35;
}

.bb-footer::before {
    top: -180px;
    left: -100px;

    background: #2563eb;
}

.bb-footer::after {
    right: -120px;
    bottom: -180px;

    background: #7c3aed;
}


/* =========================================================
   FOOTER MAIN
   ========================================================= */

.bb-footer-main {
    position: relative;

    z-index: 2;

    padding: 85px 0 60px;
}

.bb-footer-main .bb-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 25px;
}


/* =========================================================
   FOOTER GRID
   ========================================================= */

.bb-footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 25px;
}


/* =========================================================
   GLASS CARD
   ========================================================= */

.bb-footer-brand,
.bb-footer-column {
    position: relative;

    padding: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .08),
            rgba(255, 255, 255, .025)
        );

    border: 1px solid rgba(255, 255, 255, .10);

    border-radius: 20px;

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 20px 50px rgba(0, 0, 0, .18);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.bb-footer-brand:hover,
.bb-footer-column:hover {
    transform: translateY(-5px);

    border-color:
        rgba(96, 165, 250, .35);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 25px 60px rgba(0, 0, 0, .25);
}


/* =========================================================
   BRAND
   ========================================================= */

.bb-footer-brand {
    max-width: 100%;
}

.bb-footer-logo {
    display: inline-flex;

    align-items: center;

    margin-bottom: 20px;

    padding: 10px 15px;

    background:
        rgba(255, 255, 255, .95);

    border-radius: 12px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .15);
}

.bb-footer-logo img {
    display: block;

    width: auto;
    max-width: 180px;
    height: 42px;

    object-fit: contain;
}

.bb-footer-brand p {
    margin: 0;

    color: #94a3b8;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   COLUMN TITLE
   ========================================================= */

.bb-footer-column h3 {
    position: relative;

    margin: 0 0 22px;

    padding-bottom: 12px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
}

.bb-footer-column h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 35px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #3b82f6,
            #8b5cf6
        );

    border-radius: 10px;
}


/* =========================================================
   FOOTER LIST
   ========================================================= */

.bb-footer-column ul {
    margin: 0;

    padding: 0;

    list-style: none;
}

.bb-footer-column li {
    margin-bottom: 10px;
}

.bb-footer-column a {
    display: inline-flex;

    align-items: center;

    color: #94a3b8;

    font-size: 13px;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}

.bb-footer-column a::before {
    content: "→";

    margin-right: 7px;

    color: #3b82f6;

    opacity: 0;

    transform: translateX(-5px);

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.bb-footer-column a:hover {
    color: #ffffff;

    transform: translateX(3px);
}

.bb-footer-column a:hover::before {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   SOCIAL BUTTON
   ========================================================= */

.bb-footer-social {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}

.bb-footer-social a {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 0 13px;

    overflow: hidden;

    color: #cbd5e1;

    background:
        rgba(255, 255, 255, .05);

    border: 1px solid rgba(255, 255, 255, .10);

    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    backdrop-filter: blur(10px);

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.bb-footer-social a::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(59, 130, 246, .5),
            rgba(139, 92, 246, .5)
        );

    opacity: 0;

    transition: opacity .25s ease;
}

.bb-footer-social a:hover {
    color: #ffffff;

    border-color:
        rgba(96, 165, 250, .5);

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, .20);
}

.bb-footer-social a:hover::before {
    opacity: 1;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.bb-footer-bottom {
    position: relative;

    z-index: 2;

    border-top:
        1px solid rgba(255, 255, 255, .08);

    background:
        rgba(2, 6, 23, .45);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);
}

.bb-footer-bottom-inner {
    width: 100%;
    max-width: 1200px;

    min-height: 75px;

    margin: 0 auto;

    padding: 0 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.bb-footer-bottom p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
}

.bb-footer-bottom p:last-child {
    color: #94a3b8;
}


/* =========================================================
   GRADIENT TEXT
   ========================================================= */

.bb-footer-column h3,
.bb-footer-brand p {
    position: relative;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .bb-footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .bb-footer-main {
        padding: 60px 0 40px;
    }

    .bb-footer-main .bb-container {
        padding: 0 18px;
    }

    .bb-footer-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .bb-footer-brand,
    .bb-footer-column {
        padding: 24px;

        border-radius: 16px;
    }

    .bb-footer-bottom-inner {
        min-height: auto;

        padding: 20px 18px;

        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }

}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bb-footer-brand,
    .bb-footer-column,
    .bb-footer-social a,
    .bb-footer-column a {
        transition: none;
    }

}