/* ===== Reset and Base Styles ===== */

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Utility Styles from components.css */
.highlight {
    color: #00BF73;
}

.arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}

/* 모든 화면 크기에서 적용될 글꼴 크기 조정 */
.hero-section .hero-title, .hero-header .hero-title {
    font-size: 2.2rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.hero-section .button-text, .hero-header .button-text {
    font-size: 2.2rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.hero-section .cta-button, .hero-header .cta-button {
    font-size: 2.2rem !important;
    padding: 8px 15px !important;
    font-weight: 600 !important;
}

.hero-section .cta-button span, .hero-header .cta-button span {
    font-size: 2.2rem !important;
    font-weight: 600 !important;
}

.hero-description {
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    margin-top: 10px !important;
    color: #666 !important;
}

@media (max-width: 480px) {
    /* From responsive.css for 480px */
    .hero-section .hero-title, .hero-header .hero-title {
        font-size: 1.2rem !important;
    }
    
    .hero-section .button-text, .hero-header .button-text {
        font-size: 2rem !important;
    }
    
    .hero-section .cta-button, .hero-header .cta-button {
        font-size: 1.2rem !important;
        padding: 6px 12px !important;
    }
    
    .hero-description {
        font-size: 0.85rem !important;
    }
}

/* 당일신청 버튼 스타일 */
.apply-today-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    color: #00BF73;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    padding-bottom: 5px; /* 밑줄 공간 확보 */
    overflow: visible; /* 중요: overflow를 visible로 변경 */
}

.apply-today-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00BF73;
    transition: width 0.4s ease;
}

.apply-today-btn:hover::after {
    width: 100%;
}

.apply-today-btn .btn-text {
    position: relative;
}

.apply-today-btn .btn-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.apply-today-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ===== 3D Flip Button Styles (from button-3d.css) ===== */
.apply-today-3d {
  position: relative;
  display: inline-block;
  margin-top: 48px;
  width: 160px;
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  text-align: center;
  font-family: 'GmarketSansMedium', sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: #ccc;
  color: #222;
  border: none;
  overflow: hidden;
  transition: background 0.3s;
  perspective: 600px;
}
.apply-today-3d .btn-arrow {
  position: relative;
  z-index: 3;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  font-size: 1.1em;
}
.apply-today-3d:before,
.apply-today-3d:after {
  transform-style: preserve-3d;
}
.apply-today-3d:before {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  text-align: center;
  background: #00BF73;
  color: #fff;
  transition: 0.5s;
  transform-origin: bottom;
  transform: translateY(-100%) rotateX(90deg);
  z-index: 2;
}
.apply-today-3d:hover:before {
  transform: translateY(0) rotateX(0deg);
}
.apply-today-3d:after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  text-align: center;
  background: #009e5a;
  color: #fff;
  transition: 0.5s;
  transform-origin: top;
  transform: translateY(0) rotateX(0deg);
  z-index: 1;
}
.apply-today-3d:hover:after {
  transform: translateY(100%) rotateX(90deg);
}
.apply-today-3d .btn-arrow svg path {
  stroke: #fff;
  transition: stroke 0.3s;
}
.apply-today-3d:hover .btn-arrow svg path {
  stroke: #fff;
}

/* ===== Speech Bubble Section Styles ===== */
.speech-bubble-section {
    margin: 10px 0 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.speech-bubble {
    width: 45%;
    display: flex;
    align-items: flex-start;
    background-color: transparent;
    padding: 15px 0;
    margin-bottom: 0;
}

.character-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.character-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.bubble-content {
    flex-grow: 1;
}

.bubble-content p {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333;
    font-weight: 600;
    position: relative;
    padding-left: 40px;
    padding-right: 40px;
}

/* 따옴표 스타일 */
.bubble-content p::before {
    content: none;
}

.bubble-content p::after {
    content: none;
}

.quote-mark, .quote-mark-end {
    font-size: 3.6rem;
    font-weight: 700;
    color: #00BF73;
    display: inline-block;
    vertical-align: top;
    line-height: 0.7;
}

.quote-mark {
    margin-right: 5px;
}

.quote-mark-end {
    margin-left: 5px;
}

.speech-bubble.highlight {
    background-color: transparent;
    position: relative;
    padding-top: 25px;
    margin-top: 20px;
}

.speech-bubble.highlight:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: #00BF73;
}

.speech-bubble.highlight .bubble-content p {
    font-weight: 600;
    color: #222;
    font-size: 1.5rem;
}

.highlight-message {
    text-align: center;
    margin: 50px auto;
    max-width: 800px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    position: relative;
}

.highlight-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 3px;
    background-color: #00BF73;
}

.highlight-message p {
    font-size: 1.5rem;
    line-height: 1.7;
    font-weight: 700;
    color: #444;
    margin: 0;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00BF73;
    margin-bottom: 15px;
}

.intro-text {
    text-align: left;
    margin-bottom: 20px;
    margin-top: 0;
}

.intro-text p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #444;
    font-weight: 500;
}

.subpage-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #00BF73;
    margin-top: 5px;
}

/* Loan Highlights Section */
.loan-highlights {
    margin: 40px 0;
}

.highlights-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.highlight-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background-color: #e6f7f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #00BF73;
    font-size: 1.5rem;
}

.highlight-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

/* 대출 정보 섹션 스타일 */
.loan-info-section {
    margin: 60px 0;
}

.loan-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.loan-info-card {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: #00BF73;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-icon i {
    font-size: 22px;
    color: white;
}

.loan-info-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin: 0;
}

.info-list {
    padding-left: 20px;
    margin: 0;
}

.info-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* 주요 특징 섹션 스타일 */
.feature-section {
    margin: 80px 0;
}

.feature-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #00BF73;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.feature-icon i {
    font-size: 22px;
    color: white;
}

.feature-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin: 0;
}

.feature-list {
    padding-left: 20px;
    margin: 0;
}

.feature-list li {
    margin-bottom: 12px;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #555;
}

/* 주요 특징 섹션 스타일 */
.loan-highlights-section {
    margin: 60px auto;
    max-width: 1400px;
}

.section-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.highlights-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.highlight-item {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    background-color: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background-color: #00BF73;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 22px;
    color: white;
}

.highlight-item p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
    font-weight: 600;
    position: relative;
    padding: 0 5px;
}

.quote-mark-top, .quote-mark-bottom {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00BF73;
    display: inline-block;
    line-height: 1;
}

.quote-mark-top {
    vertical-align: top;
    margin-right: 3px;
}

.quote-mark-bottom {
    vertical-align: bottom;
    margin-left: 3px;
}

/* Responsive styles for speech bubbles */
@media (max-width: 768px) {
    /* 말풍선 섹션 - 2개씩 배치 */
    .speech-bubble-section {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 15px 0 30px !important;
    }
    
    .speech-bubble {
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 8px !important;
        margin: 0 !important;
        background-color: #f9f9f9 !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    
    .character-icon {
        margin-right: 0 !important;
        margin-bottom: 8px !important;
    }
    
    .character-icon img {
        width: 30px !important;
        height: 30px !important;
    }
    
    .bubble-content {
        width: 100% !important;
    }
    
    .bubble-content p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding: 0 5px !important;
        text-align: center !important;
    }
    
    .quote-mark-top, .quote-mark-bottom {
        font-size: 0.8rem !important;
        margin: 0 2px !important;
    }
    
    /* 하이라이트 메시지도 작게 */
    .highlight-message {
        margin: 20px auto !important;
        padding: 15px !important;
    }
    
    .highlight-message p {
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
    }
    
    /* 기타 콘텐츠 그리드들도 2개씩 배치 */
    .highlights-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    .highlight-item {
        padding: 10px !important;
        min-width: auto !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .highlight-icon {
        width: 30px !important;
        height: 30px !important;
        margin-right: 0 !important;
        margin-bottom: 5px !important;
        font-size: 1rem !important;
    }
    
    .highlight-item p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        text-align: center !important;
    }
}

/* 대출 진행 절차 섹션 스타일 - 간단한 가로 타임라인 */
.loan-process-section {
    margin: 60px auto;
    max-width: 1400px;
}

.simple-timeline {
    padding: 30px 0;
    position: relative;
    width: 100%;
}

.timeline-line {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.timeline-line::before {
    content: '';
    position: absolute;
    height: 3px;
    background-color: #00BF73;
    top: 30px;
    left: 60px;
    right: 60px;
    z-index: 1;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 25%;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #00BF73;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.step-label {
    text-align: center;
    padding: 0 10px;
}

.step-label h4 {
    font-size: 1.4rem;
    color: #333;
    margin: 0 0 10px 0;
}

.step-label p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .timeline-steps {
        flex-direction: column;
    }
    
    .timeline-step {
        width: 100%;
        margin-bottom: 30px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    
    .step-number {
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .step-label {
        text-align: left;
    }
    
    .timeline-line::before {
        height: 100%;
        width: 3px;
        top: 0;
        bottom: 0;
        left: 30px;
        right: auto;
    }
}

/* ===== Credit Grid Section Styles (from credit-grid.css) ===== */

/* Credit Grid Styles */
:root {
  --color-bg: transparent;
  --color-primary: #188FED;
}

/* Section Title Styles */
.features .section-title + .section-description + .feature-grid .section-title,
.credit-section-title {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 2.5rem;
  color: #1e40af;
  margin-bottom: 3rem;
  font-weight: 700;
}

/* Credit Grid Layout */
.credit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 0.8rem 0.4rem;
  background: #fff;
  border-radius: 24px;
  max-width: 1400px;
  margin: 0.5rem auto 1.5rem auto; /* Adjusted top and bottom margins */
  position: relative;
  justify-items: center;
}

.creditList {
  background: #fff;
  border-radius: 30px;
  box-shadow: 2px 10px 6px #9393932f;
  padding: 20px;
  width: 252px;
  height: 313px;
  text-align: center;
  margin: 10px 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.creditList .name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
  font-family: 'GmarketSansMedium', sans-serif;
}

.creditList .main-title {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: #333;
  font-family: 'GmarketSansMedium', sans-serif;
  font-weight: 500;
}

.creditList .sub-title {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #333;
  font-family: 'GmarketSansMedium', sans-serif;
  font-weight: 500;
}

.creditList img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: bottom .6s ease;
  bottom: 5px;
  z-index: 3;
  width: 105px;
  height: 105px;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
  will-change: transform, bottom;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateX(-50%) translateZ(0);
  opacity: 0.9;
  filter: brightness(1.05) contrast(1.05);
}

.creditList:hover {
  transform: scale(1.05);
  z-index: 10;
}

.creditList:hover img {
  bottom: -20px;
}

.creditList .hoverBox {
  padding: 30px 18px 18px 18px;
  text-align: center;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 30px;
  pointer-events: none;
  box-sizing: border-box;
  margin: 0;
}

.creditList .hoverBox .name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  width: 100%;
  padding: 0;
  text-align: center;
  transform: scale(1);
  transition: transform 0.3s ease;
  color: #333;
  font-family: 'GmarketSansMedium', sans-serif;
}

.creditList .hoverBox .main-title {
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0 0 1rem 0;
  text-align: center;
  width: 100%;
  padding: 0;
  transform: scale(1);
  transition: transform 0.3s ease;
  color: #00BF73; /* Changed to green */
  font-family: 'GmarketSansMedium', sans-serif;
  font-weight: 500;
}

.creditList .hoverBox .sub-title {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0 0 1.2rem 0;
  text-align: center;
  width: 100%;
  padding: 0;
  transform: scale(1);
  transition: transform 0.3s ease;
  color: #333;
  font-family: 'GmarketSansMedium', sans-serif;
  font-weight: 500;
}

.creditList:hover .hoverBox .name,
.creditList:hover .hoverBox .main-title {
  transform: scale(1.15);
}

.creditList:hover .hoverBox .sub-title {
  transform: scale(1.1);
}

.creditList:hover .hoverBox {
  opacity: 1;
  pointer-events: auto;
  animation: zoomInEffect 0.3s forwards;
}

@keyframes zoomInEffect {
  0% {
    transform: scale(0.95) translateY(-10px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.hoverBox .main-title span {
  color: #00BF73; /* Changed to green */
  font-weight: 700; /* Adjusted for consistency, can be 900 if very bold is needed */
  font-family: 'GmarketSansMedium', sans-serif;
}

.hoverBox label {
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background-color: #00BF73;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color .3s, transform .2s;
  display: inline-block;
  margin-top: auto; 
  margin-bottom: 10px; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-family: 'GmarketSansMedium', sans-serif;
}

.hoverBox label:hover {
  background-color: #00a566;
  transform: translateY(-2px);
}

/* Responsive Styles for Credit Grid */
@media (max-width: 1200px) {
  .credit {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
  }
}

@media (max-width: 992px) {
  .credit {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
  .creditList {
    width: 260px; /* Slightly adjust width if needed */
    height: auto; /* Auto height for content flow */
    padding-bottom: 120px; /* Ensure space for image */
  }
  .creditList img {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .credit-section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .credit {
    grid-template-columns: 1fr;
    max-width: 320px; /* Max width for single column */
    gap: 1rem;
  }
  .creditList {
    width: 100%; /* Full width for single column */
    max-width: 300px; /* Max width for card */
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Header Banner ===== */
/* 스타일이 있다면 여기에 위치합니다. 없다면 index.html의 .header-banner 클래스에 직접 스타일링 될 수 있습니다. */

/* ===== Top Navigation ===== */

/* Scrolled state for navigation */
.sticky-nav-container.scrolled {
    background-color: #ffffff; /* 스크롤 시 화이트 배경색 */
    box-shadow: none; /* 그림자 제거 */
}

.main-nav.scrolled {
    padding: 0 20px;
    height: 100px; /* 스크롤 시에도 높이 100px 유지 */
    background-color: transparent;
    transform: translateY(0);
}

.main-nav.scrolled .nav-menu {
    background-color: transparent;
}

.main-nav.scrolled .nav-menu li {
    text-shadow: none;
    color: #333;
}

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

body {
    font-family: 'GmarketSansMedium', 'Malgun Gothic', '맑은 고딕', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
    overflow-x: hidden;
    padding-top: 0;
    margin-top: 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

.container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background-color: transparent;
}

/* Header Banner - Make sticky */
.header-banner {
    background-color: rgba(224, 224, 224, 0.8);
    backdrop-filter: blur(5px);
    height: 20px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid rgba(221, 221, 221, 0.5);
    position: sticky;
    top: 0;
    width: 100% !important;
    max-width: 100vw !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
}

.header-banner .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Navigation - Make sticky */
.sticky-nav-container {
    position: fixed;
    top: 20px; /* 헤더 배너 높이만큼 내리기 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 0;
    width: 100% !important;
    max-width: 1400px !important;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    display: flex !important;
    justify-content: center !important;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px; /* 네비게이션 높이 100px로 설정 */
    padding: 0 20px;
    position: relative;
    z-index: 9997;
    background-color: transparent; /* 배경 제거 */
    border-radius: 0; /* 둥근 모서리 제거 */
    box-shadow: none; /* 그림자 제거 */
    margin: 0 auto;
    width: 100% !important; /* 너비 100%로 변경 */
    max-width: 1400px !important; /* 최대 너비는 1400px로 제한 */
    transition: all 0.3s ease;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 10px 20px;
    background-color: transparent; /* 흰색 배경 제거 */
    border-radius: 0; /* 테두리 둥글기 제거 */
    box-shadow: none; /* 그림자 제거 */
}

.nav-menu li {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    padding: 5px 10px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); /* 텍스트 가독성 향상을 위한 그림자 */
}

.nav-menu li:hover {
    color: #00a76a;
    transform: translateY(-2px);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        filter: blur(5px);
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
        filter: blur(15px);
    }
}

@keyframes floatReverse {
    0% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(20px) rotate(-2deg);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Hero Section Styles ===== */
.subpage-hero-content {
    margin-top: -20px;
}

.subpage-hero-image {
    margin-top: -20px;
}

.subpage-hero-description,
.subpage-hero-subtitle {
    color: #666;
    font-weight: normal;
    font-size: 1.2rem;
    margin-top: 5px;
}

.hero-section {
    position: relative;
    overflow: visible;
    padding: 0;
    background-color: #e8f5e9; /* 연한 초록색 배경 */
    z-index: 1;
    height: 480px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 0;
    margin-top: -120px; /* 로고와 메뉴 영역까지 올라가도록 마진 유지 */
}

.hero-container {
    position: relative;
    overflow: visible;
    width: 1400px;
    max-width: 100%;
    height: 400px;
    margin: 0 auto;
    background-color: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 20px;
    z-index: 2;
    margin-top: 120px;
    padding-top: 0;
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: -120px; /* 로고와 메뉴 영역까지 확장하기 위해 위치 조정 */
    left: 0;
    width: 100%;
    height: 100%; /* 높이를 100%로 설정 */
    z-index: -1;
    overflow: hidden;
    background-color: #F8F8F8;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.green-circle {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 191, 115, 0.5) 0%, rgba(0, 191, 115, 0) 70%);
    top: 0;
    right: -100px;
    animation: float 20s ease-in-out infinite;
    opacity: 0.6;
}

.gray-circle {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(153, 153, 153, 0.5) 0%, rgba(153, 153, 153, 0) 70%);
    top: 50px;
    left: -150px;
    animation: floatReverse 25s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        filter: blur(5px);
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
        filter: blur(15px);
    }
}

.hero-content {
    height: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: transparent;
    margin-top: 0; /* 마진 제거 */
}

.hero-text {
    flex: 1;
    max-width: 50%;
    padding-right: 40px;
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-line {
    margin-bottom: 20px;
}

.hero-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    margin-top: 0; /* 마진 제거 */
    padding-top: 20px; /* 약간의 상단 패딩 추가 */
}

.hero-image img {
    max-height: 420px; /* Slightly less than the 500px container to ensure proper fit */
    width: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

/* ===== Live Status Section ===== */
/* Live Status Section Styles */
.live-status .section-title {
  text-align: center;
  font-size: 2.5rem; /* Consistent with other section titles */
  color: #333;    /* 다른 섹션과 통일된 커러 */
  margin-top: 1rem; /* Reduced spacing */
  margin-bottom: 2rem;
  font-family: 'GmarketSansMedium', sans-serif; /* 다른 섹션과 통일된 폰트 */
  font-weight: 700;
}

.hero-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.button-line {
    margin: 10px 0 20px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
}

.cta-button {
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(0);
}

.dsr-button {
    background-color: #00a76a;
    color: white;
}

.loan-button {
    background-color: #ff6b6b;
    color: white;
}

.button-text {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.2;
    color: #333;
    white-space: nowrap;
    margin: 0 5px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.description-line {
    margin-top: 20px;
}

.hero-description {
    font-size: 1.5rem;
    color: #555;
    margin: 0;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.8s ease-out 0.3s forwards;
}

.hero-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-height: 420px; /* Slightly less than the 500px container to ensure proper fit */
    width: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

@keyframes floatReverse {
    0% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(20px) rotate(-2deg);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .button-text {
        font-size: 3.2rem;
    }
    
    .cta-button {
        font-size: 1.5rem;
        padding: 12px 20px;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .button-text {
        font-size: 2.8rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image img {
        max-height: 50vh;
    }
    
    .green-circle {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -100px;
    }
    
    .gray-circle {
        width: 500px;
        height: 400px;
        bottom: -250px;
        left: -150px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul, ol {
    list-style: none;
}

/* Layout */

/* Header Banner */
.header-banner .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 100%;
}

/* Hero Text */
.hero-text {
    flex: 1;
    max-width: 50%;
    padding-right: 40px;
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.button-text {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.2;
    color: #333;
    white-space: nowrap;
    margin: 0 5px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

/* 각 줄의 기본 스타일 */
.title-line,
.button-line,
.description-line {
    display: flex;
    align-items: center;
    min-height: 60px; /* 각 줄의 최소 높이 */
    margin: 0;
    padding: 10px 0;
}

.button-line {
    margin: 0;
    padding: 0;
    line-height: 1;
    margin-top: -10px;
    display: flex;
    align-items: center;
    font-size: 2rem;
}

/* 제목 라인 스타일 */
.title-line {
    align-items: flex-end; /* 하단 정렬 */
    margin-bottom: 0;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #333;
    margin-bottom: 10px;
}

/* 왼쪽에서 오른쪽으로 스르륵 나타나는 애니메이션 */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 설명 라인 스타일 */
.description-line {
    align-items: flex-start;
    margin-top: 10px;
    animation: slideInFromLeft 1s ease-out forwards;
    opacity: 0;
    font-size: 1.75rem;
}

.hero-description {
    font-size: 20px;
    margin: 0;
    color: #666;
    font-weight: 400;
    line-height: 1.5;
}

.highlight {
    color: #00BF73;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
    margin: 0;
    padding: 0;
}

.cta-button {
    padding: 8px 20px;
    border: none;
    border-radius: 30px;
    font-size: 28px; /* 버튼 텍스트 크기 증가 */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    height: auto;
    line-height: 1.2;
    vertical-align: baseline; /* 베이스라인에 맞춤 */
    margin: 0 3px;
    position: relative;
    top: -2px; /* 약간 위로 올림 */
}

.dsr-button {
    background-color: #333333; /* 검정에 가까운 진한 회색 */
    color: #00BF73;
    position: relative;
    top: -5px; /* DSR 버튼 5px 위로 올림 */
}

.loan-button {
    background-color: #00BF73; /* 초록색 배경 */
    color: #FFFFFF; /* 흰색 텍스트 */
    border: none; /* 테두리 제거 */
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(0);
}

/* ===== Features Section ===== */
.features-wrapper {
    background-color: #fff;
    padding-top: 30px;
    position: relative;
    z-index: 2;
}

.features {
    padding: 0 0 2.5rem 0;
    text-align: center;
    margin-top: 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.features .section-description {
    text-align: center;
    color: #555;
    margin-bottom: 0.5rem; /* Reduced spacing */
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    min-height: 200px;
}

/* 이미 위에서 수정했으니 삭제 */

/* ===== Contact Section ===== */
.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0; /* Reduced spacing */
    background-color: #f9f9f9;
}

/* 카카오 문의 섹션 스타일 */
.kakao-section {
    background-color: #04DB95;
    padding: 0;
    margin: 2rem 0;
    color: #fff;
    height: 350px; /* 높이를 350px로 설정 */
    position: relative; /* 자식 요소의 절대 위치 지정을 위해 추가 */
    overflow: hidden; /* 넘치는 요소 숨김 */
}

.kakao-section .contact-content {
    padding-left: 50px; /* 왼쪽 여백 50px 설정 */
}

.kakao-section .contact-title,
.kakao-section .contact-description {
    color: #fff;
}

.kakao-section .highlight {
    color: #FAE100; /* 카톡 강조 색상을 카카오 노란색으로 변경 */
    font-weight: 700;
}

.kakao-image {
    position: absolute; /* 절대 위치로 변경 */
    right: 0; /* 오른쪽 정렬 */
    bottom: 0; /* 하단 정렬 */
    max-width: 40%;
    height: auto;
}

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

.contact-content {
    max-width: 50%;
}

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

.contact-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #00BF73;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

/* 카카오 섹션의 문의하기 버튼 스타일 */
.kakao-section .contact-button {
    background-color: #FAE100; /* 카카오 노란색 */
    color: #333;
    border-radius: 25px; /* 더 크게 라운딩 */
    font-weight: 600;
    position: relative;
    padding-left: 50px; /* 카카오 로고를 위한 공간 */
}

.kakao-section .arrow-icon .arrow {
    border-right: 2px solid #333; /* 검은색 화살표 */
    border-bottom: 2px solid #333; /* 검은색 화살표 */
}

/* 카카오 로고 픽토그램 */
.kakao-section .contact-button::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 208 191"><path fill="%23000000" d="M104,0C46.56,0,0,36.71,0,82c0,29.28,19.47,55,48.75,69.48-1.59,5.49-10.24,35.34-10.58,37.69,0,0-.21,1.76.93,2.43a3.14,3.14,0,0,0,2.48.15c3.28-.46,38.21-25.57,44-29.75,6.06.79,12.34,1.26,18.65,1.26,57.44,0,104-36.71,104-82S161.44,0,104,0Z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.contact-button:hover {
    background-color: #00a566;
}

/* ===== 1등 섹션 스타일 ===== */
.number-one-section {
    padding: 4rem 0;
    background-color: #fff;
}

.number-one-grid {
    display: flex;
    gap: 40px;
}

/* 1등 섹션 그리드 */
.number-one-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.number-one-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3단 그리드 */
    gap: 30px;
    position: relative;
}

/* 1단: 텍스트 영역 */
.number-one-text {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 20px;
    text-align: center;
}

.number-one-image {
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
}

.number-one-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
    margin: 0 0 15px 0;
    text-align: center;
}

.number-one-title .highlight {
    color: #00BF73; /* 초록색 강조 */
    font-weight: 700;
}

.number-one-desc {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

/* 2단 & 3단: 카드 컨테이너 */
.loan-cards-container {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.loan-cards-container:nth-child(2) {
    grid-column: 2;
}

.loan-cards-container:nth-child(3) {
    grid-column: 3;
}

/* 카드 스타일 */
.loan-card {
    width: 100%;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.loan-card-inner {
    display: flex;
    padding: 20px;
    align-items: center;
}

.loan-icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: contain;
}

.loan-content {
    flex: 1;
}

.loan-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00BF73;
    margin: 0 0 5px 0;
}

.loan-desc {
    font-size: 0.95rem;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.loan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.loan-features li {
    margin-bottom: 3px;
}

/* 애니메이션 */
.loan-cards-container {
    position: relative;
}

.loan-cards-container:nth-child(2)::before,
.loan-cards-container:nth-child(2)::after,
.loan-cards-container:nth-child(3)::before,
.loan-cards-container:nth-child(3)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 1;
}

.loan-cards-container:nth-child(2)::before {
    top: -100%;
}

.loan-cards-container:nth-child(2)::after {
    top: 100%;
}

.loan-cards-container:nth-child(3)::before {
    top: -100%;
}

.loan-cards-container:nth-child(3)::after {
    top: 100%;
}

/* 위로 올라가는 카드 */
.loan-cards-container:nth-child(2) {
    animation: slideUp 20s linear infinite;
}

/* 아래로 내려가는 카드 */
.loan-cards-container:nth-child(3) {
    animation: slideDown 20s linear infinite;
}

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

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

/* 반응형 */
@media (max-width: 992px) {
    .number-one-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .number-one-text,
    .loan-cards-container:nth-child(2),
    .loan-cards-container:nth-child(3) {
        grid-column: 1;
    }
    
    .number-one-text {
        align-items: center;
        text-align: center;
        padding-right: 0;
    }
}

/* 슬라이더 컨테이너 */
.number-one-slider-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    overflow: hidden;
}

/* ===== 실시간 현황 및 FAQ 섹션 ===== */
.live-status-faq-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.subpage-content-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.live-status-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.live-status-column,
.faq-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.live-status-column .section-title,
.faq-column .section-title {
    margin-bottom: 20px;
}

/* 실시간 현황 스타일 */
.live-status-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.live-status-scroll {
    animation: scrollUp 30s linear infinite;
    position: relative;
}

.live-status-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.live-status-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.live-status-date {
    flex: 0 0 100px;
    color: #888;
    font-size: 0.9rem;
}

.live-status-name {
    flex: 0 0 100px;
    font-weight: 500;
}

.live-status-name .highlight {
    color: #00BF73;
}

.live-status-product {
    flex: 1;
    font-weight: 500;
}

.live-status-status {
    flex: 0 0 80px;
    text-align: center;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.live-status-status.approved {
    background-color: #e6f7f0;
    color: #00BF73;
}

.live-status-status.pending {
    background-color: #fff4e6;
    color: #ff9500;
}

.live-status-status.completed {
    background-color: #e7f5ff;
    color: #0080ff;
}

.live-status-status.loan-complete {
    background-color: #f3f0ff;
    color: #7950f2;
}

.live-status-status.in-review {
    background-color: #fff0f6;
    color: #e64980;
}

/* FAQ 스타일 */
.faq-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 15px;
    height: 470px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* FAQ 제목 삭제 - 섹션 제목으로 대체 */

.faq-item {
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    overflow: visible;
}

.faq-item:last-child {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: none;
    overflow: visible;
}

.faq-question {
    padding: 10px 0;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #00BF73;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 10px 0;
    color: #666;
    line-height: 1.5;
    display: none;
    overflow: visible;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 슬라이드 애니메이션 */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .section-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .live-status-faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .live-status-container {
        height: 400px;
    }
    
    .faq-container {
        max-height: 400px;
    }
    
    .live-status-item {
        flex-wrap: wrap;
    }
    
    .live-status-date,
    .live-status-name {
        flex: 0 0 50%;
        margin-bottom: 5px;
    }
    
    .live-status-product {
        flex: 1;
        margin-bottom: 5px;
    }
    
    .live-status-status {
        flex: 0 0 auto;
    }
}

/* 슬라이더 스타일 */
.number-one-slider {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideUp 20s linear infinite;
    width: 100%;
}

.slider-track.reverse {
    animation: slideDown 20s linear infinite;
}

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

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

.number-one-card {
    flex: 0 0 auto;
    width: 300px;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.subpage-hero {
    position: relative;
    background-color: #f9f9f9;
    padding: 20px 0;
    overflow: hidden;
    margin-bottom: -30px;
}

.number-one-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.number-one-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: 20px 0 0 20px;
}

.card-content {
    padding: 15px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #00BF73;
    margin-bottom: 5px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .number-one-grid {
        flex-direction: column;
    }
    
    .number-one-left {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .number-one-cards-row {
        flex-direction: column;
    }
    
    .number-one-card {
        margin-bottom: 15px;
    }
}

.arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 2.5rem 0; /* Reduced spacing */
    text-align: center;
    /* background-color: #fff; */ /* Uncomment if white background is needed */
}

/* ===== Footer Styles */
.footer {
    background-color: #444;
    color: #ddd;
    padding: 40px 0 0 0;
}

/* 푸터 좌우 레이아웃 */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-left {
    flex: 1;
    padding-right: 40px;
    min-width: 300px;
}

.footer-right {
    flex: 1;
    padding: 20px;
    min-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
}

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

.company-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 5px;
}

/* 푸터 공지사항 스타일 */
.footer-notice {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.finance-association-link {
    margin-bottom: 15px;
}

.finance-association-link a {
    display: inline-block;
    text-decoration: none;
    color: #aaa;
    font-weight: 600;
    transition: color 0.3s;
}

.finance-association-link a:hover {
    color: #ddd;
}

.legal-notice {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #aaa;
}

.legal-notice p {
    margin-bottom: 8px;
}

.copyright-container {
    background-color: #333;
    padding: 15px 0;
    margin-top: 30px;
}

.copyright {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-left {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .footer-right {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1240px) {
    .container,
    .footer-content {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .contact {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 10px;
        padding: 5px 10px;
    }
    
    .nav-menu li {
        font-size: 14px;
        padding: 5px;
    }

    /* From responsive.css for 1024px */
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* 모바일에서는 햄버거 메뉴로 대체 */
    }

    .hero-title {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* Hero-specific responsive styles from hero.css */
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }

    .hero-text {
        order: 1;
        margin-bottom: 30px;
    }

    /* Overriding general .hero-title for hero section specifically */
    .hero-section .hero-title, .hero-header .hero-title { /* Make it specific to hero */
        font-size: 2rem;
    }

    .hero-content .button-line { /* Specific to hero */
        font-size: 2rem;
        justify-content: center;
    }

    .hero-content .cta-buttons {
        justify-content: center;
    }

    .hero-content .cta-button,
    .hero-content .button-text {
        font-size: 1.5rem;
    }

    .hero-content .cta-button span {
        font-size: 1.5rem !important;
    }
    
    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        display: block;
        order: 2;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-image img {
        max-height: 250px;
    }

    /* Assuming .animated-bg in hero context */
    .hero-section .animated-bg, .hero-header .animated-bg {
        height: 120%;
    }

    /* Assuming circles are in hero context */
    .hero-section .green-circle, .hero-header .green-circle,
    .hero-section .gray-circle, .hero-header .gray-circle {
        width: 300px;
        height: 300px;
    }

    /* From responsive.css for 768px */
    .section-title {
        font-size: 26px;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    .contact-title {
        font-size: 24px;
    }
}

/* Adding hero animation class */
.hero-content.animate .hero-title {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content.animate .hero-description {
    animation: fadeInLeft 0.8s ease-out 0.3s forwards;
}

.hero-content.animate .cta-buttons {
    animation: fadeInRight 0.8s ease-out 0.2s forwards;
}

/* 스크롤 시 네비게이션 스타일 - 흰색 배경으로 변경 */
.main-nav.scrolled {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.95); /* 히어로 배경색에서 흰색으로 변경 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 그림자 추가 */
    transform: translateY(-2px);
}

/* 스크롤 시 메뉴 스타일 조정 */
.main-nav.scrolled .nav-menu {
    background-color: transparent; /* 메뉴 배경은 투명 유지 */
}

/* 스크롤 시 메뉴 항목 스타일 */
.main-nav.scrolled .nav-menu li {
    text-shadow: none; /* 텍스트 그림자 제거 */
    color: #333; /* 텍스트 색상 진하게 */
}

/* 모바일에서 Fixed Form 숨기기 */
@media (max-width: 991px) {
    /* 모든 컨테이너를 모바일에 맞게 조정 */
    .container,
    .header-wrapper,
    .sticky-nav-container,
    .main-nav,
    .header-banner {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
    
    /* 히어로 콘텐츠 모바일 최적화 */
    .hero-content {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fixed Form 관련 모든 요소 숨기기 */
    .fixed-form-container,
    .floating-form,
    .fixed-consultation-form,
    .consultation-form,
    .floating-consultation,
    .sticky-form,
    .side-form {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Fixed 또는 Floating이 포함된 모든 클래스 숨기기 */
    [class*="fixed-"],
    [class*="floating-"],
    [class*="sticky-form"] {
        display: none !important;
    }
    
    /* 우측 하단 고정 요소들 숨기기 */
    .bottom-right-fixed,
    .right-fixed,
    .consultation-widget {
        display: none !important;
    }
}

/* 하이라이트 메시지 크기 조정 */
.highlight-message {
    margin: 15px auto !important;
    padding: 15px !important;
    text-align: center !important;
    max-width: 90% !important;
    width: auto !important;
    border-radius: 8px !important;
}

.highlight-message p {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 5px !important;
}

.highlight-message::before {
    width: 100px !important;
    height: 2px !important;
}

/* 하이라이트 컨테이너 2개씩 배치 */
.loan-highlights,
.loan-highlights-section,
.highlights-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 15px 0 !important;
}

.highlight-item {
    padding: 8px !important;
    text-align: center !important;
    flex-direction: column !important;
    min-width: auto !important;
    margin-bottom: 0 !important;
    background-color: #f9f9f9 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
}

.highlight-icon {
    width: 25px !important;
    height: 25px !important;
    margin-right: 0 !important;
    margin-bottom: 5px !important;
    font-size: 0.8rem !important;
}

.highlight-item p {
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* 모바일 전용 주요 특징 섹션 스타일 */
@media (max-width: 991px) {
    .loan-highlights-section {
        padding: 40px 20px !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
        margin: 30px 0 !important;
        text-align: center !important;
    }
    
    .loan-highlights-section .section-title {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        color: #2c3e50 !important;
        text-align: center !important;
        margin-bottom: 30px !important;
        line-height: 1.4 !important;
        position: relative !important;
    }
    
    .loan-highlights-section .section-title::after {
        content: '' !important;
        width: 60px !important;
        height: 3px !important;
        background: linear-gradient(135deg, #00BF73, #00a864) !important;
        display: block !important;
        margin: 15px auto 0 !important;
        border-radius: 2px !important;
    }
    
    .highlights-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    
    .highlight-item {
        background: white !important;
        border-radius: 16px !important;
        padding: 25px 20px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border: 2px solid transparent !important;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .highlight-item::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
        transition: left 0.6s !important;
    }
    
    .highlight-item:hover::before {
        left: 100% !important;
    }
    
    .highlight-item:hover {
        transform: translateY(-8px) scale(1.02) !important;
        box-shadow: 0 15px 35px rgba(0, 191, 115, 0.15) !important;
        border-color: #00BF73 !important;
    }
    
    .highlight-icon {
        width: 70px !important;
        height: 70px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 20px !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* 각 아이템별 다른 색상 그라데이션 */
    .highlight-item:nth-child(1) .highlight-icon {
        background: linear-gradient(135deg, #FF6B6B, #FF8E8E) !important;
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3) !important;
    }
    
    .highlight-item:nth-child(2) .highlight-icon {
        background: linear-gradient(135deg, #4ECDC4, #45B7D1) !important;
        box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3) !important;
    }
    
    .highlight-item:nth-child(3) .highlight-icon {
        background: linear-gradient(135deg, #45B7D1, #96CEB4) !important;
        box-shadow: 0 8px 25px rgba(69, 183, 209, 0.3) !important;
    }
    
    .highlight-icon i {
        font-size: 28px !important;
        color: white !important;
        z-index: 2 !important;
        position: relative !important;
    }
    
    .highlight-item p {
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #34495e !important;
        margin: 0 !important;
        line-height: 1.6 !important;
        text-align: center !important;
        letter-spacing: -0.3px !important;
    }
    
    /* 진입 애니메이션 */
    .highlight-item {
        opacity: 0 !important;
        transform: translateY(30px) !important;
        animation: slideInUp 0.8s ease forwards !important;
    }
    
    .highlight-item:nth-child(1) {
        animation-delay: 0.1s !important;
    }
    
    .highlight-item:nth-child(2) {
        animation-delay: 0.3s !important;
    }
    
    .highlight-item:nth-child(3) {
        animation-delay: 0.5s !important;
    }
    
    @keyframes slideInUp {
        to {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }
    }
    
    /* 아이콘 회전 애니메이션 */
    .highlight-item:hover .highlight-icon {
        animation: iconBounce 0.6s ease !important;
    }
    
    @keyframes iconBounce {
        0%, 100% { transform: scale(1) rotate(0deg); }
        50% { transform: scale(1.1) rotate(5deg); }
    }
}

/* 극소형 모바일 (360px 이하)에서 추가 최적화 */
@media (max-width: 360px) {
    .loan-highlights-section {
        padding: 30px 15px !important;
    }
    
    .highlights-container {
        max-width: 280px !important;
        gap: 15px !important;
    }
    
    .highlight-item {
        padding: 20px 15px !important;
    }
    
    .highlight-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .highlight-icon i {
        font-size: 24px !important;
    }
    
    .highlight-item p {
        font-size: 14px !important;
    }
}
