.site-footer {
    background-color: #1f1f1f;
    color: #f3f3f3;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 24px 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-block;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-desc {
    color: #cfcfcf;
    line-height: 1.7;
    font-size: 14px;
}

.footer-links-group h3 {
    font-size: 17px;
    margin-bottom: 14px;
    color: #ffffff;
}

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

.footer-links-group li {
    margin-bottom: 10px;
}

.footer-links-group a {
    color: #cfcfcf;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links-group a:hover {
    color: #ffffff;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    margin: 28px 0 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: #bbbbbb;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 13px;
    color: #bbbbbb;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

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

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

    .footer-container {
        padding: 32px 20px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Glassmorphic Info Modal Styles */
.footer-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.footer-modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.footer-modal {
    width: min(700px, calc(100vw - 32px));
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.footer-modal-overlay.show .footer-modal {
    transform: scale(1);
}

.footer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.footer-modal-close {
    font-size: 28px;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: auto;
    height: auto;
    border-radius: 0;
}

.footer-modal-close:hover {
    color: #0f172a;
    background: transparent;
}

.footer-modal-content {
    padding: 24px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
    flex-grow: 1;
}

.footer-modal-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #0f172a;
}

.footer-modal-content h3:first-of-type {
    margin-top: 0;
}

.footer-modal-content p {
    margin-bottom: 12px;
}

.footer-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: flex-end;
}

.footer-modal-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    width: auto;
    height: auto;
}

.footer-modal-btn:hover {
    opacity: 0.9;
    background: #1e293b;
}