/* ═══════════════════════════════════════════════════════════
   DESIGN SYSTEM — Knowledge Management Presentation
   Palette: Alpine Frost × Monochrome Luxe
   Fonts: Syne (display) + Plus Jakarta Sans (body)
═══════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --bg-light:       #F7F8FA;
  --bg-dark:        #0D1117;
  --bg-card:        #FFFFFF;
  --bg-card-dark:   #161B22;

  --accent:         #2E5090;
  --accent-bright:  #4A7FD4;
  --accent-glow:    rgba(74, 127, 212, 0.15);

  --text-primary:   #0D1117;
  --text-secondary: #4A5568;
  --text-muted:     #8A9BB0;
  --text-light:     #F7F8FA;
  --text-light-sec: rgba(247, 248, 250, 0.65);

  --border:         rgba(46, 80, 144, 0.12);
  --border-dark:    rgba(247, 248, 250, 0.1);

  --gold:           #B8860B;

  /* Typography */
  --font-display:   'Syne', sans-serif;
  --font-body:      'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --slide-pad-x:    72px;
  --slide-pad-y:    52px;

  /* Transitions */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #0D1117;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ─── PROGRESS BAR ───────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  width: 10%;
  z-index: 100;
  transition: width 0.5s var(--ease);
  border-radius: 0 2px 2px 0;
}

/* ─── SLIDE COUNTER ──────────────────────────────────────── */
.slide-counter {
  position: fixed;
  bottom: 32px; left: var(--slide-pad-x);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  z-index: 100;
  transition: color 0.3s var(--ease);
}

/* ─── NAV DOTS ───────────────────────────────────────────── */
.nav-dots {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
}

.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(138, 155, 176, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  padding: 0;
}

.nav-dot.active {
  background: var(--accent-bright);
  width: 20px;
  border-radius: 3px;
}

.nav-dot:hover:not(.active) {
  background: rgba(138, 155, 176, 0.7);
}

/* ─── NAV ARROWS ─────────────────────────────────────────── */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: rgba(22, 27, 34, 0.7);
  backdrop-filter: blur(12px);
  color: rgba(247, 248, 250, 0.6);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  transition: all 0.25s var(--ease);
}

.nav-arrow:hover {
  background: rgba(46, 80, 144, 0.4);
  border-color: var(--accent-bright);
  color: var(--text-light);
  transform: translateY(-50%) scale(1.05);
}

.nav-arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.nav-prev { left: 20px; }
.nav-next { right: 20px; }

/* ─── SLIDES WRAPPER ─────────────────────────────────────── */
.slides-wrapper {
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* ─── BASE SLIDE ─────────────────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  opacity: 0;
  transform: translateX(60px);
  pointer-events: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.slide.exit-left {
  opacity: 0;
  transform: translateX(-60px);
}

/* Light slides */
.slide--title,
.slide--content:not(.slide--dark),
.slide--conclusion {
  background: var(--bg-light);
  color: var(--text-primary);
}

/* Dark slides */
.slide--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* ─── BG GRID ────────────────────────────────────────────── */
.slide__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 80, 144, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 80, 144, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.slide__bg-grid--light {
  background-image:
    linear-gradient(rgba(247, 248, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 248, 250, 0.04) 1px, transparent 1px);
}

/* ─── ACCENT LINE ────────────────────────────────────────── */
.slide__accent-line {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-bright) 50%, transparent 100%);
}

.slide__accent-line--right {
  left: auto; right: 0;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 01 — TITLE
═══════════════════════════════════════════════════════════ */
.slide--title .title-layout {
  position: relative;
  z-index: 2;
  padding: var(--slide-pad-y) var(--slide-pad-x);
  max-width: 900px;
  width: 100%;
}

.title-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
}

.tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: 2px;
}

.tag--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.title-heading {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
}

.title-heading__line {
  display: block;
  font-size: clamp(36px, 5.5vw, 68px);
  color: var(--text-primary);
}

.title-heading__line--accent {
  color: var(--accent);
}

.title-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}

.title-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  margin-bottom: 28px;
}

.title-authors {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.author__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.author__sep {
  color: var(--text-muted);
  font-size: 18px;
}

.title-course {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Decorative elements */
.title-deco {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  pointer-events: none;
  overflow: hidden;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.deco-circle--1 {
  width: 420px; height: 420px;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 40% 40%, var(--accent-glow), transparent 70%);
}

.deco-circle--2 {
  width: 260px; height: 260px;
  right: 60px; top: 50%;
  transform: translateY(-50%);
  border-color: rgba(46, 80, 144, 0.2);
}

.deco-ring {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid var(--accent-bright);
  opacity: 0.2;
  right: 140px; top: 30%;
}

/* ═══════════════════════════════════════════════════════════
   CONTENT SLIDES — SHARED
═══════════════════════════════════════════════════════════ */
.content-layout {
  position: relative;
  z-index: 2;
  padding: var(--slide-pad-y) var(--slide-pad-x);
  width: 100%;
  max-width: 1100px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.content-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.slide-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
  opacity: 0.7;
  padding-top: 6px;
  min-width: 28px;
}

.slide--dark .slide-num {
  color: var(--accent-bright);
  opacity: 0.8;
}

.slide-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 6px;
}

.slide--dark .slide-label {
  color: var(--accent-bright);
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.slide--dark .slide-title {
  color: var(--text-light);
}

.slide-title em {
  font-style: normal;
  color: var(--accent-bright);
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 02 — POINTS GRID
═══════════════════════════════════════════════════════════ */
.points-grid {
  display: grid;
  gap: 16px;
}

.points-grid--2col {
  grid-template-columns: 1fr 1fr;
}

.point-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 24px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.point-card:hover {
  border-color: var(--accent-bright);
  transform: translateY(-2px);
}

.point-card--highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(46, 80, 144, 0.04), transparent);
}

.point-card__icon {
  color: var(--accent);
  margin-bottom: 12px;
}

.point-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.point-card p {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 03 — AIM LAYOUT
═══════════════════════════════════════════════════════════ */
.aim-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.aim-statement {
  background: rgba(74, 127, 212, 0.1);
  border: 1px solid rgba(74, 127, 212, 0.25);
  border-radius: 8px;
  padding: 28px;
}

.aim-statement p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-light);
}

.aim-statement strong {
  font-weight: 600;
  color: var(--accent-bright);
}

.aim-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(247, 248, 250, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
}

.pillar__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: 0.05em;
  min-width: 24px;
  padding-top: 2px;
}

.pillar p {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-light-sec);
  line-height: 1.55;
}

.pillar strong {
  color: var(--text-light);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 04 — KM LAYOUT
═══════════════════════════════════════════════════════════ */
.km-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.km-definition blockquote {
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-secondary);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.km-definition blockquote strong {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

.km-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.km-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.km-point__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
}

.km-point p {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

.km-point strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 05 — TECH GRID
═══════════════════════════════════════════════════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tech-item {
  background: rgba(247, 248, 250, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 22px 24px;
  transition: border-color 0.25s var(--ease);
}

.tech-item:hover {
  border-color: rgba(74, 127, 212, 0.4);
}

.tech-item__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
}

.tech-item p {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light-sec);
  line-height: 1.6;
}

.tech-insight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(74, 127, 212, 0.08);
  border: 1px solid rgba(74, 127, 212, 0.2);
  border-radius: 6px;
  color: var(--accent-bright);
  font-size: 12.5px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 06 — CIRCULAR ECONOMY
═══════════════════════════════════════════════════════════ */
.circular-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
}

.circular-diagram {
  position: relative;
  width: 200px; height: 200px;
  flex-shrink: 0;
}

.circ-node {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  z-index: 2;
}

.circ-node--top    { top: 0;   left: 50%; transform: translateX(-50%); }
.circ-node--right  { right: 0; top: 50%;  transform: translateY(-50%); }
.circ-node--bottom { bottom: 0; left: 50%; transform: translateX(-50%); }

.circ-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  z-index: 3;
}

.circ-arrows {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  color: var(--accent);
  z-index: 1;
}

.circular-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.circ-point {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.circ-point__tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.circ-point p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 07 — METHODOLOGY
═══════════════════════════════════════════════════════════ */
.method-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.method-steps {
  display: flex;
  flex-direction: column;
}

.method-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.method-step__num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.method-step__content h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}

.method-step__content p {
  font-size: 12.5px;
  color: var(--text-light-sec);
  line-height: 1.6;
}

.method-step__connector {
  width: 1px;
  height: 24px;
  background: rgba(74, 127, 212, 0.3);
  margin-left: 17px;
}

.method-type {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.method-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid rgba(74, 127, 212, 0.3);
  border-radius: 4px;
  padding: 8px 16px;
  text-align: center;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 08 — FINDINGS
═══════════════════════════════════════════════════════════ */
.findings-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.finding {
  display: flex;
  gap: 20px;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.finding:hover {
  border-color: var(--accent-bright);
  transform: translateX(4px);
}

.finding--primary {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(46, 80, 144, 0.05), transparent);
}

.finding__bar {
  width: 4px;
  background: var(--border);
  flex-shrink: 0;
}

.finding--primary .finding__bar {
  background: var(--accent);
}

.finding:not(.finding--primary) .finding__bar {
  background: linear-gradient(180deg, var(--accent-bright), rgba(74, 127, 212, 0.3));
}

.finding__content {
  padding: 16px 20px;
}

.finding__content h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.finding__content p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 09 — TWO COLUMNS
═══════════════════════════════════════════════════════════ */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.col-block {
  background: rgba(247, 248, 250, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 24px 26px;
}

.col-block--accent {
  border-color: rgba(74, 127, 212, 0.3);
  background: rgba(74, 127, 212, 0.06);
}

.col-block__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-block--accent .col-block__title {
  color: var(--accent-bright);
}

.col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.col-list li {
  font-size: 12.5px;
  color: var(--text-light-sec);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}

.col-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

.col-block--accent .col-list li::before {
  background: var(--accent-bright);
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 10 — CONCLUSION
═══════════════════════════════════════════════════════════ */
.slide--conclusion .conclusion-layout {
  position: relative;
  z-index: 2;
  padding: var(--slide-pad-y) var(--slide-pad-x);
  max-width: 900px;
  width: 100%;
}

.conclusion-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.conclusion-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.takeaways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.takeaway {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.25s var(--ease);
}

.takeaway:hover {
  border-color: var(--accent);
}

.takeaway__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 24px;
  padding-top: 2px;
}

.takeaway p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.takeaway strong {
  color: var(--text-primary);
  font-weight: 600;
}

.conclusion-footer {
  display: flex;
  align-items: center;
  gap: 20px;
}

.conclusion-footer__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.conclusion-footer p {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   PRINT / EXPORT STYLES
═══════════════════════════════════════════════════════════ */
@media print {
  body { overflow: visible; background: white; }
  .slides-wrapper { height: auto; }
  .slide {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: all;
    page-break-after: always;
    height: 100vh;
    min-height: 600px;
  }
  .nav-arrow, .nav-dots, .slide-counter, .progress-bar { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root {
    --slide-pad-x: 40px;
    --slide-pad-y: 36px;
  }

  .points-grid--2col,
  .aim-layout,
  .km-layout,
  .tech-grid,
  .two-col-layout,
  .takeaways,
  .method-layout {
    grid-template-columns: 1fr;
  }

  .circular-layout {
    grid-template-columns: 1fr;
  }

  .title-deco { display: none; }
}

@media (max-width: 600px) {
  :root {
    --slide-pad-x: 24px;
    --slide-pad-y: 24px;
  }
  .nav-arrow { display: none; }
}