/* it.html page-only styles */
.banner_area .banner_inner .banner_content {
    margin-top: 85px;
}

.banner_area .section-head-square {
    width: 200px;
    padding: 3rem 0 3rem 3rem;
}

.banner_area .section-head-square > .head-title,
.banner_area .banner_inner .banner_content h2,
.banner_area .head-title {
    width: 640px;
    font-size: 28px !important;
    line-height: 1.45 !important;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 0;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.infra-panel {
    background: #fff;
    border: 1px solid rgba(217, 226, 236, 0.95);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(36, 56, 77, 0.06);
    overflow: hidden;
    height: 100%;
}

.infra-panel-head {
    color: #fff;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    padding: 22px 18px;
    letter-spacing: -0.3px;
}

.infra-panel-head-blue {
    background: linear-gradient(135deg, #27486b, #6d89a6);
}

.infra-panel-body {
    padding: 28px 24px 26px;
    min-height: 100%;
}

.infra-layout {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    align-items: center;
}

.infra-side-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.infra-side-item {
    background: #e6e2d5;
    color: #333;
    border-radius: 12px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    padding: 8px 10px;
    word-break: keep-all;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}

.infra-note {
    margin-top: 22px;
    color: var(--text-sub);
    line-height: 1.8;
    word-break: keep-all;
    font-size: 15px;
}

.infra-hex-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
}

.infra-hex {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(
        #f8a4c2 0deg 60deg,
        #f2b038 60deg 120deg,
        #c7de25 120deg 180deg,
        #67c6d4 180deg 240deg,
        #4d99d9 240deg 300deg,
        #9b7ac7 300deg 360deg
    );
    box-shadow: inset 0 0 0 18px rgba(255,255,255,0.28), 0 18px 34px rgba(36, 56, 77, 0.10);
}

.infra-hex::before {
    content: "";
    position: absolute;
    inset: 63px;
    background: #fff;
    clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

.infra-hex-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 800;
    color: #222;
    letter-spacing: -0.4px;
}

.infra-hex-label {
    position: absolute;
    z-index: 3;
    font-size: 16px;
    font-weight: 700;
    color: #3b3b3b;
    letter-spacing: -0.2px;
}

.label-simple { top: 44px; left: 82px; }
.label-cost { top: 42px; right: 64px; }
.label-effect { top: 132px; right: 18px; }
.label-efficient { bottom: 46px; right: 74px; }
.label-economic { bottom: 44px; left: 74px; }
.label-opt { top: 136px; left: 18px; }

.migration-steps {
    position: relative;
    min-height: 290px;
    display: flex;
    align-items: flex-start;
    padding-right: 52px;
}

.migration-steps::after {
    content: "";
    position: absolute;
    right: 0;
    top: 24px;
    width: 120px;
    height: 235px;
    background: linear-gradient(180deg, rgba(245,200,180,0.45), rgba(244,173,120,0.55));
    clip-path: polygon(26% 0, 74% 0, 74% 75%, 100% 75%, 50% 100%, 0 75%, 26% 75%);
    z-index: 0;
    filter: drop-shadow(0 8px 18px rgba(244,173,120,0.18));
}

.steps-list {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-row {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px;
    align-items: center;
}

.step-no {
    height: 46px;
    border-radius: 8px 0 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #c48e93, #d6a3a7);
    clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%);
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.step-text {
    min-height: 46px;
    border: 1px dashed rgba(196, 142, 147, 0.25);
    background: linear-gradient(180deg, #fffafa, #fffdfd);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #444;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    word-break: keep-all;
}

/* DR 이전 영역 전용 레이아웃 */
.infra-layout-dr {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.infra-side-list-dr {
    gap: 12px;
}

.infra-side-item-dr {
    min-height: 58px;
    font-size: 16px;
    padding: 10px 12px;
}

.migration-steps-dr {
    padding-right: 0;
    min-height: auto;
}

.migration-steps-dr::after {
    display: none;
}

.steps-list-dr {
    gap: 10px;
}

.step-row-dr {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
}

.step-no-dr {
    height: 44px;
    font-size: 24px;
    clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%);
}

.step-text-dr {
    min-height: 44px;
    padding: 0 20px;
    font-size: 16px;
}

.infra-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.infra-feature-card {
    background: #fff;
    border: 1px solid rgba(217, 226, 236, 0.95);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 10px 24px rgba(36, 56, 77, 0.05);
    height: 100%;
}

.infra-feature-card h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.infra-feature-card p {
    color: var(--text-sub);
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
    word-break: keep-all;
}

@media (max-width: 1199px) {
    .infra-grid,
    .infra-feature-grid {
        grid-template-columns: 1fr;
    }

    .infra-layout {
        grid-template-columns: 1fr;
    }

    .infra-side-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .infra-layout-dr {
        grid-template-columns: 1fr;
    }

    .infra-side-list-dr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .banner_area .section-head-square > .head-title,
    .banner_area .banner_inner .banner_content h2,
    .banner_area .head-title {
        width: 100%;
        font-size: 24px !important;
        line-height: 1.45 !important;
    }

    .content-card h2,
    .infra-panel-head {
        font-size: 24px;
    }

    .migration-steps {
        padding-right: 0;
    }

    .migration-steps::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .banner_area .section-head-square {
        width: 160px;
        padding: 2rem 0 2rem 2rem;
        margin: 0 auto;
    }

    .banner_area .section-head-square > .head-title,
    .banner_area .banner_inner .banner_content h2,
    .banner_area .head-title {
        width: 100%;
        font-size: 20px !important;
        line-height: 1.5 !important;
    }

    .infra-side-list {
        grid-template-columns: 1fr;
    }

    .infra-side-list-dr {
        grid-template-columns: 1fr;
    }

    .step-row {
        grid-template-columns: 92px 1fr;
        gap: 10px;
    }

    .step-no {
        font-size: 22px;
        height: 42px;
    }

    .step-text {
        min-height: 42px;
        font-size: 15px;
        padding: 0 12px;
    }

    .step-row-dr {
        grid-template-columns: 84px 1fr;
        gap: 8px;
    }

    .step-no-dr {
        font-size: 20px;
        height: 40px;
    }

    .step-text-dr {
        min-height: 40px;
        font-size: 14px;
        padding: 0 12px;
    }

    .infra-hex {
        width: 250px;
        height: 250px;
    }

    .infra-hex::before {
        inset: 46px;
    }

    .infra-hex-center {
        font-size: 20px;
    }

    .infra-hex-label {
        font-size: 14px;
    }

    .label-simple { top: 34px; left: 63px; }
    .label-cost { top: 34px; right: 52px; }
    .label-effect { top: 111px; right: 10px; }
    .label-efficient { bottom: 38px; right: 56px; }
    .label-economic { bottom: 38px; left: 54px; }
    .label-opt { top: 112px; left: 10px; }
}