@charset "UTF-8";

/* ==========================================================================
   Root 토큰 정의 (색상 일괄 제어)
========================================================================== */
:root {
    --primary-color: #2F855A;       /* 메인 포레스트 그린 */
    --primary-light: rgba(47, 133, 90, 0.1);
    --secondary-color: #38A169;     /* 보조 라이트 그린 */
    --accent-yellow: #D69E2E;       /* 골드 옐로우 (포인트용) */
    --navy-color: #1A2F23;          /* 깊은 다크 그린 톤의 네이비 대체색 */
    --text-gray: #4A5568;
    --border-color: #E2E8F0;
    --bg-gray: #F7FAFC;
}

/* ==========================================================================
   HOME (고객용 메인)
========================================================================== */

section {
    padding: 80px 0;
}

section h2, section h3 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.3;
}

.title-wrap {
    margin-bottom: 56px;
    color: #4A5568;
}

.title-wrap h2, .title-wrap h3 {
    color: #1A202C;
}

.title-wrap .green {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

/* ==========================================================================
   Colors
========================================================================== */

.bg-light {
    background-color: var(--bg-gray);
}

.bg-dark {
    background-color: var(--navy-color);
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Section: 01: Hero
========================================================================== */

.section01 {
    position: relative;
    gap: 40px;
    background: linear-gradient(90deg, #F4F9F5 0%, #F7FAFC 50%, #EFF7F2 100%);
    text-align: left;
    padding: 80px 0;
    overflow: hidden;
}

.section01::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(-20%, 20%);
    width: 440px;
    height: 440px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient( circle, rgba(47, 133, 90, 0.15) 0%, rgba(47, 133, 90, 0.05) 35%, rgba(47, 133, 90, 0) 70% );
}

.section01::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    transform: translate(20%, -20%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient( circle, rgba(47, 133, 90, 0.15) 0%, rgba(47, 133, 90, 0.05) 35%, rgba(47, 133, 90, 0) 70% );
}

.section01 .inner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section01 .badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 13px;
}

.section01 h2 {
    font-size: 46px;
    margin-bottom: 16px;
    line-height: 1.4;
    color: #1A202C;
}

.section01 .title-row h2 {
    font-size: 24px;
    margin-bottom: 0;
}

.section01 p {
    color: var(--text-gray);
}

.section01 .stats-row {
    display: flex;
    margin-top: 40px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.section01 .stat-item {
    display: flex;
    flex-direction: column;
    min-width: 100px;
    padding: 16px 10px;
    border-right: 1px solid var(--border-color);
    text-align: center;
}

.section01 .stat-item strong {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 900;
    color: var(--primary-color);
}

.section01 .stat-item p {
    font-size: 13px;
    color: var(--text-gray);
}

.section01 .stat-item:last-child {
    border-right: none;
}

.section01 .match-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-weight: 600;
}

.section01 .match-proof ul {
    display: flex;
}

.section01 .match-proof ul li {
    margin-left: -8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border: 2px solid #fff;
    background-color: var(--primary-color);
}

.section01 .match-proof ul li:nth-child(1) { margin-left: 0; background-color: #2B6CB0; }
.section01 .match-proof ul li:nth-child(2) { background-color: #319795; }
.section01 .match-proof ul li:nth-child(3) { background-color: var(--accent-yellow); }
.section01 .match-proof ul li:nth-child(4) { background-color: var(--primary-color); }

.section01 .match-proof p {
    text-align: left;
}

.section01 .step-wrap {
    width: 420px;
    animation: heroFloat 4.5s ease-in-out infinite;
    background: #fff;
    border-radius: 24px;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.section01 .btn-cta {
    display: none;
    height: 52px;
    padding: 8px 40px;
    border-radius: 12px;
    margin-top: 32px;
    background-color: var(--primary-color);
    color: #fff;
}

@keyframes stepFadeUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-view.is-active {
    animation: stepFadeUp 0.4s ease forwards;
}

/* ==========================================================================
   모달 내 프로그래스 바(상단 진행률) 스무스 효과
========================================================================== */

[data-progress-bar] {
    transition: width 0.5s ease-in-out;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   Section: Grids
========================================================================== */

.grid-card-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}

.grid-card-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: left;
}

.grid-card-4 .card {
    background: #fff;
    padding: 24px 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.grid-card-4 .card h4 {
    font-size: 19px;
    font-weight: 800;
    margin: 16px 0 12px;
    color: #1A202C;
}

.card p {
    color: var(--text-gray);
    font-size: 13px;
}

.card .point {
    padding-top: 16px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

/* ==========================================================================
   Section: 02 : 고민
========================================================================== */

.section02 {
    text-align: center;
}

.section02 .card {
    background-color: var(--bg-gray);
    border: 1px solid var(--border-color);
}

.section02 .card .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    font-size: 20px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-color);
}

.section02 .card .point {
    color: var(--secondary-color);
}

.section02 .cta-banner {
    background: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 40px;
    border-radius: 20px;
    margin-top: 40px;
    text-align: left;
}

.section02 .cta-banner strong {
    font-size: 22px;
    font-weight: 800;
    vertical-align: baseline;
}

.section02 .cta-banner strong .yellow {
    vertical-align: baseline;
    color: #FEFCBF; /* 부드러운 파스텔 크림 옐로우 */
}

.section02 .cta-banner p {
    margin-top: 16px;
    font-weight: 400;
    opacity: .8;
}

.section02 .btn.btn-white {
    padding: 16px 32px;
    height: 56px;
    border: none;
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
    background-color: #fff;
}

.section02 .btn.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    color: var(--secondary-color);
}

/* ==========================================================================
   Section: 03: 이용 방법
========================================================================== */

.section03 {
    text-align: center;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.section03 .card {
    background: #fff;
    padding: 0 24px 32px 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.section03 h4 {
    font-size: 21px;
    font-weight: 800;
    margin: 16px 0 12px;
    color: #1A202C;
}

.section03 .step-num {
    margin-top: -24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
}

/* ==========================================================================
   Section: 04: 왜 부룸인가요?
========================================================================== */

.section04 {
    text-align: center;
}

/* 첫 번째 카드: 소프트 연민트 톤 */
.section04 .grid-card-2 .card {
    display: flex;
    gap: 24px;
    padding: 24px 28px;
    background-color: #EBF8F2;
    border: 1px solid #C6F6D5;
    border-top: 3px solid #2F855A;
    border-radius: 12px;
}

.section04 .grid-card-2 .card .icon {
    background-color: #C6F6D5;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 20px;
}

.section04 .grid-card-2 .card .right {
    width: calc(100% - 48px);
}

.section04 .grid-card-2 .card .badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #C6F6D5;
    color: #22543D;
    font-weight: 700;
    font-size: 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section04 .grid-card-2 .card h4 {
    font-size: 21px;
    color: #1A202C;
    font-weight: 800;
}

.section04 .grid-card-2 .card p {
    color: var(--text-gray);
    margin-top: 8px;
}

/* 두 번째 카드: 부드러운 웜 골드/옐로우 톤 */
.section04 .grid-card-2 .card.yellow {
    background-color: #FEFCBF;
    border: 1px solid #FEEBC8;
    border-top: 3px solid var(--accent-yellow);
}

.section04 .grid-card-2 .card.yellow .icon {
    background-color: #FEEBC8;
    color: #B7791F;
}

.section04 .grid-card-2 .card.yellow .badge {
    background-color: #FEEBC8;
    color: #744210;
}

/* 세 번째 카드: 청록(Teal) 스포트라이트 톤 */
.section04 .grid-card-2 .card.green {
    background-color: #E6FFFA;
    border: 1px solid #B2F5EA;
    border-top: 3px solid #319795;
}

.section04 .grid-card-2 .card.green .icon {
    background-color: #B2F5EA;
    color: #234E52;
}

.section04 .grid-card-2 .card.green .badge {
    background-color: #B2F5EA;
    color: #234E52;
}

/* 네 번째 카드 (기존 레드): 차분하고 이지적인 올리브 브라운 혹은 경고 무드의 톤다운된 테라코타 */
.section04 .grid-card-2 .card.red {
    background-color: #FFFAF0;
    border: 1px solid #FEEBC8;
    border-top: 3px solid #C05621;
}

.section04 .grid-card-2 .card.red .icon {
    background-color: #FEEBC8;
    color: #C05621;
}

.section04 .grid-card-2 .card.red .badge {
    background-color: #FEEBC8;
    color: #7B341E;
}

/* 하단 블랙 대용 딥 그린 배너 */
.dark-card {
    position: relative;
    overflow: hidden;
    padding: 40px 56px;
    margin-top: 32px;
    background-color: var(--navy-color);
    color: #fff;
    text-align: left;
    border-radius: 20px;
}

.dark-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(24%, -30%);
    width: 440px;
    height: 440px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient( circle, rgba(47, 133, 90, 0.2) 0%, rgba(47, 133, 90, 0.05) 35%, rgba(47, 133, 90, 0) 70% );
}

.dark-card h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-flow: row wrap;
    margin-bottom: 8px;
    font-size: 21px;
    font-weight: 800;
}

.dark-card p {
    color: #A0AEC0;
    font-weight: 500;
}

.dark-card ul {
    display: flex;
    flex-flow: row wrap;
    gap: 8px;
    font-size: 12px;
    margin-top: 16px;
}

.dark-card ul li {
    color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .08);
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50px;
}

/* ==========================================================================
   Section: 05: CTA
========================================================================== */

.section05 {
    position: relative;
    background: var(--navy-color);
    color: #fff;
    overflow: hidden;
}

.section05 h3 {
    font-size: 42px;
}

.section05 p {
    padding: 24px 0 40px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, .7);
}

.section05 .btn-large {
    height: 60px;
    width: 100%;
    max-width: 520px;
    font-size: 18px;
    background-color: var(--primary-color);
    border: none;
    color: #fff;
}

.section05 .btn-large:hover {
    background-color: var(--secondary-color);
}

.section05 ul {
    margin-top: 24px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.section05 ul li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.section05 ul li span {
    color: var(--secondary-color); /* 리스트 기호 전용 색상 */
}

.section05::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(25%, 36%);
    width: 440px;
    height: 440px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient( circle, rgba(47, 133, 90, 0.2) 0%, rgba(47, 133, 90, 0.05) 35%, rgba(47, 133, 90, 0) 70% );
}

.section05::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    transform: translate(-38%, -30%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient( circle, rgba(47, 133, 90, 0.2) 0%, rgba(47, 133, 90, 0.05) 35%, rgba(47, 133, 90, 0) 70% );
}

/* ==========================================================================
   Section: 06: 중개사 전용 CTA
========================================================================== */

.section06 {
    padding: 40px 0;
    background: linear-gradient(#233E2E, #1A2F23);
    color: #fff;
}

.section06 .inner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.section06 h3 {
    font-size: 22px;
    line-height: 1.5;
}

.section06 .badge {
    margin-bottom: 16px;
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    color: #48BB78;
    border: 1px solid #48BB78;
    background-color: #1C3D2B;
    border-radius: 20px;
}

.section06 p {
    color: #A0AEC0;
    font-size: 14px;
    margin-top: 16px;
}

.btn.btn-line {
    padding: 14px 28px;
    background-color: transparent;
    border: 1px solid #A0AEC0;
    color: #fff;
    border-radius: 12px;
    transition: all 0.2s;
}

.btn.btn-line:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ==========================================================================
   Acting
========================================================================== */

.layout-acting {
    position: fixed;
    right: 40px;
    bottom: 40px;
    text-align: right;
    z-index: 2;
}

.layout-acting li {
    margin-top: 8px;
}

.match-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    color: #3D4151;
    letter-spacing: -0.04em;
}

.match-status strong {
    color: var(--primary-color);
    font-weight: 900;
}

.match-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: matchBlink 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes matchBlink {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(47, 133, 90, 0.45);
    }
    50% {
        opacity: 0.45;
        transform: scale(0.82);
        box-shadow: 0 0 0 10px rgba(47, 133, 90, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(47, 133, 90, 0);
    }
}

/* ==========================================================================
   카드 모션
========================================================================== */

.grid-card-4 .card,
.step-grid .card,
.section04 .grid-card-2 .card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.grid-card-4 .card:hover,
.step-grid .card:hover,
.section04 .grid-card-2 .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(47, 133, 90, 0.08);
}

.grid-card-4 .card:hover .icon,
.section04 .grid-card-2 .card:hover .icon {
    animation: iconWiggle .45s ease;
}

@keyframes iconWiggle {
    0% { transform: rotate(0deg) scale(1); }
    30% { transform: rotate(-6deg) scale(1.08); }
    60% { transform: rotate(6deg) scale(1.08); }
    100% { transform: rotate(0deg) scale(1); }
}

/* ==========================================================================
   반응형
========================================================================== */

@media (max-width: 1024px) {
    .section01 .inner-wrap {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .section01 .img-area {
        margin-top: 40px;
        width: 100%;
        max-width: 400px;
        height: 500px;
    }

    .section01 .stats-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    .grid-card-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-banner .text {
        text-align: left;
        width: 100%;
    }

    .layout-acting {
        right: 16px;
        bottom: 24px;
    }
}

@media (max-width: 768px) {
    section h2, section h3, .section05 h3 {
        font-size: 28px;
    }

    .section01 h2 {
        font-size: 30px;
    }

    .section01 .btn-cta {
        display: flex;
    }

    .section01 .text-area {
        text-align: center;
        margin: 0 auto;
    }

    .section01 .step-wrap {
        display: none;
    }

    .section05 p {
        font-size: 15px;
    }

    .grid-card-4, .step-grid, .grid-card-2 {
        grid-template-columns: 1fr;
    }

    .section01 .stat-item {
        width: 50%;
        min-width: 50%;
        padding: 12px;
        border-bottom: 1px solid var(--border-color);
    }

    .section01 .stat-item:nth-child(2) {
        border-right: none;
    }

    .section01 .stat-item:nth-child(3), .section01 .stat-item:nth-child(4) {
        border-bottom: none;
    }

    .step-wrap, .step-wrap img {
        width: 90%;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .section02 .cta-banner, .dark-card {
        padding: 32px 32px;
    }

    .section02 .grid-card-4 .card {
        display: flex;
        gap: 12px;
    }

    .section02 .grid-card-4 .card h4 {
        margin: 12px 0 12px;
    }

    .section02 .card .txt {
        width: calc(100% - 48px);
    }

    .section04 .grid-card-2 .card {
        padding: 20px;
        gap: 12px;
    }

    .section06 .inner-wrap {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }
}