/* ==============================
   Home Banner
================================= */

.home-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
margin-top: -30px;
}

.home-banner-carousel {
    width: 100%;
}

.home-banner-item {
    position: relative;
    width: 100%;
    min-height: 720px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.home-banner-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 12, 28, .78) 0%, rgba(4, 12, 28, .48) 42%, rgba(4, 12, 28, .12) 100%);
    z-index: 1;
}

.home-banner-info {
    position: relative;
    z-index: 2;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    box-sizing: border-box;
}

.home-banner-info h1 {
    margin: 0;
    color: #fff;
    font-size: 46px;
    line-height: 1.2;
}


.home-banner-info p {
    max-width: 620px;
    margin: 34px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 30px;
    letter-spacing: .4px;
}

.home-banner-btn {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 54px;
    height: 58px;
    padding: 0 30px 0 5px;
    background: #fff;
    border-radius: 999px;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.home-banner-btn i {
    width: 48px;
    height: 48px;
    margin-right: 14px;
    border-radius: 50%;
    background: #0035cd;
    color: #fff;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    transition: all .3s ease;
}

.home-banner-btn span {
    letter-spacing: .5px;
}

.home-banner-btn:hover {
    background: #0035cd;
    color: #fff;
}

.home-banner-btn:hover i {
    background: #fff;
    color: #0035cd;
    transform: translateX(4px);
}

/* Owl dots */
.home-banner .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 42px;
    z-index: 5;
    text-align: center;
}

.home-banner .owl-dot {
    display: inline-block;
    width: 32px;
    height: 5px;
    margin: 0 6px;
    border-radius: 10px;
    background: rgba(255,255,255,.45) !important;
    transition: all .3s ease;
}

.home-banner .owl-dot.active {
    width: 62px;
    background: #fff !important;
}

/* 文字切换动画 */
.home-banner-info h1,
.home-banner-info p,
.home-banner-info .home-banner-btn {
    opacity: 0;
    transform: translateY(36px);
}

.home-banner-carousel .owl-item.active .home-banner-info h1 {
    animation: bannerTextUp .8s ease forwards;
}

.home-banner-carousel .owl-item.active .home-banner-info p {
    animation: bannerTextUp .8s ease .18s forwards;
}

.home-banner-carousel .owl-item.active .home-banner-info .home-banner-btn {
    animation: bannerTextUp .8s ease .36s forwards;
}

@keyframes bannerTextUp {
    0% {
        opacity: 0;
        transform: translateY(36px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.home-products{ padding: 40px 20px; background: #f5f5f7; border-radius: 30px; margin-top: 40px;}
/* ==============================
   Home Products
================================= */

.home-products {
    padding: 40px 20px;
    background: #f5f5f7;
    border-radius: 30px;
    margin-top: 40px;
    box-sizing: border-box;
}

.home-products-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: stretch;
}

/* 左侧文字 */
.home-products-text {
    padding: 10px 0 0;
}

.home-products-text h2 {
    margin: 0 0 28px;
    color: #1d1d1f;
    font-size: 28px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: 1px;
}

.home-products-text h2 strong {
    display: inline;
    font-weight: 800;
}

.home-products-text p {
    margin: 0 0 26px;
    color: #1f1f22;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: .3px;
}

.home-products-text p strong {
    font-weight: 800;
}

/* 右侧卡片 */
.home-products-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.home-products-feature {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 235px;
    padding: 25px 30px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: #222;
    box-sizing: border-box;
    transition: all .35s ease;
}

.home-products-feature:hover {
    background: #222e4d;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(34, 46, 77, .22);
}

.home-products-feature-info {
    position: relative;
    z-index: 2;
    width: 52%;
}

.home-products-feature-info h3 {
    margin: 0 0 20px;
    color: inherit;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1px;
}

.home-products-feature-info p {
    margin: 0 0 24px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    transition: all .35s ease;
}

.home-products-feature:hover .home-products-feature-info p {
    color: rgba(255,255,255,.78);
}

.home-products-feature-info span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 52px;
    padding: 0 26px;
    background: #222e4d;
    color: #fff;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: all .35s ease;
}

.home-products-feature:hover .home-products-feature-info span {
    background: #fff;
    color: #222e4d;
}

/* 右侧图片：垂直居中 */
.home-products-feature-img {
    position: absolute;
    right: 34px;
    top: 50%;
    bottom: auto;
    width: 42%;
    text-align: right;
    z-index: 1;
    transform: translateY(-50%);
}

.home-products-feature-img img {
    max-width: 100%;
    max-height: 175px;
    object-fit: contain;
    transition: all .35s ease;
}

.home-products-feature:hover .home-products-feature-img img {
    transform: scale(1.05) translateX(-6px);
}

/* 如果需要第一个默认深色，可以给第一个卡片加 active */
.home-products-feature.active {
    background: #222e4d;
    color: #fff;
}

.home-products-feature.active .home-products-feature-info p {
    color: rgba(255,255,255,.78);
}

.home-products-feature.active .home-products-feature-info span {
    background: #fff;
    color: #222e4d;
}


/* ==============================
   底部产品卡片
================================= */

.home-products-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.home-products-item {
    display: block;
    background: #fff;
    border: 1px solid #d8dce5;
    border-radius: 10px;
    overflow: hidden;
    color: #222;
    text-decoration: none;
    transition: all .3s ease;
}

.home-products-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(34,46,77,.14);
    border-color: transparent;
}

.home-products-item-img {
    position: relative;
    height: 140px;
    background: #fff;
    overflow: hidden;
}

.home-products-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
    transition: all .35s ease;
}

.home-products-item:hover .home-products-item-img img {
    transform: scale(1.06);
    opacity: .72;
}

.home-products-item-img em {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 44px;
    padding: 0 20px;
    background: #222e4d;
    color: #fff;
    border-radius: 999px;
    font-style: normal;
    font-size: 14px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.96);
    transition: all .35s ease;
    z-index: 2;
}

.home-products-item:hover .home-products-item-img em {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 产品标题：一行显示，字体小一点 */
.home-products-item h3 {
    margin: 0;
    padding: 12px 10px 13px;
    color: #222;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    text-align: center;
    border-top: 1px solid #e4e6ec;
    transition: all .3s ease;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-products-item:hover h3 {
    color: #222e4d;
}




/* ==============================
   Home Application
================================= */

.home-application {
    margin-top: 40px;
}

.home-application-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 36px;
}

.home-application-title h2 {
    margin: 0 0 14px;
    color: #1d1d1f;
    font-size: 2rem;
    line-height: 1.2;
}

.home-application-title p {
    margin: 0;
    color: #6b6b72;
    font-size: 16px;
    line-height: 1.7;
    max-width: 620px;
}

.home-application-desc p {
    margin: 0;
    color: #1d1d1f;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: .2px;
}

.home-application-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-application-item {
    display: block;
    background: #f5f5f7;
    border-radius: 18px;
    overflow: hidden;
    color: #222;
    text-decoration: none;
    transition: all .35s ease;
}

.home-application-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(34, 46, 77, .14);
}

.home-application-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #e9ebf0;
}

.home-application-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all .5s ease;
}

.home-application-item:hover .home-application-img img {
    transform: scale(1.06);
}

.home-application-info {
    padding: 22px 28px 30px;
    text-align: center;
}

.home-application-info h3 {
    margin: 0 0 14px;
    color: #1d1d1f;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.home-application-info p {
    min-height: 54px;
    margin: 0 auto 28px;
    color: #666a73;
    font-size: 15px;
    line-height: 1.6;
    max-width: 360px;
}

/* 默认：无颜色高亮、无线条 */
.home-application-info span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #222;
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
    padding-bottom: 10px;
    transition: all .3s ease;
}

.home-application-info span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #0035cd;
    transition: all .3s ease;
}

.home-application-info span i {
    font-size: 14px;
    transition: all .3s ease;
}

/* 鼠标经过卡片时：文字变蓝，线条出现 */
.home-application-item:hover .home-application-info span {
    color: #0035cd;
}

.home-application-item:hover .home-application-info span::after {
    width: 100%;
}

.home-application-item:hover .home-application-info span i {
    transform: translateX(5px);
}


/* ==============================
   Home Blog
================================= */

.home-blog {
    margin: 40px auto;
    padding: 30px;
    background: #F3F4F6;
    border-radius: 20px;
    box-sizing: border-box;
}

.home-blog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.home-blog-head h2 {
    margin: 0;
    color: #1d1d1f;
    font-size: 2rem;
    line-height: 1.25;
}

.home-blog-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 170px;
    height: 52px;
    padding: 0 28px;
    background: #222e4d;
    color: #fff;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s ease;
}

.home-blog-more i {
    font-size: 15px;
    transition: all .3s ease;
}

.home-blog-more:hover {
    background: #0035cd;
    color: #fff;
}

.home-blog-more:hover i {
    transform: translateX(5px);
}

.home-blog-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.home-blog-item {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    color: #222;
    text-decoration: none;
    transition: all .35s ease;
}

.home-blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(34, 46, 77, .14);
}

.home-blog-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e9ebf0;
}

.home-blog-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease;
}

.home-blog-item:hover .home-blog-img img {
    transform: scale(1.06);
}

.home-blog-info {
    padding: 22px 22px 24px;
}

.home-blog-info span {
    display: block;
    margin-bottom: 14px;
    color: #666a73;
    font-size: 15px;
    line-height: 22px;
}

.home-blog-info h3 {
    margin: 0;
    min-height: 72px;
    color: #1d1d1f;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 700;
    transition: all .3s ease;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-item:hover .home-blog-info h3 {
    color: #0035cd;
}

.home-blog-info p {
    margin: 30px 0 0;
    color: #666a73;
    font-size: 14px;
    line-height: 22px;
}

/* ==============================
   Mobile <= 768px
================================= */


@media screen and (max-width: 768px) {
.home-banner {
margin-top: 0;
}
    .home-banner-item {
        min-height: 560px;
        background-position: center center;
    }

    .home-banner-item::before {
        background: linear-gradient(180deg, rgba(4, 12, 28, .72) 0%, rgba(4, 12, 28, .55) 55%, rgba(4, 12, 28, .35) 100%);
    }

    .home-banner-info {
        min-height: 560px;
        padding: 90px 22px 80px;
        justify-content: center;
    }

    .home-banner-info h1 {
        font-size: 1.6rem;
        line-height: 1.25;
    }


    .home-banner-info p {
        max-width: 100%;
        margin-top: 24px;
        font-size: 14px;
        line-height: 26px;
    }

    .home-banner-btn {
        height: 50px;
        margin-top: 36px;
        padding: 0 24px 0 5px;
        font-size: 13px;
    }

    .home-banner-btn i {
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin-right: 12px;
        font-size: 15px;
    }

    .home-banner .owl-dots {
        bottom: 26px;
    }

    .home-banner .owl-dot {
        width: 24px;
        height: 4px;
        margin: 0 4px;
    }

    .home-banner .owl-dot.active {
        width: 48px;
    }
	
	 .home-products {
	        padding: 28px 16px;
	        border-radius: 22px;
	        margin-top: 28px;
	    }
	
	    .home-products-top {
	        display: block;
	    }
	
	    .home-products-text {
	        padding: 0;
	    }
	
	    .home-products-text h2 {
	        font-size: 24px;
	        line-height: 1.45;
	        margin-bottom: 22px;
	    }
	
	    .home-products-text p {
	        font-size: 14px;
	        line-height: 1.7;
	        margin-bottom: 20px;
	    }
	
	    .home-products-side {
	        display: block;
	        margin-top: 26px;
	    }
	
	    .home-products-feature {
	        min-height: 230px;
	        padding: 26px 22px;
	        margin-bottom: 18px;
	        border-radius: 18px;
	    }
	
	    .home-products-feature-info {
	        width: 62%;
	    }
	
	    .home-products-feature-info h3 {
	        font-size: 22px;
	        margin-bottom: 14px;
	    }
	
	    .home-products-feature-info p {
	        font-size: 14px;
	        line-height: 1.55;
	        margin-bottom: 18px;
	    }
	
	    .home-products-feature-info span {
	        min-width: 124px;
	        height: 44px;
	        padding: 0 18px;
	        font-size: 13px;
	    }
	
	    /* 移动端右侧图片也垂直居中 */
	    .home-products-feature-img {
	        right: 10px;
	        top: 50%;
	        bottom: auto;
	        width: 44%;
	        transform: translateY(-50%);
	    }
	
	    .home-products-feature-img img {
	        max-height: 135px;
	    }
	
	    .home-products-list {
	        grid-template-columns: repeat(2, 1fr);
	        gap: 14px;
	        margin-top: 18px;
	    }
	
	    .home-products-item-img {
	        height: 120px;
	    }
	
	    .home-products-item-img img {
	        padding: 10px;
	    }
	
	     .home-products-item-img em {
	           left: 50%;
	           top: 50%;
	           min-width: 100px;
	           height: 38px;
	           font-size: 13px;
	           transform: translate(-50%, -50%) scale(.96);
	       }
	   
	       .home-products-item:hover .home-products-item-img em {
	           transform: translate(-50%, -50%) scale(1);
	       }
	
	    .home-products-item h3 {
	        padding: 10px 8px 11px;
	        font-size: 13px;
	        line-height: 20px;
	
	        white-space: nowrap;
	        overflow: hidden;
	        text-overflow: ellipsis;
	    }
	
	
	
.home-application {
        margin-top: 32px;
    }

    .home-application-head {
        display: block;
        margin-bottom: 24px;
    }

    .home-application-title h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .home-application-title p,
    .home-application-desc p {
        font-size: 14px;
        line-height: 1.7;
    }

    .home-application-desc {
        margin-top: 18px;
    }

    .home-application-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-application-img {
        height: 220px;
    }

    .home-application-info {
        padding: 20px 18px 26px;
    }

    .home-application-info h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .home-application-info p {
        min-height: auto;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .home-application-info span {
        font-size: 14px;
    }	
	
	.home-blog {
	        margin: 32px auto;
	        padding: 24px 16px;
	        border-radius: 20px;
	    }
	
	    .home-blog-head {
	        display: block;
	        margin-bottom: 24px;
	    }
	
	    .home-blog-head h2 {
	        font-size: 26px;
	        line-height: 1.35;
	    }
	
	    .home-blog-more {
	        margin-top: 18px;
	        min-width: 140px;
	        height: 46px;
	        padding: 0 22px;
	        font-size: 14px;
	    }
	
	    .home-blog-list {
	        grid-template-columns: 1fr;
	        gap: 20px;
	    }
	
	    .home-blog-img {
	        height: 210px;
	    }
	
	    .home-blog-info {
	        padding: 20px 18px 22px;
	    }
	
	    .home-blog-info span {
	        margin-bottom: 10px;
	        font-size: 14px;
	    }
	
	    .home-blog-info h3 {
	        min-height: auto;
	        font-size: 17px;
	        line-height: 1.45;
	        -webkit-line-clamp: 2;
	    }
	
	    .home-blog-info p {
	        margin-top: 22px;
	        font-size: 13px;
	    }
	
	
}