/* 데이터 마케팅 페이지 스타일 */

/* 비주얼 영역 */
.to-visual-container {
    background: url("/images/to/to-visual-data-marketing-5c20e311ad2e256fa21b6da315731172.jpg") no-repeat center center / cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.to-visual-title {
    color: #fff;
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 32px;
    text-align: center;
    max-width: 650px;
    width: 100%;
    word-break: keep-all;
    line-height: 1.5;
}

/* 공통 컨테이너 */
.to-container {
    padding: 80px 0;
}

.to-container.grey {
    background-color: #F4F6F8;
}

.to-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.to-inner-title {
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 36px;
    color: #222;
    text-align: center;
    margin-bottom: 50px;
}

.to-inner-title.white {
    color: #fff;
}

.to-inner-title-container {
    text-align: center;
    margin-bottom: 50px;
}

.to-inner-desc {
    font-size: 18px;
    color: #666;
    margin-top: 15px;
}

/* 서비스 소개 */
.to-introduction-list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.to-introduction-item {
    flex: 1;
    justify-content: center;
    color: #fff;
    border-radius: 20px;
    padding: 70px 50px;
    text-align: center;
    min-height: 365px;
    box-sizing: border-box;
    word-break: keep-all;
    display: flex;
    flex-direction: column;
}

.to-introduction-item.datamarketing {
    background: #268D6E url("/images/to/to-datamarketing-datamarketing-63f3fbee894341d91e9dd370c426b88a.png") no-repeat center center / cover;
}

.to-introduction-item.ma {
    background: #268D6E url("/images/to/to-datamarketing-ma-16d25c1a2e867e378f9b67bd10a3cc27.png") no-repeat center center / cover;
}

.to-introduction-item.platform {
    background: #268D6E url("/images/to/to-datamarketing-platform-eaf495d05932aa30050e3c1b8292b409.png") no-repeat center center / cover;
}

.to-introduction-title {
    font-weight: 600;
    font-size: 30px;
    white-space: pre-line;
    flex: 1;
    line-height: 1.4;
}

.to-introduction-desc {
    font-size: 18px;
    white-space: pre-line;
    line-height: 1.5;
}

/* 고객 활용 사례 */
.to-case-list {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0;
}

.to-case-item {
    background: #fff;
    box-shadow: 0 0 20px #CCDDEC;
    border-radius: 20px;
    padding: 30px 40px 30px 130px;
    box-sizing: border-box;
    position: relative;
}

.to-case-item::before {
    position: absolute;
    top: 30px;
    left: 40px;
    display: block;
    width: 66px;
    height: 66px;
    content: '';
}

.to-case-item.life::before {
    background: url("../images/to/icon/to-icon-dk-life.png") no-repeat center center / contain;
}

.to-case-item.property::before {
    background: url("../images/to/icon/to-icon-dk-property.png") no-repeat center center / contain;
}

.to-case-item.bank::before {
    background: url("../images/to/icon/to-icon-dk-bank.png") no-repeat center center / contain;
}

.to-case-item.mind::before {
    background: url("../images/to/icon/to-icon-dk-mind.png") no-repeat center center / contain;
}

.to-case-item.mindapp::before {
    background: url("../images/to/icon/to-icon-dk-mindapp.png") no-repeat center center / contain;
}

.to-case-item.english::before {
    background: url("../images/to/icon/to-icon-dk-english.png") no-repeat center center / contain;
}

.to-case-item.eatapp::before {
    background: url("../images/to/icon/to-icon-dk-eatapp.png") no-repeat center center / contain;
}

.to-case-item.brand::before {
    background: url("../images/to/icon/to-icon-dk-brand.png") no-repeat center center / contain;
}

.to-case-title {
    font-size: 18px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 600;
}

.to-case-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.to-case-detail-item {
    position: relative;
    padding-left: 8px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.to-case-detail-item::before {
    position: absolute;
    top: 9px;
    left: 0;
    display: block;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: #666;
    content: '';
}

/* 자동 프로세스 */
.to-process-desc-list {
    margin-bottom: 50px;
    padding-left: 20px;
}

.to-process-desc-item {
    font-size: 16px;
    color: #222;
    list-style: decimal;
    margin-bottom: 10px;
    line-height: 1.6;
}

.to-process-image-container {
    text-align: center;
}

.to-process-image-container img {
    max-width: 100%;
    height: auto;
}

/* 타겟팅 활용 예시 */
.to-example-container {
    background: url("/images/to/to-dk-background-example-ae8e0e669447dea608dbbe5d8297d482.png") no-repeat center center / cover;
    padding: 80px 0;
}

.to-example-list {
    display: flex;
    gap: 20px;
    margin: 0;
}

.to-example-item {
    background-color: #fff;
    border-radius: 20px;
    flex: 1;
    padding: 30px 40px;
    box-sizing: border-box;
}

.to-example-title {
    text-align: center;
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 20px;
    color: #222;
    padding-bottom: 20px;
    border-bottom: 1px solid #D8D8D8;
    margin-bottom: 30px;
}

.to-example-contents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.to-example-contents-item:not(:last-child) {
    margin-bottom: 15px;
}

.to-example-contents-title {
    font-weight: normal;
    font-size: 16px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.to-example-contents-item:not(:last-child) .to-example-contents-title ~ .to-example-contents-desc {
    margin: 0 0 10px 10px;
}

.to-example-contents-desc {
    font-size: 16px;
    color: #222;
    position: relative;
    margin-left: 10px;
    padding-left: 10px;
    line-height: 1.5;
}

.to-example-contents-item:not(:last-child) .to-example-contents-desc {
    margin-bottom: 32px;
}

.to-example-contents-desc::before {
    position: absolute;
    top: 9px;
    left: 0;
    display: block;
    width: 2px;
    height: 2px;
    background-color: #222;
    content: '';
}

/* 타겟팅 활용 예시 #2 */
.to-example-box-container {
    margin: 0;
}

.to-example-box-item {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #D8D8D8;
    box-sizing: border-box;
}

.to-example-box-item:not(:last-child) {
    margin-bottom: 20px;
}

.to-example-box-title {
    text-align: center;
    padding: 25px;
    box-sizing: border-box;
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 18px;
    color: #222;
    background: #F4F6F8;
    border-bottom: 1px solid #D8D8D8;
}

.to-example-box-contents {
    padding: 50px 135px;
    box-sizing: border-box;
}

.to-example-box-contents-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.to-example-box-contents-item {
    flex: 1;
}

.to-example-box-contents-title {
    font-weight: normal;
    font-size: 18px;
    color: #222;
    margin-bottom: 8px;
    display: block;
}

.to-example-box-contents-title::before {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
    content: '';
}

.to-example-box-contents-title.night::before {
    background: url("../images/to/icon/to-icon-dk-night.svg") no-repeat center center / contain;
}

.to-example-box-contents-title.day::before {
    background: url("../images/to/icon/to-icon-dk-day.svg") no-repeat center center / contain;
}

.to-example-box-contents-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.to-example-box-contents-result {
    text-align: center;
    color: #268D6E;
    font-size: 16px;
}

.to-example-box-contents-result::before {
    display: block;
    width: 450px;
    height: 90px;
    margin: 8px auto 15px;
    background: url("/images/to/to-dk-arrow-51b662d0a7b8185debc65437f14daf7b.png") no-repeat center center / contain;
    content: '';
}

.to-example-box-contents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.to-example-box-contents-list-item:not(:last-child) {
    margin-bottom: 20px;
}

.to-example-box-contents-list-title {
    font-weight: normal;
    font-size: 16px;
    color: #222;
    display: block;
    margin-bottom: 5px;
}

.to-example-box-contents-list-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 문의 버튼 */
.to-button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.to-button-link {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.to-button-link.primary {
    background-color: #268D6E;
    color: #fff;
}

.to-button-link.primary:hover {
    background-color: #1f7459;
}

/* 접근성 숨김 */
.blind {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 반응형 */
@media (max-width: 1024px) {
    .to-introduction-list {
        flex-direction: column;
    }

    .to-case-list {
        grid-template-columns: 1fr;
    }

    .to-example-list {
        flex-direction: column;
    }

    .to-example-box-contents {
        padding: 30px 20px;
    }

    .to-example-box-contents-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .to-visual-title {
        font-size: 24px;
    }

    .to-inner-title {
        font-size: 28px;
    }

    .to-introduction-title {
        font-size: 24px;
    }

    .to-introduction-desc {
        font-size: 16px;
    }

    .to-case-item {
        padding: 30px 20px 30px 90px;
    }

    .to-case-item::before {
        width: 50px;
        height: 50px;
        left: 20px;
    }
}

