/* ========================================
   1. CSS 변수 (CSS Variables)
   ======================================== */
:root {
  /* 주요 색상 */
  --pc-primary: #33459C;      /* 메인 파란색 */
  --pc-accent: #43C5E5;       /* 강조 파란색 */
  --pc-line: #eceef1;         /* 테두리 색상 */

  /* 레이아웃 */
  --frame: 1054px;            /* 고정 콘텐츠 프레임 너비 */
  --bw: 1px;                  /* 테두리 두께 */
}

/* 기본 폰트 */
body {
  font-family: "Noto Sans KR", sans-serif;
}

/* Gugi 폰트 적용 */
.hero-subtitle {
  font-family: "Gugi", sans-serif;
  color: var(--pc-accent) !important;
  letter-spacing: 0.25em;
}

.hero-title {
  font-family: "Gugi", sans-serif;
}

.hero-desc {
  font-family: "Gugi", sans-serif;
  color: #9ca3af !important;
  font-weight: 300;
}


/* ========================================
   2. 반응형 레이아웃 (Responsive Layout)
   ======================================== */
/* 대형 화면에서 Bootstrap 컨테이너를 고정 프레임에 맞춤 */
@media (min-width: 1200px) {
  .container {
    max-width: 1120px;
  }
}


/* ========================================
   3. 유틸리티 클래스 (Utility Classes)
   ======================================== */
/* 강조 색상 */
.accent {
  color: var(--pc-accent);
}

/* 아이콘 박스 */
.icon-box {
  background: #fff;
  border: 1px solid var(--pc-line);
  border-radius: .5rem;
}

/* 로고 박스 */
.logo-box {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: .875rem;
}

.logo-box img {
  max-height: 32px;
  width: auto;
  display: block;
}


/* ========================================
   4. 히어로 섹션 (Hero Section)
   ======================================== */
/* 히어로 일러스트레이션 배경 */
.hero-illustration {
  min-height: 260px;
  background: linear-gradient(180deg, #fafbff, #f2f5ff);
}


/* ========================================
   5. 코드 블록 (Code Block)
   ======================================== */
/* 코드 프리포맷 블록 */
pre {
  background: #f8f9fa;
  border-radius: 0;
  border: 1px solid #dee2e6;
  color: #000;
}

/* 코드 폰트 */
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .875rem;
}


/* ========================================
   6. 네비게이션 - 메가 메뉴 (Navigation - Mega Menu)
   ======================================== */
/* 네비게이션 컨테이너 */
.navbar .container {
  position: relative;
}

/* 메가 메뉴 네비게이션 링크 */
.nav-mega > .nav-link {
  border: 1px solid transparent;
  border-radius: 0;
  padding: .5rem .75rem;
}

/* 메가 메뉴 호버 및 포커스 상태 */
.nav-mega:hover > .nav-link,
.nav-mega:focus-within > .nav-link {
  border-color: var(--pc-line);
  background: #fff;
}

/* 메가 메뉴 아이템 */
.nav-mega {
  position: relative;
}

/* 메가 메뉴 패널 */
.mega-panel {
  display: none;
  position: absolute;
  left: -100px;
  top: calc(100% + 8px);
  width: 600px;
  max-width: 600px;
  background: #fff;
  border: 1px solid var(--pc-line);
  z-index: 20;
}

/* 메가 메뉴 패널 표시 (호버/포커스 시) */
.nav-mega:hover .mega-panel,
.nav-mega:focus-within .mega-panel {
  display: block;
}

/* 메가 메뉴 섹션 제목 */
.mega-panel .section-title {
  font-weight: 700;
  margin-bottom: .75rem;
}

/* 메가 메뉴 아이템 */
.mega-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

/* 메가 메뉴 아이콘 */
.mega-item .icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* 메가 메뉴 아이템 제목 */
.mega-item-title {
  font-weight: 600;
}

/* 메가 메뉴 아이템 설명 */
.mega-item-desc {
  color: #6c757d;
  font-size: .9rem;
}


/* ========================================
   7. 버튼 스타일 (Button Styles)
   ======================================== */
/* 히어로 CTA 버튼: 직각 모서리, 일정한 높이 */
.btn-hero {
  border-radius: 0;
  height: 44px;
  padding: .5rem 1.1rem;
  font-weight: 600;
}

/* 히어로 기본 버튼 */
.btn-hero-primary {
  position: relative;
  background: var(--pc-primary);
  color: #fff;
  border: 1px solid var(--pc-primary);
}

/* 히어로 기본 버튼 - 모서리 틱 효과 (호버 시 표시) */
.btn-hero-primary::before {
  --corner: 10px;             /* 모서리 길이 */
  --offset: 6px;              /* 버튼 바깥 거리 */
  --tick: var(--pc-primary);  /* 파란색 틱 (버튼과 매칭) */
  content: "";
  position: absolute;
  inset: calc(var(--offset) * -1);
  pointer-events: none;
  background-repeat: no-repeat;
  /* 8개의 선형 그래디언트로 4개 모서리 표현 */
  background-image:
    linear-gradient(var(--tick), var(--tick)),  /* 좌상단 세로 */
    linear-gradient(var(--tick), var(--tick)),  /* 좌상단 가로 */
    linear-gradient(var(--tick), var(--tick)),  /* 우상단 세로 */
    linear-gradient(var(--tick), var(--tick)),  /* 우상단 가로 */
    linear-gradient(var(--tick), var(--tick)),  /* 좌하단 세로 */
    linear-gradient(var(--tick), var(--tick)),  /* 좌하단 가로 */
    linear-gradient(var(--tick), var(--tick)),  /* 우하단 세로 */
    linear-gradient(var(--tick), var(--tick));  /* 우하단 가로 */
  background-size:
    1px var(--corner), var(--corner) 1px,
    1px var(--corner), var(--corner) 1px,
    1px var(--corner), var(--corner) 1px,
    1px var(--corner), var(--corner) 1px;
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
  opacity: 0;
  transition: opacity .15s ease, inset .15s ease;
}

/* 히어로 고스트 버튼 - 4개 모서리 틱 (버튼 외부) */
.btn-hero-ghost::before {
  --corner: 10px;             /* 모서리 길이 */
  --offset: 6px;              /* 버튼 바깥 거리 */
  --tick: #7f8790;            /* 기본 틱 색상 */
  content: "";
  position: absolute;
  inset: calc(var(--offset) * -1);
  pointer-events: none;
  background-repeat: no-repeat;
  /* 8개의 선형 그래디언트로 4개 모서리 표현 */
  background-image:
    linear-gradient(var(--tick), var(--tick)),  /* 좌상단 세로 */
    linear-gradient(var(--tick), var(--tick)),  /* 좌상단 가로 */
    linear-gradient(var(--tick), var(--tick)),  /* 우상단 세로 */
    linear-gradient(var(--tick), var(--tick)),  /* 우상단 가로 */
    linear-gradient(var(--tick), var(--tick)),  /* 좌하단 세로 */
    linear-gradient(var(--tick), var(--tick)),  /* 좌하단 가로 */
    linear-gradient(var(--tick), var(--tick)),  /* 우하단 세로 */
    linear-gradient(var(--tick), var(--tick));  /* 우하단 가로 */
  background-size:
    1px var(--corner), var(--corner) 1px,
    1px var(--corner), var(--corner) 1px,
    1px var(--corner), var(--corner) 1px,
    1px var(--corner), var(--corner) 1px;
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
  transition: background-color .15s ease, inset .15s ease, opacity .15s ease;
}

/* 히어로 기본 버튼 호버 상태 */
.btn-hero-primary:hover {
  background: #0046e6;
  border-color: #0046e6;
  color: #fff;
}

/* 히어로 기본 버튼 호버 시 모서리 틱 표시 (서브픽셀 정렬로 1px 높이 방지) */
.btn-hero-primary:hover::before {
  opacity: 1;
  inset: -0.3px;
}

/* 히어로 기본 버튼 모서리 틱 기본 상태 */
.btn-hero-primary::before {
  opacity: 1;
  inset: calc(var(--offset) * -1);
}

/* 히어로 고스트 버튼 */
.btn-hero-ghost {
  position: relative;
  background: #fff;
  color: #1a1b1e;
  border: 1px solid #d5dbe1;
  transition: border-color .15s ease, background-color .15s ease;
}

/* 히어로 고스트 버튼 호버 상태 */
.btn-hero-ghost:hover {
  background: #f8f9fb;
  border-color: #0c1340;
}

/* 히어로 고스트 버튼 호버 시 모서리 틱 색상 변경 */
.btn-hero-ghost:hover::before {
  --tick: #0c1340;
  inset: -0.2px;
}


/* ========================================
   8. 툴바 (Toolbar)
   ======================================== */
/* 네비게이션 우측 툴바: 플러시 버튼이 있는 박스형 클러스터 (둥근 모서리 없음, 간격 없음) */
.toolbar {
  display: inline-flex;
  align-items: center;
  gap: 0 !important;
  border: 1px solid var(--pc-line);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

/* 툴바 버튼 공통 */
.toolbar .btn {
  height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  font-weight: 500;
  margin: 0;
}

/* 툴바 아이콘 버튼 */
.toolbar .btn-icon {
  width: 36px;
  padding: 0;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #212529;
}

/* 툴바 고스트 버튼 */
.toolbar .btn-ghost {
  padding: .375rem .9rem;
  border: 0;
  background: transparent;
  color: #212529;
}

/* 툴바 버튼 구분선 */
.toolbar .btn + .btn {
  border-left: 1px solid var(--pc-line);
}

/* 툴바 아이콘/고스트 버튼 호버 상태 */
.toolbar .btn-icon:hover,
.toolbar .btn-ghost:hover {
  background: #f8f9fb;
  box-shadow: inset 0 0 0 1px var(--pc-primary);
}

/* 툴바 기본 솔리드 버튼 */
.toolbar .btn-primary-solid {
  padding: .375rem 1rem;
  background: var(--pc-primary);
  border: 0;
  color: #fff;
}

/* 툴바 기본 솔리드 버튼 호버 상태 */
.toolbar .btn-primary-solid:hover {
  background: #0046e6;
}


/* ========================================
   9. 장식 요소 (Decorative Elements)
   ======================================== */
/* 재사용 가능한 세로 레일: 블록을 약간 초과하며 페이드 효과 */
.rails-y {
  position: relative;
}

.rails-y::before,
.rails-y::after {
  content: "";
  position: absolute;
  top: -160px;    /* 블록을 초과하여 수평 테두리를 교차 */
  bottom: -160px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(236, 238, 241, 0) 0%,
    rgba(236, 238, 241, 0.9) 25%,
    rgba(236, 238, 241, 0.9) 75%,
    rgba(236, 238, 241, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.rails-y::before {
  left: 0;
}

.rails-y::after {
  right: 0;
}

/* 아래로만 세로선 */
.rails-y-bottom {
  position: relative;
}

.rails-y-bottom::before,
.rails-y-bottom::after {
  content: "";
  position: absolute;
  top: -140px;
  bottom: auto;
  width: 1px;
  height: 160px;
  background: linear-gradient(
    to bottom,
    rgba(236, 238, 241, 0) 0%,
    rgba(236, 238, 241, 0.9) 25%,
    rgba(236, 238, 241, 0.9) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.rails-y-bottom::before {
  left: 0;
}

.rails-y-bottom::after {
  right: 0;
}

/* 로고 스트립을 위한 도트 배경 */
.logo-dotted {
  background-image: radial-gradient(#e4e6e9 0.6px, transparent 0.6px);
  background-size: 8px 8px;
}

/* ========================================
   10. 로고 슬라이더 (Logo Slider)
   ======================================== */
/* 로고 섹션 - 가로만 숨김, 세로는 보이도록 */
.logo-section {
  overflow-x: clip;
  overflow-y: visible;
}

.logo-slider {
  width: 100%;
  overflow: hidden;
}

.logo-track {
  display: flex;
  gap: 2rem;
  animation: scroll 20s linear infinite;
}

.logo-item {
  flex: 0 0 auto;
  min-width: 120px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 호버 시 애니메이션 일시 정지 */
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

/* ========================================
   11. 메트릭 탭 (Metric Tabs)
   ======================================== */
.metric-tabs {
  display: flex;
  gap: 1rem;
}

.metric-tab {
  padding: .75rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #6c757d;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
  bottom: -1px;
}

.tab-content .btn {
  border-radius: 0;
}

.metric-tab:hover {
  color: #212529;
}

.metric-tab.active {
  color: var(--pc-primary);
  border-bottom-color: transparent;
}

.tab-title {
  display: none;
}

.tab-title.active {
  display: inline;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.customer-workload-box {
  border: 1px solid var(--pc-line);
  padding: 1rem 1.5rem;
  background: #fff;
  margin-left: -12px;
  margin-right: -12px;
}

.metric-card {
  border: 1px solid var(--pc-line);
  padding: 2.5rem 2rem;
  height: 100%;
  background: #fff;
  min-height: 200px;
  position: relative;
  overflow: visible;
}

.metric-number-outline {
  font-size: 4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px #000;
  paint-order: stroke fill;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1;
  min-height: 4rem;
  display: block;
}

/* 메트릭 카드 하단에 전체 너비 라인 */
.metric-row-with-line {
  position: relative;
  margin-left: -12px;
  margin-right: -12px;
}

/* 하단 가로선 */
.metric-row-with-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: var(--pc-line);
  pointer-events: none;
}

/* 세로선 래퍼 */
.metric-lines-wrapper {
  position: relative;
}

/* 왼쪽 세로선 (아래로만) */
.metric-lines-wrapper::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  width: 1px;
  height: 120px;
  background: linear-gradient(
    to bottom,
    #eceef1 0%,
    #eceef1 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 10;
}

/* 오른쪽 세로선 (아래로만) */
.metric-lines-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -12px;
  width: 1px;
  height: 120px;
  background: linear-gradient(
    to bottom,
    #eceef1 0%,
    #eceef1 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 10;
}

/* Use case cards */
.use-case-card {
  border: 1px solid #eceef1 !important;
}

.use-case-card-tl {
  border-right: none !important;
  border-bottom: none !important;
}

.use-case-card-tr {
  border-bottom: none !important;
}

.use-case-card-bl {
  border-right: none !important;
  border-bottom: none !important;
}

.use-case-card-br {
  border-bottom: none !important;
}

/* Use case cards bottom border with vertical lines */
.use-case-lines-wrapper {
  position: relative;
  width: 100vw;
  height: 1px;
  background: #eceef1;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* 왼쪽 세로선 (아래로만) - container 기준 */
.use-case-lines-wrapper::before {
  content: "";
  position: absolute;
  top: 1px;
  left: calc(50% - 570px + 10px);
  width: 1px;
  height: 120px;
  background: linear-gradient(
    to bottom,
    #eceef1 0%,
    #eceef1 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 10;
}

/* 오른쪽 세로선 (아래로만) - container 기준 */
.use-case-lines-wrapper::after {
  content: "";
  position: absolute;
  top: 1px;
  right: calc(50% - 570px + 10px);
  width: 1px;
  height: 120px;
  background: linear-gradient(
    to bottom,
    #eceef1 0%,
    #eceef1 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 10;
}

/* ========================================
   12. 아이콘 슬라이더 애니메이션 (Icon Slider Animation)
   ======================================== */
@keyframes slideIcons {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slideIconsReverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ========================================
   13. 유틸리티 클래스 - 텍스트 크기 (Utility Classes - Text Sizes)
   ======================================== */
.text-xs {
  font-size: 0.65rem;
}

.text-2xs {
  font-size: 0.7rem;
}

.text-sm {
  font-size: 0.75rem;
}

.text-md {
  font-size: 0.8rem;
}

.text-base {
  font-size: 0.85rem;
}

.text-lg {
  font-size: 0.9rem;
}

.text-xl {
  font-size: 0.95rem;
}

/* ========================================
   14. 통합 섹션 아이콘 (Integration Icons)
   ======================================== */
.integration-icon-box {
  background: #fff;
  width: 80px;
  height: 80px;
}

.integration-icon {
  font-size: 1.75rem;
  color: #6c757d;
}

/* ========================================
   15. 기능 카드 (Feature Cards)
   ======================================== */
.feature-icon-box {
  width: 48px;
  height: 48px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
}

.feature-card-title {
  font-size: 1.1rem;
}

.feature-card-text {
  font-size: 0.75rem;
}

/* ========================================
   16. 사용 사례 카드 (Use Case Cards)
   ======================================== */
.use-case-label {
  color: var(--pc-primary);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.use-case-text {
  font-size: 0.85rem;
}

/* ========================================
   17. 코드 블록 (Code Block)
   ======================================== */
.code-header {
  background-color: white;
}

.code-filename {
  font-size: 0.75rem;
}

.code-block {
  line-height: 0.2;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  background-color: #FFFFFF !important;
  color: #000;
  border: none !important;
}

.code-line {
  display: block;
  padding-left: 3.5rem;
  position: relative;
  min-height: 1.35em;
}

.code-line-number {
  position: absolute;
  left: 1rem;
  color: #9ca3af;
  user-select: none;
  width: 2rem;
  text-align: right;
}

.code-keyword {
  color: #8b5cf6;
  font-weight: 600;
}

.code-string {
  color: #f59e0b;
}

.code-number {
  color: #3b82f6;
}

/* ========================================
   18. CTA 섹션 (CTA Section)
   ======================================== */
.cta-row {
  margin-left: -12px;
  margin-right: -12px;
}

.cta-button {
  font-weight: 500;
  width: 150px;
}

/* ========================================
   19. Footer 스타일 (Footer Styles)
   ======================================== */
.footer-bg {
  background: #f8f9fa;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
}

.footer-heading {
  font-size: 0.875rem;
}

.footer-copyright {
  font-size: 0.875rem;
}

.footer-border-full {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  border-top: 1px solid #dee2e6;
}

/* ========================================
   20. 섹션 제목 (Section Headings)
   ======================================== */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.section-label-sm {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

/* ========================================
   21. 레이아웃 유틸리티 (Layout Utilities)
   ======================================== */
.expand-row {
  margin-left: -12px;
  margin-right: -12px;
}

.overflow-hidden {
  overflow: hidden;
}

/* ========================================
   22. 버튼 크기 조정 (Button Sizing)
   ======================================== */
.btn-xs {
  font-size: 0.7rem;
}

.btn-width-fit {
  width: fit-content;
}

/* ========================================
   23. 아이콘 크기 (Icon Sizes)
   ======================================== */
.icon-md {
  font-size: 1.25rem;
}

.icon-lg {
  font-size: 1.5rem;
}

.icon-xl {
  font-size: 2rem;
}

/* ========================================
   24. 애니메이션 클래스 (Animation Classes)
   ======================================== */
.animate-slide {
  animation: slideIcons 20s linear infinite;
}

.animate-slide-reverse {
  animation: slideIconsReverse 20s linear infinite;
}

/* ========================================
   25. Enterprise 아이콘 박스 (Enterprise Icon Box)
   ======================================== */
.enterprise-icon-box {
  width: 56px;
  height: 56px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enterprise-icon {
  font-size: 1.5rem;
  color: #fff;
}

/* ========================================
   26. 기능 카드 border 없음 (Feature Card No Border)
   ======================================== */
.feature-card-no-right-bottom {
  border-right: none !important;
  border-bottom: none !important;
}

.feature-card-no-bottom {
  border-bottom: none !important;
}

.feature-card-no-right {
  border-right: none !important;
}

/* ========================================
   27. 추가 유틸리티 (Additional Utilities)
   ======================================== */
.gap-0 {
  gap: 0;
}

.w-fit-content {
  width: fit-content;
}

.lh-1-6 {
  line-height: 1.6;
}

.border-left-gray {
  border-left: 1px solid #dee2e6;
}

.border-gray {
  border: 1px solid #d1d5db;
}

.text-md-2 {
  font-size: 0.8rem;
}

.text-lg-2 {
  font-size: 0.95rem;
}

.code-display-block {
  display: block;
}

.icon-logo {
  font-size: 1.5rem;
}


/* ========================================
   모바일 반응형 스타일 (Mobile Responsive)
   ======================================== */

/* 태블릿 이하 (768px 미만) */
@media (max-width: 767px) {
  /* 상단 공지 - 흘러가는 텍스트 */
  #divTopNoti .text-truncate {
    overflow: visible !important;
    white-space: nowrap !important;
    animation: marquee 15s linear infinite !important;
    display: inline-block !important;
    padding-left: 100% !important;
    padding-right: 40px !important;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  #divTopNoti .container {
    overflow: hidden !important;
    position: relative !important;
    padding-right: 40px !important;
  }

  /* 닫기 버튼 - 텍스트 숨기고 아이콘만 표시 */
  #btnDismissNoti {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    z-index: 10 !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  #btnDismissNoti i {
    font-size: 1.3rem !important;
    line-height: 1 !important;
    color: #6c757d !important;
    display: block !important;
  }

  /* 로고 크기 조정 */
  #imgCi {
    width: 100px !important;
  }

  /* 히어로 섹션 타이틀 크기 조정 */
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle {
    font-size: 0.875rem !important;
  }

  .hero-desc {
    font-size: 0.95rem !important;
  }

  /* 버튼 크기 및 간격 */
  .btn-hero {
    height: 48px !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 1.25rem !important;
  }

  /* 히어로 버튼 그룹 - 세로 정렬 */
  .hero-illustration + .container .d-flex.gap-3 {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .hero-illustration + .container .d-flex.gap-3 > * {
    width: 100% !important;
  }

  /* 로고 박스 크기 조정 */
  .logo-box {
    height: 48px !important;
    padding: 0.5rem !important;
  }

  .logo-box img {
    max-height: 36px !important;
  }

  /* 섹션 제목 크기 */
  h2 {
    font-size: 1.5rem !important;
  }

  h5 {
    font-size: 1.1rem !important;
  }

  /* 카드 간격 조정 */
  .card {
    margin-bottom: 1.5rem !important;
  }

  /* 패딩 조정 */
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .py-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* 텍스트 크기 조정 */
  .text-muted {
    font-size: 0.9rem !important;
  }

  /* 아이콘 박스 패딩 */
  .icon-box {
    padding: 1rem !important;
  }

  /* 그리드 간격 조정 */
  .row.g-4 {
    gap: 1.5rem !important;
  }

  /* 파트너 로고 슬라이더 */
  .partner-logos {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 상단 공지 텍스트 */
  #divTopNoti .text-truncate {
    font-size: 0.75rem !important;
  }

  /* 툴바 숨기기 또는 조정 */
  .toolbar {
    flex-wrap: wrap !important;
  }

  .toolbar .btn {
    font-size: 0.85rem !important;
  }

  /* Footer - 모바일에서 주소 숨기기 */
  .footer-copyright:has(i) {
    display: none !important;
  }

  /* Footer - 저작권 텍스트 작게 */
  .footer-copyright:not(:has(i)) {
    font-size: 0.6rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    width: 100% !important;
  }

  /* Footer - 컨테이너 중앙 정렬 */
  .py-3.footer-border-full .d-flex {
    justify-content: center !important;
  }
}

/* 소형 모바일 (576px 미만) */
@media (max-width: 575px) {
  /* 컨테이너 패딩 조정 */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* 로고 더 작게 */
  #imgCi {
    width: 90px !important;
  }

  /* 히어로 타이틀 더 작게 */
  .hero-title {
    font-size: 1.5rem !important;
  }

  /* 버튼 전체 너비 */
  .btn-hero {
    width: 100% !important;
  }

  /* 섹션 제목 더 작게 */
  h2 {
    font-size: 1.35rem !important;
  }

  /* 카드 패딩 조정 */
  .card-body {
    padding: 1rem !important;
  }

  /* 작은 텍스트 더 작게 */
  small, .small {
    font-size: 0.8rem !important;
  }

  /* 로고 박스 더 작게 */
  .logo-box {
    height: 42px !important;
  }

  .logo-box img {
    max-height: 30px !important;
  }

  /* 툴바 버튼 숨기기 또는 아이콘만 표시 */
  .toolbar .btn-ghost {
    padding: 0.375rem 0.6rem !important;
    font-size: 0.8rem !important;
  }

  /* 히어로 일러스트레이션 높이 조정 */
  .hero-illustration {
    min-height: 200px !important;
  }
}

/* 극소형 모바일 (360px 미만) */
@media (max-width: 359px) {
  #imgCi {
    width: 80px !important;
  }

  .hero-title {
    font-size: 1.35rem !important;
  }

  h2 {
    font-size: 1.25rem !important;
  }

  .btn-hero {
    height: 44px !important;
    font-size: 0.9rem !important;
  }

  .logo-box {
    height: 38px !important;
  }

  .logo-box img {
    max-height: 26px !important;
  }
}
