/* reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fefefe;
    color: #1e2a3e;
    line-height: 1.5;
    scroll-behavior: smooth;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
/* header 导航 */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border-bottom: 1px solid #f0f0f0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-img {
    height: 36px;
    width: auto;
}
.logo-text {
    font-weight: 600;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #2b6e4f, #1e5941);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-link {
    text-decoration: none;
    font-weight: 500;
    color: #2c3e4e;
    transition: color 0.2s;
}
.nav-link:hover {
    color: #2b6e4f;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #2c3e4e;
    transition: 0.2s;
}
/* Hero */
.hero {
    background: linear-gradient(145deg, #e6f4ef 0%, #ffffff 100%);
    padding: 80px 0 100px;
    text-align: center;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1b4d3e;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 32px;
    color: #2c4e3c;
}
.hero p span {
    background: #fcee9f;
    padding: 0 6px;
    font-weight: 600;
}
.btn-primary {
    display: inline-block;
    background-color: #2b6e4f;
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: #1e5941;
    transform: translateY(-2px);
}
/* Modal 弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: white;
    padding: 32px 24px 40px;
    border-radius: 32px;
    text-align: center;
    max-width: 320px;
    width: 85%;
    position: relative;
    animation: fadeInUp 0.3s;
}
.close {
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}
.close:hover {
    color: #333;
}
.modal-qrcode img {
    width: 200px;
    height: 200px;
    margin: 16px 0;
    border-radius: 16px;
}
.modal-text {
    font-size: 1rem;
    color: #2b6e4f;
    font-weight: 500;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 通用section */
.section {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: 2.2rem;
    color: #1f3d34;
    margin-bottom: 12px;
}
.underline {
    width: 70px;
    height: 3px;
    background: #2b6e4f;
    margin: 0 auto 24px;
    border-radius: 3px;
}
/* about */
.about-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.about-text {
    flex: 2;
}
.about-text h3 {
    margin: 24px 0 12px 0;
    color: #2b6e4f;
}
.about-text ul {
    padding-left: 24px;
}
.about-text li {
    margin: 12px 0;
}
.about-stats {
    flex: 1;
    background: #f1f8f4;
    border-radius: 32px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: center;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2b6e4f;
}
/* 场景网格 */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.scenario-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #eef2ef;
}
.scenario-card strong {
    color: #2b6e4f;
    display: block;
    margin-bottom: 6px;
}
/* 用户心声网格 (桌面4列) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.testimonial-item {
    background: #ffffff;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid #e7f0eb;
    transition: 0.2s;
}
.testimonial-item:hover {
    transform: translateY(-4px);
}
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2a3e35;
    margin-bottom: 20px;
    position: relative;
    padding-left: 12px;
    border-left: 3px solid #c0decb;
}
.testimonial-author {
    font-weight: 600;
    color: #2b6e4f;
    text-align: right;
    margin-top: 12px;
}
/* 联系我们 */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: #f9fcf9;
    border-radius: 48px;
    padding: 40px 32px;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}
.contact-info {
    flex: 2;
}
.contact-item {
    margin-bottom: 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-qrcode {
    flex: 1;
    text-align: center;
    background: white;
    border-radius: 28px;
    padding: 20px;
}
.qrcode-img img {
    width: 160px;
    height: 160px;
    margin-bottom: 12px;
    border-radius: 16px;
}
/* 页脚 */
.footer {
    background: #15382e;
    color: #d6e6df;
    padding: 32px 0;
    text-align: center;
    font-size: 0.85rem;
}
/* 响应式 */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .header-container {
        height: 64px;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background-color: #ffffff;   /* 添加白色背景，解决透明问题 */
        width: 70%;
        /*height: calc(100% - 64px);*/
		height:260px;
        box-shadow: 2px 0 12px rgba(0,0,0,0.15);
        padding: 32px 24px;
        gap: 28px;
        transition: left 0.3s;
        z-index: 99;
        overflow-y: auto;            /* 防止菜单内容过多时滚动异常 */
    }
    .nav-menu.active {
        left: 0;
    }
    .hamburger {
        display: flex;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .about-grid {
        flex-direction: column;
    }
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .contact-item {
        justify-content: center;
    }
}