/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
}
body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: #333;
}
/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c7d3a;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 30px;
}
.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #2c7d3a;
}
/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(44, 125, 58, 0.8), rgba(44, 125, 58, 0.9)), url('../images/hero-bg.svg') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}
.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}
.btn {
    display: inline-block;
    background-color: #fff;
    color: #2c7d3a;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background-color: #e6e6e6;
    transform: translateY(-2px);
}
/* 特性区域样式 */
.features {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 32px;
    color: #333;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-10px);
}
.feature-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f8f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: #2c7d3a;
}
.feature-card h3 {
    margin-bottom: 15px;
    color: #2c7d3a;
}
/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    margin-bottom: 20px;
    font-size: 18px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #ccc;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: white;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #ccc;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 32px;
    }
}
/* 下载页面样式 */
.download {
    padding: 80px 0;
    text-align: center;
}
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.download-btn {
    display: flex;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    transition: transform 0.3s;
}
.download-btn:hover {
    transform: translateY(-5px);
}
.download-btn svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}
.download-btn div {
    text-align: left;
}
.download-btn div p {
    font-size: 12px;
    opacity: 0.8;
}
/* 联系我们样式 */
.contact {
    padding: 80px 0;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
.form-group textarea {
    height: 150px;
    resize: vertical;
}
/* 社区页面样式 */
.community {
    padding: 80px 0;
}
.community-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.post-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.post-card:hover {
    transform: translateY(-5px);
}
.post-img {
    height: 200px;
    background-color: #f0f8f2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post-img svg {
    width: 60px;
    height: 60px;
    fill: #2c7d3a;
}
.post-content {
    padding: 20px;
}
.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}
.post-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c7d3a;
}
.post-excerpt {
    color: #666;
    margin-bottom: 15px;
}