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

:root {
    --primary-color: #2d5a27;
    --primary-light: #4a8c3f;
    --primary-dark: #1a3a16;
    --accent-color: #ff6b35;
    --accent-light: #ff8c5a;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* 导航栏样式 */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(45, 90, 39, 0.05);
}

.nav-links a:hover::after {
    width: 60%;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.9), rgba(74, 140, 63, 0.85)), 
                url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=modern%20glass%20greenhouse%20with%20tomato%20plants%20aerial%20view%20beautiful%20landscape&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3.5rem 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.hero-feature .feature-icon {
    font-size: 2.5rem;
}

.hero-feature span:last-child {
    font-size: 1rem;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 按钮样式 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #fff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* 产品中心样式 */
.products {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.products h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-description {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.product-card {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.product-badge.red {
    background: linear-gradient(135deg, #e53935, #ff5252);
}

.product-badge.yellow {
    background: linear-gradient(135deg, #fb8c00, #ffa726);
}

.product-card h3 {
    font-size: 1.6rem;
    margin: 1.8rem 1.8rem 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.product-card p {
    margin: 0 1.8rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0 1.8rem 1rem;
}

.product-features span {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.1), rgba(74, 140, 63, 0.1));
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    border: 1px solid rgba(45, 90, 39, 0.2);
}

.product-nutrition {
    background: linear-gradient(135deg, #f8f9fa, #f0f1f2);
    padding: 1.5rem 1.8rem;
    margin-top: 0.5rem;
}

.product-nutrition h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.product-nutrition ul {
    list-style: none;
}

.product-nutrition li {
    margin-bottom: 0.6rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.product-nutrition li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.6rem;
    font-weight: bold;
}

/* 玻璃大棚展示 */
.greenhouse-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.greenhouse-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.greenhouse-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.1), transparent);
    pointer-events: none;
}

.greenhouse-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.greenhouse-image:hover img {
    transform: scale(1.05);
}

.greenhouse-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
}

.greenhouse-info p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.greenhouse-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.greenhouse-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-white);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.greenhouse-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.greenhouse-feature .feature-icon {
    font-size: 1.8rem;
}

.greenhouse-feature span:last-child {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* 展览馆样式 */
.exhibition {
    padding: 6rem 0;
    background: var(--bg-white);
}

.exhibition h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.exhibition-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.exhibition-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.exhibition-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.exhibition-image:hover img {
    transform: scale(1.05);
}

.exhibition-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.exhibition-features {
    list-style: none;
    margin-bottom: 2rem;
}

.exhibition-features li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.exhibition-info p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.exhibition-benefits {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.05), rgba(74, 140, 63, 0.08));
    padding: 1.8rem;
    border-radius: 16px;
    border: 1px solid rgba(45, 90, 39, 0.1);
}

.exhibition-benefits h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.exhibition-benefits ul {
    list-style: none;
}

.exhibition-benefits li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.exhibition-benefits li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.6rem;
    font-weight: bold;
}

.exhibition-gallery {
    margin-top: 5rem;
    text-align: center;
}

.exhibition-gallery h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-item {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item p {
    padding: 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* 关于我们样式 */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.about h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.9;
}

/* 系统登录样式 */
.login-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.login-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-container p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.test-accounts {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #eee;
    text-align: left;
}

.test-accounts h3 {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.test-accounts p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* 联系我们样式 */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-details {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.contact-item .contact-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item span:last-child {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.map-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group label {
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

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

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.1);
}

.contact-form button {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    padding: 3rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.footer-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 登录页面样式 */
.login-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.login-page .login-container {
    max-width: 420px;
    width: 100%;
    margin: 2rem;
}

.login-page h1 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.1);
}

.form-group button {
    width: 100%;
}

.error-message {
    color: #e53935;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.back-link {
    margin-top: 2rem;
    text-align: center;
}

.back-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.back-link a:hover {
    color: var(--primary-dark);
}

/* 仪表盘样式 */
.dashboard {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #e8f5e8, #c8e6c9);
    color: #1a1a1a;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sidebar-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2d5a27;
    text-align: center;
}

.sidebar-header .user-info {
    color: rgba(26, 26, 26, 0.7);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.sidebar-menu {
    list-style: none;
    padding: 1.5rem 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    color: rgba(26, 26, 26, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    text-align: center;
}

.sidebar-menu a:hover {
    background: rgba(26, 26, 26, 0.1);
    color: #1a1a1a;
}

.sidebar-menu a.active {
    background: rgba(26, 26, 26, 0.2);
    color: #1a1a1a;
    font-weight: 600;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 0;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.sidebar-bottom .sidebar-menu {
    padding: 0;
}

.sidebar-bottom .sidebar-menu li:last-child a {
    color: #fff;
    background: linear-gradient(135deg, #e53935, #ff5252);
}

.sidebar-bottom .sidebar-menu li:last-child a:hover {
    background: linear-gradient(135deg, #c62828, #e53935);
}

.sidebar-footer {
    margin-top: auto;
    padding: 0 2rem 2rem;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    background: none;
}

.sidebar-footer .user-info {
    color: rgba(26, 26, 26, 0.7);
    font-size: 0.95rem;
    padding: 1rem 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-footer .culture-section {
    margin-top: 0.5rem;
}

.sidebar-footer .culture {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    color: rgba(26, 26, 26, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-footer .culture:hover {
    background: rgba(26, 26, 26, 0.1);
    color: #1a1a1a;
}

.sidebar-footer .logout-section {
    margin-top: 0.5rem;
}

.sidebar-footer .logout {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    color: rgba(26, 26, 26, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-footer .logout:hover {
    background: rgba(26, 26, 26, 0.1);
    color: #1a1a1a;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: var(--bg-light);
}

.top-nav {
    background: var(--bg-white);
    padding: 1.2rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.user-info {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.dashboard-section {
    padding: 2.5rem;
    flex: 1;
}

.dashboard-section h1 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

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

.dashboard-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.dashboard-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.dashboard-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .greenhouse-showcase,
    .exhibition-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .hero-feature {
        padding: 1rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    .products h2,
    .exhibition h2,
    .about h2,
    .login-section h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .greenhouse-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 1rem;
    }
    
    .sidebar-menu li {
        margin-right: 0.5rem;
    }
    
    .sidebar-menu a {
        white-space: nowrap;
        padding: 0.6rem 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 选中文本样式 */
::selection {
    background: var(--primary-color);
    color: #fff;
}

/* 导航栏激活状态 */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 60%;
}

/* 页面头部样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: #fff;
    margin-top: 0;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 首页介绍区域 */
.home-intro {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.intro-content > p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.intro-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.intro-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.intro-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.intro-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.btn-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--primary-dark);
}

/* 首页联系区域 */
.home-contact {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.05), rgba(74, 140, 63, 0.08));
    padding: 4rem 2rem;
}

.contact-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-cta > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-info-quick {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-quick-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* 产品页面样式 */
.products-page {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.greenhouse-section {
    padding: 4rem 2rem;
    background: var(--bg-white);
}

/* 展览馆页面样式 */
.exhibition-page {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.gallery-section {
    padding: 4rem 2rem;
    background: var(--bg-white);
}

.contact-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

/* 关于我们页面样式 */
.about-page {
    padding: 4rem 2rem;
    background: var(--bg-white);
}

.about-main {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-features {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.about-features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-item .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 时间线样式 */
.about-timeline {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-timeline h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-5px);
}

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

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 联系卡片样式 */
.about-contact {
    max-width: 1200px;
    margin: 0 auto;
}

.about-contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-card .contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 1.5rem 3rem;
    }
    
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .page-header-content p {
        font-size: 1rem;
    }
    
    .intro-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-info-quick {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* 修改密码模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body .form-group {
    margin-bottom: 1.5rem;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-body .form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.modal-body .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.1);
}

.modal-footer {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    flex: 1;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #2d5a27, #4a8c3f);
    color: white;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
}

.modal-footer .btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
}

.modal-footer .btn-secondary:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
    transform: none;
}

/* 消息模态框样式 */
.message-modal-content {
    text-align: center;
    padding: 2rem;
}

.message-modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.message-modal-content p {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.message-modal-content .btn-primary {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #2d5a27, #4a8c3f);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.message-modal-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);     
}

/* 性别统计表格样式 */
.gender-stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gender-stats-table th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
}

.gender-stats-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.gender-stats-table tr:hover {
    background-color: #f9f9f9;
}

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

/* 部门统计表格样式 */
.department-stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.department-stats-table th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
}

.department-stats-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.department-stats-table tr:hover {
    background-color: #f9f9f9;
}

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