/* style.css - 把这个文件和html放在一起 */
:root {
    --primary: #0066cc;
    --dark: #1a1a1a;
    --light: #f4f6f8;
    --text: #333;
    --text-light: #666;
    --success: #28a745;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { line-height: 1.6; color: var(--text); background-color: #fff; display: flex; flex-direction: column; min-height: 100vh; }

/* 导航栏 */
nav { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--dark); display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo span { color: var(--primary); }
.nav-links a { text-decoration: none; color: var(--text); margin-left: 2rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn { padding: 0.6rem 1.2rem; background: var(--primary); color: #fff; border-radius: 4px; text-decoration: none; font-weight: 600; transition: background 0.3s; }
.btn:hover { background: #0052a3; }

/* 通用容器 */
.container { padding: 4rem 5%; flex: 1; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--dark); }
p { margin-bottom: 1.5rem; color: var(--text-light); }

/* 页脚 */
footer { padding: 2rem 5%; text-align: center; border-top: 1px solid #eee; color: var(--text-light); font-size: 0.9rem; margin-top: auto; }

/* --- 首页专用样式 (Home Page Specific) --- */

/* 顶部大标题区域 */
.hero { padding: 6rem 5%; text-align: center; background: linear-gradient(135deg, #f4f6f8 0%, #eef2f5 100%); }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; color: var(--dark); }
.hero p { font-size: 1.25rem; color: var(--text-light); max-width: 700px; margin: 0 auto 2rem; }

/* 特性卡片区域 */
.features { padding: 5rem 5%; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card { padding: 2rem; border-radius: 8px; border: 1px solid #eee; transition: transform 0.3s, box-shadow 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.icon { width: 50px; height: 50px; background: #e6f0fa; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 1rem; font-size: 1.5rem; }
.feature-card h3 { margin-bottom: 0.5rem; color: var(--dark); }

/* 底部统计数据黑条 */
.stats { background: var(--dark); color: #fff; padding: 4rem 5%; display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; margin-top: auto; }
.stat-item { margin: 1rem; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--primary); display: block; }
.stat-label { font-size: 0.9rem; opacity: 0.8; }

/* 响应式调整 */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; } /* 手机端隐藏导航链接 */
}