/* service-details.css */
/* 服务详情页总体样式 */
.service-detail {
    padding: 4rem 10%;
    margin-bottom: 4rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 2rem;
}

.service-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #6c63ff, #ff6584);
    border-radius: 2px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6c63ff, #4a44b5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-detail h1 {
    font-size: 2.5rem;
    color: #2a265f;
    margin-bottom: 0.5rem;
}

.service-tagline {
    font-size: 1.2rem;
    color: #6c63ff;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务内容区域 */
.service-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-description, .service-options {
    flex: 1;
}

.service-description h2, .service-options h2 {
    font-size: 1.8rem;
    color: #2a265f;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0f0f7;
}

.service-description p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

/* 服务特性网格 */
.service-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: #f9f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(to bottom, #ffffff, #f9f9ff);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.1);
}

.feature-card i {
    font-size: 2rem;
    color: #6c63ff;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* 服务选项卡片 */
.option-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.option-card:hover {
    border-color: #6c63ff;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.1);
}

.option-card h3 {
    font-size: 1.4rem;
    color: #2a265f;
    margin-bottom: 1rem;
}

.option-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.option-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #f0f0f7;
    display: flex;
    align-items: center;
}

.option-card ul li:before {
    content: '✓';
    color: #6c63ff;
    margin-right: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6584;
    text-align: center;
    margin-top: 1rem;
}

.option-card.premium {
    border: 2px solid #6c63ff;
    position: relative;
}

.option-card.premium:before {
    content: '推荐';
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ff6584;
    color: white;
    padding: 0.3rem 2.5rem;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: bold;
}

/* 服务流程 */
.service-process, .service-tech, .service-workflow {
    margin: 3rem 0;
}

.service-process h2, .service-tech h2, .service-workflow h2 {
    text-align: center;
    font-size: 2rem;
    color: #2a265f;
    margin-bottom: 2rem;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    padding: 1.5rem;
    background: #f9f9ff;
    border-radius: 10px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c63ff, #4a44b5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2a265f;
}

/* 技术支持网格 */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f9f9ff;
    border-radius: 10px;
    transition: transform 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.tech-item i {
    font-size: 2.5rem;
    color: #6c63ff;
    margin-bottom: 1rem;
}

.tech-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

/* 设计工作流程 */
.workflow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.workflow-step {
    text-align: center;
    min-width: 150px;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #6c63ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.connector {
    flex: 1;
    height: 2px;
    background: #f0f0f7;
    min-width: 40px;
    max-width: 80px;
}

/* 案例展示 */
.service-gallery {
    margin-top: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 200px;
    background: #f0f0f7;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* CTA区域 */
.service-cta {
    background: linear-gradient(135deg, #4a44b5, #2a265f);
    padding: 5rem 10%;
    text-align: center;
    margin: 4rem 0;
    border-radius: 15px;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #4a44b5;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* 响应式设计 */
@media (max-width: 900px) {
    .service-content {
        flex-direction: column;
    }
    
    .workflow-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .connector {
        width: 2px;
        height: 40px;
        min-width: 0;
        margin: 0 auto;
    }
    
    .service-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}