/* ============================================================
   AI 원데이 클래스 — reveal.js 위에서 '원본 인라인 스타일'을 그대로 살리는 최소 리셋.
   각 슬라이드의 모양은 <section>의 인라인 style + 내부 inline style 이 결정합니다.
   전역 톤(폰트/진행바 색 등)만 여기서 조정.
   ============================================================ */
:root {
  --navy:       #102a40;
  --navy-deep:  #0d2233;
  --navy-brand: #1b3a5c;
  --cream:      #faf6ef;
  --ink:        #1c2a35;
  --gold:       #d4af37;
  --accent:     #2d6b94;
  --font-sans: "Pretendard","Plus Jakarta Sans","Noto Sans KR",system-ui,sans-serif;
}

.reveal { font-family: var(--font-sans); }

/* 슬라이드는 1920×1080 풀블리드 — 인라인 style의 background/padding/flex가 그대로 적용 */
.reveal .slides { text-align: left; }
.reveal .slides > section.slide {
  width: 1920px !important;
  height: 1080px !important;  /* reveal이 콘텐츠 높이로 줄이지 못하도록 강제 → 세로 가운데 정렬 공간 확보 */
  min-height: 1080px !important;
  box-sizing: border-box;
  top: 0 !important;          /* center:false 일 때 상단 고정 */
  overflow: hidden;
}

/* reveal 코어가 헤딩에 거는 기본값 제거 — 인라인 style이 이기도록 */
.reveal h1, .reveal h2, .reveal h3, .reveal h4 {
  text-transform: none;
  font-family: var(--font-sans);
  letter-spacing: normal;
  margin: 0;
  line-height: 1.1;
}
.reveal p { margin: 0; line-height: 1.4; }
.reveal ul, .reveal ol { display: block; margin: 0; }
.reveal li { margin: 0; }
.reveal section img { margin: 0; border: 0; box-shadow: none; background: transparent; }
.reveal strong, .reveal b { color: inherit; }

/* LLM comparison table header badges */
.reveal .llm-icon-header {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 76px;
  padding-bottom: 4px;
}
.reveal .llm-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 9px 20px rgba(26, 64, 91, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
}
.reveal .llm-icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}
.reveal .llm-icon-gpt {
  background: #102a40;
}
.reveal .llm-icon-gpt .llm-icon-mark {
  font-size: 21px;
}
.reveal .llm-icon-claude {
  background: #d9772b;
}
.reveal .llm-icon-claude .llm-icon-mark,
.reveal .llm-icon-gemini .llm-icon-mark {
  font-size: 35px;
}
.reveal .llm-icon-gemini {
  background: conic-gradient(from 220deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
}

/* 실제 브랜드 워드마크 로고 칩 (slide4 표 헤더) */
.reveal .llm-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #e7ddcb;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(26, 64, 91, 0.1);
}
.reveal .llm-logo img {
  height: 44px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
}

/* Vertical AI service map */
.reveal .ai-service-slide .service-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  flex: 1;
  align-content: stretch;
}
.reveal .ai-service-slide .service-merge-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  width: 100%;
  flex: 1;
  min-height: 0;
}
.reveal .ai-service-slide .service-map-small {
  gap: 14px;
}
.reveal .ai-service-slide .service-band {
  background: #fff;
  border: 1px solid #e7ddcb;
  border-radius: 12px;
  padding: 26px 30px 24px;
  box-shadow: 0 6px 22px rgba(26, 64, 91, 0.07);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.reveal .ai-service-slide .service-map-small .service-band {
  padding: 22px 24px 20px;
}
.reveal .ai-service-slide .service-title {
  font-size: 30px;
  font-weight: 900;
  color: #102a40;
  line-height: 1.15;
}
.reveal .ai-service-slide .service-kicker {
  margin-top: 6px;
  font-size: 21px;
  font-weight: 700;
  color: #7c8893;
  line-height: 1.3;
}
.reveal .ai-service-slide .service-map-small .service-title {
  font-size: 26px;
}
.reveal .ai-service-slide .service-map-small .service-kicker {
  font-size: 18px;
}
.reveal .ai-service-slide .service-map-small .service-list {
  margin-top: 16px;
  gap: 10px;
}
.reveal .ai-service-slide .service-map-small .service-chip {
  height: 48px;
  font-size: 22px;
}
.reveal .ai-service-slide .service-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.reveal .ai-service-slide .service-chip {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  background: #f8f4ec;
  border: 1px solid #ece2d2;
  border-radius: 10px;
  padding: 7px 14px 7px 8px;
  font-size: 25px;
  font-weight: 800;
  color: #1c2a35;
  line-height: 1;
  text-decoration: none;
}
.reveal .ai-service-slide .service-chip:hover {
  border-color: #d8bf87;
  background: #fffaf0;
  transform: translateY(-1px);
}
.reveal .ai-service-slide .svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  flex: 0 0 40px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--svc-bg, #102a40);
  color: var(--svc-fg, #fff);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.reveal .ai-service-slide .svc-letter {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}
.reveal .ai-service-slide .svc-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  border-radius: 5px;
}
.reveal .ai-service-slide .tool-bridge {
  background: #102a40;
  color: #fff;
  border-radius: 14px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: 0 8px 28px rgba(16, 42, 64, 0.16);
}
.reveal .ai-service-slide .tool-bridge-title {
  font-size: 30px;
  font-weight: 900;
  color: #e0a23b;
  line-height: 1.15;
}
.reveal .ai-service-slide .tool-bridge-subtitle {
  margin-top: 8px;
  font-size: 21px;
  font-weight: 700;
  color: #bcd4e4;
  line-height: 1.35;
}
.reveal .ai-service-slide .tool-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.reveal .ai-service-slide .tool-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 13px 15px;
}
.reveal .ai-service-slide .tool-kind {
  font-size: 20px;
  font-weight: 900;
  color: #e0a23b;
}
.reveal .ai-service-slide .tool-names {
  font-size: 21px;
  font-weight: 700;
  color: #eaf2f8;
  line-height: 1.28;
}

/* 발표자 노트는 화면에 숨김(발표자 모드에서만 노출) */
.reveal aside.notes { display: none; }

/* 슬라이드 번호 배지 — 참조용(우상단). flex 흐름에 영향 없도록 absolute */
.reveal .slides > section.slide > .slide-no {
  position: absolute;
  top: 20px; right: 26px;
  z-index: 20;
  font-family: var(--font-sans);
  font-size: 22px; font-weight: 800;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(127,127,127,0.18);
  color: rgba(120,120,120,0.95);
  letter-spacing: 0.02em;
  pointer-events: none;
}
/* 다크 슬라이드 위에서는 밝게 */
.reveal .slides > section.slide[style*="#0d2233"] > .slide-no,
.reveal .slides > section.slide[style*="#102a40"] > .slide-no,
.reveal .slides > section.slide[style*="#0d2"] > .slide-no {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.75);
}

/* fragment 기본(혹시 테마 영향 제거) */
.reveal .fragment { transition: opacity 0.18s ease; }

/* 배경(레터박스) — 슬라이드 밖 여백 색.
   reveal 기본 .reveal-viewport 가 흰색이라 화면비가 안 맞으면 흰 띠가 생김 → 어둡게 덮음 */
html, body { background: #0d1b2a; }
.reveal-viewport { background-color: #0d1b2a; }

/* 진행바 · 컨트롤 · 페이지번호 */
.reveal .progress { color: var(--gold); height: 5px; }
.reveal .controls { color: var(--gold); }
.reveal .slide-number { background: rgba(0,0,0,0.35); color: #fff; font-size: 14px; }

/* 인쇄(PDF) 시 배경색 강제 */
@media print {
  .reveal .slides > section.slide { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
