/* 自定义字体 */
@font-face {
    font-family: 'CustomFont';
    src: url('ziti.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}

/* HarmonyOS 字体 */
@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap; 
}

.banner {
    margin-bottom: 56px;
}

.banner-item {
    max-height: 700px;
}

.banner-item-desc {
    position: absolute;
    top: 35%;
    left: 20%;
    z-index: 10;
    cursor: pointer;
}

.banner-item-title {
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 700;
    font-size: 48px;
    color: #010817;
    line-height: 56px;
}

.banner-item-subtitle {
    margin-top: 20px;
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 400;
    font-size: 20px;
    color: #3D3D3D;
    line-height: 32px;
    max-width: 650px;
}

.carousel-inner img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 35% !important;
    left: -15% !important;
}

.carousel-caption h1 {
    color: #227BF4;
}

.carousel-caption h2 {
    font-size: 46px;
    font-family: Source Han Sans CN;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.carousel-caption span {
    font-size: 30px;
    color: #FFFFFF;
}

/* 产品左右布局容器 2026.3.31新增 */

.product-container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.product-item-title {
    text-align: center;
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 700;
    font-size: 36px;
    color: #010817;
    line-height: 42px;
}

.product-item-subtitle {
    text-align: center;
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 400;
    font-size: 22px;
    color: #3D3D3D;
    line-height: 26px;
}
.product-item-desc {
    text-align: center;
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 400;
    font-size: 18px;
    color: #3D3D3D;
    line-height: 36px;
}

.product-item-box {
    padding: 60px 0;
    display: flex;
    align-items: center;
}

.product-item-left-box {
    width: 50%;
    display: flex;
    align-items: center;
}

.product-item-right-box {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.product-item-right-img {
    text-align: right;
}


.product-item-box-title {
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 700;
    font-size: 26px;
    color: #010817;
    line-height: 40px;
}

.product-item-box-content {
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 400;
    font-size: 18px;
    color: #3D3D3D;
    line-height: 36px;
    max-width: 90%;
}

.product-item-box-btn {
    width: 160px;
    height: 54px;
    background: #007AFF;
    border-radius: 4px;
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    text-align: center;
    line-height: 54px;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
}

.product-item-box-btn-wrapper {
    text-align: left;
    margin-top: 70px;
}

.product-item-box-btn-wrapper a {
    display: inline-block;
}

/* 场景切换样式 */
.scene-tabs {
    display: inline-block;
    background: #FFF;
    border-radius: 32px;
    margin-top: 35px;
}

.scene-tab {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 24px;
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    font-weight: 400;
    font-size: 18px;
    color: #3D3D3D;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.scene-tab.active {
    background: #007AFF;
    color: #FFFFFF;
}

.scene-tab:hover {
    background: #E0E7FF;
    color: #007AFF;
}

.scene-tab.active:hover {
    background: #0066CC;
    color: #FFFFFF;
}

/* 场景内容样式 */
.scene-content {
    display: none;
}

.scene-content.active {
    display: block;
}

/* 功能卡片样式 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px 0;
}

.feature-card {
    display: flex;
    align-items: center;
    padding: 4px 12px 4px 4px;
    background: linear-gradient(to right, #1574FF 0%, #95C0FF 100%);
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
    border-color: #007AFF;
}

.feature-card-icon {
    width: 32px;
    height: 32px;
    background: #E0E7FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-text {
    font-family: 'CustomFont', HarmonyOS Sans SC, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    margin-left: 12px;
    cursor: pointer;
}

/* 活动 */
.activity {
    background-color: #f7f8fa;
}

.activity .col-sm-3 {
    padding: 20px;
}

.activity .col-sm-3>.activity-list {
    cursor: pointer;
    border-radius: 4px;
    background-color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 0 12px 0 rgba(147, 165, 189, .1);
    transition: box-shadow .3s ease-in-out;
}

.activity .col-sm-3>.activity-list:hover {
    box-shadow: 0 3px 16px 0 rgba(0, 0, 0, .1);
}

.activity .col-sm-3>.activity-list>h4 {
    font-weight: 600;
}

/* 给模块设置公用样式 */
.product-all {
    padding-top: 60px;
}

.product-all>.container {
    margin-top: 45px;
    /*margin-bottom: 82px;*/
}

/* 第一个模块样式 */
.product-1>.container .col-sm-4 {
    padding: 20px;
}

.child-safety-warp {
    background-color: #F2F1F1;
    margin-top: 45px;
}

.child-safety-list>a:hover {
    text-decoration: none;
    color: #1ab8f1;
}

.child-safety-list {
    text-align: center;
}

.child-safety-list {
    padding: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.child-safety-list img {
    height: 112px;
}

.child-safety-list p {
    font-size: 16px;
    color: #333333;
    font-weight: 600;
    margin-top: 15px;
    text-align: center;
}

.child-safety-list:nth-child(2),
.child-safety-list:nth-child(4),
.child-safety-list:nth-child(5),
.child-safety-list:nth-child(7) {
    background: #FFFFFF;
}

.child-safety-list a {
    color: #1AB8F1;
}

/* 第二个模块样式 */
.product-2 {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(229, 231, 241, 1) 100%);
}

.product-2>.m-tit.tit+div>img {
    width: 100%;
}

/* 第三个模块样式 */
.product-3>.container {
    position: relative;
    overflow: hidden;
}

.carousel-wrap {
    transition: all .5s;
}

.carousel-left-btn,
.carousel-right-btn {
    cursor: pointer;
    width: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.carousel-left-btn {
    left: 0;
}

.carousel-right-btn {
    right: 0;
}

.carousel-list {
    padding: 0 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    float: left;
}

.carousel-list>div {
    width: 40%;
}

.carousel-list>div>img {
    width: 100%;
}

/* 第四个模块样式 */
.product-4 {
    background-color: #FAFAFA;
    padding-bottom: 80px;
}

.product-4 .col-sm-3,
.product-4 .col-xs-4 {
    text-align: center;
    margin-bottom: 15px;
}

.product-4 .col-sm-3>img,
.product-4 .col-xs-4>img {
    width: 100%;
}

@media (max-width: 1440px) {
    .banner-item-desc {
        top: 40%;
        left: 20%;
    }

    .banner-item-title {
        font-size: 36px;
    }

    .banner-item-subtitle {
        font-size: 20px;
        width: 50%;
    }

    .product-item-title {
        font-size: 32px;
    }

    .product-item-subtitle {
        font-size: 22px;
    }

    .product-item-box-title {
        font-size: 20px;
        line-height: 32px;
    }

    .product-item-box-content {
        font-size: 14px;
        line-height: 20px;
    }

    .product-item-box-btn {
        width: 120px;
        height: 40px;
        line-height: 40px;
    }

    .product-item-box-btn-wrapper {
        margin-top: 35px;
    }

    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 993px) {
    .banner>img {
        display: none;
    }

    .banner {
        margin-bottom: 0;
    }

    .banner-item-desc {
        top: 60%;
        left: 14%;
    }

    .banner-item-title {
        font-size: 18px;
        line-height: 30px;
    }

    .banner-item-subtitle {
        margin-top: 10px;
        font-size: 12px;
        line-height: 16px;
        width: 50%;
    }

    .product-item-title {
        font-size: 18px;
        line-height: 24px;
    }

    .product-item-subtitle {
        font-size: 16px;
        line-height: 26px;
    }

    .product-item-box {
        display: block;
    }

    .product-item-left-box {
        width: 100% !important;
    }

    .product-item-box-text {
        padding: 0 40px;
    }

    .product-item-right-box {
        margin-top: 60px;
        width: 100% !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-item-right-img {
        text-align: center;
    }

    .product-item-right-text {
        padding-bottom: 60px;
    }

    .product-item-box-title {
        font-size: 16px;
        line-height: 26px;
    }

    .product-item-box-content {
        font-size: 14px;
        line-height: 20px;
    }

    .product-item-box-btn {
        width: 100px;
        height: 36px;
        line-height: 36px;
        font-size: 16px;
    }

    .product-item-box-btn-wrapper {
        text-align: center;
        margin-top: 35px;
    }

    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .m-card {
        overflow: hidden;
        padding-bottom: 15px;
    }

    .m-card-icon {
        float: left;
    }

    .m-card-right {
        margin-left: 70px;
    }

    .child-safety-list:nth-child(1),
    .child-safety-list:nth-child(4),
    .child-safety-list:nth-child(5),
    .child-safety-list:nth-child(8) {
        background: #FFFFFF;
    }

    .child-safety-list:nth-child(2),
    .child-safety-list:nth-child(7) {
        background-color: transparent;
    }

    .product-4 .col-sm-3,
    .product-4 .col-xs-4 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 667px) {
    .banner-item-desc {
        top: 35%;
        left: 10%;
    }
}

/*立即体验样式*/
.experience {
    color: #fff;
    width: 100%;
    text-align: center;
    font-size: 28px
}

.experience-button {
    cursor: pointer;
    width: 130px;
    height: 46px;
    border: 1px solid #A9CAFF;
    text-align: center;
    line-height: 46px;
    color: #fff;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 25px;
    font-size: 16px;
}

.product-container {
    padding-top: 54px;
    padding-bottom: 69px;
}

/* 灰色底色样式*/
/*.product-bg-grey {*/
/*    background-color: #F3F8FE;*/
/*    padding-top: 62px;*/
/*    padding-bottom: 70px;*/
/*}*/

.product-bg-grey {
    background-color: #F3F8FE;
}

/*页面内Button*/
.product-button {
    text-decoration: none
}

.industry-app-item-card {
    box-shadow: 0 4px 20px 0 rgba(177, 202, 232, 0.4);
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.industry-app-img {
    width: 360px;
    height: 246px;
    margin-left: auto;
    margin-right: auto;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.industry-app-desc {
    background-color: #fff;
    width: 100%;
    padding: 10px;
    color: #000000;
}

.mt-3 {
    margin-top: 30px;
}