/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* 全局主题色变量 严格匹配原图配色 */
:root {
    --primary-green: #869F48;
    --dark-green: #5B7030;
    --light-green: #E8F0D6;
    --text-black: #191919;
    --text-gray: #6E6E6E;
    --bg-light-gray: #F6F6F6;
    --white: #ffffff;
    --dark-bg: #212121;
}

/* 通用容器 */
.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

/* 板块标题通用样式 */
.section-title {
    font-size: 24px;
    color: var(--text-black);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}
.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: var(--primary-green);
    margin: 12px auto 0;
}

/* 按钮通用 */
.btn {
    display: inline-block;
    padding: 11px 26px;
    text-decoration: none;
    border: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 主绿色按钮 */
.primary-btn {
    background-color: var(--primary-green);
    color: var(--white);
}
.primary-btn:hover {
    background-color: var(--dark-green);
}

/* 白色边框按钮 */
.secondary-btn {
    background: transparent;
    color: var(--text-black);
    border: 2px solid var(--text-black);
    margin-left: 14px;
}
.secondary-btn:hover {
    background: var(--text-black);
    color: var(--white);
}

/* 产品卡片小按钮 */
.learn-more-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 18px;
    font-size: 13px;
}
.learn-more-btn:hover {
    background: var(--dark-green);
}

/* 顶部导航栏 */
.header {
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    height: 58px;
}
.logo-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-black);
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}
.nav-list li a {
    text-decoration: none;
    color: var(--text-black);
    font-size: 14px;
    font-weight: 500;
}
.nav-list li a.active {
    color: var(--primary-green);
}
.nav-list li a:hover {
    color: var(--primary-green);
}
/* 下拉菜单 */
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: var(--white);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    list-style: none;
    padding: 12px 0;
    display: none;
}
.dropdown-menu li {
    padding: 8px 20px;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
/* 右上角报价按钮 */
.quote-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 22px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 24px;
}
.quote-btn:hover {
    background: var(--dark-green);
}
/* 移动端汉堡按钮 */
.hamburger {
    display: none;
    border: none;
    background: transparent;
    font-size: 22px;
    color: var(--text-black);
}




/* 页脚 */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 50px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h3 {
    font-size: 16px;
    padding-bottom: 10px;
    margin-bottom: 18px;
    position: relative;
}
.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background: var(--primary-green);
}
.footer-col p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 18px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
}
.footer-col ul li a:hover {
    color: var(--primary-green);
}
.social-icons {
    display: flex;
    gap: 12px;
}
.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
}
.social-icons a:hover {
    background: var(--primary-green);
}
.contact-col li {
    display: flex;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 12px;
    opacity: 0.85;
}
.contact-col li i {
    color: var(--primary-green);
    margin-top: 2px;
}
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}
.copyright p {
    font-size: 12px;
    opacity: 0.7;
}





















/* 定制解决方案栏 */
.custom-solution-bar {
    background: var(--primary-green);
    padding: 30px 0;
    color: var(--white);
}
.solution-bar-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}
.solution-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.solution-subtitle {
    font-size: 14px;
    opacity: 0.9;
}
.solution-benefits {
    display: flex;
    gap: 30px;
    justify-content: center;
}
.solution-benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.solution-benefit-item i {
    font-size: 18px;
}
.send-inquiry-btn {
    background: var(--white);
    color: var(--primary-green);
    padding: 12px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
}
.send-inquiry-btn:hover {
    background: var(--black);
    color: var(--white);
}
















/* 响应式 - 平板768px */
@media screen and (max-width:768px) {
    .hamburger {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 30px 20px;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .header-quote {
        display: none;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
    }
    .hero-stats {
        justify-content: center;
    }
    .products-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .apps-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .advantages-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .tech-factory-grid {
        grid-template-columns: 1fr;
    }
    .quote-container {
        grid-template-columns: 1fr;
    }
    .quote-form {
        grid-template-columns: 1fr;
    }
    .submit-btn {
        grid-column: 1/-1;
    }
    .blog-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

/* 响应式 - 手机480px */
@media screen and (max-width:480px) {
    .hero-content h1 {
        font-size: 30px;
    }
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    .products-grid,
    .apps-grid,
    .projects-grid,
    .advantages-grid,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
