/* ==========================================================================
   1. 초기화 및 코어 가로폭 설정 (최대 1400px, 시스템 폰트화)
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans KR", "Malgun Gothic", sans-serif; background-color: #ffffff; color: #1e293b; -webkit-font-smoothing: antialiased; letter-spacing: -0.02em; overflow-x: hidden; /* 바디 영역 가로 탈출 방지선 */ }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font: inherit; }

.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; overflow: hidden; /* 컨테이너 가로 스크롤 방어 */ }
.text-center { text-align: center; }
.text-orange { color: var(--color-primary) !important; }
.bg-light-gray { background-color: #f8fafc; }

:root {
  --color-primary: #FF6100;       /* 메인 오렌지 */
  --color-primary-hover: #e0550c; 
  --color-dark-bg: #1a1209;       
}

.theme-dark-section { background-color: var(--color-dark-bg); color: #ffffff; }

/* 타이포 컴포넌트 */
.section-tag { display: inline-block; font-size: 16px; font-weight: 700; color: var(--color-primary); letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase; }
.section-title { font-size: 26px; font-weight: 800; color: #0f172a; margin-bottom: 50px; line-height: 1.3; }
.theme-dark-section .section-title { color: #ffffff; }

/* ==========================================================================
   2. 고정 헤더 & 모바일 내비 드로어
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; height: 80px; z-index: 100; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background-color: rgba(17, 12, 7, 0.9); border-b: 1px solid rgba(249, 115, 22, 0.1); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header-logo { font-size: 24px; font-weight: 800; color: #ffffff; }
.header-logo .dot { color: var(--color-primary); }

.header-nav { display: flex; gap: 32px; }
.header-nav a { font-size: 18px; font-weight: 500; color: #cbd5e1; transition: color 0.2s; }
.header-nav a:hover { color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: 18px; color: #94a3b8; }

.btn-round { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; font-size: 16px; font-weight: 600; border-radius: 9999px; transition: all 0.2s; }
.btn-outline { border: 1px solid rgba(249, 115, 22, 0.4); color: #e2e8f0; }
.btn-outline:hover { border-color: var(--color-primary); color: #ffffff; }
.btn-filled { background-color: var(--color-primary); color: #ffffff; }
.btn-filled:hover { background-color: var(--color-primary-hover); }

.menu-trigger-btn { display: none; color: #ffffff; padding: 8px; }

/* 모바일 전용 드로어 */
.mobile-side-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 260px; background-color: var(--color-dark-bg); z-index: 200; transform: translateX(100%); transition: transform 0.3s ease-in-out; padding: 24px; }
.mobile-side-drawer.is-active { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.drawer-logo-text { color: var(--color-primary); font-weight: 700; font-size: 18px; }
.drawer-close-btn { color: #94a3b8; }
.drawer-nav { display: flex; flex-direction: column; gap: 24px; }
.drawer-nav a { font-size: 18px; font-weight: 500; color: #cbd5e1; }

/* ==========================================================================
   3. 본문 구현 섹션 (1번 ~ 7번 이미지 연동)
   ========================================================================== */
/* [1번] Hero 기본 모바일 스타일 (가로로 터지는 일 없도록 강제 기본 자동 줄바꿈) */
.hero-display-section { padding-top: 120px; padding-bottom: 60px; overflow: hidden; position: relative; }
.hero-display-section::before { content: ''; position: absolute; top: 50%; right: -10%; transform: translateY(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%); pointer-events: none; }
.hero-flex-wrapper { display: flex; flex-direction: column; align-items: center; gap: 40px; }

/* 모바일에서는 순수 종방향 세로 배열 */
.hero-text-block { 
	display: block !important; /* flex를 풀어버림 */
    width: 100% !important; 
    text-align: center !important;
}
.tag-badge {  background-color: rgba(67, 30, 7, 0.5); border: 1px solid rgba(249, 115, 22, 0.3); color: #fb923c; font-size: 16px; font-weight: 600; padding: 6px 16px; border-radius: 9999px; margin-bottom: 24px; width: fit-content; }

/* 모바일에서 한 줄 고정 해제 (normal화) */
.hero-main-title { font-size: 28px; font-weight: 800; line-height: 1.3; margin-bottom: 24px; white-space: normal; word-break: keep-all; }
.hero-main-title .highlight { color: var(--color-primary); }
.hero-main-title br { display: block; } /* 모바일 br 복구 */

.hero-sub-description { color: #94a3b8; font-size: 18px; line-height: 1.6; margin-bottom: 36px; white-space: normal; word-break: keep-all; }
.hero-sub-description .emphasis { color: #e2e8f0; font-weight: 500; }
.hero-sub-description br { display: block; } /* 모바일 br 복구 */

.btn-large-cta { display: inline-flex; align-items: center; padding: 16px 32px; font-size: 18px; font-weight: 700; color: #ffffff; background-color: var(--color-primary); border-radius: 9999px; transition: background-color 0.2s; width: fit-content; }
.btn-large-cta:hover { background-color: var(--color-primary-hover); }
.btn-large-cta svg { width: 16px; height: 16px; margin-left: 8px; }

.hero-graphic-block { display: flex; justify-content: center; width: 100%; }
.circle-wireframe { width: 200px; height: 200px; border: 1px solid rgba(249, 115, 22, 0.2); border-radius: 50%; position: relative; animation: spinObj 60s linear infinite; }
@keyframes spinObj { 100% { transform: rotate(360deg); } }

/* [2번] Stats */
.stats-section { padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.stat-card { background: #ffffff; padding: 40px 24px; border-radius: 16px; border: 1px solid #e2e8f0; text-align: left; }
.stat-number { font-size: 38px; font-weight: 800; color: #0f172a; margin-bottom: 12px; }
.stat-unit { font-size: 20px; color: var(--color-primary); margin-left: 2px; }
.stat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #1e293b; }
.stat-card p { font-size: 16px; color: #64748b; line-height: 1.5; }

/* [3번] Portfolio */
.portfolio-section { padding: 60px 0; }
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
.portfolio-item { background-color: #e2e8f0; aspect-ratio: 3/2; border-radius: 16px; position: relative; overflow: hidden; }
.portfolio-item img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* 비율 깨짐 없이 박스에 무조건 꽉 채움 */
    z-index: 1 !important;
}
.pf-overlay {
	position: absolute !important;
    inset: auto 0 0 0 !important; /* ★ 사진의 맨 밑바닥(하단)에만 딱 붙도록 고정 */
    height: 70px !important; /* 오버레이 박스 높이 지정 (입맛에 맞게 조절 가능) */
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%) !important; /* 하단 띠 영역 어둡게 처리 */
    
    display: flex !important;
    justify-content: space-between !important; /* 이름은 왼쪽, 버튼은 오른쪽 끝 고정 */
    align-items: center !important; /* ★ 하단 띠 안에서 텍스트와 버튼을 세로 정중앙 맞춤 */
    padding: 0 20px !important; 
    box-sizing: border-box !important;
    z-index: 2 !important;
}
.pf-overlay p {
	position: relative !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    z-index: 3 !important;
	text-align:left;

}
.pf-badge { 
	position: absolute; top: 16px; left: 16px; background: #f59e0b; color: #000; font-size: 16px; font-weight: 700; padding: 4px 8px; border-radius: 4px; z-index: 4;
	display: flex !important;
    justify-content: space-between !important; /* 글씨는 왼쪽, 버튼은 오른쪽 끝으로 정렬 */
    align-items: flex-end !important; /* 아래쪽에 밀착 */
    box-sizing: border-box !important;
}
.btn-tel {
	position: relative !important;
    background: #ff5500 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    margin-left: 12px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    z-index: 4 !important;
}

/* 버튼 눌렀을 때 살짝 들어가는 효과 */
.btn-tel:active {
    transform: scale(0.95) !important;
}

.btn-more { display: inline-flex; border: 1px solid #cbd5e1; padding: 12px 28px; border-radius: 9999px; font-size: 16px; font-weight: 600; color: #475569; transition: all 0.2s; }
.btn-more:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* [4번] Sectors Guide */
.services-guide-section { padding: 60px 0; }
.guide-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.guide-card { background: #ffffff; padding: 30px 24px; border-radius: 16px; border: 1px solid #e2e8f0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 200px; }
.guide-card div { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.guide-card p { font-size: 16px; color: #94a3b8; margin-bottom: 20px; line-height: 1.5; text-align: center; }
.guide-card a { font-size: 16px; font-weight: 600; color: var(--color-primary); }

/* [5번] Process */
.process-section { padding: 60px 0; }
.process-timeline { display: flex; flex-direction: column; gap: 40px; position: relative; }
.timeline-line { display: none; position: absolute; top: 24px; left: 0; right: 0; height: 2px; background: #fed7aa; z-index: 1; }
.process-step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 5; }
.step-num { width: 44px; height: 44px; background: #ffffff; border: 2px solid #fdba74; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; margin-bottom: 16px; color: #1e293b; }
.step-badge { background: var(--color-primary); color: #ffffff; font-size: 16px; font-weight: 700; padding: 6px 16px; border-radius: 8px; margin-bottom: 10px; }
.process-step p { font-size: 16px; color: #64748b; line-height: 1.5; }
.process-step.active .step-num { background: var(--color-primary); color: #ffffff; border-color: var(--color-primary); box-shadow: 0 0 0 6px #ffedd5; }
.process-step.active .step-badge { background: #ea580c; }

/* [6번] FAQ */
.faq-section { padding: 60px 0; }
.accordion-group { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.accordion-item.is-active { border-color: rgba(249, 115, 22, 0.4); box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.05); }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-size: 18px; font-weight: 700; color: #1e293b; text-align: left; }
.accordion-trigger .arrow { color: #94a3b8; font-size: 20px; transition: transform 0.2s; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.25s ease-out; background: #fafafa; }
.accordion-content p { padding: 20px 24px; font-size: 16px; color: #64748b; line-height: 1.6; border-top: 1px solid #f1f5f9; }
.accordion-item.is-active .accordion-content { max-height: 200px; }
.accordion-item.is-active .accordion-trigger .arrow { transform: rotate(45deg); color: var(--color-primary); }

/* [7번] Bottom CTA & Footer */
.bottom-cta-section { padding: 80px 0; background: #ffffff; }
.cta-desc { font-size: 18px; color: #64748b; max-width: 500px; margin: 0 auto 36px; line-height: 1.6; }
.btn-final-cta {
    display: inline-block;
    background: #0f172a;
    color: #fff;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border-radius: 9999px;
    transition: background .2s;
}

.btn-final-cta:hover {
    background: #1e293b;
    color: #fff;              /* 추가 */
    text-decoration: none;    /* 밑줄 방지 */
}
a.btn-final-cta:hover {
    color: #fff !important;
    text-decoration: none;
}

.site-footer { background: #090604; color: #64748b; padding: 60px 0; font-size: 16px; border-top: 1px solid #1e1b18; line-height: 1.6; margin-top:50px;}
.footer-inner { display: flex; flex-direction: column; gap: 32px; }
.footer-logo { font-size: 20px; font-weight: 800; color: #ffffff; margin-bottom: 4px; }
.company-name { color: #acb5c3; font-weight: 600; margin-bottom: 4px; }
.footer-block a { display: inline-block; margin-bottom: 6px; color: #94a3b8; }
.footer-block a:hover { color: #ffffff; }

/* ==========================================================================
   4. 반응형 레이아웃 분기점 (PC 대화면 전용 정렬 격리구역)
   ========================================================================== */
@media (min-width: 768px) {
  .section-title { font-size: 34px; }
  .hero-main-title { font-size: 42px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .menu-trigger-btn { display: none; }
  
  .hero-display-section { padding-top: 110px; padding-bottom: 40px; }
  .hero-flex-wrapper { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; }
  
  /* PC 데스크탑에서만 텍스트 구성원들을 가로 배치 처리 */
	.hero-text-block { 
        display: flex !important; 
        flex-direction: row !important; 
        flex-wrap: wrap !important;
        text-align: left !important;
        width: 78% !important; 
        gap: 14px 20px !important;
    }

  /* 데스크탑 최적화용 한 줄 고정 속성을 미디어 쿼리 내부로 완벽 격리 */
  .tag-badge { margin-bottom: 0; flex-shrink: 0; }
  
  .hero-main-title { 
    font-size: 24px;    
    margin-bottom: 0; 
    white-space: nowrap; 
    line-height: 1.2;
  }
  .hero-main-title br { display: none; } /* 데스크탑 전용 줄바꿈 히든 */

  .hero-sub-description { 
    font-size: 16px; 
    margin-bottom: 0; 
    white-space: nowrap; 
    color: #cbd5e1;
  }
  .hero-sub-description br { display: none; } /* 데스크탑 전용 줄바꿈 히든 */

  .btn-large-cta { 
    padding: 10px 20px; 
    font-size: 16px; 
    margin-top: 0;
    flex-shrink: 0;
  }

  /* 우측 미니멀 원형 오브젝트 제어 */
  .hero-graphic-block { width: 18%; justify-content: flex-end; margin-top: 0; }
  .circle-wireframe { width: 120px; height: 120px; } 
  
  /* 하단 목록 영역 그리드 */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-grid { grid-template-columns: repeat(4, 1fr); }
  
  .process-timeline { flex-direction: row; justify-content: space-between; padding-top: 20px; }
  .timeline-line { display: block; }
  .process-step { width: 20%; }
  
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .footer-block.text-right { text-align: right; }
}

/* 태블릿 이하 모바일 전용 초기화 안전 장치 */
@media (max-width: 1023px) {
  .header-nav, .header-actions .btn-round, .header-phone { display: none; }
  .menu-trigger-btn { display: block; }
}



/* 파트너센터 전용 섹션 추가 스타일 */
.nol-hero-section { padding: 120px 0 80px; background: #0f172a; color: #fff; }
.nol-hero-section .section-title { color: #fff; }
.nol-login-box { background: #1e293b; padding: 40px; border-radius: 20px; margin-top: 30px; }

.nol-feature-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 50px; }
.nol-feature-card { background: #fff; padding: 40px; border-radius: 16px; border: 1px solid #e2e8f0; text-align: center; }
.nol-feature-card h3 { font-size: 20px; color: #0f172a; margin: 20px 0 10px; }
.nol-feature-card p { font-size: 15px; color: #64748b; line-height: 1.6; }

/* 단계별 가이드 섹션 */
.nol-step-section { padding: 80px 0; }
.nol-step-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
.nol-step-item { padding: 30px; background: #f8fafc; border-radius: 16px; }
.step-num-box { font-size: 32px; font-weight: 800; color: var(--color-primary); margin-bottom: 10px; }

@media (min-width: 768px) {
  .nol-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .nol-step-grid { grid-template-columns: repeat(3, 1fr); }
}