* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 导航 - 优化配色更明快 */
nav {
    background: #165DFF;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(22, 93, 255, 0.15);
}
.nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.logo {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    line-height: 60px;
}

/* 一级菜单 */
.menu {
    display: flex;
    list-style: none;
}
.menu li {
    position: relative;
}
.menu li a {
    color: #fff;
    text-decoration: none;
    line-height: 60px;
    padding: 0 15px;
    display: block;
    font-size: 14px;
    transition: all 0.3s;
}
.menu li a:hover {
    background: rgba(255,255,255,0.1);
    color: #E8F3FF;
}

/* 二级下拉菜单样式 */
.menu li .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.15);
    border-radius: 4px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}
.menu li .submenu li {
    border-bottom: 1px solid #F0F7FF;
}
.menu li .submenu li:last-child {
    border-bottom: none;
}
.menu li .submenu li a {
    color: #333;
    line-height: 45px;
    padding: 0 20px;
    font-size: 14px;
}
.menu li .submenu li a:hover {
    background: #F8FBFF;
    color: #165DFF;
}
.menu li:hover .submenu {
    display: block;
}

/* 导航项有下拉菜单的样式标识 */
.has-submenu > a {
    display: flex;
    align-items: center;
}
.has-submenu > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}
.menu li:hover .has-submenu > a::after {
    transform: rotate(180deg);
}

/* banner - 优化亮度和对比度 */
.banner {
/*    height: 450px;*/
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)), center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C3E50;
    text-align: center;
/*    padding: 0 20px;*/
    position: relative;
}
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 1;
}
.banner > div {
    position: relative;
    z-index: 2;
}



.banner-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.6s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .banner-slide.active {
        opacity: 1;
        z-index: 1;
    }

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px 18px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
}

    .banner-arrow.left {
        left: 30px;
    }

    .banner-arrow.right {
        right: 30px;
    }

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

    .banner-dots .dot {
        width: 12px;
        height: 12px;
        background: #fff;
        opacity: 0.5;
        border-radius: 50%;
        display: inline-block;
        cursor: pointer;
    }

        .banner-dots .dot.active {
            opacity: 1;
            background: #0078ff;
        }






/* 通用区域 - 优化间距，减小板块尺寸 */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
}
.section h2 {
    text-align: center;
    font-size: 28px;
    color: #165DFF;
    margin-bottom: 30px;
    position: relative;
    font-weight: 700;
}
.section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #4080FF;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 浅色背景区块 */
.light-bg {
    background: #F8FBFF;
}

/* 产品分类样式 */
.product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.product-tab {
    padding: 10px 20px;
    background: #F8FBFF;
    border: 1px solid #E8F3FF;
    border-radius: 6px;
    color: #165DFF;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    font-weight: 500;
}
.product-tab.active {
    background: #165DFF;
    color: #fff;
    border-color: #165DFF;
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.2);
}
.product-tab:hover:not(.active) {
    background: #E8F3FF;
    border-color: #4080FF;
}

/* 产品展示 */
.product-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.product-item {
    border: 1px solid #E8F3FF;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    background: #fff;
    display: none;
    text-align:center;
}
.product-item.all {
    display: block;
}
.product-item.industrial, .product-item.office, .product-item.iot, .product-item.ai {
    display: none;
}
.tab-active-all .product-item.all { display: block; }
.tab-active-industrial .product-item.industrial { display: block; }
.tab-active-office .product-item.office { display: block; }
.tab-active-iot .product-item.iot { display: block; }
.tab-active-ai .product-item.ai { display: block; }

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(22, 93, 255, 0.12);
    border-color: #165DFF;
}
.product-item img {
/*    width: 100%;
    height: 180px;*/
    object-fit: cover;
    border-bottom: 1px solid #E8F3FF;
}
.product-info {
    padding: 18px;
}
.product-info h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: #165DFF;
    font-weight: 600;
}
.product-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
}
.product-price {
    color: #FF4D4F;
    font-weight: bold;
    font-size: 17px;
}

/* 荣誉资质 */
.honor-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}
.honor-item {
    text-align: center;
    width: 220px;
    transition: all 0.3s;
    padding: 15px;
    border-radius: 8px;
}
.honor-item:hover {
    background: #F0F7FF;
    transform: translateY(-5px);
}
.honor-item img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 12px;
    border: 2px solid #E8F3FF;
    object-fit: cover;
}
.honor-item p {
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

/* 解决方案 */
.solution-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}
.solution-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(22, 93, 255, 0.08);
    border: 1px solid #E8F3FF;
    transition: all 0.3s;
}
.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(22, 93, 255, 0.12);
    border-color: #165DFF;
}
.solution-item h3 {
    color: #165DFF;
    font-size: 19px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 600;
}
.solution-item h3 i {
    color: #165DFF;
    margin-right: 10px;
    font-size: 22px;
}
.solution-item p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 14px;
}
.solution-item a {
    color: #165DFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}
.solution-item a:hover {
    color: #0D51E8;
    margin-left: 5px;
}

/* 企业资讯 */
.news-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}
.news-item {
    border: 1px solid #E8F3FF;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    background: #fff;
}
.news-item:hover {
    box-shadow: 0 8px 24px rgba(22, 93, 255, 0.12);
    transform: translateY(-5px);
    border-color: #165DFF;
}
.news-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid #E8F3FF;
}
.news-content {
    padding: 18px;
}
.news-date {
    color: #888;
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}
.news-item h3 {
    font-size: 17px;
    color: #165DFF;
    margin-bottom: 10px;
    font-weight: 600;
}
.news-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.news-more {
    color: #165DFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.news-more:hover {
    color: #0D51E8;
}

/* 公司简介 */
.about-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.about-img {
    flex: 1;
    min-width: 300px;
}
.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.12);
    border: 3px solid #F0F7FF;
}
.about-text {
    flex: 2;
    min-width: 300px;
}
.about-text p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 15px;
}

/* 联系我们板块 */
.contact-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #F8FBFF;
}
.contact-section h2 {
    text-align: center;
    font-size: 28px;
    color: #165DFF;
    margin-bottom: 30px;
    position: relative;
    font-weight: 700;
}
.contact-section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #4080FF;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.contact-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}
.wechat-qrcode {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.wechat-qrcode img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.15);
    border: 3px solid #fff;
}
.wechat-qrcode p {
    margin-top: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}
.contact-divider {
    width: 1px;
    background: #E8F3FF;
    margin: 0 30px;
}
.contact-info {
    flex: 1;
    min-width: 280px;
}
.contact-info p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
}
.contact-info p i {
    color: #165DFF;
    font-size: 24px;
    margin-right: 15px;
    margin-top: 3px;
}

/* 页脚 */
footer {
    background: #165DFF;
    color: #fff;
    text-align: center;
    padding: 40px 20px 20px;
    font-size: 14px;
    margin-top: 20px;
}
.copyright {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* 面包屑 */
.bread {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    font-size: 14px;
    color: #666;
}
.bread a {
    color: #666;
    text-decoration: none;
}
.bread a:hover {
    color: #165DFF;
}

/* 页面标题 */
.page-title {
    text-align: center;
    padding: 30px 20px 40px;
    font-size: 28px;
    color: #165DFF;
    font-weight: bold;
}

/* 页面标题 */
.page-title {
    text-align: center;
    padding: 30px 20px 40px;
    font-size: 28px;
    color: #165DFF;
    font-weight: bold;
}

/* 资讯详情页面样式 */
.news-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 80px;
}
.news-detail h1 {
    font-size: 26px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}
.news-detail .info {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}
.news-detail .content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}
.news-detail .content p {
    margin-bottom: 20px;
}

/* 产品列表页面样式 */
.product-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.product-card {
    border: 1px solid #e8f3ff;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(22,93,255,0.1);
}
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.product-card .product-info {
    padding: 20px;
}
.product-card .product-info h3 {
    font-size: 18px;
    color: #165DFF;
    margin-bottom: 10px;
}
.product-card .product-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}
.product-card .product-info .product-price {
    color: #ff4d4f;
    font-weight: bold;
    margin-bottom: 15px;
}
.product-card .product-info a {
    display: inline-block;
    padding: 8px 16px;
    background: #165DFF;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

/* 产品详情页面样式 */
.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.product-detail .product-img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8f3ff;
}
.product-detail .product-img img {
    width: 100%;
    display: block;
}
.product-detail .product-content h1 {
    font-size: 26px;
    color: #165DFF;
    margin-bottom: 20px;
}
.product-detail .product-content .price {
    font-size: 24px;
    color: #ff4d4f;
    font-weight: bold;
    margin-bottom: 20px;
}
.product-detail .product-content .desc {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}
.product-detail .product-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #165DFF;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
}

/* 资讯列表页面样式 */
.news-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.news-list .news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}
.news-list .news-item img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
}
.news-list .news-item .news-text {
    flex: 1;
}
.news-list .news-item .news-text h3 {
    font-size: 18px;
    color: #165DFF;
    margin-bottom: 10px;
}
.news-list .news-item .news-text h3 a {
    color: inherit;
    text-decoration: none;
}
.news-list .news-item .news-text .date {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}
.news-list .news-item .news-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 30px;
    }
    .section {
        padding: 40px 20px;
    }
    .section h2 {
        font-size: 24px;
    }
    .about-wrap {
        gap: 25px;
    }
    .honor-item img {
        width: 180px;
        height: 180px;
    }
    .contact-wrap {
        gap: 30px;
    }
    .contact-section {
        padding: 40px 20px;
    }
    .menu {
        display: none;
    }
    .product-tabs {
        gap: 8px;
    }
    .product-tab {
        padding: 8px 15px;
        font-size: 14px;
    }
    .banner {
        height: 350px;
    }
    
    /* 产品列表页面响应式 */
    .product-list {
        grid-template-columns: 1fr;
    }
    
    /* 产品详情页面响应式 */
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    /* 资讯列表页面响应式 */
    .news-list .news-item {
        flex-direction: column;
    }
    .news-list .news-item img {
        width: 100%;
    }
}
