/* 全局变量与重置 */
:root {
    --primary: #0056b3; /* 科技蓝 */
    --accent: #00a86b;  /* 环保绿 */
    --dark: #333;
    --light: #f4f7f9;
}
body { font-family: 'Segoe UI', Roboto, sans-serif; margin: 0; background: var(--light); color: var(--dark); }
a { text-decoration: none; color: inherit; }

/* 导航栏 */
.navbar {
    background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0 5%; height: 70px; display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 1000;
}
.logo { font-size: 24px; font-weight: bold; color: var(--primary); }
.nav-links { display: flex; gap: 25px; }
.nav-links a:hover { color: var(--primary); }
.auth-btn {
    background: var(--primary); color: white; padding: 8px 20px; border-radius: 5px; cursor: pointer;
}

/* 注册弹窗 (Modal) */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 2000; justify-content: center; align-items: center;
}
.modal-content {
    background: white; padding: 30px; border-radius: 10px; width: 400px; position: relative;
}
.close-btn { position: absolute; top: 10px; right: 15px; cursor: pointer; font-size: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 0.9em; }
.form-group input { width: 100%; padding: 8px; box-sizing: border-box; }
.submit-btn { width: 100%; padding: 10px; background: var(--accent); color: white; border: none; cursor: pointer; }

/* 首页 Hero 区域 */
.hero {
    background: linear-gradient(135deg, #004e92, #000428); color: white;
    padding: 100px 5%; text-align: center;
}
.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.cards-container {
    display: flex; gap: 30px; padding: 50px 5%; justify-content: center; flex-wrap: wrap;
}
.card {
    background: white; padding: 30px; border-radius: 10px; width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s;
}
.card:hover { transform: translateY(-10px); }
