/* ============================================
   FOOTER - MAC STYLE
   Professional, sophisticated design
   ============================================ */

.mac-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.mac-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(37, 99, 235, 0.3) 50%,
        transparent 100%
    );
}

/* Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #2563eb 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 
        0 8px 20px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

.social-link:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

/* Footer Sections */
.footer-section-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.3px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.925rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #2563eb;
    padding-left: 8px;
}

.footer-link:hover::before {
    width: calc(100% - 8px);
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.925rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-text {
    line-height: 1.6;
    margin: 0;
}

.contact-text strong {
    color: #cbd5e1;
    display: block;
    margin-bottom: 2px;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    position: relative;
}

.footer-bottom-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #2563eb;
    transition: width 0.2s ease;
}

.footer-bottom-link:hover {
    color: #2563eb;
}

.footer-bottom-link:hover::after {
    width: 100%;
}

/* Newsletter Section (optional) */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.footer-newsletter-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-newsletter-text {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-btn {
    background: linear-gradient(145deg, #2563eb 0%, #1e40af 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Decorative Elements */
.footer-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle at center,
        rgba(37, 99, 235, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 767.98px) {
    .mac-footer {
        padding: 3rem 0 1.5rem;
        margin-top: 4rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-link,
    .footer-bottom-link,
    .newsletter-btn {
        transition: none;
    }
    
    .social-link:hover,
    .newsletter-btn:hover {
        transform: none;
    }
}
