/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #434343;
    background-color: #ffffff;
    line-height: 1.6;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.logo-r { font-size: 12px; color: #999; margin-left: 5px; }

.nav-menu {
    display: flex;
    list-style: none;
    margin-left: 30px;
}

.nav-menu li {
    margin: 0 43px;
}

.nav-menu a {
    text-decoration: none;
    color: #434343;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2aae67;
    border-bottom: 2px solid #2aae67;
}

.login-btn {
    background-color: #2aae67;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-left: auto;
}

.login-btn:hover {
    background-color: #39b472;
}
/* 页脚整体样式 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页脚主要内容区 */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 品牌区域 */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* 联系信息区域 */
.footer-contact h4,
.footer-qrcode h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4::after,
.footer-qrcode h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #2aae67;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #2aae67;
    width: 16px;
    text-align: center;
}

/* 二维码区域 */
.footer-qrcode {
    text-align: center;
}

.qrcode-box {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 10px;
}

.qrcode-box img {
    width: 100px;
    height: 100px;
    display: block;
}

.footer-qrcode p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 底部版权区域 */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 30px;
}

.copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.beian a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.beian a:hover {
    color: #2aae67;
}

.beian i {
    color: #2aae67;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-contact h4::after,
    .footer-qrcode h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .beian a {
        justify-content: center;
    }
}