@charset "utf-8";
/* 通用 */
html{-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;}
body{margin: 0px;padding: 0px;}
a,input,div,textarea{margin: 0px;padding: 0px;font-family: "Arial","sans-serif","Microsoft Yahei";}
img{border: none;}
a{text-decoration: none;}
input,textarea{-webkit-appearance: none;-webkit-tap-highlight-color: transparent;}
.clear{line-height: 0;visibility: hidden;clear: both;}
.hidden-box{display: none;}

@media screen and (max-width: 1000px) {
    
    /* m-header-css */
	.pc-header{display: none;}
    
    /* content css */
    .content{width: 100%;float: left;margin-top: 100px;}
    .content-box{width: 96%;float: left;margin-left: 2%;}
    .ai-title-box{width: 100%;float: left;margin-top: 20px;font-size: 14px;font-weight: bold;}
    .ai-input-box{width: 100%;float: left;margin-top: 10px;border-radius: 5px;overflow: hidden;border: 1px solid #000;box-sizing: border-box;}
    .ai-input-box textarea{width: 100%;height: 80px;float: left;padding-left: 10px;padding-right: 10px;padding-top: 10px;padding-bottom: 10px;border: none;font-size: 14px;box-sizing: border-box;}
    .ai-input-button{width: 100%;float: left;margin-top: 20px;}
    .ai-input-button button{width: auto;height: 35px;float: left;background: #000;color: #fff;font-size: 14px;line-height: 35px;padding-left: 15px;padding-right: 15px;border-radius: 5px;overflow: hidden;}
    #ai-answer-box{width: 100%;float: left;margin-top: 20px;font-size: 14px;margin-bottom: 50px;}
    
    /* pc-footer css */
    .m-footer{width: 100%;float: left;position: fixed;bottom: 0px;z-index:-1;background: linear-gradient(
        to bottom,
        #ffffff 0%,
        rgba(255, 255, 255, 0.8) 30%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    ), url('images/bg-v2.jpg');
    
    background-size: cover;
    background-position: center;
    }
    .m-foot-box{width: 100%;height: 25px;float: left;text-align: center;font-size: 12px;color: #fff;line-height: 25px;margin-top: 200px;}
    
}

@media screen and (min-width:1000px){
    
    /* pc-header css */
    .pc-header{display: none;}
    .pc-header-logo-text{width: auto;height: 64px;float: left;font-size: 16px;margin-left: 10px;line-height: 64px;font-weight: bold;}
    
    /* content css */
    .content{width: 100%;float: left;margin-top: 64px;}
    .content-box{width: 1000px;margin-left: auto;margin-right: auto;}
    .ai-title-box{width: 100%;float: left;margin-top: 50px;text-align: center;font-size: 24px;font-weight: bold;}
    .ai-input-box{width: 100%;float: left;margin-top: 20px;border-radius: 5px;overflow: hidden;border: 1px solid #000;box-sizing: border-box;}
    .ai-input-box textarea{width: 100%;height:100px;float: left;padding-left: 10px;padding-right: 10px;padding-top: 10px;padding-bottom: 10px;box-sizing: border-box;font-size: 14px;}
    .ai-input-button{width: 100%;float: left;margin-top: 20px;}
    .ai-input-button button{width: auto;height: 35px;float: left;background: #000;color: #fff;font-size: 14px;line-height: 35px;padding-left: 15px;padding-right: 15px;border-radius: 5px;overflow: hidden;}
    #ai-answer-box{width: 100%;float: left;margin-top: 20px;font-size: 14px;margin-bottom: 50px;}
    
    /* pc-footer css */
    .m-footer{display: none;}
    
    .people-video{width: 200px;float: left;position: fixed;left: 0;top: 100px;}
    .people-video video{width: 100%;overflow: hidden;float: left;}
    #vplayer_2{display: none;}

}

/* icon css */
.icon-css{width: 100%;z-index: 9;position: fixed;top: 150px;left: 0px;display: none;}
.ai-breathing{width: 60px;height: 60px;background: radial-gradient(circle, #4f9eff, #2b6eff);border-radius: 50%;box-shadow: 0 0 15px rgba(79, 158, 255, 0.6);animation: breathe 1.8s ease-in-out infinite;margin-left: auto;margin-right: auto;text-align: center;line-height: 60px;font-size: 14px;color: #fff;}

@keyframes breathe {
    0% {transform: scale(0.8);opacity: 0.5;box-shadow: 0 0 10px rgba(79, 158, 255, 0.3);}
    50% {transform: scale(1.2);opacity: 1;box-shadow: 0 0 30px rgba(79, 158, 255, 0.9);}
    100% {transform: scale(0.8);opacity: 0.5;box-shadow: 0 0 10px rgba(79, 158, 255, 0.3);}
}

/* web tips css */
#web_input_tips_background{width: 100%;z-index: 102;position: fixed;top: 150px;left: 0px;display: none;}
#web_tips_text_box{width: 150px;height: 45px;margin-left: auto;margin-right: auto;margin-top: 0px;background: #000;font-size: 14px;line-height: 45px;color: #fff;border-radius: 5px;text-align: center;overflow: hidden;}

.digital-human{width: 100%;float: left;text-align: center;position: fixed;top: 0px;left: 0px;}
/* 三角形宝宝容器 */
.triangle-baby {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 20px auto;
    cursor: pointer;
    animation: jumpRotate 3s ease-in-out infinite;
}

/* 三角形身体（黑色） */
.triangle-baby::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid #1a1a1a;
    top: 0;
    left: 0;
}

/* 宝宝的脸（放在三角形中央） */
.baby-face {
    position: absolute;
    top: 30px;
    left: 25px;
    width: 50px;
    height: 40px;
    z-index: 2;
}

/* 眼睛 */
.baby-eye {
    width: 8px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 0;
}

.baby-eye.left {
    left: 8px;
}

.baby-eye.right {
    right: 8px;
}

/* 嘴巴 - 默认微笑 */
.baby-mouth {
    width: 20px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-radius: 0 0 20px 20px;
    position: absolute;
    bottom: 2px;
    left: 15px;
}

/* ====== 说话时的状态 ====== */
.triangle-baby.speaking .baby-mouth {
    animation: mouthOpen 0.4s ease-in-out infinite;
}

/* 说话时跳跃加快 */
.triangle-baby.speaking {
    animation-duration: 1s;
}

/* ====== 动画定义 ====== */

/* 跳跃 + 转圈 */
@keyframes jumpRotate {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* 嘴巴说话开合 */
@keyframes mouthOpen {
    0%, 100% { height: 10px; border-radius: 0 0 20px 20px; }
    50% { height: 3px; border-radius: 50%; border: 2px solid #fff; }
}

/* 眨眼 */
@keyframes blink {
    0%, 90%, 100% { height: 10px; }
    95% { height: 2px; }
}

.baby-eye.left {
    animation: blink 4s infinite;
}

.baby-eye.right {
    animation: blink 4s infinite;
    animation-delay: 0.1s;
}

/* 暂停时嘴巴不动 */
.triangle-baby.paused .baby-mouth {
    animation: none;
    height: 10px;
    border-radius: 0 0 20px 20px;
}

/* 三角形头像图片（裁剪成三角形，撑满整个容器） */
.triangle-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 1;
}