


/* Feature Steps Carousel Component Styles */
.feature-steps-carousel {
  position: relative;
  overflow: hidden;
}

/* Step Items */
.feature-steps-carousel .step-item {
  cursor: pointer;
  transition: all 0.5s ease;
  position: relative;
}

.feature-steps-carousel .step-item.active {
  opacity: 1 !important;
  transform: scale(1.02);
}

.feature-steps-carousel .step-item.completed {
  opacity: 0.8 !important;
}

.feature-steps-carousel .step-item:hover {
  opacity: 1;
  transform: translateX(8px);
}

/* Step Indicators */
.feature-steps-carousel .step-indicator {
  position: relative;
  transition: all 0.5s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-steps-carousel .step-item.active .step-indicator {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: var(--color-brand-secondary-light);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  transform: scale(1.1);
}

.feature-steps-carousel .step-item.completed .step-indicator {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.feature-steps-carousel .step-indicator .step-number,
.feature-steps-carousel .step-indicator .step-check {
  transition: all var(--transition-slow);
}

/* Progress Bars */
.feature-steps-carousel .step-progress {
  position: relative;
  overflow: hidden;
}

.feature-steps-carousel .progress-bar {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
  transition: width 0.1s ease-linear;
}

.feature-steps-carousel .step-item.completed .progress-bar {
  background: linear-gradient(90deg, #10b981, #059669);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

/* Step Images */
.feature-steps-carousel .step-image {
  position: absolute;
  inset: 0;
  transition: all 0.5s ease-in-out;
  transform-origin: center;
}

.feature-steps-carousel .step-image img {
  transition: transform 0.5s ease;
  will-change: transform;
}

.feature-steps-carousel .step-image:hover img {
  transform: scale(1.05);
}

/* Image Controls */
.feature-steps-carousel .control-btn {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
}

.feature-steps-carousel .control-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-steps-carousel .control-btn svg {
  transition: transform 0.3s ease;
}

.feature-steps-carousel .control-btn:hover svg {
  transform: scale(1.1);
}

/* Navigation Dots */
.feature-steps-carousel .nav-dot {
  cursor: pointer;
  transition: all var(--transition-slow);
  border: 2px solid transparent;
}

.feature-steps-carousel .nav-dot:hover {
  transform: scale(1.3);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-steps-carousel .nav-dot.bg-blue-600 {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Content Animation */
.feature-steps-carousel .step-item h3 {
  transition: color 0.3s ease;
}

.feature-steps-carousel .step-item.active h3 {
  color: var(--color-brand-secondary-dark);
}

.feature-steps-carousel .step-item p {
  transition: color 0.3s ease;
}

.feature-steps-carousel .step-item.active p {
  color: var(--text-secondary);
}

/* Enhanced Animations */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.feature-steps-carousel .step-item.active .step-indicator {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes progressFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.feature-steps-carousel .progress-bar {
  animation: progressFill 4s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature-steps-carousel .step-item {
    gap: 1rem;
  }
  
  .feature-steps-carousel .step-indicator {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
  }
  
  .feature-steps-carousel .step-indicator .step-number,
  .feature-steps-carousel .step-indicator .step-check {
    font-size: 0.9rem;
  }
  
  .feature-steps-carousel .step-item h3 {
    font-size: 1.25rem;
  }
  
  .feature-steps-carousel .step-item p {
    font-size: 0.9rem;
  }
  
  .feature-steps-carousel .step-image {
    height: 250px;
  }
}

/* Accessibility */
.feature-steps-carousel .step-item:focus,
.feature-steps-carousel .nav-dot:focus,
.feature-steps-carousel .control-btn:focus {
  outline: 2px solid rgba(59, 130, 246, 0.6);
  outline-offset: 2px;
}

.feature-steps-carousel .step-item:focus {
  outline-offset: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .feature-steps-carousel .step-item,
  .feature-steps-carousel .step-indicator,
  .feature-steps-carousel .progress-bar,
  .feature-steps-carousel .step-image,
  .feature-steps-carousel .nav-dot,
  .feature-steps-carousel .control-btn {
    transition: none;
    animation: none;
  }
  
  .feature-steps-carousel .step-item.active .step-indicator {
    animation: none;
  }
  
  .feature-steps-carousel .step-item:hover {
    transform: none;
  }
  
  .feature-steps-carousel .control-btn:hover {
    transform: none;
  }
}

/* Performance Optimizations */
.feature-steps-carousel .step-image {
  contain: layout style paint;
  will-change: opacity, transform;
}

.feature-steps-carousel .step-image img {
  contain: layout style paint;
  will-change: transform;
}

.feature-steps-carousel .progress-bar {
  contain: layout style paint;
  will-change: width;
}

/* Dark Mode Support */
/* Dark mode automatically handled by design tokens */
  
  .feature-steps-carousel .step-item.active h3 {
    color: #60a5fa;
  }
  
  .feature-steps-carousel .step-item p {
    color: var(--color-neutral-300);
  }
  
  .feature-steps-carousel .step-item.active p {
    color: var(--color-neutral-100);
  }
  
  .feature-steps-carousel .control-btn {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .feature-steps-carousel .control-btn:hover {
    background: rgba(0, 0, 0, 0.9);
  }
}

/* Loading States */
.feature-steps-carousel .step-image.loading {
  background: linear-gradient(90deg, #f3f4f6, #e5e7eb, #f3f4f6);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
} 