/* ========================================
   AI视频矩阵页面样式 - 采用主页面紫蓝粉渐变色系
   ======================================== */

/* 全局样式 */
body {
    min-width: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-top: 70px;
    font-size: 14px;
    line-height: 1.6;
    background-color: #fff;
    color: #1A1A1A;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand {
    font-size: 20px !important;
}

.navbar-nav .nav-link {
    font-size: 16px !important;
    padding: 8px 16px !important;
    color: #333 !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #5B4FE9 !important;
}

/* 下拉菜单 */
.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;
}

/* 主色调 - 紫蓝粉渐变 */
.pageWrap .text-primary {
    color: #5B4FE9 !important;
}

.pageWrap .btn-primary,
.btn-primary {
    background: linear-gradient(135deg, #5B4FE9, #0090F6);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.pageWrap .btn-primary:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #4a3ed8, #0080e0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 79, 233, 0.3);
}

.pageWrap .btn-outline-primary,
.btn-outline-primary {
    border: 2px solid #5B4FE9;
    color: #5B4FE9;
    background: transparent;
    transition: all 0.3s ease;
}

.pageWrap .btn-outline-primary:hover,
.btn-outline-primary:hover {
    background: linear-gradient(135deg, #5B4FE9, #0090F6);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #5B4FE9 0%, #7B68EE 50%, #0090F6 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(234, 91, 233, 0.3);
    border-radius: 50%;
    top: -100px;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-banner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(0, 144, 246, 0.3);
    border-radius: 50%;
    bottom: -50px;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
}

.gradient-text {
    background: linear-gradient(to right, #FFD700, #FFA500, #FF69B4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* 内容区域 */
.content {
    background-color: #f7f7f7;
}

/* 功能展示区 */
.feature-section {
    background: linear-gradient(to bottom, #f7f7f7, #ffffff);
}

.feature-section:nth-child(even) {
    background: linear-gradient(to bottom, #ffffff, #f7f7f7);
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 0;
}

.feature-subtitle {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* 6大核心产品力 */
.core-features {
    background: linear-gradient(to bottom, #D5E7FF, #f7f7f7);
}

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

.core-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.core-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(91, 79, 233, 0.15);
}

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

.core-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f1f1f;
}

.core-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* 行业应用场景 */
.industries {
    background: linear-gradient(to bottom, #f7f7f7, #ffffff);
}

.industry-card {
    background: linear-gradient(135deg, #f0edff, #ffffff);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-card:hover {
    background: linear-gradient(135deg, #5B4FE9, #7B68EE);
    border-color: #5B4FE9;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(91, 79, 233, 0.2);
}

.industry-card:hover .industry-title {
    color: white;
}

.industry-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f1f1f;
    margin: 0;
    transition: color 0.3s ease;
}

/* 6大合作优势 - 带图标的卡片布局 */
.advantages {
    background: linear-gradient(to bottom, #E8CAFF, #f7f7f7);
}

.advantage-icon-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantage-icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(91, 79, 233, 0.15);
}

.advantage-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0edff, #e8f5ff);
    transition: all 0.3s ease;
}

.advantage-icon-card:hover .advantage-icon-wrapper {
    background: linear-gradient(135deg, #5B4FE9, #0090F6);
}

.advantage-icon {
    font-size: 2.5rem;
    color: #5B4FE9;
    transition: color 0.3s ease;
}

.advantage-icon-card:hover .advantage-icon {
    color: white;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f1f1f;
}

.advantage-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.advantage-desc {
    font-size: 1rem;
    color: #666;
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, #5B4FE9, #7B68EE, #0090F6);
    color: white;
}

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

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
}

/* 底部服务特色 */
.service-features {
    background: white;
}

.service-item {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f1f1f;
    margin: 0;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5B4FE9, #0090F6);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(91, 79, 233, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #4a3ed8, #0080e0);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(91, 79, 233, 0.4);
}

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

.back-to-top i {
    font-size: 20px;
}

/* 响应式设计 */
@media (min-width: 768px) {
    body {
        min-width: 1200px;
    }

    .hero-title {
        font-size: 3rem;
    }

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

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

@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

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

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

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

    .hero-subtitle,
    .hero-desc {
        font-size: 1rem;
    }

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

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

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

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

    .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);
}
