/* 首页样式 */
body {
    background: #fff;
}

.main-content {
    margin-top: 80px;
    background: #fff;
}

/* Banner区域样式 */
.bannerbox {
    position: relative;


    overflow: hidden;
}

.bannerbox .swiper-slide {
    position: relative;
}

.bannerbox .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 180px;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 2;
    padding-left: 80px;
    transform: translateY(-50%);
    box-sizing: border-box;
}

.banner-text {
    text-align: left;
    color: #333;
    max-width: 800px;
    padding: 0 20px;
}

.banner-title {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #414B52;
}

.banner-subtitle {
    font-size: 28px;
    
    color: #6E7479;
    line-height: 1.6;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #6E7479;
    padding: 8px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: none;
    border: 1px solid #6E7479;
    white-space: nowrap;
}

.banner-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #414B52;
}

.btn-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
    line-height: 1;
}

.banner-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* Banner导航按钮样式 */
.bannerbox .swiper-button-next,
.bannerbox .swiper-button-prev {
    background: transparent;
    border: none;
    width: 33px;
    height: 57px;
    margin-top: -28.5px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1 !important;
}

.bannerbox .swiper-button-next:after,
.bannerbox .swiper-button-prev:after {
    display: none;
}

.banner-nav-icon {
    width: 33px;
    height: 57px;
    object-fit: contain;
}

.bannerbox .swiper-button-next:hover,
.bannerbox .swiper-button-prev:hover {
    transform: scale(1.05);
}

.bannerbox .swiper-button-next {
    right: 80px;
}

.bannerbox .swiper-button-prev {
    left: 80px;
}

/* 通用容器 */
.container {
    max-width: 70%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 通用区域样式 */
.product-section {
    padding: 88px 0 88px 0;
    background: #F9F9F9;
}

.service-section {
    padding: 88px 0;
    background: #fff;
}

/* 区域标题 */
.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #0F0F0F;

    margin-bottom: 50px;
    position: relative;
}

/* 产品中心标题没有红色下划线 */
.product-section .section-title::after {
    display: none;
}



/* 产品中心区域 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-nav {
    display: flex;
    gap: 10px;
}

.product-prev,
.product-next {
    background: #E7E7E7;
    border: none;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
    position: relative;
}

.product-prev:hover,
.product-next:hover,
.product-prev.active,
.product-next.active {
    background: #e6212a;
}

.product-arrow {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: none;
}
.company-desc p{
    margin: 0;
}

.product-arrow-selected {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 默认状态：显示wei.png */
.product-prev .product-arrow:first-child,
.product-next .product-arrow:first-child {
    display: block;
}

.product-prev .product-arrow-selected,
.product-next .product-arrow-selected {
    display: none;
}

/* 选中/悬停状态：显示xuan.png */
.product-prev:hover .product-arrow:first-child,
.product-next:hover .product-arrow:first-child,
.product-prev.active .product-arrow:first-child,
.product-next.active .product-arrow:first-child {
    display: none;
}

.product-prev:hover .product-arrow-selected,
.product-next:hover .product-arrow-selected,
.product-prev.active .product-arrow-selected,
.product-next.active .product-arrow-selected {
    display: block !important;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: visible;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: none;
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 380px;
    margin: 0 auto;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 90%;
    max-width: 340px;
    min-height: 270px;
    margin: 20px auto 0;
    overflow: hidden;
    border-radius: 10px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.product-text {
    flex: 1;
    text-align: left;
}

.product-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.product-desc {
    color: #808184;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 16px;
}

.product-btn {
    display: inline-block;
    background: #30318b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    transition: none;
    cursor: pointer;
    flex-shrink: 0;
}

.product-btn:hover {
    background: #25266b;
    transform: translateY(-2px);
}

/* 技术服务区域 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    margin-bottom: 20px;
}

.service-card {
    border-radius: 15px;
    overflow: hidden;
    transition: none;
}

.service-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

/* 中心科技图标 */
.service-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.tech-icon {
    background: #f9f9f9;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
}

.center-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* 服务描述文字 */
.service-description {
    text-align: center;
    margin-top: 30px;
}

.service-description p {
    color: #484848;
    line-height: 1.8;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .banner-title {
        font-size: 40px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .banner-btn {
        padding: 8px 22px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .banner-content {
        left: 20px;
        padding-left: 20px;
        width: calc(100% - 40px);
    }
    
    .banner-text {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .banner-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .banner-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .banner-btn {
        padding: 10px 20px;
        font-size: 14px;
        gap: 6px;
    }
    
    .btn-arrow {
        font-size: 14px;
    }
    
    .bannerbox .swiper-button-next,
    .bannerbox .swiper-button-prev {
        width: 24px;
        height: 40px;
        margin-top: -20px;
        display: flex !important;
        opacity: 1 !important;
    }
    
    .banner-nav-icon {
        width: 24px;
        height: 40px;
    }
    
    .bannerbox .swiper-button-next {
        right: 10px;
    }
    
    .bannerbox .swiper-button-prev {
        left: 10px;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .banner-content {
        left: 10px;
        padding-left: 10px;
        width: calc(100% - 20px);
    }
    
    .banner-text {
        max-width: 100%;
        padding: 0 5px;
    }
    
    .banner-title {
        font-size: 22px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .banner-subtitle {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .banner-btn {
        padding: 8px 16px;
        font-size: 13px;
        gap: 4px;
    }
    
    .btn-arrow {
        font-size: 12px;
    }
    
    .bannerbox .swiper-button-next,
    .bannerbox .swiper-button-prev {
        width: 20px;
        height: 32px;
        margin-top: -16px;
    }
    
    .banner-nav-icon {
        width: 20px;
        height: 32px;
    }
    
    .bannerbox .swiper-button-next {
        right: 5px;
    }
    
    .bannerbox .swiper-button-prev {
        left: 5px;
    }
    
    .container {
        max-width: 100%;
        padding: 0 12px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 85%;
        padding: 0 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .product-card {
        width: 100%;
        max-width: 100%;
        height: 360px;
    }
    
    .product-image {
        width: 90%;
        max-width: 100%;
        min-height: 240px;
    }
    
    .service-grid {
        gap: 30px;
    }
}

@media (max-width: 996px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-card {
        height: 340px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}



@media (max-width: 768px) {
    .main-content {
        margin-top: 70px;
    }
    
    .product-section,
    .service-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 0px;
        align-items: center;
        text-align: center;
    }
    
    .product-nav {
        display: none !important;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        justify-items: center;
    }
    
    .product-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 300px;
    }
    
    .product-image {
        width: 100%;
        max-width: 100%;
        min-height: 200px;
        margin: 0px auto 0;
    }
    
    .product-info {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .product-name {
        font-size: 20px;
    }
    
    .product-desc {
        font-size: 14px;
    }
    
    .product-btn {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
    }
    
    .service-grid {
        margin-top: 0px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-text {
        padding: 15px;
    }
    
    .service-desc {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .tech-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .product-section,
    .service-section {
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .section-header {
        gap: 0px;
    }
    
    .product-nav {
        display: none !important;
    }
    
    .product-grid {
        gap: 20px;
    }
    
    .product-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 280px;
    }
    
    .product-image {
        width: 100%;
        max-width: 100%;
        min-height: 180px;
        margin: 0px auto 0;
    }
    
    .product-info {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .product-name {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .product-desc {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .product-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .service-grid {
        gap: 15px;
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-text {
        padding: 12px;
    }
    
    .service-desc {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }