/* ==========================================================================
   #VARIABLES
   ========================================================================== */

:root {
  --alena-primary: #e02b20;
  --alena-secondary: #2c2c2c;
  --alena-light: #f8f9fa;
  --alena-white: #ffffff;
  --alena-text: #333333;
  --alena-muted: #6c757d;
  --alena-border: #e9ecef;
  --alena-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --alena-shadow-hover: 0 25px 50px rgba(242, 116, 5, 0.15);
  --alena-transition: all 0.3s ease;
  --alena-transition-slow: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --alena-icon-size: 80px;
  --alena-icon-size-sm: 64px;
}

/* ==========================================================================
   #BASE
   ========================================================================== */

/* Reset de estilos para evitar conflictos */

.alena-card, .alena-card-body, .alena-card-title, .alena-card-text {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================================================================
   #COMPONENTES
   ========================================================================== */

/* * Tarjeta base */

.alena-card {
  border-radius: 16px !important;
  overflow: hidden;
  background: var(--alena-white);
  transition: var(--alena-transition);
  border: 1px solid var(--alena-border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.alena-card-body {
  padding: 2rem;
  position: relative;
}

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

.alena-card-text {
  color: var(--alena-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* * Iconos */

.alena-step-icon {
  position: relative;
  z-index: 2;
  width: var(--alena-icon-size);
  height: var(--alena-icon-size);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.alena-step-icon i {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 12px rgba(242, 116, 5, 0.2));
  position: relative;
  z-index: 2;
  color: var(--alena-primary) !important;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alena-step-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(242, 116, 5, 0.1);
  border-radius: 50%;
  z-index: 1;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.alena-step-card:hover .alena-step-icon i {
  transform: translateY(-5px);
}

.alena-step-card:hover .alena-step-icon::before {
  transform: scale(1);
  background: rgba(242, 116, 5, 0.15);
}

/* * Sección de proceso de importación */

.alena-import-process {
  background: papayawhip;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.alena-import-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(242, 116, 5, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(242, 116, 5, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* * Títulos */

.alena-main-title {
  color: var(--alena-text);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.alena-subtitle {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.25rem;
  color: var(--alena-muted);
  text-align: center;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

/* * Tarjeta de paso */

.alena-step-card {
  transition: var(--alena-transition-slow);
  border-radius: 16px !important;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  background: var(--alena-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.alena-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--alena-primary), #ff8c42);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 2;
}

.alena-step-card:hover {
  transform: translateY(-15px) !important;
  box-shadow: var(--alena-shadow-hover) !important;
}

.alena-step-card:hover::before {
  transform: scaleX(1);
}

/* * Número de paso */

.alena-step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--alena-primary), #e02b20);
  color: var(--alena-white);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: rotate(15deg);
  transition: var(--alena-transition-slow);
  box-shadow: 0 8px 25px rgba(242, 116, 5, 0.3);
  z-index: 3;
}

.alena-step-card:hover .alena-step-number {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 12px 35px rgba(242, 116, 5, 0.4);
}

/* * Indicador de progreso */

/* * Barra de progreso */

.alena-progress-indicator {
  height: 4px;
  background-color: rgba(242, 116, 5, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin-top: 1.5rem;
}

.alena-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--alena-primary), #ff8c42);
  width: 0;
  transition: width 0.8s ease-in-out;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(242, 116, 5, 0.3);
}

/* * Animaciones */

.alena-animate-in {
  animation: alenaFadeInUp 0.6s var(--alena-transition-slow) forwards;
  opacity: 0;
}

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

@keyframes alenaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 116, 5, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(242, 116, 5, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 116, 5, 0);
    transform: scale(1);
  }
}

.alena-step-card:hover .alena-step-number {
  animation: alenaPulse 2s infinite;
}

/* * Efecto de partículas flotantes */

.alena-import-process::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(242, 116, 5, 0.1), transparent), radial-gradient(2px 2px at 40px 70px, rgba(242, 116, 5, 0.1), transparent), radial-gradient(1px 1px at 90px 40px, rgba(242, 116, 5, 0.1), transparent), radial-gradient(1px 1px at 130px 80px, rgba(242, 116, 5, 0.1), transparent);
  background-repeat: repeat;
  background-size: 150px 100px;
  animation: alenaFloat 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes alenaFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-100px);
  }
}

/* ==========================================================================
   #RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
  .alena-main-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 992px) {
  .alena-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .alena-import-process {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .alena-main-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .alena-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .alena-step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    top: -10px;
    right: -10px;
  }
}

@media (max-width: 768px) {
  .alena-step-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .alena-icon {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .alena-main-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .alena-card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .alena-step-number {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
}

