/* AI工具箱页面样式 */
:root {
    --primary-color: #0066CC;
    --primary-light: rgba(0, 102, 204, 0.1);
    --primary-dark: #004C99;
    --accent-color: #00CC99;
    --text-primary: #333;
    --text-secondary: #666;
}

/* 应用场景区域样式 */
.ai-scenarios {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8f9ff, #fff);
}

.scenarios-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.scenario-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
    overflow: hidden;
}

/* 图标容器样式 */
.scenario-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scenario-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 204, 153, 0.1));
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.scenario-icon i {
    font-size: 2.5rem;
    color: #0066cc;
    position: relative;
    z-index: 1;
}

.scenario-content {
    text-align: center;
}

.scenario-content h3 {
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.scenario-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #0066cc, #00cc99);
}

.scenario-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: #004c99;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* 卡片悬浮效果 */
.scenario-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.1);
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .scenarios-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .scenarios-container {
        grid-template-columns: 1fr;
    }
}

/* 成功案例区域优化 */
.ai-cases {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    padding: 2rem 0;
}

.cases-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0.5rem;
    display: flex;
    transition: all 0.4s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.case-image {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    flex: 1;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.case-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.case-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.stat-label {
    color: var(--text-secondary);
}


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

.fade-in {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.fade-in:nth-child(2) {
    animation-delay: 0.3s;
}

/* 添加粒子效果 */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.tech-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 229, 204, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* AI工具箱头部特殊样式 */
.ai-header {
    height: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 80px;
    background: linear-gradient(135deg, #0a192f 0%, #112240 50%, #1a365d 100%);
    overflow: hidden;
}

.ai-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* 神经网络背景效果 - 降低亮度 */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(rgba(0,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 50px 50px;
    background-position: -25px -25px;
    animation: networkMove 15s linear infinite;
}

@keyframes networkMove {
    0% {
        background-position: -25px -25px;
    }
    100% {
        background-position: -75px -75px;
    }
}

/* 粒子效果 - 降低不透明度 */
#particles-js {
    opacity: 0.3;
}

/* 标题样式 - 柔和渐变 */
.ai-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #64ffda, #63b3ed, #4299e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
    animation: gentleGlow 3s ease-in-out infinite;
}

/* 更柔和的发光动画 */
@keyframes gentleGlow {
    0%, 100% {
        text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
    }
}

/* 副标题打字机效果 - 调整颜色 */
.typing-text {
    border-right: 2px solid rgba(100, 255, 218, 0.7);
    padding-right: 5px;
    animation: blink 0.7s infinite;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* 光晕效果 - 降低强度 */
.ai-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, 
        rgba(100, 255, 218, 0.05) 0%,
        transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ai-header {
        height: 40vh;
    }
    .ai-header .page-title {
        font-size: 2rem;
    }
}
