/* landing.css - 프리미엄 대출중개 랜딩페이지 CSS 디자인 시스템 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    /* 기본 테마 칼라 (PHP에서 style 인라인 변수로 덮어써짐) */
    --theme-color: #1a365d;
    --theme-color-rgb: 26, 54, 93;

    --bg-light: #f7fafc;
    --text-main: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --white: #ffffff;

    --font-sans: 'Inter', 'Noto Sans KR', sans-serif;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 15px 15px -10px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    word-break: keep-all;
    overflow-x: hidden;
    transition: var(--transition);
}

/* 탑바/헤더 개편 (모바일 반응형 완벽 보정) */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 800;
    color: var(--theme-color);
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 18px;
}

.logo-badge {
    background-color: rgba(var(--theme-color-rgb), 0.15);
    color: var(--theme-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.logo-sub {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: -0.2px;
}

.header-contact {
    font-size: 14px;
    font-weight: 800;
    color: var(--theme-color);
    white-space: nowrap;
    display: flex;
    align-items: center;
    letter-spacing: -0.3px;
}

.tel-link {
    color: inherit;
    text-decoration: none;
    margin-left: 4px;
}

.tel-link:hover {
    text-decoration: underline;
}

/* 모바일 전용 헤더 정밀 조정 미디어 쿼리 */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .logo {
        align-items: center;
        gap: 2px;
    }

    .logo-main {
        font-size: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-sub {
        font-size: 16px;
    }

    .header-contact {
        font-size: 13.5px;
        border-top: 1px dashed var(--border-color);
        width: 100%;
        justify-content: center;
        padding-top: 6px;
        margin-top: 2px;
    }
}

/* 히어로 영역 (배너 + 신청폼) */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(var(--theme-color-rgb), 0.05) 0%, rgba(var(--theme-color-rgb), 0) 100%);
    padding: 80px 20px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    align-self: flex-start;
    background-color: var(--theme-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(var(--theme-color-rgb), 0.2);
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    color: var(--theme-color);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
    font-weight: 400;
}

.benefit-tags {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

.benefit-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(var(--theme-color-rgb), 0.1);
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* 신청 폼 카드 (글래스모피즘 & 카드 스타일) */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px -20px rgba(var(--theme-color-rgb), 0.15);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--theme-color);
}

.form-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
    background-color: #fafafa;
}

.form-control:focus {
    border-color: var(--theme-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--theme-color-rgb), 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* 라디오 & 셀렉트 박스 커스텀 */
.job-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.job-btn {
    border: 1.5px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background-color: #fafafa;
}

.job-btn:hover {
    border-color: var(--theme-color);
}

.job-radio {
    display: none;
}

.job-radio:checked+.job-btn {
    background-color: var(--theme-color);
    color: var(--white);
    border-color: var(--theme-color);
}

/* 약관 동의 */
.consent-box {
    background-color: #f7fafc;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.consent-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.consent-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.consent-row label {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
}

.consent-detail-btn {
    margin-left: auto;
    color: var(--theme-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

/* 제출 버튼 */
.btn-submit {
    width: 100%;
    padding: 16px;
    background-color: var(--theme-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px -5px rgba(var(--theme-color-rgb), 0.3);
}

.btn-submit:hover {
    background-color: rgba(var(--theme-color-rgb), 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -5px rgba(var(--theme-color-rgb), 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* 상품 상세 정보 영역 */
.product-info-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--theme-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--theme-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--theme-color);
    box-shadow: var(--shadow-premium);
}

.prod-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.prod-title {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.prod-value {
    font-size: 20px;
    color: var(--theme-color);
    font-weight: 800;
}

/* 절차 영역 */
.process-section {
    padding: 80px 20px;
    background-color: #f0f4f8;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.process-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
}

.process-step {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--theme-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.process-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 8px;
    color: var(--theme-color);
}

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

/* 푸터 (금융권 준수 프리미엄 스타일) */
footer {
    background-color: #0f131a;
    color: #8a99ad;
    padding: 60px 20px;
    font-size: 13px;
    /* 대부업법 컴플라이언스를 위한 기본 폰트 크기 상향 */
    border-top: 5px solid var(--theme-color);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* 금소법 전용 명확한 경고 문구 박스 (최대 폰트 크기 42px의 1/3인 최소 14px 이상 만족) */
.legal-warning-box {
    background-color: rgba(239, 68, 68, 0.06);
    border: 2px solid rgba(239, 68, 68, 0.35);
    /* 고대비 가시성 강화 */
    padding: 26px;
    border-radius: 12px;
    margin-bottom: 35px;
    color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.warning-bold-title {
    color: #f87171;
    font-weight: 900;
    font-size: 17px;
    /* 14px 이상 규정 충족 및 가시성 극대화 */
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.warning-text {
    line-height: 1.7;
    margin-bottom: 12px;
    color: #cbd5e0;
    font-size: 14px;
    /* 대부업법 시행령에 의거한 1/3 크기 규정(최소 14px) 충족 */
}

.warning-bold-sub {
    color: #fb923c;
    font-weight: 700;
    font-size: 14px;
    /* 최소 14px 이상 규정 충족 */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

/* 상세 상품 계약 정보 그리드 */
.legal-notice {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 35px;
    color: #a0aec0;
}

.notice-title {
    font-size: 14px;
    font-weight: 700;
    color: #f7fafc;
    margin-bottom: 15px;
    border-bottom: 1.5px solid var(--theme-color);
    padding-bottom: 8px;
    display: inline-block;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.notice-item {
    line-height: 1.6;
    font-size: 12px;
}

/* 하단 기본 사업자 정보 */
.footer-info {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
}

.footer-company p {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 13px;
    /* 폰트 가독성 상향 */
}

.footer-warning {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.an-shin-text {
    font-size: 14px;
    /* 가독성 확보 */
    color: #e2e8f0;
    font-weight: 700;
    margin-bottom: 8px;
}

.copy-text {
    font-size: 11px;
    opacity: 0.6;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--text-main);
}

/* ==========================================
   템플릿 B (Modern Mint) 스타일 보완
   ========================================== */
body.template-B {
    background: linear-gradient(to bottom, #f0fdf4 0%, #f7fafc 100%);
    --bg-light: #f0fdf4;
}

body.template-B .hero-badge {
    background: linear-gradient(135deg, var(--theme-color) 0%, #48bb78 100%);
}

body.template-B .form-card {
    border-radius: 24px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(49, 151, 149, 0.15);
}

body.template-B .btn-submit {
    background: linear-gradient(135deg, var(--theme-color) 0%, #48bb78 100%);
    border-radius: 14px;
    box-shadow: 0 10px 20px -5px rgba(49, 151, 149, 0.4);
}

body.template-B .form-control {
    border-radius: 10px;
}

body.template-B .product-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6fffa;
}

body.template-B .process-section {
    background-color: #e6fffa;
}

body.template-B .process-card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   템플릿 C (Sleek Dark) 다크모드 스타일
   ========================================== */
body.template-C {
    background-color: #1a202c;
    color: #e2e8f0;
    --bg-light: #1a202c;
    --text-main: #f7fafc;
    --text-muted: #a0aec0;
    --border-color: #4a5568;
    --white: #2d3748;
}

body.template-C header {
    background-color: #2d3748;
    border-bottom: 1px solid #4a5568;
}

body.template-C .logo-badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.template-C .hero-section {
    background: linear-gradient(135deg, rgba(221, 107, 32, 0.08) 0%, rgba(26, 32, 44, 0) 100%);
}

body.template-C .hero-title {
    color: #ffffff;
}

body.template-C .hero-subtitle {
    color: #cbd5e0;
}

body.template-C .benefit-item {
    color: #e2e8f0;
}

body.template-C .benefit-icon {
    background-color: rgba(221, 107, 32, 0.2);
    color: #ed8936;
}

body.template-C .form-card {
    background: rgba(45, 55, 72, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid #4a5568;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

body.template-C .form-header h3 {
    color: #ffffff;
}

body.template-C .form-control {
    background-color: #1a202c;
    border-color: #4a5568;
    color: #ffffff;
}

body.template-C .form-control:focus {
    border-color: var(--theme-color);
    background-color: #1a202c;
}

body.template-C .job-btn {
    background-color: #1a202c;
    border-color: #4a5568;
    color: #cbd5e0;
}

body.template-C .job-btn:hover {
    border-color: var(--theme-color);
}

body.template-C .job-radio:checked+.job-btn {
    background-color: var(--theme-color);
    color: #ffffff;
    border-color: var(--theme-color);
}

body.template-C .consent-box {
    background-color: #1a202c;
    border-color: #4a5568;
}

body.template-C .consent-row label {
    color: #cbd5e0;
}

body.template-C .consent-detail-btn {
    color: #ed8936;
}

body.template-C .btn-submit {
    box-shadow: 0 8px 20px -5px rgba(221, 107, 32, 0.3);
}

body.template-C .product-info-section {
    background-color: #2d3748;
}

body.template-C .product-card {
    background-color: #1a202c;
    border-color: #4a5568;
}

body.template-C .prod-value {
    color: #ffffff;
}

body.template-C .process-section {
    background-color: #1a202c;
}

body.template-C .process-card {
    background-color: #2d3748;
    border-color: #4a5568;
}

body.template-C .process-card h4 {
    color: #ffffff;
}

body.template-C footer {
    border-top: 5px solid #2d3748;
}

body.template-C .modal-content {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

body.template-C .modal-close {
    color: #cbd5e0;
}

/* 반응형 */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-badge {
        align-self: center;
    }

    .benefit-item {
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .form-card {
        padding: 25px;
    }

    .footer-info {
        grid-template-columns: 1fr;
    }

    .footer-warning {
        text-align: left;
        margin-top: 15px;
    }
}

/* ==========================================
   프리미엄 반응형 다중 배너 캐러셀 슬라이더 스타일
   ========================================== */
.hero-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: var(--radius-lg);
}

.hero-carousel {
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
}

.hero-image-box {
    margin-top: 25px;
    text-align: center;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    background-color: rgba(255, 255, 255, 0.02);
}

.hero-image-render {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
    aspect-ratio: 2.4 / 1;
}

.default-svg-box {
    padding: 10px;
    background: transparent;
    box-shadow: none;
}

.default-svg-box svg {
    max-width: 100%;
    height: auto;
    opacity: 0.85;
}

/* 슬라이더 컨트롤 */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    position: relative;
    z-index: 10;
}

.carousel-control-btn {
    background-color: var(--white);
    color: var(--theme-color);
    border: 1.5px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.carousel-control-btn:hover {
    background-color: var(--theme-color);
    color: var(--white);
    border-color: var(--theme-color);
    transform: scale(1.08);
}

.carousel-bullets {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(var(--theme-color-rgb), 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.bullet.active {
    background-color: var(--theme-color);
    width: 24px;
    border-radius: 4px;
}

/* 다크모드 템플릿 C 슬라이더 보정 */
body.template-C .hero-carousel-wrapper {
    background: transparent;
}

body.template-C .carousel-control-btn {
    background-color: #2d3748;
    color: #ffffff;
    border-color: #4a5568;
}

body.template-C .carousel-control-btn:hover {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

body.template-C .bullet {
    background-color: rgba(255, 255, 255, 0.2);
}

body.template-C .bullet.active {
    background-color: var(--theme-color);
}

/* ==========================================
   템플릿 D (Royal Purple) 테마 전용 스타일
   ========================================== */
body.template-D {
    background-color: #f8f7fc;
}

body.template-D header {
    border-bottom: 2px solid rgba(95, 61, 196, 0.1);
}

body.template-D .logo-badge {
    background-color: rgba(95, 61, 196, 0.08);
    color: #5f3dc4;
}

body.template-D .form-card {
    border: 1px solid rgba(95, 61, 196, 0.1);
    box-shadow: 0 20px 40px -15px rgba(95, 61, 196, 0.08);
}

body.template-D .job-btn {
    border-radius: 8px;
}

body.template-D .product-card {
    background: #ffffff;
    border: 1px solid rgba(95, 61, 196, 0.08);
    box-shadow: 0 10px 20px -5px rgba(95, 61, 196, 0.03);
}

body.template-D .process-card {
    background: #ffffff;
    border: 1px solid rgba(95, 61, 196, 0.08);
}

body.template-D .process-step {
    background: #5f3dc4;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(95, 61, 196, 0.3);
}


/* ==========================================
   UI 2 (Wide Header) 레이아웃 스타일셋
   ========================================== */
body.ui-style-2 .hero-section.ui-type-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

body.ui-style-2 .hero-carousel-wide-wrapper {
    width: 100%;
    max-width: 1100px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(var(--theme-color-rgb), 0.02);
    padding: 20px 0;
}

body.ui-style-2 .wide-hero-text {
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

body.ui-style-2 .wide-hero-text .hero-badge {
    align-self: center;
}

body.ui-style-2 .wide-form-container {
    width: 100%;
    max-width: 1100px;
    margin-top: 40px;
}

body.ui-style-2 .form-card.wide-form-card {
    max-width: 100%;
    width: 100%;
    padding: 35px;
    border-radius: var(--radius-lg);
}

body.ui-style-2 .form-inline-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.ui-style-2 .form-grid-inline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

body.ui-style-2 .inline-consent-box {
    margin: 0;
    padding: 10px 0;
    border: none;
    background: transparent;
}

body.ui-style-2 .wide-btn-submit {
    padding: 16px;
    font-size: 17px;
    font-weight: 700;
}

@media (max-width: 992px) {
    body.ui-style-2 .form-grid-inline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    body.ui-style-2 .form-grid-inline {
        grid-template-columns: 1fr;
    }
}


/* ==========================================
   UI 3 (Bold Minimal) 레이아웃 스타일셋
   ========================================== */
body.ui-style-3 .minimal-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

body.ui-style-3 .minimal-intro-box {
    display: flex;
    flex-direction: column;
}

body.ui-style-3 .minimal-main-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.35;
    margin-top: 15px;
}

body.ui-style-3 .minimal-sub-title {
    font-size: 17px;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.6;
}

body.ui-style-3 .minimal-benefits-list {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

body.ui-style-3 .min-benefit-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

body.ui-style-3 .min-check-icon {
    background-color: var(--theme-color);
    color: var(--white);
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    box-shadow: 0 4px 8px rgba(var(--theme-color-rgb), 0.2);
}

body.ui-style-3 .min-benefit-row h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 3px;
}

body.ui-style-3 .min-benefit-row p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    body.ui-style-3 .minimal-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    body.ui-style-3 .minimal-intro-box .hero-badge {
        align-self: center;
    }

    body.ui-style-3 .min-benefit-row {
        text-align: left;
    }
}


/* ==========================================
   UI 4 (Interactive Step) 레이아웃 스타일셋
   ========================================== */
body.ui-style-4 .wizard-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

body.ui-style-4 .form-card.wizard-form-card {
    max-width: 100%;
    width: 100%;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.06), 0 20px 30px -15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

body.ui-style-4 .wizard-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    padding: 0 10px;
}

body.ui-style-4 .step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #edf2f7;
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid transparent;
}

body.ui-style-4 .step-dot.active {
    background-color: var(--theme-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(var(--theme-color-rgb), 0.3);
}

body.ui-style-4 .step-line {
    flex: 1;
    height: 3px;
    background-color: #edf2f7;
    margin: 0 12px;
    transition: var(--transition);
}

body.ui-style-4 .step-line.active {
    background-color: var(--theme-color);
}

body.ui-style-4 .wizard-step-pane {
    display: none;
}

body.ui-style-4 .wizard-step-pane.active {
    display: block;
    animation: wizardSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wizardSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.ui-style-4 .inline-job-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

body.ui-style-4 .btn-next-step,
body.ui-style-4 .btn-prev-step {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

body.ui-style-4 .btn-prev-step:hover {
    background: #cbd5e0 !important;
}

@media (max-width: 500px) {
    body.ui-style-4 .form-card.wizard-form-card {
        padding: 25px 20px;
    }

    body.ui-style-4 .inline-job-selector {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   UI 5 (Hero Floating) 레이아웃 스타일셋
   ========================================== */
body.ui-style-5 .hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    background: radial-gradient(circle at top right, rgba(var(--theme-color-rgb), 0.15) 0%, rgba(var(--theme-color-rgb), 0) 70%), linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    min-height: 80vh;
}

body.ui-style-5 .hero-container {
    max-width: 650px;
    width: 100%;
    grid-template-columns: 1fr;
    text-align: center;
}

body.ui-style-5 .form-card {
    box-shadow: 0 40px 80px -20px rgba(var(--theme-color-rgb), 0.25);
    border: 1px solid rgba(var(--theme-color-rgb), 0.1);
}

/* ==========================================
   UI 6 (Full Screen Form) 레이아웃 스타일셋
   ========================================== */
body.ui-style-6 .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    padding: 20px 0;
}

body.ui-style-6 .form-card {
    position: sticky;
    top: 100px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

@media (max-width: 992px) {
    body.ui-style-6 .hero-container {
        grid-template-columns: 1fr;
    }

    body.ui-style-6 .form-card {
        position: static;
    }
}

/* ==========================================
   UI 7 (Landing Top Form) 레이아웃 스타일셋
   ========================================== */
body.ui-style-7 .hero-section {
    padding: 40px 20px;
}

body.ui-style-7 .hero-container {
    grid-template-columns: 1fr;
    max-width: 700px;
    gap: 30px;
}

body.ui-style-7 .hero-text {
    order: 2;
    text-align: center;
    align-items: center;
}

body.ui-style-7 .form-card {
    order: 1;
    width: 100%;
}

/* ==========================================
   UI 8 (Minimal Direct) 레이아웃 스타일셋
   ========================================== */
body.ui-style-8 .hero-section {
    padding: 50px 20px;
    background: #f8fafc;
}

body.ui-style-8 .hero-container {
    grid-template-columns: 1fr;
    max-width: 580px;
}

body.ui-style-8 .hero-text {
    text-align: center;
    align-items: center;
    margin-bottom: 20px;
}

body.ui-style-8 .hero-title {
    font-size: 32px;
}

body.ui-style-8 .hero-subtitle {
    margin-bottom: 15px;
}

/* ==========================================
   신규 템플릿 J (Midnight Slate) - 프리미엄 슬레이트 다크
   ========================================== */
body.template-J {
    background-color: #0f172a;
    color: #cbd5e1;
}

body.template-J header {
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
}

body.template-J .logo-badge {
    background-color: rgba(var(--theme-color-rgb), 0.2);
    color: var(--theme-color);
}

body.template-J .form-card {
    background-color: #1e293b;
    border: 1px solid #334155;
}

body.template-J .form-control {
    background-color: #0f172a;
    color: #e2e8f0;
    border: 1px solid #334155;
}

body.template-J .form-control:focus {
    border-color: var(--theme-color);
}

body.template-J .product-info-section {
    background-color: #1e293b;
}

body.template-J .product-card {
    background-color: #0f172a;
    border: 1px solid #334155;
}

body.template-J .prod-value {
    color: #ffffff;
}

body.template-J footer {
    background-color: #0b0f19;
    border-top: 1px solid #1e293b;
}

/* ==========================================
   신규 템플릿 G (Luxury Gold) - 럭셔리 골드 브론즈
   ========================================== */
body.template-G {
    background-color: #fdfaf2;
}

body.template-G .form-card {
    background-color: #fefcf6;
    border: 1px solid #f6ebcc;
    box-shadow: 0 20px 40px rgba(180, 83, 9, 0.05);
}

body.template-G .product-card {
    background-color: #fefcf6;
    border: 1px solid #f6ebcc;
}

/* ==========================================
   동적 스크롤 페이드인 및 핀테크 인터랙티브 모션 효과 (Hes-Design)
   ========================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 마이크로 인터랙션: 호버 시 카드 미세 확대 및 내부 아이콘 네온 빛 효과 */
.hover-neon-glow {
    transition: var(--transition);
}

.hover-neon-glow:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 25px 50px -12px rgba(var(--theme-color-rgb), 0.18) !important;
    border-color: rgba(var(--theme-color-rgb), 0.45) !important;
}

/* 스무스하게 튀어 오르는 노드 그래프 포인트 플로팅 애니메이션 */
@keyframes node-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.floating-icon {
    animation: node-float 3s ease-in-out infinite;
}

/* ==========================================
   실시간 안심 매칭 피드 (Social Proof Ticker - 2행 수직 적층 레이아웃)
   ========================================== */
.realtime-ticker-bar {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    position: sticky;
    top: 57px;
    z-index: 999;
}

.ticker-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* 제목과 아이템을 세로(2행)로 배치 */
    align-items: flex-start;
    gap: 8px;
}

.ticker-header-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-icon {
    font-size: 15px;
}

.ticker-title {
    font-weight: 800;
    color: var(--theme-color);
    font-size: 13.5px;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.ticker-wrapper {
    position: relative;
    width: 100%;
    height: 22px;
    /* 가독성을 위한 세로폭 확보 */
    overflow: hidden;
}

.ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 700;
    /* 동적 변경 아이템 두껍게 처리 */
    color: #475569;
    font-size: 14.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.3px;
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

/* 모바일 전용 2행 정렬 보완 */
@media (max-width: 768px) {
    .realtime-ticker-bar {
        padding: 10px 15px;
    }

    .ticker-container {
        align-items: center;
        /* 모바일에서는 직관적으로 중앙 정렬 */
        text-align: center;
        gap: 6px;
    }

    .ticker-header-row {
        justify-content: center;
    }

    .ticker-title {
        font-size: 12.5px;
    }

    .ticker-item {
        font-size: 13px;
        text-align: center;
    }
}

/* ==========================================
   실시간 한도·월납입금 계산기 (Interactive Loan Calculator)
   ========================================== */
.calculator-section {
    padding: 80px 20px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.calculator-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-group {
    display: flex;
    flex-direction: column;
}

.calc-label {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-highlight {
    font-size: 24px;
    font-weight: 900;
    color: var(--theme-color);
    background: rgba(var(--theme-color-rgb), 0.08);
    padding: 4px 14px;
    border-radius: 30px;
    letter-spacing: -0.5px;
}

.calc-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    margin: 10px 0;
}

.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--theme-color);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(var(--theme-color-rgb), 0.3);
    transition: transform 0.1s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    margin-top: 8px;
}

.calc-results {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-res-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-res-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #64748b;
}

.calc-res-value {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.calc-res-value.color-primary {
    color: var(--theme-color);
}

.calc-res-value.color-accent {
    color: #3b82f6;
}

.calc-disclaimer {
    font-size: 11.5px;
    line-height: 1.6;
    color: #94a3b8;
    margin-top: 20px;
    margin-bottom: 25px;
}

/* ==========================================
   안심 금융 대리점 3대 서약 (Trust Promises Section)
   ========================================== */
.trust-promises-section {
    padding: 80px 20px;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.promise-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.promise-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(var(--theme-color-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.promise-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--theme-color);
    margin-bottom: 12px;
}

.promise-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================
   모바일 전용 하단 고정 안심 신청 바 (Mobile Floating CTA)
   ========================================== */
.mobile-floating-cta {
    display: none;
    /* 기본적으로 데스크톱에서는 보이지 않음 */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    transform: translateY(100%);
    opacity: 0;
}

.mobile-floating-cta.visible {
    transform: translateY(0);
    opacity: 1;
}

.btn-floating-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--theme-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(var(--theme-color-rgb), 0.35);
    animation: pulse-glow-button 2s infinite;
}

@keyframes pulse-glow-button {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--theme-color-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(var(--theme-color-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--theme-color-rgb), 0);
    }
}

/* ==========================================
   반응형 모바일 미디어 쿼리 통합 조정
   ========================================== */
@media (max-width: 991px) {
    .calculator-box {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .promise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-floating-cta {
        display: block;
        /* 모바일에서만 노출 */
    }

    body {
        padding-bottom: 74px;
        /* 플로팅 바 두께만큼 바닥 여백 주입 */
    }

    .calculator-section {
        padding: 50px 15px;
    }

    .trust-promises-section {
        padding: 50px 15px;
    }
}

/* ==========================================
   UI 5 (Hero Floating) 전용 럭셔리 스타일
   ========================================== */
.hero-section.ui-type-5 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
}

/* 프리미엄 핀테크 스마트 그라데이션 광원 장식 */
.hero-section.ui-type-5::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--theme-color-rgb), 0.18) 0%, rgba(var(--theme-color-rgb), 0) 70%);
    top: -150px;
    left: -150px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-section.ui-type-5::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.centered-hero-container {
    width: 100%;
    max-width: 680px;
    z-index: 10;
}

/* 글래스모피즘 특유의 은은하고 부드러운 화이트 아크릴 마감 처리 */
.form-card.floating-glass-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.25);
    border-radius: 28px;
    padding: 45px;
}

.form-centered-layout .form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-section.ui-type-5 {
        padding: 40px 15px;
        min-height: auto;
    }

    .form-card.floating-glass-card {
        padding: 25px 20px;
    }

    .form-centered-layout .form-row-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================
   UI 6 (Full Screen Form) 고정형 사이드 스티키 폼 스타일
   ========================================== */
.hero-container.full-split-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* Left scrolling info, Right sticky form */
    gap: 60px;
    align-items: start;
}

.full-split-left-info {
    padding-top: 20px;
}

.split-main-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--theme-color);
    line-height: 1.35;
    margin-top: 20px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.full-split-perks {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
}

.perk-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.perk-row:last-child {
    margin-bottom: 0;
}

.perk-bullet {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background-color: var(--theme-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(var(--theme-color-rgb), 0.15);
}

.perk-row h5 {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.perk-row p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.full-split-right-form-sticky {
    position: sticky;
    top: 100px;
    /* Keep sticky below header */
    z-index: 900;
}

.form-card.sticky-form-card {
    border-radius: 24px;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-premium);
}

@media (max-width: 991px) {
    .hero-container.full-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .full-split-right-form-sticky {
        position: static;
        width: 100%;
    }
}

/* ==========================================
   UI 7 (Landing Top Form) 탑 와이드형 레이아웃
   ========================================== */
.landing-top-form-container {
    max-width: 960px;
    margin: 0 auto;
}

.form-card.landing-top-horizontal-card {
    border-radius: 24px;
    padding: 40px;
}

.form-top-flex-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .form-top-flex-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-card.landing-top-horizontal-card {
        padding: 25px 20px;
    }
}

/* ==========================================
   UI 8 (Minimal Direct) 모던 컴팩트 다이렉트 폼
   ========================================== */
.minimal-direct-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 0;
}

.form-card.minimal-direct-card {
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
    border: 1px solid #f1f5f9;
}

.minimal-form-control {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.minimal-form-control:focus {
    background-color: var(--white);
    border-color: var(--theme-color);
}

.minimal-job-selector .job-btn {
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 12px;
}

.minimal-job-selector .job-radio:checked+.job-btn {
    background-color: var(--theme-color);
    color: var(--white);
    border-color: var(--theme-color);
}

.minimal-btn-submit {
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    letter-spacing: -0.3px;
    background-color: var(--theme-color);
    box-shadow: 0 10px 25px -5px rgba(var(--theme-color-rgb), 0.35);
}

/* ==========================================
   📱 모바일 UI 전격 최적화 고도화 정합 패치 (Mobile UI Ultimate Optimization)
   ========================================== */
@media (max-width: 768px) {

    /* 1. 글로벌 타이포그래피 모바일 스케일 다운 */
    .hero-title,
    .minimal-main-title,
    .split-main-title {
        font-size: 26px !important;
        line-height: 1.35 !important;
        letter-spacing: -0.8px !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }

    .hero-subtitle,
    .minimal-sub-title,
    .split-sub-title {
        font-size: 14.5px !important;
        line-height: 1.55 !important;
        color: var(--text-muted) !important;
        margin-bottom: 24px !important;
        text-align: center !important;
    }

    /* 2. 섹션 여백 Reclaim (모바일 세로 스크롤 최소화) */
    .hero-section {
        padding: 40px 15px !important;
    }

    .section-title {
        font-size: 22px !important;
        margin-bottom: 30px !important;
    }

    /* 3. 카드형 레이아웃 패딩 최적화 */
    .form-card,
    .form-card.wide-form-card,
    .form-card.floating-glass-card,
    .form-card.sticky-form-card,
    .form-card.landing-top-horizontal-card,
    .form-card.minimal-direct-card {
        padding: 24px 20px !important;
        border-radius: 20px !important;
        border: 1px solid var(--border-color) !important;
    }

    .form-header h3 {
        font-size: 19px !important;
    }

    /* 4. 터치 친화적 대형 입력 단추 (모바일 터치 씹힘 방지) */
    .form-control,
    .form-control-edit {
        padding: 13px 16px !important;
        font-size: 14.5px !important;
        border-radius: 10px !important;
        height: auto !important;
    }

    /* 직업 선택 버튼 터치 면적 최대화 */
    .job-selector {
        gap: 8px !important;
    }

    .job-btn {
        padding: 12px 6px !important;
        font-size: 13.5px !important;
        border-radius: 10px !important;
    }

    /* 동의 상자 정렬 */
    .consent-box {
        padding: 12px !important;
        border-radius: 10px !important;
        margin-bottom: 20px !important;
    }

    .consent-row {
        gap: 6px !important;
    }

    .consent-row label {
        font-size: 12.5px !important;
    }

    /* 대출 제출 버튼 대형화 및 펄스 광원 주입 */
    .btn-submit {
        padding: 15px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
        font-weight: 800 !important;
    }

    /* 5. 상품안내 / 진행절차 그리드 최적화 (모바일 1열 적층) */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .product-card {
        padding: 20px !important;
        border-radius: 12px !important;
    }

    .prod-value {
        font-size: 18px !important;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        margin-top: 30px !important;
    }

    .process-card {
        padding: 20px !important;
        border-radius: 12px !important;
    }

    /* 6. 모바일 헤더/탑바 로고 정렬 선명화 */
    .header-container {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .logo {
        align-items: center !important;
    }

    .logo-main {
        font-size: 14.5px !important;
    }

    .logo-badge {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }

    .logo-sub {
        font-size: 16px !important;
    }

    .header-contact {
        font-size: 13px !important;
        width: 100% !important;
        justify-content: center !important;
        border-top: 1px dashed var(--border-color) !important;
        padding-top: 6px !important;
    }

    /* 7. 대형 금융 약관 상세 팝업 모바일 최적화 */
    .modal-content {
        padding: 24px 20px !important;
        width: 92% !important;
        border-radius: 18px !important;
    }

    .modal-content h3 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
}