/* ══════════════════════════════════════════════════════════════════
   테크블루 홈페이지 — style.css
   Bootstrap 5.3 위에 커스텀 스타일 (유일한 CSS 파일)
   ══════════════════════════════════════════════════════════════════ */


/* ── 1. CSS Custom Properties ──────────────────────────────────── */

:root {
  /* 메인 브랜드 컬러 */
  --primary:          #1a237e;
  --primary-light:    #2563eb;
  --accent:           #42a5f5;

  /* 다크 계열 */
  --dark:             #0d1b4a;
  --dark-deeper:      #06091f;
  --dark-mesh:        #080c2a;
  --dark-charcoal:    #1a1a2e;

  /* 네온 / 글로우 포인트 */
  --neon-blue:        #00d4ff;
  --neon-purple:      #7c3aed;
  --neon-green:       #00e676;

  /* 글로우 (rgba) */
  --glow-primary:     rgba(37, 99, 235, 0.55);
  --glow-accent:      rgba(0, 212, 255, 0.40);
  --glow-purple:      rgba(124, 58, 237, 0.50);
  --glow-white:       rgba(255, 255, 255, 0.15);

  /* 그라데이션 프리셋 */
  --grad-hero:        linear-gradient(135deg, #06091f 0%, #0d1b4a 40%, #1a237e 100%);
  --grad-card:        linear-gradient(135deg, #1a237e 0%, #2563eb 100%);
  --grad-accent:      linear-gradient(135deg, #2563eb 0%, #00d4ff 100%);
  --grad-purple:      linear-gradient(135deg, #1a1040 0%, #7c3aed 100%);
  --grad-dark-mesh:
    radial-gradient(ellipse at 15% 40%, rgba(37,99,235,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(0,212,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(124,58,237,0.10) 0%, transparent 50%),
    #0d1b4a;
  --grad-cta:         linear-gradient(135deg, #06091f 0%, #0d1b4a 50%, #1a237e 100%);

  /* 배경 컬러 */
  --bg-light:         #f4f7fc;
  --bg-white:         #ffffff;
  --bg-dark:          #0d1b4a;

  /* 텍스트 컬러 */
  --text-dark:        #0f172a;
  --text-body:        #374151;
  --text-muted:       #6b7280;
  --text-light:       rgba(255, 255, 255, 0.90);
  --text-light-muted: rgba(255, 255, 255, 0.65);  /* WCAG AA 충족 */

  /* 보더 / 라인 */
  --border-light:     rgba(0, 0, 0, 0.08);
  --border-glass:     rgba(255, 255, 255, 0.08);
  --border-blue:      rgba(66, 165, 245, 0.25);
  --border-neon:      rgba(0, 212, 255, 0.35);

  /* 상태 컬러 */
  --success:          #00c853;
  --warning:          #ff8f00;
  --danger:           #e53935;

  /* 트랜지션 */
  --trans-fast:       all 0.20s ease;
  --trans-base:       all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow:       all 0.60s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-bounce:     all 0.50s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* 쉐도우 */
  --shadow-sm:        0 2px 8px rgba(0,0,0,0.06);
  --shadow-base:      0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:        0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow-blue: 0 8px 30px var(--glow-primary);
  --shadow-glow-neon: 0 8px 40px var(--glow-accent);

  /* 보더 라디우스 */
  --radius-sm:        8px;
  --radius-base:      12px;
  --radius-lg:        16px;
  --radius-xl:        24px;
  --radius-pill:      50px;

  /* z-index 체계 */
  --z-content:        1;
  --z-sticky:         10;
  --z-top-bar:        1010;
  --z-sub-nav:        1020;
  --z-gnb:            1030;
  --z-mega-menu:      1040;
  --z-modal:          1050;
  --z-offcanvas:      1055;
  --z-loader:         9999;
  --z-skip-nav:       9999;

  /* 간격 체계 (8px 기반) */
  --space-xs:         4px;
  --space-sm:         8px;
  --space-md:         16px;
  --space-lg:         24px;
  --space-xl:         32px;
  --space-2xl:        48px;
  --space-3xl:        64px;
  --space-4xl:        80px;
  --space-section:    100px;
  --space-section-sm: 60px;

  /* 폰트 사이즈 */
  --fs-hero:          72px;
  --fs-hero-sub:      64px;
  --fs-section:       40px;
  --fs-subtitle:      24px;
  --fs-body:          16px;
  --fs-caption:       12px;
  --fs-counter:       80px;
  --fs-counter-label: 14px;

  /* 폰트 패밀리 */
  --font-main:    'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-counter: 'Chakra Petch', 'Inter', monospace;
  --font-code:    'JetBrains Mono', 'Consolas', monospace;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-future:  'Orbitron', 'Inter', sans-serif;

  /* 컨테이너 */
  --container-max:    1320px;
  --container-narrow: 960px;

  /* 페이지별 테마 (header.html에서 오버라이드) */
  --page-primary:     #2563eb;
  --page-glow:        rgba(37,99,235,0.55);
  --page-grad:        linear-gradient(135deg, #06091f, #2563eb);
}

@media (max-width: 768px) {
  :root {
    --fs-hero:          38px;
    --fs-hero-sub:      34px;
    --fs-section:       28px;
    --fs-subtitle:      20px;
    --fs-body:          15px;
    --fs-counter:       48px;
    --fs-counter-label: 13px;
    --space-section:    60px;
  }
}


/* ── 2. 기본 스타일 ────────────────────────────────────────────── */

body {
  font-family: var(--font-main);
  font-size: var(--fs-body);
  color: var(--text-body);
  line-height: 1.80;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 108px;  /* Top Bar(36) + GNB(72) */
}

body.no-hero {
  /* 히어로 없는 페이지: GNB 항상 scrolled 상태 */
}

@media (max-width: 991px) {
  body {
    padding-top: 72px;  /* 모바일: Top Bar 숨김, GNB만 */
  }
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.20;
  font-weight: 700;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--trans-fast);
}
a:hover {
  color: var(--primary);
}

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

/* 스크린 리더 전용 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ── 3. 접근성: Skip Nav ───────────────────────────────────────── */

.skip-nav {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: var(--z-skip-nav);
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-nav:focus {
  top: 8px;
  outline: 3px solid var(--neon-blue);
  outline-offset: 2px;
  color: #fff;
}

/* 키보드 포커스 스타일 */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark *:focus-visible,
.page-hero *:focus-visible {
  outline-color: var(--neon-blue);
}


/* ── 4. 페이지 로더 ────────────────────────────────────────────── */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  text-align: center;
}
.loader-logo {
  margin-bottom: 24px;
  animation: fade-scale-in 0.6s ease;
}
.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--grad-accent);
  border-radius: 2px;
  animation: loader-progress 1.5s ease forwards;
}


/* ── 5. 스크롤 진행 바 ─────────────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: calc(var(--z-gnb) + 1);
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--grad-accent);
  box-shadow: 0 0 10px var(--glow-accent);
  transition: width 0.1s linear;
}


/* ── 6. Top Bar ────────────────────────────────────────────────── */

.top-bar {
  background: var(--dark);
  height: 36px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-top-bar);
  font-size: 13px;
}
.top-bar > .container-fluid {
  height: 100%;
  display: flex;
  align-items: center;
}
.top-bar .row {
  width: 100%;
  flex: 1;
  align-items: center;
}
.top-bar-link,
.top-bar-text {
  color: var(--text-light-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans-fast);
}
.top-bar-link:hover {
  color: var(--neon-blue);
}
.top-bar-sns-link {
  color: var(--text-light-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--trans-fast);
  font-size: 14px;
}
.top-bar-sns-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}


/* ── 7. GNB 네비게이션 ─────────────────────────────────────────── */

.gnb-navbar {
  top: 36px;
  height: 80px;
  z-index: var(--z-gnb);
  padding: 0;
  background: #0852be;
  transition: var(--trans-base);
}
.gnb-navbar.scrolled {
  top: 0;
  height: 68px;
  padding: 0;
  background: rgba(13, 27, 74, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

body.no-hero .gnb-navbar {
  top: 0;
  height: 68px;
  padding: 0;
  background: rgba(13, 27, 74, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
body.no-hero {
  padding-top: 68px;
}

@media (max-width: 991px) {
  .gnb-navbar {
    top: 0;
    height: 64px;
    padding: 0;
    background: rgba(13, 27, 74, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

.gnb-logo {
  transition: var(--trans-fast);
}
.gnb-link {
  color: rgba(255,255,255,0.9) !important;
  font-size: 17px;
  font-weight: 600;
  padding: 12px 20px !important;
  position: relative;
  transition: var(--trans-fast);
  letter-spacing: -0.01em;
}
.gnb-link:hover,
.gnb-link.active {
  color: #fff !important;
}
.gnb-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}
.gnb-arrow {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.gnb-link[aria-expanded="true"] .gnb-arrow {
  transform: rotate(180deg);
}


/* ── 8. 메가 메뉴 ──────────────────────────────────────────────── */

/* li.mega-dropdown의 position을 static으로 → 포지셔닝 컨텍스트를 gnb-navbar(fixed)로 이동 */
.mega-dropdown {
  position: static !important;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 100%;       /* Bootstrap min-width: 10rem 오버라이드 */
  border: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: rgba(13, 27, 74, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  padding: 32px 0;
  animation: fade-scale-in 0.25s ease;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-base);
  color: var(--text-light);
  transition: var(--trans-fast);
}
.mega-item:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
  transform: translateX(4px);
}
.mega-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--page-glow);
  font-size: 20px;
  color: var(--neon-blue);
}
.mega-item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}
.mega-item-text span {
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.4;
}
.mega-cta-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-base);
  padding: 28px 24px;
  text-align: center;
}
.mega-cta-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.mega-cta-desc {
  color: var(--text-light-muted);
  font-size: 14px;
  margin-bottom: 16px;
}


/* ── 9. 모바일 offcanvas 메뉴 ──────────────────────────────────── */

.offcanvas-mobile {
  background: var(--dark);
  border-right: 1px solid var(--border-glass);
  width: 300px;
}
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  color: var(--text-light);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-glass);
  transition: var(--trans-fast);
}
.mobile-nav-link:hover {
  color: var(--neon-blue);
  background: rgba(255,255,255,0.03);
}
.mobile-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0,0,0,0.2);
}
.mobile-sub-list a {
  display: block;
  padding: 14px 24px 14px 48px;  /* 터치 타겟 44px+ */
  color: var(--text-light-muted);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--trans-fast);
}
.mobile-sub-list a:hover {
  color: var(--neon-blue);
}
.mobile-contact {
  padding: 0 24px;
}
.mobile-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light-muted);
  padding: 8px 0;
  font-size: 14px;
}


/* ── 10. 서브 네비게이션 ───────────────────────────────────────── */

.sub-nav {
  position: sticky;
  top: 60px;
  z-index: var(--z-sub-nav);
  height: 48px;
  background: rgba(13, 27, 74, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}
.sub-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
  height: 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sub-nav-list::-webkit-scrollbar { display: none; }
.sub-nav-link {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 20px;
  height: 48px;
  color: var(--text-light-muted);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: var(--trans-fast);
}
.sub-nav-link:hover {
  color: #fff;
}
.sub-nav-link.active {
  color: #fff;
  border-bottom-color: var(--page-primary, var(--primary-light));
  font-weight: 600;
}


/* ── 11. 버튼 스타일 ───────────────────────────────────────────── */

.btn-primary-custom {
  background: var(--page-primary, var(--primary-light));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: var(--trans-base);
  box-shadow: 0 4px 15px var(--page-glow, var(--glow-primary));
}
.btn-primary-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--page-glow, var(--glow-primary));
}

.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: var(--trans-base);
  background: transparent;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.btn-cta {
  background: var(--grad-accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--trans-base);
  box-shadow: 0 4px 20px var(--glow-accent);
}
.btn-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-accent);
}

.btn-glow {
  animation: glow-pulse 3s ease-in-out infinite;
}


/* ── 12. 섹션 공통 ─────────────────────────────────────────────── */

.section {
  padding: var(--space-section) 0;
}
.section-sm {
  padding: var(--space-section-sm) 0;
}
.section-light {
  background: var(--bg-light);
}
.section-white {
  background: var(--bg-white);
}
.section-dark {
  background: var(--grad-dark-mesh);
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 3px,
    rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px
  );
  pointer-events: none;
  z-index: 0;
}
.section-dark::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }

.section-title {
  font-size: var(--fs-section);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
}
.section-dark .section-subtitle {
  color: var(--text-light-muted);
}


/* ── 12-B. 메인 비주얼 슬라이더 ────────────────────────────────── */

.mv-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: -116px;   /* topbar(36) + gnb(80) */
  color: #fff;
}

.main-visual-swiper,
.main-visual-swiper .swiper-wrapper,
.main-visual-swiper .swiper-slide {
  height: 100%;
  width: 100%;
}

/* ── 슬라이드 배경 (이미지 없을 때 그라디언트) ── */
.mv-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.mv-slide--1 { background-image: url('../images/content/hero-slide1.jpg'); background-color: #eef3ff; }
.mv-slide--2 { background-image: url('../images/content/hero-slide2.jpg'); background-color: #f8f5ff; }
.mv-slide--3 { background-image: url('../images/content/hero-slide3.jpg'); background-color: #f5fdfb; }
.mv-slide--4 { background-image: url('../images/content/hero-slide4.jpg'); background-color: #fffef5; }
.mv-slide--5 { background-image: url('../images/content/hero-slide5.jpg'); background-color: #f4fdf7; }

/* 밝은 배경용 오버레이 — 좌측 흰색 페이드 + 우측 투명 */
.mv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.20) 50%,
    rgba(255,255,255,0.05) 100%
  );
  z-index: 1;
}

/* 서브틀 도트 패턴 (밝은 배경용) */
.mv-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── 콘텐츠 레이아웃 ── */
.mv-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.mv-inner {
  max-width: 820px;
  padding: 116px 0 60px;  /* navbar 높이만큼 상단 패딩 */
}

/* 슬라이드 인 애니메이션 */
.mv-inner[data-mv-animate] .mv-kicker,
.mv-inner[data-mv-animate] .mv-title,
.mv-inner[data-mv-animate] .mv-desc,
.mv-inner[data-mv-animate] .mv-cta {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.swiper-slide-active .mv-inner[data-mv-animate] .mv-kicker { opacity: 1; transform: none; transition-delay: 0.1s; }
.swiper-slide-active .mv-inner[data-mv-animate] .mv-title  { opacity: 1; transform: none; transition-delay: 0.25s; }
.swiper-slide-active .mv-inner[data-mv-animate] .mv-desc   { opacity: 1; transform: none; transition-delay: 0.4s; }
.swiper-slide-active .mv-inner[data-mv-animate] .mv-cta    { opacity: 1; transform: none; transition-delay: 0.55s; }

/* ── 텍스트 요소 ── */
.mv-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2563eb;
  border: 1px solid rgba(37,99,235,0.3);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(37,99,235,0.07);
  margin-bottom: 24px;
}
.mv-kicker--purple { color: #7c3aed; border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.07); }
.mv-kicker--teal   { color: #0d9488; border-color: rgba(13,148,136,0.3);  background: rgba(13,148,136,0.07); }
.mv-kicker--amber  { color: #b45309; border-color: rgba(180,83,9,0.3);    background: rgba(180,83,9,0.07);   }
.mv-kicker--green  { color: #059669; border-color: rgba(5,150,105,0.3);   background: rgba(5,150,105,0.07);  }

.mv-title {
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0d1b4a;
  margin-bottom: 20px;
}
.mv-title em { font-style: normal; color: #2563eb; }
.mv-title--purple em { color: #7c3aed; }
.mv-title--teal   em { color: #0d9488; }
.mv-title--amber  em { color: #b45309; }
.mv-title--green  em { color: #059669; }

/* 슬라이드별 기본 제목 색상 */
.mv-slide--1 .mv-title { color: #0d1b4a; }
.mv-slide--2 .mv-title { color: #1e0f4a; }
.mv-slide--3 .mv-title { color: #063333; }
.mv-slide--4 .mv-title { color: #2d1500; }
.mv-slide--5 .mv-title { color: #063322; }

.mv-desc {
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(20, 30, 70, 0.62);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 680px;
}
.mv-slide--2 .mv-desc { color: rgba(30, 15, 74, 0.60); }
.mv-slide--3 .mv-desc { color: rgba(6, 51, 51, 0.60);  }
.mv-slide--4 .mv-desc { color: rgba(45, 21, 0, 0.60);  }
.mv-slide--5 .mv-desc { color: rgba(6, 51, 34, 0.60);  }

/* ── CTA 버튼 ── */
.mv-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.mv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  transition: var(--trans-fast);
  border: 2px solid transparent;
}
.mv-btn--primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 6px 30px rgba(37,99,235,0.45);
}
.mv-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(37,99,235,0.6); color: #fff; }
.mv-btn--purple  { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; box-shadow: 0 6px 30px rgba(124,58,237,0.45); }
.mv-btn--purple:hover  { transform: translateY(-2px); color: #fff; }
.mv-btn--teal    { background: linear-gradient(135deg, #0d9488, #10b981); color: #fff; box-shadow: 0 6px 30px rgba(13,148,136,0.45); }
.mv-btn--teal:hover    { transform: translateY(-2px); color: #fff; }
.mv-btn--amber   { background: linear-gradient(135deg, #d97706, #f59e0b); color: #fff; box-shadow: 0 6px 30px rgba(217,119,6,0.45); }
.mv-btn--amber:hover   { transform: translateY(-2px); color: #fff; }
.mv-btn--green   { background: linear-gradient(135deg, #059669, #10b981); color: #fff; box-shadow: 0 6px 30px rgba(5,150,105,0.45); }
.mv-btn--green:hover   { transform: translateY(-2px); color: #fff; }
.mv-btn--outline { background: transparent; border-color: rgba(13,27,74,0.25); color: rgba(13,27,74,0.75); }
.mv-btn--outline:hover { background: rgba(13,27,74,0.06); border-color: rgba(13,27,74,0.5); color: #0d1b4a; }

/* ── 슬라이드 번호 ── */
.mv-slide-number {
  position: absolute;
  right: 40px;
  bottom: 80px;
  font-family: var(--font-counter);
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0,0,0,0.05);
  letter-spacing: -0.05em;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

/* ── 페이지네이션 ── */
.mv-pagination {
  bottom: 32px !important;
  z-index: 10;
}
.mv-pagination .swiper-pagination-bullet {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(13,27,74,0.2);
  opacity: 1;
  transition: background 0.3s, width 0.3s;
}
.mv-pagination .swiper-pagination-bullet-active {
  background: #2563eb;
  width: 60px;
}

/* ── 네비게이션 화살표 ── */
.mv-nav-prev,
.mv-nav-next {
  width: 48px !important;
  height: 48px !important;
  background: rgba(255,255,255,0.75) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(13,27,74,0.12) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: var(--trans-fast);
}
.mv-nav-prev:hover,
.mv-nav-next:hover {
  background: #fff !important;
  border-color: rgba(37,99,235,0.35) !important;
  box-shadow: 0 4px 20px rgba(37,99,235,0.2);
}
.mv-nav-prev::after,
.mv-nav-next::after {
  font-size: 16px !important;
  color: #0d1b4a;
  font-weight: 700;
}
.mv-nav-prev { left: 24px !important; }
.mv-nav-next { right: 24px !important; }

/* ── 진행 바 ── */
.mv-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(13,27,74,0.08);
  z-index: 10;
}
.mv-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--grad-accent);
  transition: width linear;
}

/* ── 스크롤 유도 ── */
.mv-scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(13,27,74,0.4);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: color 0.3s;
  animation: scroll-bounce 2s ease-in-out infinite;
}
.mv-scroll-down:hover { color: rgba(13,27,74,0.8); }
.mv-scroll-down i { font-size: 18px; }
.mv-scroll-text { display: block; }

/* ── 반응형 ── */
@media (max-width: 768px) {
  .mv-section { margin-top: -64px; }
  .mv-inner { padding: 80px 0 60px; }
  .mv-desc { font-size: 14px; }
  .mv-btn  { padding: 12px 22px; font-size: 14px; }
  .mv-slide-number { font-size: 70px; right: 16px; bottom: 60px; }
  .mv-nav-prev, .mv-nav-next { display: none !important; }
}
@media (max-width: 480px) {
  .mv-title { font-size: 28px; }
  .mv-cta   { flex-direction: column; align-items: flex-start; }
}

/* 기존 hero 섹션 — 비주얼 슬라이더 다음에 올 때 top margin 제거 */
.mv-section + .page-hero {
  margin-top: 0;
  padding-top: 116px;
}

/* ── 13. 히어로 ────────────────────────────────────────────────── */

.page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  color: #fff;
  margin-top: -116px;
  padding-top: 116px;
}
.page-hero--lg { min-height: 100vh; }
.page-hero--md { min-height: 70vh; }
.page-hero--sm { min-height: 50vh; min-height: 400px; }

@media (max-width: 991px) {
  .page-hero {
    margin-top: -72px;
    padding-top: 72px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 31, 0.5);
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-blue);
  border: 1px solid var(--border-neon);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.08);
  margin-bottom: 20px;
  animation: hero-reveal 0.8s ease 0.2s both;
}
.hero-title {
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.10;
  margin-bottom: 20px;
  animation: hero-reveal 0.8s ease 0.4s both;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-light-muted);
  max-width: 600px;
  margin-bottom: 32px;
  animation: hero-reveal 0.8s ease 0.6s both;
}

/* 파티클 레이어 */
[id^="particles-"] {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 스크롤 유도 화살표 */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  animation: scroll-bounce 2s ease-in-out infinite;
  z-index: 1;
}

/* Typed.js 커서 */
.typed-cursor {
  animation: cursor-blink 0.7s ease-in-out infinite;
  color: var(--neon-blue);
  font-weight: 300;
}


/* ── 14. 텍스트 효과 ───────────────────────────────────────────── */

.text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-glow {
  color: var(--neon-blue);
  text-shadow:
    0 0 15px rgba(0, 212, 255, 0.60),
    0 0 40px rgba(0, 212, 255, 0.30);
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 14px;
  position: relative;
  padding-left: 24px;
}
.section-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--grad-accent);
  transform: translateY(-50%);
}
.section-badge-dark {
  color: var(--neon-blue);
  border: 1px solid var(--border-neon);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}


/* ── 15. 카드 스타일 ───────────────────────────────────────────── */

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--trans-base);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
}

.glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--trans-base);
}
.glass-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-neon);
  transform: translateY(-4px);
}

.neon-card {
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--trans-base);
}
.neon-card:hover {
  box-shadow: 0 0 20px var(--glow-accent);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-base);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-light);
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--trans-base);
}
.feature-icon--lg {
  width: 72px;
  height: 72px;
  font-size: 32px;
}
.feature-card:hover .feature-icon {
  background: var(--primary-light);
  color: #fff;
  box-shadow: var(--shadow-glow-blue);
}


/* ── 16. 카운터 ────────────────────────────────────────────────── */

.counter-item {
  text-align: center;
}
.counter-number {
  font-family: var(--font-counter);
  font-size: var(--fs-counter);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.counter-number .counter-suffix {
  font-size: 0.4em;
  font-weight: 600;
  color: var(--neon-blue);
}
.counter-label {
  font-size: var(--fs-counter-label);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-light-muted);
  text-transform: uppercase;
}


/* ── 17. 섹션 구분선 ───────────────────────────────────────────── */

.divider-wave {
  line-height: 0;
  margin-top: -1px;
}
.divider-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

.divider-diagonal {
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 100%);
  margin-top: -4vw;
}

.divider-curve {
  border-radius: 50% 50% 0 0 / 80px 80px 0 0;
  margin-top: -80px;
}


/* ── 18. 푸터 ──────────────────────────────────────────────────── */

.site-footer {
  background: var(--dark-charcoal);
  color: var(--text-light-muted);
  position: relative;
  overflow: hidden;
}
.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url('../images/pattern-circuit.webp');
  background-repeat: repeat;
  background-size: 400px;
  pointer-events: none;
}
.footer-logo {
  opacity: 0.9;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light-muted);
}
.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--text-light-muted);
  font-size: 14px;
  transition: var(--trans-fast);
}
.footer-links a:hover {
  color: var(--neon-blue);
  padding-left: 4px;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact i {
  color: var(--accent);
  margin-top: 2px;
}
.footer-contact a {
  color: var(--text-light-muted);
}
.footer-contact a:hover {
  color: var(--neon-blue);
}
.footer-sns-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  color: var(--text-light-muted);
  font-size: 16px;
  transition: var(--trans-fast);
}
.footer-sns-link:hover {
  color: #fff;
  background: var(--primary-light);
  border-color: var(--primary-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-copyright {
  font-size: 13px;
  color: var(--text-light-muted);
}
.footer-policy-link {
  font-size: 13px;
  color: var(--text-light-muted);
  font-weight: 500;
}
.footer-policy-link:hover {
  color: var(--neon-blue);
}
.footer-copyright a,
.footer-copyright a:link,
.footer-copyright a:visited,
.footer-copyright a:hover,
.footer-copyright a:active,
.footer-copyright a:focus {
  color: inherit;
  text-decoration: none;
  cursor: text;
  outline: none;
}


/* ── 19. 스크롤 투 탑 ──────────────────────────────────────────── */

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--primary-light);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--trans-base);
  box-shadow: var(--shadow-glow-blue);
  z-index: 100;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--primary);
  transform: translateY(-4px);
}


/* ── 20. 이미지 placeholder ────────────────────────────────────── */

.img-placeholder {
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
}
.img-placeholder .img-lazy {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.img-placeholder.loaded .img-lazy {
  opacity: 1;
}


/* ── 21. 키프레임 애니메이션 ────────────────────────────────────── */

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(5deg); }
  66%       { transform: translateY(-6px) rotate(-3deg); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--glow-primary); }
  50%       { box-shadow: 0 0 35px var(--glow-primary), 0 0 60px var(--glow-accent); }
}
@keyframes number-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0,212,255,0.3)); }
  50%       { filter: drop-shadow(0 0 25px rgba(0,212,255,0.8)) drop-shadow(0 0 50px rgba(0,212,255,0.4)); }
}
@keyframes scan {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}
@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}
@keyframes border-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes fade-scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes loader-progress {
  0%   { width: 0%; }
  60%  { width: 70%; }
  100% { width: 100%; }
}


/* ── 22. prefers-reduced-motion ─────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [id^="particles-"] { display: none !important; }
  .marquee-track { animation-play-state: paused !important; }
  .section-dark {
    animation: none !important;
    background-size: 100% 100% !important;
  }
  /* 메인 비주얼 슬라이더: 모션 감소 시 페이드 비활성화 */
  .mv-inner[data-mv-animate] .mv-kicker,
  .mv-inner[data-mv-animate] .mv-title,
  .mv-inner[data-mv-animate] .mv-desc,
  .mv-inner[data-mv-animate] .mv-cta {
    opacity: 1 !important;
    transform: none !important;
  }
  .mv-scroll-down { animation: none !important; }
}


/* ── 23. 메인 페이지 전용 ──────────────────────────────────────── */

/* HUD 코너 데코 */
.hud-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(0, 212, 255, 0.15);
  z-index: 1;
  pointer-events: none;
}
.hud-corner--tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.hud-corner--tr { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.hud-corner--bl { bottom: 100px; left: 20px; border-right: none; border-top: none; }
.hud-corner--br { bottom: 100px; right: 20px; border-left: none; border-top: none; }

/* 히어로 배지 */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}

/* HUD 패널 */
.hud-panel {
  font-size: 14px;
  max-width: 420px;
  margin-left: auto;
}
.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}
.hud-title {
  font-weight: 700;
  color: #fff;
}
.hud-live {
  font-size: 12px;
  font-weight: 700;
  color: var(--neon-green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  display: inline-block;
  animation: glow-pulse 2s ease-in-out infinite;
}
.hud-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.hud-label {
  color: var(--text-light-muted);
  min-width: 80px;
}
.hud-value {
  font-weight: 700;
  color: #fff;
  font-family: var(--font-counter);
}
.hud-sub {
  color: var(--text-light-muted);
  font-size: 12px;
}
.hud-status--up { color: var(--warning); font-size: 12px; }
.hud-progress {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.hud-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-blue), var(--warning));
  border-radius: 3px;
  transition: width 1s ease;
}
.hud-alert {
  font-size: 12px;
  color: var(--warning);
  padding: 8px 12px;
  background: rgba(255,143,0,0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--warning);
}
.hud-footer {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
}
.hud-ai-status { color: var(--neon-green); }
.hud-sensor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
  color: var(--text-light);
}

/* CCTV HUD */
.hud-cctv { position: relative; min-height: 200px; }
.cctv-box {
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-code);
  display: flex;
  justify-content: space-between;
}
.cctv-box--green { border: 1px solid rgba(0,200,83,0.4); background: rgba(0,200,83,0.06); color: var(--success); }
.cctv-box--red { border: 1px solid rgba(229,57,53,0.4); background: rgba(229,57,53,0.06); color: var(--danger); }
.cctv-box--yellow { border: 1px solid rgba(255,143,0,0.4); background: rgba(255,143,0,0.06); color: var(--warning); }

/* Chat HUD */
.hud-chat { font-size: 13px; }
.chat-msg { padding: 10px 14px; border-radius: var(--radius-base); margin-bottom: 8px; }
.chat-user { background: rgba(255,255,255,0.06); color: var(--text-light); }
.chat-ai { background: rgba(124,58,237,0.08); color: var(--text-light); border: 1px solid rgba(124,58,237,0.2); }
.chat-msg strong { display: block; font-size: 11px; margin-bottom: 4px; color: var(--text-light-muted); }

/* 카운터 섹션 */
.counter-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(66,165,245,0.15);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  transition: var(--trans-base);
}
.counter-item:hover {
  background: rgba(66,165,245,0.08);
  border-color: rgba(66,165,245,0.4);
  transform: translateY(-8px);
}
.counter-desc {
  font-size: 13px;
  color: var(--text-light-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

/* 기술 마퀴 */
.tech-marquee {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(66,165,245,0.1);
  border-bottom: 1px solid rgba(66,165,245,0.1);
  padding: 12px 0;
  overflow: hidden;
}
.marquee-track { overflow: hidden; }
.marquee-content {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee-content span {
  color: var(--text-light-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* AI 허브 다이어그램 */
.hub-diagram {
  position: relative;
  width: 480px;
  height: 480px;
  margin: 0 auto;
}
.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--grad-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 14px rgba(37,99,235,0.12), 0 0 70px var(--glow-primary);
  z-index: 2;
}
.hub-center-text { font-size: 60px; font-weight: 900; color: #fff; line-height: 1; }
.hub-center-sub { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.1em; margin-top: 4px; }
.hub-node {
  position: absolute;
  width: 108px;
  height: 108px;
  border-radius: 22px;
  background: #fff;
  border: 1.5px solid rgba(66,165,245,0.2);
  box-shadow: var(--shadow-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans-base);
  z-index: 2;
  text-align: center;
  padding: 6px;
}
.hub-node i { font-size: 32px; color: var(--primary-light); margin-bottom: 6px; }
.hub-node span { font-size: 13px; font-weight: 700; color: var(--text-dark); line-height: 1.25; }
.hub-node:hover,
.hub-node.active {
  background: var(--grad-card);
  border-color: transparent;
  box-shadow: 0 8px 40px var(--glow-primary);
  transform: scale(1.12);
}
.hub-node:hover i,
.hub-node.active i,
.hub-node:hover span,
.hub-node.active span { color: #fff; }

/* 노드 위치 (5각형 배치) */
.hub-node:nth-child(2) { top: 10px; left: 50%; transform: translateX(-50%); }
.hub-node:nth-child(3) { top: 30%; right: 10px; }
.hub-node:nth-child(4) { bottom: 20%; right: 30px; }
.hub-node:nth-child(5) { bottom: 20%; left: 30px; }
.hub-node:nth-child(6) { top: 30%; left: 10px; }

/* 허브 패널 */
.hub-panel { min-height: 360px; }
.hub-panel-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hub-panel-content.active {
  display: block;
  opacity: 1;
}
.hub-stats { flex-wrap: wrap; }
.hub-stat-item {
  background: var(--bg-light);
  padding: 12px 16px;
  border-radius: var(--radius-base);
  text-align: center;
  flex: 1;
  min-width: 100px;
}
.hub-stat-item strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-light);
}
.hub-stat-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* 기술 태그 */
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--primary-light);
  background: rgba(37,99,235,0.04);
}

/* 체크리스트 */
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
}
.check-list i { color: var(--primary-light); font-size: 18px; }

/* 이미지 래퍼 */
.feature-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* 스포트라이트 카드 */
.spotlight-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,172,193,0.08), rgba(13,27,74,0.95));
  border: 1px solid rgba(0,172,193,0.3);
  box-shadow: 0 0 80px rgba(0,172,193,0.15);
}

/* 타임라인 */
.main-timeline {
  position: relative;
  padding: 20px 0 40px;
}
.main-timeline-nodes {
  position: relative;          /* 라인의 absolute 기준점 */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 5%;
}
/* 라인은 nodes 안에 위치 → year 높이(56px) + dot 반지름(12px) = 68px */
.main-timeline-line {
  position: absolute;
  top: 68px;                   /* timeline-year 영역(56px) + dot 반지름(12px) */
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(to right, #ef4444, #3b82f6, #8b5cf6, #10b981, #f59e0b);
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 0;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
/* 연도: 고정 높이로 도트 위 공간 확보 */
.timeline-year {
  height: 56px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 10px;
  font-family: var(--font-counter);
  font-size: 22px;
  font-weight: 800;
  color: var(--node-color);
}
/* 도트: 라인이 중심을 통과 */
.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--node-color, #3b82f6);
  box-shadow: 0 0 0 5px rgba(255,255,255,0.12), 0 0 20px var(--node-color);
  border: 3px solid rgba(13, 27, 74, 0.8);  /* 배경색으로 내부 테두리 → 라인과 분리감 */
}
.timeline-node--current .timeline-dot {
  width: 32px;
  height: 32px;
  animation: glow-pulse 2s ease-in-out infinite;
}
.timeline-label {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-light-muted);
  white-space: nowrap;
}

/* 파트너 마퀴 */
.logo-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.logo-row {
  display: flex;
  gap: 16px;
  animation: marquee 25s linear infinite;
  will-change: transform;
}
.logo-row-reverse { animation-direction: reverse; }
.logo-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 28px;
  white-space: nowrap;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  transition: var(--trans-fast);
}
.logo-card:hover { background: rgba(66,165,245,0.12); color: #fff; }

/* 성과 스토리 카드 */
.story-swiper { padding-bottom: 50px; }
.story-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: var(--shadow-base);
  height: 100%;
}
.story-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 16px 0;
}
.story-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* 서비스 체크박스 카드 */
.service-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--trans-fast);
}
.service-check input { display: none; }
.service-check:has(input:checked) {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
}

/* 반응형 허브 */
@media (max-width: 768px) {
  .hub-diagram { width: 300px; height: 300px; }
  .hub-center { width: 80px; height: 80px; }
  .hub-center-text { font-size: 32px; }
  .hub-node { width: 60px; height: 60px; border-radius: 14px; }
  .hub-node i { font-size: 18px; }
  .hub-node span { font-size: 8px; }
  .hud-corner { display: none; }
  .main-timeline-nodes { flex-direction: column; gap: 0; padding: 0; }
  .main-timeline-line { width: 4px; height: 100%; top: 0; left: 12px; right: auto; transform: none; }
  .timeline-node { flex-direction: row; align-items: center; text-align: left; padding-left: 48px; padding-bottom: 24px; }
  .timeline-year { height: auto; padding-bottom: 0; margin-right: 16px; font-size: 18px; }
  .timeline-dot { position: absolute; left: 0; }
  .timeline-label { margin-top: 0; margin-left: 0; }
}


/* ── 24. @media print ──────────────────────────────────────────── */

@media print {
  .page-loader, #page-loader,
  .gnb-navbar, .top-bar, .sub-nav,
  .scroll-top-btn, .floating-cta, .scroll-indicator,
  .scroll-progress,
  [id^="particles-"],
  .swiper-pagination, .swiper-button-next, .swiper-button-prev,
  .section-cta,
  footer { display: none !important; }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.6;
    padding-top: 0 !important;
  }
  .section-dark, .page-hero {
    background: #fff !important;
    color: #000 !important;
    animation: none !important;
  }
  .section-dark::before, .section-dark::after { display: none !important; }
  .text-gradient, .text-gradient-purple {
    background: none !important;
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
  }
  .text-glow {
    text-shadow: none !important;
    color: #000 !important;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
  a[href^="#"]::after,
  a[href^="tel"]::after,
  a[href^="mailto"]::after { content: none; }
  .feature-card, .glass-card, .neon-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  .section, section { page-break-inside: avoid; }
  h2, h3 { page-break-after: avoid; }
  .page-hero {
    min-height: auto !important;
    padding: 20pt 0 !important;
  }
}


/* ════════════════════════════════════════════════════════════════
   딥러닝 / 시계열 예측 페이지 (ai-deeplearning.html) 전용 스타일
   ════════════════════════════════════════════════════════════════ */

/* ── 히어로 ── */
.dl-hero { background: linear-gradient(135deg, #050d24 0%, #091530 60%, #040b1a 100%); }

/* HUD 코너 데코 */
.dl-hud-corner {
  position: absolute; width: 44px; height: 44px;
  border-color: rgba(66,165,245,0.6); border-style: solid;
  animation: dlHudPulse 3s ease-in-out infinite; z-index: 3; pointer-events: none;
}
.dl-hud-tl { top: 28px; left: 28px; border-width: 2px 0 0 2px; }
.dl-hud-tr { top: 28px; right: 28px; border-width: 2px 2px 0 0; }
.dl-hud-bl { bottom: 60px; left: 28px; border-width: 0 0 2px 2px; }
.dl-hud-br { bottom: 60px; right: 28px; border-width: 0 2px 2px 0; }
@keyframes dlHudPulse {
  0%,100% { border-color: rgba(66,165,245,0.3); }
  50% { border-color: rgba(66,165,245,0.9); }
}

/* 마우스 트레일 캔버스 */
#dl-mouse-trail { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* HUD 패널 (히어로 우측) */
.dl-hud-panel { padding: 20px 24px; }

/* HUD 상태 바 (하단 좌측) */
.dl-hud-statusbar, .dl-hud-timer {
  position: absolute; bottom: 70px; z-index: 3;
  background: rgba(4,10,30,0.65); backdrop-filter: blur(10px);
  border: 1px solid rgba(66,165,245,0.2); border-radius: 8px;
  padding: 10px 16px; display: flex; flex-direction: column; gap: 5px;
  font-family: monospace; font-size: 11px; color: rgba(66,165,245,0.8);
}
.dl-hud-statusbar { left: 28px; }
.dl-hud-timer { right: 28px; }
.dl-hud-sb-row { display: flex; align-items: center; gap: 8px; }
.dl-hud-sb-key { color: rgba(66,165,245,0.5); min-width: 90px; }
.dl-hud-sb-bar { color: rgba(66,165,245,0.6); letter-spacing: 1px; }
.dl-hud-sb-val { color: rgba(66,165,245,1); font-weight: 700; }

/* ── 서비스 개요 ── */
.dl-checklist { list-style: none; padding: 0; margin: 0; }
.dl-checklist li { display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 15px; color: #374151; }
.dl-checklist li i { color: #2563eb; font-size: 16px; flex-shrink: 0; }

/* 이미지 탭 */
.dl-img-tab-wrap { border-radius: 16px; overflow: hidden; border: 1px solid #e5e7eb; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.dl-img-tab-buttons { display: flex; background: #f8faff; border-bottom: 1px solid #e5e7eb; }
.dl-img-tab-btn { flex: 1; padding: 12px 16px; font-size: 13px; font-weight: 600;
  border: none; background: transparent; color: #9ca3af; cursor: pointer;
  border-bottom: 2px solid transparent; transition: all 0.25s; }
.dl-img-tab-btn.active { color: #2563eb; border-bottom-color: #42a5f5; background: rgba(66,165,245,0.06); }
.dl-img-tab-panel { padding: 24px; transition: opacity 0.3s; min-height: 240px; display: flex; align-items: center; justify-content: center; }

/* 아키텍처 목업 */
.dl-arch-mock { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.dl-mock-box { display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 20px; border-radius: 12px; font-size: 13px; font-weight: 600; min-width: 90px; text-align: center; }
.dl-mock-blue   { background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.3); color: #1d4ed8; }
.dl-mock-purple { background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.3); color: #6d28d9; }
.dl-mock-teal   { background: rgba(13,148,136,0.08); border: 1px solid rgba(13,148,136,0.3); color: #0f766e; }
.dl-mock-orange { background: rgba(234,88,12,0.08); border: 1px solid rgba(234,88,12,0.3); color: #c2410c; }
.dl-mock-box i  { font-size: 22px; }
.dl-mock-arrow  { color: #2563eb; font-size: 20px; font-weight: 700; }

/* 대시보드 목업 */
.dl-dash-mock { width: 100%; background: #0d1535; border-radius: 12px; padding: 16px; font-size: 13px; }
.dl-dash-header { color: rgba(66,165,245,0.8); font-family: monospace; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.dl-dash-dot { width: 8px; height: 8px; border-radius: 50%; }
.dl-dash-dot.green { background: #4caf50; box-shadow: 0 0 6px #4caf50; }
.dl-dash-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: rgba(255,255,255,0.7); }
.dl-dash-row span:first-child { min-width: 120px; font-size: 12px; }
.dl-dash-bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.dl-dash-bar::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: var(--bw); background: var(--bc); border-radius: 4px; transition: width 1s ease; }
.dl-dash-footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-size: 12px; }
.dl-chart-wrap { padding: 8px; }

/* LSTM 레이어 다이어그램 */
.dl-lstm-layer { display: flex; align-items: center; gap: 3px; overflow-x: auto; padding: 24px 8px 24px; justify-content: center; flex-wrap: nowrap; }
.dl-lstm-cell {
  min-width: 150px; height: 195px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(26,58,110,0.1), rgba(66,165,245,0.12));
  border: 2px solid rgba(66,165,245,0.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: #1d4ed8; text-align: center;
  cursor: pointer; transition: all 0.3s; position: relative;
}
.dl-lstm-cell i { font-size: 32px; }
.dl-lstm-cell span { font-size: 13px; line-height: 1.4; }
.dl-lstm-cell small { font-size: 11px; font-weight: 400; color: #6b7280; }
.dl-lstm-cell:hover { background: linear-gradient(135deg, #1d4ed8, #42a5f5); color: #fff; transform: scale(1.08); box-shadow: 0 0 32px rgba(66,165,245,0.55); }
.dl-lstm-cell:hover small { color: rgba(255,255,255,0.75); }
.dl-lstm-cell .dl-lstm-tooltip { display: none; }
.dl-lstm-input  { background: linear-gradient(135deg,rgba(37,99,235,0.12),rgba(37,99,235,0.06)); border-color: rgba(37,99,235,0.5); }
.dl-lstm-dropout { background: linear-gradient(135deg,rgba(234,88,12,0.1),rgba(234,88,12,0.06)); border-color: rgba(234,88,12,0.4); color: #c2410c; }
.dl-lstm-dense  { background: linear-gradient(135deg,rgba(124,58,237,0.1),rgba(124,58,237,0.06)); border-color: rgba(124,58,237,0.4); color: #6d28d9; }
.dl-lstm-output { background: linear-gradient(135deg,rgba(5,150,105,0.12),rgba(5,150,105,0.06)); border-color: rgba(5,150,105,0.5); color: #065f46; }
.dl-lstm-img-cell { padding: 0; overflow: visible; background: transparent; border: none; }
.dl-lstm-img-cell:hover { background: transparent; transform: scale(1.08); box-shadow: none; }
.dl-lstm-node-img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; transition: transform 0.3s, box-shadow 0.3s; }
.dl-lstm-img-cell:hover .dl-lstm-node-img { box-shadow: 0 0 32px rgba(66,165,245,0.55); }
.dl-lstm-arrow  { color: #42a5f5; font-size: 28px; flex-shrink: 0; animation: dlArrowPulse 1.5s ease-in-out infinite; }

/* ── LSTM 노드 설명 패널 (다이어그램 아래 공용) ── */
.dl-lstm-info-panel {
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(13,27,74,0.95), rgba(10,21,53,0.98));
  border: 1px solid rgba(66,165,245,0.25);
  border-radius: 16px;
  padding: 20px 28px;
  min-height: 80px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.dl-lstm-info-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dl-lstm-info-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(66,165,245,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; color: #42a5f5;
}
.dl-lstm-info-title {
  font-size: 15px; font-weight: 700; color: #fff;
  margin-bottom: 6px; letter-spacing: -0.2px;
}
.dl-lstm-info-body {
  font-size: 13px; line-height: 1.85; color: rgba(255,255,255,0.72);
  white-space: pre-line;
}
@keyframes dlArrowPulse { 0%,100% { opacity:0.4; } 50% { opacity:1; } }
.dl-lstm-tooltip {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(0);
  background: #0a1535; border: 1px solid rgba(66,165,245,0.3); border-radius: 10px;
  padding: 10px 14px; font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.85);
  white-space: pre-line; line-height: 1.7; min-width: 180px; text-align: left;
  opacity: 0; visibility: hidden; transition: all 0.2s; z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ── 핵심 기능 카드 ── */
.dl-feature-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(66,165,245,0.15);
  border-radius: 20px; padding: 28px 24px; height: 100%; position: relative; overflow: hidden;
  transition: all 0.35s;
}
.dl-feature-card::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(66,165,245,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66,165,245,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0; transition: opacity 0.4s; border-radius: 20px; pointer-events: none;
}
.dl-feature-card:hover { border-color: rgba(66,165,245,0.5); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(66,165,245,0.12); }
.dl-feature-card:hover::after { opacity: 1; }
.dl-fc-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(66,165,245,0.1);
  border: 1px solid rgba(66,165,245,0.25); display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #42a5f5; margin-bottom: 18px; }
.dl-feature-card h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.dl-feature-card p  { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 16px; }
.dl-fc-metrics { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-metric-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
  border-radius: 6px; background: rgba(66,165,245,0.08); border: 1px solid rgba(66,165,245,0.2);
  font-size: 11px; font-weight: 700; color: #42a5f5; transition: all 0.25s; }
.dl-feature-card:hover .dl-metric-tag { background: rgba(66,165,245,0.15); border-color: rgba(66,165,245,0.4); }

/* 아이콘 마이크로 애니메이션 */
.dl-icon-blink { animation: dlIconBlink 2s ease-in-out infinite; }
@keyframes dlIconBlink { 0%,100% { opacity:0.5; } 50% { opacity:1; } }
.dl-icon-glitch { animation: dlIconGlitch 3s ease-in-out infinite; }
@keyframes dlIconGlitch {
  0%,88%,100% { color:#42a5f5; filter:none; }
  90% { color:#ef4444; filter:brightness(1.5); transform:translate(1px,0); }
  92% { color:#42a5f5; transform:translate(-1px,0); }
  94% { color:#ef4444; }
}
.dl-icon-rise { animation: dlIconRise 2s ease-in-out infinite alternate; }
@keyframes dlIconRise { from { transform:translateY(0); } to { transform:translateY(-5px); } }
.dl-icon-spin { animation: dlIconSpin 4s linear infinite; }
@keyframes dlIconSpin { to { transform: rotate(360deg); } }

/* ── 비교 섹션 ── */
.dl-vs-card { border-radius: 20px; padding: 28px; height: 100%; }
.dl-vs-legacy { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); }
.dl-vs-lstm { background: rgba(66,165,245,0.06); border: 1px solid rgba(66,165,245,0.3); box-shadow: 0 0 30px rgba(66,165,245,0.08); }
.dl-vs-header { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.dl-vs-list { list-style: none; padding: 0; margin: 0; }
.dl-vs-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; color: rgba(255,255,255,0.75); }
.dl-vs-list li i { flex-shrink: 0; margin-top: 1px; }

/* 성능 비교 바 */
.dl-perf-section { background: rgba(255,255,255,0.03); border: 1px solid rgba(66,165,245,0.12); border-radius: 20px; padding: 32px; }
.dl-perf-bar-wrap { margin-bottom: 8px; }
.dl-perf-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.dl-perf-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dl-perf-name { font-size: 11px; color: rgba(255,255,255,0.45); min-width: 68px; text-align: right; flex-shrink: 0; }
.dl-perf-track { flex: 1; height: 10px; border-radius: 5px; background: rgba(255,255,255,0.07); overflow: hidden; }
.dl-perf-fill { height: 100%; border-radius: 5px; transition: width 1.5s ease; }
.dl-perf-legacy { background: #555; }
.dl-perf-lstm { background: linear-gradient(to right, #1d4ed8, #42a5f5); box-shadow: 0 0 8px rgba(66,165,245,0.5); }
.dl-perf-val { font-size: 12px; font-weight: 700; color: #fff; min-width: 42px; }
.dl-perf-badge { font-size: 11px; font-weight: 700; color: #4caf50; white-space: nowrap; }

/* ── 아키텍처 파이프라인 ── */
.dl-pipeline { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding-bottom: 12px; }
.dl-pipe-step {
  flex: 1; min-width: 160px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(var(--step-color),0.3); border-radius: 16px;
  padding: 20px 16px; text-align: center; position: relative;
  border-top: 3px solid var(--step-color);
  transition: transform 0.3s, box-shadow 0.3s;
}
.dl-pipe-step:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.dl-step-icon { width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 12px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--step-color); border: 1px solid rgba(255,255,255,0.1); }
.dl-step-num  { font-size: 10px; font-weight: 700; color: var(--step-color); letter-spacing: 0.1em; margin-bottom: 4px; }
.dl-step-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.dl-step-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; margin-bottom: 8px; }
.dl-step-status { font-size: 11px; }
.dl-step-led { position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; }
.dl-led-green { background: #4caf50; box-shadow: 0 0 6px #4caf50; }
.dl-led-blue  { background: #42a5f5; box-shadow: 0 0 6px #42a5f5; }
.dl-led-pulse { animation: dlLedPulse 1.2s ease-in-out infinite; }
@keyframes dlLedPulse { 0%,100% { opacity:1; } 50% { opacity:0.2; } }
.dl-pipe-arrow { display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0 8px; }
.dl-timeline-flow { color: #42a5f5; font-size: 8px; animation: dlFlowAnim 1.8s linear infinite; }
@keyframes dlFlowAnim { 0% { letter-spacing:0;opacity:0; } 20% { opacity:0.7; } 80% { opacity:0.7; } 100% { letter-spacing:8px;opacity:0; } }

/* 실시간 처리 오버레이 */
.dl-live-stats {
  position: absolute; top: 0; right: 0;
  background: rgba(10,20,60,0.85); backdrop-filter: blur(16px);
  border: 1px solid rgba(66,165,245,0.3); border-radius: 14px; padding: 16px 20px;
  min-width: 200px; z-index: 5;
}
.dl-live-header { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.dl-live-row { display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 8px; gap: 12px; }
.dl-live-row strong { color: #42a5f5; font-family: monospace; font-size: 14px; }

/* ── 시뮬레이션 ── */
.dl-sim-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.dl-sim-tab-btn { padding: 10px 20px; border-radius: 30px; border: 1.5px solid rgba(66,165,245,0.25);
  background: rgba(66,165,245,0.05); color: #374151; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.25s; }
.dl-sim-tab-btn.active { background: #2563eb; color: #fff; border-color: #2563eb; box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
.dl-tab-water.active { background: #00796b; border-color: #00acc1; box-shadow: 0 4px 16px rgba(0,172,193,0.3); }
.dl-real-badge { font-size: 9px; font-weight: 800; background: #f44336; color: #fff; padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; animation: dlRealPulse 1.5s ease-in-out infinite; }
@keyframes dlRealPulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

.dl-sim-panel { background: #f8faff; border-radius: 16px; padding: 20px; border: 1px solid #e5e7eb; }
.dl-sim-panel-title { font-size: 14px; font-weight: 700; color: #0d1b4a; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.dl-sim-val-card { background: #fff; border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; border: 1px solid #e5e7eb; }
.dl-svc-warn { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.04); }
.dl-svc-label { font-size: 11px; color: #9ca3af; margin-bottom: 2px; }
.dl-svc-val { font-size: 22px; font-weight: 800; color: #0d1b4a; font-family: var(--font-counter); }
.dl-sim-pumps { display: flex; gap: 10px; flex-wrap: wrap; }
.dl-pump { font-size: 13px; font-weight: 600; color: #374151; }
.dl-pump-on  { color: #4caf50; }
.dl-pump-off { color: #9ca3af; }
.dl-sim-alert { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.3); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: #92400e; font-weight: 600; }
.dl-sim-status { font-size: 13px; font-weight: 600; }
.dl-real-project-badge { background: linear-gradient(135deg,#00796b,#00acc1); color: #fff; border-radius: 8px; padding: 8px 14px; font-size: 12px; font-weight: 700; text-align: center; }
.dl-sim-chart-wrap { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid #e5e7eb; min-height: 320px; }
.dl-sim-info-bar { background: #f1f5f9; border-radius: 8px; padding: 8px 16px; font-size: 12px; color: #64748b; margin-top: 10px; }

/* ── 사례 슬라이더 ── */
.dl-case-swiper { padding-bottom: 50px !important; }
.dl-case-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 28px; height: 100%; position: relative; }
.dl-case-card--special { border-color: rgba(0,172,193,0.4); background: rgba(0,172,193,0.06); }
.dl-real-case-badge { position: absolute; top: 20px; right: 20px; background: linear-gradient(135deg,#00796b,#00acc1); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: 20px; box-shadow: 0 4px 14px rgba(0,172,193,0.4); }
.dl-case-industry { font-size: 12px; font-weight: 700; color: rgba(66,165,245,0.8); letter-spacing: 0.05em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.dl-case-title { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.dl-case-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 16px; }
.dl-case-metric { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 14px; text-align: center; }
.dl-cm-val { font-size: 24px; font-weight: 900; font-family: var(--font-counter); }
.dl-cm-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.dl-ba-wrap { margin-top: 8px; }
.dl-ba-label { font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.dl-ba-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 11px; color: rgba(255,255,255,0.5); }
.dl-ba-row span:first-child { min-width: 36px; }
.dl-ba-track { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.dl-ba-fill { height: 100%; border-radius: 4px; width: 0; transition: width 1.2s ease; }
.dl-ba-before { background: #555; }
.dl-ba-after  { background: linear-gradient(to right,#1d4ed8,#42a5f5); box-shadow: 0 0 6px rgba(66,165,245,0.4); }

/* ── 카운터 ── */
.dl-counter-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 28px 20px; text-align: center; transition: all 0.3s; }
.dl-counter-card:hover { border-color: rgba(66,165,245,0.3); transform: translateY(-4px); }
.dl-radial { display: block; margin: 0 auto 16px; }
.dl-counter-num { font-family: var(--font-counter); font-size: 36px; font-weight: 900; color: #42a5f5; line-height: 1; margin-bottom: 8px; }
.dl-counter-label { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.dl-counter-desc { font-size: 13px; color: rgba(255,255,255,0.5); }
.dl-counter-linear { margin: 0 auto 16px; width: 80%; }
.dl-cl-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.dl-cl-fill { height: 100%; border-radius: 4px; width: 0; transition: width 1.5s ease; }

/* ── 도입 타임라인 ── */
.dl-intro-timeline { position: relative; padding: 60px 0 20px; }
.dl-tl-line { position: absolute; top: 0; left: 5%; right: 5%; height: 4px; border-radius: 2px; }
.dl-tl-nodes { display: flex; justify-content: space-between; padding: 0 5%; gap: 12px; }
.dl-tl-node { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 140px; }
.dl-tl-dot { width: 20px; height: 20px; border-radius: 50%; margin-bottom: 16px; flex-shrink: 0; border: 3px solid rgba(10,15,40,0.8); }
.dl-tl-card { background: rgba(255,255,255,0.05); border-radius: 14px; padding: 18px 14px; width: 100%; border: 1px solid rgba(255,255,255,0.08); }
.dl-tl-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; margin: 0 auto 10px; }
.dl-tl-step  { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-align: center; margin-bottom: 4px; }
.dl-tl-title { font-size: 13px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 4px; }
.dl-tl-period { font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; margin-bottom: 10px; }
.dl-tl-items { list-style: none; padding: 0; margin: 0; }
.dl-tl-items li { font-size: 11px; color: rgba(255,255,255,0.55); padding: 3px 0; padding-left: 12px; position: relative; }
.dl-tl-items li::before { content: '·'; position: absolute; left: 0; color: rgba(66,165,245,0.5); }

/* ── 벤치마크 ── */
.dl-bench-chart-wrap { background: rgba(255,255,255,0.04); border-radius: 16px; padding: 20px; border: 1px solid rgba(255,255,255,0.08); }
.dl-bench-legend { display: flex; justify-content: center; gap: 20px; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.6); flex-wrap: wrap; }
.dl-legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.dl-bench-bars { display: flex; flex-direction: column; gap: 20px; }
.dl-bench-group { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 16px 20px; }
.dl-bench-group-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.dl-bench-group-label small { font-weight: 400; color: rgba(255,255,255,0.4); }
.dl-bench-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dl-bench-name { font-size: 11px; color: rgba(255,255,255,0.45); min-width: 72px; text-align: right; flex-shrink: 0; }
.dl-bench-track { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.dl-bench-fill { height: 100%; border-radius: 4px; transition: width 1.5s ease; }
.dl-bench-legacy { background: #555; }
.dl-bench-stat   { background: #3b82f6; }
.dl-bench-lstm   { background: linear-gradient(to right,#1d4ed8,#42a5f5); box-shadow: 0 0 8px rgba(66,165,245,0.5); }
.dl-bench-val { font-size: 12px; font-weight: 700; min-width: 50px; color: rgba(255,255,255,0.7); }
.dl-bench-score-wrap { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 20px; }
.dl-bench-score-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.dl-bench-score-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 12px; color: rgba(255,255,255,0.55); }
.dl-bench-score-row span:first-child { min-width: 80px; }
.dl-bench-score-bar { height: 10px; border-radius: 5px; transition: width 1.5s ease; }
.dl-bench-score-row span:last-child { min-width: 60px; }

/* ── 산업별 가이드 ── */
.dl-industry-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border-radius: 12px; background: #fff; border: 1px solid #e5e7eb;
  cursor: pointer; transition: all 0.25s; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: #374151; }
.dl-industry-card.active { background: rgba(66,165,245,0.07); border-color: rgba(66,165,245,0.5); border-left: 4px solid #42a5f5; color: #1d4ed8; }
.dl-industry-card:hover { transform: translateX(6px); border-color: rgba(66,165,245,0.3); }
.dl-industry-panel { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 4px 30px rgba(0,0,0,0.07); }
.dl-ind-badge { display: inline-block; background: rgba(37,99,235,0.07); border: 1px solid rgba(37,99,235,0.25); border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 700; color: #1d4ed8; margin-bottom: 14px; }
.dl-ind-title { font-size: 18px; font-weight: 800; color: #0d1b4a; margin-bottom: 20px; }
.dl-ind-point { background: #f8faff; border-radius: 12px; padding: 16px; height: 100%; border: 1px solid #e5e7eb; }
.dl-ind-pt-title  { font-size: 14px; font-weight: 700; color: #0d1b4a; margin-bottom: 8px; }
.dl-ind-pt-model  { font-size: 11px; color: #2563eb; font-weight: 600; margin-bottom: 4px; }
.dl-ind-pt-data   { font-size: 11px; color: #6b7280; margin-bottom: 4px; }
.dl-ind-pt-effect { font-size: 12px; color: #059669; font-weight: 700; }
.dl-ind-list { padding-left: 20px; color: #374151; font-size: 14px; line-height: 2; }
.dl-ind-refs { background: #f8faff; border-radius: 10px; padding: 12px 16px; font-size: 13px; color: #4b5563; border: 1px solid #e5e7eb; margin-top: 16px; }
.dl-ind-refs--special { background: rgba(245,158,11,0.06); border-color: rgba(245,158,11,0.3); }

/* ── 관련 솔루션 ── */
.dl-related-card { display: block; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 24px; text-decoration: none; color: inherit; transition: all 0.3s; }
.dl-related-card:hover { border-color: var(--rc-color); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); color: inherit; }
.dl-rc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--rc-color); background: color-mix(in srgb, var(--rc-color) 12%, transparent); border: 1px solid color-mix(in srgb, var(--rc-color) 30%, transparent); margin-bottom: 16px; }
.dl-rc-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.dl-rc-desc  { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; margin-bottom: 12px; }
.dl-rc-tag   { font-size: 11px; color: var(--rc-color); opacity: 0.8; font-weight: 600; }

/* ── ROI 계산기 ── */
.dl-roi-calc { max-width: 580px; background: rgba(255,255,255,0.07); backdrop-filter: blur(12px); border: 1px solid rgba(66,165,245,0.25); border-radius: 20px; padding: 28px 36px; color: #fff; }
.dl-roi-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; color: #42a5f5; }
.dl-roi-label { display: block; font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.dl-roi-input { width: 100%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; color: #fff; padding: 10px 14px; font-size: 16px; font-weight: 700; outline: none; transition: border-color 0.25s; }
.dl-roi-input:focus { border-color: rgba(66,165,245,0.6); }
.dl-roi-divider { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 16px 0; }
.dl-roi-result-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.dl-roi-result-val { font-size: 24px; font-weight: 900; color: #42a5f5; font-family: var(--font-counter); text-shadow: 0 0 20px rgba(66,165,245,0.4); }
.dl-roi-note { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 16px; text-align: center; }

/* ── 반응형 ── */
@media (max-width: 768px) {
  .dl-tl-nodes { flex-direction: column; padding: 0; gap: 20px; }
  .dl-tl-line  { display: none; }
  .dl-tl-node  { flex-direction: row; align-items: flex-start; }
  .dl-tl-dot   { margin-bottom: 0; margin-right: 16px; margin-top: 4px; }
  .dl-pipeline { flex-direction: column; }
  .dl-pipe-arrow { transform: rotate(90deg); }
  .dl-hud-statusbar, .dl-hud-timer { display: none !important; }
  .dl-lstm-layer { justify-content: flex-start; }
  .dl-roi-calc { padding: 20px; }
}



/* ============================================================
   Why TechBlue + How We Work v2  (#whySection)
   ============================================================ */

/* ── 섹션 기반 ── */
.why-v2 {
  background: linear-gradient(180deg, #060d1f 0%, #0d1b3e 50%, #060d1f 100%);
  padding: clamp(80px,10vw,140px) 0;
  position: relative;
  overflow: hidden;
}
.why-v2 .container-xl {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}

/* ── 배경 글로우 ── */
.why-bg-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.why-glow-tl {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(41,121,255,.10) 0%, transparent 70%);
  top: 5%; left: -100px;
  animation: whyGlowDrift 8s ease-in-out infinite alternate;
}
.why-glow-br {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(6,182,212,.08) 0%, transparent 70%);
  bottom: 10%; right: -80px;
  animation: whyGlowDrift 10s ease-in-out infinite alternate-reverse;
}
.why-glow-c {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,.05) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
@keyframes whyGlowDrift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(30px,-20px); }
}

/* ── 배경 그리드 ── */
.why-bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── 공통 헤더 ── */
.why-part-header { text-align: center; margin-bottom: 52px; }

.why-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(41,121,255,.28);
  background: rgba(41,121,255,.10);
  backdrop-filter: blur(12px);
  color: #82b1ff;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.why-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2979ff; box-shadow: 0 0 6px #2979ff;
  flex-shrink: 0;
  animation: whyDotPulse 2s ease-in-out infinite;
}
@keyframes whyDotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(.7); }
}
.why-h2 {
  font-size: clamp(1.8rem,3vw,2.6rem);
  font-weight: 800; color: #fff;
  margin-bottom: 14px; line-height: 1.2;
}
.why-grad {
  background: linear-gradient(90deg, #2979ff, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; position: relative;
}
.why-grad::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2979ff 40%, #06b6d4 60%, transparent);
  border-radius: 2px;
  transition: right .8s cubic-bezier(.22,1,.36,1);
}
.why-h2.uline .why-grad::after { right: 0; }
.why-sub {
  font-size: .97rem; color: rgba(255,255,255,.55);
  line-height: 1.7; max-width: 520px; margin: 0 auto;
}

/* ── Bento Grid ── */
.why-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 320px 260px;
  gap: 20px; margin-bottom: 0;
}
.wc-01 { grid-column: span 7; }
.wc-02 { grid-column: span 5; }
.wc-03 { grid-column: span 5; }
.wc-04 { grid-column: span 7; }

/* ── 카드 공통 ── */
.why-card {
  position: relative;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 32px;
  overflow: hidden; cursor: default;
  transition: background .4s cubic-bezier(.22,1,.36,1),
              border-color .4s cubic-bezier(.22,1,.36,1),
              transform .4s cubic-bezier(.22,1,.36,1),
              box-shadow .4s cubic-bezier(.22,1,.36,1);
}
.why-card:hover {
  background: rgba(41,121,255,.06);
  border-color: rgba(41,121,255,.25);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}

/* 커서 스포트라이트 */
.wc-spotlight {
  position: absolute; inset: 0; border-radius: 20px;
  background: radial-gradient(circle 200px at var(--mx,-999px) var(--my,-999px),
    rgba(41,121,255,.12), transparent);
  opacity: 0; transition: opacity .3s;
  pointer-events: none; z-index: 0;
}
.why-card:hover .wc-spotlight { opacity: 1; }

/* 대형 배경 숫자 */
.wc-bg-num {
  position: absolute; top: -20px; right: -10px;
  font-size: 160px; font-weight: 900; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color .6s; z-index: 0;
}
.why-card:hover .wc-bg-num { -webkit-text-stroke-color: rgba(255,255,255,.12); }

/* 아이콘 칩 */
.wc-chip {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin-bottom: 14px;
}
.wc-chip-blue    { background: linear-gradient(135deg,#1d4ed8,#3b82f6); box-shadow: 0 4px 16px rgba(59,130,246,.4),  inset 0 0 0 1px rgba(255,255,255,.15); }
.wc-chip-amber   { background: linear-gradient(135deg,#b45309,#f59e0b); box-shadow: 0 4px 16px rgba(245,158,11,.4),  inset 0 0 0 1px rgba(255,255,255,.15); }
.wc-chip-violet  { background: linear-gradient(135deg,#6d28d9,#8b5cf6); box-shadow: 0 4px 16px rgba(139,92,246,.4),  inset 0 0 0 1px rgba(255,255,255,.15); }
.wc-chip-emerald { background: linear-gradient(135deg,#065f46,#10b981); box-shadow: 0 4px 16px rgba(16,185,129,.4),  inset 0 0 0 1px rgba(255,255,255,.15); }

.wc-kicker {
  position: relative; z-index: 1; display: block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.42); margin-bottom: 6px;
}
.wc-title { position: relative; z-index:1; font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.wc-desc  { position: relative; z-index:1; font-size: .875rem; color: rgba(255,255,255,.58); line-height: 1.65; margin-bottom: 16px; }

/* Card 01 — 코드 블록 */
.wc-code {
  position: absolute; bottom: 28px; left: 28px; right: 28px; z-index: 1;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; padding: 10px 14px;
  font-family: 'Consolas','Courier New',monospace;
  font-size: .75rem; color: rgba(130,177,255,.85);
  min-height: 38px;
}
.wc-cursor { animation: whyCursorBlink .7s infinite; color: #06b6d4; }
@keyframes whyCursorBlink { 0%,50%{opacity:1} 51%,100%{opacity:0} }

/* Card 02 — 문서 그리드 */
.wc-docs { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:8px; }
.wc-doc { width:22px; height:28px; border-radius:4px; position:relative; }
.wc-doc::before { content:''; position:absolute; inset:0; border-radius:4px; border:1.5px solid currentColor; }
.wc-doc::after  { content:''; position:absolute; right:-1px; top:-1px; width:7px; height:7px; background:currentColor; clip-path:polygon(0 0,100% 100%,100% 0); }
.wc-doc.amber { color: rgba(245,158,11,.7); }
.wc-doc.white { color: rgba(255,255,255,.2); }

/* Card 03 — 카운트업 + 미니타임라인 */
.wc-count { position:relative; z-index:1; font-size:2.2rem; font-weight:900; color:rgba(139,92,246,.9); letter-spacing:-.02em; margin-bottom:12px; font-family:'Consolas',monospace; }
.wc-minitl { position:relative; z-index:1; display:flex; align-items:center; gap:8px; }
.wc-tl-yr  { font-size:.68rem; font-weight:700; color:rgba(255,255,255,.4); font-family:monospace; flex-shrink:0; }
.wc-tl-bar { display:flex; align-items:center; gap:6px; flex:1; }
.wc-tl-dot { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.12); flex-shrink:0; }
.wc-tl-dot.active { background:rgba(139,92,246,.7); }
.wc-tl-dot.now    { background:#8b5cf6; box-shadow:0 0 8px #8b5cf6; }

/* Card 04 — 가로형 */
.wc-horizontal { display:flex; padding:0; }
.wc-04-left    { flex:1; padding:32px; position:relative; z-index:1; }
.wc-04-right   { width:42%; flex-shrink:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:24px; border-left:1px solid rgba(255,255,255,.06); position:relative; z-index:1; }
.wc-map        { width:100%; aspect-ratio:1; max-width:160px; background:rgba(16,185,129,.06); border:1px solid rgba(16,185,129,.15); border-radius:12px; position:relative; overflow:hidden; }
.wc-map-dot    { position:absolute; width:10px; height:10px; border-radius:50%; background:#10b981; box-shadow:0 0 12px #10b981; transform:translate(-50%,-50%); animation:whyMapPulse 3s ease-in-out infinite; }
.wc-map-dot:nth-child(2) { animation-delay:1s; background:rgba(16,185,129,.6); }
.wc-map-dot:nth-child(3) { animation-delay:2s; background:rgba(16,185,129,.4); }
@keyframes whyMapPulse { 0%,100%{box-shadow:0 0 8px rgba(16,185,129,.6)} 50%{box-shadow:0 0 20px rgba(16,185,129,.9)} }
.wc-map-cap { font-size:.7rem; color:rgba(255,255,255,.4); text-align:center; margin-top:10px; line-height:1.5; }

/* ── 전환 존 ── */
.why-tz { display:flex; flex-direction:column; align-items:center; padding:80px 0; gap:20px; }
.why-tz-svg { width:2px; height:60px; display:block; overflow:visible; }
.why-tz-quote {
  font-size:.95rem; font-style:italic; font-weight:300;
  color:rgba(255,255,255,.42); text-align:center;
  max-width:540px; margin:0; border:none; padding:0;
  opacity:0; transform:translateX(-20px);
  transition:opacity .8s, transform .8s;
}
.why-tz-quote.visible { opacity:1; transform:translateX(0); }
.why-tz-quote cite { display:block; font-size:.82rem; font-style:normal; color:rgba(255,255,255,.28); margin-top:10px; }

/* ── Cinematic Timeline ── */
.why-timeline { position:relative; max-width:860px; margin:0 auto 80px; }
.why-tl-line-wrap {
  position:absolute; left:50%; top:0; bottom:0; width:1px;
  transform:translateX(-50%); z-index:0;
}
.why-tl-bg-line { position:absolute; inset:0; background:rgba(255,255,255,.06); }
.why-tl-progress { position:absolute; top:0; left:0; right:0; height:0; background:linear-gradient(180deg,#2979ff,#06b6d4); }
.why-tl-head {
  position:absolute; left:50%; top:0;
  width:8px; height:8px; border-radius:50%;
  background:#06b6d4; transform:translate(-50%,0);
  box-shadow:0 0 12px rgba(6,182,212,.8);
}
.why-tl-list { list-style:none; padding:0; margin:0; }
.why-tl-item {
  display:grid; align-items:center;
  margin-bottom:48px; position:relative; z-index:2;
}
.why-tl-l,.why-tl-r { grid-template-columns: 1fr 64px 1fr; }
.why-tl-l .why-tl-card   { grid-column:1; padding-right:32px; }
.why-tl-l .why-tl-node   { grid-column:2; }
.why-tl-l .why-tl-spacer { grid-column:3; }
.why-tl-r .why-tl-spacer { grid-column:1; }
.why-tl-r .why-tl-node   { grid-column:2; }
.why-tl-r .why-tl-card   { grid-column:3; padding-left:32px; }

.why-tl-card {
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px; padding:22px 26px;
  transition:border-color .6s, background .6s;
}
.why-tl-item.active .why-tl-card {
  border-color:rgba(41,121,255,.35);
  background:rgba(41,121,255,.06);
}
.why-tc-meta { font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.42); margin-bottom:8px; }
.why-tc-meta i { margin-right:4px; }
.why-tc-title { font-size:1.2rem; font-weight:800; color:#fff; margin-bottom:8px; }
.why-tc-desc  { font-size:.875rem; color:rgba(255,255,255,.55); line-height:1.7; margin-bottom:14px; }
.why-tc-output { display:flex; align-items:center; gap:10px; padding-top:12px; border-top:1px solid rgba(255,255,255,.06); }
.why-tc-out-lbl { font-size:.68rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.35); }
.why-tc-out-val { font-size:.875rem; font-weight:700; color:#06b6d4; }

.why-tl-node {
  width:64px; height:64px; border-radius:20px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  transition:background .6s, border-color .6s, box-shadow .6s;
  position:relative; z-index:3;
}
.why-tl-node.active {
  background:linear-gradient(135deg,#1d4ed8,#06b6d4);
  border:none;
  box-shadow:0 0 0 4px rgba(6,182,212,.15), 0 8px 30px rgba(6,182,212,.45);
}
.why-tl-node.done {
  background:rgba(6,182,212,.1);
  border:1px solid rgba(6,182,212,.3);
}
.why-tn-num { font-size:1.1rem; font-weight:900; color:rgba(255,255,255,.5); font-family:'Consolas',monospace; transition:color .6s; }
.why-tl-node.active .why-tn-num { color:#fff; }
.why-tl-node.done .why-tn-num { display:none; }
.why-tl-node.done::after { content:'\F26B'; font-family:'Bootstrap Icons'; font-size:24px; color:#06b6d4; }
.why-tl-node.active::before {
  content:''; position:absolute; inset:-10px; border-radius:28px;
  border:2px solid rgba(6,182,212,.3);
  animation:whyNodePulse 3s ease-out infinite;
}
@keyframes whyNodePulse { 0%{transform:scale(.9);opacity:.7} 100%{transform:scale(1.6);opacity:0} }

/* ── CTA ── */
.why-cta { padding-top:24px; }
.why-cta-lead { font-size:1.35rem; font-weight:700; color:#fff; margin-bottom:8px; }
.why-cta-sub  { font-size:.95rem; color:rgba(255,255,255,.55); margin-bottom:28px; }
.why-cta-btn {
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,#2979ff 0%,#06b6d4 100%);
  color:#fff; font-size:1rem; font-weight:700; letter-spacing:.02em;
  padding:16px 38px; border-radius:14px; text-decoration:none;
  box-shadow:0 12px 32px rgba(41,121,255,.3), inset 0 1px 0 rgba(255,255,255,.2);
  transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.why-cta-btn:hover {
  color:#fff;
  transform:translateY(-3px) scale(1.02);
  box-shadow:0 16px 44px rgba(41,121,255,.45), inset 0 1px 0 rgba(255,255,255,.25);
}
.why-cta-cap { font-size:.8rem; color:rgba(255,255,255,.38); margin-top:14px; margin-bottom:0; }
.why-cta-cap i { opacity:.7; }

/* ── 반응형 ── */
@media (max-width:991.98px) {
  .why-bento { grid-template-columns:repeat(2,1fr); grid-template-rows:auto; }
  .wc-01,.wc-02,.wc-03 { grid-column:span 1; }
  .wc-04 { grid-column:span 2; }
  .wc-horizontal { flex-direction:column; }
  .wc-04-right { width:100%; border-left:none; border-top:1px solid rgba(255,255,255,.06); }
  .why-tl-l,.why-tl-r { grid-template-columns:44px 1fr; }
  .why-tl-l .why-tl-card,.why-tl-r .why-tl-card { grid-column:2; padding:0 0 0 20px; grid-row:1; }
  .why-tl-l .why-tl-node,.why-tl-r .why-tl-node { grid-column:1; grid-row:1; }
  .why-tl-spacer { display:none; }
  .why-tl-line-wrap { left:22px; }
  .why-tl-node { width:44px; height:44px; border-radius:14px; }
}
@media (max-width:767.98px) {
  .why-bento { grid-template-columns:1fr; }
  .wc-01,.wc-02,.wc-03,.wc-04 { grid-column:span 1; height:auto; min-height:220px; }
  .wc-bg-num { font-size:100px; }
  .wc-code { position:relative; bottom:auto; left:auto; right:auto; margin-top:12px; }
  .why-cta-btn { width:100%; justify-content:center; padding:14px 24px; }
  .why-tz { padding:50px 0; }
}


/* 메인 비주얼 배경 파티클 네트워크 */
.mv-section { position: relative; }
#particles-mv-hero {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
/* swiper는 기본 z-index로 두고, 파티클이 슬라이드 위 콘텐츠 뒤에 얹히도록 */
.mv-section .swiper { position: relative; z-index: 1; }
/* 슬라이드 텍스트 콘텐츠는 파티클보다 위에 */
.mv-content,
.mv-slide-number { position: relative; z-index: 10; }
