/* 移动端AI描述页面样式 */
.m-ai-desc-container {
    padding: 20px 15px;
    background: #fff;
    margin-top: -30px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

/* Banner样式 */
.m-banner {
    width: 100%;
    height: 225px;
    overflow: hidden;
    position: relative;
}

.m-banner .layui-carousel,
.m-banner .layui-carousel-ind {
    height: 100% !important;
}

.banner-item {
    height: 100%;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 顶部问题标题样式 */
.m-ai-desc-header {
    margin: 20px 0;
}

.m-question-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.m-question-item h2 {
    font-size: 16px;
    color: #333;
    margin: 0;
    position: relative;
    padding-bottom: 8px;
    text-align: center;
}

.m-question-item h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #b60608;
}

/* 问题展示区样式 */
.m-problems-section {
    margin-bottom: 30px;
}

.m-problems-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.m-problem-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    margin-bottom: 15px;
}

.m-problem-item.show {
    opacity: 1;
    transform: translateY(0);
}

.m-problem-content {
    background: #f7f8fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 14px;
    line-height: 1.6;
    border-left: 3px solid #b60608;
}

/* 解决方案区样式 */
.m-solution-section {
    padding: 30px 15px;
    background: #f0f2f5;
    margin: 0 -15px;
}

.m-solution-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.m-solution-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
    text-align: center;
}

.m-solution-item {
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.m-solution-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* 服务介绍区样式 */
.m-service-section {
    padding: 30px 0;
    background: #ffffff;
}

.m-matrix-subtitle,
.m-section-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 3px solid #b60608;
    line-height: 1.4;
}

.m-section-content {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

/* 视频展示区样式 */
.video-section {
    padding: 20px 0;
    background: #fff;
}

.m-section-header {
    padding: 0 15px;
    margin-bottom: 20px;
}

.m-industry-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 15px 10px;
    border-bottom: 1px solid #eee;
}

.m-industry-tab {
    font-size: 14px;
    color: #666;
    padding: 8px 15px;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

.m-industry-tab.active {
    color: #b60608;
}

.m-industry-tab.active:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #b60608;
}

.m-industry-content {
    display: none;
}

.m-industry-content.active {
    display: block;
}

/* 视频滚动区域样式 */
.m-video-scroll {
    padding: 0 15px;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
}

.m-video-scroll::-webkit-scrollbar {
    display: none;
}

.m-video-item {
    flex: 0 0 70%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    scroll-snap-align: center;
}

.m-video-cover {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
}

.m-video-cover img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
}

.m-play-button:after {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.m-video-info {
    padding: 12px;
}

.m-video-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

.m-video-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* 数字人展示区样式 */
.m-digital-human-section {
    padding: 30px 15px;
    background: #f7f8fa;
    margin: 0 -15px;
}

.phone-showcase-swiper {
    margin: 20px -15px;
    padding: 0 15px;
    overflow: hidden;
}

.phone-showcase-swiper .swiper-wrapper {
    display: flex;
}

.phone-showcase-swiper .swiper-slide {
    width: 300px;  /* 调整视频宽度 */
    padding: 0 10px;
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.3s ease;
}

.phone-showcase-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.phone-frame {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;  /* 手机屏幕比例 */
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.phone-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
}

.play-button:after {
    content: '';
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

/* 自动获客图片展示样式 */
.m-customer-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.m-customer-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
}

.m-customer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 模态框样式 */
.m-video-modal,
.m-image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.m-video-modal.active,
.m-image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-modal-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-modal-content {
    width: 100%;
    height: 100%;
}

.m-modal-content video,
.m-modal-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 1001;
}

.m-close-modal::before,
.m-close-modal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #fff;
}

.m-close-modal::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.m-close-modal::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 最终说明样式 */
.m-final-note {
    margin: 30px 0;
    padding: 15px;
    background: #f7f8fa;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* 内容区块样式 */
.m-section-content p {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.6;
    font-size: 14px;
    color: #444;
}

/* 视频播放模态框样式 */
.phone-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.phone-video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-video-modal .modal-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-video-modal video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
}

.close-modal::before,
.close-modal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #fff;
}

.close-modal::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-modal::after {
    transform: translate(-50%, -50%) rotate(-45deg);
} 