/* ========= Footer 底部信息模块样式 ========= */

/* 重新设计的Footer */
.footer-redesign {
    padding: 80px 0 40px !important;
    background: #f8f9fa !important;
}

/* 主要内容区域 - Flexbox布局 */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* 左侧品牌区 */
.footer-brand {
    flex: 0 0 280px;
    max-width: 280px;
}

.footer-logo-wrap {
    margin-bottom: 24px;
}

.footer-slogan {
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    margin: 12px 0 0;
    letter-spacing: 2px;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

/* 公司简介 */
.footer-company-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 24px;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

/* 语言切换 */
.footer-lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-lang-switch .lang-icon {
    width: 16px;
    height: 16px;
    color: rgba(0, 0, 0, 0.6);
}

.footer-lang-switch .lang-label {
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    margin-right: 8px;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.footer-lang-switch .lang-options {
    display: flex;
    gap: 8px;
}

.footer-redesign .footer-lang-switch .lang-option {
    font-size: 13px;
    font-weight: 400;
    color: #555555;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 2px;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.footer-redesign .footer-lang-switch .lang-option:hover {
    color: #36c958 !important;
}

.footer-lang-switch .lang-option.active {
    color: #1b1b1b;
    font-weight: 500;
    background: rgba(54, 201, 88, 0.12);
}

/* 右侧导航区 - 居右显示 */
.footer-nav {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(100px, auto));
    gap: 80px;
    justify-content: end;
}

.footer-nav-column {
    min-width: 100px;
}

.footer-nav-title {
    font-size: 16px !important;
    font-weight: 600;
    color: #1b1b1b;
    margin: 0 0 20px;
    letter-spacing: 0.5px;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list li:last-child {
    margin-bottom: 0;
}

.footer-redesign .footer-nav-list a {
    font-size: 12px !important;
    font-weight: 400;
    color: #555555;
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.footer-redesign .footer-nav-list a:hover {
    color: #36c958 !important;
}

/* 底部版权栏 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.footer-copyright span {
    color: #666666;
    font-weight: 400;
}

.footer-divider {
    color: #999999 !important;
}

.footer-icp {
    color: #777777 !important;
}

/* 社交图标区域 */
.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 社交图标通用样式 */
.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.footer-social-icon img {
    width: 24px;
    height: 24px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: rgba(54, 201, 88, 0.15);
    border-color: rgba(54, 201, 88, 0.3);
}

.footer-social-icon:hover img {
    opacity: 1;
}

/* 微信图标悬浮二维码 */
.footer-wechat-wrapper {
    position: relative;
    display: inline-block;
}

.footer-wechat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.footer-wechat-icon img {
    width: 24px;
    height: 24px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-wechat-icon:hover img {
    opacity: 1;
}

.footer-wechat-icon:hover {
    background: rgba(54, 201, 88, 0.15);
    border-color: rgba(54, 201, 88, 0.3);
    color: #36c958;
}

.footer-wechat-qrcode {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    background: #FFFFFF;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    text-align: center;
}

.footer-wechat-qrcode::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 8px;
    border: 8px solid transparent;
    border-top-color: #FFFFFF;
}

.footer-wechat-wrapper:hover .footer-wechat-qrcode {
    opacity: 1;
    visibility: visible;
    transform: translateY(-4px);
}

.footer-wechat-qrcode img {
    width: 140px;
    height: auto;
    border-radius: 4px;
    display: block;
    object-fit: contain;
}

.footer-wechat-qrcode span {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

/* Footer响应式 */
@media (max-width: 1024px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand {
        flex: none;
        max-width: 100%;
    }

    .footer-nav {
        flex: none;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-redesign {
        padding: 60px 0 30px !important;
    }

    .footer-main {
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-nav-title {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .footer-nav-list a {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-copyright {
        flex-wrap: wrap;
    }

    .footer-social {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
