/* ═══════════════════════════════════════════════════════════════
   LAPAROSCOPIC HYSTERECTOMY — SURGICAL CME PRESENTATION
   Design: Alpine Frost × Clinical Precision × Editorial Authority
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy:       #0A1929;
  --deep-blue:  #2E5090;
  --mid-blue:   #A8C4E0;
  --frost:      #E3EDF7;
  --white:      #F7FAFD;
  --red:        #C0392B;
  --red-light:  #E74C3C;
  --red-pale:   #FDECEA;
  --orange:     #E67E22;
  --orange-pale:#FEF3E2;
  --green:      #27AE60;
  --green-pale: #E8F8F0;
  --slate:      #4A6670;
  --slate-light:#8FA3B0;
  --border:     rgba(46,80,144,0.15);
  --shadow:     0 4px 24px rgba(10,25,41,0.12);
  --shadow-lg:  0 12px 48px rgba(10,25,41,0.18);
  --radius:     12px;
  --radius-lg:  20px;
}

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
}

/* ─── PROGRESS BAR ─────────────────────────────────────────── */
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; background: rgba(168,196,224,0.2);
  z-index: 100;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--deep-blue), var(--red));
  transition: width 0.4s ease;
  width: 5.56%;
}

/* ─── SLIDE COUNTER ─────────────────────────────────────────── */
.slide-counter {
  position: fixed; top: 16px; right: 80px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(227,237,247,0.6);
  z-index: 100;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ─── NAVIGATION ────────────────────────────────────────────── */
.nav-controls {
  position: fixed; bottom: 32px; right: 32px;
  display: flex; gap: 10px;
  z-index: 100;
}
.nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(168,196,224,0.3);
  background: rgba(10,25,41,0.7);
  backdrop-filter: blur(12px);
  color: var(--frost);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.nav-btn svg { width: 18px; height: 18px; }
.nav-btn:hover {
  background: var(--deep-blue);
  border-color: var(--mid-blue);
  transform: scale(1.05);
}
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ─── DOT NAVIGATION ────────────────────────────────────────── */
.dot-nav {
  position: fixed; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 100;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(168,196,224,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--mid-blue);
  width: 20px;
  border-radius: 3px;
}
.dot:hover { background: rgba(168,196,224,0.6); }

/* ─── PRESENTATION WRAPPER ──────────────────────────────────── */
.presentation {
  width: 100vw; height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ─── BASE SLIDE ────────────────────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  padding: 48px 56px 80px;
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.slide.exit {
  opacity: 0;
  transform: translateX(-60px);
}

/* ─── SLIDE BACKGROUNDS ─────────────────────────────────────── */
.slide-title {
  background: linear-gradient(135deg, #0A1929 0%, #0D2137 40%, #1B3A6B 100%);
  flex-direction: row;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.slide-content {
  background: var(--white);
}

.slide-surgical {
  background: linear-gradient(180deg, #F7FAFD 0%, #EEF4FB 100%);
}

.slide-references {
  background: var(--white);
}

/* ─── TITLE SLIDE ───────────────────────────────────────────── */
.title-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,80,144,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,80,144,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.title-accent-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red) 0%, var(--deep-blue) 100%);
}

.title-content {
  flex: 1;
  padding: 64px 56px 64px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.title-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mid-blue);
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.main-title {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.main-title em {
  font-style: normal;
  color: var(--mid-blue);
  display: block;
}

.title-subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(227,237,247,0.65);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.5;
}

.title-divider {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  margin-bottom: 32px;
}

.title-meta {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 36px;
}
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-light);
}
.meta-value {
  font-size: 13px; font-weight: 600;
  color: var(--frost);
}
.meta-sep {
  width: 1px; height: 32px;
  background: rgba(168,196,224,0.2);
}

.title-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(168,196,224,0.25);
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mid-blue);
  background: rgba(46,80,144,0.15);
  width: fit-content;
}
.title-badge svg { width: 14px; height: 14px; }

.title-visual {
  width: 40%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
}

.anatomy-circle {
  position: relative;
  width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.anatomy-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168,196,224,0.15);
  animation: rotate-ring 20s linear infinite;
}
.ring-1 { width: 100%; height: 100%; animation-duration: 30s; }
.ring-2 { width: 75%; height: 75%; animation-direction: reverse; animation-duration: 20s; }
.ring-3 { width: 50%; height: 50%; animation-duration: 15s; }
@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.anatomy-icon {
  width: 120px; height: 120px;
  background: rgba(46,80,144,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(168,196,224,0.3);
}
.anatomy-icon svg { width: 80px; height: 80px; }

/* ─── SLIDE HEADER ──────────────────────────────────────────── */
.slide-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.slide-num {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--deep-blue);
  background: rgba(46,80,144,0.08);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.slide-num.red {
  color: var(--red);
  background: rgba(192,57,43,0.08);
}
.slide-title-text {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  flex: 1;
}
.header-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--deep-blue), transparent);
  opacity: 0.2;
}
.header-line.red-line {
  background: linear-gradient(90deg, var(--red), transparent);
}

/* ─── CONTENT GRIDS ─────────────────────────────────────────── */
.content-grid {
  display: grid;
  gap: 28px;
  flex: 1;
  overflow: hidden;
}
.two-col { grid-template-columns: 1fr 1fr; }
.three-col { grid-template-columns: 1fr 1fr 1fr; }

.content-left, .content-right { overflow-y: auto; }
.content-left::-webkit-scrollbar,
.content-right::-webkit-scrollbar { width: 3px; }
.content-left::-webkit-scrollbar-thumb,
.content-right::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ─── SECTION SUBHEADINGS ───────────────────────────────────── */
.section-subhead {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--deep-blue);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(46,80,144,0.12);
}
.section-subhead.red-head { color: var(--red); border-bottom-color: rgba(192,57,43,0.15); }
.section-subhead.orange-head { color: var(--orange); border-bottom-color: rgba(230,126,34,0.15); }

/* ─── DEFINITION BLOCK ──────────────────────────────────────── */
.definition-block {
  display: flex; gap: 14px;
  background: linear-gradient(135deg, rgba(46,80,144,0.06), rgba(46,80,144,0.02));
  border: 1px solid rgba(46,80,144,0.12);
  border-left: 3px solid var(--deep-blue);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 18px;
}
.def-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(46,80,144,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--deep-blue);
}
.def-icon svg { width: 18px; height: 18px; }
.def-text h3 {
  font-size: 13px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.def-text p {
  font-size: 12px; line-height: 1.6;
  color: var(--slate);
  font-family: 'Source Serif 4', serif;
}

/* ─── STAT CARDS ────────────────────────────────────────────── */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 16px;
}
.stat-card {
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
}
.stat-card.accent {
  background: linear-gradient(135deg, var(--deep-blue), #1B3A6B);
  border-color: transparent;
}
.stat-card.accent .stat-num,
.stat-card.accent .stat-label { color: white; }
.stat-num {
  display: block;
  font-size: 20px; font-weight: 800;
  color: var(--deep-blue);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 10px; font-weight: 500;
  color: var(--slate);
  margin-top: 2px;
  line-height: 1.3;
}

/* ─── HIGHLIGHT BOX ─────────────────────────────────────────── */
.highlight-box {
  background: rgba(46,80,144,0.06);
  border: 1px solid rgba(46,80,144,0.15);
  border-left: 3px solid var(--deep-blue);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 11.5px; line-height: 1.6;
  color: var(--slate);
  font-family: 'Source Serif 4', serif;
}
.highlight-box strong { color: var(--navy); }
.highlight-box.red-box {
  background: rgba(192,57,43,0.05);
  border-color: rgba(192,57,43,0.15);
  border-left-color: var(--red);
}

/* ─── ADVANTAGE LIST ────────────────────────────────────────── */
.advantage-list { display: flex; flex-direction: column; gap: 8px; }
.adv-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; line-height: 1.5;
  color: var(--slate);
}
.adv-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.adv-icon.green { background: var(--green-pale); color: var(--green); }

/* ─── INDICATION CARDS ──────────────────────────────────────── */
.indication-cards { display: flex; flex-direction: column; gap: 8px; }
.ind-card {
  display: flex; gap: 10px;
  padding: 10px 12px;
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 11.5px;
}
.ind-card.primary {
  background: rgba(46,80,144,0.06);
  border-color: rgba(46,80,144,0.2);
}
.ind-card strong { display: block; font-size: 12px; color: var(--navy); margin-bottom: 2px; }
.ind-card p { color: var(--slate); line-height: 1.4; margin: 0; font-size: 11px; }
.ind-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* ─── ONCOLOGIC LIST ────────────────────────────────────────── */
.onco-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.onco-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: var(--slate); line-height: 1.5;
}
.onco-badge {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--deep-blue);
  color: white;
  padding: 2px 7px;
  border-radius: 100px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── CONTRAINDICATIONS ─────────────────────────────────────── */
.contra-list { display: flex; flex-direction: column; gap: 10px; }
.contra-item {
  display: flex; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 11.5px;
}
.contra-item.absolute {
  background: rgba(192,57,43,0.05);
  border: 1px solid rgba(192,57,43,0.15);
}
.contra-item.relative {
  background: rgba(230,126,34,0.05);
  border: 1px solid rgba(230,126,34,0.15);
}
.contra-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.contra-icon.rel {
  background: var(--orange);
  font-size: 14px;
}
.contra-item strong { display: block; color: var(--navy); margin-bottom: 3px; }
.contra-item p { color: var(--slate); line-height: 1.4; margin: 0; font-size: 11px; }

/* ─── TYPES GRID ────────────────────────────────────────────── */
.types-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; flex: 1;
}
.type-card {
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.type-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.type-card.featured {
  background: linear-gradient(135deg, rgba(46,80,144,0.08), rgba(46,80,144,0.03));
  border-color: rgba(46,80,144,0.25);
  border-top: 3px solid var(--deep-blue);
}
.type-abbr {
  font-size: 28px; font-weight: 800;
  color: var(--deep-blue);
  letter-spacing: -0.02em;
}
.type-card.featured .type-abbr { color: var(--deep-blue); }
.type-name {
  font-size: 12px; font-weight: 700;
  color: var(--navy); line-height: 1.3;
}
.type-desc {
  font-size: 11px; line-height: 1.6;
  color: var(--slate);
  font-family: 'Source Serif 4', serif;
  flex: 1;
}
.type-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(46,80,144,0.1);
  color: var(--deep-blue);
  padding: 2px 7px;
  border-radius: 100px;
}
.classification-note {
  margin-top: 14px;
  font-size: 11px; color: var(--slate);
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: 'Source Serif 4', serif;
}

/* ─── PRE-OP SECTIONS ───────────────────────────────────────── */
.preop-section {
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow-y: auto;
}
.preop-icon {
  width: 40px; height: 40px;
  background: rgba(46,80,144,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--deep-blue);
  margin-bottom: 12px;
}
.preop-icon svg { width: 20px; height: 20px; }
.preop-section h3 {
  font-size: 13px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}
.preop-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 7px;
}
.preop-list li {
  font-size: 11.5px; line-height: 1.5;
  color: var(--slate);
  padding-left: 14px;
  position: relative;
}
.preop-list li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--deep-blue);
  font-size: 9px;
  top: 2px;
}
.preop-list li strong { color: var(--navy); }

/* ─── POSITIONING ───────────────────────────────────────────── */
.position-diagram {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  min-height: 140px;
}
.position-visual {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.patient-figure {
  position: relative;
  width: 200px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.pf-head {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(168,196,224,0.3);
  border: 1.5px solid var(--mid-blue);
}
.pf-body {
  position: absolute; left: 34px; top: 50%; transform: translateY(-50%);
  width: 100px; height: 18px;
  background: rgba(46,80,144,0.4);
  border-radius: 4px;
  border: 1.5px solid var(--mid-blue);
}
.pf-legs {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-right: 2px solid var(--mid-blue);
  border-top: 2px solid var(--mid-blue);
  border-radius: 0 8px 0 0;
}
.pf-label {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: var(--mid-blue); white-space: nowrap; font-weight: 600;
}
.position-arrows {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-top: 24px;
}
.arrow-down { font-size: 18px; color: var(--red); }
.arrow-note { font-size: 10px; color: var(--slate-light); }

.position-points { display: flex; flex-direction: column; gap: 8px; }
.pos-item {
  display: flex; gap: 8px;
  font-size: 11.5px; line-height: 1.5; color: var(--slate);
}
.pos-bullet { color: var(--deep-blue); font-size: 10px; margin-top: 2px; flex-shrink: 0; }

/* ─── THEATRE SETUP ─────────────────────────────────────────── */
.theatre-setup { display: flex; flex-direction: column; gap: 10px; }
.setup-item {
  display: flex; gap: 12px;
  padding: 10px 12px;
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 11.5px;
}
.setup-icon { font-size: 20px; flex-shrink: 0; }
.setup-item strong { display: block; color: var(--navy); margin-bottom: 2px; font-size: 12px; }
.setup-item p { color: var(--slate); line-height: 1.4; margin: 0; font-size: 11px; }

/* ─── INSTRUMENTS GRID ──────────────────────────────────────── */
.instruments-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; flex: 1;
}
.instrument-category {
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  overflow-y: auto;
}
.instrument-category h3 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--deep-blue);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(46,80,144,0.12);
}
.instrument-list { display: flex; flex-direction: column; gap: 10px; }
.inst-item {
  display: flex; gap: 10px;
  font-size: 11px;
}
.inst-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(46,80,144,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.inst-icon.cam { background: rgba(46,80,144,0.15); }
.inst-icon.energy { background: rgba(192,57,43,0.1); }
.inst-icon.manip { background: rgba(39,174,96,0.1); }
.inst-item strong { display: block; color: var(--navy); margin-bottom: 2px; font-size: 11.5px; }
.inst-item p { color: var(--slate); line-height: 1.4; margin: 0; }

/* ─── PORT PLACEMENT ────────────────────────────────────────── */
.abdomen-diagram {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex; align-items: center; justify-content: center;
  height: 100%;
}
.abdomen-outline {
  display: flex; align-items: center; justify-content: center;
}
.abdomen-outline svg { max-height: 340px; }

.port-table { margin-bottom: 16px; }
.port-row {
  display: grid; grid-template-columns: 40px 70px 1fr 1fr;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11px;
  border-bottom: 1px solid var(--border);
}
.port-row.header-row {
  font-weight: 700; font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate);
  background: var(--frost);
  border-radius: 6px 6px 0 0;
}
.port-row.red-row { background: rgba(192,57,43,0.05); }
.port-row.grey-row { background: rgba(74,102,112,0.05); color: var(--slate); }

.port-notes h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--deep-blue); margin-bottom: 10px;
}
.note-item {
  display: flex; gap: 8px;
  font-size: 11px; line-height: 1.5; color: var(--slate);
  margin-bottom: 7px;
}
.note-bullet { color: var(--deep-blue); flex-shrink: 0; font-size: 10px; margin-top: 2px; }

/* ─── SURGICAL SLIDES ───────────────────────────────────────── */
.surgical-step-badge {
  position: absolute; top: 20px; right: 56px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red);
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

.surgical-content {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 24px; flex: 1; overflow: hidden;
}

.surgical-steps {
  display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto;
}
.surgical-steps::-webkit-scrollbar { width: 3px; }
.surgical-steps::-webkit-scrollbar-thumb { background: var(--border); }

.surg-step {
  display: flex; gap: 14px;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 11.5px;
  transition: border-color 0.2s ease;
}
.surg-step:hover { border-color: rgba(46,80,144,0.3); }
.step-num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--deep-blue);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.step-content strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: 12px; }
.step-content p { color: var(--slate); line-height: 1.6; margin: 0; font-family: 'Source Serif 4', serif; font-size: 11px; }

.surgical-anatomy {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow-y: auto;
  color: var(--frost);
}
.surgical-anatomy h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid-blue);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(168,196,224,0.15);
}

.anatomy-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.anat-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; color: rgba(227,237,247,0.8);
}
.anat-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.anat-dot.blue { background: var(--mid-blue); }
.anat-dot.red { background: var(--red-light); }
.anat-dot.orange { background: var(--orange); }

.critical-box {
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 11px; line-height: 1.6;
  color: rgba(227,237,247,0.85);
  font-family: 'Source Serif 4', serif;
}
.critical-box strong { color: var(--frost); }

/* ─── SURGICAL SPACES ───────────────────────────────────────── */
.spaces-diagram { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.space-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: rgba(227,237,247,0.8);
}
.space-color {
  width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0;
}

/* ─── VASCULAR DIAGRAM ──────────────────────────────────────── */
.vascular-diagram { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.vasc-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 11px; color: rgba(227,237,247,0.8); line-height: 1.5;
}
.vasc-vessel {
  width: 24px; height: 8px; border-radius: 4px; flex-shrink: 0; margin-top: 4px;
}
.red-vessel { background: var(--red-light); }
.blue-vessel { background: var(--mid-blue); }
.orange-vessel { background: var(--orange); }

/* ─── MORCELLATION INFO ─────────────────────────────────────── */
.morcellation-info { display: flex; flex-direction: column; gap: 10px; }
.morc-item {
  font-size: 11px; line-height: 1.6;
  color: rgba(227,237,247,0.8);
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
}
.morc-item.warning {
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  color: rgba(227,237,247,0.9);
}
.morc-item strong { color: var(--frost); display: block; margin-bottom: 4px; }
.morc-item ul { padding-left: 16px; margin-top: 6px; }
.morc-item li { margin-bottom: 3px; }

/* ─── TECHNIQUE COMPARE ─────────────────────────────────────── */
.technique-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 14px;
}
.tech-item {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 12px;
}
.tech-header {
  font-size: 11px; font-weight: 700;
  color: var(--mid-blue);
  margin-bottom: 8px;
}
.tech-pros {
  font-size: 10.5px; line-height: 1.8;
  color: rgba(227,237,247,0.75);
}

/* ─── COMPLICATIONS GRID ────────────────────────────────────── */
.complications-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; flex: 1;
}
.comp-card {
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid;
  overflow-y: auto;
}
.comp-card.major {
  background: rgba(192,57,43,0.04);
  border-color: rgba(192,57,43,0.2);
}
.comp-card.moderate {
  background: rgba(230,126,34,0.04);
  border-color: rgba(230,126,34,0.2);
}
.comp-card.minor {
  background: rgba(46,80,144,0.04);
  border-color: rgba(46,80,144,0.15);
}
.comp-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.comp-icon { font-size: 20px; }
.comp-header strong { font-size: 13px; color: var(--navy); display: block; }
.comp-rate {
  font-size: 10px; font-weight: 600;
  color: var(--slate);
  display: block;
}
.comp-body p {
  font-size: 11px; line-height: 1.6;
  color: var(--slate);
  margin-bottom: 6px;
  font-family: 'Source Serif 4', serif;
}
.comp-body p strong { color: var(--navy); }

/* ─── ERAS TIMELINE ─────────────────────────────────────────── */
.eras-timeline { display: flex; flex-direction: column; gap: 12px; }
.eras-phase {
  border-left: 2px solid var(--deep-blue);
  padding-left: 14px;
}
.phase-label {
  font-size: 11px; font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.phase-items { display: flex; flex-direction: column; gap: 4px; }
.phase-item {
  font-size: 11px; line-height: 1.5;
  color: var(--slate);
  padding-left: 10px;
  position: relative;
}
.phase-item::before {
  content: '·';
  position: absolute; left: 0;
  color: var(--deep-blue);
  font-size: 16px; line-height: 1;
}

/* ─── POST-OP COMPLICATIONS ─────────────────────────────────── */
.postop-complications { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.postop-item {
  display: flex; gap: 10px;
  padding: 8px 10px;
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 11px; line-height: 1.5;
}
.postop-timing {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--deep-blue);
  color: white;
  padding: 2px 7px;
  border-radius: 100px;
  flex-shrink: 0;
  height: fit-content;
  margin-top: 1px;
  white-space: nowrap;
}
.postop-item strong { color: var(--navy); }
.postop-item div { color: var(--slate); }

/* ─── OUTCOMES TABLE ────────────────────────────────────────── */
.outcomes-table { margin-bottom: 16px; }
.outcome-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 8px;
  padding: 7px 10px;
  font-size: 11px;
  border-bottom: 1px solid var(--border);
}
.outcome-row.header {
  font-weight: 700; font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate);
  background: var(--frost);
  border-radius: 6px 6px 0 0;
}
.outcome-row .good { color: var(--green); font-weight: 600; }

/* ─── TRIAL LIST ────────────────────────────────────────────── */
.trial-list { display: flex; flex-direction: column; gap: 8px; }
.trial-item {
  padding: 10px 12px;
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 11px;
}
.trial-name {
  display: block; font-weight: 700;
  color: var(--deep-blue); margin-bottom: 4px;
}
.trial-item p { color: var(--slate); line-height: 1.5; margin: 0; }

/* ─── LEARNING CURVE ────────────────────────────────────────── */
.learning-curve {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 16px;
}
.lc-item {
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
}
.lc-num {
  font-size: 22px; font-weight: 800;
  color: var(--deep-blue);
  display: block; margin-bottom: 4px;
}
.lc-label {
  font-size: 10px; color: var(--slate);
  line-height: 1.4;
}

/* ─── ROBOT COMPARE ─────────────────────────────────────────── */
.robot-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 14px;
}
.rc-item {
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 11px;
}
.rc-item strong { display: block; color: var(--navy); margin-bottom: 6px; }
.rc-item ul { padding-left: 14px; }
.rc-item li { color: var(--slate); line-height: 1.6; }

/* ─── REFERENCES ────────────────────────────────────────────── */
.references-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; flex: 1; overflow: hidden;
}
.ref-column { overflow-y: auto; }
.ref-column::-webkit-scrollbar { width: 3px; }
.ref-column::-webkit-scrollbar-thumb { background: var(--border); }
.ref-column h3 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--deep-blue);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(46,80,144,0.12);
}
.ref-list { display: flex; flex-direction: column; gap: 8px; }
.ref-item {
  display: flex; gap: 10px;
  font-size: 11px; line-height: 1.6;
  color: var(--slate);
  font-family: 'Source Serif 4', serif;
}
.ref-num {
  font-weight: 700; color: var(--deep-blue);
  flex-shrink: 0; font-family: 'Plus Jakarta Sans', sans-serif;
}
.ref-item em { font-style: italic; color: var(--navy); }

.closing-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.closing-text {
  font-size: 13px; font-weight: 700;
  color: var(--navy);
}
.closing-sub {
  font-size: 10.5px; color: var(--slate);
  font-family: 'Source Serif 4', serif;
  font-style: italic;
}

/* ─── KEYBOARD HINT ─────────────────────────────────────────── */
.keyboard-hint {
  position: fixed; bottom: 32px; left: 32px;
  font-size: 10px; color: rgba(168,196,224,0.4);
  letter-spacing: 0.06em;
  z-index: 100;
}

/* ─── SCROLLBAR GLOBAL ──────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(46,80,144,0.2); border-radius: 2px; }

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide.active .slide-header { animation: fadeInUp 0.4s ease 0.1s both; }
.slide.active .content-grid { animation: fadeInUp 0.4s ease 0.2s both; }
.slide.active .types-grid { animation: fadeInUp 0.4s ease 0.2s both; }
.slide.active .instruments-grid { animation: fadeInUp 0.4s ease 0.2s both; }
.slide.active .surgical-content { animation: fadeInUp 0.4s ease 0.2s both; }
.slide.active .complications-grid { animation: fadeInUp 0.4s ease 0.2s both; }
.slide.active .references-grid { animation: fadeInUp 0.4s ease 0.2s both; }
.slide.active .title-content { animation: fadeInUp 0.6s ease 0.1s both; }
.slide.active .title-visual { animation: fadeInUp 0.6s ease 0.3s both; }