:root {
    --primary: #66bb6a;
    --secondary: #c5e1a5;
    --bg: #f1f8e9;
    --text: #33691e;
    --white: #ffffff;
    --accent: #8bc34a;
    --dark: #1b5e20;
    --light: #f9fbe7;
    --shadow: 0 4px 20px rgba(51, 105, 30, 0.15);
    --radius: 18px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'ZCOOL XiaoWei', 'Noto Sans SC', serif;
    color: var(--dark);
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(51, 105, 30, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'ZCOOL XiaoWei', serif;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.nav {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav a {
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(197,225,165,0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.banner p {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 30px;
}

.banner-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Section */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text);
    opacity: 0.7;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(197, 225, 165, 0.3);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(51, 105, 30, 0.2);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--secondary), var(--light));
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-body p {
    color: var(--text);
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 10px;
    font-size: 0.9rem;
}

.card-link:hover {
    gap: 10px;
}

/* Category */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Content pages */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-article {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-article h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary);
}

.content-article h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--primary);
}

.content-article p {
    margin-bottom: 15px;
    color: var(--text);
    line-height: 1.9;
}

.content-article ul,
.content-article ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.content-article li {
    margin-bottom: 8px;
}

.feature-box {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--light) 100%);
    border-radius: var(--radius);
    padding: 30px;
    margin: 25px 0;
    border-left: 5px solid var(--primary);
}

.feature-box h3 {
    color: var(--dark);
    margin-top: 0;
}

/* Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-table th {
    background: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.info-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--secondary);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover td {
    background: var(--light);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary);
    border-radius: 12px;
    background: var(--white);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 187, 106, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-member .role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.team-member p {
    color: var(--text);
    opacity: 0.75;
    font-size: 0.9rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h3 {
    color: var(--dark);
    margin-bottom: 5px;
}

.timeline-item .date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, #2e7d32 100%);
    color: var(--white);
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'ZCOOL XiaoWei', serif;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-col p {
    opacity: 0.85;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    opacity: 0.85;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .banner {
        padding: 50px 0;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .content-article {
        padding: 25px 20px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .header .container {
        position: relative;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .banner h1 {
        font-size: 1.6rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .card-body {
        padding: 20px;
    }

    .card-image {
        height: 180px;
    }
}