@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700;900&family=JetBrains+Mono:wght@500;600;700&display=swap");

/* ==========================================================================
   Design System: Root & Theme Tokens
   ========================================================================== */

:root {
  /* 폰트 패밀리 기본 설정 */
  --font-family-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-serif: "Noto Serif KR", "Batang", "KoPubWorldBatang", serif;
  --font-family-base: var(--font-family-sans);
  --font-family-mono: "JetBrains Mono", Menlo, Consolas, Monaco, monospace;

  /* 타이포그래피 스케일 (1920x1080 캔버스 기준 대폭 상향) */
  --font-size-hero: 84px;
  --line-height-hero: 1.15;
  --letter-spacing-hero: -0.035em;
  --font-weight-hero: 800;

  --font-size-title: 58px;
  --line-height-title: 1.22;
  --letter-spacing-title: -0.025em;
  --font-weight-title: 800;

  --font-size-h2: 44px;
  --line-height-h2: 1.28;
  --letter-spacing-h2: -0.02em;
  --font-weight-h2: 700;

  --font-size-h3: 32px;
  --line-height-h3: 1.35;
  --letter-spacing-h3: -0.015em;
  --font-weight-h3: 700;

  --font-size-body-lg: 26px;
  --line-height-body-lg: 1.6;
  --letter-spacing-body-lg: -0.01em;
  --font-weight-body-lg: 500;

  --font-size-body: 22px;
  --line-height-body: 1.68;
  --letter-spacing-body: -0.008em;
  --font-weight-body: 400;

  --font-size-caption: 16px;
  --line-height-caption: 1.5;
  --letter-spacing-caption: 0.02em;
  --font-weight-caption: 600;

  /* 둥글기 (Border Radius) */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* 트랜지션 */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 280ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-theme: 300ms ease;
}

/* 서체 동적 전환 토큰 */
[data-font="sans"] {
  --font-family-base: var(--font-family-sans);
}
[data-font="malgun"] {
  --font-family-base: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
}
[data-font="serif"] {
  --font-family-base: var(--font-family-serif);
}

/* --------------------------------------------------------------------------
   Theme 1: Business Blue (세련된 비즈니스 딥 네이비 & 일렉트릭 블루)
   -------------------------------------------------------------------------- */
:root,
[data-theme="business-blue"] {
  --canvas-bg: #090e1a;
  --canvas-bg-pattern: radial-gradient(circle at 10% 15%, rgba(26, 75, 140, 0.32) 0%, transparent 45%),
                       radial-gradient(circle at 90% 85%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
                       radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
                       linear-gradient(180deg, #090e1a 0%, #050811 100%);

  --surface-primary: rgba(18, 29, 56, 0.72);
  --surface-secondary: rgba(24, 39, 73, 0.55);
  --surface-hover: rgba(36, 58, 107, 0.82);
  --surface-border: rgba(100, 150, 255, 0.18);
  --surface-border-bright: rgba(56, 189, 248, 0.4);
  --surface-backdrop-blur: 16px;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #7e93b3;
  --text-inverse: #090e1a;

  --brand-primary: #2563eb;
  --brand-secondary: #0ea5e9;
  --brand-accent: #38bdf8;
  --brand-glow: rgba(56, 189, 248, 0.25);
  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #0ea5e9 55%, #38bdf8 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(14, 165, 233, 0.1) 100%);

  --tag-bg: rgba(37, 99, 235, 0.18);
  --tag-text: #60a5fa;
  --tag-border: rgba(96, 165, 250, 0.32);

  --shadow-sm: 0 4px 12px rgba(3, 8, 20, 0.35);
  --shadow-md: 0 10px 30px rgba(2, 6, 18, 0.45);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 8px 28px -4px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.08);

  --header-badge-bg: rgba(37, 99, 235, 0.15);
  --header-badge-color: #38bdf8;
  --footer-border-color: rgba(255, 255, 255, 0.08);

  --quote-mark-color: rgba(56, 189, 248, 0.12);
  --step-circle-bg: rgba(37, 99, 235, 0.2);
  --step-line-color: rgba(96, 165, 250, 0.25);
}

/* --------------------------------------------------------------------------
   Theme 2: Minimal White (우아하고 정돈된 클린 화이트 & 코발트)
   -------------------------------------------------------------------------- */
[data-theme="minimal-white"] {
  --canvas-bg: #f8fafc;
  --canvas-bg-pattern: radial-gradient(circle at 15% 15%, rgba(226, 232, 240, 0.75) 0%, transparent 42%),
                       radial-gradient(circle at 85% 85%, rgba(219, 234, 254, 0.65) 0%, transparent 45%),
                       radial-gradient(circle at 50% 50%, rgba(241, 245, 249, 0.5) 0%, transparent 60%),
                       linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --surface-primary: rgba(255, 255, 255, 0.88);
  --surface-secondary: #f1f5f9;
  --surface-hover: #ffffff;
  --surface-border: #e2e8f0;
  --surface-border-bright: rgba(37, 99, 235, 0.35);
  --surface-backdrop-blur: 12px;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --brand-primary: #1d4ed8;
  --brand-secondary: #2563eb;
  --brand-accent: #0284c7;
  --brand-glow: rgba(29, 78, 216, 0.12);
  --brand-gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #0284c7 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(2, 132, 199, 0.04) 100%);

  --tag-bg: #eff6ff;
  --tag-text: #1d4ed8;
  --tag-border: #bfdbfe;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);

  --header-badge-bg: #eff6ff;
  --header-badge-color: #1d4ed8;
  --footer-border-color: #e2e8f0;

  --quote-mark-color: rgba(29, 78, 216, 0.07);
  --step-circle-bg: #e0e7ff;
  --step-line-color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   Theme 3: Dark Navy (칠흑의 고급스러운 모던 다크 & 인디고)
   -------------------------------------------------------------------------- */
[data-theme="dark-navy"] {
  --canvas-bg: #07090e;
  --canvas-bg-pattern: radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.2) 0%, transparent 45%),
                       radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 45%),
                       linear-gradient(180deg, #07090e 0%, #030407 100%);

  --surface-primary: rgba(17, 24, 39, 0.85);
  --surface-secondary: rgba(31, 41, 55, 0.65);
  --surface-hover: rgba(55, 65, 81, 0.8);
  --surface-border: rgba(75, 85, 99, 0.35);
  --surface-border-bright: rgba(129, 140, 248, 0.5);
  --surface-backdrop-blur: 16px;

  --text-primary: #f3f4f6;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --text-inverse: #07090e;

  --brand-primary: #4f46e5;
  --brand-secondary: #6366f1;
  --brand-accent: #818cf8;
  --brand-glow: rgba(129, 140, 248, 0.25);
  --brand-gradient: linear-gradient(135deg, #4338ca 0%, #4f46e5 55%, #818cf8 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(129, 140, 248, 0.08) 100%);

  --tag-bg: rgba(79, 70, 229, 0.2);
  --tag-text: #a5b4fc;
  --tag-border: rgba(165, 180, 252, 0.3);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.7);
  --shadow-card: 0 8px 28px -4px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.06);

  --header-badge-bg: rgba(79, 70, 229, 0.18);
  --header-badge-color: #818cf8;
  --footer-border-color: rgba(255, 255, 255, 0.06);

  --quote-mark-color: rgba(129, 140, 248, 0.12);
  --step-circle-bg: rgba(79, 70, 229, 0.25);
  --step-line-color: rgba(129, 140, 248, 0.25);
}

/* --------------------------------------------------------------------------
   Theme 4: Modern Emerald (친환경·스마트 딥 에메랄드 & 민트)
   -------------------------------------------------------------------------- */
[data-theme="modern-emerald"] {
  --canvas-bg: #04140d;
  --canvas-bg-pattern: radial-gradient(circle at 15% 15%, rgba(5, 150, 105, 0.25) 0%, transparent 45%),
                       radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
                       linear-gradient(180deg, #04140d 0%, #020b07 100%);

  --surface-primary: rgba(10, 46, 32, 0.75);
  --surface-secondary: rgba(6, 78, 59, 0.55);
  --surface-hover: rgba(4, 120, 87, 0.75);
  --surface-border: rgba(52, 211, 153, 0.22);
  --surface-border-bright: rgba(52, 211, 153, 0.5);
  --surface-backdrop-blur: 16px;

  --text-primary: #ecfdf5;
  --text-secondary: #a7f3d0;
  --text-muted: #6ee7b7;
  --text-inverse: #04140d;

  --brand-primary: #059669;
  --brand-secondary: #10b981;
  --brand-accent: #34d399;
  --brand-glow: rgba(52, 211, 153, 0.25);
  --brand-gradient: linear-gradient(135deg, #047857 0%, #059669 55%, #34d399 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(5, 150, 105, 0.22) 0%, rgba(52, 211, 153, 0.08) 100%);

  --tag-bg: rgba(5, 150, 105, 0.22);
  --tag-text: #6ee7b7;
  --tag-border: rgba(110, 231, 183, 0.35);

  --shadow-sm: 0 4px 12px rgba(2, 11, 7, 0.4);
  --shadow-md: 0 10px 30px rgba(2, 11, 7, 0.55);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 8px 28px -4px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.06);

  --header-badge-bg: rgba(5, 150, 105, 0.2);
  --header-badge-color: #34d399;
  --footer-border-color: rgba(255, 255, 255, 0.06);

  --quote-mark-color: rgba(52, 211, 153, 0.12);
  --step-circle-bg: rgba(5, 150, 105, 0.25);
  --step-line-color: rgba(52, 211, 153, 0.25);
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-family-base);
  background-color: #05070e;
  color: var(--text-primary);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* 한국어 단어 단위 줄바꿈 및 자연스러운 텍스트 밸런싱 */
h1, h2, h3, h4, h5, h6, p, span, li, blockquote, div {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: loose;
}

h1, h2, h3, .card-title, .metric-head-title, .quote-hero-statement {
  text-wrap: balance;
}

/* ==========================================================================
   App Viewport Wrapper & Controls Toolbar
   ========================================================================== */

.app-container {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  background: #060913;
  position: relative;
}

.toolbar {
  height: 60px;
  background: rgba(13, 19, 36, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  flex-shrink: 0;
}

.toolbar-left, .toolbar-center, .toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.toolbar-title {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.subbar-left {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 템플릿 전환 탭 버튼 그룹 (15장 탭 가로 스크롤 완벽 지원) */
.slide-nav-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 2px;
  overflow-x: auto;
  max-width: 100%;
  white-space: nowrap;
  scrollbar-width: none;
}
.slide-nav-tabs::-webkit-scrollbar {
  display: none;
}

.slide-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.slide-tab-btn:hover {
  color: #f1f5f9;
}

.slide-tab-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

/* 이전/다음 버튼 그룹 */
.slide-arrow-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-arrow-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.nav-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.slide-counter {
  font-family: var(--font-family-mono);
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  padding: 0 6px;
}

/* 테마 선택기 */
.theme-pill-group {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
}

.theme-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-btn:hover {
  color: #ffffff;
}

.theme-btn.active {
  background: #2563eb;
  color: #ffffff;
}

/* 상단 툴바 액션 버튼 (전체보기, 레이아웃 변경) */
.toolbar-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-btn {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e2e8f0;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 5px;
}

.tool-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.canvas-scale-indicator {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  font-family: var(--font-family-mono);
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   16:9 Slide Stage & Viewport Engine
   ========================================================================== */

.stage-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

/* 16:9 비율 유지용 가상 1920x1080 캔버스 프레임 */
.slide-frame {
  position: relative;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease-out;
  overflow: hidden;
}

/* 슬라이드 캔버스 컨테이너 */
.slide-canvas {
  width: 100%;
  height: 100%;
  background: var(--canvas-bg-pattern);
  background-color: var(--canvas-bg);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 64px 84px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, background var(--transition-theme), color var(--transition-theme);
  transform: scale(0.985);
}

.slide-canvas.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: scale(1);
}

/* ==========================================================================
   공통 헤더 & 푸터 구조 (안전 여백 확보)
   ========================================================================== */

.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-shrink: 0;
}

.slide-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.slide-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-caption);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--header-badge-bg);
  color: var(--header-badge-color);
  border: 1px solid var(--surface-border);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.slide-category {
  font-size: var(--font-size-caption);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.slide-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--footer-border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: var(--font-size-caption);
}

.slide-page-number {
  font-family: var(--font-family-mono);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 슬라이드 본문 안전 영역 */
.slide-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0; /* 내부 flex 오버플로우 방지 */
}

.headline-section {
  margin-bottom: 40px;
  flex-shrink: 0;
}

.headline-subtitle {
  margin-top: 12px;
  color: var(--text-secondary);
  max-width: 1200px;
  line-height: var(--line-height-body-lg);
}

/* ==========================================================================
   Typography Classes
   ========================================================================== */

.text-hero {
  font-size: var(--font-size-hero);
  line-height: var(--line-height-hero);
  letter-spacing: var(--letter-spacing-hero);
  font-weight: var(--font-weight-hero);
}

.text-title {
  font-size: var(--font-size-title);
  line-height: var(--line-height-title);
  letter-spacing: var(--letter-spacing-title);
  font-weight: var(--font-weight-title);
}

.text-h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  letter-spacing: var(--letter-spacing-h2);
  font-weight: var(--font-weight-h2);
}

.text-h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  letter-spacing: var(--letter-spacing-h3);
  font-weight: var(--font-weight-h3);
}

.text-body-lg {
  font-size: var(--font-size-body-lg);
  line-height: var(--line-height-body-lg);
  letter-spacing: var(--letter-spacing-body-lg);
  font-weight: var(--font-weight-body-lg);
}

.text-body {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  font-weight: var(--font-weight-body);
}

.text-caption {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  letter-spacing: var(--letter-spacing-caption);
  font-weight: var(--font-weight-caption);
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   TEMPLATE 1: HERO_COVER (표지 템플릿)
   ========================================================================== */

.template-hero-cover {
  justify-content: space-between;
  padding: 80px 100px;
}

/* 배경 프리미엄 장식 링 & 그리드 */
.template-hero-cover::after {
  content: "";
  position: absolute;
  top: -15%;
  right: -5%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: var(--brand-gradient-subtle);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-cover-top {
  position: relative;
  z-index: 1;
}

.hero-cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--tag-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}

.hero-cover-title {
  font-size: 72px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 1400px;
  margin-bottom: 24px;
}

.hero-cover-subtitle {
  font-size: 24px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 1100px;
  font-weight: 400;
}

.hero-cover-divider {
  width: 120px;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
  margin-top: 36px;
}

/* 표지 하단 작성자 정보 카드 */
.hero-cover-meta-grid {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
  padding-top: 32px;
  border-top: 1px solid var(--footer-border-color);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-meta-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-meta-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   TEMPLATE 2: BIG_NUMBERS (수치 강조 템플릿)
   ========================================================================== */

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: auto;
  margin-bottom: auto;
}

.metric-highlight-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.metric-highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
}

.metric-highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-bright);
}

.metric-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.metric-big-num {
  font-size: 88px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: var(--font-family-base);
  color: var(--text-primary);
}

.metric-unit {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-accent);
}

.metric-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-left: auto;
  align-self: flex-start;
}

.metric-head-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.metric-desc-text {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: auto;
}

/* ==========================================================================
   TEMPLATE 3: FEATURE_CARDS (3단 카드 템플릿)
   ========================================================================== */

.cards-container-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  margin-top: 16px;
  margin-bottom: 8px;
}

.feature-column-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature-column-card:hover {
  transform: translateY(-6px);
  border-color: var(--surface-border-bright);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.feature-icon-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-subtle);
  border: 1px solid var(--surface-border);
  display: grid;
  place-items: center;
  font-size: 34px;
  color: var(--brand-accent);
}

.feature-step-tag {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-family-mono);
  color: var(--brand-accent);
  background: var(--tag-bg);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
}

.feature-card-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.28;
}

.feature-card-desc {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-column-card.content-sparse .feature-card-desc {
  font-size: 26px;
  line-height: 1.75;
  font-weight: 500;
  color: var(--text-primary);
}

.feature-card-points {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-point-item {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-column-card.content-sparse .feature-point-item {
  font-size: 23px;
  line-height: 1.65;
  color: var(--text-primary);
}

.feature-point-item::before {
  content: "✓";
  color: var(--brand-accent);
  font-weight: 900;
  margin-top: 2px;
}

/* ==========================================================================
   TEMPLATE 4: PROCESS_STEPS (프로세스 4단계 템플릿)
   ========================================================================== */

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
  flex: 1;
  position: relative;
  margin-top: auto;
  margin-bottom: auto;
  min-height: 480px;
}

/* 스텝 연결 커넥터 선 */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 74px;
  left: 60px;
  right: 60px;
  height: 4px;
  background: var(--step-line-color);
  z-index: 0;
}

.process-step-node {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 42px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.process-step-node:hover {
  transform: translateY(-5px);
  border-color: var(--surface-border-bright);
}

.step-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.step-number-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--canvas-bg);
  border: 2px solid var(--brand-primary);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-family-mono);
  box-shadow: 0 0 20px var(--brand-glow);
}

.step-arrow-badge {
  font-size: 24px;
  color: var(--brand-accent);
}

.step-node-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.35;
}

.step-node-desc {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 20px;
}

.process-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-left: 0;
}

.process-point-item {
  font-size: 20px;
  color: var(--text-primary);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.process-point-item::before {
  content: "•";
  color: var(--brand-accent);
  font-size: 24px;
  line-height: 1;
  margin-top: -2px;
}

.step-action-tag {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 15px;
  font-weight: 700;
  width: fit-content;
}

/* ==========================================================================
   TEMPLATE 5: QUOTE_STATEMENT (메시지 강조 템플릿)
   ========================================================================== */

.template-quote-statement {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 140px;
}

/* 배경 거대 따옴표 워터마크 */
.quote-watermark {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 420px;
  font-family: Georgia, serif;
  color: var(--quote-mark-color);
  font-weight: 900;
  line-height: 0;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* 중앙 글로우 */
.quote-aura-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  background: var(--brand-gradient-subtle);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.quote-center-content {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-badge-lead {
  margin-bottom: 32px;
}

.quote-hero-statement {
  font-size: 48px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 32px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.quote-hero-statement mark {
  background: none;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 4px;
}

.quote-explanation {
  font-size: 22px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 1000px;
  margin-bottom: 44px;
}

.quote-author-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.quote-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.quote-author-info {
  text-align: left;
}

.quote-author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.quote-author-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   TEMPLATE 6: COMPARISON_VS (좌우 대비 비교 템플릿)
   ========================================================================== */

.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  flex: 1;
  min-height: 0;
  position: relative;
  align-items: stretch;
  margin-top: 8px;
}

/* 중앙 VS 엠블럼 */
.vs-divider-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand-gradient);
  border: 4px solid var(--canvas-bg);
  box-shadow: 0 0 24px var(--brand-glow);
  display: grid;
  place-items: center;
  font-family: var(--font-family-mono);
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
  z-index: 5;
}

.comparison-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.comparison-card.card-asis {
  border-color: rgba(239, 68, 68, 0.25);
}

.comparison-card.card-tobe {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(180deg, var(--surface-primary) 0%, var(--surface-secondary) 100%);
}

.comparison-card.card-tobe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
}

.comparison-card:hover {
  transform: translateY(-4px);
}

.compare-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.card-asis .compare-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.card-tobe .compare-tag {
  background: rgba(37, 99, 235, 0.25);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.compare-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.compare-desc {
  font-size: 22px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.compare-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
  margin-top: auto;
}

.compare-point-item {
  font-size: 21px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}

.card-asis .compare-point-item::before {
  content: "✕";
  color: #f87171;
  font-weight: 800;
}

.card-tobe .compare-point-item::before {
  content: "✓";
  color: var(--brand-accent);
  font-weight: 800;
}

/* ==========================================================================
   TEMPLATE 7: TIMELINE_FLOW (선형 흐름선 로드맵 템플릿)
   ========================================================================== */

.timeline-flow-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
  flex: 1;
  min-height: 480px;
  position: relative;
  margin-top: auto;
  margin-bottom: auto;
}

/* 가로 연결선 */
.timeline-flow-container::before {
  content: "";
  position: absolute;
  top: 68px;
  left: 60px;
  right: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  border-radius: var(--radius-full);
  z-index: 0;
}

.timeline-node-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.timeline-node-card:hover {
  transform: translateY(-5px);
  border-color: var(--surface-border-bright);
}

.timeline-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.timeline-date-chip {
  font-family: var(--font-family-mono);
  font-size: 16px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  background: var(--canvas-bg);
  border: 1px solid var(--brand-primary);
  color: var(--brand-accent);
}

.timeline-phase-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-node-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.timeline-node-desc {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 20px;
}

.timeline-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-left: 0;
}

.timeline-point-item {
  font-size: 20px;
  color: var(--text-primary);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.timeline-point-item::before {
  content: "•";
  color: var(--brand-accent);
  font-size: 24px;
  line-height: 1;
  margin-top: -2px;
}

.timeline-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-top: auto;
}

.status-completed {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-progress {
  background: rgba(37, 99, 235, 0.22);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.4);
}

.status-planned {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border: 1px solid var(--surface-border);
}

/* ==========================================================================
   TEMPLATE 8: MATRIX_2X2 (2x2 사분면 도표 템플릿)
   ========================================================================== */

.matrix-2x2-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 480px;
  margin-top: auto;
  margin-bottom: auto;
}

.matrix-axis-y-label {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 28px;
  flex: 1;
  min-height: 0;
  padding-left: 20px;
}

.quadrant-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.quadrant-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-bright);
}

.quadrant-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.quad-num-badge {
  font-family: var(--font-family-mono);
  font-size: 22px;
  font-weight: 900;
  color: var(--brand-accent);
}

.quad-tag {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--tag-bg);
  color: var(--tag-text);
  border: 1px solid var(--tag-border);
}

.quad-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.quad-desc {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.68;
}

.matrix-axis-x-label {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   TEMPLATE 9: SINGLE_HERO_STAT (단일 대형 지표 템플릿)
   ========================================================================== */

.single-hero-stat-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  flex: 1;
  min-height: 0;
}

/* 좌측 대형 메트릭 링 */
.hero-stat-display-box {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-stat-display-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--brand-glow) 0%, transparent 60%);
  pointer-events: none;
}

.mega-number-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.mega-stat-number {
  font-size: 130px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  font-family: var(--font-family-base);
}

.mega-stat-unit {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-accent);
}

.mega-stat-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.mega-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  position: relative;
  z-index: 1;
}

/* 우측 심층 해석 카드 */
.hero-stat-detail-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-detail-headline {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.stat-detail-note {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.stat-proof-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
}

.stat-proof-item {
  font-size: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-proof-item::before {
  content: "✓";
  color: var(--brand-accent);
  font-weight: 800;
}

/* ==========================================================================
   TEMPLATE 10: IMAGE_TEXT_HERO (미디어+텍스트 결합형 템플릿)
   ========================================================================== */

.image-text-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  margin-top: 8px;
}

/* 좌측 비주얼 쇼케이스 박스 */
.media-showcase-box {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.media-showcase-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, var(--brand-glow) 0%, transparent 60%);
  pointer-events: none;
}

.showcase-icon-symbol {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  font-size: 34px;
  color: #ffffff;
  box-shadow: 0 10px 24px var(--brand-glow);
  margin-bottom: 24px;
}

.showcase-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.showcase-metric-highlight {
  font-size: 52px;
  font-weight: 900;
  color: var(--brand-accent);
  font-family: var(--font-family-base);
  margin: 16px 0 8px 0;
}

.showcase-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 우측 텍스트 인사이트 카드 */
.text-insight-box {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-headline {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.insight-body-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.insight-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--surface-border);
}

.insight-check-item {
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.insight-check-item::before {
  content: "✓";
  color: var(--brand-accent);
  font-weight: 800;
}


/* ==========================================================================
   AI Slide Generator Modal & UI Controls
   ========================================================================== */

.ai-generate-btn {
  background: var(--brand-gradient);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: all var(--transition-fast);
}

.ai-generate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 24px;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.generator-modal {
  width: 100%;
  max-width: 780px;
  background: var(--canvas-bg);
  background-color: #0d1527;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 36px 40px;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="minimal-white"] .generator-modal {
  background-color: #ffffff;
  color: #0f172a;
}

.modal-backdrop.open .generator-modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-title-group h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-title-group p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.sample-chips-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sample-chip-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.sample-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
}

[data-theme="minimal-white"] .sample-chip-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #334155;
}

.sample-chip-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.prompt-textarea {
  width: 100%;
  height: 220px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
  resize: vertical;
  outline: none;
  transition: border-color var(--transition-fast);
}

[data-theme="minimal-white"] .prompt-textarea {
  background: #f8fafc;
  color: #0f172a;
}

.prompt-textarea:focus {
  border-color: var(--brand-accent);
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.modal-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
}

[data-theme="minimal-white"] .btn-secondary {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-primary {
  background: var(--brand-gradient);
  border: none;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--brand-glow);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 로딩 스피너 */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Split Studio Workspace (좌측 입력 패널 + 우측 슬라이드 뷰어)
   ========================================================================== */

.studio-workspace {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* 좌측 입력 사이드바 */
.studio-sidebar {
  width: 440px;
  background: rgba(13, 21, 39, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 24px;
  gap: 16px;
  z-index: 50;
  transition: margin-left 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  overflow-y: auto;
}

[data-theme="minimal-white"] .studio-sidebar {
  background: #ffffff;
  border-right-color: var(--surface-border);
}

.studio-sidebar.collapsed {
  margin-left: -440px;
  opacity: 0;
  pointer-events: none;
}

.sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--tag-bg);
  color: var(--tag-text);
  border: 1px solid var(--tag-border);
  width: fit-content;
  letter-spacing: 0.04em;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.sidebar-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.sidebar-sample-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
}

[data-theme="minimal-white"] .sidebar-sample-chips {
  background: #f8fafc;
}

.sidebar-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="minimal-white"] .sidebar-chip-btn {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #334155;
}

.sidebar-chip-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* 슬라이드 장수 모드 & 슬라이더 컨트롤 */
.length-control-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
}

[data-theme="minimal-white"] .length-control-section {
  background: #f8fafc;
}

.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.section-badge-hint {
  font-size: 11px;
  color: var(--brand-accent);
  font-weight: 600;
}

.length-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--surface-border);
}

[data-theme="minimal-white"] .length-mode-toggle {
  background: #e2e8f0;
}

.mode-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mode-toggle-btn:hover {
  color: var(--text-primary);
}

.mode-toggle-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--brand-glow);
}

.custom-length-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--surface-border);
}

.slider-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.slider-label {
  color: var(--text-muted);
}

.slider-val-display {
  font-weight: 800;
  color: var(--brand-accent);
  font-size: 13px;
}

.length-range-slider {
  width: 100%;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

.slider-presets-row {
  display: flex;
  gap: 4px;
}

.preset-chip-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 5px 0;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

[data-theme="minimal-white"] .preset-chip-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

.preset-chip-btn:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--brand-primary);
  color: var(--text-primary);
}

.preset-chip-btn.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

/* 문서 파일 드롭존 */
.file-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed var(--surface-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  position: relative;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--brand-accent);
}

.file-input-hidden {
  display: none !important;
}

.file-drop-icon {
  font-size: 28px;
}

.file-drop-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.file-drop-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.file-selected-badge {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
}

.file-selected-badge.show {
  display: flex;
}

.btn-clear-file {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
}
.btn-clear-file:hover {
  color: #ef4444;
}

.sidebar-textarea-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.sidebar-textarea {
  flex: 1;
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  resize: none;
  outline: none;
  transition: border-color var(--transition-fast);
}

[data-theme="minimal-white"] .sidebar-textarea {
  background: #f8fafc;
  color: #0f172a;
}

.sidebar-textarea:focus {
  border-color: var(--brand-accent);
}

.sidebar-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.btn-sidebar-generate {
  width: 100%;
  background: var(--brand-gradient);
  border: none;
  color: #ffffff;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: all var(--transition-fast);
}

.btn-sidebar-generate:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--brand-glow);
}

.btn-sidebar-generate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 파워포인트 PPTX 다운로드 버튼 */
.btn-download-pptx {
  width: 100%;
  background: linear-content;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  border: none;
  color: #ffffff;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  transition: all var(--transition-fast);
}

.btn-download-pptx:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
}

.sidebar-deck-stats {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* 우측 슬라이드 뷰어 컨테이너 */
.studio-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  position: relative;
}

/* 우측 상단 네비게이션 서브 툴바 */
.studio-subbar {
  height: 48px;
  background: rgba(10, 16, 32, 0.7);
  border-bottom: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
  z-index: 10;
}

[data-theme="minimal-white"] .studio-subbar {
  background: rgba(248, 250, 252, 0.85);
}

.subbar-left, .subbar-center, .subbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-sidebar-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

[data-theme="minimal-white"] .toggle-sidebar-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

.toggle-sidebar-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* ==========================================================================
   New Enterprise Features: Font Selector & Theme Chips
   ========================================================================== */

.font-pill-group {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
}

[data-theme="minimal-white"] .font-pill-group {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.font-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

[data-theme="minimal-white"] .font-btn {
  color: #64748b;
}

.font-btn:hover {
  color: #ffffff;
}

[data-theme="minimal-white"] .font-btn:hover {
  color: #0f172a;
}

.font-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
}

/* ==========================================================================
   Target Slide Length Selector (5장 / 10장 / 15장)
   ========================================================================== */

.length-control-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.section-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.section-badge-hint {
  font-size: 11px;
  color: var(--brand-accent);
  font-weight: 600;
}

.length-segment-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  gap: 4px;
}

[data-theme="minimal-white"] .length-segment-wrap {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.length-segment-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all var(--transition-fast);
}

.length-segment-btn span.count-num {
  font-size: 14px;
  font-weight: 800;
}

.length-segment-btn span.count-desc {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
}

.length-segment-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.length-segment-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--brand-glow);
}

/* ==========================================================================
   Document File Upload Drop Zone (PDF / DOCX / HWP / HWPX)
   ========================================================================== */

.file-drop-zone {
  border: 2px dashed var(--surface-border-bright);
  background: rgba(14, 165, 233, 0.04);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--brand-accent);
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.file-drop-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.file-drop-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.file-drop-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-selected-badge {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid var(--brand-primary);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--brand-accent);
}

.file-selected-badge.show {
  display: flex;
}

.file-badge-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  max-width: 200px;
}

.btn-clear-file {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-weight: bold;
  padding: 0 4px;
}

/* ==========================================================================
   Media Showcase with High-Res Image Overlay
   ========================================================================== */

.media-showcase-box.has-image {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.showcase-img-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 14, 26, 0.5) 0%, rgba(9, 14, 26, 0.88) 75%, rgba(9, 14, 26, 0.96) 100%);
}

.showcase-content-layer {
  position: relative;
  z-index: 2;
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ==========================================================================
   Slide Loading Overlay (AI 정밀 조판 진행 피드백)
   ========================================================================== */

.slide-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 9, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 40px;
  animation: fadeIn 0.25s ease-out;
}

[data-theme="minimal-white"] .slide-loading-overlay {
  background: rgba(248, 250, 252, 0.92);
}

.loading-spinner-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid rgba(56, 189, 248, 0.15);
  border-top-color: var(--brand-accent);
  border-right-color: var(--brand-primary);
  animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  margin-bottom: 24px;
}

.loading-icon-ai {
  font-size: 32px;
  margin-bottom: 12px;
  animation: pulseGlow 1.5s ease-in-out infinite;
}

.loading-main-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.loading-sub-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  text-align: center;
  max-width: 500px;
}

.loading-progress-bar {
  width: 320px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.loading-progress-fill {
  width: 100%;
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 999px;
  animation: progressIndeterminate 1.8s ease-in-out infinite;
  transform-origin: left;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 12px var(--brand-accent)); }
}

@keyframes progressIndeterminate {
  0% { transform: translateX(-100%) scaleX(0.2); }
  50% { transform: translateX(0%) scaleX(0.8); }
  100% { transform: translateX(100%) scaleX(0.2); }
}

/* ==========================================================================
   지능형 가변 조판 (Adaptive Density) & 보조 배지 스타일
   ========================================================================== */

.auto-density-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--tag-text);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.4s ease-out;
}

.content-sparse {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.content-sparse .feature-card-desc,
.content-sparse .compare-desc,
.content-sparse .timeline-node-desc {
  font-size: 25px !important;
  line-height: 1.75 !important;
}

.content-sparse .feature-card-title,
.content-sparse .compare-title,
.content-sparse .timeline-node-title {
  font-size: 34px !important;
  line-height: 1.35 !important;
}

/* ==========================================================================
   실시간 3단계 진행 상태 안내 (Multi-Stage Progress Tracker)
   ========================================================================== */

.loading-stage-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  margin-top: 24px;
}

.stage-step-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.3s ease;
}

.stage-step-pill.active {
  background: var(--brand-gradient-subtle);
  border-color: var(--brand-accent);
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: 0 0 16px var(--brand-glow);
  transform: scale(1.02);
}

.stage-step-pill.completed {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--success);
}

.stage-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: inherit;
}

.stage-step-pill.active .stage-step-num {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 0 8px var(--brand-glow);
}

.stage-step-pill.completed .stage-step-num {
  background: var(--success);
  color: #fff;
}

.stage-step-label {
  flex: 1;
  text-align: left;
}

/* ==========================================================================
   Flexible Slide Length Controls (AI Auto + Custom Slider)
   ========================================================================== */
.length-mode-toggle {
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}

.mode-toggle-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mode-toggle-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-accent);
  box-shadow: 0 2px 10px var(--brand-glow);
}

.custom-length-panel {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeIn 0.2s ease;
}

.slider-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.slider-label {
  color: var(--text-muted);
  font-weight: 600;
}

.slider-val-display {
  color: var(--brand-accent);
  font-weight: 800;
  font-size: 14px;
}

.length-range-slider {
  width: 100%;
  accent-color: var(--brand-accent);
  cursor: pointer;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.slider-presets-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.preset-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.preset-chip-btn:hover {
  border-color: var(--brand-accent);
  color: #fff;
}

.preset-chip-btn.active {
  background: var(--tag-bg);
  border-color: var(--tag-border);
  color: var(--tag-text);
}

/* ==========================================================================
   NEW LAYOUT 1: PILLARS_3_OR_4 (전략 기둥형 템플릿)
   ========================================================================== */
.template-pillars .pillars-container {
  display: grid;
  grid-template-columns: repeat(var(--pillars-count, 3), 1fr);
  gap: 32px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  margin-top: 16px;
}

.pillar-col-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-col-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--brand-gradient);
}

.pillar-col-card:hover {
  transform: translateY(-6px);
  border-color: var(--surface-border-bright);
}

.pillar-number-badge {
  font-size: 44px;
  font-weight: 900;
  font-family: var(--font-family-mono);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 20px;
}

.pillar-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.pillar-items-list {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-item {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pillar-item::before {
  content: "■";
  color: var(--brand-accent);
  font-size: 14px;
  margin-top: 5px;
}

/* ==========================================================================
   NEW LAYOUT 2: KEY_TAKEAWAYS_LIST (핵심 결론 리스트 템플릿)
   ========================================================================== */
.template-key-takeaways .takeaways-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  justify-content: center;
  margin-top: 12px;
}

.takeaway-row-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 36px 44px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast);
}

.takeaway-row-card:hover {
  transform: translateX(8px);
  border-color: var(--surface-border-bright);
}

.takeaway-seq-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-gradient-subtle);
  border: 2px solid var(--brand-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
  font-family: var(--font-family-mono);
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--brand-glow);
}

.takeaway-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.takeaway-headline {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.takeaway-desc {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.takeaway-tag {
  align-self: flex-start;
  padding: 6px 14px;
  background: var(--tag-bg);
  color: var(--tag-text);
  border: 1px solid var(--tag-border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   NEW LAYOUT 3: SECTION_DIVIDER (대단원 섹션 전환 템플릿)
   ========================================================================== */
.template-section-divider {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 80px 140px !important;
  position: relative;
  overflow: hidden;
  height: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}

.divider-glow-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: var(--brand-gradient-subtle);
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.6;
}

.divider-center-box {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.divider-chapter-num {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-family-mono);
  color: var(--brand-accent) !important;
  background: var(--tag-bg) !important;
  border: 1px solid var(--tag-border) !important;
  padding: 10px 32px;
  border-radius: var(--radius-full);
  letter-spacing: 0.12em;
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.divider-main-title {
  font-size: 78px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary) !important;
  line-height: 1.2;
  margin-bottom: 28px;
}

.divider-subtitle {
  font-size: 28px;
  color: var(--text-secondary) !important;
  line-height: 1.6;
  max-width: 1000px;
}

.divider-bottom-bar {
  width: 180px;
  height: 6px;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
  margin-top: 44px;
  box-shadow: 0 0 20px var(--brand-glow);
}

/* ==========================================================================
   NEW TEMPLATE 1: DATA_TABLE_STANDARD (정밀 비즈니스 데이터 표)
   ========================================================================== */
.template-data-table .data-table-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin-top: 20px;
}

.business-data-table-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  box-shadow: var(--shadow-card);
}

.business-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.business-data-table thead th {
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  padding: 18px 24px;
  letter-spacing: -0.01em;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.business-data-table thead th:last-child {
  border-right: none;
}

.business-data-table tbody td {
  padding: 18px 24px;
  font-size: 19px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--surface-border);
  border-right: 1px solid var(--surface-border);
}

.business-data-table tbody td:last-child {
  border-right: none;
}

.business-data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.business-data-table tbody tr:hover {
  background: var(--surface-hover);
}

.business-data-table tbody tr.table-total-row {
  background: rgba(56, 189, 248, 0.1);
  font-weight: 800;
}

.business-data-table tbody tr.table-total-row td {
  color: var(--text-primary);
  border-bottom: none;
}

.table-highlight-cell {
  color: var(--brand-accent) !important;
  font-weight: 800;
}

/* ==========================================================================
   NEW TEMPLATE 2: PIN_MARKER_PROCESS (위치 핀 마일스톤 프로세스)
   ========================================================================== */
.template-pin-process .pin-process-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
  flex: 1;
}

.pin-process-timeline::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: var(--surface-border);
  z-index: 0;
}

.pin-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 260px;
}

.pin-marker-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--surface-secondary);
  border: 2px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  margin-bottom: 28px;
}

.pin-step-item.is-accent .pin-marker-wrap {
  background: var(--brand-primary);
  border-color: var(--brand-accent);
  box-shadow: 0 0 30px var(--brand-glow);
}

.pin-marker-inner-icon {
  transform: rotate(45deg);
  font-size: 34px;
  color: var(--text-primary);
}

.pin-step-item.is-accent .pin-marker-inner-icon {
  color: #ffffff;
}

.pin-step-content {
  text-align: center;
}

.pin-step-tag {
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-family-mono);
  color: var(--brand-accent);
  background: var(--tag-bg);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 12px;
}

.pin-step-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pin-step-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   NEW TEMPLATE 3: SPLIT_IMAGE_CARDS (1/3 비주얼 분할 카드 그리드)
   ========================================================================== */
.template-split-image .split-layout-grid {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 36px;
  flex: 1;
  min-height: 0;
  margin-top: 16px;
}

.split-left-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--surface-border);
  min-height: 480px;
}

.split-left-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 26, 0.2) 0%, rgba(9, 14, 26, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.split-visual-badge {
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-family-mono);
  color: #38bdf8;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.split-visual-headline {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.split-right-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-card-row {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 26px 32px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.split-card-row:hover {
  transform: translateX(6px);
  border-color: var(--surface-border-bright);
}

.split-card-icon {
  font-size: 32px;
  color: var(--brand-accent);
  background: var(--tag-bg);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.split-card-info h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.split-card-info p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   NEW TEMPLATE 4: TARGET_INFOGRAPHIC (중앙 타겟 과녁 핵심 목표형)
   ========================================================================== */
.template-target-infographic .target-layout-wrap {
  display: grid;
  grid-template-columns: 3.5fr 5fr 3.5fr;
  align-items: center;
  gap: 32px;
  flex: 1;
  min-height: 0;
  margin-top: 10px;
}

.target-flank-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.target-goal-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast);
}

.target-goal-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-bright);
}

.target-goal-card.featured {
  border-color: var(--brand-accent);
  background: rgba(37, 99, 235, 0.18);
}

.target-card-num {
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-family-mono);
  color: var(--brand-accent);
  margin-bottom: 6px;
}

.target-card-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.target-card-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.target-center-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.target-svg-graphic {
  width: 340px;
  height: 340px;
  filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.35));
}

.target-center-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.target-center-badge .target-val {
  font-size: 40px;
  font-weight: 900;
  font-family: var(--font-family-mono);
  color: #ffffff;
}

.target-center-badge .target-lbl {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-accent);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   NEW TEMPLATE 5: DONUT_STATS_TRIO (3련 원형 도넛 게이지 차트)
   ========================================================================== */
.template-donut-stats .donut-trio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  flex: 1;
  align-items: stretch;
  margin-top: 20px;
}

.donut-stat-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.donut-stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--surface-border-bright);
}

.donut-gauge-box {
  position: relative;
  width: 190px;
  height: 190px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
}

.donut-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.donut-bg-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}

.donut-fill-ring {
  fill: none;
  stroke: var(--brand-accent);
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease;
}

.donut-center-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donut-center-num {
  font-size: 42px;
  font-weight: 900;
  font-family: var(--font-family-mono);
  color: var(--text-primary);
  line-height: 1;
}

.donut-unit-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-accent);
  margin-top: 2px;
}

.donut-card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.donut-card-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   NEW TEMPLATE 6: ORGANIZATION_TEAM (핵심 추진 인력 & 조직 거버넌스)
   ========================================================================== */
.template-org-team .team-grid-container {
  display: grid;
  grid-template-columns: repeat(var(--team-cols, 4), 1fr);
  gap: 28px;
  flex: 1;
  align-items: stretch;
  margin-top: 20px;
}

.team-profile-card {
  background: var(--surface-primary);
  backdrop-filter: blur(var(--surface-backdrop-blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.team-profile-card:hover {
  transform: translateY(-6px);
  border-color: var(--surface-border-bright);
}

.team-avatar-frame {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--brand-accent);
  padding: 4px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px var(--brand-glow);
}

.team-avatar-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--brand-gradient-subtle);
  display: grid;
  place-items: center;
  font-size: 38px;
  color: var(--brand-accent);
}

.team-member-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.team-member-role {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-accent);
  background: var(--tag-bg);
  padding: 4px 14px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 16px;
}

.team-career-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--surface-border);
}

.team-career-item {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 14px;
}

.team-career-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-accent);
}

/* ==========================================================================
   NEW TEMPLATE 7: MEGA_CHAPTER_DIVIDER (초대형 넘버링 1/2 분할 간지)
   ========================================================================== */
.template-mega-divider {
  display: grid;
  grid-template-columns: 5fr 7fr;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
}

.mega-divider-left-block {
  background: var(--brand-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 70px;
  position: relative;
  overflow: hidden;
}

.mega-huge-number {
  font-size: 160px;
  font-weight: 900;
  font-family: var(--font-family-mono);
  color: #ffffff;
  line-height: 0.9;
  letter-spacing: -0.05em;
  opacity: 0.95;
  margin-bottom: 16px;
}

.mega-left-label {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
}

.mega-divider-right-block {
  background: var(--canvas-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
}

.mega-chapter-badge {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-family-mono);
  color: var(--brand-accent);
  background: var(--tag-bg);
  padding: 6px 16px;
  border-radius: var(--radius-xs);
  align-self: flex-start;
  margin-bottom: 24px;
}

.mega-chapter-title {
  font-size: 58px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.mega-chapter-desc {
  font-size: 24px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 800px;
}

/* ==========================================================================
   29 NEW ENTERPRISE LAYOUTS (EXPANSION TO 50 LAYOUTS) - TYPOGRAPHY BOOSTED (v5.1)
   1~21페이지와 완벽 동기화된 큼직한 폰트 스케일 및 시원한 1920x1080 꽉 찬 레이아웃
   ========================================================================== */

/* 22. HORIZONTAL_BAR_CHART (가로 막대 비교 차트) */
.template-bar-chart .bar-chart-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
  justify-content: center;
  padding: 20px 40px;
}
.bar-chart-row {
  display: grid;
  grid-template-columns: 280px 1fr 180px;
  align-items: center;
  gap: 32px;
}
.bar-chart-label {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar-chart-track {
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}
.bar-chart-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: var(--radius-md);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-chart-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-accent);
  font-family: var(--font-family-mono);
}

/* 23. VERTICAL_COLUMN_CHART (세로 컬럼 추이 차트) */
.template-column-chart .column-chart-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 32px;
  flex: 1;
  padding: 30px 60px;
  border-bottom: 3px solid var(--surface-border);
  min-height: 480px;
}
.column-chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}
.column-chart-bar-wrap {
  width: 100%;
  max-width: 120px;
  height: 380px;
  display: flex;
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.column-chart-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, var(--brand-accent), var(--brand-primary));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: height 0.8s ease;
  box-shadow: 0 -4px 20px var(--brand-glow);
}
.column-chart-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  font-family: var(--font-family-mono);
}
.column-chart-lbl {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-secondary);
}

/* 24. LINE_TREND_CHART (라인 성장 곡선 차트) */
.template-line-chart .line-chart-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 10px 20px;
}
.line-chart-svg {
  width: 100%;
  height: 400px;
  overflow: visible;
}
.line-chart-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.line-metric-box {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.line-metric-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--brand-accent);
  font-family: var(--font-family-mono);
}
.line-metric-tit {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* 25. PIE_SEGMENT_CHART (파이/세그먼트 점유율) */
.template-pie-chart .pie-chart-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  align-items: center;
  gap: 60px;
  flex: 1;
  padding: 20px 40px;
}
.pie-svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pie-svg {
  width: 420px;
  height: 420px;
  transform: rotate(-90deg);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}
.pie-legend-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pie-legend-item {
  display: grid;
  grid-template-columns: 28px 1.4fr 1.1fr 2fr;
  align-items: center;
  gap: 20px;
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.pie-legend-color {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.pie-legend-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}
.pie-legend-val {
  font-size: 26px;
  font-weight: 900;
  color: var(--brand-accent);
  font-family: var(--font-family-mono);
}
.pie-legend-desc {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 26. TAM_SAM_SOM_MARKET (3단 동심원 시장 규모 분석) */
.template-tam-sam-som .tam-layout-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  align-items: center;
  gap: 60px;
  flex: 1;
  padding: 20px 40px;
}
.tam-circles-svg {
  width: 480px;
  height: 480px;
  margin: 0 auto;
}
.tam-cards-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tam-spec-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.tam-spec-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--brand-primary);
}
.tam-spec-card.som::before {
  background: var(--brand-accent);
}
.tam-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.tam-card-badge {
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-accent);
  font-family: var(--font-family-mono);
}
.tam-card-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-primary);
}
.tam-card-desc {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 27. RANKING_TOP_LIST (TOP 5 부문별 실적 순위표) */
.template-ranking-list .ranking-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  justify-content: center;
  padding: 10px 40px;
}
.ranking-row {
  display: grid;
  grid-template-columns: 80px 2.6fr 1.6fr 1.2fr 2fr;
  align-items: center;
  gap: 28px;
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 22px 36px;
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-card);
}
.ranking-row.top-rank {
  border-color: var(--brand-accent);
  background: rgba(56, 189, 248, 0.1);
  transform: scale(1.015);
}
.ranking-badge-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--brand-accent);
  font-family: var(--font-family-mono);
  text-align: center;
}
.ranking-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
}
.ranking-metric {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  font-family: var(--font-family-mono);
}
.ranking-growth {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-accent);
}
.ranking-desc {
  font-size: 20px;
  color: var(--text-secondary);
}

/* 28. SWOT_ANALYSIS (4분할 SWOT 매트릭스) */
.template-swot .swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 32px;
  flex: 1;
  padding: 10px 20px;
}
.swot-box {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.swot-letter {
  position: absolute;
  right: 24px;
  top: 14px;
  font-size: 80px;
  font-weight: 900;
  opacity: 0.12;
  font-family: var(--font-family-mono);
}
.swot-box.s .swot-letter { color: #38bdf8; }
.swot-box.w .swot-letter { color: #f87171; }
.swot-box.o .swot-letter { color: #34d399; }
.swot-box.t .swot-letter { color: #fbbf24; }
.swot-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.swot-tag {
  font-size: 18px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-xs);
  background: var(--tag-bg);
  color: var(--brand-accent);
}
.swot-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
}
.swot-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.swot-points li {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
}
.swot-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-accent);
  font-size: 26px;
}

/* 29. PEST_ANALYSIS (PEST 거시환경 분석) */
.template-pest .pest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  flex: 1;
  padding: 10px 20px;
}
.pest-col {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.pest-icon-header {
  font-size: 46px;
  font-weight: 900;
  color: var(--brand-accent);
  margin-bottom: 16px;
  font-family: var(--font-family-mono);
}
.pest-tit {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.pest-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.pest-list li {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.pest-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--brand-accent);
}

/* 30. DECISION_FLOW_TREE (의사결정 플로우차트 트리) */
.template-decision-tree .tree-flow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
  padding: 20px 40px;
}
.tree-root-box {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 54px;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.tree-branches-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
}
.tree-node-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.tree-node-badge {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-accent);
  margin-bottom: 12px;
}
.tree-node-tit {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.tree-node-desc {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 31. VENN_DIAGRAM_3 (3대 가치 벤다이어그램) */
.template-venn-diagram .venn-layout-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  align-items: center;
  gap: 50px;
  flex: 1;
  padding: 20px 40px;
}
.venn-svg-box {
  display: flex;
  justify-content: center;
}
.venn-svg {
  width: 440px;
  height: 440px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}
.venn-cards-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.venn-val-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 26px 34px;
  box-shadow: var(--shadow-card);
}
.venn-val-card h4 {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-accent);
  margin-bottom: 8px;
}
.venn-val-card p {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 32. PYRAMID_HIERARCHY (피라미드 4단 위계 구조) */
.template-pyramid .pyramid-layout-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr;
  align-items: center;
  gap: 50px;
  flex: 1;
  padding: 20px 40px;
}
.pyramid-svg-box {
  display: flex;
  justify-content: center;
}
.pyramid-svg {
  width: 480px;
  height: 420px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}
.pyramid-steps-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pyramid-step-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 22px 32px;
  box-shadow: var(--shadow-card);
}
.pyramid-step-card h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pyramid-step-card p {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 33. LEADERSHIP_SPEECH (대표이사 인사말 및 서명) */
.template-leadership .leadership-layout-wrap {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  align-items: center;
  gap: 60px;
  flex: 1;
  padding: 20px 40px;
}
.leadership-photo-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 520px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--surface-border);
}
.leadership-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leadership-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.leadership-quote {
  font-size: 34px;
  font-weight: 800;
  color: var(--brand-accent);
  line-height: 1.4;
}
.leadership-body {
  font-size: 24px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.leadership-sign-row {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--surface-border);
  padding-top: 20px;
}
.leader-name-role {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
}
.leader-sign-stamp {
  font-family: var(--font-family-serif);
  font-size: 32px;
  color: var(--brand-accent);
  font-style: italic;
}

/* 34. ORG_HIERARCHY_TREE (계층형 본부/팀 조직도 트리) */
.template-org-tree .org-tree-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
  padding: 10px 40px;
}
.org-tree-top {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 54px;
  font-size: 28px;
  font-weight: 900;
  box-shadow: var(--shadow-card);
}
.org-tree-level2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}
.org-division-box {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.org-division-tit {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-accent);
  text-align: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 10px;
}
.org-team-tags {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.org-team-tag {
  background: var(--tag-bg);
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--surface-border);
}

/* 35. PRICING_TIER_TABLE (3단 요금제 및 서비스 티어표) */
.template-pricing-tier .pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  flex: 1;
  padding: 10px 30px;
  align-items: stretch;
}
.pricing-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-card);
}
.pricing-card.featured {
  border-color: var(--brand-accent);
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-8px);
}
.pricing-tier-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-accent);
  margin-bottom: 12px;
}
.pricing-cost-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}
.pricing-cost-val {
  font-size: 50px;
  font-weight: 900;
  color: var(--text-primary);
}
.pricing-cost-unit {
  font-size: 22px;
  color: var(--text-secondary);
}
.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.pricing-features-list li {
  font-size: 21px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.pricing-features-list li::before {
  content: "✓";
  color: var(--brand-accent);
  font-weight: 900;
  font-size: 22px;
}

/* 36. PARTNER_LOGO_GRID (파트너사/고객사 8개 로고 월) */
.template-partner-logos .logos-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 32px;
  flex: 1;
  padding: 20px 40px;
}
.logo-box-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-card);
}
.logo-icon-mark {
  font-size: 54px;
  margin-bottom: 16px;
}
.logo-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
}
.logo-cat {
  font-size: 19px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* 37. CUSTOMER_TESTIMONIALS (고객 성공 사례 및 평점) */
.template-testimonials .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  flex: 1;
  padding: 10px 30px;
  align-items: stretch;
}
.testimonial-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}
.testi-stars {
  color: #facc15;
  font-size: 28px;
  margin-bottom: 18px;
}
.testi-quote {
  font-size: 23px;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testi-author-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  border-top: 1px solid var(--surface-border);
  padding-top: 20px;
}
.testi-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.testi-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}
.testi-role {
  font-size: 19px;
  color: var(--text-secondary);
}

/* 38. FUNNEL_CONVERSION (4단계 전환 깔때기) */
.template-funnel .funnel-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
  justify-content: center;
  padding: 10px 80px;
}
.funnel-tier {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 32px;
  align-items: center;
}
.funnel-bar-box {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: var(--radius-lg);
  padding: 24px 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  transition: width 0.8s ease;
  box-shadow: var(--shadow-card);
}
.funnel-step-name {
  font-size: 26px;
  font-weight: 800;
}
.funnel-stat-num {
  font-size: 32px;
  font-weight: 900;
  font-family: var(--font-family-mono);
}
.funnel-desc {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 39. CIRCULAR_CYCLE_FLOW (4단계 원형 순환 루프) */
.template-cycle-flow .cycle-layout-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 50px;
  flex: 1;
  padding: 20px 40px;
}
.cycle-svg-box {
  display: flex;
  justify-content: center;
}
.cycle-svg {
  width: 460px;
  height: 460px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}
.cycle-steps-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cycle-step-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-card);
}
.cycle-step-card h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-accent);
  margin-bottom: 8px;
}
.cycle-step-card p {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 40. ZIGZAG_ROADMAP (S자 지그재그 로드맵) */
.template-zigzag-roadmap .zigzag-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  flex: 1;
  padding: 30px 40px;
  align-items: center;
}
.zigzag-node-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.zigzag-node-card:nth-child(even) {
  transform: translateY(36px);
}
.zigzag-badge {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-accent);
  font-family: var(--font-family-mono);
  margin-bottom: 12px;
}
.zigzag-tit {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.zigzag-desc {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 41. GEAR_SYNERGY (3대 부서/기술 맞물림 시너지) */
.template-gear-synergy .gear-layout-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 50px;
  flex: 1;
  padding: 20px 40px;
}
.gear-svg-box {
  display: flex;
  justify-content: center;
}
.gear-svg {
  width: 460px;
  height: 460px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}
.gear-cards-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.gear-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 26px 34px;
  box-shadow: var(--shadow-card);
}
.gear-card h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-accent);
  margin-bottom: 8px;
}
.gear-card p {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 42. CHECKLIST_ACTION_PLAN (체크리스트 & 액션 플랜) */
.template-checklist-plan .checklist-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  justify-content: center;
  padding: 10px 40px;
}
.check-item-row {
  display: grid;
  grid-template-columns: 54px 2.8fr 1.3fr 1.1fr 120px;
  align-items: center;
  gap: 24px;
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  box-shadow: var(--shadow-card);
}
.check-status-icon {
  font-size: 28px;
  color: var(--brand-accent);
  text-align: center;
}
.check-task-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}
.check-assignee {
  font-size: 20px;
  color: var(--text-secondary);
}
.check-due-date {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-family-mono);
}
.check-status-badge {
  font-size: 18px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  text-align: center;
  background: var(--tag-bg);
  color: var(--brand-accent);
}

/* 43. MOBILE_APP_MOCKUP_TRIO (스마트폰 3단 UI 목업) */
.template-mobile-mockup .mockup-trio-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex: 1;
  padding: 20px 40px;
}
.phone-mockup-frame {
  width: 300px;
  height: 520px;
  border: 12px solid #1e293b;
  border-radius: 46px;
  background: #0f172a;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-mockup-notch {
  width: 90px;
  height: 18px;
  background: #1e293b;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}
.phone-mockup-content {
  padding: 26px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.phone-mockup-content h4 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.phone-mockup-content p {
  font-size: 19px;
  color: #94a3b8;
  line-height: 1.5;
}

/* 44. LAPTOP_MOCKUP_SHOWCASE (노트북/웹 서비스 대형 목업) */
.template-laptop-mockup .laptop-layout-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr;
  align-items: center;
  gap: 50px;
  flex: 1;
  padding: 20px 40px;
}
.laptop-frame {
  background: #1e293b;
  border-radius: 16px 16px 0 0;
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.laptop-screen {
  background: #0f172a;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.laptop-base {
  height: 20px;
  background: #334155;
  border-radius: 0 0 20px 20px;
}
.laptop-details-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.laptop-feature-item h4 {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-accent);
  margin-bottom: 8px;
}
.laptop-feature-item p {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 45. DEMOGRAPHIC_PERSONA (인구통계 및 타겟 페르소나) */
.template-demographic .persona-layout-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  align-items: center;
  gap: 50px;
  flex: 1;
  padding: 20px 40px;
}
.persona-card-main {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.persona-avatar-big {
  font-size: 80px;
  margin-bottom: 20px;
}
.persona-name-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.persona-tagline {
  font-size: 22px;
  color: var(--brand-accent);
  margin-bottom: 20px;
}
.demographic-metrics-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.demo-metric-row {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.demo-metric-lbl {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}
.demo-metric-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-accent);
  font-family: var(--font-family-mono);
}

/* 46. MAP_REGIONAL_NETWORK (지역별 거점 네트워크) */
.template-regional-map .map-layout-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr;
  align-items: center;
  gap: 50px;
  flex: 1;
  padding: 20px 40px;
}
.regional-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.regional-node-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.regional-node-card h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
}
.regional-node-stat {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-accent);
  font-family: var(--font-family-mono);
}

/* 47. ICON_GRID_6X (6분할 핵심 기능/혜택 아이콘 그리드) */
.template-icon-grid .icon-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 32px;
  flex: 1;
  padding: 10px 30px;
}
.icon-box-6 {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}
.icon-box-6 .icon-emoji {
  font-size: 46px;
}
.icon-box-6 h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
}
.icon-box-6 p {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 48. BEFORE_AFTER_IMPACT (문제 해결 전후 1:1 대비) */
.template-before-after .before-after-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  flex: 1;
  padding: 20px 30px;
  align-items: stretch;
}
.ba-column-box {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.ba-column-box.before {
  border-color: rgba(239, 68, 68, 0.4);
}
.ba-column-box.after {
  border-color: var(--brand-accent);
  background: rgba(56, 189, 248, 0.1);
}
.ba-badge {
  font-size: 19px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-xs);
  align-self: flex-start;
  margin-bottom: 20px;
}
.ba-column-box.before .ba-badge {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
}
.ba-column-box.after .ba-badge {
  background: var(--tag-bg);
  color: var(--brand-accent);
}
.ba-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.ba-list li {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 26px;
  position: relative;
}
.ba-column-box.before .ba-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: 900;
}
.ba-column-box.after .ba-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-accent);
  font-weight: 900;
}

/* 49. PROBLEM_SOLUTION_TRIO (핵심 문제 + 3대 솔루션) */
.template-problem-solution .ps-layout-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
  padding: 10px 30px;
}
.ps-problem-banner {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px 38px;
}
.ps-problem-tit {
  font-size: 28px;
  font-weight: 800;
  color: #f87171;
  margin-bottom: 8px;
}
.ps-problem-desc {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.ps-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  flex: 1;
}
.ps-solution-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
}
.ps-sol-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-accent);
  margin-bottom: 12px;
}
.ps-sol-tit {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.ps-sol-desc {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 50. FAQ_ACCORDION (핵심 Q&A 아코디언) */
.template-faq-accordion .faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  justify-content: center;
  padding: 10px 50px;
}
.faq-item-box {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 26px 36px;
  box-shadow: var(--shadow-card);
}
.faq-question-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.faq-q-mark {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-accent);
  font-family: var(--font-family-mono);
}
.faq-question-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
}
.faq-answer-text {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 44px;
}

/* ==========================================================================
   Co-Pilot Feature 1: Outline Inspector Modal
   ========================================================================== */
.outline-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.outline-modal-window {
  width: 100%;
  max-width: 1140px;
  max-height: 90vh;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.outline-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.modal-badge-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 6px 0;
}

.modal-desc {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.modal-desc strong {
  color: #38bdf8;
}

.modal-close-icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-fast);
}
.modal-close-icon:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.outline-modal-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px 32px;
}

.outline-cards-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.toolbar-hint {
  font-size: 13px;
  color: #cbd5e1;
}

.outline-add-slide-btn {
  background: rgba(56, 189, 248, 0.12);
  border: 1px dashed rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}
.outline-add-slide-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.outline-cards-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.outline-cards-scroll-area::-webkit-scrollbar {
  width: 6px;
}
.outline-cards-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.outline-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  transition: var(--transition-fast);
}
.outline-card-item:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.outline-card-drag-handle {
  color: #64748b;
  cursor: grab;
  font-size: 18px;
  user-select: none;
  padding: 0 4px;
}

.outline-card-num {
  font-family: var(--font-family-mono);
  font-size: 15px;
  font-weight: 800;
  color: #38bdf8;
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.outline-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.outline-title-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  padding: 6px 12px;
  outline: none;
  transition: var(--transition-fast);
}
.outline-title-input:focus {
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.outline-subtitle-input {
  width: 100%;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  color: #94a3b8;
  font-size: 13px;
  padding: 4px 10px;
  outline: none;
  transition: var(--transition-fast);
}
.outline-subtitle-input:focus {
  border-color: rgba(56, 189, 248, 0.5);
  color: #cbd5e1;
}

.outline-card-layout-picker-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  min-width: 220px;
  justify-content: space-between;
  transition: var(--transition-fast);
}
.outline-card-layout-picker-btn:hover {
  background: rgba(37, 99, 235, 0.3);
  border-color: #38bdf8;
  color: #fff;
  transform: translateY(-1px);
}
.outline-card-layout-picker-btn .layout-name {
  color: #38bdf8;
  font-weight: 700;
}

.outline-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.outline-btn-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition-fast);
}
.outline-btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.outline-btn-delete:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.outline-modal-footer {
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-tip {
  font-size: 13px;
  color: #64748b;
}

.modal-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: var(--transition-fast);
}
.modal-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   Co-Pilot Feature 2: 50종 Layout Picker Modal
   ========================================================================== */
.layout-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 6, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.layout-picker-window {
  width: 100%;
  max-width: 1100px;
  max-height: 85vh;
  background: #0d1527;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.layout-picker-header {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111d33;
}

.picker-header-text h3 {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 4px 0;
}

.picker-header-text p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.layout-picker-categories {
  display: flex;
  gap: 8px;
  padding: 12px 28px;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
}

.picker-category-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}
.picker-category-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
}
.picker-category-tab.active {
  background: #2563eb;
  color: #fff;
  border-color: #38bdf8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.layout-picker-grid {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.layout-picker-grid::-webkit-scrollbar {
  width: 6px;
}
.layout-picker-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.picker-layout-card {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition-fast);
  position: relative;
}
.picker-layout-card:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(56, 189, 248, 0.2);
}
.picker-layout-card.current-active {
  border-color: #38bdf8;
  background: rgba(37, 99, 235, 0.18);
}

.picker-card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #090e1a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #38bdf8;
  position: relative;
  overflow: hidden;
}

.picker-card-thumb-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
}

.picker-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.picker-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
}

.picker-card-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
}

.picker-card-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-family: var(--font-family-mono);
}

/* ==========================================================================
   Co-Pilot Feature 3: 50장 Slide Grid Overlay (바둑판 썸네일 뷰)
   ========================================================================== */
.slide-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 500;
  background: rgba(9, 14, 26, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  animation: fadeInModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.grid-view-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.grid-icon {
  font-size: 20px;
  color: #38bdf8;
}

.grid-view-title h3 {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.grid-view-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin-left: 8px;
}

.grid-view-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.grid-view-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.slide-grid-container {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding-right: 8px;
}

.slide-grid-container::-webkit-scrollbar {
  width: 6px;
}
.slide-grid-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.slide-grid-card {
  background: #131d33;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition-fast);
  position: relative;
}
.slide-grid-card:hover {
  border-color: #38bdf8;
  background: #1b2846;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 14px rgba(56, 189, 248, 0.25);
}
.slide-grid-card.active {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px #38bdf8;
}

.grid-card-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.grid-card-preview-icon {
  font-size: 32px;
  color: #38bdf8;
  opacity: 0.8;
}

.grid-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xs);
  padding: 2px 7px;
  font-size: 11px;
  font-family: var(--font-family-mono);
  font-weight: 700;
  color: #38bdf8;
}

.grid-card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.grid-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid-card-type {
  font-size: 11px;
  color: #94a3b8;
  font-family: var(--font-family-mono);
}

/* ==========================================================================
   Co-Pilot Feature 4: Live Inline Editing (Clean Mode & Hover/Focus Highlight)
   - 기본 상태: 슬라이드 완성도 및 시각적 청결을 위해 상시 점선 박스 숨김
   - 마우스 호버 시: 편집 가능 영역임을 은은하게 안내 (연한 점선 + 미세 배경)
   - 포커스 시: 명확한 활성 테두리 및 포커스 링 표시
   ========================================================================== */
[contenteditable="true"] {
  outline: 1.5px dashed transparent !important;
  outline-offset: 3px;
  border-radius: 4px;
  background: transparent;
  cursor: text !important;
  transition: outline-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

[contenteditable="true"]:hover {
  outline: 1.5px dashed rgba(56, 189, 248, 0.4) !important;
  background: rgba(56, 189, 248, 0.03);
}

[contenteditable="true"]:focus {
  outline: 2px solid #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   Export Feature: Canva & PDF Buttons & Modal
   ========================================================================== */
.export-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.btn-export-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.6);
  color: #f1f5f9;
}
.btn-export-action:hover {
  transform: translateY(-1px);
}

.btn-export-canva {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22) 0%, rgba(59, 130, 246, 0.22) 100%);
  border-color: rgba(168, 85, 247, 0.4);
}
.btn-export-canva:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.38) 0%, rgba(59, 130, 246, 0.38) 100%);
  border-color: #c084fc;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-export-pdf {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16) 0%, rgba(249, 115, 22, 0.16) 100%);
  border-color: rgba(239, 68, 68, 0.38);
}
.btn-export-pdf:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.28) 0%, rgba(249, 115, 22, 0.28) 100%);
  border-color: #f87171;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.export-btn-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.export-icon {
  font-size: 15px;
}

.badge-free {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.25);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.badge-crisp {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Canva Modal */
.canva-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(5, 8, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.canva-modal-window {
  width: 100%;
  max-width: 960px;
  background: #0f172a;
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.canva-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.7) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.canva-modal-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.canva-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.canva-step-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.canva-step-card.highlighted {
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(124, 58, 237, 0.12);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
}

.canva-step-num {
  font-family: var(--font-family-mono);
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
}

.canva-step-icon {
  font-size: 32px;
}

.canva-step-title {
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.canva-step-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  flex: 1;
  margin: 0;
}

.canva-card-btn {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}
.canva-card-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.canva-card-btn.primary {
  background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  border-color: rgba(168, 85, 247, 0.5);
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
.canva-card-btn.primary:hover {
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
  transform: translateY(-1px);
}

.canva-free-badge {
  font-size: 11px;
  font-weight: 700;
  color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: auto;
}

.canva-pro-tip-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* ==========================================================================
   16:9 무손실 인쇄 & PDF 내보내기 엔진 (@media print)
   ========================================================================== */
@media print {
  @page {
    size: 1920px 1080px;
    margin: 0;
  }
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  html, body {
    width: 1920px !important;
    height: auto !important;
    background: #090e1a !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .app-container, .studio-workspace, .studio-main, .stage-viewport {
    display: block !important;
    width: 1920px !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    position: static !important;
  }
  .toolbar, .studio-sidebar, .studio-subbar, .slide-nav-tabs,
  .slide-arrow-group, .slide-loading-overlay, .slide-grid-overlay,
  .outline-modal-backdrop, .layout-picker-backdrop, .canva-modal-backdrop,
  .modal-close-icon {
    display: none !important;
  }
  .slide-frame {
    display: block !important;
    transform: none !important;
    width: 1920px !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .slide-canvas {
    display: flex !important;
    width: 1920px !important;
    height: 1080px !important;
    position: relative !important;
    page-break-after: always !important;
    break-after: page !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  /* PDF 무손실 인쇄 시 인라인 편집 점선 테두리 및 배경색 100% 완전 제거 */
  [contenteditable="true"], [contenteditable], [contenteditable]:focus, [contenteditable]:hover {
    outline: none !important;
    border: none !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: default !important;
  }
}




/* ==========================================================================
   신규 회사 로고 / 덱 타이틀 / 페이지 카운터 / THANK_YOU 슬라이드 스타일
   ========================================================================== */

/* 1. 슬라이드 우측 상단 로고 슬롯 */
.slide-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.company-logo-img {
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: opacity 0.2s ease;
}

/* 2. 슬라이드 우측 하단 덱 제목 & 페이지 카운터 */
.footer-meta-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: #94a3b8;
  margin-left: auto;
}

.footer-deck-title {
  color: #cbd5e1;
  font-weight: 500;
  max-width: 460px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-page-counter {
  color: #38bdf8;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 12px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  letter-spacing: 0.04em;
}

/* 3. 사이드바 회사 로고 업로드 영역 */
.logo-upload-section {
  margin-bottom: 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
}

.logo-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.logo-section-title {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.btn-clear-logo {
  background: transparent;
  border: none;
  color: #f87171;
  font-size: 11px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-clear-logo:hover {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.logo-drop-zone {
  border: 1.5px dashed rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(56, 189, 248, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-drop-zone:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.logo-drop-zone.dragover {
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.2);
}

.logo-prompt-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.logo-drop-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.logo-drop-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-drop-text {
  font-size: 12px;
  font-weight: 600;
  color: #f1f5f9;
}

.logo-drop-sub {
  font-size: 10.5px;
  color: #94a3b8;
}

.logo-preview-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 6px 12px;
  max-height: 48px;
  width: 100%;
}

.logo-preview-box img {
  max-height: 38px;
  max-width: 160px;
  object-fit: contain;
}

/* 4. 마지막 페이지 THANK_YOU 템플릿 */
.template-thank-you {
  background: radial-gradient(circle at center, rgba(30, 58, 138, 0.3) 0%, rgba(11, 15, 25, 0.98) 75%), var(--canvas-bg);
  position: relative;
  overflow: hidden;
}

.thank-you-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.thank-you-aura {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(48px);
}

.thank-you-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

.thank-you-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 9999px;
  color: #38bdf8;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.thank-you-title {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.thank-you-subtitle {
  font-size: 24px;
  color: #94a3b8;
  margin-bottom: 56px;
  font-weight: 400;
}

.thank-you-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.thank-contact-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(12px);
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, border-color 0.2s;
}

.thank-contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
}

.contact-card-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card-lbl {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.contact-card-val {
  font-size: 16px;
  color: #f1f5f9;
  font-weight: 700;
}


/* ==========================================================================
   PDF 인쇄 설정 가이드 모달 스타일
   ========================================================================== */
.pdf-guide-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

.pdf-guide-modal-card {
  width: 580px;
  max-width: 92vw;
  background: linear-gradient(145deg, #111827 0%, #0b101d 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.15);
  border-radius: 18px;
  padding: 28px 32px;
  position: relative;
}

.pdf-guide-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  position: relative;
}

.pdf-guide-icon {
  font-size: 36px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdf-guide-title-wrap {
  flex: 1;
}

.pdf-guide-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.pdf-guide-sub {
  font-size: 13px;
  color: #94a3b8;
}

.btn-close-pdf-guide {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-close-pdf-guide:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.1);
}

.pdf-guide-instruction-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.pdf-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 18px;
}

.pdf-check-num {
  background: #0284c7;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pdf-check-content strong {
  display: block;
  font-size: 15px;
  color: #38bdf8;
  margin-bottom: 4px;
}

.pdf-check-content p {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.pdf-guide-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-proceed-print {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
  transition: all 0.2s;
}

.btn-proceed-print:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   Lucide SVG Vector Icons (Genspark Grade Business Aesthetics)
   ========================================================================== */
.lucide-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.lucide-icon-svg svg {
  display: block;
  stroke: currentColor;
}

.feature-icon-box svg,
.split-card-icon svg,
.pin-marker-inner-icon svg,
.logo-icon-mark svg,
.icon-emoji svg {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* ==========================================================================
   Phase 3: High-Resolution Background Image Overlay System
   ========================================================================== */
.slide-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.15) contrast(1.1);
  mix-blend-mode: luminosity;
  transition: opacity 0.3s ease;
}

.template-hero-cover .slide-bg-overlay {
  opacity: 0.16;
}

.template-section-divider .slide-bg-overlay,
.template-mega-chapter .slide-bg-overlay {
  opacity: 0.15;
}

.template-thank-you .slide-bg-overlay {
  opacity: 0.14;
}

.template-hero-cover .hero-cover-top,
.template-hero-cover .hero-cover-meta-grid,
.template-hero-cover .slide-header,
.template-hero-cover .slide-footer,
.template-section-divider .slide-body,
.template-mega-chapter .slide-body,
.template-thank-you .thank-you-body {
  position: relative;
  z-index: 1;
}


