/* ========================================
   智擎AI客服页面样式
   ======================================== */

/* 全局样式 */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 76px;
}

/* 导航栏 */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

/* 下拉菜单 */
.navbar .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 0;
    min-width: 200px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background-color: #f0edff;
    color: #5B4FE9;
    padding-left: 25px;
}

.navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
}

/* Hero Banner */
.hero-banner {
    padding: 0;
    color: white;
    min-height: 600px;
    position: relative;
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.banner-slide-1 {
    background-image: url('https://tg.bjmantis.com/tyai/images/content/ai-banner1.png');
}

.banner-slide-2 {
    background-image: url('https://tg.bjmantis.com/tyai/images/content/ai-banner2.png');
}

.banner-slide-3 {
    background-image: url('https://tg.bjmantis.com/tyai/images/content/ai-banner3.png');
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.banner-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* 痛点问题区 */
.painpoints-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
}

.painpoint-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
}

.painpoint-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.painpoint-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.painpoint-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* 核心解决方案 */
.solutions-section {
    background: #f8f9fa;
}

.solution-card {
    background: white;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.solution-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}

/* 行业应用场景 */
.industries-section {
    background: white;
}

.industry-card {
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.industry-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
}

.industry-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.industry-card p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #495057;
}

/* 详细功能模块 */
.feature-detail-section {
    padding: 80px 0;
}

.feature-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #212529;
}

.feature-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
}

.feature-points {
    margin-top: 2rem;
}

.feature-point-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-point h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
}

.feature-point p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 优势对比 */
.advantages-section {
    background: #f8f9fa;
}

.advantage-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.advantage-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.advantage-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.cta-box p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-contact {
    font-size: 1.25rem;
    color: white;
}

.cta-contact strong {
    font-size: 1.75rem;
    color: #ffc107;
}

/* Footer */
.footer {
    padding: 2rem 0;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0b5ed7;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* 响应式设计 */
@media (max-width: 991px) {
    .banner-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-title {
        font-size: 1.75rem;
    }

    .hero-banner {
        padding: 60px 0;
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 66px;
    }

    .banner-title {
        font-size: 1.75rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .hero-banner {
        padding: 40px 0;
        min-height: 400px;
    }

    .painpoint-icon {
        width: 60px;
        height: 60px;
    }

    .solution-icon {
        width: 80px;
        height: 80px;
    }

    .industry-icon {
        width: 50px;
        height: 50px;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* 全链路专业团队服务 */
.team-service-section {
    background: #f8f9fa;
}

.team-service-section img {
    max-width: 100%;
    height: auto;
}

/* 更多实用功能 */
.more-features-section {
    background: white;
}

.more-feature-card {
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.more-feature-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
}

.more-feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.more-feature-card p {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

/* 客户Logo墙 */
.logo-wall-section {
    background: #f8f9fa;
}

.logo-wall-section img {
    max-width: 100%;
    height: auto;
}
