/* ============================================
   ESTILOS BASE (sin cambios)
   ============================================ */
.navbar {
  padding-top: 6px;
  padding-bottom: 6px;
}

main {
  scroll-margin-top: 72px;
}

/* ============================================
   MINI PHONE (sin cambios)
   ============================================ */
.mini-phone {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  overflow: visible;
}

.mini-phone:focus-within {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: #f8fafc;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  border-right: 1px solid #e5e7eb;
}

.cc-btn svg {
  fill: #475569;
}

#phone-number {
  flex: 1;
  border: 0;
  padding: 0.5rem 0.6rem;
  font-size: 0.95rem;
  outline: none;
  background: transparent;
}

.cc-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 60;
  width: 320px;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  box-shadow: 0 8px 28px rgba(2, 8, 23, 0.15);
}

.cc-search {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  padding: 0.45rem;
  border-bottom: 1px solid #e5e7eb;
}

.cc-search input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.45rem 0.6rem;
  outline: none;
}

.cc-search input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.cc-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.94rem;
  cursor: pointer;
}

.cc-item:hover,
[aria-selected="true"].cc-item {
  background: #f1f5f9;
}

.cc-name {
  color: #334155;
}

.cc-dial {
  margin-left: auto;
  color: #475569;
}

.cc-flag {
  width: 18px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.cc-list[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .cc-list {
    width: 100%;
  }
}

/* ============================================
   FEATURE ITEMS - ANIMACIONES PREMIUM
   ============================================ */
.feature-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
  cursor: pointer;
}

.feature-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Fill effect desde abajo con color brand */
.feature-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, 
    rgba(29, 101, 248, 0.06) 0%,
    rgba(29, 101, 248, 0.03) 100%);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  border-radius: 1rem;
}

.feature-item:hover::before {
  height: 100%;
}

/* Borde superior que se expande */
.feature-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #1d65f8 50%, 
    transparent 100%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  z-index: 3;
}

.feature-item:hover::after {
  width: 85%;
}

/* Contenedor principal con elevación */
.feature-item .flex {
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover .flex {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.12);
}

/* Ícono con bounce y glow */
.feature-item .flex-shrink-0 {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 0 transparent);
}

.feature-item:hover .flex-shrink-0 {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 4px 8px rgba(29, 101, 248, 0.25));
}

/* Borde lateral izquierdo animado */
.feature-item {
  border-left: 3px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover {
  border-left-color: #1d65f8;
  border-color: rgba(29, 101, 248, 0.2);
}

/* Texto con transición suave */
.feature-item h4 {
  transition: all 0.3s ease;
}

.feature-item:hover h4 {
  color: #1d65f8;
  transform: translateX(2px);
}

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

.feature-item:hover p {
  color: #374151;
}

/* Efecto de shimmer sutil */
.feature-item {
  background: 
    linear-gradient(90deg, 
      transparent 0%, 
      rgba(29, 101, 248, 0.03) 50%, 
      transparent 100%) 
    no-repeat -100% 0 / 200% 100%,
    white;
  transition: all 0.4s ease, background-position 0.8s ease;
}

.feature-item:hover {
  background-position: 100% 0;
}

/* ============================================
   PRICING STAGE - OPTIMIZADO Y SIMPLIFICADO
   ============================================ */
.pricing-stage {
  position: relative;
  overflow: hidden;
  height: 550px;
  background: linear-gradient(135deg, 
    rgba(29, 101, 248, 0.06) 0%,
    rgba(29, 101, 248, 0.04) 50%,
    rgba(29, 101, 248, 0.06) 100%);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Orbe de fondo simplificado */
.pricing-stage::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, 
    transparent 0deg, 
    rgba(29, 101, 248, 0.08) 90deg, 
    transparent 180deg,
    rgba(29, 101, 248, 0.08) 270deg,
    transparent 360deg);
  animation: rotateOrb 25s linear infinite;
  opacity: 0.5;
}

@keyframes rotateOrb {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   PRICING PLANS - ANIMACIONES LIMPIAS
   ============================================ */
.pricing-plan {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity;
}

.pricing-plan.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.pricing-plan.exiting {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

/* ============================================
   PLAN TITLE - ANIMACIÓN SIMPLE Y LIMPIA
   ============================================ */
.plan-title-large {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.plan-title-text {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  background: linear-gradient(135deg, #1d65f8 0%, #1076a5 70%, #0e9bb4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.plan-title-large.show .plan-title-text {
  opacity: 1;
  transform: scale(1);
}

.plan-title-large.hide .plan-title-text {
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ============================================
   PLAN CONTENT - ANIMACIÓN LIMPIA
   ============================================ */
.plan-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.plan-content.show {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   PLAN CARD - GLASSMORPHISM OPTIMIZADO
   ============================================ */
.plan-card {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.15),
    0 10px 20px -5px rgba(29, 101, 248, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  max-width: 22rem;
  width: 100%;
  margin: 0 1rem;
  padding: 2rem;
  position: relative;
}

/* Animación sutil de flotación */
.plan-content.show .plan-card {
  animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   PRICING INDICATORS - OPTIMIZADO
   ============================================ */
.pricing-indicators {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pricing-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.pricing-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.pricing-indicator.active {
  background: linear-gradient(135deg, #1d65f8 0%, #0ea5e9 100%);
  transform: scale(1.4);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 0 0 3px rgba(29, 101, 248, 0.3),
    0 4px 10px rgba(29, 101, 248, 0.4);
}

/* ============================================
   PRICING CONTROL - OPTIMIZADO
   ============================================ */
.pricing-control {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.pricing-control:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

.pricing-control-icon {
  width: 12px;
  height: 12px;
  color: white;
}

.pricing-control-text {
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pricing-control.paused .play-icon { display: block; }
.pricing-control.paused .pause-icon { display: none; }
.pricing-control:not(.paused) .play-icon { display: none; }
.pricing-control:not(.paused) .pause-icon { display: block; }

/* ============================================
   RESPONSIVE - OPTIMIZADO PARA MÓVIL
   ============================================ */
@media (max-width: 768px) {
  .pricing-stage {
    height: 500px;
    border-radius: 1.5rem;
  }

  .plan-title-text {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .plan-card {
    max-width: 20rem;
    padding: 1.5rem;
    margin: 0 0.75rem;
  }

  .pricing-control {
    top: 12px;
    right: 12px;
    padding: 8px 12px;
  }

  /* Desactivar animación de orbe en móvil para mejor performance */
  .pricing-stage::before {
    animation: none;
    opacity: 0.3;
  }

  /* Simplificar animación de flotación en móvil */
  .plan-content.show .plan-card {
    animation: none;
  }
}

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

/* Optimización para GPU */
.pricing-plan,
.plan-content,
.plan-title-large,
.plan-card {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   TESTIMONIALS SLIDER - PROFESIONAL
   ============================================ */

.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}

/* Gradientes de desenfoque en los laterales */
.testimonials-slider-wrapper::before,
.testimonials-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 10;
  pointer-events: none;
}

.testimonials-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, 
    rgba(249, 250, 251, 1) 0%,
    rgba(249, 250, 251, 0.9) 20%,
    rgba(249, 250, 251, 0) 100%);
}

.testimonials-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, 
    rgba(249, 250, 251, 1) 0%,
    rgba(249, 250, 251, 0.9) 20%,
    rgba(249, 250, 251, 0) 100%);
}

/* Contenedor del slider */
.testimonials-slider {
  display: flex;
  gap: 24px;
  animation: scroll 50s linear infinite;
  will-change: transform;
}

.testimonials-slider:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-340px * 7 - 24px * 7));
  }
}

/* Tarjeta de testimonio */
.testimonial-card {
  flex: 0 0 340px;
  width: 340px;
  min-height: 280px;
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 
    0 1px 3px 0 rgba(0, 0, 0, 0.08),
    0 1px 2px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.6);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Efecto hover en la tarjeta */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d65f8 0%, #0ea5e9 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 10px 20px -5px rgba(0, 0, 0, 0.1),
    0 6px 10px -5px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(29, 101, 248, 0.08);
  border-color: rgba(29, 101, 248, 0.15);
}

/* Contenido del testimonio */
.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 18px;
}

/* Ícono de comillas */
.testimonial-quote {
  display: flex;
  align-items: center;
}

.quote-icon {
  width: 28px;
  height: 28px;
  color: #1d65f8;
  opacity: 0.15;
}

/* Texto del testimonio */
.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
  font-weight: 400;
  flex: 1;
  margin: 0;
}

/* Sección del autor */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

/* Avatar del autor */
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d65f8 0%, #0ea5e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(29, 101, 248, 0.2);
}

/* Nombre y rol del autor */
.author-name {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.author-role {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
  .testimonials-slider-wrapper {
    padding: 20px 0;
  }

  /* Ajustar gradientes laterales */
  .testimonials-slider-wrapper::before,
  .testimonials-slider-wrapper::after {
    width: 60px;
  }

  /* Tarjetas más pequeñas en móvil */
  .testimonial-card {
    flex: 0 0 280px;
    width: 280px;
    min-height: 260px;
    padding: 22px;
    border-radius: 18px;
  }

  /* Ajustar animación para cards más pequeñas */
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-280px * 7 - 24px * 7));
    }
  }

  /* Texto más pequeño */
  .testimonial-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .quote-icon {
    width: 24px;
    height: 24px;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .author-name {
    font-size: 13px;
  }

  .author-role {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 260px;
    width: 260px;
    padding: 20px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-260px * 7 - 24px * 7));
    }
  }

  .testimonial-text {
    font-size: 13px;
  }
}

/* ============================================
   PERFORMANCE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .testimonials-slider {
    animation: none;
  }
  
  .testimonial-card {
    transition: none;
  }
}

/* Optimización GPU */
.testimonials-slider,
.testimonial-card {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   FOOTER PANEL - GLASSMORPHISM + SVG
   ============================================ */

.footer-panel {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 20px 60px -15px rgba(0, 0, 0, 0.12),
    0 10px 30px -10px rgba(29, 101, 248, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

/* ============================================
   SVG ANIMATED BACKGROUND
   ============================================ */

.footer-svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.footer-svg-path {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(29, 101, 248, 0.3));
  will-change: stroke-dashoffset;
}

/* ============================================
   SPOTLIGHT CURSOR EFFECT
   ============================================ */

.footer-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
  will-change: background;
}

/* ============================================
   FOOTER CONTENT
   ============================================ */

.footer-content {
  position: relative;
  z-index: 2;
  padding: 56px 48px;
}

/* ============================================
   COLUMNS
   ============================================ */

.footer-column {
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-column-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-column:nth-child(1) { transition-delay: 0s; }
.footer-column:nth-child(2) { transition-delay: 0.1s; }
.footer-column:nth-child(3) { transition-delay: 0.2s; }
.footer-column:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   SECTION TITLES
   ============================================ */

.footer-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 20px 0;
  position: relative;
  display: inline-block;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #1d65f8 0%, transparent 100%);
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-column:hover .footer-section-title::after {
  width: 100%;
}

/* ============================================
   FOOTER LINKS
   ============================================ */

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on hover */
.footer-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(29, 101, 248, 0.06) 50%,
    transparent 100%);
  transition: left 0.5s ease;
}

.footer-link:hover::before {
  left: 100%;
}

.footer-link:hover {
  color: #1d65f8;
  background: rgba(29, 101, 248, 0.04);
  border-color: rgba(29, 101, 248, 0.15);
  transform: translateX(4px);
}

/* Arrow icon */
.footer-link-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-8px);
}

.footer-link:hover .footer-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   STATUS LINK
   ============================================ */

.footer-status-link {
  position: relative;
}

.footer-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

.footer-status-indicator::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #9ca3af;
  opacity: 0;
  animation: statusPulse 2s ease-in-out infinite;
}

.footer-status-indicator.status-online {
  background: #10b981;
}

.footer-status-indicator.status-online::before {
  border-color: #10b981;
  opacity: 1;
}

@keyframes statusPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ============================================
   CTA BUTTON
   ============================================ */

.footer-cta-wrapper {
  margin-top: 24px;
}

.footer-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #1d65f8 0%, #0ea5e9 100%);
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 12px rgba(29, 101, 248, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.footer-cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
}

.footer-cta-button:hover .footer-cta-glow {
  opacity: 1;
}

.footer-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(29, 101, 248, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.footer-cta-button:active {
  transform: translateY(0);
}

.footer-cta-text {
  position: relative;
  z-index: 1;
}

.footer-cta-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-cta-button:hover .footer-cta-icon {
  transform: translateX(4px);
}

/* ============================================
   SOCIAL LINKS
   ============================================ */

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, 
    rgba(249, 250, 251, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 100%);
  border: 1px solid rgba(229, 231, 235, 0.8);
  color: #6b7280;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1d65f8 0%, #0ea5e9 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.social-link:hover {
  border-color: transparent;
  color: white;
  box-shadow: 
    0 8px 20px rgba(29, 101, 248, 0.3),
    0 4px 10px rgba(29, 101, 248, 0.2);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover svg {
  transform: scale(1.15) rotate(5deg);
}

/* ============================================
   DIVIDER
   ============================================ */

.footer-divider {
  margin: 48px 0 32px 0;
  position: relative;
  height: 1px;
  overflow: hidden;
}

.footer-divider-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(29, 101, 248, 0.3) 20%,
    rgba(29, 101, 248, 0.3) 80%,
    transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Shimmer effect */
.footer-divider-line::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -100%;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(29, 101, 248, 0.6) 50%,
    transparent 100%);
  animation: dividerShimmer 3s ease-in-out infinite;
}

@keyframes dividerShimmer {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 200%;
  }
}

/* ============================================
   BOTTOM BAR
   ============================================ */

.footer-bottom {
  position: relative;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
  font-weight: 500;
}

/* ============================================
   BADGES
   ============================================ */

.footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(29, 101, 248, 0.06);
  border: 1px solid rgba(29, 101, 248, 0.15);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1d65f8;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-badge-icon {
  width: 14px;
  height: 14px;
}

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

@media (max-width: 1024px) {
  .footer-content {
    padding: 44px 32px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    padding: 36px 24px;
  }

  .footer-panel {
    border-radius: 24px;
  }

  .footer-section-title {
    font-size: 12px;
  }

  .footer-link {
    font-size: 14px;
    padding: 9px 12px;
  }

  .footer-cta-button {
    font-size: 14px;
    padding: 12px 24px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .footer-divider {
    margin: 36px 0 24px 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copyright {
    font-size: 13px;
  }

  .footer-badge {
    font-size: 11px;
    padding: 6px 12px;
  }
}

@media (max-width: 640px) {
  .footer-content {
    padding: 28px 20px;
  }

  .footer-svg-bg {
    opacity: 0.2;
  }

  /* Disable spotlight on mobile for performance */
  .footer-spotlight {
    display: none;
  }
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .footer-link,
  .social-link,
  .footer-cta-button,
  .footer-column,
  .footer-badge,
  .footer-divider-line {
    transition: none;
    animation: none;
  }
  
  .footer-link::before,
  .social-link::before,
  .footer-cta-glow {
    display: none;
  }

  .footer-svg-path {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .footer-divider-line::after {
    animation: none;
  }
}

/* GPU Optimization */
.footer-panel,
.footer-link,
.social-link,
.footer-cta-button,
.footer-spotlight {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .footer-link {
    border: 2px solid currentColor;
  }

  .footer-link:hover {
    background: currentColor;
    color: white;
  }

  .social-link {
    border: 2px solid currentColor;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  .footer-premium {
    background: linear-gradient(180deg, 
      rgba(17, 24, 39, 1) 0%,
      rgba(31, 41, 55, 1) 100%);
  }

  .footer-panel {
    background: linear-gradient(135deg, 
      rgba(31, 41, 55, 0.95) 0%,
      rgba(17, 24, 39, 0.9) 100%);
    border-color: rgba(75, 85, 99, 0.5);
  }

  .footer-section-title {
    color: #9ca3af;
  }

  .footer-link {
    color: #d1d5db;
  }

  .footer-link:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
  }

  .footer-copyright {
    color: #6b7280;
  }

  .social-link {
    background: rgba(55, 65, 81, 0.6);
    border-color: rgba(75, 85, 99, 0.5);
    color: #9ca3af;
  }

  .footer-badge {
    background: rgba(29, 101, 248, 0.15);
    border-color: rgba(29, 101, 248, 0.3);
    color: #60a5fa;
  }
}

/* ============================================
   PERFORMANCE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .footer-link,
  .social-link,
  .header-icon {
    transition: none;
  }
  
  .footer-panel::after {
    animation: none;
  }

  .footer-link::before {
    display: none;
  }
}

/* Optimización GPU */
.footer-panel,
.footer-link,
.social-link,
.header-icon {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   SVG PATH CONTINUOUS ANIMATION
   ============================================ */

.footer-svg-path {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(29, 101, 248, 0.3));
  animation: pathFlow 15s linear infinite;
}

.footer-svg-path:nth-child(2) {
  animation-duration: 18s;
  animation-delay: 1s;
}

.footer-svg-path:nth-child(3) {
  animation-duration: 20s;
  animation-delay: 2s;
}

@keyframes pathFlow {
  from {
    stroke-dashoffset: 2000;
  }
  to {
    stroke-dashoffset: 0;
  }
}