.banner {
    /* 铺满一屏：扣除顶部导航高度，随浏览器视口自适应 */
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    max-height: none;
    min-height: 0;
    overflow: hidden;
}

.banner .swiper-slide {
    position: relative;
    height: 100%;
}

.banner .swiper-slide > p {
    position: absolute;
    left: 50%;
    width: 76%;
    max-width: 960px;
    margin: 0;
    text-align: center;
    color: #fff;
    z-index: 2;
    opacity: 0;
    transition: opacity .7s ease, transform .7s ease;
}

.banner .swiper-slide > p:nth-of-type(1) {
    top: 50%;
    transform: translate(-50%, calc(-100% - 18px));
    font-size: 50px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.banner .swiper-slide > p:nth-of-type(2) {
    top: 50%;
    transform: translate(-50%, 18px);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.7;
}

.banner .swiper-slide-active > p,
.banner .swiper-slide-duplicate-active > p {
    opacity: 1;
}

.banner .swiper-slide-active > p:nth-of-type(1),
.banner .swiper-slide-duplicate-active > p:nth-of-type(1) {
    transform: translate(-50%, calc(-100% - 10px));
    transition-delay: .12s;
}

.banner .swiper-slide-active > p:nth-of-type(2),
.banner .swiper-slide-duplicate-active > p:nth-of-type(2) {
    transform: translate(-50%, 10px);
    opacity: 0.92;
    transition-delay: .28s;
}

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

.banner .swiper-container {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.banner .swiper-wrapper {
    height: 100%;
}

/* fade 模式下叠层更顺滑 */
.banner .swiper-container-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity;
}

.banner .swiper-container-fade .swiper-slide-active {
    pointer-events: auto;
}

.banner .swiper-pagination {
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.banner .swiper-pagination-bullet {
    width: 36px;
    height: 4px;
    margin: 0 !important;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    transition: background .35s ease, width .35s ease;
}

.banner .swiper-pagination-bullet-active {
    width: 44px;
    background: #fff;
}

.banner .prenext img {
    height: 54px;
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.75;
    transition: opacity .25s ease, transform .25s ease;
}

.banner .prenext img:hover {
    opacity: 1;
}

.banner .left {
    left: 10%;
}

.banner .right {
    right: 10%;
}

.about {
    padding: var(--pad100);
    margin-bottom: 0px;
}

.solve {
    position: relative;
    padding: var(--pad100);
    background-color: #0a1c48;
    background-image: url(/skin/mall/img/solvebg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: background-image .45s ease;
}

.solve p {
    color: #fff;
}

.solve>div>p {
    font-size: 30px;
    line-height: 2;
}

.solmain {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    position: relative;
    min-height: 260px;
}

.solmain .solvl {
    flex: 1;
    max-width: 52%;
    position: relative;
    z-index: 1;
}

.solmain .sol-title,
.solmain .sol-desc,
.solmain .sol-cover {
    transition: opacity .25s ease, transform .25s ease;
}

.solmain.is-switching .sol-title,
.solmain.is-switching .sol-desc {
    opacity: 0;
    transform: translateY(8px);
}

.solmain.is-switching .sol-cover {
    opacity: 0;
    transform: translateY(calc(-50% + 8px));
}

.solmain .sol-cover {
    position: absolute;
    top: 50%;
    right: 0;
    width: 40%;
    max-height: 100%;
    object-fit: cover;
    object-position: right center;
    transform: translateY(-50%);
}

.solvl p:nth-child(1) {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.solvl p:nth-child(n+2) {
    font-size: 18px;
    line-height: 2;
}

.solmain .sol-desc {
    height: 8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.solvl a {
    margin-top: 40px;
    padding: 10px 40px;
    display: table;
    background-color: #fff;
    border-radius: 4px;
    color: var(--primary)
}

.solve ul {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.solve li {
    width: calc((100% - 80px) / 5);
    position: relative;
    cursor: pointer;
}

.solve li a {
    display: block;
    position: relative;
    color: inherit;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
    transition: border-color .25s ease;
}

.solve li.active a {
    border-color: var(--primary);
}

.solve li img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.solve li p {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 700;
}

.abmain {
    margin-top: 50px;
}

.abmain > div img {
    width: 100%;
    display: block;
    border-radius: var(--radius);
}

.about .video {
    position: relative;
    width: 90%;
    cursor: pointer;
}

/* 视频弹窗 */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.video-modal.show {
    display: flex;
}
.video-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}
.video-modal-box {
    position: relative;
    z-index: 1;
    width: min(900px, 90vw);
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.video-modal-box video {
    display: block;
    width: 100%;
    max-height: 80vh;
    background: #000;
}
.video-modal-close {
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 2;
    font-size: 32px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    opacity: .85;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.video-modal-close:hover {
    opacity: 1;
}

.about .play {
    position: absolute;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 100px;
}

.abmain .videopostmer {
    width: 100%;
    border-radius: var(--radius);
}

.videoNum {
    display: flex;
    justify-content: space-around;
    background: var(--linear);
    padding: 30px 0;
    border-radius: var(--radius);
    width: 70%;
    float: right;
    transform: translateY(-50%);
}

.videoNum p {
    color: #fff;
}

.videoNum span {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
}

.pro {
    background-color: var(--bgcolor);
    padding: var(--pad100);
}

.protype {
    margin: 40px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
}

.protype li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    line-height: 1;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    color: var(--gray);
    transition: background .25s ease, color .25s ease;
}

.protype li:hover,
.protype li.active {
    background: var(--linear);
    color: #fff;
}

.protype li:hover::after,
.protype li.active::after {
    color: var(--gray);
}

.protype li::after {
    content: '/';
    position: absolute;
    left: calc(100% + 28px);
    top: 50%;
    right: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    line-height: 1;
    transform: translate(-50%, -50%);
    color: var(--gray);
    cursor: default;
    pointer-events: none;
}

.protype li:last-child::after {
    display: none;
}

.promain ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.promain ul .img {
    padding-top: 100%;
    overflow: hidden;
    border-radius: 10px;
}
.promain ul li img{
    border-radius: 10px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.promain li {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 15px;
    width: calc((100% - 60px) / 4);
    padding-bottom: 20px;
    border: 1px solid transparent;
    transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.45s ease;
}

.promain ul a p {
    line-height: 2;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    color: var(--gray);
}

.promain ul a p:nth-child(2) {
    font-size: 18px;
    font-weight: bold;
    color: var(--color);
    transition: color 0.35s ease;
}

.promain ul a span {
    position: relative;
    z-index: 1;
    padding: 10px 0;
    display: table;
    overflow: hidden;
    color: var(--color);
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.45s ease,
                box-shadow 0.45s ease;
}

.promain ul a span::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--linear);
    opacity: 0;
    transform: scaleX(0.6);
    transform-origin: left center;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.promain ul li:hover {
    box-shadow: 0 16px 32px rgba(50, 122, 255, 0.28),
                0 6px 12px rgba(50, 122, 255, 0.16);
    transform: translateY(-10px);
}

.pro .title a {
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 10px;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.pro .title a:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.promain ul li:hover .img img {
    transform: scale(1.1);
}

.promain ul li:hover a p:nth-child(2) {
    color: var(--primary);
}

.promain ul li:hover span {
    padding: 10px 18px;
    color: #fff;
    transform: translateX(2px);
    border-color: rgba(50, 122, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(50, 122, 255, 0.35);
}

.promain ul li:hover span::before {
    opacity: 1;
    transform: scaleX(1);
}

.news {
    background-color: var(--bgcolor);
    padding: var(--pad100);
}

.newsmain {
    margin-top: 50px;
}

.newstop {
    display: flex;
    align-items: center;
    background-color: #fff;
}

.newsvideo {
    width: 50%;
    position: relative;
    display: block;
}

.newsposter {
    width: 100%;
    border-radius: var(--radius) 0 0 var(--radius);
    display: block;
}

.newsplay {
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    cursor: pointer;
}

.newstopmain {
    width: 50%;
    padding: 0 40px;
}

.newstopmain p:nth-child(1) {
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.newstopmain p:nth-child(1) a {
    color: inherit;
    text-decoration: none;
    transition: color 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.newstopmain:hover p:nth-child(1) a,
.newstopmain p:nth-child(1) a:hover,
.newstop:hover .newstopmain p:nth-child(1) a {
    color: var(--primary);
}

.newstopmain p:nth-child(2) {
    color: var(--gray);
    margin: 10px 0 30px 0;
}

.newstopmain p:nth-child(3) {
    color: var(--gray);
    line-height: 2;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    overflow: hidden;
    box-orient: vertical;
    -webkit-box-orient: vertical;
}

.newslist {
    margin-top: 20px;
}

.newslist ul {
    display: flex;
    gap: 20px;
}

.newslist li {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
}

.newsdesc {
    padding: 20px 15px;
    background-color: #fff;
}

.newsdesc p:nth-child(1) {
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 10px;
    transition: color 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.newslist li a:hover .newsdesc p:nth-child(1) {
    color: var(--primary);
}

.newsdesc p:nth-child(2) {
    color: var(--gray)
}

@media (max-width:768px) {
    .banner {
        /* 手机端扣除 mobnav 高度 */
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
        max-height: none;
        min-height: 0;
    }

    .banner .prenext img {
        height: 30px;
    }

    .banner .left {
        left: 5%;
    }

    .banner .right {
        right: 5%;
    }

    .banner .swiper-slide > p {
        width: 86%;
    }

    .banner .swiper-slide > p:nth-of-type(1) {
        font-size: 22px;
        transform: translate(-50%, calc(-100% - 12px));
    }

    .banner .swiper-slide > p:nth-of-type(2) {
        font-size: 12px;
        transform: translate(-50%, 12px);
        line-height: 1.6;
    }

    .banner .swiper-slide-active > p:nth-of-type(1),
    .banner .swiper-slide-duplicate-active > p:nth-of-type(1) {
        transform: translate(-50%, calc(-100% - 6px));
    }

    .banner .swiper-slide-active > p:nth-of-type(2),
    .banner .swiper-slide-duplicate-active > p:nth-of-type(2) {
        transform: translate(-50%, 6px);
    }

    .banner .swiper-pagination {
        bottom: 30px;
        gap: 6px;
    }

    .banner .swiper-pagination-bullet {
        width: 20px;
        height: 3px;
    }

    .banner .swiper-pagination-bullet-active {
        width: 26px;
    }

    .abmain {
        margin-top: 15px;
    }

    .about .video {
        width: 100%;
    }

    .solve>div>p {
        font-size: 20px;
    }

    .solmain {
        display: block;
        margin-top: 15px;
        min-height: 0;
    }

    .solmain .solvl {
        max-width: 100%;
    }

    .solvl p:nth-child(1) {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .solvl p:nth-child(n+2) {
        font-size: 15px;
    }

    .solvl a {
        margin: 15px auto;
    }

    .solmain .sol-cover {
        position: static;
        right: auto;
        width: 100%;
        max-height: none;
        transform: none;
        margin-top: 15px;
        display: block;
    }

    .solmain.is-switching .sol-cover {
        transform: translateY(8px);
    }

    .solve ul {
        margin-top: 15px;
    }

    .solve li {
        width: calc((100% - 20px) / 2);
    }

    .about .play {
        height: 50px;
    }

    .videoNum {
        width: 100%;
        transform: none;
        margin-top: 15px;
        padding: 15px;
        font-size: 16px;
    }

    .videoNum span {
        font-size: 22px;
    }

    .protype {
        margin: 15px 0;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .protype li::after {
        display: none;
    }

    .protype li {
        padding: 5px 10px;
        font-size: 14px;
    }
    .promain ul{
        gap:15px;
    }
    .promain ul a p:nth-child(2){
        font-size: 16px;
        margin-top: 10px;
    }
    .promain ul a span{
        margin-top: 5px;
    }
    .promain ul a p{
        line-height: 1.5;
    }
    .promain li {
        width: calc((100% - 15px) / 2);
    }
    .newsmain{
        margin-top: 15px;
    }
    .newstop{
        display: block;
    }
    .newstopmain{
        width: 100%;
        padding: 15px;
    }
    .newstopmain p:nth-child(2){
        margin: 10px 0;
    }
    .newslist ul{
        display: block;
    }
    .newslist li{
        width: 100%;
        margin-bottom: 15px;
    }
    .newsvideo{
        width: 100%;
    }
    .newsplay{
        height: 50px;
    }
}