/* ==================== 公共基础样式 ==================== */

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

:root {
    /* 主色：logo紫色 */
    --primary-color: #6B2D8B;
    /* 辅色：logo青绿色 */
    --secondary-color: #00A896;
    /* 主色浅版（用于hover、背景） */
    --primary-light: #8B3DAF;
    /* 辅色浅版 */
    --secondary-light: #00C4B0;
    --text-color: #2d2d2d;
    --text-light: #666;
    --bg-color: #f7f4fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(107, 45, 139, 0.1);
    --shadow-lg: 0 10px 25px rgba(107, 45, 139, 0.18);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* ==================== 按钮公共样式 ==================== */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
    cursor: pointer;
}

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

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--secondary-color);
}

.btn-full {
    width: 100%;
}

/* ==================== 区块标题公共样式 ==================== */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ==================== 页眉公共样式 ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ==================== 响应式公共样式 ==================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}
