/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(108, 58, 237, 0.3); }
  50% { box-shadow: 0 0 40px rgba(108, 58, 237, 0.6), 0 0 60px rgba(0, 229, 160, 0.2); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========== SCROLL ANIMATIONS ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.from-left {
  transform: translateX(-40px) translateY(0);
}
.animate-on-scroll.from-left.visible {
  transform: translateX(0) translateY(0);
}
.animate-on-scroll.from-right {
  transform: translateX(40px) translateY(0);
}
.animate-on-scroll.from-right.visible {
  transform: translateX(0) translateY(0);
}

/* ========== HERO ========== */
.hero-gradient {
  background: linear-gradient(135deg, #0A0A1A 0%, #1a1040 40%, #2d1060 70%, #0A0A1A 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

/* ========== BUTTONS ========== */
.glow-btn {
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.cta-gradient {
  background: linear-gradient(135deg, #6C3AED, #00E5A0);
}
.cta-gradient:hover {
  background: linear-gradient(135deg, #5B21B6, #00cc8e);
}

/* ========== FLOAT ========== */
.float-element {
  animation: float 6s ease-in-out infinite;
}

/* ========== TEXT GRADIENT ========== */
.text-gradient {
  background: linear-gradient(135deg, #6C3AED, #00E5A0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== GLASS EFFECTS ========== */
.glass {
  background: rgba(17, 17, 40, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 58, 237, 0.15);
}
.glass-card {
  background: rgba(17, 17, 40, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(108, 58, 237, 0.1);
  transition: all 0.4s ease;
}
.glass-card:hover {
  border-color: rgba(0, 229, 160, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ========== PRICING ========== */
.pricing-popular {
  border: 2px solid #00E5A0;
  position: relative;
}
.pricing-popular::before {
  content: 'MÁS POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00E5A0, #6C3AED);
  color: white;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ========== DECORATIVE ORBS ========== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

/* ========== FAQ ACCORDION ========== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 0;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-icon {
  transition: transform 0.3s ease;
}

/* ========== NAVBAR ========== */
.nav-scrolled {
  background: rgba(10, 10, 26, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A0A1A; }
::-webkit-scrollbar-thumb { background: #6C3AED; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5B21B6; }

/* ========== FORM FOCUS STATES ========== */
input:focus {
  box-shadow: 0 0 0 3px rgba(108, 58, 237, 0.15);
}
