/* ============================================
   LEARNING PATHS STYLES
   ============================================ */

.paths-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Featured Paths Section */
.featured-paths {
  padding: 80px 0;
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #0056d2;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

/* All Paths Section */
.all-paths {
  padding: 80px 0;
}

.paths-filters {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.filter-row {
  display: flex;
  gap: 2rem;
  align-items: end;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-select {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-select:focus {
  border-color: #0056d2;
  box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

/* Path Card Styles */
.path-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  height: fit-content;
}

.path-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-badge {
  position: absolute;
  top: -8px;
  right: 1rem;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.card-badge.personalized {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.path-header {
  margin-bottom: 1.5rem;
}

.path-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.path-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.path-title a:hover {
  color: #0056d2;
}

.path-description {
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Path Stats */
.path-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.stat i {
  color: #0056d2;
  font-size: 1rem;
}

/* Skills Tags */
.path-skills {
  margin-bottom: 1.5rem;
}

.path-skills h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

.skills-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.skill-tag {
  background: #e0f2fe;
  color: #0277bd;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Journey Steps */
.path-preview {
  margin-bottom: 1.5rem;
}

.path-preview h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

.journey-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  transition: all 0.2s ease;
}

.step.active {
  background: #0056d2;
  color: white;
}

.step-connector {
  height: 2px;
  width: 20px;
  background: #e5e7eb;
}

.step-more {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

/* Path Footer */
.path-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.price-info {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
}

.original-price {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.path-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Learning Journey Detailed Styles */
.learning-journey {
  position: relative;
  padding: 2rem 0;
}

.journey-step {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.journey-step:last-child .step-connector {
  display: none;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  background: #e5e7eb;
  color: #6b7280;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.journey-step.completed .step-number {
  background: #16a34a;
  color: white;
}

.journey-step.current .step-number {
  background: #0056d2;
  color: white;
  animation: pulse 2s infinite;
}

.journey-step.locked .step-number {
  background: #9ca3af;
  color: white;
}

.step-connector {
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  height: 60px;
  background: #e5e7eb;
  z-index: 1;
}

.journey-step.completed .step-connector {
  background: #16a34a;
}

.step-content {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.journey-step:hover .step-content {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.step-header {
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.step-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.step-meta span {
  padding: 0.25rem 0.75rem;
  background: #f3f4f6;
  border-radius: 12px;
}

.step-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-progress {
  margin-bottom: 1rem;
}

.step-progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.step-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0056d2, #004bb5);
  transition: width 0.5s ease;
}

.step-progress-text {
  font-size: 0.875rem;
  color: #6b7280;
}

.step-actions {
  display: flex;
  gap: 0.5rem;
}

/* Progress Display */
.enrollment-status {
  background: rgba(0, 86, 210, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.progress-info h6 {
  color: #0056d2;
  font-weight: 600;
  margin-bottom: 1rem;
}

.progress-display {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.progress-bar-container {
  flex: 1;
  height: 8px;
  background: rgba(0, 86, 210, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0056d2, #004bb5);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-text {
  font-weight: 600;
  color: #0056d2;
  white-space: nowrap;
}

/* Badge Styles */
.badge-personalized {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.badge-popular {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
}

/* Custom Path Info */
.custom-path-info {
  margin: 2rem 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0056d2 0%, #004bb5 100%);
  color: white;
  padding: 80px 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
}

.cta-stats .stat {
  text-align: center;
}

.cta-stats .number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
}

.cta-stats .label {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-icon {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.empty-state h4 {
  color: #374151;
  margin-bottom: 1rem;
}

.empty-state p {
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Wishlist button states */
.btn.added {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: white !important;
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 86, 210, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 86, 210, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 86, 210, 0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .paths-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .path-stats {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .path-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .path-actions {
    justify-content: center;
  }
  
  .cta-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-content h3 {
    font-size: 2rem;
  }
  
  .journey-step {
    padding-left: 3rem;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
  }
  
  .step-connector {
    left: 17px;
    top: 36px;
  }
  
  .step-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .paths-hero {
    padding: 60px 0;
  }
  
  .featured-paths,
  .all-paths {
    padding: 60px 0;
  }
  
  .paths-filters {
    padding: 1.5rem;
  }
  
  .path-card {
    padding: 1.25rem;
  }
  
  .featured-card {
    padding: 1.5rem;
  }
  
  .journey-steps {
    justify-content: center;
  }
  
  .learning-journey {
    padding: 1rem 0;
  }
  
  .step-content {
    padding: 1rem;
  }
}
