/* 公共样式
 *===========================================================================
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

html, body {
    color: #1c1d1f;
    font-family: PingFang SC, Microsoft YaHei, WenQuanYi Micro Hei, Hiragino Sans GB, Arial, Helvetica, Helvetica Neue, Heiti SC, sans-serif;
    height: 100%;
    width: 100vw;
    overflow: hidden;
    font-size: 14px;
}

body {
    overflow: auto;
}

li {
    list-style: none;
}

.color-primary {
    color: #2981ff;
}

.w1400 {
    position: relative;
    width: 96%;
    margin: 0 auto;
    max-width: 1400px;
}

.section {
    margin-top: 80px;
}

.m-show {
    display: none;
}

/* 框架layout
 *===========================================================================
 */

header {
    position: relative;
    display: flex;
    align-items: center;
    height: 61px;
    padding: 0 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

header .logo {
    position: relative;
    z-index: 100;
}

main {
    display: flex;
    flex-direction: column;
    height: calc(100% - 61px);
}

.logo {
    width: 298px;
    height: 36px;
}

.nav-list {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    font-size: 14px;
}

.nav-list li {
    position: relative;
}

.nav-list li a {
    display: block;
    color: #1c1d1f;
    height: 60px;
    line-height: 60px;
    padding: 0 20px;
}

.nav-list .rotate-text {
    overflow: hidden;
    display: inline-block;
    line-height: 1.2;
    position: relative;
    top: 2px;
}

.nav-list .rotate-text span {
    position: relative;
    display: inline-block;
    -webkit-transition: all ease-out .5s;
    transition: all ease-out .5s;
}

.nav-list .rotate-text span::after {
    position: absolute;
    left: 0;
    width: 100%;
    content: attr(data-title);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    transition: .5s;
    color: rgba(41, 129, 255, 0);
}

.nav-list li:not(.on):hover>a .rotate-text span {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    color: rgba(28, 29, 31, 0);
}

.nav-list li.on>a .rotate-text span {
    color: #2981ff;
}

.nav-list li:hover>a .rotate-text span::after {
    color: #2981ff;
}

.nav-list li>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #2981ff;
    bottom: 15px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    transition: all .3s;
}

.nav-list li.on>a, .nav-list li:hover>a {
    color: #2981ff;
}

.nav-list li.on>a::after, .nav-list li:hover>a::after {
    width: 15px;
}

/* 中小屏适配 */
@media screen and (max-width: 1350px) {
    .nav-list {
        left: 340px;
        transform: none;
    }

    .nav-list li a {
        padding: 0 10px;
    }
}

/* 手机端样式 */
@media screen and (max-width: 960px) {
    .nav-list {
        display: none;
        top: 61px;
        left: 0;
        right: 0;
        background-color: #fff;
        z-index: 40;
        height: calc(100vh - 61px);
    }

    .menu-btn {
        position: absolute;
        right: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        cursor: pointer;
    }

    .menu-btn i {
        display: block;
        width: 20px;
        height: 2px;
        margin: 0 auto 5px;
        position: relative;
        background: #1c1d1f;
        z-index: 1;
        -webkit-transform-origin: 20px;
        transform-origin: 20px;
    }

    .menu-btn i:last-child {
        margin: 0
    }

    .menu-btn.is-close i:nth-child(2) {
        width: 0;
        opacity: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        transition: width .5s ease;
    }

    .menu-btn.is-close i {
        font-size: 20px
    }

    .menu-btn.is-close i:first-child {
        opacity: 1;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .menu-btn.is-close i:last-child {
        opacity: 1;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .nav-list li:not(.on):hover>a .rotate-text span {
        transform: none;
        color: inherit;
    }

    .nav-list li.on>a::after, .nav-list li:hover>a::after {
        display: none;
    }
}

/* banner
 *===========================================================================
 */
.banner-wrapper {
    position: relative;
    overflow: hidden;
    height: 500px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.banner-wrapper video {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0.99;
    height: 500px;
}

.banner-info {
    padding-left: calc(50vw - 700px);
    width: 55%;
    box-sizing: border-box;
}

.banner-info h2 {
    position: relative;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 15px;
    z-index: 30;
    height: 50px;
}

.banner-info p {
    color: #626266;
    line-height: 24px;
    font-size: 16px;
}

.n-btn-default {
    display: inline-block;
    text-align: center;
    border: 1px solid #2981ff;
    font-size: 16px;
    padding: 0;
    height: 40px;
    line-height: 38px;
    width: 144px;
    box-sizing: border-box;
    color: #ffffff;
    background-color: #2981ff;
    margin-top: 30px;
}

.input-chat {
    position: relative;
    width: 100%;
    height: 52px;
    line-height: 50px;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, .95);
    border-radius: 12px;
    box-shadow: var(#000, 0 0 #0000), var(#000, 0 0 #0000), var(rgba(16, 24, 40, .1));
    box-sizing: border-box;
    padding: 10px;
    margin-top: 30px;
    cursor: text;
}

.input-chat p {
    position: absolute;
    left: 10px;
    line-height: 30px;
}

.input-chat-btn {
    position: absolute;
    right: 10px;
    display: flex;
    width: 32px;
    height: 32px;
    background-color: #2981ff;
    color: #fff;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
}

.input-chat-btn:hover {
    background-color: #257bf5;
}

.input-chat-btn svg {
    width: 15px;
}

/* 关于等保
 *===========================================================================
 */
.section-colflex-4 {
    display: flex;
    justify-content: space-between;
    margin: 0 -10px;
}

.section-colflex-4>* {
    max-width: 360px;
    margin: 0 10px;
    width: 33.3%;
}

.section-colflex-4>*:first-child {
    margin-left: 0;
}

.section-colflex-4>*:last-child {
    margin-right: 0;
}

.section-colflex-4 .icon-box {
    width: 80px;
    height: 80px;
    margin: auto;
    text-align: center;
    font-size: 0;
    margin-bottom: 15px;
}

.section-colflex-4 p {
    text-align: center;
    font-size: 18px;
    color: #1c1d1f;
    font-weight: bold;
}

.section-colflex-4 span:not(.hover-icon-80) {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #626266;
    line-height: 1.7;
    margin-top: 12px;
    overflow: visible;
}

.section-colflex-4 {
    margin: 0;
}

.section-colflex-4>* {
    margin: 0 50px;
}

.section-colflex-4 span {
    text-align: start;
    word-wrap: break-word;
    word-break: break-all;
}

.fix-wrap:not(.new-fix-wrap)>ul>li.calc-item {
    display: flex;
}

.hover-item-icon {
    display: inline-block;
    width: 72px;
    height: 72px;
    background-position: left;
    background-size: auto 100%;
}

.hover-icon-80 {
    display: inline-block;
    width: 80px;
    height: 80px;
    background-position: right;
    background-size: auto 100%;
}

.hover-item-icon.over, .product-advantage li:hover .hover-icon-80 {
    animation: animateframe .5s steps(23) forwards;
}

.hover-item-icon.out {
    animation: animateframeout .5s steps(23) forwards;
}

@keyframes animateframe {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 0;
    }
}

@keyframes animateframeout {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* iframe
 *===========================================================================
 */

.iframe-wrapper {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 40%;
    z-index: 50;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    border-radius: 16px;
    min-width: 650px;
}

/* .iframe-wrapper.is-active {
    transform: translateX(0);
} */

iframe {
    width: 100%;
    max-width: 100vw;
    height: 100%;
}

.mao-filter {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    backdrop-filter: blur(26.2px);
    z-index: 20;
}


@media screen and (max-width: 1550px) {
    .banner-wrapper video {
        left: auto;
        right: -22%;
    }
}

@media screen and (max-width: 1458px) {
    .banner-info {
        padding-left: 2vw;
    }
}

@media screen and (max-width: 1220px) {
    .banner-wrapper video {
        left: auto;
        right: -30%;
    }

    .section-colflex-4>* {
        margin-left: 15px;
        margin-right: 15px;
    }

    .iframe-wrapper {
        min-width: auto;
    }
}

@media screen and (max-width: 1023px) {
    .banner-wrapper video {
        left: auto;
        right: -450px;
    }

    .iframe-wrapper {
        top: 10%;
        left: 0;
        width: 100%;
    }

    .contact-me {
        bottom: auto;
        top: 250px;
        left: 100px;
    }

    .mao-filter {
        z-index: 30;
    }
}

@media screen and (max-width: 750px) {
    .m-show {
        display: inline-block;
    }

    .pc-show {
        display: none;
    }

    .iframe-wrapper {
        top: 10%;
        left: 0;
        width: 100%;
    }

    .logo {
        width: 100px;
        height: auto;
    }

    .banner-wrapper {
        background-image: url('/images/dengbao/m-banner.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
        height: 100%;
    }

    .banner-info {
        position: absolute;
        padding-left: 15px;
        padding-right: 15px;
        width: auto;
        bottom: 30px;
        text-align: center;
    }

    .banner-info h2 {
        font-size: 24px;
    }

    .banner-info p {
        font-size: 14px;
    }

    .pc-data {
        display: none;
    }

    .contact-me {
        bottom: auto;
        top: 250px;
        left: 100px;
    }

    .mao-filter {
        z-index: 30;
    }

    .section-intro {
        display: none;
    }
}