/* ============================================
   NEXUS FOOTER - Elegant Footer
   ============================================ */

.nexus-footer {
    padding: var(--nexus-space-xl) 0;
    background: var(--nexus-bg-secondary);
    border-top: 1px solid var(--nexus-glass-border);
    margin-top: var(--nexus-space-2xl);
    position: relative;
}

.nexus-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--nexus-primary),
        var(--nexus-accent),
        transparent
    );
    opacity: 0.5;
}

.nexus-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--nexus-space-xl);
}

.nexus-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--nexus-space-xl);
    border-bottom: 1px solid var(--nexus-glass-border);
    flex-wrap: wrap;
    gap: var(--nexus-space-lg);
}

/* Brand */
.nexus-footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--nexus-space-md);
}

.nexus-footer-logo {
    display: flex;
    align-items: center;
    gap: var(--nexus-space-md);
}

.nexus-footer-logo-icon {
    width: auto;
    height: auto;
    background: none;
    border: none;
    border-radius: var(--nexus-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: none;
}

.nexus-footer-logo-icon img {
    width: 44px;
    height: 44px;
    border-radius: var(--nexus-radius-sm);
    border: 2px solid #94a3b8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nexus-footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, var(--nexus-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nexus-footer-description {
    font-size: 14px;
    color: var(--nexus-text-tertiary);
    max-width: 400px;
    line-height: 1.6;
}

/* Links */
.nexus-footer-links {
    display: flex;
    gap: var(--nexus-space-2xl);
}

.nexus-footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--nexus-space-md);
}

.nexus-footer-column-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--nexus-text-primary);
    margin-bottom: var(--nexus-space-sm);
}

.nexus-footer-link {
    font-size: 14px;
    color: var(--nexus-text-secondary);
    text-decoration: none;
    transition: all var(--nexus-transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--nexus-space-sm);
}

.nexus-footer-link:hover {
    color: var(--nexus-text-primary);
    transform: translateX(4px);
}

/* Social Links */
.nexus-footer-social {
    display: flex;
    gap: var(--nexus-space-md);
    margin-top: var(--nexus-space-lg);
}

.nexus-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nexus-glass);
    border: 1px solid var(--nexus-glass-border);
    border-radius: var(--nexus-radius-md);
    color: var(--nexus-text-secondary);
    text-decoration: none;
    transition: all var(--nexus-transition-base);
}

.nexus-social-link:hover {
    background: var(--nexus-glass-hover);
    color: var(--nexus-text-primary);
    transform: translateY(-4px);
    box-shadow: var(--nexus-glow-primary);
}

/* Bottom Bar */
.nexus-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--nexus-space-xl);
    font-size: 13px;
    color: var(--nexus-text-tertiary);
    flex-wrap: wrap;
    gap: var(--nexus-space-md);
}

.nexus-footer-copyright {
    display: flex;
    align-items: center;
    gap: var(--nexus-space-sm);
}

.nexus-footer-heart {
    color: var(--nexus-danger);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
}

.nexus-footer-company {
    color: var(--nexus-text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--nexus-transition-fast);
}

.nexus-footer-company:hover {
    color: var(--nexus-primary);
}

.nexus-footer-meta {
    display: flex;
    align-items: center;
    gap: var(--nexus-space-lg);
}

.nexus-footer-meta-item {
    display: flex;
    align-items: center;
    gap: var(--nexus-space-sm);
}

.nexus-footer-status-dot {
    width: 8px;
    height: 8px;
    background: var(--nexus-success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--nexus-success);
    animation: pulse 2s ease-in-out infinite;
}

/* Newsletter (Optional) */
.nexus-footer-newsletter {
    display: flex;
    gap: var(--nexus-space-sm);
    margin-top: var(--nexus-space-md);
}

.nexus-newsletter-input {
    flex: 1;
    height: 44px;
    padding: 0 var(--nexus-space-md);
    background: var(--nexus-glass);
    border: 1px solid var(--nexus-glass-border);
    border-radius: var(--nexus-radius-md);
    color: var(--nexus-text-primary);
    font-size: 14px;
    transition: all var(--nexus-transition-base);
}

.nexus-newsletter-input::placeholder {
    color: var(--nexus-text-muted);
}

.nexus-newsletter-input:focus {
    outline: none;
    background: var(--nexus-glass-hover);
    border-color: var(--nexus-primary);
}

.nexus-newsletter-button {
    height: 44px;
    padding: 0 var(--nexus-space-lg);
    background: linear-gradient(135deg, var(--nexus-primary), var(--nexus-secondary));
    border: none;
    border-radius: var(--nexus-radius-md);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--nexus-transition-base);
    white-space: nowrap;
}

.nexus-newsletter-button:hover {
    transform: scale(1.05);
    box-shadow: var(--nexus-glow-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .nexus-footer-links {
        flex-wrap: wrap;
        gap: var(--nexus-space-xl);
    }
}

@media (max-width: 768px) {
    .nexus-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nexus-footer-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .nexus-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .nexus-footer-links {
        flex-direction: column;
        gap: var(--nexus-space-lg);
    }
    
    .nexus-footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--nexus-space-sm);
    }
}

