/* 서비스 상세 페이지 스타일 */
.service-detail {
    padding: 60px 20px;
    background: var(--light-bg);
}

.service-detail .container {
    max-width: 1200px;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #666;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-color);
    font-weight: 600;
}

.service-detail h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
}

.service-detail-content {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-overview,
.service-features,
.service-scope,
.service-process,
.cta-section {
    margin-bottom: 3rem;
}

.service-detail-content h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.service-detail-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.5rem;
}

/* 서비스 특징 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    margin-top: 1.5rem;
}

.feature {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.feature h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* 진단 범위 */
.scope-category {
    margin-bottom: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.scope-category:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 107, 184, 0.1);
}

.scope-category:last-child {
    margin-bottom: 0;
}

.scope-header {
    margin-bottom: 1rem;
}

.scope-header h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scope-tag {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 108, 184, 0.1);
    border-radius: 20px;
}

.scope-description {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.scope-list {
    list-style: none;
    padding: 0.8rem 1.2rem;
    margin: 0;
    background: var(--light-bg);
    border-radius: 5px;
    display: block !important;
    margin-top: 0.8rem;
}

.scope-list li {
    padding: 0.15rem 0 0.15rem 0.8rem;
    color: #666;
    margin-bottom: 0.15rem;
    position: relative;
    line-height: 1.5;
}

.scope-list li:before {
    content: '·';
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.scope-list li:last-child {
    margin-bottom: 0;
}

/* 진행 절차 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.step {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 107, 184, 0.1);
    transform: translateY(-5px);
}

.step h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.step-label {
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/* Step별 배경색 - 단색으로 스텝이 증가함에 따라 진한 파란색으로 */
.step-1 .step-label {
    background: linear-gradient(135deg, rgba(0, 108, 184, 0.3) 0%, rgba(0, 108, 184, 0.5) 100%);
    color: white;
    padding: 0.3rem 0.5rem;
}

.step-2 .step-label {
    background: linear-gradient(135deg, rgba(0, 108, 184, 0.4) 0%, rgba(0, 108, 184, 0.6) 100%);
    color: white;
    padding: 0.3rem 0.5rem;
}

.step-3 .step-label {
    background: linear-gradient(135deg, rgba(0, 108, 184, 0.5) 0%, rgba(0, 108, 184, 0.7) 100%);
    color: white;
    padding: 0.3rem 0.5rem;
}

.step-4 .step-label {
    background: linear-gradient(135deg, rgba(0, 108, 184, 0.65) 0%, rgba(0, 108, 184, 0.8) 100%);
    color: white;
    padding: 0.3rem 0.5rem;
}

.step-5 .step-label {
    background: linear-gradient(135deg, rgba(0, 108, 184, 0.8) 0%, rgba(0, 108, 184, 0.95) 100%);
    color: white;
    padding: 0.3rem 0.5rem;
}

.step-6 .step-label {
    background: linear-gradient(135deg, rgba(0, 108, 184, 0.95) 0%, rgba(0, 108, 184, 1) 100%);
    color: white;
    padding: 0.3rem 0.5rem;
}

/* ASM 페이지 전용 스타일 */
.asm-process-flow {
    margin-bottom: 3rem;
}

.flow-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: rgba(0, 108, 184, 0.03);
    border-radius: 10px;
}

.flow-item {
    text-align: center;
    flex: 1;
}

.flow-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1e88e5 0%, #006cb8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 5px 15px rgba(0, 108, 184, 0.3);
    transition: all 0.3s ease;
}

.flow-item:hover .flow-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 108, 184, 0.4);
}

.flow-item:hover .flow-icon svg {
    stroke-width: 1.5;
    filter: drop-shadow(0 0 8px rgba(0, 108, 184, 0.6)) drop-shadow(0 0 12px rgba(0, 108, 184, 0.4));
}

.flow-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: bold;
    flex: 0 0 30px;
    text-align: center;
}

.asm-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 2rem;
}

.asm-detail-box {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.asm-detail-box:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 107, 184, 0.1);
    transform: translateY(-5px);
}

.detail-icon {
    font-size: 2.5rem;
    text-align: center;
}

.asm-detail-box h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.detail-section p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA 섹션 */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 107, 184, 0.1) 0%, rgba(0, 107, 184, 0.05) 100%);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 107, 184, 0.2);
}

.cta-section h2 {
    border: none;
    padding: 0;
    margin-bottom: 0.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .service-detail {
        padding: 40px 20px;
    }

    .service-detail h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .service-detail-content {
        padding: 1.5rem;
    }

    .service-detail-content h2 {
        font-size: 1.4rem;
    }

    .service-detail-content p {
        font-size: 0.85rem;
        line-height: 1.8;
        color: #555;
        margin-bottom: 0.5rem;
    }

    .feature {
        background: var(--light-bg);
        padding: 1rem;
        border-radius: 8px;
        border-left: 4px solid var(--secondary-color);
    }

    .feature p {
        font-size: 0.8rem;
        color: #666;
        margin: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .scope-category {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .scope-header h3 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .scope-tag {
        margin-top: 0.3rem;
    }

    .scope-description {
        font-size: 0.9rem;
    }

    .scope-list li {
        padding: 0.15rem 0 0.15rem 0.8rem;
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }

    .scope-list li:before {
        left: 0;
        font-size: 1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .step {
        padding: 1.2rem;
    }

    .step p {
        font-size: 0.8rem;
        letter-spacing: -0.5px;
    }

    .cta-section {
        padding: 1rem 1rem 2rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 0.5rem;
    }

    .cta-section p {
        font-size: 0.8rem;
        line-height: 1.8;
        color: #555;
        margin-bottom: 1.5rem;
    }

    /* ASM 모바일 반응형 */
    .flow-icons {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    .asm-details-grid {
        grid-template-columns: 1fr;
    }

    .asm-detail-box {
        padding: 1.5rem;
    }
}
