/* 服务详情页面样式 */
#service-detail {
    display: none;
}

#service-detail.active {
    display: block !important;
}

.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.service-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.back-button {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(-3px);
}

.service-detail-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
}

.service-detail-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-height: 400px;
}

.service-detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    text-indent: 2em; /* 首行缩进2个字符 */
    text-align: justify; /* 两端对齐 */
    text-justify: inter-ideograph; /* 中文优化 */
}

/* 列表型要点标题（含冒号）紧跟列表，取消大间距与首行缩进 */
.service-detail-content p.service-point-heading {
    margin-bottom: 4px;
    text-indent: 0;
    font-weight: 600;
    line-height: 1.6;
    color: #222;
}

/* 要点列表整体样式与间距 */
.service-detail-content ul.service-points {
    margin: 0 0 22px 2em; /* 与普通段落对齐（段落首行缩进2em） */
    padding: 0;
    list-style: none; /* 改为自定义圆点 */
}

.service-detail-content ul.service-points li {
    position: relative;
    margin: 0 0 8px 0;
    padding: 8px 12px 8px 14px;
    line-height: 1.65;
    color: #333;
    text-indent: 0;
    text-align: justify;
    text-justify: inter-ideograph;
    background: #fafafa;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

/* 去除复杂圆点与悬停动效，保持简洁 */

/* 最后一个列表后如果紧跟标题再出现，留出稍小间距 */
.service-detail-content ul.service-points:last-child {
    margin-bottom: 12px;
}

.coming-soon {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 1px dashed var(--primary-color);
}

.coming-soon h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.coming-soon p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-detail-container {
        padding: 15px;
    }
    
    .service-detail-title {
        font-size: 1.6rem;
    }
    
    .service-detail-content {
        padding: 20px;
    }
    
    .back-button {
        font-size: 13px;
        padding: 8px 16px;
    }
}
