/* ============================================================
   data-analysis.css — 데이터 분석·시각화 페이지 전용 스타일
   클래스 접두사: da-
   테마: --da-primary:#6366f1 / --da-accent:#22d3ee / --da-amber:#f59e0b
   ============================================================ */

/* ────────── CSS 변수 ────────── */
.page-analysis {
  --da-primary:  #6366f1;
  --da-accent:   #22d3ee;
  --da-amber:    #f59e0b;
  --da-green:    #10b981;
  --da-pink:     #ec4899;
  --da-violet:   #8b5cf6;
  --da-dark:     #070f26;
  --da-navy:     #0d1b3e;
  --da-card-bg:  #111827;
}

/* ============================================================
   서브네비 — 데이터 플랫폼 공통
   ============================================================ */
.da-subnav {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: rgba(7,15,38,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(99,102,241,0.18);
}
.da-subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.da-subnav li a {
  display: block;
  padding: 14px 22px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.25s;
  border-bottom: 3px solid transparent;
}
.da-subnav li a:hover { color: rgba(255,255,255,0.85); }
.da-subnav li a.active {
  color: var(--da-accent);
  border-bottom-color: var(--da-primary);
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.06));
}

/* ============================================================
   섹션 1: 히어로
   ============================================================ */
.da-hero {
  position: relative;
  min-height: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13,7,50,0.88) 0%, rgba(5,30,80,0.85) 100%),
    center/cover no-repeat;
  background-image:
    linear-gradient(135deg, rgba(13,7,50,0.88) 0%, rgba(5,30,80,0.85) 100%);
}

/* 격자 패턴 */
.da-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
}

/* Canvas 라이브 차트 배경 */
#daHeroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* 방사형 글로우 오브 */
.da-hero-glow {
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  z-index: 3;
  pointer-events: none;
}

.da-hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* 웨이브 디바이더 */
.da-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  z-index: 10;
  line-height: 0;
}
.da-hero-wave svg { display: block; width: 100%; }

/* 히어로 텍스트 영역 */
.da-hero-text { max-width: 600px; }
.da-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.35);
  color: var(--da-accent);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.da-hero-label svg { width: 14px; height: 14px; }
.da-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.da-hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.da-hero-typed {
  color: var(--da-accent);
  font-weight: 700;
}

/* 미니 배지 4개 */
.da-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.da-hero-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

/* 히어로 우측 미니 대시보드 카드 */
.da-hero-card {
  background: rgba(13,7,50,0.75);
  border: 1px solid rgba(99,102,241,0.4);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(99,102,241,0.2), 0 8px 32px rgba(0,0,0,0.4);
  min-width: 280px;
}
.da-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.da-hero-card-title {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.da-live-dot {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #10b981;
  font-size: 0.7rem;
  font-weight: 700;
}
.da-live-dot::before {
  content: '';
  width: 7px; height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: daPulse 1.2s ease-in-out infinite;
}
@keyframes daPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* 미니 차트 행 */
.da-mini-charts { display: flex; flex-direction: column; gap: 10px; }
.da-mini-chart-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 8px 10px;
}
.da-mini-chart-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  min-width: 60px;
}
.da-mini-chart-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.da-mini-chart-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}
.da-mini-chart-val {
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 36px;
  text-align: right;
}

/* 브레드크럼 */
.da-breadcrumb {
  margin-top: 18px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.da-breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; }
.da-breadcrumb a:hover { color: var(--da-accent); }
.da-breadcrumb span { margin: 0 6px; }

/* ============================================================
   섹션 2: 위험도 분석 지그재그
   ============================================================ */
.da-zigzag { padding: 80px 0; background: #fff; }
.da-section-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--da-primary);
  font-weight: 700;
  margin-bottom: 4px;
}
.da-section-sub {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.da-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}
.da-patent-badge {
  display: inline-block;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 10px;
  margin-left: 10px;
  vertical-align: middle;
}

/* 지그재그 이미지 */
.da-zz-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.da-zz-img:hover {
  transform: rotateY(3deg);
  box-shadow: 0 0 60px rgba(99,102,241,0.25);
}
.da-zz-img img { display: block; width: 100%; border-radius: 14px; }

/* 분석 소프트웨어 사례 카드 */
.da-case-card {
  border-left: 3px solid var(--da-amber);
  background: #f8faff;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.da-case-card:hover { transform: translateX(4px); box-shadow: 2px 4px 16px rgba(99,102,241,0.08); }
.da-case-title { font-size: 0.9rem; font-weight: 700; color: #1e293b; margin-bottom: 5px; }
.da-case-desc  { font-size: 0.82rem; color: #64748b; margin-bottom: 8px; line-height: 1.5; }
.da-case-badge {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  color: #b45309;
  font-size: 0.68rem;
  font-family: 'Courier New', monospace;
  padding: 2px 8px;
  border-radius: 4px;
}

/* 핵심 체크포인트 */
.da-check-list { list-style: none; padding: 0; margin: 0; }
.da-check-list li {
  padding: 7px 0;
  color: #374151;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.da-check-list li::before {
  content: '✦';
  color: var(--da-primary);
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* 통계 기법 카드 (4개 pill) */
.da-stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.da-stat-card {
  background: #f8faff;
  border-left: 3px solid var(--da-primary);
  border-radius: 0 10px 10px 0;
  padding: 12px 14px;
  transition: transform 0.2s;
}
.da-stat-card:hover { transform: translateY(-3px); }
.da-stat-icon { font-size: 1.2rem; margin-bottom: 6px; }
.da-stat-name { font-size: 0.85rem; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.da-stat-desc { font-size: 0.76rem; color: #64748b; line-height: 1.4; }

/* 추가 분석 기법 pill 리스트 */
.da-extra-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.da-extra-tech {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--da-primary);
  font-size: 0.76rem;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 500;
}

/* 분석 결과 미니 배지 (이미지 우측 부유) */
.da-floating-badges {
  position: absolute;
  right: -15px;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}
.da-float-badge {
  background: rgba(13,7,50,0.85);
  border: 1px solid rgba(99,102,241,0.4);
  color: var(--da-accent);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  animation: daFloat 3s ease-in-out infinite;
  white-space: nowrap;
}
.da-float-badge:nth-child(2) { animation-delay: 1s; }
.da-float-badge:nth-child(3) { animation-delay: 2s; }
@keyframes daFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ============================================================
   섹션 2.5: 분석 파이프라인 시각화
   ============================================================ */
.da-pipeline-sec {
  padding: 80px 0;
  background: #070f26;
  position: relative;
  overflow: hidden;
}
.da-pipeline-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.da-pipe-badge {
  display: inline-block;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.35);
  color: var(--da-accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.da-pipe-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.da-pipe-sub { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 48px; }

/* 파이프라인 노드 컨테이너 */
.da-pipe-nodes {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}
.da-pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 160px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.da-pipe-step.visible { opacity: 1; transform: translateY(0); }

/* 헥사곤 노드 */
.da-pipe-node {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.da-pipe-node::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--pipe-color) 0%, transparent 60%);
  opacity: 0.6;
  animation: daNodeRotate 4s linear infinite;
}
@keyframes daNodeRotate { to { transform: rotate(360deg); } }

.da-pipe-node-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(7,15,38,0.9);
  border: 2px solid var(--pipe-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--pipe-color);
  box-shadow: 0 0 20px rgba(0,0,0,0.5), 0 0 16px color-mix(in srgb, var(--pipe-color) 30%, transparent);
  position: relative;
  z-index: 1;
}

/* 펄스 링 */
.da-pipe-node::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--pipe-color);
  opacity: 0;
  animation: daRipple 2.5s ease-out infinite;
}
@keyframes daRipple {
  0%   { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.5);  opacity: 0; }
}

.da-pipe-node-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 6px;
}
.da-pipe-node-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.4;
}

/* 연결선 */
.da-pipe-connector {
  flex: 0 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.da-pipe-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.1) 100%);
  position: relative;
  overflow: hidden;
}
.da-pipe-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--da-accent), transparent);
  animation: daDash 2s linear infinite;
}
@keyframes daDash { to { left: 160%; } }

/* 기술 배지 행 */
.da-tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}
.da-tech-badge {
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* ============================================================
   섹션 3: 카운터 (원형 프로그레스 링)
   ============================================================ */
.da-counters-sec {
  padding: 70px 0;
  background: #0d1b3e;
  position: relative;
  overflow: hidden;
}

.da-counter-wrap {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.da-counter-item {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  padding: 20px 10px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.da-counter-item:last-child { border-right: none; }
.da-counter-item:hover { background: rgba(255,255,255,0.03); }

/* 원형 SVG 링 */
.da-ring-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
}
.da-ring-wrap svg { transform: rotate(-90deg); }
.da-ring-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 5; }
.da-ring-fill  {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.8s ease-out;
  stroke: url(#daRingGrad);
}
.da-ring-fill.animated { stroke-dashoffset: var(--offset, 110); }
.da-ring-num {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--da-primary), var(--da-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.da-counter-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.da-counter-desc {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  line-height: 1.4;
}

/* 마퀴 배지 */
.da-marquee-wrap {
  overflow: hidden;
  margin-top: 40px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.da-marquee-track {
  display: flex;
  gap: 32px;
  animation: daMarquee 20s linear infinite;
  width: max-content;
}
.da-marquee-track:hover { animation-play-state: paused; }
@keyframes daMarquee { to { transform: translateX(-50%); } }
.da-marquee-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  white-space: nowrap;
}
.da-marquee-item::before {
  content: '•';
  color: var(--da-accent);
  font-size: 1rem;
}

/* ============================================================
   섹션 4: 시각화 3대 기능 카드
   ============================================================ */
.da-viz-sec {
  padding: 80px 0;
  background: #fff;
}
.da-viz-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.da-viz-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-top: 2px solid transparent;
}
.da-viz-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.da-viz-card-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.da-viz-card-header canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.4;
}
.da-viz-card-icon {
  font-size: 2.5rem;
  color: #fff;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.da-viz-card-body { padding: 22px; flex: 1; }
.da-viz-card-title { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.da-viz-card-text  { font-size: 0.85rem; color: #64748b; line-height: 1.65; margin-bottom: 14px; }
.da-viz-card-tags  { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.da-viz-card-tag {
  background: rgba(99,102,241,0.08);
  color: var(--da-primary);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 500;
}
.da-viz-card-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--da-primary);
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.2);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
}

/* 시각화 도구 2컬럼 아이콘 리스트 */
.da-tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.da-tool-item {
  font-size: 0.78rem;
  color: #374151;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.da-tool-item span { font-size: 0.9rem; }

/* 기능 체크리스트 */
.da-func-list { list-style: none; padding: 0; margin: 0; }
.da-func-list li {
  font-size: 0.82rem;
  color: #374151;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.da-func-list li i { color: var(--da-green); font-size: 0.85rem; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   섹션 4.5: 실시간 차트 라이브 데모
   ============================================================ */
.da-demo-sec {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
}
.da-demo-badge {
  display: inline-block;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--da-primary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.da-demo-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}
.da-demo-sub { color: #64748b; font-size: 0.9rem; margin-bottom: 36px; }

/* macOS 프레임 */
.da-macos-frame {
  background: #1a1f35;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(99,102,241,0.35);
  box-shadow: 0 0 60px rgba(99,102,241,0.15), 0 20px 60px rgba(0,0,0,0.3);
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.da-macos-frame.visible { opacity: 1; transform: translateY(0); }

.da-macos-titlebar {
  background: #111624;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.da-macos-dots { display: flex; gap: 6px; }
.da-macos-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.da-macos-dot.red    { background: #ff5f57; }
.da-macos-dot.yellow { background: #ffbd2e; }
.da-macos-dot.green  { background: #28c840; }
.da-macos-title-text {
  flex: 1;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 600;
}
.da-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 700;
}
.da-live-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: daPulse 1.2s ease-in-out infinite;
}

/* 대시보드 그리드 */
.da-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: rgba(255,255,255,0.04);
  padding: 16px;
  gap: 12px;
}
.da-dash-widget {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.da-dash-widget.active { opacity: 1; }
.da-dash-widget-title {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.da-dash-widget-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--da-accent);
  transition: color 0.3s;
}

/* 위젯1: 라인 차트 Canvas */
#daDemoLineChart { display: block; width: 100%; height: 70px; }

/* 위젯2: 도넛 차트 */
.da-donut-wrap { display: flex; align-items: center; justify-content: center; }
.da-donut {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: conic-gradient(
    var(--da-primary) 0% var(--pct, 72%),
    rgba(255,255,255,0.1) var(--pct, 72%) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.da-donut::after {
  content: '';
  position: absolute;
  inset: 12px;
  background: #1a1f35;
  border-radius: 50%;
}
.da-donut-pct {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

/* 위젯4: 수평 바 차트 */
.da-hbar-list { display: flex; flex-direction: column; gap: 6px; }
.da-hbar-row { display: flex; align-items: center; gap: 6px; }
.da-hbar-label { font-size: 0.65rem; color: rgba(255,255,255,0.5); min-width: 28px; }
.da-hbar-track { flex: 1; height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.da-hbar-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }

/* 위젯5: 게이지 */
.da-gauge-wrap { display: flex; justify-content: center; }
.da-gauge-svg { width: 80px; height: 50px; }

/* 위젯6: 알림 리스트 */
.da-alert-list { display: flex; flex-direction: column; gap: 5px; overflow: hidden; max-height: 80px; }
.da-alert-item {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  padding: 3px 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  border-left: 2px solid var(--da-green);
  animation: daAlertSlide 0.3s ease;
}
.da-alert-item.warn { border-left-color: var(--da-amber); }
@keyframes daAlertSlide { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.da-demo-hint {
  text-align: center;
  margin-top: 16px;
  font-size: 0.78rem;
  color: #6b7280;
}

/* ============================================================
   섹션 5: 갤러리 Swiper
   ============================================================ */
.da-gallery-sec {
  padding: 80px 0;
  background: #0d1b3e;
  overflow: hidden;
}
.da-gallery-title { font-size: clamp(1.4rem,2.5vw,1.8rem); font-weight:800; color:#fff; margin-bottom:6px; }
.da-gallery-en    { font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--da-accent); margin-bottom:4px; }
.da-gallery-desc  { color:rgba(255,255,255,0.5); font-size:0.88rem; margin-bottom:6px; }
.da-gallery-hint  { font-size:0.75rem; color:rgba(255,255,255,0.3); }

.da-gallery-swiper { padding: 20px 40px 50px; }
.da-gallery-swiper .swiper-slide { border-radius: 14px; overflow: hidden; }
.da-slide-img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.da-slide-caption {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
}
.da-slide-cap-title { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.da-slide-cap-tag {
  display: inline-block;
  background: rgba(99,102,241,0.3);
  color: #a5b4fc;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 8px;
}

/* 커스텀 네비 버튼 */
.da-swiper-btn {
  width: 44px !important;
  height: 44px !important;
  background: rgba(99,102,241,0.3) !important;
  border: 1px solid rgba(99,102,241,0.5) !important;
  border-radius: 50% !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(99,102,241,0.3) !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.da-swiper-btn:hover { background: rgba(99,102,241,0.55) !important; box-shadow: 0 0 26px rgba(99,102,241,0.5) !important; }
.da-swiper-btn::after { font-size: 0.9rem !important; font-weight: 700 !important; }

/* ============================================================
   섹션 6: 특허·저작권 카드
   ============================================================ */
.da-patent-sec { padding: 80px 0; background: #fff; }
.da-patent-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.da-patent-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  overflow: hidden;
  border-left: 4px solid var(--card-color, var(--da-amber));
  transition: transform 0.3s, box-shadow 0.3s;
}
.da-patent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), -4px 0 20px color-mix(in srgb, var(--card-color, var(--da-amber)) 30%, transparent);
}
.da-patent-card:hover .da-patent-stamp { opacity: 0.2; }

/* 워터마크 스탬프 */
.da-patent-stamp {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--card-color, var(--da-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--card-color, var(--da-amber));
  opacity: 0.07;
  transition: opacity 0.3s;
  pointer-events: none;
  user-select: none;
}

/* 우측 상단 방패 배지 */
.da-shield-badge {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: rgba(99,102,241,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--card-color, var(--da-amber));
  font-size: 0.9rem;
}

.da-patent-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--card-color, var(--da-amber));
  color: var(--card-color, var(--da-amber));
  background: color-mix(in srgb, var(--card-color, var(--da-amber)) 8%, transparent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.da-patent-card-icon { font-size: 2rem; color: var(--card-color, var(--da-amber)); margin-bottom: 10px; display: block; }
.da-patent-card-title { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin-bottom: 6px; line-height: 1.4; }
.da-patent-num {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  background: rgba(0,0,0,0.04);
  color: #374151;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}
.da-patent-date { font-size: 0.72rem; color: #9ca3af; margin-bottom: 10px; }
.da-patent-desc { font-size: 0.8rem; color: #64748b; line-height: 1.55; margin-bottom: 12px; }
.da-patent-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.da-patent-tag {
  font-size: 0.68rem;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 8px;
}
.da-cert-badge {
  position: absolute;
  bottom: 14px; right: 14px;
  font-size: 0.63rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 3px;
}
.da-cert-badge i { color: var(--da-green); }

/* ============================================================
   섹션 7: 활용 분야 그리드
   ============================================================ */
.da-apps-sec {
  padding: 80px 0;
  background: linear-gradient(180deg, #e8eeff 0%, #0d1b3e 25%);
  background: #0d1b3e;
}
.da-apps-title { font-size: clamp(1.4rem,2.5vw,1.8rem); font-weight:800; color:#fff; margin-bottom:6px; }
.da-apps-en    { font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--da-accent); margin-bottom:4px; }
.da-apps-sub   { color:rgba(255,255,255,0.5); font-size:0.88rem; margin-bottom:40px; }

.da-apps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.da-app-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--app-color, var(--da-accent));
  border-radius: 12px;
  padding: 24px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.da-app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--app-color, var(--da-accent)) 15%, transparent);
}
.da-app-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--app-color, var(--da-accent)) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--app-color, var(--da-accent));
  margin-bottom: 14px;
  box-shadow: 0 0 16px color-mix(in srgb, var(--app-color, var(--da-accent)) 20%, transparent);
}
.da-app-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.da-app-desc  { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.5; margin-bottom: 8px; }
.da-app-tag   {
  display: inline-block;
  font-size: 0.65rem;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  padding: 2px 8px;
  border-radius: 8px;
}

/* ============================================================
   섹션 7.5: 도입 성과 스토리 카드
   ============================================================ */
.da-story-sec {
  padding: 80px 0;
  background: #060e24;
  position: relative;
  overflow: hidden;
}
.da-story-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 15% 50%, rgba(99,102,241,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 85% 50%, rgba(34,211,238,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* 좌측 임팩트 텍스트 */
.da-story-left { position: relative; z-index: 2; }
.da-story-badge {
  display: inline-block;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.da-story-big {
  font-size: clamp(3rem,6vw,5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.da-story-big span { display: block; }
.da-story-big .line1 { color: #fff; }
.da-story-big .line2 {
  background: linear-gradient(90deg, var(--da-primary), var(--da-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.da-story-big .line3 { color: #fff; }
.da-story-sub { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.6; margin-bottom: 36px; }

/* 핵심 숫자 3개 */
.da-impact-nums { display: flex; flex-direction: column; gap: 14px; }
.da-impact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.da-impact-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--da-accent);
  line-height: 1;
  min-width: 80px;
}
.da-impact-desc { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* 우측 스토리 카드 스택 */
.da-story-right { position: relative; z-index: 2; }
.da-story-cards { display: flex; flex-direction: column; gap: 0; }
.da-story-card {
  background: #111827;
  border-radius: 12px;
  padding: 20px;
  border-left: 5px solid var(--story-color, var(--da-accent));
  margin-bottom: -10px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, z-index 0s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.da-story-card:nth-child(2) { z-index: 2; }
.da-story-card:nth-child(3) { z-index: 3; margin-bottom: 0; }
.da-story-card:hover {
  transform: translateY(-6px);
  z-index: 10;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), -5px 0 20px color-mix(in srgb, var(--story-color, var(--da-accent)) 30%, transparent);
}

.da-story-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.da-story-card-icon { font-size: 1.2rem; }
.da-story-card-sector { font-size: 0.8rem; font-weight: 700; color: #fff; }
.da-story-card-year { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-left: auto; }
.da-story-quote {
  font-style: italic;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 2px solid rgba(255,255,255,0.1);
}
.da-story-perf {
  display: flex;
  gap: 16px;
}
.da-perf-item { }
.da-perf-num { font-size: 1.2rem; font-weight: 800; color: var(--story-color, var(--da-accent)); line-height: 1; }
.da-perf-desc { font-size: 0.68rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* 하단 배너 */
.da-story-cta-bar {
  background: linear-gradient(90deg, var(--da-primary), var(--da-accent));
  padding: 16px 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  gap: 16px;
}
.da-story-cta-text { color: #fff; font-size: 0.9rem; font-weight: 600; }
.da-story-cta-btn {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.da-story-cta-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ============================================================
   섹션 8: 관련 솔루션 카드
   ============================================================ */
.da-related-sec { padding: 70px 0; background: #fff; }
.da-related-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.da-related-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.da-related-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.da-related-card:hover .da-related-bar { height: 20px; }
.da-related-bar {
  height: 10px;
  background: var(--rel-grad, linear-gradient(90deg, var(--da-primary), var(--da-accent)));
  transition: height 0.25s;
}
.da-related-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.da-related-title { font-size: 1rem; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.da-related-desc  { font-size: 0.83rem; color: #64748b; line-height: 1.6; margin-bottom: 6px; }
.da-related-extra { font-size: 0.76rem; color: #94a3b8; margin-bottom: 14px; }
.da-related-link {
  margin-top: auto;
  color: var(--da-primary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.da-related-link:hover { gap: 8px; color: var(--da-primary); }

/* ============================================================
   섹션 9: CTA 배너
   ============================================================ */
.da-cta-sec {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: #311b92;
}
.da-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(99,102,241,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 80% 20%, rgba(34,211,238,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 300px 250px at 50% 80%, rgba(245,158,11,0.08) 0%, transparent 70%);
  animation: daMesh 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes daMesh {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 30% 20%; }
  100% { background-position: -20% 10%; }
}
#daCtaCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.da-cta-inner { position: relative; z-index: 10; }
.da-cta-left  { }
.da-cta-title { font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight:800; color:#fff; margin-bottom:12px; line-height:1.3; }
.da-cta-desc  { color:rgba(255,255,255,0.7); font-size:0.9rem; line-height:1.7; margin-bottom:24px; }

.da-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: var(--da-primary);
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.da-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.15), transparent);
  animation: daShimmer 2s linear infinite;
}
@keyframes daShimmer { to { left: 160%; } }
.da-btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,0.3); color: var(--da-primary); }

.da-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.da-btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); color: #fff; }

.da-cta-note {
  margin-top: 16px;
  color: rgba(255,255,255,0.45);
  font-size: 0.76rem;
}
.da-cta-note span { margin: 0 8px; color: rgba(255,255,255,0.25); }

/* 우측 도입 단계 미니 카드 */
.da-cta-steps { position: relative; }
.da-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.da-step-item.visible { opacity: 1; transform: translateX(0); }
.da-step-num {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--da-primary), var(--da-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  position: relative;
}
.da-step-num::after {
  content: '';
  position: absolute;
  top: 34px; left: 50%;
  width: 2px; height: 18px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
}
.da-step-item:last-child .da-step-num::after { display: none; }
.da-step-text { }
.da-step-title { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.da-step-desc  { font-size: 0.76rem; color: rgba(255,255,255,0.5); line-height: 1.45; }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 991px) {
  .da-hero { height: auto; min-height: 420px; padding: 80px 0 60px; }
  .da-hero-card { display: none; }
  .da-viz-cards  { grid-template-columns: 1fr; gap: 16px; }
  .da-apps-grid  { grid-template-columns: repeat(2,1fr); }
  .da-patent-cards { grid-template-columns: repeat(2,1fr); }
  .da-related-cards { grid-template-columns: 1fr; }
  .da-dash-grid  { grid-template-columns: 1fr 1fr; }
  .da-story-big  { font-size: clamp(2rem,5vw,3.5rem); }
  .da-story-cards { gap: 12px; }
  .da-story-card { margin-bottom: 0; }
  .da-counter-wrap { gap: 10px; }
  .da-counter-item { min-width: 140px; max-width: 160px; }
}
@media (max-width: 767px) {
  .da-subnav ul { overflow-x: auto; }
  .da-pipe-nodes { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .da-pipe-connector { display: none; }
  .da-pipe-step { max-width: 130px; }
  .da-apps-grid  { grid-template-columns: repeat(2,1fr); }
  .da-patent-cards { grid-template-columns: 1fr; }
  .da-story-sec .row { flex-direction: column; }
  .da-dash-grid { grid-template-columns: 1fr; }
  .da-cta-steps { margin-top: 36px; }
  .da-counter-wrap { justify-content: space-around; }
  .da-counter-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .da-counter-item:last-child { border-bottom: none; }
}
@media (max-width: 575px) {
  .da-apps-grid   { grid-template-columns: 1fr; }
  .da-stat-cards  { grid-template-columns: 1fr; }
}
