@import "/form/style-online-form.css";

main .grid-center {
    display: grid;
    place-items:  center;
}

main .banner {
    width: 100%;
    overflow: hidden;
}

main .banner > img {
    width: 100%;
    aspect-ratio: 2880 / 780;
    background: rgb(242, 243, 255);
}

main .banner .text {
    /*position: absolute;*/
    /*left: 360px;*/
    /*top: 216px;*/
}

main .banner .text > h1 {
    font-weight: bold;
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 10px;
}

main .banner .text > h2 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

main .banner .banner-extra {
    position: absolute;
    top: 10vw;
    left: 5vw;
    right: 0;
    /*width: 100%;*/
    max-width: 1300px;
    margin: auto;
}

main .banner .button-group {
    margin-top: 40px;
}

main .banner .button-group > button {
    height: 52px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
}

main .banner .button-group .buy-now {
    width: 126px;
    color: rgb(1, 77, 160);
    background: white;
    border: 1.5px solid rgb(1, 77, 160);
}

main .banner .button-group .watch-vid {
    width: 148px;
    color: white;
    background: linear-gradient(to right, rgb(3, 102, 244), rgb(8, 160, 251));
    border: none;
    margin-left: 24px;
}

main .banner .button-group .watch-vid > img {
    display: inline;
    margin-right: 5px;
    position: relative;
    bottom: 1px;
    vertical-align: middle;
}


main section .title {
    font-size: 28px;
    font-weight: bold;
    padding-top: 88px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    text-align: center;
}

/* 标题装饰钻石 */
main section .title::before, main section .title::after {
    content: '';
    width: 31px;
    height: 23px;
    position: relative;
}

main section .title::before {
    background: url('/wp-content/themes/zCloud/img/products2021/HA/left-diamond.svg');
    right: 64px;
}

main section .title::after {
    background: url('/wp-content/themes/zCloud/img/products2021/HA/right-diamond.svg');
    left: 64px;
}


/* 产品概述 */
main section.description {
    width: 100%;
    /*margin: 0 auto;*/
    padding-bottom: 100px;
    min-height: 700px;
}

main section.description > div {
    /*display: flex;*/
    /*justify-content: center;*/
    font-size: 16px;
    line-height: 32px;
    color: rgb(102, 102, 102);
    max-width: 1000px;
    width: 90%;
    margin: 40px auto 80px;
    position: relative;
}

/* 引号 */
main section.description > div::before, main section.description > div::after,
main section.case .card > div::before, main section.case .card > div::after {
    content: '';
    width: 41px;
    height: 33px;
    position: absolute;
    z-index: -1;
}

main section.description > div::before {
    background: url('/wp-content/themes/zCloud/img/products2021/HA/quote-l-light.svg');
    top: -20px;
}

main section.description > div::after {
    background: url('/wp-content/themes/zCloud/img/products2021/HA/quote-r-light.svg');
    right: 10px;
    bottom: -20px;
}

main section.description > img {
    margin: auto;
    width: 700px;
    /*max-width: 700px;*/
    max-width: max-content;
}

main.i2UP section.description img {
    max-width: 468px;
}

/* 产品优势 */
main section.advantage {
    padding-bottom: 80px;
    background: #F6F8FB;
}

main.i2UP section.advantage.data {
    background: initial;
}

main section.advantage .advantage-grid {
    max-width: 1250px;
    width: 95%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
}


main section.advantage .advantage-grid > .grid-item img {
    transition: transform .25s ease;
}

main section.advantage .advantage-grid > .grid-item img:hover {
    transform: scale(1.2);
}

main section.advantage .advantage-grid > .grid-item > div {
    display: flex;
}

main section.advantage .advantage-grid > .grid-item h2 {
    display: inline;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    margin: 24px;
    line-height: 1.42;
}

main section.advantage .advantage-grid > .grid-item > p {
    font-size: 16px;
    color: #999;
    line-height: 26px;
    margin-top: 16px;
}


/* 应用场景 */
main section.application {
    min-height: 750px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto 100px;
    /*transition: all 0.4s;*/
}

/*@media all and (max-width: 1450px) {*/
/*    main section.application {*/
/*        width: 1200px;*/
/*    }*/
/*}*/

main .slide-box {
    position: relative;
    margin-top: 70px;
}

main .slide-box > .bd h2 {
    display: inline;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(#EDF1F6, #FFF);
    padding: 15px 25px;
    line-height: 50px;
    border: 1px solid white;
    border-radius: 25px;
    box-shadow: 1px 3px 10px lightgrey;
    position: relative;
}

main .slide-box > .bd h2:not(.no-arrow)::after {
    border-width: 7px 5px 0 5px;
    border-color: white transparent transparent transparent;;
    border-style: solid;
    position: absolute;
    content: '';
    left: 50%;
    top: 100%;
}

main .slide-box > .bd li {
    text-align: center;
}

main .slide-box > .bd img {
    margin: 40px auto 0;
}

main .slide-box .prev, main .slide-box .next {
    width: 38px;
    height: 38px;
    display: block;
    position: absolute;
    bottom: 50%;
    cursor: pointer;
}

main .slide-box .arrows {
    display: flex;
    justify-content: center;
}


main .slide-box .prev {
    background: url('/wp-content/themes/zCloud/img/products2021/HA/swipe-l.svg');
    left: 0;
}

main .slide-box .next {
    background: url('/wp-content/themes/zCloud/img/products2021/HA/swipe-r.svg');
    right: 0;
}


/* 客户案例 */
main section.case {
    /*height: 700px;*/
    background: #F6F8FB;
    padding-bottom: 100px;
}

main section.case > div {
    max-width: 1100px;
    margin: 90px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

main section.case .button-group {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    gap: 24px;
}

main section.case .button-group > div {
    background: url('/wp-content/themes/zCloud/img/products2021/HA/case-button.svg');
    background-size: cover;
    width: 142px;
    /*height: 55px;*/
    aspect-ratio: 142 / 55;
    display: grid;
    place-items: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 2px 2px 10px lightgrey;
    text-align: center;
}

main section.case .button-group > div.hover {
    background: url('/wp-content/themes/zCloud/img/products2021/HA/case-button-hover.svg');
    color: white;
    transition: 0.2s all;
    background-size: cover;
}

main section.case .card {
    width: 528px;
    height: 381px;
    margin-left: 100px;
    /*background: white;*/
    /*border-top: 5px solid rgb(6, 144, 205);*/
    background: url('/wp-content/themes/zCloud/img/products2021/HA/text-bg.svg');
    display: grid;
    place-items: center;
    z-index: 1;
    background-size: cover;
}

main section.case .card > div {
    width: 400px;
    color: rgb(102, 102, 102);
    font-size: 16px;
    line-height: 30px;
    position: relative;
}

main section.case .card > div > span {
    font-weight: bold;
    font-size: 18px;
}

main section.case .card > div::before {
    background: url('/wp-content/themes/zCloud/img/index2021/case/quote-l.svg');
    top: -50px;
    z-index: 0;
}

main section.case .card > div::after {
    background: url('/wp-content/themes/zCloud/img/index2021/case/quote-r.svg');
    right: 0;
    bottom: -50px;
    z-index: 0;
}

main section.case > div > img {
    max-width: 412px;
    max-height: 390px;
    position: relative;
    right: 70px;
    bottom: 10px;
}

/* 兼容性 */
main section.compatibility {
    /*height: 520px;*/
    max-width: 1170px;
    width: 90%;
    margin: 0 auto 100px;
}

main section.compatibility > .compat-grid {
    display: grid;
    place-items: center;
    gap: 24px;
    margin-top: 48px;
}

main section.compatibility > .compat-grid > p {
    background: #d8d8d833;
    margin: 0;
    font-size: 16px;
    line-height: 38px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}


main section.specs > img {
    margin: 40px auto 100px;
    width: 90%;
    max-width: max-content;
}


@media (max-width: 1400px) {
    main .slide-box .arrows .prev, main .slide-box .arrows .next {
        position: static;
        margin:  40px;
}

    main section.application {
        /*min-height: 900px;*/
        /*margin-bottom: 150px;*/
    }

    main .slide-box .prev {
        left: 40%
    }

    main .slide-box .next {
        right: 40%
    }

    main .slide-box .prev, main .slide-box .next {
        bottom: -35%;
    }
}

@media (max-width: 1200px) {
    #head {
        width: 100%;
    }

    #header-left {
        float: left;
    }

    #navi>ul.menu>li:nth-last-child(2) {
        background: initial;
        text-align: initial;
    }

    #navi ul li:nth-child(6) ul {
        padding-left: 0;
    }

    #navi ul li:nth-child(7) ul li:first-child {
        margin-top: 20px;
    }

    main .banner .banner-extra {

    }

    main .banner .text > h1 {
        font-size: clamp(16px, 2.65vw, 40px);
    }

    main .banner .text > h2 {
        font-size: clamp(14px, 1.5vw, 30px);
        margin-top: clamp(10px, 3vw, 20px);
    }

    main .banner .button-group .buy-now {
        width: clamp(78px, 11vw, 126px);
    }

    main .banner .button-group .watch-vid {
        width: clamp(100px, 12vw, 148px);
    }

    main .banner .button-group > button {
        height: clamp(30px, 4.2vw, 52px);
        font-size: clamp(12px, 1.5vw, 30px);
    }

    main .banner .button-group {
        margin-top: clamp(16px, 3vw, 40px);
    }

    /* 产品优势 */
    main section.advantage {
        /*height: 1000px;*/
    }

    main section.advantage .advantage-grid {
        grid-template-columns: 1fr 1fr;
    }

    main .slide-box > .bd img {
        width: 90%;
        max-width: max-content;
    }

    /* 客户案例 */
    main section.case > div {
        grid-template-columns: 1.333fr 1fr;
        grid-template-rows: 1fr 3fr;
        row-gap: 50px;
    }

    main section.case .button-group {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr 1fr;
        grid-column: 1 / 3;
        column-gap: initial;
        place-items: center;
        width: 80%;
        margin: auto;
    }

    main section.case > div > img {
        width: 120%;
        bottom: 0;
    }
}

@media (max-width: 1000px) {
    main .banner > img {
        width: 150%;
        transform: translate(-25%);
    }

    main section.case .card {
        width: 100%;
        margin: initial;
    }

    main section.case .card > div {
        width: 40vw;
        transform: translate(10px);
    }
    main section.case > div {
        grid-template-columns: 100%;
    }
}

@media (max-width: 600px) {
    main .banner > img {
        width: 200%;
    }

    main section.advantage .advantage-grid {
        grid-template-columns: 1fr;
        width: 90%;
    }

    main section.case .button-group, main section.case .card {
        width: 100%;
        margin: initial;
    }

    main section.case .card {
        height: 500px;
    }
    main section.case > div {
        grid-template-columns: 100%;
    }

    main section.case .button-group > div {
        width: 100px;
        font-size: 14px;
    }
    main section.case .title::before, main section.case .title::after,
    main section.case .card > div::before, main section.case .card > div::after {
        display: none;
    }

    main section.case > div > img {
        align-self: center;
        right: 40px;
    }
}

@media (max-width: 400px) {
    main section .title {
        font-size: 22px;
    }
    main section.case .card {
        height: 600px;
    }
}

.grey-bg {
    background: #F6F8FB;
}

.white-bg {
    background: white !important;
}

section.comparison .img-container {
    max-width: 1400px;
    margin: 0 auto;
}

section.comparison img {
    width: 100%;
    margin: 0 auto;
    padding: 6rem 0 12rem;
    max-width: max-content;
}
