/* ===========================================
   VTS 智能仿真平台 - 应用示例页专用样式
   包含：应用案例展示、统计数据、案例详情等
   =========================================== */

/* ===========================================
   应用示例展示样式
   =========================================== */
.applications-showcase {
    padding: 100px 0;
    background: #ffffff;
}

.application-case {
    margin-bottom: 120px;
    padding: 3rem 0;
}

.case-header {
    text-align: center;
    margin-bottom: 4rem;
}

.case-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.case-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    line-height: 1.6;
}

/* ===========================================
   案例内容布局
   =========================================== */
.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.application-case.reverse .case-content {
    grid-template-columns: 1fr 1fr;
}

.application-case.reverse .case-details {
    order: 1;
}

.application-case.reverse .case-images {
    order: 2;
}

/* ===========================================
   案例图片样式
   =========================================== */
.case-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
}

.case-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-img:hover {
    transform: scale(1.02);
}

.sub-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sub-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.sub-img:hover {
    transform: scale(1.05);
}

/* ===========================================
   案例详情样式
   =========================================== */
.case-details h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.case-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.case-features li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #2c3e50;
    line-height: 1.6;
}

.case-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 0.8rem;
}

/* ===========================================
   统计数据样式
   =========================================== */
.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #e3f2fd);
    border-radius: 8px;
    border: 1px solid #e8f4fd;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* ===========================================
   移动端响应式优化
   =========================================== */
@media (max-width: 768px) {
    .applications-showcase {
        padding: 60px 0;
    }
    
    .application-case {
        margin-bottom: 80px;
        padding: 2rem 0;
    }
    
    .case-header h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .case-subtitle {
        font-size: 1.1rem;
    }
    
    .case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .application-case.reverse .case-details {
        order: 1;
    }
    
    .application-case.reverse .case-images {
        order: 2;
    }
    
    .case-details h3 {
        font-size: 1.5rem;
    }
    
    .case-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sub-images {
        grid-template-columns: 1fr;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .case-header h2 {
        font-size: 1.8rem;
    }
    
    .case-details h3 {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* ===========================================
   视频演示区域样式
   =========================================== */
.video-demo {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-video {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-description {
    text-align: center;
    max-width: 800px;
}

.video-description h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.5rem;
}

.video-description p {
    color: #666;
    line-height: 1.6;
}

/* 视频演示响应式设计 */
@media (min-width: 768px) {
    .video-container {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .video-demo {
        padding: 50px 0;
    }
    
    .demo-video {
        max-width: 100%;
    }
    
    .video-description {
        padding: 0 20px;
    }
}