/* Custom styles for Portafolios Docentes 2026 */

/* Smooth scroll offset for fixed header */
html {
  scroll-padding-top: 5rem;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 30%, #4f46e5 60%, #6366f1 100%);
}

/* Floating animation for decorative elements */
.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

/* Card hover lift */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

/* Price card featured glow */
.price-featured {
  position: relative;
}

.price-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed, #f59e0b);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.7;
}

/* Scroll-triggered fade in */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

/* Progress bar animation */
.progress-bar {
  transition: width 1s ease-in-out;
}

/* Badge pulse */
.badge-pulse {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Step connector line */
.step-connector {
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #4f46e5, #c7d2fe);
}

/* Module card icon container */
.module-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  flex-shrink: 0;
}
