/* ********** 첫 화면 (2026 개편) ********** */

.pc_only {
    display: inline;
}

/* ---------- 히어로 ---------- */
.home_hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: #0b1b33;
}

.home_hero_bg {
    position: absolute;
    inset: 0;
    background-image: url(../img/index/main_bg1.png);
    background-size: cover;
    background-position: center;
    animation: home_zoom 12s ease-out 1 both;
}

.home_hero_bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 20, 40, 0.92) 0%, rgba(8, 20, 40, 0.75) 50%, rgba(8, 20, 40, 0.35) 100%);
}

@keyframes home_zoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

.home_hero .wrap {
    position: relative;
    z-index: 1;
    padding-top: 12rem;
    padding-bottom: 10rem;
}

.home_hero_inner {
    max-width: 780px;
}

.home_eyebrow {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #7cc4ff;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
    padding: 0.8rem 1.4rem;
    border: 1px solid rgba(124, 196, 255, 0.4);
    border-radius: 999px;
    animation: ani_up_fade 0.8s 0.2s both;
}

.home_title {
    font-size: 8.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    animation: ani_up_fade 0.8s 0.35s both;
}

.home_sub {
    margin-top: 2.6rem;
    font-size: 2.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    animation: ani_up_fade 0.8s 0.5s both;
}

.home_hero .btn_row {
    animation: ani_up_fade 0.8s 0.65s both;
}

.home_hero .btn {
    height: 5.8rem;
    padding: 0 3.2rem;
    font-size: 1.7rem;
}

.home_proof {
    margin-top: 3.6rem;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: ani_up_fade 0.8s 0.8s both;
}

.home_proof i {
    color: #7cc4ff;
    font-size: 2rem;
}

.home_proof strong {
    color: #fff;
}

@keyframes ani_up_fade {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

.home_hero_scroll {
    position: absolute;
    left: 50%;
    bottom: 3rem;
    width: 2.4rem;
    height: 4rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.2rem;
    transform: translateX(-50%);
    z-index: 1;
}

.home_hero_scroll span {
    position: absolute;
    left: 50%;
    top: 0.6rem;
    width: 0.4rem;
    height: 0.8rem;
    border-radius: 0.2rem;
    background: #fff;
    transform: translateX(-50%);
    animation: home_wheel 1.6s infinite;
}

@keyframes home_wheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 1.4rem); }
}

/* ---------- 숫자 ---------- */
.home_stats {
    margin-top: -6rem;
    position: relative;
    z-index: 2;
    padding-bottom: 4rem;
}

.home_stats .stat {
    box-shadow: 0 16px 40px rgba(11, 27, 51, 0.1);
}

/* ---------- 로고 ---------- */
.home_logos_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.4rem;
}

.home_logos_head .eyebrow {
    margin-bottom: 0;
}

/* ---------- 온라인 대행교정 ---------- */
.home_agency_grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.home_agency_steps {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.agency_step {
    display: flex;
    gap: 1.8rem;
    align-items: flex-start;
    padding: 2.2rem 2.4rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.agency_num {
    flex: 0 0 auto;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: #008afe;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agency_title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.agency_text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

/* ---------- 신뢰 ---------- */
.home_trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.home_trust_list li {
    display: flex;
    gap: 1.8rem;
    align-items: flex-start;
    padding: 2.2rem 0;
    border-bottom: 1px solid #e6e9ef;
}

.home_trust_list li:first-child {
    border-top: 1px solid #e6e9ef;
}

.home_trust_list i {
    flex: 0 0 auto;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 12px;
    background: rgba(0, 138, 254, 0.1);
    color: #008afe;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home_trust_list strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.home_trust_list span {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #666;
}

/* ---------- 하단: 공지 + 맞춤 개발 ---------- */
.home_bottom {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
}

.home_notice li a {
    display: flex;
    gap: 2rem;
    align-items: baseline;
    padding: 1.8rem 0;
    border-bottom: 1px solid #e6e9ef;
    color: #212529;
}

.home_notice li:first-child a {
    border-top: 1px solid #e6e9ef;
}

.home_notice_date {
    flex: 0 0 auto;
    font-size: 1.4rem;
    color: #8a94a3;
    font-weight: 600;
}

.home_notice_title {
    font-size: 1.7rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home_notice li a:hover .home_notice_title {
    color: #008afe;
}

.home_notice_empty {
    padding: 2rem 0;
    color: #8a94a3;
    font-size: 1.5rem;
}

.home_custom {
    padding: 3.2rem;
    border-radius: 14px;
    background: #f5f7fb;
}

.home_custom_title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

/* ---------- 반응형 ---------- */
@media screen and (max-width: 1024px) {
    .home_title {
        font-size: 6.4rem;
    }

    .home_agency_grid,
    .home_trust,
    .home_bottom {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .home_stats {
        margin-top: -3rem;
    }
}

@media screen and (max-width: 640px) {
    .pc_only {
        display: none;
    }

    .home_hero {
        min-height: 78vh;
    }

    .home_hero .wrap {
        padding-top: 10rem;
        padding-bottom: 8rem;
    }

    .home_title {
        font-size: 4.8rem;
    }

    .home_sub {
        font-size: 1.7rem;
    }

    .home_hero .btn {
        height: 5.2rem;
        padding: 0 2.4rem;
        font-size: 1.5rem;
    }

    .home_proof {
        font-size: 1.4rem;
        align-items: flex-start;
    }

    .home_hero_scroll {
        display: none;
    }

    .home_stats {
        margin-top: 2rem;
    }

    .home_custom {
        padding: 2.4rem;
    }
}

/* ---------- 가독성 조정 (site.css 와 같은 기준) ---------- */
.home_sub { font-size: 2.2rem; }
.home_proof { font-size: 1.7rem; }
.agency_title { font-size: 1.9rem; }
.agency_text { font-size: 1.65rem; line-height: 1.7; }
.home_trust_list strong { font-size: 1.9rem; }
.home_trust_list span { font-size: 1.65rem; line-height: 1.7; }
.home_notice_date { font-size: 1.5rem; }
.home_notice_title { font-size: 1.8rem; }
.home_notice_empty { font-size: 1.6rem; }
.home_custom_title { font-size: 2.3rem; }

@media screen and (max-width: 640px) {
    .home_sub { font-size: 1.9rem; }
    .home_proof { font-size: 1.6rem; }
    .agency_text, .home_trust_list span { font-size: 1.7rem; }
    .home_notice_title { font-size: 1.8rem; }
}
