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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fafafa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* 滚动渐入初始状态 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* 顶部导航 */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.header.scrolled {
    height: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    transition: height 0.3s ease;
}

.header.scrolled .nav-wrap {
    height: 60px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #2e7d32;
    transition: all 0.3s ease;
}

.logo span {
    color: #666;
    font-size: 13px;
    font-weight: 400;
    margin-left: 8px;
}

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

.nav-menu a {
    font-size: 15px;
    color: #555;
    transition: color 0.2s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2e7d32;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2e7d32;
}

.nav-btn {
    background: linear-gradient(135deg, #43a047, #2e7d32);
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 125, 50, 0.35);
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 首屏轮播 Banner */
.banner-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-wrapper {
    display: flex;
    width: 200%;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-slide {
    width: 50%;
    flex-shrink: 0;
    line-height: 0;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-pagination {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    user-select: none;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.banner-arrow.prev {
    left: 30px;
}

.banner-arrow.next {
    right: 30px;
}

/* 数据统计 */
.stats {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-wrap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
}

.stat-item .num {
    font-size: 36px;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.stat-item .num span {
    font-size: 18px;
}

.stat-item .label {
    font-size: 15px;
    color: #666;
}

/* 通用区块标题 */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #43a047, #2e7d32);
    border-radius: 2px;
}

.section-title p {
    color: #888;
    font-size: 15px;
    margin-top: 20px;
}

/* 展会介绍 */
.highlights {
    background: #fafafa;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.highlight-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #43a047, #66bb6a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(46, 125, 50, 0.12);
    border-color: #a5d6a7;
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
}

.highlight-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #222;
}

.highlight-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
}

/* 展会新闻 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.news-img {
    height: 200px;
    background: #eee;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:hover .news-img img {
    transform: scale(1.08);
}

.news-body {
    padding: 22px;
}

.news-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.news-body h3 {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #222;
    transition: color 0.2s;
}

.news-card:hover h3 {
    color: #2e7d32;
}

.news-body p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-btn {
    text-align: center;
    margin-top: 50px;
}

.btn-outline {
    border: 2px solid #2e7d32;
    color: #2e7d32;
    padding: 12px 34px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #2e7d32;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: #fff;
    border-color: #2e7d32;
}

.btn-outline:hover::before {
    left: 0;
}

/* 合作品牌 */
.brands {
    background: #fff;
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-item {
    height: 80px;
    background: #fafafa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: default;
    overflow: hidden;
}

.brand-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brand-item:hover img {
    transform: scale(1.08);
}

.brand-item:hover {
    border-color: #a5d6a7;
    color: #2e7d32;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.08);
}

/* CTA区块 */
.cta {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before,
.cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta::before {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -100px;
}

.cta::after {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -150px;
}

.cta h2 {
    font-size: 30px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta .btn-primary {
    background: #fff;
    color: #2e7d32;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

/* 回到顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #43a047, #2e7d32);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.4);
}

/* 页脚 */
.footer {
    background: #1b5e20;
    color: #c8e6c9;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    padding-bottom: 8px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #66bb6a;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-about .logo {
    color: #a5d6a7;
    margin-bottom: 16px;
    display: block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #c8e6c9;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #2e7d32;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #81c784;
}

.footer-bottom a {
    color: #81c784;
    margin: 0 8px;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #fff;
}

/* 响应式 */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 105;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-btn {
        display: none;
    }

    .banner-arrow {
        display: none;
    }

    .stats-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-top: 0;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .brand-logos {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .banner-pagination {
        bottom: 10px;
    }

    .banner-dot {
        width: 8px;
        height: 8px;
    }

    .banner-dot.active {
        width: 20px;
    }
}

@media (max-width: 576px) {
    .stats-wrap {
        grid-template-columns: 1fr;
    }

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

    .brand-logos {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .section-title h2 {
        font-size: 24px;
    }

    .cta h2 {
        font-size: 22px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}
