/* ====================================================================
   CALL SECTION REDESIGN — Climax de la demo
   ==================================================================== */

/* Fondo especial con glow central dramatico */
.section-call {
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,212,255,0.08) 0%, transparent 70%),
    #0a0a0f;
  position: relative;
  overflow: hidden;
}

/* Numero de seccion grande como fondo */
.section-call .section-number {
  font-size: clamp(8rem, 20vw, 18rem);
  opacity: 0.03;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-family: 'Bebas Neue', sans-serif;
  color: #00d4ff;
  z-index: 0;
}

/* ---- Hero Text ---- */
.call-hero-text {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.call-hero-text__pre {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  display: block;
  letter-spacing: 0.05em;
}

.call-hero-text__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.95;
  display: block;
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #00d4ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: callGradientShift 4s ease infinite;
}

@keyframes callGradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* ---- Badge Stack ---- */
.call-badge-stack {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.call-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
}

.call-badge-item--ia {
  background: rgba(0,212,255,0.08);
  color: #00d4ff;
  border-color: rgba(0,212,255,0.2);
}

.call-badge-item--eleven {
  background: rgba(124,58,237,0.08);
  color: #a78bfa;
  border-color: rgba(124,58,237,0.2);
}

.call-badge-item--247 {
  background: rgba(16,185,129,0.08);
  color: #10b981;
  border-color: rgba(16,185,129,0.2);
}

.call-badge-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.call-badge-item--ia .call-badge-item__dot { background: #00d4ff; }
.call-badge-item--eleven .call-badge-item__dot { background: #7c3aed; }
.call-badge-item--247 .call-badge-item__dot {
  background: #10b981;
  animation: badge247pulse 2s ease infinite;
}

@keyframes badge247pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- Phone Animation mejorado ---- */
.phone-anim-redesign {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 32px;
  z-index: 2;
}

.phone-anim-redesign .ring-outer {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 2px solid rgba(0,212,255,0.15);
  animation: ringExpandOuter 3s ease-in-out infinite;
}

.phone-anim-redesign .ring-mid {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,212,255,0.25);
  animation: ringExpandMid 3s ease-in-out infinite 0.5s;
}

.phone-anim-redesign .ring-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  animation: ringInnerGlow 2s ease-in-out infinite;
}

.phone-anim-redesign .phone-icon-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.06);
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-anim-redesign .phone-icon-wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0,212,255,0.2);
}

@keyframes ringExpandOuter {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.6; }
}

@keyframes ringExpandMid {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 0.3; }
  100% { transform: scale(1); opacity: 0.7; }
}

@keyframes ringInnerGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ---- Form Glassmorphism pronunciado ---- */
.call-form-wrap-redesign {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin: 0 auto;
  padding: 32px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.call-form-wrap-redesign .call-form-group {
  margin-bottom: 16px;
}

.call-form-wrap-redesign label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
}

.call-form-wrap-redesign input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.call-form-wrap-redesign input:focus {
  outline: none;
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 20px rgba(0,212,255,0.1);
}

.call-form-wrap-redesign .call-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  color: #000;
  border: none;
  border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  margin-top: 8px;
}

.call-form-wrap-redesign .call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.3);
}

/* ---- Confetti area ---- */
.call-success-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.confetti-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confettiFall 2s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(400px) rotate(720deg) scale(0.3);
  }
}

/* ---- Call description redesign ---- */
.call-desc-redesign {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

/* ---- Stats row mejorado ---- */
.call-stats-redesign {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.call-stat-item {
  text-align: center;
}

.call-stat-item__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #00d4ff;
  display: block;
  line-height: 1;
}

.call-stat-item__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .call-hero-text__name {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .call-badge-stack {
    gap: 8px;
  }

  .call-badge-item {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .phone-anim-redesign {
    width: 110px;
    height: 110px;
  }

  .call-stats-redesign {
    gap: 20px;
  }

  .call-stat-item__num {
    font-size: 1.5rem;
  }

  .call-form-wrap-redesign {
    padding: 24px 20px;
    margin: 0 16px;
  }
}

@media (max-width: 480px) {
  .call-stats-redesign {
    flex-direction: column;
    gap: 12px;
  }

  .call-badge-stack {
    flex-direction: column;
    align-items: center;
  }
}

/* ---- Canvas de fondo para la seccion ---- */
.section-call .scene-canvas,
.section-botops .scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
