/* 全局样式 */
body {
    font-family: "SF Pro SC", "SF Pro Text", "SF Pro Icons", "PingFang SC", "Helvetica Neue", "Helvetica", "Arial",
        sans-serif;
}

.footer {
    background-color: #f5f5f7;
    color: #6e6e73;
    padding: 20px 0;
}

.footer-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

.footer-top {
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 10px;
    font-size: 12px;
}

.footer-top p {
    margin: 0;
}

.footer-top a {
    color: #06c;
    text-decoration: none;
}

.footer-top a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.footer-column {
    flex: 1;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #6e6e73;
    font-size: 12px;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
    color: #1d1d1f;
}

.footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding-top: 10px;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0 0 10px 0;
}

.footer-bottom a {
    color: #06c;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    margin: 0;
}

.footer-bottom-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.footer-bottom-links li {
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #d2d2d7;
}

.footer-bottom-links li:last-child {
    border-right: none;
}

.footer-bottom-links li a {
    color: #6e6e73;
}

.footer-bottom-links li a:hover {
    text-decoration: underline;
    color: #1d1d1f;
}

.region {
    margin: 0;
}
/* 小屏幕下布局调整（优化版） */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        padding: 24px 16px; /* 增加内边距 */
    }

    .footer-column {
        width: 100%;
        margin-bottom: 24px; /* 加大列间距 */
        border-bottom: 1px solid #e5e7eb; /* 底部分割线 */
    }

    /* 标题样式优化 */
    .footer-column h4 {
        position: relative;
        padding: 12px 32px 12px 16px; /* 增加交互区域 */
        font-size: 1.125rem; /* 18px */
        font-weight: 500;
        color: #1f2937;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* 箭头图标优化（使用chevron样式） */
    .footer-column h4::after {
        content: "\f077"; /* fa-chevron-down */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.875rem; /* 14px */
        color: #6b7280;
        transition: transform 0.2s ease-out, color 0.2s ease-out;
    }

    /* 悬停状态 */
    .footer-column h4:hover {
        color: #2563eb; /* 主色调蓝色 */
    }

    /* 展开状态 */
    .footer-column.active h4 {
        color: #2563eb;
    }
    .footer-column.active h4::after {
        transform: rotate(180deg);
        color: #2563eb;
    }

    /* 列表展开动画 */
    .footer-column ul {
        max-height: 0;
        overflow: hidden;
        padding-left: 24px; /* 加大缩进 */
        margin-top: 12px;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
    }

    .footer-column.active ul {
        max-height: 400px; /* 足够大的高度 */
        opacity: 1;
    }

    /* 列表项样式 */
    .footer-column li {
        line-height: 1.6; /* 更舒适的行高 */
        color: #4b5563;
    }
    .footer-column li:hover {
        color: #2563eb;
        text-decoration: underline;
    }
}
