/*--------------------------------------------------------------
# MEJORAS MODERNAS Y ELEGANTES - HSCITPERU
--------------------------------------------------------------*/

/* Variables CSS para colores neutros e institucionales */
:root {
  /* Paleta de colores principal - Tonos neutros profesionales */
  --primary-color: #2c3e50;        /* Azul gris oscuro institucional */
  --primary-light: #34495e;        /* Azul gris medio */
  --primary-dark: #1a252f;         /* Azul gris muy oscuro */
  --secondary-color: #7f8c8d;      /* Gris neutro */
  --secondary-light: #95a5a6;      /* Gris claro */
  --secondary-dark: #6c7b7d;       /* Gris oscuro */
  
  /* Colores de acento neutros */
  --accent-blue: #3498db;          /* Azul suave para acentos */
  --accent-green: #27ae60;         /* Verde institucional */
  --accent-orange: #e67e22;        /* Naranja suave para destacar */
  
  /* Grises institucionales */
  --gray-50: #fafbfc;
  --gray-100: #f4f6f8;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  /* Sombras elegantes */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Gradientes neutros y profesionales */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--accent-blue) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --gradient-neutral: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

/* Mejoras al body principal */
body {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 50%, var(--gray-50) 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-700);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

/* Animaciones suaves globales */
* {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efectos de hover mejorados para enlaces */
a {
  content: '';
  position: relative;
  overflow: hidden;
}

a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

a:hover::before {
  width: 100%;
}

a:hover {
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* Botones institucionales y elegantes */
.btn {
  position: relative;
  padding: 12px 32px;
  border-radius: 8px;  /* Bordes menos redondeados para look institucional */
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);  /* Movimiento más sutil */
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
}

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

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

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
}

/* Cards modernas con efectos glassmorphism */
.card-modern {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
  background: rgba(255, 255, 255, 0.35);
}

css
/* Secciones con fondos dinámicos */
.section-modern {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.section-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(147, 197, 253, 0.02) 100%);
  z-index: -1;
}

/* Estilos específicos para la sección de servicios más amigable */
#servicios.section-modern {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
  padding: 80px 0;
}

#servicios.section-modern::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(147, 197, 253, 0.01) 100%);
}

/* Mejoras a las tarjetas de servicios */
.icon-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
}

.icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.03) 0%, rgba(29, 78, 216, 0.03) 50%, rgba(30, 64, 175, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.icon-box:hover::before {
  opacity: 1;
}

.icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.25);
}

.icon-box .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.icon-box:hover .icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.3);
}

.icon-box h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-dark);
  transition: color 0.3s ease;
}

.icon-box:hover h4 {
  color: var(--accent-blue);
}

.icon-box p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.icon-box:hover p {
  color: var(--gray-700);
}

/* Mejoras a las secciones FAQ */
.faq .faq-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.05);
}

.faq .faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

.faq .faq-item h3 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(29, 78, 216, 0.05) 100%);
  padding: 20px 25px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.faq .faq-item h3:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(29, 78, 216, 0.08) 100%);
  color: var(--accent-blue);
}

.faq .faq-item .faq-content {
  padding: 25px;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 16px;
}

/* Mejoras a los botones */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-color) 100%);
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
}

/* Mejoras a las animaciones de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll.from-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-on-scroll.from-right {
  animation: fadeInRight 0.8s ease forwards;
}

/* Mejoras responsivas */
@media (max-width: 768px) {
  .icon-box {
    padding: 30px 20px;
  }
  
  .icon-box .icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .icon-box h4 {
    font-size: 20px;
  }
  
  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Servicios mejorados con mejor UX */
.service-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 2px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 45px 35px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 20px;
}

.service-item:hover::before {
  opacity: 1;
}

.service-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-item .icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: white;
  border: 3px solid var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--accent-blue);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.service-item .icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.service-item:hover .icon::before {
  left: 100%;
}

.service-item:hover .icon {
  background: var(--accent-blue);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

/* Icono personalizado Starlink */
.icon-starlink { width: 40px; height: 40px; }
.icon-starlink path, .icon-starlink circle { 
  stroke: var(--accent-blue); 
  fill: none; 
  stroke-width: 2.5; 
}
.service-item:hover .icon-starlink path, 
.service-item:hover .icon-starlink circle { 
  stroke: #fff; 
}
.icon-starlink .spark { fill: var(--accent-blue); stroke: none; }
.service-item:hover .icon-starlink .spark { fill: #fff; }

.service-item h4 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.service-item h4 a {
  color: var(--primary-dark);
  text-decoration: none;
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-item:hover h4 a {
  transform: translateY(-2px);
}

.service-item p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
  transition: all 0.3s ease;
}

.service-item:hover p {
  color: var(--gray-700);
}

.service-item:focus {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
}

/* Responsive para servicios */
@media (max-width: 768px) {
  .service-item {
    padding: 35px 25px;
    margin-bottom: 30px;
  }
  
  .service-item .icon {
    width: 75px;
    height: 75px;
    font-size: 30px;
    margin-bottom: 20px;
  }
  
  .service-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .service-item p {
    font-size: 14px;
  }
}

/* Efectos de partículas flotantes */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.floating-elements::before,
.floating-elements::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.floating-elements::before {
  top: 10%;
  left: 10%;
  animation-delay: -2s;
}

.floating-elements::after {
  bottom: 10%;
  right: 10%;
  animation-delay: -4s;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}

/* Efectos de carga suaves */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mejoras para formularios */
.form-control {
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: white;
}

/* Mejoras de responsividad */
@media (max-width: 1200px) {
  .service-item {
    padding: 30px 20px;
  }
  
  .card-modern {
    margin-bottom: 20px;
  }
}

@media (max-width: 992px) {
  #hero h1 {
    font-size: 2.5rem;
  }
  
  #hero h2 {
    font-size: 1.2rem;
  }
  
  .service-item {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .floating-elements {
    display: none;
  }
}

@media (max-width: 768px) {
  #hero {
    padding: 60px 0;
    text-align: center;
  }
  
  #hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  #hero h2 {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 12px;
    margin: 5px;
  }
  
  .service-item {
    padding: 20px 15px;
    margin-bottom: 15px;
  }
  
  .service-item .icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  #hero h1 {
    font-size: 1.5rem;
  }
  
  #hero h2 {
    font-size: 0.9rem;
  }
  
  .service-item {
    padding: 15px 10px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 11px;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Modo oscuro automático */
@media (prefers-color-scheme: dark) {
  :root {
    --gray-50: #1a1a1a;
    --gray-100: #2d2d2d;
    --gray-200: #404040;
    --gray-700: #e5e5e5;
    --gray-800: #f0f0f0;
  }
  
  body {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 50%, var(--gray-50) 100%);
    color: var(--gray-700);
  }
}

/* Optimizaciones de rendimiento */
.service-item,
.card-modern,
.btn {
  will-change: transform;
  backface-visibility: hidden;
}

/* Mejoras de UX */
.btn:focus,
.service-item:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.service-item:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Efectos de carga suave */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Efectos de texto elegantes y neutros */
.text-glow {
  text-shadow: 0 0 20px rgba(44, 62, 80, 0.3);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Efectos adicionales para instituciones */
.text-institutional {
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.accent-border {
  border-left: 4px solid var(--accent-blue);
  padding-left: 20px;
}

/*--------------------------------------------------------------
# Efectos Visuales y Transiciones Avanzadas
--------------------------------------------------------------*/

/* Transiciones globales mejoradas */
* {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efectos de hover mejorados para elementos interactivos */
.interactive-element {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.interactive-element::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.interactive-element:hover::before {
  left: 100%;
}

/* Efectos de parallax suave */
.parallax-element {
  transform: translateZ(0);
  will-change: transform;
}

/* Animaciones de entrada mejoradas */
@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  0% {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* Clases de animación */
.animate-slide-up {
  animation: slideInFromBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-left {
  animation: slideInFromLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-right {
  animation: slideInFromRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-rotate-in {
  animation: rotateIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Delays para animaciones escalonadas */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Efectos de hover para cards mejorados */
.card-enhanced {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-enhanced:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.card-enhanced::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card-enhanced:hover::after {
  opacity: 1;
}

/* Efectos de texto brillante */
.text-glow-enhanced {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Botones con efectos avanzados */
.btn-modern-enhanced {
  position: relative;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-modern-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-modern-enhanced:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.btn-modern-enhanced:hover::before {
  left: 100%;
}

.btn-modern-enhanced:active {
  transform: translateY(-1px) scale(1.02);
}

/* Efectos de loading y skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

/* Efectos de partículas flotantes */
.floating-particles {
  position: relative;
  overflow: hidden;
}

.floating-particles::before,
.floating-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-particles::before {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.floating-particles::after {
  top: 60%;
  right: 20%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

/* Efectos de morphing para formas */
.morphing-shape {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

/* Efectos de glassmorphism mejorados */
.glass-effect-enhanced {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Efectos de neomorphism */
.neomorphism {
  background: #f0f0f0;
  border-radius: 20px;
  box-shadow: 
    20px 20px 60px #d1d1d1,
    -20px -20px 60px #ffffff;
  transition: all 0.3s ease;
}

.neomorphism:hover {
  box-shadow: 
    inset 20px 20px 60px #d1d1d1,
    inset -20px -20px 60px #ffffff;
}

/* Efectos de scroll reveal mejorados */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Efectos de cursor personalizado */
.custom-cursor {
  cursor: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(59, 130, 246, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
}