/* ============================================================
   T CELL ACTIVATION & IMMUNE CHECKPOINTS — PRESENTATION CSS
   Design: Scientific Editorial · Palette: Deep Navy + Teal + Amber
   ============================================================ */

:root {
  --navy:    #0A1628;
  --navy2:   #0F2044;
  --navy3:   #162B55;
  --teal:    #00B4D8;
  --teal2:   #0096B7;
  --teal3:   #48CAE4;
  --amber:   #F4A261;
  --amber2:  #E76F51;
  --green:   #2DC653;
  --red:     #E63946;
  --purple:  #7B2FBE;
  --purple2: #9D4EDD;
  --white:   #F8FAFC;
  --gray1:   #E2E8F0;
  --gray2:   #94A3B8;
  --gray3:   #475569;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--navy);
  font-family: var(--font-body);
  color: var(--white);
}

/* ============================================================
   SLIDE SYSTEM
   ============================================================ */
.slide {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(60px);
  transition: opacity 0.55s cubic-bezier(.4,0,.2,1), transform 0.55s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.slide.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.slide.exit-left {
  opacity: 0;
  transform: translateX(-60px);
}

/* ============================================================
   SLIDE BACKGROUNDS
   ============================================================ */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide-bg-1 {
  background: radial-gradient(ellipse at 20% 50%, #162B55 0%, #0A1628 60%),
              radial-gradient(ellipse at 80% 20%, #00B4D820 0%, transparent 50%);
}
.slide-bg-2  { background: linear-gradient(135deg, #0A1628 0%, #0F2044 50%, #0A1628 100%); }
.slide-bg-3  { background: linear-gradient(160deg, #0A1628 0%, #162B55 60%, #0A1628 100%); }
.slide-bg-4  { background: radial-gradient(ellipse at 50% 0%, #162B5540 0%, #0A1628 70%); }
.slide-bg-5  { background: linear-gradient(135deg, #0A1628 0%, #0F2044 100%); }
.slide-bg-6  { background: linear-gradient(160deg, #0A1628 0%, #0F2044 100%); }
.slide-bg-7  { background: radial-gradient(ellipse at 80% 80%, #7B2FBE20 0%, #0A1628 60%); }
.slide-bg-8  { background: radial-gradient(ellipse at 20% 80%, #00B4D820 0%, #0A1628 60%); }
.slide-bg-9  { background: linear-gradient(135deg, #0A1628 0%, #162B55 100%); }
.slide-bg-10 { background: radial-gradient(ellipse at 50% 50%, #0F2044 0%, #0A1628 80%); }
.slide-bg-11 { background: linear-gradient(160deg, #0A1628 0%, #0F2044 100%); }
.slide-bg-12 { background: radial-gradient(ellipse at 30% 70%, #00B4D815 0%, #0A1628 60%); }

/* Grid overlay on all slides */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* ============================================================
   NAVIGATION & CONTROLS
   ============================================================ */
.slide-counter {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1000;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray2);
  letter-spacing: 0.1em;
  background: rgba(10,22,40,0.7);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,180,216,0.2);
  backdrop-filter: blur(8px);
}
.nav-controls {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  gap: 10px;
}
.nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,180,216,0.4);
  background: rgba(10,22,40,0.8);
  color: var(--teal);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.nav-btn:hover { background: var(--teal); color: var(--navy); border-color: var(--teal); transform: scale(1.1); }
.progress-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 1000;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  transition: width 0.4s ease;
}

/* ============================================================
   SLIDE CONTENT WRAPPER
   ============================================================ */
.slide-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  padding: 28px 52px 20px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

/* ============================================================
   SLIDE HEADER
   ============================================================ */
.slide-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(0,180,216,0.2);
  padding-bottom: 12px;
  flex-shrink: 0;
}
.slide-number-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--teal);
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.3);
  padding: 4px 10px;
  border-radius: 4px;
}
.slide-header h2 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,180,216,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(0,180,216,0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.animate-in { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

/* ============================================================
   SLIDE 1: TITLE
   ============================================================ */
.title-slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 8vw;
  height: 100vh;
  gap: 18px;
}
.title-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--teal);
  text-transform: uppercase;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.3);
  padding: 6px 16px;
  border-radius: 20px;
}
.title-main {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}
.accent-text { color: var(--teal); }
.title-sub {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--gray2);
  font-weight: 300;
  letter-spacing: 0.02em;
}
.title-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  border-radius: 2px;
}
.title-meta {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}
.meta-item { display: flex; flex-direction: column; gap: 3px; }
.meta-label { font-size: 10px; letter-spacing: 0.15em; color: var(--gray3); text-transform: uppercase; }
.meta-value { font-size: 13px; color: var(--gray1); font-weight: 400; }

.floating-molecules {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
}
.mol {
  position: absolute;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1.5px solid;
  animation: float 4s ease-in-out infinite;
}
.mol-1 { top: 10%; left: 30%; border-color: var(--teal); color: var(--teal); background: rgba(0,180,216,0.1); animation-delay: 0s; }
.mol-2 { top: 35%; left: 60%; border-color: var(--amber); color: var(--amber); background: rgba(244,162,97,0.1); animation-delay: 0.8s; }
.mol-3 { top: 60%; left: 20%; border-color: var(--purple2); color: var(--purple2); background: rgba(157,78,221,0.1); animation-delay: 1.6s; }
.mol-4 { top: 75%; left: 55%; border-color: var(--green); color: var(--green); background: rgba(45,198,83,0.1); animation-delay: 2.4s; }
.mol-5 { top: 20%; left: 5%; border-color: var(--gray2); color: var(--gray2); background: rgba(148,163,184,0.1); animation-delay: 3.2s; }

/* ============================================================
   SLIDE 2: OVERVIEW
   ============================================================ */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  flex: 1;
}
.overview-card {
  border-radius: 12px;
  padding: 20px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.overview-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.card-blue   { background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,180,216,0.05)); border-color: rgba(0,180,216,0.3); }
.card-teal   { background: linear-gradient(135deg, rgba(72,202,228,0.15), rgba(72,202,228,0.05)); border-color: rgba(72,202,228,0.3); }
.card-purple { background: linear-gradient(135deg, rgba(157,78,221,0.15), rgba(157,78,221,0.05)); border-color: rgba(157,78,221,0.3); }
.card-orange { background: linear-gradient(135deg, rgba(244,162,97,0.15), rgba(244,162,97,0.05)); border-color: rgba(244,162,97,0.3); }
.card-icon { font-size: 28px; }
.overview-card h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--white); }
.overview-card p  { font-size: 12.5px; color: var(--gray2); line-height: 1.5; }
.key-concept {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0,180,216,0.08);
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: 8px;
  padding: 12px 18px;
  flex-shrink: 0;
}
.kc-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--teal);
  white-space: nowrap;
  background: rgba(0,180,216,0.15);
  padding: 4px 10px;
  border-radius: 4px;
}
.kc-text { font-size: 13px; color: var(--gray1); line-height: 1.4; }

/* ============================================================
   SLIDE 3: TWO SIGNAL MODEL
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  flex: 1;
  overflow: hidden;
}
.col-left, .col-right { display: flex; flex-direction: column; gap: 12px; }

.signal-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
}
.cell {
  width: 100%;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apc-cell { background: rgba(0,180,216,0.12); border: 1.5px solid rgba(0,180,216,0.3); }
.t-cell   { background: rgba(45,198,83,0.1);  border: 1.5px solid rgba(45,198,83,0.3); }
.cell-label { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--gray2); text-transform: uppercase; }
.molecule-row { display: flex; gap: 8px; }
.mol-box {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.mhc  { background: rgba(0,180,216,0.2); border: 1px solid rgba(0,180,216,0.4); color: var(--teal3); }
.cd80 { background: rgba(72,202,228,0.2); border: 1px solid rgba(72,202,228,0.4); color: var(--teal3); }
.tcr  { background: rgba(45,198,83,0.2);  border: 1px solid rgba(45,198,83,0.4);  color: var(--green); }
.cd28 { background: rgba(244,162,97,0.2); border: 1px solid rgba(244,162,97,0.4); color: var(--amber); }

.synapse-zone {
  display: flex;
  gap: 20px;
  padding: 8px 0;
  width: 100%;
  justify-content: center;
}
.synapse-arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.arrow-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 10px;
}
.signal-1 { background: rgba(0,180,216,0.2); color: var(--teal); border: 1px solid rgba(0,180,216,0.4); }
.signal-2 { background: rgba(244,162,97,0.2); color: var(--amber); border: 1px solid rgba(244,162,97,0.4); }
.arrow-line { width: 2px; height: 20px; background: var(--gray3); }

.outcome-boxes { display: flex; flex-direction: column; gap: 6px; }
.outcome {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.outcome.good    { background: rgba(45,198,83,0.12);  border: 1px solid rgba(45,198,83,0.3);  color: var(--green); }
.outcome.bad     { background: rgba(230,57,70,0.12);  border: 1px solid rgba(230,57,70,0.3);  color: #FF6B6B; }
.outcome.neutral { background: rgba(148,163,184,0.1); border: 1px solid rgba(148,163,184,0.2); color: var(--gray2); }

.info-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
}
.info-block h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.info-block p  { font-size: 12px; color: var(--gray2); line-height: 1.5; }
.ref-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  color: var(--teal2);
  background: rgba(0,180,216,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-style: italic;
}

/* ============================================================
   SLIDE 4: SIGNALING CASCADE
   ============================================================ */
.cascade-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}
.cascade-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.step-receptor { border-left: 3px solid var(--teal); }
.step-kinase   { border-left: 3px solid var(--amber); }
.step-zap      { border-left: 3px solid var(--purple2); }
.step-lat      { border-left: 3px solid var(--green); }
.step-icon { font-size: 20px; flex-shrink: 0; }
.step-content { display: flex; flex-direction: column; gap: 2px; }
.step-content strong { font-size: 13px; color: var(--white); font-family: var(--font-display); }
.step-content span   { font-size: 11.5px; color: var(--gray2); }
.cascade-arrow { text-align: center; color: var(--gray3); font-size: 14px; line-height: 1; }

.three-pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
}
.pathway {
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pathway-ca    { background: rgba(0,180,216,0.1);  border: 1px solid rgba(0,180,216,0.3); }
.pathway-nfkb  { background: rgba(244,162,97,0.1); border: 1px solid rgba(244,162,97,0.3); }
.pathway-erk   { background: rgba(45,198,83,0.1);  border: 1px solid rgba(45,198,83,0.3); }
.pw-title   { font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--white); }
.pw-steps   { font-size: 10.5px; color: var(--gray2); line-height: 1.5; }
.pw-outcome { font-size: 11px; font-weight: 600; color: var(--teal3); margin-top: 4px; }
.ref-footer { font-size: 10px; color: var(--gray3); text-align: right; font-style: italic; flex-shrink: 0; }

/* ============================================================
   SLIDE 5: IMMUNOLOGICAL SYNAPSE
   ============================================================ */
.synapse-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  flex: 1;
  overflow: hidden;
}
.synapse-diagram-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.synapse-ring {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.csmac {
  width: 180px; height: 180px;
  background: rgba(0,180,216,0.12);
  border: 2px solid rgba(0,180,216,0.5);
  z-index: 3;
}
.psmac {
  width: 290px; height: 290px;
  background: rgba(244,162,97,0.06);
  border: 2px solid rgba(244,162,97,0.3);
  z-index: 2;
}
.dsmac {
  width: 380px; height: 380px;
  background: rgba(148,163,184,0.04);
  border: 2px solid rgba(148,163,184,0.2);
  z-index: 1;
}
.ring-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gray2);
  position: absolute;
  top: 8px;
}
.ring-molecules { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; padding: 20px 10px 6px; }
.sm {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: var(--gray1);
  border: 1px solid rgba(255,255,255,0.12);
}
.ctla4-color { background: rgba(230,57,70,0.2) !important; color: #FF6B6B !important; border-color: rgba(230,57,70,0.4) !important; }

.synapse-facts { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.fact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 14px;
}
.fact-card h4 { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.fact-card p  { font-size: 11.5px; color: var(--gray2); line-height: 1.5; }
.highlight-card { border-color: rgba(0,180,216,0.3); background: rgba(0,180,216,0.06); }

/* ============================================================
   SLIDE 6: T CELL FATES
   ============================================================ */
.fate-diagram {
  display: flex;
  gap: 20px;
  flex: 1;
  align-items: center;
  overflow: hidden;
}
.naive-cell-box { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cell-circle {
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.naive { background: rgba(0,180,216,0.15); border: 2px solid var(--teal); color: var(--teal3); }
.fate-arrows { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fate-branch { display: flex; align-items: center; gap: 10px; }
.fate-arrow { font-size: 18px; color: var(--gray3); flex-shrink: 0; }
.fate-box {
  flex: 1;
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}
.fate-box strong { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--white); min-width: 60px; }
.fate-box span   { font-size: 11px; color: var(--teal3); min-width: 120px; }
.fate-box small  { font-size: 10px; color: var(--gray3); min-width: 100px; }
.fate-function   { font-size: 10.5px; color: var(--gray2); flex: 1; }
.th1  { border-left: 3px solid #E63946; }
.th2  { border-left: 3px solid var(--amber); }
.th17 { border-left: 3px solid var(--purple2); }
.treg { border-left: 3px solid var(--green); }
.exhausted { border-left: 3px solid var(--gray3); background: rgba(71,85,105,0.15); }

/* ============================================================
   SLIDE 7: CTLA-4
   ============================================================ */
.checkpoint-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  flex: 1;
  overflow: hidden;
}
.checkpoint-mechanism { display: flex; flex-direction: column; gap: 12px; }
.mech-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ctla4-diagram {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mech-cell {
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apc-mech { background: rgba(0,180,216,0.1); border: 1px solid rgba(0,180,216,0.3); }
.tcell-mech { background: rgba(45,198,83,0.08); border: 1px solid rgba(45,198,83,0.25); }
.mech-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--gray3); text-transform: uppercase; }
.mech-mols { display: flex; gap: 8px; }
.mech-mol {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.b7    { background: rgba(0,180,216,0.2); color: var(--teal3); border: 1px solid rgba(0,180,216,0.4); }
.cd28m { background: rgba(45,198,83,0.2); color: var(--green); border: 1px solid rgba(45,198,83,0.4); }
.ctla4m { background: rgba(230,57,70,0.2); color: #FF6B6B; border: 1px solid rgba(230,57,70,0.4); }
.mech-interactions { display: flex; flex-direction: column; gap: 6px; padding: 4px 0; }
.interaction { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 6px; }
.interaction.win  { background: rgba(45,198,83,0.08); }
.interaction.lose { background: rgba(230,57,70,0.08); }
.int-mol { font-size: 11px; font-weight: 700; min-width: 60px; }
.cd28-int  { color: var(--green); }
.ctla4-int { color: #FF6B6B; }
.int-arrow { font-size: 11px; }
.green-arrow { color: var(--green); }
.red-arrow   { color: #FF6B6B; }
.mech-effects { display: flex; flex-direction: column; gap: 6px; }
.effect-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: var(--gray2);
  padding: 6px 10px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  line-height: 1.4;
}
.checkpoint-drug { display: flex; flex-direction: column; gap: 12px; }
.drug-card {
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ipilimumab { background: rgba(157,78,221,0.1); border: 1px solid rgba(157,78,221,0.3); }
.drug-name { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--white); }
.drug-target { font-size: 12px; color: var(--purple2); font-weight: 600; }
.drug-approval { font-size: 11px; color: var(--gray2); }
.drug-indication { font-size: 11px; color: var(--amber); }
.drug-data { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.data-row { font-size: 11px; color: var(--gray2); }
.data-row span { color: var(--white); font-weight: 600; }
.ctla4-biology { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 12px 14px; }
.ctla4-biology h4 { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.ctla4-biology ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ctla4-biology li { font-size: 11px; color: var(--gray2); padding-left: 12px; position: relative; line-height: 1.4; }
.ctla4-biology li::before { content: '→'; position: absolute; left: 0; color: var(--teal); }

/* ============================================================
   SLIDE 8: PD-1
   ============================================================ */
.pd1-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  flex: 1;
  overflow: hidden;
}
.pd1-mechanism { display: flex; flex-direction: column; gap: 12px; }
.pd1-diagram {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
}
.pd1-cell {
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.tumor-cell-pd { background: rgba(230,57,70,0.1); border: 1px solid rgba(230,57,70,0.3); }
.tcell-pd      { background: rgba(148,163,184,0.08); border: 1px solid rgba(148,163,184,0.2); }
.cell-name { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--gray3); text-transform: uppercase; }
.pd-mol {
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}
.pdl1  { background: rgba(230,57,70,0.2); color: #FF6B6B; border: 1px solid rgba(230,57,70,0.4); }
.pdl2  { background: rgba(230,57,70,0.12); color: #FF9999; border: 1px solid rgba(230,57,70,0.25); }
.pd1-mol { background: rgba(148,163,184,0.15); color: var(--gray1); border: 1px solid rgba(148,163,184,0.3); }
.tim3  { background: rgba(244,162,97,0.15); color: var(--amber); border: 1px solid rgba(244,162,97,0.3); }
.lag3  { background: rgba(157,78,221,0.15); color: var(--purple2); border: 1px solid rgba(157,78,221,0.3); }
.ifng-arrow { font-size: 9.5px; color: var(--gray3); font-style: italic; margin-top: 4px; }
.pd1-synapse {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  padding: 0 8px;
}
.pd1-binding { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--amber); text-align: center; }
.pd1-result  { font-size: 10.5px; color: var(--gray2); text-align: center; }
.pd1-vs-ctla4 { flex: 1; overflow: hidden; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.comparison-table th {
  background: rgba(0,180,216,0.15);
  color: var(--teal3);
  padding: 7px 10px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid rgba(0,180,216,0.3);
}
.comparison-table td {
  padding: 6px 10px;
  color: var(--gray2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
  line-height: 1.4;
}
.comparison-table td:first-child { color: var(--white); font-weight: 600; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.03); }
.pd1-drugs { display: flex; flex-direction: column; gap: 8px; }
.drug-mini {
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}
.drug-mini strong { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--white); }
.drug-mini span   { font-size: 11px; color: var(--gray2); }
.pembro { border-left: 3px solid var(--teal); }
.nivo   { border-left: 3px solid var(--amber); }
.atezo  { border-left: 3px solid var(--purple2); }
.durva  { border-left: 3px solid var(--green); }

/* ============================================================
   SLIDE 9: TME
   ============================================================ */
.tme-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex: 1;
  overflow: hidden;
}
.tme-diagram { display: flex; flex-direction: column; gap: 12px; }
.tme-center { display: flex; justify-content: center; }
.tumor-mass {
  width: 140px; height: 80px;
  background: rgba(230,57,70,0.15);
  border: 2px solid rgba(230,57,70,0.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  animation: pulse-glow 3s ease-in-out infinite;
}
.tumor-label { font-family: var(--font-display); font-size: 12px; font-weight: 800; color: #FF6B6B; }
.tumor-signals { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; }
.tumor-signals span { font-size: 9px; color: var(--gray3); background: rgba(255,255,255,0.05); padding: 1px 5px; border-radius: 3px; }
.tme-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tme-cell {
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.exhausted-t { border-left: 3px solid var(--gray3); }
.treg-cell   { border-left: 3px solid var(--green); }
.mdscs       { border-left: 3px solid var(--amber); }
.tam         { border-left: 3px solid var(--purple2); }
.tc-name     { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--white); }
.tc-markers  { font-size: 10px; color: var(--teal3); }
.tc-function { font-size: 10.5px; color: var(--gray2); }
.exhaustion-stages { display: flex; flex-direction: column; gap: 14px; }
.exhaustion-stages h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--white); }
.exhaustion-timeline { display: flex; align-items: center; gap: 6px; }
.ex-stage { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; }
.ex-dot { width: 14px; height: 14px; border-radius: 50%; }
.active-dot   { background: var(--green); box-shadow: 0 0 8px var(--green); }
.early-dot    { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.late-dot     { background: var(--amber2); box-shadow: 0 0 8px var(--amber2); }
.terminal-dot { background: var(--gray3); }
.ex-label  { font-size: 11px; font-weight: 700; color: var(--white); text-align: center; }
.ex-markers { font-size: 9.5px; color: var(--gray2); text-align: center; line-height: 1.4; }
.ex-arrow  { color: var(--gray3); font-size: 18px; flex-shrink: 0; }
.ici-rescue {
  background: rgba(0,180,216,0.08);
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: 6px;
  padding: 8px 14px;
}
.rescue-arrow { font-size: 12px; color: var(--teal3); font-weight: 600; }

/* ============================================================
   SLIDE 10: CLINICAL DATA
   ============================================================ */
.clinical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex: 1;
}
.trial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s;
}
.trial-card:hover { transform: translateY(-3px); }
.trial-name   { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--white); }
.trial-drug   { font-size: 11px; color: var(--teal3); font-weight: 600; }
.trial-cancer { font-size: 11px; color: var(--gray2); }
.trial-stats  { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.stat { display: flex; flex-direction: column; gap: 1px; }
.stat-num   { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--amber); line-height: 1; }
.stat-label { font-size: 10px; color: var(--gray2); }
.irae-box {
  background: rgba(230,57,70,0.08);
  border: 1px solid rgba(230,57,70,0.25);
  border-radius: 8px;
  padding: 12px 16px;
  flex-shrink: 0;
}
.irae-title { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: #FF6B6B; margin-bottom: 8px; }
.irae-stats { display: flex; gap: 24px; }
.irae-item  { font-size: 12px; color: var(--gray2); display: flex; align-items: center; gap: 8px; }
.irae-num   { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: #FF6B6B; }

/* ============================================================
   SLIDE 11: NEXT-GEN
   ============================================================ */
.nextgen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
}
.nextgen-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, border-color 0.2s;
}
.nextgen-card:hover { transform: translateY(-3px); border-color: rgba(0,180,216,0.3); }
.ng-target { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--teal3); }
.ng-ligands  { font-size: 10.5px; color: var(--amber); }
.ng-function { font-size: 11px; color: var(--gray2); line-height: 1.4; }
.ng-drug     { font-size: 11px; color: var(--white); font-weight: 600; margin-top: 4px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.08); }
.bispecific { border-color: rgba(157,78,221,0.3); background: rgba(157,78,221,0.06); }
.car-t      { border-color: rgba(45,198,83,0.3);  background: rgba(45,198,83,0.06); }

/* ============================================================
   SLIDE 12: SUMMARY
   ============================================================ */
.summary-layout {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 24px;
  flex: 1;
  overflow: hidden;
}
.summary-col { display: flex; flex-direction: column; gap: 10px; }
.sum-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--teal3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,180,216,0.2);
}
.sum-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  color: var(--gray2);
  line-height: 1.5;
}
.sum-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.4);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.summary-divider { background: rgba(255,255,255,0.08); border-radius: 2px; }
.final-quote {
  background: rgba(0,180,216,0.06);
  border: 1px solid rgba(0,180,216,0.2);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 12px 18px;
  flex-shrink: 0;
}
.final-quote blockquote { font-size: 13px; color: var(--gray1); font-style: italic; line-height: 1.5; margin-bottom: 4px; }
.final-quote cite { font-size: 11px; color: var(--teal2); }
.references-mini {
  font-size: 10px;
  color: var(--gray3);
  line-height: 1.5;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.references-mini strong { color: var(--gray2); }

/* ============================================================
   KEYBOARD HINT
   ============================================================ */
.keyboard-hint {
  position: fixed;
  bottom: 28px;
  left: 28px;
  font-size: 10px;
  color: var(--gray3);
  z-index: 1000;
  letter-spacing: 0.05em;
}
</style>