footer {
    background: #0f1117;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 60px 10px;
    margin-top: 50px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 12px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.footer-brand .footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-brand .footer-logo .logo-icon img {
    width: 20px;
    height: 20px;
}

.footer-brand .footer-logo span {
    color: white;
}

.footer-brand > p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.65;
    max-width: 260px;
    margin-bottom: 10px;
}

.footer-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
}

.platform-badge svg {
    width: 13px;
    height: 13px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-socials a:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.footer-socials a svg {
    width: 15px;
    height: 15px;
}

.footer-links-group {
    padding-top: 8px;
}

.footer-links-group h5 {
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links-group ul a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-group ul a:hover {
    color: white;
}

.footer-bottom {
    padding: 20px 0 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    align-self: flex-end;
}

.footer-langs {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 20px;
}

.footer-langs img {
    border-radius: 2px;
    width: 18px;
}

@media (max-width: 900px) {
    footer {
        padding: 40px 30px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}