/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f6f2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #5a7302;
    transition: all 0.3s ease;
}

a:hover {
    color: #3d4e00;
}

/* 导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

header h1 {
    color: #5a7302;
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #5a7302;
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://replicate.delivery/xezq/UagtZIqDJZ4YFNuugu1qUvkvSeKeETPTBjJ42WWSIa5M7ojUA/out-0.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background-color: #5a7302;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(90, 115, 2, 0.3);
}

.btn:hover {
    background-color: #4a5f02;
    color: #fff;
    transform: translateY(-2px);
}

/* 介绍部分 */
.intro {
    padding: 80px 0;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #5a7302;
}

.intro p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.8;
}

.intro-image {
    max-width: 600px;
    margin-top: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    object-fit: contain;
    max-height: 400px;
}

/* 特点卡片 */
.features {
    padding: 60px 0 100px;
    background-color: #f0ece3;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #5a7302;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}

.card h3 {
    font-size: 1.3rem;
    padding: 20px 20px 10px;
    color: #5a7302;
}

.card p {
    padding: 0 20px 25px;
    font-size: 1rem;
    flex-grow: 1;
}

/* 引用部分 */
.quote {
    background-color: #5a7302;
    color: #fff;
    padding: 80px 0;
}

blockquote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

blockquote p {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

blockquote cite {
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 600;
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header h1 {
        margin-bottom: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .card img {
        height: 180px;
    }

    blockquote p {
        font-size: 1.4rem;
    }
}