/* ========================================
   Ling.AI - 页脚组件样式
   ======================================== */

.footer {
    background: #f9f7f2;
    border-top: 1px solid #e8e5dc;
    padding: 4rem 0 2rem;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e8e5dc;
}

.footer-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a2a2a;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.footer-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: #d97706;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-brand .logo-icon svg {
    width: 22px;
    height: 22px;
}

.footer-brand-desc {
    font-size: 0.9375rem;
    color: #7a7a7a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f5f3ed;
    border-radius: 50%;
    color: #555555;
    transition: all 0.2s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link:hover {
    background: #d97706;
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2a2a2a;
    margin-bottom: 1.25rem;
}

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

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-list a {
    font-size: 0.9375rem;
    color: #7a7a7a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #d97706;
}

.footer-bottom {
    padding-top: 2rem;
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: #7a7a7a;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: #7a7a7a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #d97706;
}

.dark .footer {
    background: #1a1a1a;
    border-top-color: #333;
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    .footer-container {
        padding: 0 1.5rem;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-legal {
        gap: 1.5rem;
    }
}