/* General Styles */
:root {
    --primary-color: #2e7d32; /* 更匹配 Logo 的森林绿 */
    --accent-color: #8bc34a;  /* 匹配 Logo 的亮绿色 */
    --secondary-color: #2196F3;
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 40px; /* 控制导航栏 Logo 的高度 */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #45a049;
}

.btn-secondary {
    color: var(--secondary-color) !important;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2e7d32;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #666;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 80px 0;
    text-align: center;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-between;
    padding: 80px 20px;
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-card .icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter {
    background: #e8f5e9;
    padding: 80px 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #2e7d32;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-form input {
    min-width: 200px;
}

.newsletter-form button {
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.form-note {
    font-size: 14px !important;
    margin-top: 15px;
    color: #999 !important;
}

/* Footer */
footer {
    background: #333;
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .features {
        flex-direction: column;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}
