@charset "UTF-8";

/* ========================================
   CSS 변수
   ======================================== */
:root {
    --primary-color: #1a1a1a;
    --accent-color: #f4c430;
    --accent-hover: #e5b62e;
    --text-dark: #222222;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========================================
   리셋 및 기본 스타일
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* 상단 정보바 */
.header-top {
    background: #1a1a1a;
    padding: 10px 0;
    text-align: center;
}

.header-top p {
    font-size: 13px;
    color: #fff;
    margin: 0;
}

/* 메인 헤더 */
.header-main {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 전화번호 버튼 */
.btn-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 16px;
    background: var(--bg-white);
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-phone:hover {
    border-color: #3b82f6;
}

.btn-phone .icon-circle {
    width: 36px;
    height: 36px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-phone .icon-circle i {
    color: #fff;
    font-size: 14px;
}

.btn-phone .phone-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-phone .phone-label {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.2;
}

.btn-phone .phone-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

/* 카카오톡 버튼 */
.btn-kakao {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #FEE500;
    color: #3C1E1E;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid #FEE500;
    transition: all 0.3s ease;
}

.btn-kakao:hover {
    background: #E6D000;
    border-color: #E6D000;
}

.btn-kakao i {
    font-size: 16px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 110px; /* header-top(약 40px) + header-main(70px) */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    color: var(--bg-white);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 18px 40px;
    background: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--bg-white);
    color: var(--text-dark);
}

/* ========================================
   반응형 - 태블릿
   ======================================== */
@media (max-width: 1024px) {
    .header-top p {
        font-size: 12px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .btn-phone .phone-label {
        display: none;
    }

    .btn-phone .phone-number {
        font-size: 16px;
    }

    .hero {
        margin-top: 100px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-content {
        padding: 0 20px;
    }
}

/* ========================================
   반응형 - 모바일
   ======================================== */
@media (max-width: 768px) {
    /* 상단 정보바 모바일 */
    .header-top {
        padding: 8px 15px;
    }

    .header-top p {
        font-size: 10px;
        line-height: 1.4;
    }

    /* 메인 헤더 모바일 */
    .header-inner {
        height: 56px;
        padding: 0 15px;
    }

    .logo {
        font-size: 20px;
    }

    .header-right {
        gap: 8px;
    }

    /* 전화버튼 - 아이콘만 표시 */
    .btn-phone {
        padding: 10px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
    }

    .btn-phone .phone-text {
        display: none;
    }

    .btn-phone .icon-circle {
        width: 100%;
        height: 100%;
    }

    /* 카카오톡 버튼 - 아이콘만 표시 */
    .btn-kakao {
        padding: 10px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
    }

    .btn-kakao span {
        display: none;
    }

    .btn-kakao i {
        font-size: 18px;
    }

    /* Hero 모바일 */
    .hero {
        margin-top: 90px;
        height: calc(100vh - 90px);
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .btn-cta {
        padding: 14px 30px;
        font-size: 14px;
    }
}

/* ========================================
   Section 2: Features (신용등급 영향없는 안심 대출 상담)
   ======================================== */
.features {
    min-height: 100vh;
    padding: 0;
    background: var(--bg-light);
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
}

.features-inner {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: flex-start;
    gap: 80px;
}

.features-text {
    max-width: 500px;
}

.features-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 24px;
}

.features-title span {
    color: var(--text-dark);
}

.features-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Features Image */
.features-image {
    display: flex;
    justify-content: flex-end;
}

.features-image img {
    max-width: 100%;
    height: auto;
}

/* Features 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .features {
        min-height: auto;
        padding: 80px 0;
        align-items: center;
    }

    .features-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 30px;
        gap: 50px;
    }

    .features-text {
        max-width: 100%;
    }

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

    .features-desc br {
        display: none;
    }

    .features-image {
        justify-content: center;
    }

    .features-image img {
        max-width: 80%;
    }
}

/* Features 반응형 - 모바일 */
@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }

    .features-inner {
        padding: 0 20px;
        gap: 40px;
    }

    .features-title {
        font-size: 26px;
    }

    .features-image img {
        max-width: 100%;
    }
}

/* ========================================
   Section 3: Stats (오늘까지 대출 이용건수)
   ======================================== */
.stats {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    padding: 30px 0;
    overflow: hidden;
}

.stats-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-text h2 {
    font-size: 54px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.stats-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.stats-number-wrap {
    width: 300px;
    height: 300px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats-number {
    font-size: 72px;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}

.stats-number span {
    font-size: 45px;
    font-weight: 600;
    color: #f59e0b;
}

/* Stats 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .stats-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 0 30px;
    }

    .stats-text h2 {
        font-size: 24px;
    }

    .stats-number-wrap {
        width: 160px;
        height: 160px;
    }

    .stats-number {
        font-size: 36px;
    }

    .stats-number span {
        font-size: 18px;
    }
}

/* Stats 반응형 - 모바일 */
@media (max-width: 768px) {
    .stats-inner {
        padding: 0 20px;
        gap: 20px;
    }

    .stats-text h2 {
        font-size: 20px;
    }

    .stats-text p {
        font-size: 12px;
    }

    .stats-number-wrap {
        width: 140px;
        height: 140px;
    }

    .stats-number {
        font-size: 30px;
    }

    .stats-number span {
        font-size: 16px;
    }
}

/* ========================================
   Section 4: Realtime (실시간 대출 현황)
   ======================================== */
.realtime {
    min-height: 100vh;
    padding: 0;
    background: var(--bg-white);
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
}

.realtime-inner {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: flex-start;
    gap: 80px;
}

/* 실시간 현황 리스트 */
.realtime-list-wrap {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.realtime-list-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.realtime-list-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.realtime-list-container {
    height: 380px;
    overflow: hidden;
    position: relative;
}

.realtime-list {
    animation: scrollUp 20s linear infinite;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.realtime-item {
    display: grid;
    grid-template-columns: 80px 1fr 90px;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.realtime-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.realtime-amount {
    font-size: 15px;
    color: var(--text-gray);
}

.realtime-status {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    text-align: center;
}

/* 상태별 색상 */
.status-apply {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-waiting {
    background: #fef3c7;
    color: #b45309;
}

.status-consulting {
    background: #ede9fe;
    color: #7c3aed;
}

.status-done {
    background: #d1fae5;
    color: #047857;
}

.status-complete {
    background: #fce7f3;
    color: #be185d;
}

/* 우측 텍스트 */
.realtime-text {
    max-width: 500px;
    margin-left: auto;
}

.realtime-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 24px;
}

.realtime-title span {
    color: var(--text-dark);
}

.realtime-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Realtime 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .realtime {
        min-height: auto;
        padding: 80px 0;
        align-items: center;
    }

    .realtime-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 30px;
        gap: 50px;
    }

    .realtime-text {
        max-width: 100%;
        margin-left: 0;
        order: -1;
    }

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

    .realtime-desc br {
        display: none;
    }

    .realtime-list-wrap {
        height: 350px;
    }
}

/* Realtime 반응형 - 모바일 */
@media (max-width: 768px) {
    .realtime {
        padding: 60px 0;
    }

    .realtime-inner {
        padding: 0 20px;
        gap: 40px;
    }

    .realtime-title {
        font-size: 26px;
    }

    .realtime-list-wrap {
        height: 300px;
        padding: 20px;
    }

    .realtime-item {
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .realtime-name {
        font-size: 16px;
    }

    .realtime-amount {
        font-size: 14px;
    }

    .realtime-status {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ========================================
   Section 5: Slider (슬라이드)
   ======================================== */
.slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    overflow: hidden;
}

.slider-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    text-align: center;
    padding: 60px 20px;
}

.slide-subtitle {
    font-size: 32px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.slide-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
}

/* 슬라이드 인디케이터 */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Slider 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .slider {
        padding: 80px 0;
    }

    .slider-inner {
        padding: 0 30px;
    }

    .slide {
        padding: 40px 20px;
    }

    .slide-subtitle {
        font-size: 24px;
    }

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

/* Slider 반응형 - 모바일 */
@media (max-width: 768px) {
    .slider {
        padding: 60px 0;
    }

    .slider-inner {
        padding: 0 20px;
    }

    .slide {
        padding: 30px 10px;
    }

    .slide-subtitle {
        font-size: 18px;
    }

    .slide-title {
        font-size: 22px;
    }

    .slider-dots {
        margin-top: 30px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* ========================================
   Section 6: Contact (신청폼)
   ======================================== */
.contact {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.contact-inner {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: center;
}

.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 60px 80px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 12px;
    text-align: center;
}

.contact-title span {
    color: #7c3aed;
}

.contact-desc {
    font-size: 15px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 40px;
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #7c3aed;
}

.form-group input::placeholder {
    color: var(--text-light);
}

.btn-submit {
    margin-top: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-family);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

/* Contact 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .contact {
        padding: 80px 0;
    }

    .contact-inner {
        padding: 0 30px;
    }

    .contact-card {
        padding: 50px 40px;
    }

    .contact-title {
        font-size: 28px;
    }
}

/* Contact 반응형 - 모바일 */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .contact-inner {
        padding: 0 20px;
    }

    .contact-card {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .contact-title {
        font-size: 24px;
    }

    .contact-desc {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .form-group input,
    .form-group select {
        padding: 14px 16px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 16px 30px;
        font-size: 15px;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #4a4a4a;
    padding: 60px 0 40px;
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 14px;
    color: #fff;
    line-height: 1.8;
    margin: 0;
}

.footer-notice {
    margin-bottom: 30px;
    padding: 20px 0;
}

.footer-notice p {
    font-size: 13px;
    color: #ef4444;
    line-height: 1.8;
    margin: 0;
}

.footer-terms {
    margin-bottom: 30px;
}

.footer-terms p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

.footer-copyright {
    padding-top: 20px;
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Footer 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .footer {
        padding: 50px 0 30px;
    }

    .footer-inner {
        padding: 0 30px;
    }

    .footer-info p,
    .footer-notice p,
    .footer-terms p {
        font-size: 12px;
    }
}

/* Footer 반응형 - 모바일 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px;
    }

    .footer-inner {
        padding: 0 20px;
    }

    .footer-info p,
    .footer-notice p,
    .footer-terms p {
        font-size: 11px;
        line-height: 1.7;
    }

    .footer-copyright p {
        font-size: 11px;
    }
}
