:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --border: #334155;
  --slide-bg: #0f172a;
  --wf-space-md: 16px;
  --wf-space-lg: 24px;
  --wf-space-xl: 48px;
  --wf-space-2xl: 64px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Presentation Container */
.presentation-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-bottom: 5rem;
}

/* Slide Styles */
.slide {
  width: 100%;
  max-width: 1100px;
  height: 620px;
  background: var(--bg-card);
  margin: 40px auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.8s ease-out forwards;
}

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

.slide-header {
  padding: 40px 60px 20px;
}

.slide-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  border-left: 6px solid var(--primary);
  padding-left: 20px;
}

.slide-content {
  flex: 1;
  padding: 20px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-footer {
  padding: 20px 60px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Typography Helpers */
.list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 1.4rem;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

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

.bullet {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Specialized Components */
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.tech-badge {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--primary);
  color: var(--accent);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.1rem;
}

.folder-tree {
  font-family: 'Fira Code', monospace;
  background: #0a0f1a;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 1.1rem;
  color: #10b981;
}

.folder-item { margin-left: 20px; color: #60a5fa; }
.file-item { margin-left: 40px; color: #94a3b8; }

/* Grid for Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.feature-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

/* Nav Controls */
.nav-dots {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.dot:hover {
  background: var(--accent);
  transform: scale(1.3);
}

/* Title Slide Specific */
.title-slide {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.title-slide .slide-title {
  border: none;
  padding: 0;
  font-size: 4rem;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .slide {
    height: auto;
    min-height: 500px;
  }
  .slide-title { font-size: 1.8rem; }
  .list-item { font-size: 1.1rem; }
  .features-grid { grid-template-columns: 1fr; }
}

.placeholder-image {
  background: linear-gradient(45deg, #1e293b, #334155);
  border-radius: 12px;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
}

/* Flow Diagram Styles */
.flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 10px;
  margin-top: 10px;
}

.flow-step {
  background: rgba(30, 41, 59, 0.8);
  border: 2px solid var(--primary);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-main);
  width: 220px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.flow-step.decision {
  border-color: #f59e0b;
  border-radius: 0;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  width: 160px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 0.9rem;
}

.flow-arrow {
  color: var(--accent);
  display: flex;
  justify-content: center;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  justify-content: center;
}

.flow-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}
