/* 成功案例页面专用样式 */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* 案例概览统计区域 */
.cases-overview {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* 案例区域通用样式 */
.case-section {
    padding: 80px 0;
    position: relative;
}

.case-section:nth-child(even) {
    background: #f8f9fa;
}

.case-header {
    text-align: center;
    margin-bottom: 4rem;
}

.case-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-icon:hover {
    transform: scale(1.1);
}

.case-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.case-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.case-details {
    space-y: 2rem;
}

.detail-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
}

.detail-item strong {
    color: #667eea;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.8rem;
}

.detail-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.detail-item ul {
    margin: 0.8rem 0 0 0;
    padding-left: 1.2rem;
}

.detail-item li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
}

.detail-item li::marker {
    color: #667eea;
}

.case-image {
    text-align: center;
}

.case-result-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-result-image:hover {
    transform: scale(1.05);
}

/* 特定行业案例的颜色主题 */
.government-cases .detail-item {
    border-left-color: #e74c3c;
}

.government-cases .case-header h2 {
    color: #e74c3c;
}

.military-cases .detail-item {
    border-left-color: #2ecc71;
}

.military-cases .case-header h2 {
    color: #2ecc71;
}

.finance-cases .detail-item {
    border-left-color: #f39c12;
}

.finance-cases .case-header h2 {
    color: #f39c12;
}

.education-cases .detail-item {
    border-left-color: #9b59b6;
}

.education-cases .case-header h2 {
    color: #9b59b6;
}

.medical-cases .detail-item {
    border-left-color: #1abc9c;
}

.medical-cases .case-header h2 {
    color: #1abc9c;
}

/* 技术优势展示 */
.tech-advantages {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tech-advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.advantage-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.advantage-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.advantage-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.advantage-icon {
    background: white;
    color: #667eea;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.tech-comparison-chart {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* 客户反馈 */
.customer-feedback {
    padding: 80px 0;
    background: #f8f9fa;
}

.customer-feedback h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.feedback-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #667eea;
    font-family: serif;
}

.feedback-card:hover {
    transform: translateY(-5px);
}

.feedback-content {
    margin-bottom: 2rem;
}

.feedback-content p {
    font-style: italic;
    line-height: 1.6;
    color: #555;
    font-size: 1.1rem;
}

.feedback-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    color: #333;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 数据展示 */
.data-showcase {
    padding: 80px 0;
    background: white;
}

.data-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.data-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.data-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.data-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.data-card:hover::before {
    transform: rotate(45deg) translate(10px, 10px);
}

.data-icon {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.data-img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.data-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.data-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.data-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* 客户Logo墙 */
.client-logos {
    padding: 80px 0;
    background: #f8f9fa;
}

.client-logos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.client-logo {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover .client-logo {
    filter: grayscale(0%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .overview-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-header h2 {
        font-size: 2rem;
    }
    
    .advantages-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantage-list {
        grid-template-columns: 1fr;
    }
    
    .feedback-grid {
        grid-template-columns: 1fr;
    }
    
    .data-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .case-section {
        padding: 60px 0;
    }
    
    .tech-advantages {
        padding: 60px 0;
    }
    
    .customer-feedback {
        padding: 60px 0;
    }
    
    .data-showcase {
        padding: 60px 0;
    }
    
    .client-logos {
        padding: 60px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-section {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动动画 */
.stat-item,
.feedback-card,
.data-card,
.logo-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.feedback-card:nth-child(1) { animation-delay: 0.1s; }
.feedback-card:nth-child(2) { animation-delay: 0.2s; }
.feedback-card:nth-child(3) { animation-delay: 0.3s; }

.data-card:nth-child(1) { animation-delay: 0.1s; }
.data-card:nth-child(2) { animation-delay: 0.2s; }
.data-card:nth-child(3) { animation-delay: 0.3s; }
.data-card:nth-child(4) { animation-delay: 0.4s; }