/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #00b38a;
}

/* 通用样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    display: inline-block;
    background-color: #00b38a;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #009975;
    color: white;
}

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: #00b38a;
    border: 1px solid #00b38a;
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f0faf7;
}

section {
    padding: 60px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #333;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #00b38a;
    margin: 15px auto 0;
}

/* 头部导航 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #333;
    left: 0;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

/* 横幅区域 */
.banner {
    background-color: #e6fbf6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
}

.banner-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.banner h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.banner p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.banner-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

/* 产品优势 */
.advantages {
    background-color: white;
}

.advantages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.advantage-item {
    text-align: center;
    max-width: 200px;
    padding: 20px;
}

.advantage-item img {
    margin: 0 auto 15px;
}

.advantage-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
}

/* 系统功能 */
.systems {
    text-align: center; /* 使标题下方内容整体居中 */
    padding: 40px 20px;
}

.systems-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 子元素水平居中 */
    gap: 30px; /* 元素间间距 */
    margin-top: 30px;
    max-width: 1200px; /* 限制最大宽度，避免过宽 */
    margin-left: auto;
    margin-right: auto; /* 容器水平居中 */
}

.system-item {
    flex: 0 0 calc(50% - 30px); /* 每行显示2个（响应式） */
    max-width: 300px; /* 固定最大宽度 */
    text-align: left; /* 内容内部左对齐更易读 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .system-item {
        flex: 0 0 100%; /* 移动端每行显示1个 */
        max-width: 100%;
    }
}

.system-item h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
}

.system-item p {
    padding: 0 20px 20px;
    color: #666;
}

.learn-more {
    display: inline-block;
    padding: 0 20px 20px;
    color: #00b38a;
    font-weight: 500;
}

/* 应用场景 */
.scenes {
    background-color: white;
}

.scenes-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.scene-item {
    text-align: center;
}

.scene-item img {
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 5px solid #f0f0f0;
}

.scene-item h3 {
    font-size: 18px;
}

/* 成功案例 */
.cases {
    background-color: #f9f9f9;
}

.cases-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.case-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
    width: 100%;
}

.case-item img {
    flex: 1;
    min-width: 200px;
    object-fit: cover;
}

.case-info {
    flex: 2;
    min-width: 250px;
    padding: 20px;
}

.case-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.case-info p {
    color: #666;
    font-size: 14px;
}

/* 联系我们 */
.contact {
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.info-item p {
    color: #666;
}

.info-item img {
    margin-top: 10px;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo img {
    height: 30px;
    margin: 0 auto 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 14px;
    color: #999;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00b38a;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .banner h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .case-item {
        flex-direction: column;
    }
    
    .case-item img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .banner-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .advantages-list {
        gap: 20px;
    }
    
    .advantage-item {
        max-width: 150px;
    }
}