
/* 基础样式设置 */
body, html { margin: 0; padding: 0; font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #1e5799, #7db9e8); height: 100%; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { color: #fff; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
a { color: #FFA500; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #FFD700; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
header { position: fixed; top: 0; left: 0; right: 0; background: rgba(30, 87, 153, 0.9); z-index: 1000; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
header .logo { font-size: 24px; font-weight: bold; color: #fff; }
header nav a { margin-left: 20px; font-size: 16px; }
.module { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #fff; position: relative; }
.module h2 { font-size: 36px; margin-bottom: 20px; }
.module p { font-size: 18px; max-width: 800px; }
.module::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.2); z-index: -1; }
@media (max-width: 768px) { .module { height: auto; padding: 60px 20px; } .module h2 { font-size: 28px; } }
.animate { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.animate.active { opacity: 1; transform: translateY(0); }
.cta { background: #FF7F00; color: #fff; padding: 15px 30px; border-radius: 5px; font-size: 18px; transition: background 0.3s ease; }
.cta:hover { background: #FFA500; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 40px 0; }
.grid-item { background: rgba(255, 255, 255, 0.1); padding: 20px; border-radius: 10px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.grid-item:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
footer { background: #1e5799; color: #fff; text-align: center; padding: 20px; margin-top: 40px; }
footer p { margin: 0; font-size: 14px; }
img { max-width: 100%; height: auto; display: block; margin: 20px 0; border-radius: 10px; transition: transform 0.3s ease; }
img:hover { transform: scale(1.1); }
pre { background: rgba(0, 0, 0, 0.5); color: #fff; padding: 15px; border-radius: 5px; overflow-x: auto; }
@media (max-width: 480px) { header nav a { font-size: 14px; margin-left: 10px; } }

