@charset "UTF-8";

/* ==========================================================================
   Root 토큰 정의 (색상 일괄 제어 - #1E293B 슬레이트 네이비 기준 & 묵직한 톤)
========================================================================== */
:root {
    --primary-color: #1E293B;       /* 메인 딥 슬레이트 (Slate 800) */
    --primary-hover: #090D16;       /* 더 확실한 피드백을 주는 깊은 블랙 네이비 */
    --primary-light: rgba(30, 41, 59, 0.12); /* 흐릿함을 방지하기 위해 농도 상향 */
    --secondary-color: #0369A1;     /* 보조/포인트 차분한 블루 (Sky 700 - 신뢰감 상향) */
    --secondary-hover: #0A5276;     /* 포인트 블루 호버 (Sky 800) */
    --accent-yellow: #D97706;       /* 조금 더 진하고 차분한 골드 옐로우 (Amber 600) */
    --navy-color: #0B132B;          /* 훨씬 더 깊은 미드나잇 네이비 */
    --text-gray: #334155;           /* 가독성 확보를 위한 짙은 그레이 (Slate 700) */
    --border-color: #CBD5E1;        /* 경계를 확실히 잡아주는 보더 컬러 (Slate 300) */
    --bg-gray: #F1F5F9;             /* 약간 더 무게감을 준 배경용 그레이 (Slate 100) */
}

/* ==========================================================================
   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: var(--text-gray);
}

.title-wrap h2, .title-wrap h3 {
    color: var(--navy-color);
}

/* 포인트 타이틀 컬러 */
.title-wrap .green {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

/* ==========================================================================
   Colors & Utility
========================================================================== */

.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, #E2E8F0 0%, #F1F5F9 50%, #E0F2FE 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(30, 41, 59, 0.15) 0%, rgba(30, 41, 59, 0.05) 35%, rgba(30, 41, 59, 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(3, 105, 161, 0.15) 0%, rgba(3, 105, 161, 0.05) 35%, rgba(3, 105, 161, 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: var(--navy-color);
}

.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: 115px;
    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(--secondary-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: #2563EB; } /* 조금 더 짙은 블루 */
.section01 .match-proof ul li:nth-child(2) { background-color: #0284C7; } /* 조금 더 짙은 하늘색 */
.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(15, 23, 42, 0.06);
}

.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;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.grid-card-4 .card h4 {
    font-size: 19px;
    font-weight: 800;
    margin: 16px 0 12px;
    color: var(--navy-color);
}

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

.card .point {
    padding-top: 16px;
    color: var(--secondary-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(--secondary-color);
}

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

.section02 .cta-banner {
    background: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 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: #FDE047; /* 딥 슬레이트 대비 최적의 대비와 가독성을 갖는 미디엄 파스텔 옐로우 */
}

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

.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.2);
    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: var(--navy-color);
}

.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: #E2E8F0;
    border: 1px solid #CBD5E1;
    border-top: 3px solid var(--primary-color);
    border-radius: 12px;
}

.section04 .grid-card-2 .card .icon {
    background-color: #CBD5E1;
    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: #CBD5E1;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section04 .grid-card-2 .card h4 {
    font-size: 21px;
    color: var(--navy-color);
    font-weight: 800;
}

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

/* 두 번째 카드: 톤다운된 차분한 머스타드 골드 옐로우 톤 */
.section04 .grid-card-2 .card.yellow {
    background-color: #FEF3C7;
    border: 1px solid #FCD34D;
    border-top: 3px solid var(--accent-yellow);
}

.section04 .grid-card-2 .card.yellow .icon {
    background-color: #FCD34D;
    color: #92400E;
}

.section04 .grid-card-2 .card.yellow .badge {
    background-color: #FCD34D;
    color: #78350F;
}

/* 세 번째 카드: 진하고 차분한 브리티시 도크 스카이 톤 */
.section04 .grid-card-2 .card.blue {
    background-color: #DBEAFE;
    border: 1px solid #BFDBFE;
    border-top: 3px solid var(--secondary-color);
}

.section04 .grid-card-2 .card.blue .icon {
    background-color: #93C5FD;
    color: #1E3A8A;
}

.section04 .grid-card-2 .card.blue .badge {
    background-color: #93C5FD;
    color: #1E3A8A;
}

/* 네 번째 카드: 묵직한 테라코타 오렌지브릭 톤 */
.section04 .grid-card-2 .card.red {
    background-color: #FFE4E6;
    border: 1px solid #FECDD3;
    border-top: 3px solid #E11D48;
}

.section04 .grid-card-2 .card.red .icon {
    background-color: #FECDD3;
    color: #9F1239;
}

.section04 .grid-card-2 .card.red .badge {
    background-color: #FECDD3;
    color: #4C0519;
}

/* 하단 블랙 대용 딥 미드나잇 블루 배너 */
.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(3, 105, 161, 0.2) 0%, rgba(3, 105, 161, 0.05) 35%, rgba(3, 105, 161, 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: #94A3B8;
    font-weight: 500;
}

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

.dark-card ul li {
    padding: 4px 12px;
    color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    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;
    font-size: 16px;
    color: rgba(255, 255, 255, .75);
}

.section05 .btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    max-width: 520px;
    font-size: 18px;
    font-weight: 800;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: background-color .2s, transform .1s;
}

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

.section05 ul {
    margin-top: 24px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.85);
    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(3, 105, 161, 0.2) 0%, rgba(3, 105, 161, 0.05) 35%, rgba(3, 105, 161, 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(3, 105, 161, 0.2) 0%, rgba(3, 105, 161, 0.05) 35%, rgba(3, 105, 161, 0) 70% );
}

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

.section06 {
    padding: 40px 0;
    background: linear-gradient(var(--primary-color), var(--navy-color));
    color: #fff;
}

.section06 .inner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-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: #3B82F6; /* 조금 더 명도가 있는 선명하고 진한 블루 */
    border: 1px solid #2563EB;
    background-color: var(--primary-color);
    border-radius: 20px;
}

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

.btn.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: transparent;
    border: 1px solid #94A3B8;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
}

.btn.btn-line:hover {
    background-color: rgba(255,255,255,0.08);
    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 #CBD5E1; /* 더 뚜렷한 가두리선 */
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    color: #1E293B;
    letter-spacing: -0.04em;
}

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

.match-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-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(3, 105, 161, 0.45);
    }
    50% {
        opacity: 0.45;
        transform: scale(0.82);
        box-shadow: 0 0 0 10px rgba(3, 105, 161, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(3, 105, 161, 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(11, 19, 43, 0.1); /* 묵직해진 기준색상 연동 섀도우 */
}

.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;
    }

    .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;
    }
}