/* --- UTM 페이지 - UTM의 필요성 섹션 스타일 --- */
.utm-necessity-list {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color); /* 첫 항목 위 구분선 */
}

.utm-necessity-item {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color); /* 항목 간 구분선 */
    align-items: flex-start; /* 상단 정렬 */
}

.utm-necessity-item .item-number {
    font-size: 2.8rem; /* 번호 글자 크기 */
    font-weight: 700;
    color: #475EB9; /* 연한 회색 (스크린샷 참고) */
    line-height: 1;
    margin-right: 1.5rem;
    flex-shrink: 0;
    width: 60px; /* 번호 영역 너비 고정 (정렬을 위함) */
    text-align: center; /* 번호 자체는 중앙 정렬 */
}

.utm-necessity-item .item-text {
    flex-grow: 1;
}

.utm-necessity-item .item-text p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem; /* 설명 텍스트 크기 */
    color: var(--dark-text-color);
    line-height: 1.7;
}
.utm-necessity-item .item-text p:last-child {
    margin-bottom: 0;
}


.item-detail-box {
    background-color: var(--white-color); /* 스크린샷의 흰색 박스 배경 */
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.item-detail-box p {
    font-size: 0.9rem !important; /* 내부 p태그 폰트 크기 일관성 */
    color: var(--light-text-color) !important;
}
.item-detail-box strong {
    color: var(--dark-text-color);
}

.item-detail-box ol {
    padding-left: 1.5rem; /* 기본 ol 패딩보다 조금 더 */
    margin-top: 0.5rem;
}
.item-detail-box ol li {
    margin-bottom: 0.5rem;
}

/* UTM 서비스 도입 CTA 배너 */
.utm-cta-banner {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}
.utm-cta-banner .btn-lg { /* 기존 btn-lg 스타일 활용 또는 커스텀 */
    /* background-color: var(--primary-color); 스크린샷은 파란색 버튼 */
}
.utm-cta-caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--light-text-color);
}

/* 서비스 구성도 섹션의 h3 제목에 대한 하단 마진 (필요시) */
#service-diagram .title-decorated {
    margin-bottom: 2rem;
}


/* 반응형 (모바일): UTM 필요성 항목 */
@media (max-width: 768px) {
    .utm-necessity-item {
        padding: 1rem 0;
    }
    .utm-necessity-item .item-number {
        font-size: 2rem;
        margin-right: 1rem;
        width: 40px;
    }
    .utm-necessity-item .item-text p {
        font-size: 0.95rem;
    }
    .item-detail-box {
        padding: 1rem;
        font-size: 0.85rem;
    }
    .item-detail-box p {
         font-size: 0.85rem !important;
    }
    .item-detail-box ol {
        padding-left: 1.2rem;
    }

    .utm-cta-banner .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* --- WAF 페이지 - 비교 테이블 스타일 --- */
.comparison-table-wrapper {
    overflow-x: auto; /* 모바일에서 테이블이 넘칠 경우 가로 스크롤 */
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem; /* 제목과의 간격 */
    font-size: 0.9rem; /* 테이블 내 기본 폰트 크기 */
    border: 1px solid var(--border-color); /* 테이블 전체 외곽선 */
}

.comparison-table th,
.comparison-table td {
    border: 1px solid var(--border-color); /* 셀 테두리 */
    padding: 0.8rem 1rem; /* 셀 내부 여백 */
    text-align: left;
    vertical-align: middle; /* 내용 수직 중앙 정렬 */
    line-height: 1.6;
}

.comparison-table thead th {
    font-weight: 700; /* 헤더 텍스트 굵게 */
    color: var(--dark-text-color); /* 기본 헤더 텍스트 색상 */
    text-align: center;
}

.comparison-table th.header-gray {
    background-color: #F0F3F5; /* 스크린샷의 연한 회색 배경 */
}

.comparison-table th.header-blue {
    background-color: var(--primary-color); /* 파란색 배경 */
    color: var(--white-color); /* 흰색 텍스트 */
}

.comparison-table tbody td.category-cell { /* 비교 항목 셀 */
    background-color: #F8F9FA; /* 약간 다른 연한 회색 배경 */
    font-weight: 500;
    text-align: center; /* 스크린샷에서는 중앙 정렬로 보임 */
    width: 25%; /* 첫 번째 열 너비 고정 (조절 가능) */
}

.comparison-table tbody td {
    color: var(--light-text-color);
}

/* 모바일에서 테이블 가독성 향상 (선택적) */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.85rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.5rem;
         /* 모바일에서는 모든 셀 내용을 왼쪽 정렬로 통일할 수도 있음 */
        /* text-align: left; */
    }
    .comparison-table tbody td.category-cell {
        width: 30%; /* 모바일에서 첫 번째 열 너비 약간 늘림 */
    }
}

/* --- WAF 페이지 - DeepFinder 소개 섹션 --- */
#deepfinder-intro .intro-text p { /* 딥파인더 소개 문단 스타일 (기존 스타일 활용 또는 신규 정의) */
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
#deepfinder-intro .intro-text p:last-child {
    margin-bottom: 0;
}

.deepfinder-diagram-wrapper { /* 다이어그램 이미지들을 감싸는 래퍼 */
    margin-bottom: 3rem; /* 각 다이어그램 이미지 사이의 하단 여백 */
    display: flex;
    justify-content: center;
}
.deepfinder-diagram-wrapper:last-child {
    margin-bottom: 0; /* 마지막 이미지의 하단 여백 제거 */
}

