/* 公共样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333; }
header { background: linear-gradient(135deg, #2e7d32, #1b5e20); padding: 1rem; position: fixed; width: 100%; top: 0; z-index: 100; }
nav { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { color: white; text-decoration: none; font-size: 1.5rem; font-weight: bold; display: flex; align-items: center; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: white; text-decoration: none; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 0.8; }
main { margin-top: 4rem; }
.hero { text-align: center; padding: 6rem 2rem; background: linear-gradient(135deg, #f1f8e9, #dcedc8); }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; color: #2e7d32; }
.hero p { font-size: 1.2rem; color: #666; max-width: 800px; margin: 0 auto; }
.features { max-width: 1200px; margin: 3rem auto; padding: 2rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.feature-card { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-top: 3px solid #2e7d32; }

/* 首页额外样式 */
.stats { background: linear-gradient(135deg, #f1f8e9, #dcedc8); padding: 4rem 2rem; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1200px; margin: 2rem auto; }
.stat-card { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.stat-card h3 { color: #2e7d32; font-size: 2rem; margin-bottom: 0.5rem; }

/* 协议页面样式 */
.license-page main { padding: 2rem; max-width: 1200px; margin: 6rem auto 2rem; }
.license-content { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.license-content h1 { color: #2e7d32; margin-bottom: 1.5rem; text-align: center; }
.license-content h2 { color: #2e7d32; margin: 1.5rem 0 1rem; }
.license-content h3 { color: #333; margin: 1.2rem 0 0.8rem; }
.license-content p { margin-bottom: 1rem; }
.license-content strong { font-weight: bold; }
.license-content em { font-style: italic; }
.license-content u { text-decoration: underline; }
.license-content strong em u { font-weight: bold; font-style: italic; text-decoration: underline; }

/* 页脚样式 */
footer { background-color: #f1f8e9; padding: 1.5rem 0; margin-top: 2rem; border-top: 1px solid #dcedc8; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
footer p { color: #666; font-size: 0.9rem; margin: 0; }
footer a { color: #2e7d32; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* 导航栏图片样式 */
.logo-img { height: 40px; width: 40px; margin-right: 8px; }

/* 响应式样式 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .license-page main { padding: 1rem; }
    .license-content { padding: 1rem; }
}