/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}
body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.nav {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #165DFF;
    text-decoration: none;
}
.logo-image {
    height: 48px;
    margin-right: 9px;
    vertical-align: middle;
}
.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #165DFF;
}
.nav-list {
    display: flex;
    list-style: none;
}
.nav-list li {
    margin-left: 40px;
    position: relative; /* 为二级菜单定位做准备 */
}
.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    display: block; /* 扩大点击区域 */
    padding: 5px 0;
}
.nav-list a:hover {
    color: #165DFF;
}

/* 二级菜单样式 */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 180px;
    z-index: 1000;
}
.submenu li {
    margin: 0;
    padding: 0 20px;
}
.submenu li a {
    padding: 8px 0;
    color: #666;
    font-size: 15px;
}
.submenu li a:hover {
    color: #165DFF;
    background-color: #f5f7fa;
}

/* hover显示二级菜单 */
.nav-list li:hover .submenu {
    display: block;
}

.consult-btn {
    background-color: #165DFF;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.consult-btn:hover {
    background-color: #0E42D2;
}

/* 移动端汉堡菜单样式 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 10px;
}
.mobile-nav {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 998;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.mobile-nav.active {
    max-height: 500px;
}
.mobile-nav-list {
    list-style: none;
    padding: 20px;
}
.mobile-nav-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.mobile-nav-list li:last-child {
    border-bottom: none;
}
.mobile-nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: block;
}
.mobile-submenu {
    margin-top: 10px;
    padding-left: 20px;
    display: none;
}
.mobile-submenu.active {
    display: block;
}
.mobile-submenu li {
    margin-bottom: 8px;
    border-bottom: none;
    padding-bottom: 0;
}
.mobile-submenu a {
    color: #666;
    font-size: 14px;
}
.mobile-menu-toggle {
    display: inline-block;
    float: right;
    transition: transform 0.3s;
}
.mobile-menu-toggle.active {
    transform: rotate(180deg);
}

/* Banner样式 */
.banner {
    height: 500px;
    background: url("../images/banner.png") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
}
.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.banner-content {
    position: relative;
    z-index: 1;
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.banner p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
}
.banner-btn {
    display: inline-block;
    background-color: #165DFF;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 18px;
    margin-right: 20px;
    transition: background-color 0.3s;
}
.banner-btn:hover {
    background-color: #0E42D2;
}

/* 板块通用样式 */
.section {
    padding: 80px 0;
}
.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #165DFF;
}

/* 核心业务样式 */
.business {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.business-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.business-item h3 {
    color: #165DFF;
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.business-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #165DFF;
}
.business-item p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}
.business-item p strong {
    color: #333;
}

/* 产品中心样式 */
.product {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.product-system {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-system:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.product-system h3 {
    color: #165DFF;
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.product-system h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #165DFF;
}
.product-system p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 解决方案样式 */
.solution {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.solution-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.solution-item h3 {
    color: #165DFF;
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.solution-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #165DFF;
}
.solution-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 关于我们样式 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.about-item h3 {
    color: #165DFF;
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.about-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #165DFF;
}
.about-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}
.about-item ul {
    list-style: none;
    padding: 0;
}
.about-item ul li {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}
.about-item ul li::before {
    content: "•";
    color: #165DFF;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -5px;
}

/* 联系我们样式 */
.contact {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}
.contact-info {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.contact-info h3 {
    color: #165DFF;
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #165DFF;
}
.contact-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}
.contact-info p strong {
    color: #333;
}

/* 产品中心表格样式 */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}
.product-table th, .product-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.product-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
}
.product-table tr:hover {
    background-color: #f8f9fa;
}
.product-table td:first-child {
    font-weight: 500;
    color: #165DFF;
}

/* 成功案例样式 */
.case-share {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.case-share h3 {
    color: #165DFF;
    font-size: 20px;
    margin-bottom: 20px;
}
.case-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}
.case-content p strong {
    color: #333;
}
.case-effect {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
.case-effect li {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

/* 核心优势与技术亮点样式 */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.advantage-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.advantage-item h3 {
    color: #165DFF;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}
.advantage-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #165DFF;
}
.advantage-item p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 合作与认证样式 */
.case-study {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.case-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.case-item h3 {
    color: #165DFF;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}
.case-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #165DFF;
}
.case-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}
.case-effect li::before {
    content: "•";
    color: #165DFF;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -5px;
}

/* 按钮样式 */
.submit-btn {
    background-color: #165DFF;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}
.submit-btn:hover {
    background-color: #0e4bda;
}
.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 产品页面样式 */
.image-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.image-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.image-item h3 {
    color: #165DFF;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}
.image-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #165DFF;
}
.image-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}
.advantage-list {
    list-style: none;
    padding-left: 0;
}
.advantage-list li {
    color: #333;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}
.advantage-list li:before {
    content: "→";
    color: #165DFF;
    position: absolute;
    left: 0;
}

/* 解决方案介绍样式 */
.solution-intro {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.solution-intro p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 场景表格样式 */
.scene-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.scene-table th, .scene-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.scene-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
}
.scene-table tr:hover {
    background-color: #f8f9fa;
}
.scene-table td:first-child {
    font-weight: 500;
    color: #165DFF;
}

/* 联系我们表单样式 */
.contact-form {
    margin-top: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.form-group textarea {
    height: 120px;
    resize: none;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.footer-left {
    width: 33%; /* 原宽度的2/3 */
}
.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.footer-links {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
    margin-right: 30px;
}
.footer-link-group h4 {
    font-size: 16px;
    margin-bottom: 20px;
}
.footer-link-group ul {
    list-style: none;
}
.footer-link-group li {
    margin-bottom: 8px;
}
.footer-link-group a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}
.footer-link-group a:hover {
    color: #165DFF;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #ccc;
}

/* 导航栏容器样式 */
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 媒体查询 - 平板设备 */
@media (max-width: 992px) {
    /* 导航栏 */
    .nav-list {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
        order: 2; /* 在移动端将菜单按钮放在中间 */
    }
    .logo {
        order: 1; /* 在移动端将logo放在左边 */
    }
    .consult-btn {
        display: none; /* 在移动端隐藏导航栏中的在线咨询按钮 */
    }
    .banner h1 {
        font-size: 36px;
    }
    .banner p {
        font-size: 18px;
    }
    .banner-btn {
        font-size: 16px;
        padding: 10px 20px;
        margin-bottom: 10px;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    /* 核心业务 */
    .business {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 解决方案 */
    .solution {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 关于我们 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 联系我们 */
    .contact {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 页脚 - 平板设备调整 */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    .footer-left {
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
        margin-right: 0;
        justify-content: flex-start;
    }
}

/* 媒体查询 - 移动设备 */
@media (max-width: 768px) {
    /* 基本设置 */
    .container {
        width: 100%;
        max-width: none;
        padding: 0 15px;
    }
    /* 移动设备导航栏特殊处理 */
    .nav-content {
        padding: 10px 0;
    }
    .logo-image {
        height: 40px;
        margin-right: 8px;
    }
    .logo-text {
        font-size: 20px;
    }
    .mobile-menu-btn {
        font-size: 24px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    /* Banner */
    .banner {
        height: 400px;
    }
    .banner h1 {
        font-size: 30px;
    }
    .banner p {
        font-size: 16px;
    }
    
    /* 产品中心 - 表格优化 */
    .product-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* 联系我们地图 */
    .contact-info div {
        height: 200px;
    }
    
    /* 页脚 - 移动设备优化 */
    .footer {
        padding: 40px 0 20px;
    }
    .footer-content {
        text-align: center;
        flex-direction: column;
        gap: 0;
    }
    .footer-left {
        width: 100%;
        margin-bottom: 30px;
    }
    .footer-links {
        width: 100%;
        flex-direction: column;
        gap: 20px;
        margin-right: 0;
        justify-content: flex-start;
    }
}

/* 媒体查询 - 小屏幕手机 */
@media (max-width: 480px) {
    /* Banner */
    .banner {
        height: 300px;
    }
    .banner h1 {
        font-size: 24px;
    }
    .banner p {
        font-size: 14px;
    }
    
    /* 通用内容样式 */
    .business-item, .solution-item, .product-system {
        padding: 20px;
    }
    .business-item h3, .solution-item h3, .about-item h3, .product-system h3 {
        font-size: 20px;
    }
    
    /* 联系表单 */
    .contact-form {
        padding: 20px;
    }
}