/* --- Footer Base --- */
.site-footer {
    background: #fff;
    border-top: 1px solid #e5e7eb; /* light gray top border */
    color: #374151; /* dark gray text */
    padding: 3rem 1rem; /* 48px top/bottom, 16px sides */
    font-family: 'Inter', sans-serif;
    text-align: center;
}

/* Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Top Section: Logos --- */
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-link:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 40px; /* desktop height */
    width: auto;
    display: block;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 2rem 0;
}

/* --- Middle Section: App Download --- */
.footer-middle .footer-app-title {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.125rem; /* 18px */
}

.footer-apps {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.app-badge img {
    height: 40px; /* adjust if needed */
    border-radius: 0.5rem;
    transition: transform 0.3s;
}

.app-badge:hover img {
    transform: scale(1.05);
}

/* --- Bottom Section: Navigation Links --- */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem; /* 14px */
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #6b7280;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #111827;
}

/* --- Copyright --- */
.footer-copyright {
    font-size: 0.75rem; /* 12px */
    color: #9ca3af; /* gray */
    margin-top: 1rem;
}

/* --- Responsive Styles --- */

/* Mobile (<768px) */
@media (max-width: 767px) {
    .footer-top {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-logo {
        height: 32px;
    }

    .footer-apps {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer-top {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .footer-logo {
        height: 36px;
    }

    .footer-apps {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .footer-top {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-apps {
        gap: 2rem;
    }

    .footer-nav {
        gap: 1rem;
    }
}
