/*
 * ai-vision.css — 영상/비전 AI 페이지 전용 스타일
 * 공용 style.css에서 정의한 변수 및 컴포넌트를 기반으로 작성
 * 클래스 접두사: vi-
 */

/* ═══════════════════════════════════════════════════════════════════
   CSS 변수 (비전 페이지 전용 오버라이드)
═══════════════════════════════════════════════════════════════════ */
.page-vision {
  --vi-accent:    #42a5f5;
  --vi-accent2:   #00e5ff;
  --vi-danger:    #f44336;
  --vi-success:   #4caf50;
  --vi-purple:    #7c4dff;
  --vi-orange:    #ff6d00;
  --vi-emerald:   #69f0ae;
  --vi-dark-bg:   #060e24;
  --vi-navy-bg:   #0a1628;
  --vi-card-bg:   rgba(10, 22, 60, 0.85);
  --vi-glass:     rgba(255,255,255,0.08);
  --vi-border:    rgba(66, 165, 245, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════
   공통 유틸
═══════════════════════════════════════════════════════════════════ */
.vi-section-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(66,165,245,0.15), rgba(0,229,255,0.1));
  color: var(--vi-accent);
  border: 1px solid rgba(66,165,245,0.3);
  margin-bottom: 12px;
}

.vi-section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.vi-section-sub {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 40px;
}

.vi-text-gradient {
  background: linear-gradient(135deg, #42a5f5, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 밝은 섹션 공통 */
.vi-section-light {
  background: #ffffff;
  padding: 80px 0;
}

/* 다크 그라데이션 섹션 공통 */
.vi-section-dark {
  background: linear-gradient(160deg, #0d1b4a 0%, #0a0f28 50%, #061020 100%);
  padding: 80px 0;
  color: #fff;
}

/* 미디엄 섹션 (네이비 그라데이션) */
.vi-section-navy {
  background: linear-gradient(160deg, #1a2a5e 0%, #0d1b4a 100%);
  padding: 80px 0;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 1: 히어로
═══════════════════════════════════════════════════════════════════ */
.vi-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #060e24 0%, #0a1628 40%, #0d1b4a 70%, #0a2a6a 100%);
}

/* 배경 이미지 레이어 */
.vi-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/ai-vision-hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  animation: viHeroZoom 18s ease-in-out infinite alternate;
}

@keyframes viHeroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* 스캔라인 오버레이 */
.vi-hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,229,255,0.025) 2px,
    rgba(0,229,255,0.025) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* 그라데이션 오버레이 */
.vi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,14,36,0.82) 0%,
    rgba(10,22,60,0.65) 50%,
    rgba(6,14,36,0.75) 100%
  );
  z-index: 2;
}

/* 레이더 스윕 */
.vi-radar-wrap {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 320px;
  height: 320px;
  opacity: 0.07;
  z-index: 2;
  pointer-events: none;
}

.vi-radar-circle {
  fill: none;
  stroke: #42a5f5;
  stroke-width: 1;
}

.vi-radar-sweep {
  transform-origin: 50% 50%;
  animation: viRadarSweep 4s linear infinite;
}

@keyframes viRadarSweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* HUD 코너 데코 */
.vi-hud-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  z-index: 5;
}

.vi-hud-tl { top: 120px; left: 20px; border-top: 2px solid var(--vi-accent); border-left: 2px solid var(--vi-accent); box-shadow: -4px -4px 12px rgba(66,165,245,0.5); }
.vi-hud-tr { top: 120px; right: 20px; border-top: 2px solid var(--vi-accent); border-right: 2px solid var(--vi-accent); box-shadow: 4px -4px 12px rgba(66,165,245,0.5); }
.vi-hud-bl { bottom: 30px; left: 20px; border-bottom: 2px solid var(--vi-accent); border-left: 2px solid var(--vi-accent); box-shadow: -4px 4px 12px rgba(66,165,245,0.5); }
.vi-hud-br { bottom: 30px; right: 20px; border-bottom: 2px solid var(--vi-accent); border-right: 2px solid var(--vi-accent); box-shadow: 4px 4px 12px rgba(66,165,245,0.5); }

.vi-hud-corner:hover {
  box-shadow: var(--x,0) var(--y,0) 24px rgba(66,165,245,0.9);
}

/* 히어로 콘텐츠 */
.vi-hero-content {
  position: relative;
  z-index: 6;
  padding-top: 80px;
}

.vi-hero-badge {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(66,165,245,0.2), rgba(0,229,255,0.1));
  color: #00e5ff;
  border: 1px solid rgba(0,229,255,0.4);
  margin-bottom: 20px;
  animation: viBadgePulse 3s ease-in-out infinite;
}

@keyframes viBadgePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0,229,255,0.3); }
  50%       { box-shadow: 0 0 22px rgba(0,229,255,0.6); }
}

.vi-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.vi-hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 540px;
}

/* 핵심 수치 배지 */
.vi-hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.vi-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

.vi-stat-badge i { color: var(--vi-accent); font-size: 16px; }
.vi-stat-badge:hover { background: rgba(66,165,245,0.15); border-color: var(--vi-accent); transform: translateY(-2px); }

/* 히어로 우측 HUD 모니터 */
.vi-hud-monitor {
  position: relative;
  z-index: 6;
  background: rgba(6,14,36,0.8);
  border: 1px solid rgba(66,165,245,0.3);
  border-radius: 16px;
  padding: 0;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 40px rgba(66,165,245,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  margin-top: 80px;
}

.vi-monitor-header {
  background: linear-gradient(135deg, rgba(66,165,245,0.25), rgba(0,229,255,0.12));
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(66,165,245,0.2);
}

.vi-monitor-title {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.vi-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--vi-success);
  letter-spacing: 1px;
}

.vi-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vi-success);
  animation: viLivePulse 1.2s ease-in-out infinite;
}

@keyframes viLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* 카메라 뷰 */
.vi-cam-view {
  position: relative;
  background: #000;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.vi-cam-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* 바운딩 박스 오버레이 */
.vi-bbox {
  position: absolute;
  border: 2px solid;
  border-radius: 2px;
  pointer-events: none;
  animation: viBboxPulse 2.5s ease-in-out infinite;
}

.vi-bbox--person {
  border-color: #42a5f5;
  box-shadow: 0 0 10px rgba(66,165,245,0.5), inset 0 0 6px rgba(66,165,245,0.1);
  top: 20%; left: 15%; width: 22%; height: 58%;
}

.vi-bbox--helmet {
  border-color: #69f0ae;
  box-shadow: 0 0 10px rgba(105,240,174,0.5);
  top: 18%; left: 18%; width: 14%; height: 18%;
}

.vi-bbox--danger {
  border-color: #f44336;
  box-shadow: 0 0 14px rgba(244,67,54,0.6), inset 0 0 8px rgba(244,67,54,0.1);
  top: 55%; left: 58%; width: 30%; height: 28%;
  animation: viBboxDanger 1.8s ease-in-out infinite;
}

@keyframes viBboxPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

@keyframes viBboxDanger {
  0%, 100% { opacity: 1; box-shadow: 0 0 14px rgba(244,67,54,0.6); }
  50%       { opacity: 0.75; box-shadow: 0 0 28px rgba(244,67,54,0.9); }
}

/* 바운딩 박스 라벨 */
.vi-bbox-label {
  position: absolute;
  top: -22px; left: -2px;
  background: currentColor;
  border-radius: 3px 3px 0 0;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
}

.vi-bbox--person .vi-bbox-label  { background: #42a5f5; }
.vi-bbox--helmet .vi-bbox-label  { background: #69f0ae; color: #000; }
.vi-bbox--danger .vi-bbox-label  { background: #f44336; }

/* 탐지 신뢰도 바 */
.vi-conf-bar-wrap {
  margin-top: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  height: 4px;
  width: 100%;
}

.vi-conf-bar {
  height: 100%;
  border-radius: 2px;
  background: #fff;
}

/* 파문 링 (danger zone) */
.vi-pulse-ring {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(244,67,54,0.6);
  border-radius: 2px;
  animation: viPulseRing 2s linear infinite;
}

@keyframes viPulseRing {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* HUD 하단 정보 바 */
.vi-monitor-footer {
  padding: 10px 16px;
  border-top: 1px solid rgba(66,165,245,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  gap: 8px;
  flex-wrap: wrap;
}

.vi-monitor-footer span { display: flex; align-items: center; gap: 5px; }
.vi-monitor-footer i { color: var(--vi-accent); }

/* AI ANALYZING 배지 */
.vi-analyzing {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--vi-accent2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.vi-analyzing-dots span {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--vi-accent2);
  animation: viDots 1.4s ease-in-out infinite;
}
.vi-analyzing-dots span:nth-child(2) { animation-delay: 0.2s; }
.vi-analyzing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes viDots {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%            { transform: scale(1); opacity: 1; }
}

/* 하단 대각선 clip */
.vi-hero-clip {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: #ffffff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 7;
}

/* ═══════════════════════════════════════════════════════════════════
   서브 내비게이션
═══════════════════════════════════════════════════════════════════ */
.vi-subnav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(66,165,245,0.15);
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.vi-subnav-list {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.vi-subnav-list::-webkit-scrollbar { display: none; }

.vi-subnav-link {
  display: block;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.vi-subnav-link:hover,
.vi-subnav-link.active {
  color: var(--vi-accent);
  border-bottom-color: var(--vi-accent);
  box-shadow: 0 2px 10px rgba(66,165,245,0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 2: AI 탐지 라이브 데모
═══════════════════════════════════════════════════════════════════ */
.vi-demo-section {
  background: #f8faff;
  padding: 80px 0;
}

.vi-demo-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 991px) {
  .vi-demo-wrap { grid-template-columns: 1fr; }
}

/* 컨트롤 패널 */
.vi-ctrl-panel {
  background: linear-gradient(160deg, #0d1b4a, #0a1628);
  border: 1px solid rgba(66,165,245,0.25);
  border-radius: 16px;
  padding: 24px;
  color: #fff;
}

.vi-ctrl-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--vi-accent);
  margin-bottom: 16px;
}

/* 시나리오 버튼 */
.vi-scenario-btn {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vi-scenario-btn i { font-size: 18px; color: var(--vi-accent); }

.vi-scenario-btn.active,
.vi-scenario-btn:hover {
  background: linear-gradient(135deg, rgba(66,165,245,0.25), rgba(0,229,255,0.12));
  border-color: var(--vi-accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(66,165,245,0.3);
}

/* HUD 상태 패널 */
.vi-ctrl-hud {
  margin-top: 20px;
  padding: 14px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  border: 1px solid rgba(66,165,245,0.15);
}

.vi-hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.vi-hud-row:last-child { border-bottom: none; }
.vi-hud-label { color: rgba(255,255,255,0.5); }
.vi-hud-value { color: var(--vi-accent); font-weight: 700; font-family: 'Chakra Petch', monospace; }
.vi-hud-value.danger { color: var(--vi-danger); }

/* GPU 미니 게이지 */
.vi-gpu-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}

.vi-gpu-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vi-accent), var(--vi-accent2));
  border-radius: 2px;
  width: 72%;
  transition: width 1s;
  box-shadow: 0 0 8px var(--vi-accent);
}

/* 시뮬레이션 캔버스 */
.vi-sim-canvas {
  background: #0a0f1e;
  border: 1px solid rgba(66,165,245,0.2);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.vi-sim-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.vi-sim-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 스캔 전환 효과 */
.vi-scan-line {
  position: absolute;
  top: -4px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--vi-accent2), transparent);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.vi-scan-line.scanning {
  animation: viScanAnim 0.8s ease-in-out forwards;
}

@keyframes viScanAnim {
  0%   { top: -4px; opacity: 0.9; }
  100% { top: 100%; opacity: 0; }
}

/* 이벤트 로그 */
.vi-event-log {
  padding: 14px 16px;
  background: rgba(0,0,0,0.5);
  max-height: 120px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  scrollbar-width: thin;
  scrollbar-color: rgba(66,165,245,0.3) transparent;
}

.vi-log-entry {
  padding: 2px 0;
  color: rgba(255,255,255,0.7);
  display: flex;
  gap: 8px;
}

.vi-log-entry.alert { color: var(--vi-danger); background: rgba(244,67,54,0.08); border-radius: 3px; padding: 2px 4px; }
.vi-log-time { color: rgba(66,165,245,0.6); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════
   섹션 3: 서비스 핵심 개요
═══════════════════════════════════════════════════════════════════ */
.vi-overview-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1b4a 0%, #0a1628 50%, #061020 100%);
  color: #fff;
}

.vi-overview-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/ai-vision-overview-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  animation: viHeroZoom 20s ease-in-out infinite alternate;
}

.vi-overview-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.vi-typed-wrap {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  min-height: 3.5rem;
  color: #fff;
  margin-bottom: 24px;
}

.vi-typed-accent { color: var(--vi-accent); }

/* 부유 수치 카드 */
.vi-float-cards {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3;
}

@media (max-width: 991px) { .vi-float-cards { display: none; } }

.vi-float-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: viFloat 3s ease-in-out infinite alternate;
}

.vi-float-card:nth-child(2) { animation-delay: 1s; }
.vi-float-card:nth-child(3) { animation-delay: 2s; }
.vi-float-card i { color: var(--vi-accent); margin-right: 6px; }

@keyframes viFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* 기술 태그 마퀴 */
.vi-marquee-wrap {
  overflow: hidden;
  margin-top: 36px;
  padding: 10px 0;
  position: relative;
}

.vi-marquee-track {
  display: flex;
  gap: 12px;
  animation: viMarquee 25s linear infinite;
  width: max-content;
}

.vi-marquee-track:hover { animation-play-state: paused; }

@keyframes viMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.vi-tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 4: 핵심 기능 지그재그
═══════════════════════════════════════════════════════════════════ */
.vi-features-section {
  padding: 80px 0;
  background: #ffffff;
}

.vi-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.vi-feature-row:last-child { margin-bottom: 0; }

.vi-feature-row--reverse { direction: rtl; }
.vi-feature-row--reverse > * { direction: ltr; }

@media (max-width: 767px) {
  .vi-feature-row, .vi-feature-row--reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* 기능 이미지 래퍼 */
.vi-feature-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.vi-feature-img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* 바운딩 박스 오버레이 (스크롤 진입 시 자동 등장) */
.vi-detect-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vi-detect-box {
  position: absolute;
  border: 2px solid var(--vi-accent);
  border-radius: 3px;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 12px rgba(66,165,245,0.5);
}

.vi-detect-box.appeared {
  opacity: 1;
  transform: scale(1);
}

.vi-detect-box .vi-detect-label {
  position: absolute;
  top: -24px; left: -2px;
  background: var(--vi-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px 3px 0 0;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  white-space: nowrap;
}

.vi-detect-box--red {
  border-color: var(--vi-danger);
  box-shadow: 0 0 14px rgba(244,67,54,0.5);
}

.vi-detect-box--red .vi-detect-label { background: var(--vi-danger); }

.vi-detect-box--green {
  border-color: var(--vi-success);
  box-shadow: 0 0 12px rgba(76,175,80,0.5);
}

.vi-detect-box--green .vi-detect-label { background: var(--vi-success); color: #000; }

/* AI ANALYZING 배지 */
.vi-feature-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(6,14,36,0.85);
  border: 1px solid rgba(66,165,245,0.4);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--vi-accent);
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(12px);
}

/* 기능 텍스트 */
.vi-feature-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--vi-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.vi-feature-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #0d1b4a;
}

.vi-feature-desc {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* 스펙 카드 */
.vi-spec-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vi-spec-card {
  padding: 10px 16px;
  border-radius: 10px;
  background: #f0f7ff;
  border: 1px solid rgba(66,165,245,0.2);
  text-align: center;
}

.vi-spec-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--vi-accent);
  font-family: 'Chakra Petch', monospace;
  line-height: 1.1;
}

.vi-spec-label {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 5: Before / After
═══════════════════════════════════════════════════════════════════ */
.vi-compare-section {
  padding: 80px 0;
  background: linear-gradient(160deg, #0d1b4a 0%, #0a1628 100%);
  color: #fff;
}

.vi-slider-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  user-select: none;
}

.vi-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.vi-slider-before,
.vi-slider-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.vi-slider-before img,
.vi-slider-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vi-slider-before {
  filter: grayscale(25%);
}

.vi-slider-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s;
}

/* 슬라이더 핸들 */
.vi-slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
}

.vi-slider-handle-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--vi-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 0 20px rgba(66,165,245,0.8);
  animation: viHandlePulse 2s ease-in-out infinite;
}

@keyframes viHandlePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(66,165,245,0.8); }
  50%       { box-shadow: 0 0 36px rgba(66,165,245,1); }
}

.vi-slider-handle-btn i { color: var(--vi-accent); font-size: 16px; }

/* BEFORE / AFTER 라벨 */
.vi-slider-label {
  position: absolute;
  top: 14px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 20px;
  z-index: 5;
}

.vi-slider-label--before {
  left: 14px;
  background: rgba(244,67,54,0.85);
  color: #fff;
}

.vi-slider-label--after {
  right: 14px;
  background: rgba(76,175,80,0.85);
  color: #fff;
}

/* "AI ACTIVE" 배지 */
.vi-ai-active-badge {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(76,175,80,0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  z-index: 6;
}

/* 비교 카드 */
.vi-compare-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (max-width: 767px) { .vi-compare-cards { grid-template-columns: 1fr; } }

.vi-compare-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
}

.vi-compare-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(66,165,245,0.2);
}

.vi-compare-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.vi-compare-before {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--vi-danger);
  font-family: 'Chakra Petch', monospace;
}

.vi-compare-after {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--vi-success);
  font-family: 'Chakra Petch', monospace;
}

.vi-compare-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.4);
  margin: 0 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 6: 기술 아키텍처
═══════════════════════════════════════════════════════════════════ */
.vi-arch-section {
  padding: 80px 0;
  background: #f8faff;
}

.vi-arch-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.vi-arch-tab-btn {
  padding: 10px 28px;
  border-radius: 30px;
  border: 2px solid rgba(66,165,245,0.3);
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.vi-arch-tab-btn.active,
.vi-arch-tab-btn:hover {
  background: linear-gradient(135deg, #42a5f5, #1e88e5);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(66,165,245,0.4);
}

.vi-arch-panel { display: none; }
.vi-arch-panel.active { display: block; }

/* 아키텍처 다이어그램 */
.vi-arch-diagram {
  background: linear-gradient(160deg, #0d1b4a, #0a1628);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(66,165,245,0.2);
  position: relative;
  overflow: hidden;
}

.vi-arch-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vi-arch-node {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(66,165,245,0.3);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  flex: 1;
  min-width: 110px;
  color: #fff;
  position: relative;
  transition: all 0.4s;
}

.vi-arch-node:hover {
  background: rgba(66,165,245,0.12);
  border-color: var(--vi-accent);
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(66,165,245,0.3);
}

.vi-arch-node-icon {
  font-size: 28px;
  color: var(--vi-accent);
  margin-bottom: 8px;
}

.vi-arch-node-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.vi-arch-node-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}

/* 연결 화살표 */
.vi-arch-arrow {
  color: var(--vi-accent);
  font-size: 20px;
  position: relative;
  flex-shrink: 0;
}

.vi-arch-arrow::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--vi-accent), transparent);
  animation: viArrowFlow 1.5s linear infinite;
  background-size: 200% 100%;
}

@keyframes viArrowFlow {
  from { background-position: -100% 0; }
  to   { background-position: 100% 0; }
}

/* 특징 카드 그리드 */
.vi-arch-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 575px) { .vi-arch-features { grid-template-columns: 1fr; } }

.vi-arch-feat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(66,165,245,0.15);
  border-radius: 12px;
  padding: 16px;
  color: #fff;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.vi-arch-feat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(66,165,245,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--vi-accent);
  flex-shrink: 0;
}

.vi-arch-feat-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.vi-arch-feat-desc { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* 비교 표 */
.vi-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 13px;
  color: #fff;
}

.vi-compare-table th {
  padding: 10px 14px;
  text-align: left;
  background: rgba(66,165,245,0.2);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
}

.vi-compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: middle;
}

.vi-compare-table tr:hover td {
  background: rgba(66,165,245,0.07);
}

.vi-compare-table .good { color: var(--vi-success); font-weight: 700; }
.vi-compare-table .mid  { color: #ffa726; }

/* ═══════════════════════════════════════════════════════════════════
   섹션 7: 적용 분야 카드 6개
═══════════════════════════════════════════════════════════════════ */
.vi-domains-section {
  padding: 80px 0;
  background: #ffffff;
}

.vi-domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) { .vi-domain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .vi-domain-grid { grid-template-columns: 1fr; } }

/* 플립 카드 */
.vi-flip-card {
  perspective: 1000px;
  height: 280px;
}

.vi-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.vi-flip-card:hover .vi-flip-inner,
.vi-flip-card.flipped .vi-flip-inner {
  transform: rotateY(180deg);
}

.vi-flip-front,
.vi-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  backface-visibility: hidden;
  overflow: hidden;
}

.vi-flip-front {
  background: linear-gradient(160deg, #f0f7ff, #e8f4fe);
  border: 1px solid rgba(66,165,245,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}

.vi-flip-front:hover { box-shadow: 0 12px 40px rgba(66,165,245,0.15); }

/* 카드 하단 컬러 보더 */
.vi-flip-front::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--vi-card-color, var(--vi-accent));
}

.vi-flip-back {
  background: linear-gradient(160deg, #0d1b4a, #0a1628);
  border: 1px solid rgba(66,165,245,0.25);
  transform: rotateY(180deg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

/* 아이콘 래퍼 */
.vi-domain-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(66,165,245,0.15), rgba(0,229,255,0.08));
  border: 1px solid rgba(66,165,245,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 14px;
  transition: all 0.4s;
  color: var(--vi-card-color, var(--vi-accent));
  position: relative;
}

.vi-flip-card:hover .vi-domain-icon {
  box-shadow: 0 0 24px var(--vi-card-color, rgba(66,165,245,0.5));
  transform: scale(1.08);
}

.vi-domain-title {
  font-size: 15px;
  font-weight: 700;
  color: #0d1b4a;
  margin-bottom: 6px;
}

.vi-domain-sub {
  font-size: 12px;
  color: #64748b;
}

.vi-domain-hint {
  font-size: 11px;
  color: var(--vi-accent);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 뒷면 */
.vi-flip-back-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--vi-accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vi-flip-back-list {
  list-style: none;
  padding: 0; margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  flex: 1;
}

.vi-flip-back-list li {
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: none;
}

.vi-flip-back-list li::before {
  content: '▸';
  color: var(--vi-card-color, var(--vi-accent));
  flex-shrink: 0;
}

.vi-flip-back-link {
  margin-top: 10px;
  font-size: 11px;
  color: var(--vi-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 8: 도입 효과 카운터
═══════════════════════════════════════════════════════════════════ */
.vi-counters-section {
  padding: 80px 0;
  background: linear-gradient(160deg, #060e24 0%, #0a1628 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* 배경 레이더 워터마크 */
.vi-radar-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.04;
  pointer-events: none;
}

.vi-counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) { .vi-counter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .vi-counter-grid { grid-template-columns: 1fr; } }

.vi-counter-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(66,165,245,0.15);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}

.vi-counter-card:hover {
  background: rgba(66,165,245,0.08);
  border-color: var(--vi-accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

/* SVG 원형 프로그레스 링 */
.vi-ring-wrap {
  width: 90px; height: 90px;
  margin: 0 auto 14px;
  position: relative;
}

.vi-ring-wrap svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}

.vi-ring-track {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 6;
}

.vi-ring-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vi-ring-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Chakra Petch', monospace;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.vi-counter-num {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: 'Chakra Petch', monospace;
  line-height: 1;
  margin-bottom: 6px;
}

.vi-counter-unit {
  font-size: 1.2rem;
  font-weight: 700;
}

.vi-counter-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

/* 프로그레스 바 */
.vi-counter-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.vi-counter-bar-fill {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 6번째 카운터 특별 (정확도) */
.vi-counter-card--accuracy {
  border-color: rgba(0,229,255,0.3);
  background: rgba(0,229,255,0.04);
}

.vi-counter-card--accuracy .vi-counter-num {
  font-size: 3.2rem;
  text-shadow: 0 0 20px rgba(0,229,255,0.5);
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 8.5: 성능 스코어보드
═══════════════════════════════════════════════════════════════════ */
.vi-scoreboard-section {
  padding: 80px 0;
  background: #ffffff;
}

.vi-radar-chart-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.vi-radar-svg {
  width: 100%;
  height: auto;
}

/* 스코어 리스트 */
.vi-score-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vi-score-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
}

.vi-score-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.vi-score-info { flex: 1; }

.vi-score-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.vi-score-bar-wrap {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.vi-score-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 8px var(--bar-color, rgba(66,165,245,0.5));
}

.vi-score-value {
  font-size: 13px;
  font-weight: 800;
  color: #0d1b4a;
  font-family: 'Chakra Petch', monospace;
  white-space: nowrap;
}

/* 비교 노트 */
.vi-score-notes {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f0f7ff;
  border-radius: 10px;
  border-left: 3px solid var(--vi-accent);
}

.vi-score-note-item {
  font-size: 13px;
  color: #1e293b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vi-score-note-item:last-child { margin-bottom: 0; }
.vi-score-note-item span { color: var(--vi-accent); }

/* ═══════════════════════════════════════════════════════════════════
   섹션 9: 타임라인
═══════════════════════════════════════════════════════════════════ */
.vi-timeline-section {
  padding: 80px 0;
  background: linear-gradient(160deg, #0d1b4a 0%, #0a1628 100%);
  color: #fff;
}

.vi-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.vi-timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--vi-accent) 0%, var(--vi-accent2) 100%);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vi-timeline-line.drawn { transform: translateX(-50%) scaleY(1); }

@media (max-width: 767px) {
  .vi-timeline-line { left: 28px; }
}

.vi-timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}

.vi-timeline-item:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .vi-timeline-item { grid-template-columns: 56px 1fr; }
  .vi-timeline-item .vi-tl-left { display: none; }
}

.vi-tl-left { text-align: right; }
.vi-tl-right { text-align: left; }

/* 홀수(오른쪽 카드) */
.vi-timeline-item:nth-child(odd) .vi-tl-left { order: -1; }

/* 타임라인 노드 */
.vi-tl-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
}

.vi-tl-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vi-accent), var(--vi-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 0 20px rgba(66,165,245,0.5);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* 파문 링 */
.vi-tl-ripple {
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--vi-accent);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
}

.vi-tl-ripple.animate {
  animation: viTlRipple 1.2s ease-out forwards;
}

@keyframes viTlRipple {
  0%   { transform: translate(-50%,-50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(2.5); opacity: 0; }
}

/* 타임라인 카드 */
.vi-tl-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(66,165,245,0.15);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s;
}

.vi-tl-card:hover {
  background: rgba(66,165,245,0.1);
  transform: translateY(-4px);
}

.vi-tl-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.vi-tl-step {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--vi-accent);
  text-transform: uppercase;
}

.vi-tl-duration {
  padding: 3px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(66,165,245,0.2), rgba(0,229,255,0.1));
  color: var(--vi-accent);
  font-size: 11px;
  font-weight: 700;
}

.vi-tl-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.vi-tl-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 11: 기술 스택 & 특허  (납품 사례 삭제 후 라이트 배경으로 전환)
═══════════════════════════════════════════════════════════════════ */
.vi-stack-section {
  padding: 80px 0;
  background: #f4f8ff;
  color: #0d1b4a;
}

/* 다크 콘텐츠 패널 (아키텍처 섹션의 vi-arch-diagram과 동일한 방식) */
.vi-stack-dark-panel {
  background: linear-gradient(160deg, #0d1b4a 0%, #081228 100%);
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid rgba(66,165,245,0.2);
  box-shadow: 0 24px 64px rgba(13,27,74,0.28);
  position: relative;
  overflow: hidden;
}

/* 패널 배경 파티클 효과 */
.vi-stack-dark-panel::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66,165,245,0.07) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 767px) {
  .vi-stack-dark-panel { padding: 28px 20px; }
}

/* 카테고리 탭 */
.vi-stack-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.vi-stack-tab-btn {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.vi-stack-tab-btn.active,
.vi-stack-tab-btn:hover {
  background: linear-gradient(135deg, rgba(66,165,245,0.3), rgba(0,229,255,0.15));
  border-color: var(--vi-accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(66,165,245,0.3);
}

.vi-stack-panel { display: none; }
.vi-stack-panel.active { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* 기술 배지 */
.vi-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

.vi-tech-badge:hover {
  background: rgba(66,165,245,0.15);
  border-color: var(--vi-accent);
  transform: translateY(-2px);
}

.vi-tech-badge i { color: var(--vi-accent); }

/* 특허 카드 */
.vi-patent-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.vi-patent-card::before {
  content: '인증';
  position: absolute;
  bottom: -10px; right: -10px;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(255,255,255,0.06);
  font-weight: 700;
}

.vi-patent-card:hover {
  border-left: 3px solid var(--vi-accent);
  box-shadow: 0 0 24px rgba(66,165,245,0.15);
  transform: translateY(-4px);
}

.vi-patent-num {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--vi-accent);
  background: rgba(66,165,245,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.vi-patent-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.vi-patent-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* 인증 배지 */
.vi-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.vi-cert-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.vi-cert-badge:hover {
  border-color: var(--vi-cert-color, var(--vi-accent));
  box-shadow: 0 0 16px rgba(66,165,245,0.2);
}

.vi-cert-icon {
  font-size: 24px;
  color: var(--vi-cert-color, var(--vi-accent));
}

.vi-cert-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

/* 기술 마퀴 (하단) */
.vi-stack-marquee {
  margin-top: 36px;
  overflow: hidden;
  padding: 8px 0;
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 12: 현장 실증 인사이트 카드
═══════════════════════════════════════════════════════════════════ */
.vi-insights-section {
  padding: 80px 0;
  background: var(--vi-dark-bg);
  color: #fff;
}

.vi-insights-section .vi-section-sub { color: #94a3b8; }

.vi-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) { .vi-insight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .vi-insight-grid { grid-template-columns: 1fr; } }

.vi-insight-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s ease-out;
  position: relative;
  overflow: hidden;
  border-top: 2px solid transparent;
}

.vi-insight-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.07);
  border-top-color: var(--vi-insight-color, var(--vi-accent));
  box-shadow: 0 0 30px rgba(66,165,245,0.1);
}

.vi-insight-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  color: var(--vi-insight-color, var(--vi-accent));
}

.vi-insight-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.vi-insight-body {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 14px;
}

.vi-insight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vi-insight-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* 유도 배너 */
.vi-insight-cta-bar {
  margin-top: 48px;
  background: linear-gradient(135deg, #1565c0, #42a5f5);
  border-radius: 16px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.vi-insight-cta-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.vi-insight-cta-contact {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   섹션 13: 관련 솔루션 카드
═══════════════════════════════════════════════════════════════════ */
.vi-related-section {
  padding: 80px 0;
  background: #f8faff;
}

.vi-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) { .vi-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .vi-related-grid { grid-template-columns: 1fr; } }

.vi-related-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(66,165,245,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.vi-related-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.vi-related-header {
  padding: 24px;
  background: var(--vi-related-gradient, linear-gradient(135deg, #1565c0, #42a5f5));
  color: #fff;
  position: relative;
}

.vi-related-icon {
  font-size: 36px;
  margin-bottom: 8px;
  display: block;
}

.vi-related-title {
  font-size: 14px;
  font-weight: 700;
}

.vi-related-connect {
  position: absolute;
  bottom: -10px; right: 12px;
  background: rgba(255,255,255,0.9);
  color: #0d1b4a;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.vi-related-body {
  padding: 20px;
}

.vi-related-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 12px;
}

.vi-related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.vi-related-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f0f7ff;
  color: var(--vi-accent);
  font-weight: 600;
}

.vi-related-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--vi-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s;
}

.vi-related-link:hover { gap: 8px; }

/* ═══════════════════════════════════════════════════════════════════
   섹션 14: CTA
═══════════════════════════════════════════════════════════════════ */
.vi-cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.vi-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/ai-vision-cta-bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.vi-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,14,36,0.88) 0%, rgba(13,27,74,0.82) 100%);
  z-index: 1;
}

/* 메시 그라데이션 오브 */
.vi-cta-mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.vi-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.vi-cta-orb--1 {
  width: 400px; height: 400px;
  background: rgba(21,101,192,0.20);
  animation: viOrb1 18s ease-in-out infinite alternate;
}

.vi-cta-orb--2 {
  width: 300px; height: 300px;
  background: rgba(66,165,245,0.12);
  right: 0; bottom: 0;
  animation: viOrb2 14s ease-in-out infinite alternate;
}

.vi-cta-orb--3 {
  width: 250px; height: 250px;
  background: rgba(13,71,161,0.09);
  left: 50%; bottom: 0;
  animation: viOrb3 20s ease-in-out infinite alternate;
}

@keyframes viOrb1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(10%, 8%); }
}

@keyframes viOrb2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-8%, -12%); }
}

@keyframes viOrb3 {
  from { transform: translateX(-50%) translateY(0); }
  to   { transform: translateX(-50%) translateY(-20%); }
}

/* CTA 콘텐츠 */
.vi-cta-content {
  position: relative;
  z-index: 5;
}

.vi-cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.vi-cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* shimmer 버튼 */
.btn-vi-shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1565c0, #42a5f5);
  border: none;
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 30px rgba(66,165,245,0.5);
  animation: viCtaPulse 2.5s ease-in-out infinite;
  transition: transform 0.2s;
}

.btn-vi-shimmer:hover { transform: translateY(-2px) scale(1.03); color: #fff; }

.btn-vi-shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: viShimmer 2s linear infinite;
}

@keyframes viShimmer {
  from { left: -60%; }
  to   { left: 120%; }
}

@keyframes viCtaPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(66,165,245,0.5); }
  50%       { box-shadow: 0 0 50px rgba(66,165,245,0.8); }
}

/* 도입 경로 카드 */
.vi-cta-path {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto;
}

.vi-cta-path-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.vi-cta-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vi-accent), var(--vi-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(66,165,245,0.4);
}

.vi-cta-path-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.vi-cta-path-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

/* 신뢰 문구 */
.vi-cta-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.vi-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.vi-cta-trust-item i { color: var(--vi-accent); }

/* HUD 코너 데코 (CTA) */
.vi-cta-hud-corner {
  position: absolute;
  width: 40px; height: 40px;
  z-index: 5;
}

.vi-cta-hud-tl { top: 20px; left: 20px; border-top: 2px solid rgba(66,165,245,0.5); border-left: 2px solid rgba(66,165,245,0.5); }
.vi-cta-hud-tr { top: 20px; right: 20px; border-top: 2px solid rgba(66,165,245,0.5); border-right: 2px solid rgba(66,165,245,0.5); }
.vi-cta-hud-bl { bottom: 20px; left: 20px; border-bottom: 2px solid rgba(66,165,245,0.5); border-left: 2px solid rgba(66,165,245,0.5); }
.vi-cta-hud-br { bottom: 20px; right: 20px; border-bottom: 2px solid rgba(66,165,245,0.5); border-right: 2px solid rgba(66,165,245,0.5); }

/* CTA 바운딩 박스 장식 */
.vi-cta-bbox {
  position: absolute;
  border: 1px solid rgba(66,165,245,0.25);
  border-radius: 2px;
  pointer-events: none;
  z-index: 3;
  animation: viBboxPulse 3s ease-in-out infinite;
}

.vi-cta-bbox--1 { top: 15%; right: 8%; width: 160px; height: 100px; animation-delay: 0.5s; }
.vi-cta-bbox--2 { bottom: 20%; left: 6%; width: 120px; height: 80px; animation-delay: 1.2s; }

/* ═══════════════════════════════════════════════════════════════════
   반응형 보조
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .vi-hero-title { font-size: 2.4rem; }
  .vi-demo-wrap  { grid-template-columns: 1fr; }
  .vi-float-cards { display: none; }
}

@media (max-width: 767px) {
  .vi-hero { min-height: auto; padding: 120px 0 80px; }
  .vi-section-light,
  .vi-section-dark,
  .vi-section-navy,
  .vi-features-section,
  .vi-domains-section,
  .vi-compare-section,
  .vi-arch-section,
  .vi-counters-section,
  .vi-scoreboard-section,
  .vi-timeline-section,
  .vi-stack-section,
  .vi-insights-section,
  .vi-related-section,
  .vi-cta-section { padding: 60px 0; }

  .vi-insight-grid { grid-template-columns: 1fr; }
  .vi-related-grid { grid-template-columns: repeat(2, 1fr); }
}
