@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #1a1a2e;
}

.slide {
  max-width: 1100px;
  width: 100%;
  min-height: 80vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 90px;
  overflow: hidden;
}

/* Typography */

h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: #0d1117;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0891b2;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #0891b2;
}

.subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.highlight {
  color: #0891b2;
  font-weight: 600;
}

.highlight-orange {
  color: #f97316;
  font-weight: 600;
}

/* Lists */

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.2rem;
  line-height: 1.5;
}

ul li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: #0891b2;
}

ul ul li {
  font-size: 1rem;
  color: #6b7280;
}

ul ul li::before {
  content: "\2022";
  color: #0891b2;
}

/* Code */

code {
  background: rgba(8, 145, 178, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
  color: #0891b2;
}

pre {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.85rem;
  border-left: 3px solid #0891b2;
  margin: 1rem 0;
  color: #1a1a2e;
}

pre code {
  background: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

/* Navigation */

.nav {
  position: fixed;
  bottom: 20px;
  left: 30px;
  display: flex;
  gap: 8px;
}

.nav a {
  color: #9ca3af;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 0.75rem;
  background: #ffffff;
}

.nav a:hover {
  background: #0891b2;
  color: #ffffff;
  border-color: #0891b2;
}

/* Footer */

.slide-footer {
  position: fixed;
  bottom: 20px;
  right: 30px;
  font-size: 0.85rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

.slide-footer .sep {
  color: #0891b2;
}

/* Section title */

.section-title {
  color: #0891b2;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Layouts */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.three-column {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

/* Cards */

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.card.accent {
  background: rgba(8, 145, 178, 0.05);
  border-color: rgba(8, 145, 178, 0.2);
}

.card.accent-orange {
  background: rgba(249, 115, 22, 0.05);
  border-color: rgba(249, 115, 22, 0.2);
}

.card h3 {
  margin-bottom: 0.5rem;
}

/* Image grid */

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.image-grid img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* GIF container */

.gif-container {
  max-width: 300px;
  margin: 1rem 0;
}

/* Tool tags */

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tool-tag {
  background: rgba(8, 145, 178, 0.1);
  border: 1px solid rgba(8, 145, 178, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #0891b2;
  font-weight: 500;
}

.tool-tag.orange {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.25);
  color: #f97316;
}

/* Icon system (replaces emojis on slides 8, 9) */

.icon-wrap {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0fdfa;
  border-radius: 8px;
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: #0891b2;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-wrap.small {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.icon-wrap.small svg {
  width: 16px;
  height: 16px;
}

/* Quote */

.quote {
  font-style: italic;
  color: #6b7280;
  border-left: 3px solid #0891b2;
  padding-left: 1rem;
  margin: 1rem 0;
}

/* Tables */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

th {
  color: #0891b2;
  font-weight: 600;
}

/* Contact info */

.contact-info {
  margin-top: 2rem;
}

.contact-info a {
  color: #0891b2;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Break slide */

.break-slide {
  text-align: center;
  justify-content: center;
}

.break-slide h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

/* =========================================
   ANIMATION SYSTEM
   ========================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.8); }
  70% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Base animation properties */
.animate {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-fill-mode: both;
}

.animate-fast { animation-duration: 0.3s; }
.animate-slow { animation-duration: 0.7s; }

/* Animation types */
.animate-fade { animation-name: fadeIn; }
.animate-scale { animation-name: scaleIn; }
.animate-slide-left { animation-name: slideInLeft; }
.animate-slide-right { animation-name: slideInRight; }
.animate-pop { animation-name: popIn; }
.animate-fade-up { animation-name: fadeInUp; }

/* Stagger delays for children */
.animate-stagger > * {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-fill-mode: both;
}

.animate-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.animate-stagger > *:nth-child(6) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.animate-stagger > *:nth-child(8) { animation-delay: 0.4s; }
.animate-stagger > *:nth-child(9) { animation-delay: 0.45s; }
.animate-stagger > *:nth-child(10) { animation-delay: 0.5s; }

/* Slower stagger for dramatic effect */
.animate-stagger-slow > * {
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-fill-mode: both;
}

.animate-stagger-slow > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger-slow > *:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger-slow > *:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger-slow > *:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger-slow > *:nth-child(5) { animation-delay: 0.5s; }
.animate-stagger-slow > *:nth-child(6) { animation-delay: 0.6s; }

/* Stagger animation type combos */
.animate-stagger-scale > * { animation-name: scaleIn; }
.animate-stagger-pop > * { animation-name: popIn; }
.animate-stagger-fade > * { animation-name: fadeIn; }
.animate-stagger-left > * { animation-name: slideInLeft; }
.animate-stagger-right > * { animation-name: slideInRight; }

/* Hover effects */
.expand-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expand-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(8, 145, 178, 0.15);
}

/* Responsive */

@media (max-width: 900px) {
  .two-column, .three-column {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  body {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 16px 12px;
  }

  .slide {
    min-height: auto;
    max-height: none;
    padding-bottom: 60px;
    overflow: visible;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }

  ul li {
    font-size: 1rem;
    padding: 0.4rem 0;
    padding-left: 1.25rem;
  }

  .nav {
    position: static;
    margin-top: 1rem;
    justify-content: center;
  }

  .slide-footer {
    position: static;
    margin-top: 0.5rem;
    justify-content: center;
    font-size: 0.75rem;
  }

  .two-column, .three-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    padding: 1rem;
  }

  pre {
    font-size: 0.75rem;
    padding: 1rem;
  }

  .tool-tag {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Landscape mobile: short viewport, nav/footer overlap content */
@media (max-height: 500px) and (orientation: landscape) {
  .slide {
    min-height: auto;
    max-height: none;
    padding-bottom: 60px;
    overflow: visible;
  }

  .nav {
    position: static;
    margin-top: 1rem;
    justify-content: center;
  }

  .slide-footer {
    position: static;
    margin-top: 0.5rem;
    justify-content: center;
    font-size: 0.75rem;
  }
}

/* Keyboard navigation hint - hidden */
.nav-hint {
  display: none;
}
