/* ============================================
   Modern Footer Styles
   ============================================ */

/* Footer Container */
.footer {
    position: relative;
    background: linear-gradient(180deg, #0a1525 0%, #111d2e 100%);
    color: #e8eaed;
    padding: 4rem 0 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    will-change: auto;
    contain: layout style paint;
}

.footer .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Footer Top Grid */
.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s ease;
}

.footer__brand-link:hover {
    opacity: 0.8;
}

.footer__brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer__brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.footer__brand-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #b4b8bd;
    margin: 0;
    max-width: 280px;
}

/* Social Links */
.footer__socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #b4b8bd;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer__socials a:hover {
    background: rgba(244, 161, 0, 0.1);
    border-color: #F4A100;
    color: #F4A100;
    transform: translateY(-2px);
}

.footer__socials svg {
    width: 16px;
    height: 16px;
}

/* Navigation Sections */
.footer__nav {
    display: flex;
    flex-direction: column;
}

.footer__title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1.25rem 0;
}

.footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__list li a {
    font-size: 0.9rem;
    color: #e8eaed;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
    line-height: 1.5;
}

.footer__list li a:hover {
    color: #F4A100;
    padding-left: 4px;
}

/* Contact Section */
.footer__contact {
    display: flex;
    flex-direction: column;
    font-style: normal;
}

.footer__list--contact {
    gap: 1rem;
}

.footer__list--contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e8eaed;
}

.footer__contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
    filter: grayscale(30%);
}

.footer__contact-link {
    color: #e8eaed;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__contact-link:hover {
    color: #F4A100;
}

/* CTA Section */
.footer__cta {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(244, 161, 0, 0.08) 0%, rgba(244, 161, 0, 0.03) 100%);
    border: 1px solid rgba(244, 161, 0, 0.2);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    gap: 1rem;
}

.footer__cta .footer__title {
    margin-bottom: 0.5rem;
    color: #F4A100;
}

.footer__cta-copy {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #d1d5db;
    margin: 0;
}

.footer__cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: #F4A100;
    color: #0a1525;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.footer__cta .btn:hover {
    background: #ff9933;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 161, 0, 0.3);
}

.btn--primary {
    background: #F4A100;
}

.btn--sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* Footer Bottom */
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: #9ca3af;
    gap: 2rem;
}

.footer__legal-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer__legal-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer__legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #F4A100;
    transition: width 0.3s ease;
}

.footer__legal-links a:hover {
    color: #F4A100;
}

.footer__legal-links a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer__top {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 2.5rem;
    }

    .footer__cta {
        grid-column: 1 / -1;
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }

    .footer__brand {
        grid-column: 1 / -1;
        max-width: 500px;
    }

    .footer__cta {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer__brand,
    .footer__nav,
    .footer__contact,
    .footer__cta {
        grid-column: 1;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 0;
    }

    .footer__legal-links {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .footer__brand-description {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 0;
    }

    .footer .container {
        padding: 0 1rem;
    }

    .footer__top {
        gap: 2rem;
    }

    .footer__brand-name {
        font-size: 1rem;
    }

    .footer__title {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }

    .footer__list {
        gap: 0.65rem;
    }

    .footer__list li a {
        font-size: 0.85rem;
    }

    .footer__socials {
        gap: 0.75rem;
    }

    .footer__socials a {
        width: 32px;
        height: 32px;
    }

    .footer__cta {
        padding: 1.5rem 1.25rem;
    }

    .footer__legal-links {
        gap: 1rem;
    }

    .footer__bottom {
        font-size: 0.8rem;
    }
}

/* Cursor Styles */
.footer a,
.footer button,
.footer .btn {
    cursor: pointer;
}

/* Focus States for Accessibility */
.footer a:focus-visible {
    outline: 2px solid #F4A100;
    outline-offset: 3px;
    border-radius: 4px;
}

.footer button:focus-visible,
.footer .btn:focus-visible {
    outline: 2px solid #F4A100;
    outline-offset: 3px;
}

/* Smooth Scroll for Anchor Links */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .footer *,
    .footer *::before,
    .footer *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .footer {
        background: #fff;
        color: #000;
    }

    .footer__socials,
    .footer__cta {
        display: none;
    }
}

