
.footer {
    background: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

/* Scanline overlay effect */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.015) 2px,
            rgba(255, 255, 255, 0.015) 4px);
    pointer-events: none;
    z-index: 10;
}

/* Glowing top border */
.footer__glow {
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--blue) 20%,
            var(--light) 50%,
            var(--blue) 80%,
            transparent 100%);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

/* Main grid layout */
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Brand section */
.footer__brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: center;
}

.footer__logo {
    font-family: var(--headers-font);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.footer__logo img {
    max-width: 100%;
    height: auto;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.footer__tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 280px;
    margin-bottom: 2rem;
    text-align: left;
}

/* Status indicator */
.footer__status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--pixel-font);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px #00ff88;
}

@keyframes statusPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Navigation columns */
.footer__nav-title {
    display: flex;
    align-items: center;
    font-family: var(--pixel-font);
    font-size: 1rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.2em;
    color: var(--light-blue);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 0.8rem;
    overflow: hidden;
}

.typewriter-text {
    display: inline-block;
    white-space: nowrap;
}

.footer__nav-title::before {
    content: '>';
    position: absolute;
    left: 0;
    opacity: 0.5;
}

.under_pulse {
    animation: statusPulse 1s step-start infinite;
}


.footer__nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}


.footer__nav-list li svg{
    width: 14px;
    height: 14px;
    color: var(--blue);
    flex-shrink: 0;
    animation: statusPulse 2s ease-in-out infinite;
}

.footer__nav-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.footer__nav-link::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--blue);
    transition: width 0.3s ease;
}

.footer__nav-link:hover {
    color: var(--light);
    transform: translateX(8px);
}

.footer__nav-link:hover::before {
    width: 12px;
}

/* Contact section */
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer__contact-icon {
    width: 20px;
    height: 20px;
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px;
    animation: statusPulse 3s ease-in-out infinite;
}

.footer__contact-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    will-change: color, transform;
    transition: all 0.3s ease;
}

.footer__contact-link:hover {
    color: var(--blue);
    transform: scale(1.05);
}

/* Social links */
.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer__social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--blue);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.footer__social-link:hover {
    border-color: var(--blue);
    color: var(--light);
}

.footer__social-link:hover::before {
    transform: translateY(0);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

/* Divider */
.footer__divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 255, 255, 0.1) 80%,
            transparent 100%);
    margin-bottom: 2rem;
}

/* Bottom bar */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--pixel-font);
    letter-spacing: 0.05em;
}

.footer__copyright span {
    color: var(--blue);
}

.footer__tech {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--pixel-font);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
}

.footer__tech-dot {
    width: 4px;
    height: 4px;
    background: var(--blue);
    opacity: 0.5;
}

/* ═══════════════════════════════════════════
           RESPONSIVE BREAKPOINTS
        ═══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }


    .footer__brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}


/* Small mobile */
@media (max-width: 768px) {
    .footer__inner {
        padding: 2.5rem 1rem 1rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer__brand {
        
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer__tagline {
        text-align: center;
    }

    .footer__status {
        justify-content: center;
    }

    .footer__nav-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: self-start;
    }

    .footer__nav-title::before {
        
        left: 0;
    }

    .under_pulse{
        min-height: 30px;
    }

    .footer__nav-list {
        align-items: center;
        padding-top: 2rem;
    }

    .footer__nav-link:hover {
        transform: translateX(0);
    }

    .footer__contact-item {
        justify-content: center;
        text-align: center;
    }

    .footer__contact-item.first {
        padding-top: 2.3rem !important;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__copyright {
        font-size: 0.7rem;
    }

    .footer__tech {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer__bottom{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}