/* Footer */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    min-width: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #334155;
}

.footer-logo-section {
    flex: 0 0 380px;
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-logo-image {
    display: block;
    width: auto;
    height: 156px;
    max-width: 100%;
    object-fit: contain;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #94a3b8;
}

.footer-apps p {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
}

.app-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #475569;
    transform: translateY(-2px);
}

.app-button i {
    font-size: 1.8rem;
}

.app-button div {
    display: flex;
    flex-direction: column;
}

.app-button div span {
    font-size: 0.7rem;
    color: #94a3b8;
}

.app-button div strong {
    font-size: 1rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 4rem;
    min-width: 0;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright {
    flex: 1;
    min-width: 300px;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.footer-copyright p:first-child {
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-social p {
    font-weight: 600;
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icons a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer {
        padding-top: 2.5rem;
        overflow-x: hidden;
    }

    .footer-container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .footer-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-logo-section {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .footer-logo-image {
        width: min(220px, 76vw);
        height: auto;
        max-height: 120px;
    }

    .footer-description {
        margin-left: auto;
        margin-right: auto;
        max-width: 34rem;
    }

    .footer-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-column ul li a {
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.4rem;
        padding: 1.6rem 0;
    }

    .footer-copyright {
        min-width: 0;
        width: 100%;
    }

    .footer-social {
        justify-content: center;
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 420px) {
    .footer-logo-image {
        width: min(190px, 72vw);
    }
}
