/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
ul {
    list-style: none;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.btn:hover {
    background-color: #0056b3;
}
.btn-secondary {
    background-color: #fff;
    color: #007bff;
    border: 1px solid #007bff;
}
.btn-secondary:hover {
    background-color: #f0f7ff;
}

/* 导航栏 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}
.logo span {
    color: #333;
}
.nav-menu {
    display: flex;
}
.nav-menu li {
    margin-left: 40px;
}
.nav-menu a {
    font-size: 16px;
    font-weight: 500;
}
.nav-menu a:hover, .nav-menu a.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

/* 页面主体通用样式 */
.main {
    padding-top: 100px;
    padding-bottom: 80px;
}
.page-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #222;
}
.section {
    margin-bottom: 80px;
}
.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #007bff;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #007bff;
}
.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* 页脚 */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.footer-col {
    width: 23%;
}
.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-col p, .footer-col a {
    color: #ccc;
    margin-bottom: 10px;
}
.footer-col a:hover {
    color: #007bff;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 14px;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .footer-top {
        flex-wrap: wrap;
    }
    .footer-col {
        width: 48%;
        margin-bottom: 30px;
    }
}