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

:root {
    --primary-color: #4D7C0F;
    --primary-dark: #3F6212;
    --secondary-color: #ECFCCB;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    box-shadow: var(--shadow);
    padding: 10px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary-color);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero区域 */
.hero {
    margin-top: 70px;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}
.hero p {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 30px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 通用区块 */
.section {
    padding: 80px 0;
}
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark);
}
.section-bg {
    background: var(--bg-light);
}

/* 卡片网格 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.card-content {
    padding: 20px;
}
.card-date {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
}
.card-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.card-excerpt {
    color: var(--text-gray);
    margin-bottom: 15px;
}
.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* 关于我们 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}
.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--text-gray);
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 12px;
}
.cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}
.cta p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}
.cta .btn {
    background: white;
    color: var(--primary-dark);
}
.cta .btn:hover {
    background: #f3f4f6;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer h4 {
    margin-bottom: 20px;
    font-size: 18px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}
.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: white;
}
.friend-links {
    margin-top: 15px;
    text-align: center;
}
.friend-links a {
    color: #9ca3af;
    margin: 0 10px;
    text-decoration: none;
}
.friend-links a:hover {
    color: white;
}

/* 动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 文章内页 */
.article-hero {
    margin-top: 70px;
    padding: 60px 0;
    background: var(--secondary-color);
    text-align: center;
}
.article-hero h1 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}
.article-meta {
    color: var(--text-gray);
    font-size: 14px;
}
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
    line-height: 1.8;
    font-size: 17px;
}
.article-content p {
    margin-bottom: 20px;
}
.article-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-dark);
}
.article-decoration {
    text-align: center;
    font-size: 48px;
    margin: 30px 0;
    padding: 20px;
    background: var(--secondary-color);
    border-radius: 12px;
}
.back-link {
    display: inline-block;
    margin: 30px 0;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .hero h1 {
        font-size: 32px;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 28px;
    }
}
