/* ==========================================================================
   PREMIUM DIGITALIZED FOOTER COMPONENT
   ========================================================================== */
.footer-grid,
.footer-bottom {

    position: relative;

    z-index: 2;
}

.footer::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
}

.footer::before{
    z-index:1;
}

.footer::after{
    z-index:1;
}

.footer {
    position: relative;
    overflow: hidden;
    padding: 120px 0 40px;
    background: 
        radial-gradient(
            circle at top left,
            rgba(108, 110, 250, 0.3),
            transparent 40%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(249, 114, 24, 0.15),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f9fbff 50%,
            #f4f6ff 100%
        );
    z-index:990;
}

/* Cyber Tech Grid Mesh Overlay (With Smooth Gradient Fading Mask) */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(67, 56, 202, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 56, 202, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* ========================================
   AURORA GLOW SYSTEM
======================================== */
.footer::after{
    content:"";

    position:absolute;
    inset:-10%;

    z-index:0;

    pointer-events:none;

    background:
        radial-gradient(
            circle at 20% 40%,
            rgba(67,56,202,.30) 0%,
            rgba(67,56,202,.18) 20%,
            transparent 55%
        ),

        radial-gradient(
            circle at 80% 25%,
            rgba(99,102,241,.26) 0%,
            rgba(99,102,241,.14) 20%,
            transparent 55%
        ),

        radial-gradient(
            circle at 65% 80%,
            rgba(249,115,22,.12) 0%,
            rgba(249,115,22,.06) 18%,
            transparent 50%
        );

    filter: blur(40px);

    opacity:.8;

    will-change: transform;

    animation: auroraFlow 4s ease-in-out infinite alternate;
}

@keyframes auroraFlow {

    0%{
        transform:
            translate3d(-2%,0,0)
            scale(1);
    }

    50%{
        transform:
            translate3d(2%,-1%,0)
            scale(1.08);
    }

    100%{
        transform:
            translate3d(-1%,2%,0)
            scale(1.03);
    }

}

/* ==========================================================================
   LAYOUT ARCHITECTURE
   ========================================================================== */
.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 88px;
    margin-bottom: 96px;
}

/* ==========================================================================
   BRAND COMPONENT (HIGH-END TECH FINISHING)
   ========================================================================== */
.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: 0.06em; /* Premium luxury tracking expansion */
    color: var(--color-text);
    text-decoration: none;
}


.footer-tagline {
    display: block;
    margin-bottom: 28px;
    color: var(--color-primary);
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-brand p {
    max-width: 440px;
    color: var(--color-text-soft);
    line-height: 1.85;
    font-size: 0.975rem;
}

/* ==========================================================================
   NAVIGATION & DIGITAL LINK SYSTEMS
   ========================================================================== */
.footer-links h4 {
    margin-bottom: 28px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 16px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-soft);
    font-weight: 500;
    font-size: 0.975rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Interactive Hover Mechanics */
.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(6px);
}

/* Khusus Kolom Hubungan / Connect (Ikon Vektor Pendekatan) */
.connect-list a {
    color: var(--color-text-soft);
}

.icon-social {
    width: 18px;
    height: 18px;
    color: var(--color-text-light);
    transition: color 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.connect-list a:hover .icon-social {
    color: var(--color-primary);
    transform: scale(1.15) rotate(-4deg);
}

/* ==========================================================================
   HAIRLINE FOOTER BOTTOM ZONE
   ========================================================================== */
.footer-bottom {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    border-top: 1px solid rgba(67, 56, 202, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.875rem;
    font-weight: 400;
}

.footer-bottom .copyright {
    color: var(--color-text-light);
}

.footer-bottom .craftsmanship {
    color: var(--color-text-soft);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATION
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        gap: 48px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        margin-bottom: 64px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-links h4 {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 80px 0 32px;
    }

    .footer-logo {
        font-size: 1.6rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 32px;
    }
}