/* Component Styles */

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--primary-accent);
  color: var(--primary-bg);
}

.btn-primary:hover {
  background: var(--secondary-accent);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--secondary-bg);
  color: var(--primary-text);
  border: 1px solid var(--tertiary-bg);
}

.btn-secondary:hover {
  background: var(--tertiary-bg);
  border-color: var(--primary-accent);
}

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

.btn-outline:hover {
  background: var(--primary-accent);
  color: var(--primary-bg);
}

.btn-sm {
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
}

.btn-lg {
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
}

/* Badge Components */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background: rgba(74, 222, 128, 0.2);
  color: var(--success-color);
}

.badge-warning {
  background: rgba(251, 191, 36, 0.2);
  color: var(--warning-color);
}

.badge-error {
  background: rgba(248, 113, 113, 0.2);
  color: var(--error-color);
}

.badge-info {
  background: rgba(96, 165, 250, 0.2);
  color: var(--info-color);
}

.badge-neutral {
  background: var(--tertiary-bg);
  color: var(--secondary-text);
}

/* Alert Components */
.alert {
  padding: var(--space-md);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid;
  margin: var(--space-md) 0;
}

.alert-success {
  background: rgba(74, 222, 128, 0.1);
  border-color: var(--success-color);
  color: var(--success-color);
}

.alert-warning {
  background: rgba(251, 191, 36, 0.1);
  border-color: var(--warning-color);
  color: var(--warning-color);
}

.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border-color: var(--error-color);
  color: var(--error-color);
}

.alert-info {
  background: rgba(96, 165, 250, 0.1);
  border-color: var(--info-color);
  color: var(--info-color);
}

.alert-title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

/* Card Components */
.card {
  background: var(--secondary-bg);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--tertiary-bg);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--tertiary-bg);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary-text);
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--secondary-text);
  margin: var(--space-xs) 0 0 0;
}

.card-content {
  margin-bottom: var(--space-md);
}

.card-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--tertiary-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tab Components */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--tertiary-bg);
  margin-bottom: var(--space-lg);
}

.tab {
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  color: var(--secondary-text);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.tab:hover {
  color: var(--primary-text);
  background: var(--tertiary-bg);
}

.tab.active {
  color: var(--primary-accent);
  border-bottom-color: var(--primary-accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Modal Components */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal {
  background: var(--secondary-bg);
  border-radius: var(--border-radius-xl);
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--tertiary-bg);
}

.modal-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--tertiary-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary-text);
}

.modal-close {
  background: none;
  border: none;
  color: var(--secondary-text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--tertiary-bg);
  color: var(--primary-text);
}

.modal-content {
  padding: var(--space-lg);
}

.modal-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--tertiary-bg);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
}

/* Tooltip Components */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-bg);
  color: var(--primary-text);
  padding: var(--space-sm);
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  margin-bottom: var(--space-xs);
}

.tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--accent-bg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Progress Components */
.progress {
  width: 100%;
  height: 8px;
  background: var(--tertiary-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  border-radius: var(--border-radius);
  transition: width 0.5s ease;
}

.progress-with-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.progress-label {
  font-size: 0.875rem;
  color: var(--secondary-text);
}

.progress-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-text);
}

/* Loading Components */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--tertiary-bg);
  border-top: 2px solid var(--primary-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 4px;
}

.loading-dots {
  display: inline-flex;
  gap: var(--space-xs);
}

.loading-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-accent);
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Form Components */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-text);
  margin-bottom: var(--space-xs);
}

.form-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  border: 1px solid var(--tertiary-bg);
  border-radius: var(--border-radius);
  background: var(--secondary-bg);
  color: var(--primary-text);
  transition: all 0.2s ease;
  font-family: var(--font-primary);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.form-input::placeholder {
  color: var(--muted-text);
}

.form-select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  border: 1px solid var(--tertiary-bg);
  border-radius: var(--border-radius);
  background: var(--secondary-bg);
  color: var(--primary-text);
  cursor: pointer;
  font-family: var(--font-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  font-size: 0.75rem;
  color: var(--error-color);
  margin-top: var(--space-xs);
}

/* Chart Components */
.chart-container {
  background: var(--secondary-bg);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--tertiary-bg);
}

.chart-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--primary-text);
}

.chart-legend {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--secondary-text);
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

/* List Components */
.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--tertiary-bg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.list-item:last-child {
  border-bottom: none;
}

.list-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background: var(--tertiary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.list-item-content {
  flex: 1;
}

.list-item-title {
  font-weight: 500;
  color: var(--primary-text);
  margin-bottom: var(--space-xs);
}

.list-item-description {
  font-size: 0.875rem;
  color: var(--secondary-text);
  margin: 0;
}

/* Divider Components */
.divider {
  height: 1px;
  background: var(--tertiary-bg);
  margin: var(--space-lg) 0;
  border: none;
}

.divider-vertical {
  width: 1px;
  height: 100%;
  background: var(--tertiary-bg);
  margin: 0 var(--space-lg);
}

.divider-text {
  position: relative;
  text-align: center;
  margin: var(--space-lg) 0;
}

.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--tertiary-bg);
}

.divider-text span {
  background: var(--primary-bg);
  padding: 0 var(--space-md);
  color: var(--secondary-text);
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

/* Responsive Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

@media (max-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex { display: flex !important; }
}

@media (max-width: 1024px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
}

/* Slide-Specific Component Styles */

/* Title Slide Components */
.title-slide .slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
    padding: 0;
}

.title-container {
    text-align: center;
    z-index: 2;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.presenter-info {
    margin-bottom: 2rem;
}

.presenter-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.workshop-details {
    font-size: 1rem;
    color: var(--text-secondary);
}

.separator {
    margin: 0 0.5rem;
    color: var(--accent-color);
}

.tech-icons {
    font-size: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-lines {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.code-line {
    margin: 0.5rem 0;
}

/* Content Slide Components */
.content-slide .slide-header {
    text-align: center;
    margin-bottom: 2rem;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.content-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem 2rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Comparison Components */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-item {
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
}

.comparison-item.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color)10, var(--bg-secondary));
}

.comparison-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.boring-list li {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.exciting-list li {
    color: #27ae60;
    margin-bottom: 0.5rem;
}

/* Analogy Components */
.analogy-section {
    margin: 2rem 0;
}

.analogy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.analogy-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    border-left: 4px solid var(--accent-color);
}

.analogy-icon {
    font-size: 1.5rem;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.15));
    color: var(--primary-text);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.warning-header {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--warning-color);
}

/* Stack Components */
.stack-components {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.component-item {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.component-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.component-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.component-header .icon {
    font-size: 2rem;
}

.component-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.component-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.component-details {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.detail-tag {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Detail lists - replacement for detail-tag spans */
.detail-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.detail-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    border-left: 3px solid var(--accent-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.detail-list li:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

/* Highlight Box */
.highlight-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content {
    line-height: 1.5;
}

/* Framework Components */
.trinity-framework {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0;
}

.trinity-triangle {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    grid-template-rows: auto 1rem auto;
    gap: 1.5rem;
    max-width: 800px;
    margin: 2rem auto;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
}

/* Container for the three boxes - no longer needed */
.pillars-container {
    display: none;
}

/* Triangle roof - no longer needed */
.triangle-roof {
    display: none;
}

.triangle-point {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-color);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    height: 160px;
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.triangle-point:hover {
    transform: translateY(-4px);
    border-color: var(--secondary-accent);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

.triangle-point.top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: center;
}

.triangle-point.bottom-left {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    justify-self: center;
}

.triangle-point.bottom-right {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
    justify-self: center;
}

.pillar-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.pillar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.pillar-subtitle {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pillar-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

.triangle-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Example Cards */
.example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.example-card {
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid;
}

.example-card.good {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

.example-card.bad {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.example-icon {
    font-size: 1.2rem;
}

.example-detail {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.example-result {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.good .example-result {
    background: rgba(39, 174, 96, 0.2);
    color: #1e8449;
}

.bad .example-result {
    background: rgba(231, 76, 60, 0.2);
    color: #c0392b;
}

/* Key Insight */
.key-insight {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
    margin: 2rem 0;
}

.insight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.insight-content {
    line-height: 1.6;
}

/* Thank You Slide Components */
.thank-you-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 2px solid var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.checklist {
    display: grid;
    gap: 0.75rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.checklist-item input[type="checkbox"] {
    margin-top: 0.25rem;
    transform: scale(1.2);
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border-left: 4px solid var(--accent-color);
}

.resource-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.resource-content h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--primary-color);
}

.resource-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-item {
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.challenge-timeline {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border-left: 4px solid var(--accent-color);
}

.day {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.task {
    font-weight: 500;
}

.final-quote {
    text-align: center;
    margin: 2rem 0;
}

.final-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
}

.quote-author {
    margin-top: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: normal;
}

.celebration-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    margin-top: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* SIP Strategy Slide Components */
.strategy-slide .devops-item {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.devops-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.devops-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.devops-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.devops-content p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.devops-content ul {
    margin: 0;
    padding-left: 1rem;
}

.devops-content li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.example-table {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 1rem 0;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 1rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.highlight {
    background: rgba(46, 204, 113, 0.1);
    border-left: 4px solid #2ecc71;
}

.table-footer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    font-weight: 600;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.practice-card {
    display: flex;
    gap: 1rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.practice-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.practice-content h4 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.practice-content p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.practice-content ul {
    margin: 0;
    padding-left: 1rem;
}

.practice-content li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1rem 0;
}

.comparison-side {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
}

.comparison-side h4 {
    margin: 0 0 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.comparison-side ul {
    margin: 0;
    padding-left: 1rem;
}

.comparison-side li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.verdict {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Placeholder Slide Styles */
.placeholder-slide .slide-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
}

.placeholder-slide .slide-header {
    text-align: center;
    margin-bottom: 2rem;
}

.placeholder-slide .content-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 2px dashed var(--border-color);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.placeholder-content h3 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.placeholder-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.slide-info {
    display: grid;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: left;
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

/* Fallback Presentation Styles */
.fallback-slide .slide-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.fallback-slide .slide-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 1rem;
}

.fallback-slide .content-body {
    flex: 1;
    overflow-y: auto;
}

.fallback-content {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
}

.fallback-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.fallback-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.fallback-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.fallback-content ul, .fallback-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.fallback-content li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.fallback-solutions {
    background: var(--bg-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.fallback-solutions h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.fallback-solutions code {
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 0.9rem;
}

.demo-content {
    background: linear-gradient(135deg, var(--primary-color)10, var(--bg-color));
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid var(--accent-color);
}

.demo-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.content-preview {
    display: grid;
    gap: 0.75rem;
}

.preview-item {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid var(--accent-color);
    line-height: 1.4;
}

.preview-item strong {
    color: var(--primary-color);
}

/* Title Layout - Split Design */
.title-layout {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1200px;
    gap: 3rem;
    z-index: 2;
    position: relative;
    padding: 2rem;
}

.title-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding-right: 1rem;
}

.title-left .main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-accent);
    line-height: 1.1;
}

.title-left .subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--secondary-text);
    line-height: 1.2;
}

.title-left .tagline {
    font-size: 1.1rem;
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.title-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-visual {
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--shadow-color);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-width: 400px;
}

.code-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 1rem 1rem 0 0;
}

.code-content {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    color: var(--primary-text);
    line-height: 1.6;
    text-align: left;
}

.code-content .code-line {
    margin: 0.5rem 0;
    padding: 0.25rem 0;
    position: relative;
}

.code-content .code-line:first-child {
    color: var(--primary-accent);
    font-weight: 600;
}

.code-content .code-line:nth-child(2) {
    color: var(--success-color);
    padding-left: 1rem;
}

.code-content .code-line:nth-child(6) {
    color: var(--success-color);
    padding-left: 1rem;
}

.code-content .code-line:last-child {
    color: var(--primary-accent);
    font-weight: 600;
}

/* Adjust tech icons for left alignment */
.title-left .tech-icons {
    justify-content: flex-start;
    margin-top: 1.5rem;
}

/* Responsive adjustments for title layout */
@media (max-width: 768px) {
    .title-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .title-left {
        text-align: center;
    }
    
    .title-left .tech-icons {
        justify-content: center;
    }
    
    .code-visual {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }
}

/* Modern Framework Comparison Table Styles */
.framework-table-container {
    background: var(--secondary-bg);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.framework-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--primary-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow-raised);
    table-layout: fixed; /* Force fixed table layout */
    display: table; /* Ensure table display */
}

/* Table Header Styling */
.framework-comparison-table thead {
    background: var(--tertiary-bg);
    display: table-header-group; /* Ensure proper header display */
}

.framework-comparison-table tbody {
    display: table-row-group; /* Ensure proper body display */
}

.framework-comparison-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--heading-text);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    position: relative;
    vertical-align: middle;
    display: table-cell; /* Ensure proper cell display */
}

.aspect-header {
    width: 25%;
    background: var(--secondary-bg) !important;
    color: var(--heading-text);
}

.traditional-header {
    width: 37.5%;
    background: rgba(49, 130, 206, 0.2) !important; /* Light blue with transparency */
    color: var(--heading-text);
    border-bottom: 2px solid var(--info-color);
}

.investment-header {
    width: 37.5%;
    background: rgba(56, 161, 105, 0.2) !important; /* Light green with transparency */
    color: var(--heading-text);
    border-bottom: 2px solid var(--success-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.header-icon {
    font-size: 1.5rem;
}

.header-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.header-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.header-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    font-style: italic;
}

.header-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Table Body Styling */
.framework-comparison-table tbody tr {
    transition: all 0.3s ease;
    background: var(--primary-bg);
    display: table-row; /* Ensure proper row display */
}

.framework-comparison-table tbody tr:hover {
    background: var(--secondary-bg);
    transform: scale(1.01);
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.framework-comparison-table tbody tr.highlight-row {
    background: var(--tertiary-bg);
    border-left: 4px solid var(--success-color);
}

.framework-comparison-table tbody tr.highlight-row:hover {
    background: var(--accent-bg);
}

.framework-comparison-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    position: relative;
    word-wrap: break-word;
    display: table-cell; /* Ensure proper cell display */
}

.framework-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cell Styling */
.aspect-cell {
    background: var(--secondary-bg);
    font-weight: 600;
    color: var(--heading-text);
    text-align: center;
    border-right: 2px solid var(--border-color);
    white-space: normal; /* Allow wrapping for aspect labels */
}

.traditional-cell,
.investment-cell {
    white-space: nowrap; /* Only prevent wrapping in comparison cells */
}

.traditional-cell {
    border-left: 4px solid var(--info-color);
    position: relative;
}

.traditional-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--info-color);
    opacity: 0.1;
    pointer-events: none;
}

.investment-cell {
    border-left: 4px solid var(--success-color);
    position: relative;
}

.investment-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--success-color);
    opacity: 0.1;
    pointer-events: none;
}

.traditional-cell,
.investment-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 60px; /* Ensure consistent cell height */
}

.cell-value {
    font-size: 0.95rem;
    color: var(--primary-text);
    font-weight: 500;
    flex: 1;
    position: relative;
    z-index: 1;
}

.cell-indicator {
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.cell-indicator.positive {
    color: var(--success-color);
}

.cell-indicator.negative {
    color: var(--error-color);
}

.cell-indicator.neutral {
    color: var(--muted-text);
}

/* Table Insight Footer */
.table-insight {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 0.75rem;
    border: 1px solid #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.insight-icon {
    font-size: 1.4rem;
    color: #28a745;
}

.insight-text {
    font-size: 0.95rem;
    color: var(--primary-text);
    font-weight: 500;
}

/* Responsive Design for Framework Table */
@media (max-width: 1200px) {
    .framework-table-container {
        padding: 1.5rem;
    }
    
    .framework-comparison-table th {
        padding: 1.25rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .header-title {
        font-size: 0.9rem;
    }
    
    .header-subtitle {
        font-size: 0.75rem;
    }
    
    .framework-comparison-table td {
        padding: 1rem 0.75rem;
    }
    
    .cell-value {
        font-size: 0.9rem;
    }    .traditional-cell,
    .investment-cell {
        position: relative;
    }
    
    .traditional-cell::before,
    .investment-cell::before {
        border-radius: 0.25rem;
    }
}

@media (max-width: 768px) {
    .framework-table-container {
        padding: 1rem;
        margin: 1rem 0;
        overflow-x: auto; /* Allow horizontal scrolling if needed */
    }
    
    .framework-comparison-table {
        font-size: 0.85rem;
        min-width: 600px; /* Minimum width to prevent cramping */
    }
    
    .framework-comparison-table th {
        padding: 1rem 0.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-text-group {
        align-items: center;
        text-align: center;
    }
    
    .header-title {
        font-size: 0.85rem;
    }
    
    .header-subtitle {
        font-size: 0.7rem;
    }
    
    .framework-comparison-table td {
        padding: 0.75rem 0.5rem;
    }
      .traditional-cell,
    .investment-cell {
        gap: 0.5rem;
        min-height: 50px;
        position: relative;
    }
    
    .traditional-cell::before,
    .investment-cell::before {
        border-radius: 0.25rem;
    }
    
    .cell-value {
        font-size: 0.85rem;
    }
    
    .cell-indicator {
        font-size: 1.1rem;
    }
    
    .table-insight {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }
    
    .insight-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .framework-comparison-table {
        min-width: 500px; /* Ensure table doesn't get too cramped */
    }
    
    .aspect-header {
        width: 30%;
    }
    
    .traditional-header,
    .investment-header {
        width: 35%;
    }
    
    .framework-comparison-table th,
    .framework-comparison-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .header-icon {
        font-size: 1.2rem;
    }
    
    .header-title {
        font-size: 0.8rem;
    }
    
    .header-subtitle {
        font-size: 0.65rem;
    }
    
    .cell-value {
        font-size: 0.8rem;
    }
      .traditional-cell,
    .investment-cell {
        gap: 0.25rem;
        min-height: 45px;
        position: relative;
    }
    
    .traditional-cell::before,
    .investment-cell::before {
        border-radius: 0.25rem;
    }
}
