/* ============================================
   JUPITER PLANET XXL — Footer Styles
   Neon Cyberpunk (Enhanced)
   ============================================ */

.footer {
    position: relative;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
}

/* Neon Top Border Glow */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-pink-cyan);
    box-shadow: 0 0 20px rgba(255, 45, 117, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
}

/* Grid Glow Effect */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 150px;
    background: radial-gradient(ellipse, rgba(255, 45, 117, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer__main {
    position: relative;
    z-index: 1;
    padding: var(--space-4xl) 0 var(--space-3xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: var(--space-3xl);
}

/* ── 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: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: var(--fs-base);
    box-shadow: var(--glow-pink-sm);
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    letter-spacing: var(--ls-wider);
    line-height: 1;
}

.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);
    margin-top: 2px;
}

.footer__brand-desc {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
}

/* Social Links */
.footer__social {
    display: flex;
    gap: var(--space-sm);
}

.footer__social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    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);
    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 ── */
.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;
    }
}
