/* 统一的服务详情页面样式 */

/* 基础容器样式 */
.service-detail-page {
    width: 100%;
}

/* Hero区域样式 */
.service-detail-page .hero {
    background: linear-gradient(to bottom, #dbeafe, #bfdbfe);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 20px;
}

.service-detail-page .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.service-detail-page .hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #4b5563;
}

/* 内容区域样式 */
.service-detail-page .content {
    padding: 6rem 0 4rem;
    background-color: #fff;
}

.service-detail-page .content .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 卡片样式 */
.card {
    background-color: #f3f4f6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card h3 {
    color: #1e40af;
    margin-bottom: 1.5rem;
}

/* 特性列表样式 */
.feature-list {
    list-style-type: none;
    padding-left: 0;
}

.feature-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.feature-list li::before {
    content: '✓';
    color: #10b981;
    position: absolute;
    left: 0;
}

/* 技术栈样式 */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background-color: #e0f2fe;
    color: #0369a1;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

/* 开发流程样式 */
.process-list {
    padding-left: 20px;
}

.process-list li {
    margin-bottom: 10px;
}

/* 应用场景样式 - 统一网格布局 */
.scenarios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.scenario-item {
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    transition: transform 0.3s ease;
}

.scenario-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.scenario-item h4 {
    color: #1e40af;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.scenario-item p {
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* 案例研究样式 */
.case-studies {
    display: grid;
    gap: 20px;
}

.case-study {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 15px;
}

.case-study:last-child {
    border-bottom: none;
}

.case-study h4 {
    color: #3b82f6;
    margin-bottom: 5px;
}

/* 优势展示样式 */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.advantage-item {
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.advantage-item h4 {
    color: #1e40af;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.advantage-item p {
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* CTA卡片样式 */
.cta-card {
    background: linear-gradient(to right, #3b82f6, #4f46e5);
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.cta-card h3 {
    margin-top: 0;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: white;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-secondary:hover {
    background-color: #eff6ff;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-stack {
        justify-content: center;
    }
    
    .scenarios-container {
        grid-template-columns: 1fr;
    }
    
    .advantages {
        grid-template-columns: 1fr;
    }
}
