/* 
   AI资讯页面样式
   AI News Page Styles
   青色主题配色
*/

/* 头部横幅 */
.ai-news-header {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    padding: 60px 0;
    margin-top: -30px;
}

.ai-news-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.ai-news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.ai-news-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 页面介绍区域 */
.cases-intro-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.cases-intro-section.section-padding {
    padding: 40px 0 30px;
}

.cases-intro-section + .cases-list-section.section-padding {
    padding: 40px 0 60px;
}

.intro-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 45px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
}

.intro-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.4);
}

.intro-icon i {
    font-size: 3rem;
    color: #ffffff;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
    text-align: left;
}

/* 统计数据区域 */
.stats-box {
    margin-top: 28px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    border-radius: 15px;
    border: 2px solid rgba(8, 145, 178, 0.15);
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 5px;
}

/* 列表区域 */
.cases-list-section {
    background: #f9fafb;
}

.cases-list-section.section-padding {
    padding: 50px 0 80px;
}

/* 侧边栏 - 青色主题 */
.cases-sidebar {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    padding: 20px 25px;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.sidebar-menu {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: #374151;
    text-decoration: none;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.sidebar-item:hover {
    background: #f0f9ff;
    color: #0891b2;
}

.sidebar-item.active {
    background: linear-gradient(90deg, rgba(8, 145, 178, 0.1) 0%, rgba(8, 145, 178, 0.05) 100%);
    color: #0891b2;
    border-left-color: #0891b2;
    font-weight: 600;
}

.sidebar-item i {
    width: 20px;
    text-align: center;
    color: #6b7280;
}

.sidebar-item.active i {
    color: #0891b2;
}

/* 新闻卡片 - 青色主题 */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(8, 145, 178, 0.15) !important;
    border-color: #67e8f9;
}

.product-image-wrapper {
    overflow: hidden;
}

.product-image-wrapper img {
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.product-category-badge .badge {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    font-weight: 500;
    padding: 6px 12px;
    font-size: 0.8rem;
}

.product-content {
    background: #ffffff;
}

.product-title {
    font-size: 1.1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: #1f2937;
    transition: color 0.25s ease;
}

.product-title a:hover {
    color: #0891b2;
}

/* 响应式 */
@media (max-width: 991px) {
    .cases-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .ai-news-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .ai-news-header {
        padding: 40px 0 50px;
    }
    
    .ai-news-title {
        font-size: 1.8rem;
    }
    
    .ai-news-subtitle {
        font-size: 1rem;
    }
    
    .intro-card {
        padding: 30px 25px;
    }
    
    .intro-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-box {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        min-width: auto;
    }
}
