/* 云计算解决方案页面样式 */
:root {
    --primary-color: #2563EB;
    --gradient-bg: linear-gradient(135deg, #3B82F6, #1D4ED8);
    --dark-bg: #0F172A;  /* 更改为更深的背景色 */
    --card-bg: #1E293B;  /* 与网络安全页面保持一致 */
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
}

/* Hero 区域样式 */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 100px 20px;
    background: transparent;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 40px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 云计算服务部分样式 */
.cloud-services {
    padding: 80px 0;
    background: var(--dark-bg); /* 改为深色背景 */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.service-card {
    background: #1E293B;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    height: 100%;  /* 确保卡片高度一致 */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);  /* 使用主题蓝色 */
    margin-bottom: 1.5rem;
    text-align: center;
    transition: color 0.3s ease;  /* 添加颜色过渡效果 */
}

.service-icon img {
    width: 2rem;
    height: 2rem;
    /* 统一的 SVG 图标颜色滤镜 */
    filter: invert(47%) sepia(82%) saturate(1099%) hue-rotate(175deg) brightness(101%) contrast(101%);
}

/* 卡片悬停时图标颜色变化 */
.service-card:hover .service-icon {
    color: #60A5FA;  /* 悬停时稍微变亮 */
}

.service-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 客户案例部分样式 */
.customer-cases {
    padding: 80px 0;
    background: var(--dark-bg); /* 改为深色背景，替换原来的 #f8fafc */
}

.cases-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.case-card {
    background: #1E293B;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.case-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.case-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 标题样式 */
.section-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
}

/* 网格布局 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

/* 调整容器背景和内容颜色 */
.container {
    background: transparent;  /* 移除容器背景色 */
    color: var(--text-primary);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 20px;
    }

    .case-card {
        padding: 30px;
    }

    .case-title {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
