* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #fafef7;
    color: #1a2e1f;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #e0f0e0;
}

::-webkit-scrollbar-thumb {
    background: #2e7d32;
    border-radius: 10px;
}

/* 容器通用 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #0a3b1a;
    letter-spacing: -0.3px;
}

.section-sub {
    text-align: center;
    color: #4a6741;
    max-width: 680px;
    margin: 0 auto 56px auto;
    font-size: 1.1rem;
}

.title-deco {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #2ecc71, #1f8a4c);
    margin: 12px auto 12px;
    border-radius: 4px;
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 40, 0, 0.05);
    padding: 12px 0;
    transition: all 0.3s;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    /* background: #1e6b3b; */
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    /* box-shadow: 0 6px 12px rgba(30, 107, 59, 0.2); */
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #165a2c;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #4b7b4b;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #2a4d2a;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0f8b3a;
}

.mobile-menu-btn {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: #1e6b3b;
    cursor: pointer;
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 16px;
        padding: 24px 0 12px;
    }

    .nav-links.show {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* 按钮样式 */
.btn-outline-light {
    border: 1.5px solid #ffffffcc;
    background: transparent;
    padding: 10px 24px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-light:hover {
    background: white;
    color: #145c2e;
    border-color: white;
}

.btn-primary {
    background: #1c8b3c;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(28, 139, 60, 0.3);
    border: none;
}

.btn-primary:hover {
    background: #0f6a2f;
    transform: translateY(-2px);
}

/* Hero 区 */
.hero {
    background: linear-gradient(135deg, #0c4120 0%, #1b7640 100%);
    color: white;
    padding: 100px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "🌱";
    font-size: 280px;
    opacity: 0.05;
    position: absolute;
    bottom: -40px;
    right: -30px;
    pointer-events: none;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-content {
    /* flex: 1.2; */
}

.hero-badge {
    background: rgba(255, 255, 240, 0.2);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
}

.stat-item p:first-child {
    font-size: 2rem;
    font-weight: 800;
}

.ytng-car {
    flex: 0.8;
    text-align: center;
}

/* .ytng-car img {
            width: 100%;
            max-width: 2000px;
            height: auto;
            object-fit: contain;
        } */

@media (max-width: 760px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* 卡片通用 */
.card {
    background: white;
    border-radius: 32px;
    padding: 32px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eaf4e4;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(32, 88, 32, 0.1);
}

/* 网格布局 */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* .grid-2  .fas{
            margin-right: 10px;
        } */

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* 技术指标特殊标签 */
.tech-metric {
    background: #eef5e9;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.big-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e6b3b;
}

/* 案例图片占位示意 */
.case-img {
    background: linear-gradient(145deg, #cfe3cf, #b1d0b1);
    border-radius: 8px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b5e2b;
    font-size: 3rem;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer {
    background: #0a2a14;
    color: #c0e0c0;
    padding: 48px 0 24px;
}

.copyright {
    text-align: center;
    padding-top: 0.4rem;
    font-size: 0.9rem;
    /* color: #6c7a91; */
}

.copyright a {
    color: #c0e0c0;
}

/* 动画 */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 其他细节 */
.icon-lg {
    font-size: 2.5rem;
    color: #238b45;
    margin-bottom: 20px;
}

.badge-light {
    background: #eef2e6;
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #206d38;
    display: inline-block;
    margin-top: 12px;
}

hr {
    margin: 20px 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9bc49b, transparent);
}

/* ========= 回到顶部按钮样式 ========= */
.go-top {
    position: fixed;
    bottom: 30px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: #1e6b3b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    border: none;
    backdrop-filter: blur(2px);
}

.go-top:hover {
    background: #0f562e;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 107, 59, 0.4);
}

.go-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 640px) {
    .go-top {
        bottom: 20px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}