@import url(main.less);

// PC
@media (min-width:@screen-sm-min){
    .banner{
        // 940px
        height: 48.9583vw;
        background: url('../images/index/operate_banner.png') no-repeat;
        background-size: 100% 100%;

        .main_flex{
            height: 100%;

            .left{
                width: 38.0729vw;
                height: 27.3958vw;
                margin-right: 1.5625vw;
            }

            .flex_1{

                .t{
                    font-size: 4.6875vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #333333;
                    line-height: 7.0313vw;
                    margin-bottom: .4167vw;
                }

                .p{
                    font-size: 1.875vw;
                    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 3.0208vw;
                }
            }
        }
    }

    // 爱山羊 APP下载
    .app_box{
        padding-top: 5.2083vw;
        margin-bottom: -6.7708vw;

        .main_area{
            display: flex;

            .flex_1{
                padding-top: 9.375vw;

                .p{
                    font-size: 1.4583vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #333333;
                    line-height: 2.5vw;
                    margin-bottom: 1.1458vw;
                }

                .btn_box{
                    display: flex;

                    &>a{
                        width: 11.25vw;
                        height: 4.0104vw;
                        background: #FF7C00;
                        border-radius: .7813vw;
                        margin-right: 1.9792vw;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        .icon{
                            margin-right: 1.0417vw;
                        }

                        .text{
                            font-size: 1.25vw;
                            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                            font-weight: 500;
                            color: #FFFFFF;
                            // line-height: 1.875vw;
                        }
                    }
                }
            }

            .right{
                width: 23.3333vw;
                height: 37.1875vw;
                margin-left: 5.7292vw;
                position: relative;

                img{
                    position: absolute;
                    right: -1.3021vw;
                }
            }
        }
    }

    // 主要功能介绍
    .main_article{
        padding: 3.4896vw 0 4.4792vw;
        background: rgba(207,209,213,0.15);

        .main_area{

            .title{
                font-size: 2.0833vw;
                font-family: SourceHanSansCN-Bold, SourceHanSansCN;
                font-weight: bold;
                color: #333333;
                line-height: 3.125vw;
                margin-bottom: 3.125vw;
            }

            .list{
                display: flex;

                .item{
                    flex: 1;
                    width: calc((100% - 4.6875vw) / 4);
                    min-width: calc((100% - 4.6875vw) / 4);
                    max-width: calc((100% - 4.6875vw) / 4);
                    min-height: 22.3958vw;
                    border: .1042vw solid #FF8042;
                    box-sizing: border-box;
                    border-radius: .7813vw;
                    margin-right: 1.5625vw;
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    &:nth-of-type(4n+4){
                        margin-right: 0;
                    }

                    .icon{
                        width: 100%;
                        height: 12.8125vw;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        .icon_1{
                            width: 7.9688vw;
                            height: 10vw;
                        }
                        .icon_2{
                            width: 10.1563vw;
                            height: 10.6771vw;
                        }
                        .icon_3{
                            width: 8.5938vw;
                            height: 10vw;
                        }
                        .icon_4{
                            width: 7.6042vw;
                            height: 10vw;
                        }
                    }

                    .t{
                        font-size: 1.4583vw;
                        font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                        font-weight: 500;
                        color: #333333;
                        line-height: 2.0833vw;
                        margin-bottom: .5208vw;
                    }

                    .p{
                        text-align: center;
                        font-size: 1.25vw;
                        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                        font-weight: 400;
                        color: #999999;
                        line-height: 1.7708vw;
                        padding: 0 .2083vw;
                        margin-bottom: 1.0417vw;
                    }
                }
            }
        }
    }

    // AI智慧大脑
    .ai_box{
        padding-top: 5.7292vw;

        .main_area{

            .title_text{
                margin-bottom: 3.6458vw;
            }

            .p{
                font-size: 1.4583vw;
                font-family: SourceHanSansCN-Regular, SourceHanSansCN;
                font-weight: 400;
                color: #333333;
                line-height: 2.5vw;
                margin-bottom: 1.4583vw;
            }
        }
    }

    // 数据入口
    .enter_box{
        margin-bottom: 5.2083vw;

        .main_area{
            display: flex;
            justify-content: space-between;

            a{
                flex: 1;
                width: calc((100% - 1.4583vw) / 2);
                min-width: calc((100% - 1.4583vw) / 2);
                max-width: calc((100% - 1.4583vw) / 2);
                height: 26.8229vw;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                &:nth-of-type(1){
                    background: url("../images/index/operate_bg_1.png") no-repeat;
                    background-size: 100% 100%;
                }

                &:nth-of-type(2){
                    background: url("../images/index/operate_bg_2.png") no-repeat;
                    background-size: 100% 100%;
                }

                .t{
                    font-size: 1.4583vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #FFFFFF;
                    line-height: 2.1875vw;
                    margin-bottom: .8854vw;
                }

                .p{
                    font-size: 1.25vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #FFFFFF;
                    line-height: 1.875vw;
                }
            }
        }
    }
}

// H5  750px
@media (max-width:@screen-xs-max){
    .banner{
        height: 140.2667vw;
        background: url('../images/index/h5/operate_banner.png') no-repeat;
        background-size: 100% 100%;

        .main_flex{
            height: 100%;
            display: flex;
            flex-direction: column-reverse;
            align-items: center;
            justify-content: flex-start;

            .left{
                width: 85.8667vw;
                height: 62.1333vw;
                margin-top: 8.5333vw;
                margin-bottom: 1.3333vw;
            }

            .flex_1{
                width: 91.4667vw;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-end;

                .t{
                    font-size: 6.4vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #333333;
                    line-height: 9.6vw;
                }

                .p{
                    text-align: center;
                    font-size: 4.2667vw;
                    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 6.4vw;
                }
            }
        }
    }

    // 爱山羊 APP下载
    .app_box{
        padding-top: 9.6vw;
        margin-bottom: -23.4667vw;

        .p{
            font-size: 4.2667vw;
            font-family: SourceHanSansCN-Normal, SourceHanSansCN;
            font-weight: 400;
            color: #666666;
            line-height: 6.4vw;
        }

        .right{
            width: 59.7333vw;
            height: 95.2vw;
            position: relative;
            top: -2.1333vw;
            left: 22.6667vw;
        }
    }

    // 主要功能介绍
    .main_article{
        padding: 9.0667vw 0 6.9333vw;
        background: rgba(207,209,213,0.15);

        .title{
            font-size: 5.3333vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #333333;
            line-height: 6.6667vw;
            margin-bottom: 9.3333vw;
        }

        .list{
            display: flex;
            flex-wrap: wrap;
            padding-bottom: 1.0667vw;

            .item{
                flex: 1;
                width: calc((100% - 4.2667vw) / 2);
                min-width: calc((100% - 4.2667vw) / 2);
                max-width: calc((100% - 4.2667vw) / 2);
                min-height: 57.3333vw;
                border: .2667vw solid #FF5A09;
                box-sizing: border-box;
                border-radius: 2.1333vw;
                margin-right: 4.2667vw;
                margin-bottom: 4.2667vw;
                display: flex;
                flex-direction: column;
                align-items: center;

                &:nth-of-type(2n+2){
                    margin-right: 0;
                }

                .icon{
                    width: 100%;
                    height: 29.8667vw;
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    .icon_1{
                        width: 20vw;
                        height: 24.6667vw;
                    }
                    .icon_2{
                        width: 25.0667vw;
                        height: 26.1333vw;
                    }
                    .icon_3{
                        width: 20.8vw;
                        height: 24.2667vw;
                    }
                    .icon_4{
                        width: 18.6667vw;
                        height: 24.2667vw;
                    }
                }

                .t{
                    font-size: 4.2667vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #333333;
                    line-height: 10.6667vw;
                    margin-bottom: .5333vw;
                }

                .p{
                    padding: 0 1.0667vw 1.6vw;
                    text-align: center;
                    font-size: 3.2vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #999999;
                    line-height: 4.2667vw;
                }
            }
        }

        .btn_box{
            display: flex;
            justify-content: space-between;

            a{
                width: 43.7333vw;
                height: 12vw;
                background: #FF7C00;
                border-radius: 2.6667vw;
                display: flex;
                align-items: center;
                justify-content: center;

                .icon{
                    margin-right: 4vw;
                }

                .text{
                    font-size: 4.8vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #FFFFFF;
                    // line-height: 7.2vw;
                }
            }
        }
    }

    // AI智慧大脑
    .ai_box{
        padding: 14.6667vw 0 4.2667vw;

        .title_text{
            text-align: center;
            font-size: 5.3333vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #333333;
            line-height: 6.6667vw;
            margin-bottom: 5.6vw;
        }

        .p{
            font-size: 4.2667vw;
            font-family: SourceHanSansCN-Normal, SourceHanSansCN;
            font-weight: 400;
            color: #666666;
            line-height: 6.4vw;
            letter-spacing: .1333vw;
        }
    }

    // 数据入口
    .enter_box{
        padding-bottom: 8.2667vw;

        .main_area{
            display: flex;
            flex-direction: column;
            align-items: center;

            a{
                width: 91.2vw;
                height: 68.5333vw;
                margin-bottom: 1.8667vw;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                &:nth-of-type(1){
                    background: url("../images/index/h5/operate_bg_1.png") no-repeat;
                    background-size: 100% 100%;
                }

                &:nth-of-type(2){
                    background: url("../images/index/h5/operate_bg_2.png") no-repeat;
                    background-size: 100% 100%;
                }

                .t{
                    font-size: 4.8vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #FFFFFF;
                    line-height: 7.2vw;
                    margin-bottom: 1.0667vw;
                }

                .p{
                    font-size: 4.2667vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #FFFFFF;
                    line-height: 6.4vw;
                    letter-spacing: .1333vw;
                }
            }
        }
    }
}