/* 공통 스타일 */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --text-color: #333;
    --bg-color: #fff;
    --border-color: #dee2e6;
    --max-width: 1200px;
    --check-color: #29bd7b;
}

* {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    width: 100%;
    background: #eef7ff;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* Section 1: Hero */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    min-height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}

/* 데스크탑 배경 */
.hero-section-desktop {
    background-image: url('../images/sec1-bg.png');
    display: block;
}

/* 모바일 배경 */
.hero-section-mobile {
    background-image: url('../images/sec1-bg-mobile.png');
    display: none;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 35px 0 100px 0;
}

.hero-top-text {
    font-size: 55px;
    font-weight: 700;
    color: #293e5b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-main-text {
    font-size: 75px;
    font-weight: 900;
    color: #0183fb;
    margin-bottom: 100px;
    line-height: 1.1;
}

.hero-btn {
    display: inline-block;
    padding: 20px 50px;
    background: #0183fb;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(1, 131, 251, 0.4);
}

.hero-btn:hover {
    background: #0165c7;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(1, 131, 251, 0.5);
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

.content-section:nth-child(even) {
    background-color: #fff;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Section 2: 특징 */
.section2-highlight {
    background: #fff;
    padding: 60px 0;
}

.section2-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.section2-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section2-text {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.section2-eng {
    font-size: 52px;
    font-weight: 900;
    color: #0183fb;
    margin-bottom: 20px;
}

.section2-divider {
    font-size: 40px;
    color: #333;
    font-weight: 300;
}


.section2-divider.mobile {
    display: none;
}


/* Section 3: 고객님의 긴급한 자금 융통 */
.section3-features {
    position: relative;
    background-color: #0183fb;
    padding-bottom: 80px;
    margin-top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

/* 배경 장식 */
.bg-deco {
    position: absolute;
    border: 8px solid rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
}

.bg-deco.diamond {
    width: 100px;
    height: 100px;
    top: 50px;
    left: 10%;
    transform: rotate(45deg);
}

.bg-deco.circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: 150px;
    right: 15%;
}

/* 휴대폰 이미지 스타일 */
.phone-img {
    width: 100%;
    max-width: 490px;
    height: auto;
    margin-top: -180px;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

/* 하단 정보 박스 스타일 */
.info-card {
    width: 90%;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px 40px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
    color: white;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* 아이콘 스타일 */
.info-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.info-icon::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: #0183fb;
    border-radius: 50%;
}

/* 텍스트 스타일 */
.info-content h3 {
    font-size: 35px;
    margin-bottom: 12px;
    font-weight: 800;
    margin-top: 0;
}

.info-content p {
    font-size: 25px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
    word-break: keep-all;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-top: -20px;
    margin-bottom: 40px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-row textarea {
    grid-column: 1 / -1;
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--check-color);
}

.privacy-check {
    display: flex;
    align-items: center;
}

.privacy-check label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.privacy-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--check-color);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #24a96a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 189, 123, 0.3);
}

/* Section 4: 많은 분들이 찾아주시는 이유 */
.section4-reasons {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section4-main-title {
    font-size: 35px;
    font-weight: 700;
    color: #666;
    text-align: center;
}

.section4-sub-title {
    font-size: 65px;
    font-weight: 900;
    color: #0183fb;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section4-sub-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 6px;
    background: #0183fb;
    border-radius: 3px;
}

.section4-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.reason-card {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 25px;
    padding: 50px 40px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.reason-card:hover {
    transform: translateY(-5px);
    border-color: #0183fb;
    box-shadow: 0 10px 30px rgba(1, 131, 251, 0.15);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.reason-icon i {
    font-size: 35px;
    color: #0183fb;
}

.reason-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reason-title::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #0183fb;
    border-radius: 50%;
    flex-shrink: 0;
}

.reason-desc {
    font-size: 20px;
    font-weight: 600;
    color: #666;
    line-height: 1.6;
}

/* Section 5: 상담신청 폼 */
.section5-form {
    background: #f8f9fa;
}

.section5-title {
    font-size: 35px;
    font-weight: 700;
    text-align: center;
    color: #555;
}

.section5-subtitle {
    font-size: 65px;
    font-weight: 900;
    text-align: center;
    color: #0183fb;
    margin-bottom: 60px;
}

.consult-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.consult-form-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fff;
    cursor: pointer;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230183fb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0183fb;
    box-shadow: 0 0 0 3px rgba(1, 131, 251, 0.1);
}

.form-group select:hover {
    border-color: #0183fb;
}

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

.privacy-agreement {
    text-align: center;
    margin: 20px 0;
}

.privacy-agreement label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #666;
}

.privacy-agreement input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.privacy-agreement a {
    color: #0183fb;
    text-decoration: underline;
    font-weight: 600;
}

.btn-submit-main {
    width: 100%;
    padding: 20px;
    background: #0183fb;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(1, 131, 251, 0.4);
}

.btn-submit-main:hover {
    background: #0165c7;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(1, 131, 251, 0.5);
}

/* 개인정보 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0183fb;
}

.modal-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 25px 0 15px;
}

.modal-body {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.modal-body p {
    margin-bottom: 20px;
}

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.modal-body ul li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.modal-body .notice {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-top: 20px;
    font-weight: 600;
    color: #856404;
}

/* Section 6: 비대면 대출 절차 */
.section6-process {
    background: #0183fb;
    padding: 80px 0 100px 0;
    position: relative;
}

.section6-triangle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #0183fb;
}

.section6-subtitle {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    color: #fff;
}

.section6-title {
    text-align: center;
    font-size: 65px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 60px;
}

.section6-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.step-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section 7: 고객 후기 */
.section7-reviews {
    background: #fff;
    padding: 100px 0;
}

.section7-subtitle {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    color: #666;
}

.section7-title {
    text-align: center;
    font-size: 65px;
    font-weight: 900;
    color: #0183fb;
    margin-bottom: 60px;
}

.review-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.review-list-mobile {
    display: none;
}

.review-box {
    width: 100%;
}

.review-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/* Section 8: 대출안내*/
.section8-process {
    background: #0183fb;
    padding: 80px 0 100px 0;
    position: relative;
}

.section8-process .container{
    max-width: 1700px;
}

.section8-triangle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #0183fb;
}

.section8-subtitle {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    color: #fff;
}

.section8-title {
    text-align: center;
    font-size: 65px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 60px;
}

.section8-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1700px;
    gap: 10px;
    margin: 0 auto;
}

.section8-images-mobile {
    display: none;
}


/* Footer */
.footer {
    background: #222;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.footer-logo img {
    height: 40px;
    margin: 0 auto;
}

.footer-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-copyright p {
    font-size: 13px;
    color: #888;
}

/* 반응형 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .section-title {
        font-size: 32px;
    }

    .content-section {
        padding: 60px 0;
    }

    /* Section 1 반응형 */
    .hero-section {
        padding: 60px 0;
        min-height: 600px;
    }

    /* 데스크탑 배경 숨김 */
    .hero-section-desktop {
        display: none !important;
    }

    /* 모바일 배경 표시 */
    .hero-section-mobile {
        display: block !important;
    }

    .hero-text-content {
        padding: 60px 0;
    }

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

    .hero-main-text {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .hero-btn {
        font-size: 18px;
        padding: 16px 40px;
    }

    /* Section 2 반응형 */
    .section2-highlight {
        padding: 15px 0;
    }

    .section2-content {
        flex-direction: column;
        gap: 5px;
        border: 1px solid #ddd;
    }

    .section2-text {
        font-size: 18px;
    }

    .section2-eng {
        font-size: 32px;
        margin-bottom: unset;
    }

    .section2-divider {
        display: none;
    }

    .section2-divider.mobile {
        display: block;
    }

    /* Section 3 & 7 반응형 */
    .form-container {
        padding: 30px 20px;
    }

    /* Section 3 모바일 */
    .section3-features {
        padding-top: 160px;
        padding-bottom: 60px;
    }

    .section3-blue-bg {
        padding: 60px 0 200px;
    }

    .section3-blue-bg::before,
    .section3-blue-bg::after {
        display: none;
    }

    .section3-container {
        padding: 0 20px;
    }

    .section3-phone {
        width: 100%;
        max-width: 320px;
    }

    .phone-img {
        max-width: 320px;
        margin-top: -340px;
    }

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

    .info-content h3 {
        font-size: 23px;
    }
    .info-content p {
        font-size: 14px;
    }
    .info-icon {
        display: none;
    }



    .phone-tags {
        padding: 0 15px;
        gap: 10px;
    }

    .phone-tag {
        padding: 10px 30px;
        font-size: 16px;
    }

    .phone-hashtag {
        font-size: 14px;
    }

    .section3-card-wrapper {
        margin: -150px auto 0;
        padding: 0 20px;
    }

    .section3-card {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }

    .card-icon i {
        font-size: 16px;
    }

    .card-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .card-desc {
        font-size: 15px;
        line-height: 1.7;
    }


    /* Section 4 모바일 */
    .section4-reasons {
        padding: 60px 0;
    }

    .section4-main-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .section4-sub-title {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .section4-sub-title::after {
        width: 280px;
        height: 4px;
    }

    .section4-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 50px auto 0;
        padding: 0 15px;
    }

    .reason-card {
        padding: 35px 25px;
        border-radius: 20px;
        border-width: 2px;
    }

    .reason-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
        display: none;
    }

    .reason-icon i {
        font-size: 30px;
    }

    .reason-title {
        font-size: 22px;
        margin-bottom: 12px;
        gap: 8px;
    }

    .reason-title::before {
        width: 10px;
        height: 10px;
    }

    .reason-desc {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }


    /* Section 5 반응형 */
    .section5-title {
        font-size: 20px;
    }

    .section5-subtitle {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .consult-form-container {
        padding: 30px 20px;
    }

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

    .btn-submit-main {
        font-size: 20px;
        padding: 18px;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 10% auto;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    /* Section 6 반응형 */
    .section6-process {
        padding: 60px 0 80px 0;
    }

    .section6-subtitle {
        font-size: 20px;
    }

    .section6-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .section6-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 280px;
        margin: 0 auto;
    }

    .step-item img {
        width: 100%;
    }

    /* Section 7 반응형 */
    .section7-reviews {
        padding: 60px 0;
    }

    .section7-subtitle {
        font-size: 20px;
    }

    .section7-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .review-list {
        gap: 20px;
        display: none;
    }
    .review-list-mobile {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .review-box img {

        box-shadow: unset;
    }


    
    /* Section 8 반응형 */
    .section8-process {
        padding: 60px 0;
    }

    .section8-subtitle {
        font-size: 20px;
    }

    .section8-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .section8-images {
        display: none;
    }

    .section8-images-mobile {
        position: relative;
        width: 100%;
        overflow: hidden;
        display: block;
    }

    .section8-slider-wrapper {
        display: flex;
        transition: transform 0.3s ease;
        align-items: center;
        touch-action: pan-y;
    }

    .section8-images-mobile .image-item {
        flex-shrink: 0;
        width: 70%;
        padding: 0 5px;
        transition: all 0.3s ease;
    }

    .section8-images-mobile .image-item img {
        width: 100%;
        display: block;
        border-radius: 10px;
    }

    .footer{
        font-size: 12px;
    }
}
