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

:root {
    --primary-color: #0056b3;
    --secondary-color: #004494;
    --accent-color: #ff6600;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-color: #e6f2ff; /* 修改为浅蓝色背景 */
    --bg-light: #f0f8ff; /* 修改为更浅的蓝色 */
    --bg-dark: #333;
    --border-color: #ddd;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* 新增字体变量 */
    --heading-font: 'Microsoft YaHei Bold', '微软雅黑 Bold', Arial, sans-serif;
    --body-font: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    --title-spacing: 0.02em;
    --section-spacing: 4rem;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 排版 - 改进的标题层次和字体样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    letter-spacing: var(--title-spacing);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--primary-color);
}

h1:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0.5rem 0 0;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0.5rem 0 0;
    opacity: 0.7;
}

h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    color: var(--text-color);
}

h5 {
    font-size: 1.25rem;
    color: var(--text-light);
}

h6 {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

section {
    margin-bottom: var(--section-spacing);
}

/* 按钮 - 改进的样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.03em;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

/* 表单 - 改进的样式 */
.form-group {
    margin-bottom: 1.8rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

input, textarea, select {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
    background-color: #f9f9f9;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
    background-color: white;
}

.required {
    color: var(--error-color);
}

/* 页面头部 - 改进的样式 */
.page-header {
    background-color: rgba(255, 255, 255, 0.7); /* 半透明白色背景 */
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px; /* 添加圆角 */
}

.page-header:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.page-header h1 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.page-header h1:after {
    margin: 0.8rem auto 0;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* 页脚 */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 0;
    position: relative;
    margin-top: 4rem;
    border-radius: 15px 15px 0 0; /* 添加圆角 */
}

footer:before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(to bottom, transparent, rgba(0, 86, 179, 0.1)); /* 渐变阴影效果 */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 0.8rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.footer-contact h3, .footer-links h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-contact h3:after, .footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.footer-links a:hover {
    color: white;
    padding-left: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .footer-content > div {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
    }
    
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    section {
        margin-bottom: 3rem;
    }
} 