/* ============================================================
   FUTURISTIC UI ENHANCEMENTS — Marcas Millonarias
   Extensión del design system v3.0
   Azul futurista · Glassmorphism · Neon glow · Premium dark
   ============================================================ */

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes border-glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 18px rgba(59, 130, 246, 0.35),
      0 0 6px rgba(59, 130, 246, 0.2);
  }
  50% {
    box-shadow:
      0 0 32px rgba(59, 130, 246, 0.6),
      0 0 12px rgba(59, 130, 246, 0.4);
  }
}

@keyframes gold-glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(16, 185, 129, 0.45),
      0 8px 28px rgba(16, 185, 129, 0.28);
  }
  50% {
    box-shadow:
      0 0 36px rgba(52, 211, 153, 0.7),
      0 12px 36px rgba(16, 185, 129, 0.45);
  }
}

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

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(24px, -18px) scale(1.06); }
  66%       { transform: translate(-14px, 22px) scale(0.96); }
}

@keyframes card-border-rotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ──────────────────────────────────────────────────────────── */
/*  BOTONES                                                      */
/* ──────────────────────────────────────────────────────────── */

/* ── Btn Base — reset limpio ───────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

/* ── Btn Gold — CTA Principal ──────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, #065f46, #059669, #10b981, #34d399);
  background-size: 250% auto;
  color: #f0fdf4;
  font-weight: 800;
  border: 1.5px solid rgba(52, 211, 153, 0.55);
  box-shadow:
    0 0 20px rgba(16, 185, 129, 0.45),
    0 8px 28px rgba(16, 185, 129, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: gold-glow-pulse 2.8s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.22) 45%,
    transparent 65%
  );
  background-size: 250% 100%;
  animation: shimmer 3s linear infinite;
  border-radius: inherit;
  pointer-events: none;
}

.btn-gold:hover {
  background-position: right center;
  box-shadow:
    0 0 44px rgba(52, 211, 153, 0.72),
    0 12px 40px rgba(16, 185, 129, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  border-color: rgba(52, 211, 153, 0.85);
  transform: translateY(-3px) scale(1.025);
}

/* ── Btn Ghost — CTA Secundario (azul futurista) ───────────── */
.btn-ghost {
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #93c5fd;
  border: 1.5px solid rgba(59, 130, 246, 0.42);
  box-shadow:
    0 0 18px rgba(59, 130, 246, 0.25),
    inset 0 1px 0 rgba(59, 130, 246, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  animation: border-glow-pulse 3.2s ease-in-out infinite;
  letter-spacing: 0.025em;
}

.btn-ghost:hover {
  background: rgba(29, 78, 216, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(96, 165, 250, 0.78);
  color: #bfdbfe;
  box-shadow:
    0 0 34px rgba(59, 130, 246, 0.55),
    0 8px 26px rgba(29, 78, 216, 0.3),
    inset 0 1px 0 rgba(147, 197, 253, 0.18);
  transform: translateY(-3px) scale(1.025);
}

/* ── Btn Primary — Nav / Highlight azul ───────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8, #3b82f6, #60a5fa);
  background-size: 250% auto;
  color: #fff;
  border: 1.5px solid rgba(96, 165, 250, 0.48);
  box-shadow:
    0 0 22px rgba(59, 130, 246, 0.48),
    0 6px 22px rgba(29, 78, 216, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: border-glow-pulse 3s ease-in-out infinite;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.16) 45%,
    transparent 65%
  );
  background-size: 250% 100%;
  animation: shimmer 3.5s linear infinite;
  border-radius: inherit;
  pointer-events: none;
}

.btn-primary:hover {
  background-position: right center;
  box-shadow:
    0 0 44px rgba(59, 130, 246, 0.72),
    0 10px 34px rgba(29, 78, 216, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-color: rgba(147, 197, 253, 0.72);
  transform: translateY(-3px) scale(1.025);
}

/* ── Btn Secondary ─────────────────────────────────────────── */
.btn-secondary {
  background: rgba(10, 22, 40, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow:
    0 0 18px rgba(59, 130, 246, 0.22),
    inset 0 1px 0 rgba(59, 130, 246, 0.12);
  transform: translateY(-2px) scale(1.015);
}

/* ── WhatsApp Float ────────────────────────────────────────── */
.whatsapp-float {
  border: 1.5px solid rgba(48, 228, 154, 0.4);
  box-shadow:
    0 0 20px rgba(48, 228, 154, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
  box-shadow:
    0 0 36px rgba(48, 228, 154, 0.55),
    0 14px 36px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px) scale(1.04);
}

/* ──────────────────────────────────────────────────────────── */
/*  HERO SECTION                                                 */
/* ──────────────────────────────────────────────────────────── */

/* ── Hero Badge ────────────────────────────────────────────── */
.hero-badge {
  background: rgba(29, 78, 216, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Hero Card (index.html) ────────────────────────────────── */
.hero-card {
  background: rgba(9, 18, 35, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.22);
  box-shadow:
    0 0 40px rgba(59, 130, 246, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(59, 130, 246, 0.1);
}

/* ── Hero Card Glow (index.html) ───────────────────────────── */
.hero-card-glow {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.3),
    rgba(124, 58, 237, 0.2),
    rgba(6, 182, 212, 0.15)
  );
  filter: blur(28px);
}

/* ── Hero Panel ────────────────────────────────────────────── */
.hero-panel {
  background: rgba(9, 18, 35, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow:
    0 0 32px rgba(59, 130, 246, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(59, 130, 246, 0.08);
}

/* ──────────────────────────────────────────────────────────── */
/*  SECCIÓN CARDS & CONTAINERS                                   */
/* ──────────────────────────────────────────────────────────── */

/* ── Pillar Cards ──────────────────────────────────────────── */
.pillar-card {
  background: rgba(8, 17, 34, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.16);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(59, 130, 246, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pillar-card:hover {
  border-color: rgba(59, 130, 246, 0.38);
  box-shadow:
    0 0 28px rgba(59, 130, 246, 0.18),
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(59, 130, 246, 0.14);
  transform: translateY(-3px);
}

/* ── Process Steps ─────────────────────────────────────────── */
.process-step {
  background: rgba(8, 17, 34, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(59, 130, 246, 0.14);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(59, 130, 246, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.process-step:hover {
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow:
    0 0 22px rgba(59, 130, 246, 0.14),
    0 8px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

/* ── Case Cards ────────────────────────────────────────────── */
.case-card {
  background: rgba(9, 18, 36, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(59, 130, 246, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.case-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow:
    0 0 26px rgba(59, 130, 246, 0.16),
    0 10px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

/* ── Offer Cards ───────────────────────────────────────────── */
.offer-card {
  background: rgba(8, 17, 34, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.16);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(59, 130, 246, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.offer-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow:
    0 0 24px rgba(16, 185, 129, 0.15),
    0 10px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(16, 185, 129, 0.08);
  transform: translateY(-3px);
}

/* ── Testimonial Cards ─────────────────────────────────────── */
.testimonial-card {
  background: rgba(8, 17, 34, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(59, 130, 246, 0.13);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(59, 130, 246, 0.07);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.12),
    0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ── Stats Ribbon ──────────────────────────────────────────── */
.stats-ribbon article {
  background: rgba(8, 17, 34, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.14);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(59, 130, 246, 0.07);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.stats-ribbon article:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow:
    0 0 18px rgba(59, 130, 246, 0.14),
    0 6px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* ── Scene Cards / Social Intel ────────────────────────────── */
.scene-card,
.social-intel > * {
  background: rgba(9, 18, 35, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(59, 130, 246, 0.14);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(59, 130, 246, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.scene-card:hover,
.social-intel > *:hover {
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow:
    0 0 22px rgba(59, 130, 246, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.44);
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────────────────────── */
/*  ORB BACKGROUNDS (Futuristic drift)                          */
/* ──────────────────────────────────────────────────────────── */

.orb,
.bg-orb {
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-1,
.bg-orb:nth-child(1) {
  background: radial-gradient(circle, #1d4ed8 0%, #3b82f6 40%, transparent 70%);
  animation-delay: 0s;
}

.orb-2,
.bg-orb:nth-child(2) {
  background: radial-gradient(circle, #10b981 0%, #059669 40%, transparent 70%);
  animation-delay: -6s;
}

.orb-3,
.bg-orb:nth-child(3) {
  background: radial-gradient(circle, #0ea5e9 0%, #38bdf8 40%, transparent 70%);
  animation-delay: -12s;
}

/* ──────────────────────────────────────────────────────────── */
/*  SECCIÓN DIVIDERS / SEPARADORES                              */
/* ──────────────────────────────────────────────────────────── */

.pain-section,
.services-section,
.process-section,
.results-section,
.philosophy-section,
.hook-section {
  position: relative;
}

.pain-section::before,
.services-section::before,
.results-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 700px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.35),
    rgba(96, 165, 250, 0.5),
    rgba(59, 130, 246, 0.35),
    transparent
  );
}

/* ──────────────────────────────────────────────────────────── */
/*  CTA SECTION — Fondo premium                                 */
/* ──────────────────────────────────────────────────────────── */

.cta-section {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(29, 78, 216, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(124, 58, 237, 0.12) 0%, transparent 55%);
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 24px 24px 0 0;
}

/* ──────────────────────────────────────────────────────────── */
/*  NAV PORTAL BTN                                              */
/* ──────────────────────────────────────────────────────────── */

.nav-portal-btn {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  letter-spacing: 0.02em;
}

.nav-portal-btn:hover {
  border-color: rgba(96, 165, 250, 0.6);
  background: rgba(29, 78, 216, 0.15);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.38);
  color: #bfdbfe;
}
