/* ============================================
   JUPITER PLANET XXL — Neon Cyberpunk Theme
   Design 3: footer.css
   ============================================ */

/* ── Footer ── */
.footer {
    position: relative;
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(255, 45, 117, 0.1);
    overflow: hidden;
}

/* ── Neon top border glow ── */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-cyan), var(--neon-purple), transparent);
    box-shadow: 0 0 20px var(--neon-pink-glow), 0 0 40px rgba(0, 212, 255, 0.2);
}

/* ── Grid glow effect behind footer ── */
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(255, 45, 117, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer__main {
    padding: var(--space-4xl) 0 var(--space-2xl);
    position: relative;
    z-index: 1;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: var(--space-2xl);
}

/* ── Footer Brand Column ── */
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.footer__brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.footer__brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    color: #fff;
    box-shadow: 0 0 15px var(--neon-pink-glow);
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    color: var(--text-primary);
    line-height: 1.2;
}

.footer__brand-name small {
    display: block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-widest);
    color: var(--neon-cyan);
    text-shadow: var(--glow-text-cyan);
}

.footer__brand-desc {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
}

.footer__social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--fs-base);
    transition: all var(--transition-base);
    text-decoration: none;
}

.footer__social-link:hover {
    color: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink);
    background: rgba(255, 45, 117, 0.1);
    transform: translateY(-3px);
    text-shadow: none;
}

.footer__social-link:nth-child(2):hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    background: rgba(0, 212, 255, 0.1);
}

.footer__social-link:nth-child(4):hover {
    color: var(--neon-purple);
    border-color: var(--neon-purple);
    box-shadow: var(--glow-purple);
    background: rgba(155, 89, 182, 0.1);
}

/* ── Footer Columns ── */
.footer__column {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--text-primary);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--neon-pink);
    box-shadow: 0 2px 8px rgba(255, 45, 117, 0.2);
    display: inline-block;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__link {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.footer__link i {
    font-size: 0.6rem;
    color: var(--neon-pink);
    opacity: 0;
    transform: translateX(-5px);
    transition: all var(--transition-fast);
}

.footer__link:hover {
    color: var(--neon-pink);
    text-shadow: var(--glow-text-pink);
    transform: translateX(4px);
}

.footer__link:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* ── Newsletter Column ── */
.footer__newsletter-text {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
}

.footer__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.footer__newsletter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: var(--fs-sm);
    transition: all var(--transition-base);
}

.footer__newsletter-input::placeholder {
    color: var(--text-dim);
}

.footer__newsletter-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15), inset 0 0 15px rgba(0, 212, 255, 0.03);
    background: rgba(255, 255, 255, 0.06);
}

.footer__newsletter-btn {
    width: 100%;
    padding: 0.75rem;
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: #fff;
    background: var(--neon-pink);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 0 15px rgba(255, 45, 117, 0.3);
}

.footer__newsletter-btn:hover {
    background: #ff4d8d;
    box-shadow: var(--glow-pink);
    transform: translateY(-2px);
}

/* ── Contact Info ── */
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: var(--lh-normal);
}

.footer__contact-item i {
    color: var(--neon-cyan);
    font-size: var(--fs-sm);
    margin-top: 3px;
    text-shadow: var(--glow-text-cyan);
}

/* ── Footer Bottom ── */
.footer__bottom {
    position: relative;
    z-index: 1;
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__copyright {
    color: var(--text-dim);
    font-size: var(--fs-xs);
}

.footer__copyright a {
    color: var(--neon-pink);
    text-decoration: none;
    transition: text-shadow var(--transition-fast);
}

.footer__copyright a:hover {
    text-shadow: var(--glow-text-pink);
}

.footer__bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer__bottom-link {
    color: var(--text-dim);
    font-size: var(--fs-xs);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text-cyan);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__bottom-links {
        justify-content: center;
    }
}
