@charset "UTF-8";

/* ==========================================================================
   Agent Header 변형
========================================================================== */

.page-agent .layout-header {
    background-color: #102040;
    border-bottom-color: rgba(255,255,255,0.08);
}

.page-agent .layout-header .btn-link {
    color: #D3D3D3;
}

/* ==========================================================================
   Hero Section
========================================================================== */

.agent-hero {
    position: relative;
    background: linear-gradient(135deg,#102040 0%,#13233d 60%,#1a2f4a 100%);
    display: flex;
    align-items: center;
}

/* ==========================================================================
   배경 glow 효과
========================================================================== */

.agent-hero::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle,rgba(255,102,0,0.16) 0%,rgba(255,102,0,0.06) 40%,transparent 70%);
}

.agent-hero::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle,rgba(255,102,0,0.12) 0%,rgba(255,102,0,0.04) 40%,transparent 70%);
}

.agent-hero .inner-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

/* ==========================================================================
   히어로 텍스트 영역
========================================================================== */

.agent-hero-text {
    flex: 1;
    max-width: 440px;
}

.agent-hero-text .badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255,107,0,0.18);
    color: var(--primary-color);
    border: 1px solid rgba(255,107,0,0.35);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.agent-hero-text h2 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 16px;
}

.agent-hero-text h2 em {
    color: #fff;
    font-style: normal;
}

.agent-hero-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 36px;
}

/* ==========================================================================
   통계
========================================================================== */

.agent-stats {
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
}

.agent-stats .stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border-right: 1px solid #E2E6EF;
    text-align: center;
}

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

.agent-stats .stat-item strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: #0D1B36;
    margin-bottom: 4px;
}

.agent-stats .stat-item strong .orange {
    color: var(--primary-color);
}

.agent-stats .stat-item p {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   아바타
========================================================================== */

.agent-proof {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agent-proof ul {
    display: flex;
}

.agent-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 rgba(255,255,255,0.2);
    background: #6C63FF;
}

.agent-proof ul li:first-child {
    margin-left: 0;
}

.agent-proof ul li:nth-child(2) {
    background: #22C55E;
}

.agent-proof ul li:nth-child(3) {
    background: #F59E0B;
}

.agent-proof ul li:nth-child(4) {
    background: var(--primary-color);
}

.agent-proof p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   가입 신청 폼 카드
========================================================================== */

.agent-form-wrap .modal-tip {
    position: absolute;
    top: 0;
    left: 28px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 4px;
    color: #fff;
    background: #FF6600;
    font-size: 13px;
    white-space: nowrap;
}

.agent-form-wrap .modal-tip::after {
    content: "";
    position: absolute;
    left: 25px;
    bottom: -6px;
    border-top: 6px solid #FF6600;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.agent-form-wrap {
    position: relative;
    flex-shrink: 0;
    width: 420px;
}

.agent-form-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 1;
}

.agent-form-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: formBadgePulse 1.4s ease-in-out infinite;
}

@keyframes formBadgePulse {

    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.agent-form-card {
    width: 100%;
    max-width: 420px;
    margin-top: 24px;
    background: #fff;
    border-radius: 20px;
    padding: 24px 36px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}

.agent-form-card h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.agent-form-card .form-sub {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ==========================================================================
   Form Group
========================================================================== */

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 6px;
}

.form-group label .req {
    color: var(--primary-color);
}

.form-group label .opt {
    font-size: 12px;
    font-weight: 400;
    color: var(--primary-color);
    margin-left: auto;
}

.form-group label .opt a {
    color: #2563EB;
    text-decoration: underline;
}

.form-input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    font-family: 'Pretendard',sans-serif;
    color: var(--text-dark);
    background: #fff;
    transition: border-color .2s;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,102,0,0.08);
}

.form-input::placeholder {
    color: #bbb;
    font-size: 14px;
}

/* ==========================================================================
   파일 첨부 행
========================================================================== */

.form-label-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.form-label-between .opt {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.form-file-row {
    position: relative;
    display: flex;
    align-items: center;
}

.form-file-row .form-input {
    width: 100%;
    height: 48px;
    padding: 0 80px 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff !important;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
}

.form-file-row .form-input::placeholder {
    color: #999;
}

.btn-file-attach {
    position: absolute;
    top: 50%;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 16px;
    transform: translateY(-50%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #F7F7F8;
    font-family: 'Pretendard', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
}

.btn-file-attach:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff;
}

.real-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
   가입 버튼
========================================================================== */

.btn-join {
    width: 100%;
    height: 52px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Pretendard',sans-serif;
    transition: background .2s;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-join:hover {
    background: var(--primary-hover);
}

.form-agree-note {
    text-align: center;
    font-size: 12px;
    color: #94A3B8;
    margin-top: 16px;
    line-height: 1.6;
}

.form-agree-note a {
    color: #94A3B8;
    text-decoration: underline;
}

/* ==========================================================================
   Section: 2: 특징
========================================================================== */

.agent-features {
    background: #fff;
    padding: 100px 0;
}

.agent-features .section-hd {
    margin-bottom: 48px;
    text-align: center;
}

.agent-features .section-hd .btn-partner-top {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 20px;
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    transition: background .2s;
    white-space: nowrap;
}

.agent-features .section-hd .btn-partner-top:hover {
    background: var(--primary-hover);
    color: #fff;
}

.agent-features .section-hd::after {
    content: '';
    display: table;
    clear: both;
}

.agent-features .orange {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.agent-features h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.agent-features .desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==========================================================================
   Feature 카드 3열
========================================================================== */

.agent-feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.agent-feature-card {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: box-shadow .2s,transform .2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.agent-feature-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.agent-feature-card .icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: var(--orange-soft);
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 16px;
}

.agent-feature-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 10px;
}

.agent-feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.65;
}

/* ==========================================================================
   오렌지 CTA 배너
========================================================================== */

.agent-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    background: var(--primary-color);
    border-radius: 18px;
}

.agent-cta-banner .cta-text strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.agent-cta-banner .cta-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.agent-cta-banner .btn-cta-wh {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    padding: 0 24px;
    background: #fff;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 800;
    border-radius: 50px;
    white-space: nowrap;
    transition: all .2s;
}

.agent-cta-banner .btn-cta-wh:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    color: var(--primary-color);
}

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

.agent-how {
    background: var(--bg-gray);
    padding: 80px 0;
}

.agent-how .section-hd {
    text-align: center;
    margin-bottom: 56px;
}

.agent-how .orange {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.agent-how h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.agent-how .desc {
    font-size: 15px;
    color: var(--text-gray);
}

/* ==========================================================================
   4단계 스텝
========================================================================== */

.agent-how-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.agent-how-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: box-shadow .2s,transform .2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.agent-how-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.agent-how-card .step-num {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #111111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.agent-how-card .step-num.ora {
    background: var(--primary-color);
}

.agent-how-card h4 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 10px;
}

.agent-how-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.65;
}

/* ==========================================================================
   Section: 4: 다크 CTA
========================================================================== */

.agent-dark-cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(160deg,#0e1a2e 0%,#13233d 50%,#111827 100%);
    text-align: center;
    overflow: hidden;
}

.agent-dark-cta::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle,rgba(255,102,0,0.14) 0%,rgba(255,102,0,0.05) 50%,transparent 70%);
}

.agent-dark-cta .inner-wrap {
    position: relative;
    z-index: 1;
}

.agent-dark-cta h3 {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 14px;
}

.agent-dark-cta h3 em {
    color: var(--primary-color);
    font-style: normal;
}

.agent-dark-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 40px;
    line-height: 1.7;
}

.btn-cta-join {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 58px;
    padding: 0 48px;
    background: var(--primary-color);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    border-radius: 50px;
    transition: all .2s;
    box-shadow: 0 10px 28px rgba(255,102,0,0.3);
    font-family: 'Pretendard',sans-serif;
    border: none;
    cursor: pointer;
}

.btn-cta-join:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255,102,0,0.38);
}

.agent-dark-cta .cta-checklist {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin-top: 28px;
}

.agent-dark-cta .cta-checklist li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.agent-dark-cta .cta-checklist li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
}

/* ==========================================================================
   Responsive
========================================================================== */

@media (max-width:1024px) {

    .agent-hero .inner-wrap {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        gap: 48px;
    }

    .agent-hero-text {
        max-width: none;
        text-align: center;
        margin: 0 auto;
    }

    .agent-hero-text h2 {
        font-size: 34px;
    }

    .agent-stats {
        justify-content: center;
    }

    .agent-proof {
        justify-content: center;
    }

    .agent-form-wrap {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }

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

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

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

@media (max-width:768px) {

    .agent-hero {
        min-height: auto;
    }

    .agent-hero .inner-wrap {
        padding-top: 48px;
        padding-bottom: 48px;
        gap: 56px;
    }

    .agent-hero-text h2 {
        font-size: 28px;
    }

    .agent-features h3,.agent-how h3,.agent-dark-cta h3 {
        font-size: 26px;
    }

    .agent-feature-grid {
        grid-template-columns: 1fr;
    }

    .agent-how-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .agent-features {
        padding: 56px 0;
    }

    .agent-how {
        padding: 56px 0;
    }

    .agent-dark-cta {
        padding: 72px 0;
    }

    .agent-cta-banner {
        padding: 28px 24px;
    }

    .agent-cta-banner .cta-text strong {
        font-size: 18px;
    }

    .agent-dark-cta h3 {
        font-size: 26px;
    }

    .btn-cta-join {
        height: 52px;
        padding: 0 32px;
        font-size: 16px;
    }

    .agent-features .section-hd .btn-partner-top {
        float: none;
        display: flex;
        margin-bottom: 20px;
    }
}
