/* 全局样式 */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 15px 0;
}

.language-switch a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.language-switch a.active {
    color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 原因部分样式 */
.reasons {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.reasons h2, .reasons h3 {
    text-align: center;
    margin-bottom: 40px;
}

.reason-card {
    background: var(--white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.reason-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 替代方案部分样式 */
.alternatives {
    padding: 80px 0;
}

.alternatives h2, .alternatives h3 {
    text-align: center;
    margin-bottom: 40px;
}

.alternative-card {
    background: var(--white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.alternative-card:hover {
    transform: translateY(-5px);
}

.alternative-card h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* 页脚样式 */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* SEO优化相关样式 */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

/* 打印样式优化 */
@media print {
    .hero {
        background: none;
        color: black;
    }
    
    .reason-card, .alternative-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 