/* =========================
   VARIABLES - AZUL VIBRANTE
========================= */
:root {
  --primary: #0988d0;
  --primary-dark: #076ba8;
  --secondary: #1a9ee8;
  --accent: #2db4f5;
  --light: #4bc5ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
  transition: all 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* =========================
   HERO SECTION CON PARTÍCULAS
========================= */
.hero-section {
  background: linear-gradient(135deg, #076ba8 0%, #0988d0 50%, #1a9ee8 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Canvas para las partículas conectadas */
#particles-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}


/* =========================
   BOTONES
========================= */
.btn { transition: all 0.3s ease; position: relative; overflow: hidden; }
.btn::before {
  content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%;
  background: rgba(255,255,255,0.3); transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before { width: 300px; height: 300px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); border: none; }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* =========================
   FEATURE CARDS
========================= */
.feature-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #CFFAFE;
}
.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
  border-color: var(--primary);
}
.feature-card .bi { transition: all 0.3s ease; }
.feature-card:hover .bi { transform: scale(1.2) rotate(5deg); }

/* =========================
   ANIMACIONES SCROLL
========================= */
.fade-in-up {
  opacity: 0; transform: translateY(30px);
  transition: all 0.6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.fade-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-scroll.visible { opacity: 1; transform: translateY(0); }

/* =========================
   BROWSER MOCKUP
========================= */
.browser-frame {
  background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 8px;
  overflow: hidden; transition: all 0.4s ease;
}
.browser-frame:hover { transform: scale(1.05); box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.browser-top { background: #f1f3f5; height: 32px; border-bottom: 1px solid rgba(0,0,0,.06); }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 6px; }

/* =========================
   MÉTRICAS
========================= */
.metric { padding: .5rem 0; }
.metric-value {
  font-size: 2.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.metric-label { font-size: .95rem; }

/* =========================
   INTEGRACIONES
========================= */
.integration-logo {
  transition: all 0.3s ease; filter: grayscale(100%); opacity: 0.6;
  max-width: 100%; height: auto;
}
.integration-logo:hover {
  filter: grayscale(0%); opacity: 1; transform: scale(1.15);
  box-shadow: 0 5px 20px rgba(6, 182, 212, 0.2);
}

/* =========================
   TESTIMONIOS
========================= */
.testimonial-card { transition: all 0.3s ease; border: 2px solid transparent; }
.testimonial-card:hover {
  border-color: var(--primary); transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =========================
   PRICING CARDS
========================= */
.pricing-card { border-radius: .75rem; transition: all 0.4s ease; position: relative; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(6, 182, 212, 0.2); }
.pricing-card--featured {
  border: 3px solid var(--primary) !important; transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}
.pricing-card--featured:hover { transform: scale(1.08) translateY(-10px); }
.bg-primary-subtle { background-color: rgba(6, 182, 212, 0.08); }

/* =========================
   LOGOS DE CLIENTES
========================= */
.client-logo { transition: all 0.3s ease; background: #ECFEFF; color: #0891B2; }
.client-logo:hover { background: var(--primary); color: #fff; transform: scale(1.1); }

/* =========================
   ACCORDION
========================= */
.accordion-button:not(.collapsed) { background-color: #ECFEFF; color: var(--primary); }
.accordion-button:focus { box-shadow: 0 0 0 0.25rem rgba(6, 182, 212, 0.15); }

/* =========================
   UTILIDADES DE COLORES
========================= */
.text-primary { color: var(--primary) !important; }
.bg-blue-50 { background-color: #ECFEFF; }
.bg-gray-100 { background-color: #f8f9fa; }
.bg-gray-200 { background-color: #e5e7eb; }

/* =========================
   UTILIDADES DE LAYOUT
========================= */
.container-narrow { max-width: 900px; }
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .metric-value { font-size: 2rem; }
  .hero-section { min-height: auto; padding: 4rem 0; }
  .py-6 { padding-top: 3rem; padding-bottom: 3rem; }
}
@media (max-width: 576px) {
  .display-4 { font-size: clamp(1.75rem, 6vw, 2.75rem); }
}

/* =========================================================
   SHOWCASE - FONDO TIPO CIELO (azul claro a blanco)
========================================================= */

/* Base de la sección con degradado vertical tipo cielo */
.section-showcase {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Degradado vertical: azul cielo arriba → blanco abajo */
  background: linear-gradient(180deg, 
    #b8e3f5 0%,      /* Azul cielo suave arriba */
    #d4eef7 30%,     /* Azul claro */
    #e8f6fa 60%,     /* Celeste muy suave */
    #f8fcfe 85%,     /* Casi blanco */
    #ffffff 100%     /* Blanco */
  );
  min-height: 600px;
}

/* Capa de brillo suave que anima el "cielo" */
.section-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .5) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(184, 227, 245, .3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: skyGlow 10s ease-in-out infinite;
}

@keyframes skyGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.9; }
}

/* Capa de nubes/blobs muy sutiles (OPCIONAL - puedes comentar si no quieres) */
.showcase-bg {
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  opacity: .15;
  will-change: transform;
  animation: showcase-drift 25s ease-in-out infinite;
  background:
    radial-gradient(30% 30% at 25% 35%, rgba(168, 216, 234, .4) 0%, transparent 60%),
    radial-gradient(25% 25% at 75% 65%, rgba(184, 227, 245, .3) 0%, transparent 60%),
    radial-gradient(20% 20% at 50% 50%, rgba(212, 238, 247, .25) 0%, transparent 60%);
}

@keyframes showcase-drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  50% { transform: translate3d(2%, 1%, 0) scale(1.03); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1); }
}

/* Eleva el contenido encima del fondo */
.section-showcase .container {
  position: relative;
  z-index: 1;
}

/* Tarjeta con brillo sutil y tilt compatible */
.shadow-glow {
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.18), 0 0 30px rgba(37, 99, 235, 0.12);
  border-radius: 12px;
  transition: transform .6s ease, box-shadow .6s ease;
  will-change: transform;
}
.shadow-glow:hover {
  box-shadow: 0 28px 60px rgba(6, 182, 212, 0.26), 0 0 42px rgba(37, 99, 235, 0.2);
}

/* Botón con glow */
.btn-glow {
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  border: none;
  color: #fff;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
  transition: all 0.3s ease;
}
.btn-glow:hover {
  background: linear-gradient(90deg, #0891b2, #2563eb);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.55);
}

/* Respeta usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .showcase-bg,
  .section-showcase::before {
    animation: none !important;
  }
}

/* =========================================================
   TESTIMONIALS - FONDO TIPO CIELO (igual que showcase)
========================================================= */

/* Base de la sección con degradado vertical tipo cielo */
.section-testimonials {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Degradado vertical: azul cielo arriba → blanco abajo */
  background: linear-gradient(180deg, 
    #b8e3f5 0%,      /* Azul cielo suave arriba */
    #d4eef7 30%,     /* Azul claro */
    #e8f6fa 60%,     /* Celeste muy suave */
    #f8fcfe 85%,     /* Casi blanco */
    #ffffff 100%     /* Blanco */
  );
  min-height: 400px;
}

/* Capa de brillo suave que anima el "cielo" */
.section-testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .5) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(184, 227, 245, .3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: skyGlowTestimonials 10s ease-in-out infinite;
}

@keyframes skyGlowTestimonials {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.9; }
}

/* Capa de nubes/blobs muy sutiles (OPCIONAL) */
.testimonials-bg {
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  opacity: .15;
  will-change: transform;
  animation: testimonials-drift 25s ease-in-out infinite;
  background:
    radial-gradient(30% 30% at 25% 35%, rgba(168, 216, 234, .4) 0%, transparent 60%),
    radial-gradient(25% 25% at 75% 65%, rgba(184, 227, 245, .3) 0%, transparent 60%),
    radial-gradient(20% 20% at 50% 50%, rgba(212, 238, 247, .25) 0%, transparent 60%);
}

@keyframes testimonials-drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  50% { transform: translate3d(2%, 1%, 0) scale(1.03); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1); }
}

/* Eleva el contenido encima del fondo */
.section-testimonials .container {
  position: relative;
  z-index: 1;
}

/* Ajusta el color del título para que se vea bien sobre fondo claro */
.section-testimonials h2 {
  color: #1e293b !important;
}

/* Respeta usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .testimonials-bg,
  .section-testimonials::before {
    animation: none !important;
  }
}

/* ===== METRICS BAND (con partículas y brillo blanco total) ===== */
.section-metrics{
  position: relative;
  overflow: hidden;
  background: #0988d0;
  color: #fff;
  isolation: isolate;
}

/* Canvas de partículas */
#metrics-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* sutil "grid" diagonal para textura */
.section-metrics::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient( 135deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(-135deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 28px 28px, 22px 22px;
  opacity:.3;
  pointer-events:none;
  z-index:0;
}

/* brillo muy suave alrededor de todo el bloque */
.section-metrics::after{
  content:"";
  position:absolute; inset:-20%;
  background: radial-gradient(40% 35% at 50% 50%, rgba(255,255,255,.08), transparent 60%);
  filter: blur(50px);
  z-index:0;
  pointer-events:none;
}

/* titular pequeño - BLANCO BRILLANTE */
.metrics-kicker{
  letter-spacing:.12em;
  color: #fff !important;
  opacity: 1;
  text-shadow: 
    0 0 15px rgba(255,255,255,.7),
    0 0 25px rgba(255,255,255,.4),
    0 1px 4px rgba(0,0,0,.2);
}

/* "píldoras" para cada métrica (glass) */
.metric-pill{
  position: relative;
  z-index:1;
  padding: 1.25rem 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 8px 18px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.metric-pill:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.35);
  box-shadow:
    0 14px 28px rgba(0,0,0,.32),
    0 0 22px rgba(255,255,255, .15);
}

/* números grandes con BRILLO BLANCO INTENSO */
.section-metrics .metric-value{
  color: #fff !important;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  text-shadow: 
    0 0 25px rgba(255,255,255,1),
    0 0 45px rgba(255,255,255,.7),
    0 0 60px rgba(255,255,255,.4),
    0 2px 8px rgba(0,0,0,.3);
  margin-bottom:.35rem;
  filter: drop-shadow(0 0 20px rgba(255,255,255,.8));
}

/* etiquetas con BRILLO BLANCO INTENSO */
.section-metrics .metric-label{
  color: #fff !important;
  font-size: .95rem;
  opacity: 1;
  font-weight: 600;
  text-shadow: 
    0 0 18px rgba(255,255,255,.8),
    0 0 30px rgba(255,255,255,.5),
    0 1px 4px rgba(0,0,0,.2);
}

/* nota de fuente - BLANCO BRILLANTE */
.metrics-footnote{
  color: #fff !important;
  opacity: 1;
  text-shadow: 
    0 0 12px rgba(255,255,255,.6),
    0 0 20px rgba(255,255,255,.3),
    0 1px 3px rgba(0,0,0,.2);
}

/* responsive tweaks */
@media (max-width: 768px){
  .metric-pill{ padding: 1rem .8rem; }
  .section-metrics .metric-value{ font-size: clamp(1.6rem, 5.2vw, 2.2rem); }
}

/* sutil "grid" diagonal para textura */
.section-metrics::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient( 135deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(-135deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px, 22px 22px;
  opacity:.35;
  pointer-events:none;
  z-index:0;
}

/* brillo muy suave alrededor de todo el bloque */
.section-metrics::after{
  content:"";
  position:absolute; inset:-20%;
  background: radial-gradient(40% 35% at 50% 50%, rgba(6,182,212,.12), transparent 60%);
  filter: blur(50px);
  z-index:0;
  pointer-events:none;
}

/* titular pequeño */
.metrics-kicker{
  letter-spacing:.12em;
  color:#A8D7E2;
  opacity:.9;
}

/* "píldoras" para cada métrica (glass) */
.metric-pill{
  position: relative;
  z-index:1;
  padding: 1.25rem 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(103, 232, 249, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 8px 18px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.metric-pill:hover{
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.35);
  box-shadow:
    0 14px 28px rgba(0,0,0,.32),
    0 0 22px rgba(34,211,238, .18);
}

/* números grandes con BRILLO BLANCO PURO */
.section-metrics .metric-value{
  color: #fff !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  text-shadow: 
    0 0 25px rgba(255,255,255,1),
    0 0 45px rgba(255,255,255,.7),
    0 0 60px rgba(255,255,255,.4),
    0 2px 8px rgba(0,0,0,.3) !important;
  margin-bottom: .35rem;
  filter: drop-shadow(0 0 20px rgba(255,255,255,.8)) !important;
}

/* etiquetas */
.section-metrics .metric-label{
  color: #B6DDE6;
  font-size: .95rem;
  opacity:.95;
}

/* nota de fuente */
.metrics-footnote{
  color:#8FBAC4;
  opacity:.9;
}

/* responsive tweaks */
@media (max-width: 768px){
  .metric-pill{ padding: 1rem .8rem; }
  .section-metrics .metric-value{ font-size: clamp(1.6rem, 5.2vw, 2.2rem); }
}

/* ===== Integrations con efecto tipo HERO ===== */
.integrations-hero{
  position: relative;
  overflow: hidden;
  /* gradiente animado, paleta azul vibrante */
  background: linear-gradient(135deg, #076ba8 0%, #0988d0 50%, #1a9ee8 100%);
  background-size: 220% 220%;
  animation: ih-gradientShift 9s ease-in-out infinite;
  min-height: 560px; /* ajústalo si quieres */
  isolation: isolate; /* stacking limpio */
}
.integrations-hero .container{ position: relative; z-index: 3; }

@keyframes ih-gradientShift{
  0%,100%{ background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* capa mesh (burbujas suaves tras las partículas) */
.integrations-hero .fx-mesh{
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(40% 40% at 15% 35%, rgba(75, 197, 255, .15) 0%, transparent 60%),
    radial-gradient(35% 35% at 85% 75%, rgba(26, 158, 232, .12) 0%, transparent 60%),
    radial-gradient(30% 30% at 55% 20%, rgba(45, 180, 245, .10) 0%, transparent 60%);
  animation: ih-meshMove 20s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes ih-meshMove{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%    { transform: translate(24px,-18px) scale(1.06); }
}

/* capa partículas */
.integrations-hero .fx-canvas{
  position: absolute; inset: 0;
  z-index: 2;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* contraste de textos/elementos encima del fondo */
.integrations-hero h2,
.integrations-hero p,
.integrations-hero li,
.integrations-hero small,
.integrations-hero .btn{
  color: #fff;
}
.integrations-hero .btn.btn-outline-primary{
  border-color:#fff; color:#fff;
}
.integrations-hero .btn.btn-outline-primary:hover{
  background:#fff; color:#0891B2;
}

/* logos/tarjetas para que "salten" un poco */
.integrations-hero .integration-logo{
  filter: none; opacity: 1;
  background: rgba(255,255,255,.9) !important;
  border-radius: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.integrations-hero .integration-logo:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

/* respeta reduce motion */
@media (prefers-reduced-motion: reduce){
  .integrations-hero{ animation: none !important; }
  .integrations-hero .fx-mesh{ animation: none !important; }
}

/* ===== FAQ con fondo ESTÁTICO (sin animaciones) ===== */
.faq-hero {
  background: linear-gradient(135deg, #076ba8 0%, #0988d0 50%, #1a9ee8 100%);
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  /* SIN background-size ni animation */
}

/* Tamaño del título */
.faq-hero h2 {
  font-size: 2rem !important;
}

/* Canvas para las partículas FAQ */
#faq-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Tipografía blanca */
.faq-hero h2,
.faq-hero p,
.faq-hero .accordion-button,
.faq-hero .accordion-body,
.faq-hero a,
.faq-hero small {
  color: #fff;
}

/* Accordion glass */
.faq-hero .accordion-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px !important;
  backdrop-filter: blur(6px);
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}

.faq-hero .accordion-item:hover {
  box-shadow: 0 18px 38px rgba(0,0,0,.25);
  transform: translateY(-2px);
}

.faq-hero .accordion-button {
  background: transparent !important;
  font-size: 1rem !important;
  padding: 1.1rem 1.25rem;
  border: 0;
  box-shadow: none !important;
  position: relative;
}

.faq-hero .accordion-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #67E8F9, #22D3EE);
  opacity: 0;
  transition: opacity .25s ease;
}

.faq-hero .accordion-button:not(.collapsed)::before {
  opacity: .9;
}

.faq-hero .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.06)) !important;
}

.faq-hero .accordion-button:not(.collapsed)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.22), transparent 60%);
  transform: translateX(-100%);
  animation: sweep 700ms ease forwards;
  pointer-events: none;
}

@keyframes sweep {
  to { transform: translateX(100%); }
}

.faq-hero .accordion-body {
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 1.025rem;
}

.faq-hero a.text-secondary {
  color: #e6fbff !important;
  opacity: .85;
}

.faq-hero a.text-secondary:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Desactiva animaciones reduce-motion */
@media (prefers-reduced-motion: reduce) {
  .faq-hero .gradient-mesh {
    animation: none !important;
  }
}

/* ===== Pricing: Dark Nebula + Diagonal Scanlines (CSS only) ===== */
.pricing-zone{
  position: relative;
  overflow: hidden;
  color: #fff;
  /* Base oscura en armonía con aquamarine */
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(34,211,238,.20) 0%, transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(6,182,212,.18) 0%, transparent 60%),
    linear-gradient(180deg, #071722 0%, #0b1f2b 55%, #0f2635 100%);
  isolation: isolate;
}

.pricing-zone .container{
  position: relative;
  z-index: 3; /* encima de las capas */
}

/* Capa animada: scanlines diagonales + barrido radial */
.pricing-zone .pricing-surface{
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  /* tres fondos:  1) rayas, 2) glow radial que barre, 3) grano sutil */
  background:
    /* 1) scanlines diagonales */
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255, .06) 0px,
      rgba(255,255,255, .06) 2px,
      transparent 2px,
      transparent 14px
    ),
    /* 2) barrido radial (con mask para recorte suave) */
    radial-gradient(600px 600px at 0% 50%, rgba(6,182,212,.22), rgba(59,130,246,.16), rgba(15,38,53,0) 70%),
    /* 3) grano/ruido muy fino para textura */
    radial-gradient(1200px 1200px at 50% 50%, rgba(255,255,255,.03), transparent 70%);
  /* Animaciones separadas por capas controladas con background-position */
  animation:
    pricingScan 12s linear infinite,
    pricingSweep 18s ease-in-out infinite;
  mix-blend-mode: screen; /* mezcla luminosa sobre fondo oscuro */
  opacity: .85;
  mask-image: radial-gradient(120% 120% at 50% 50%, #000 60%, transparent 100%);
}

@keyframes pricingScan{
  /* mueve SOLO la 1ª capa (scanlines) */
  0%   { background-position: 0 0,       0 0,       0 0; }
  100% { background-position: 280px 280px, 0 0,       0 0; }
}

@keyframes pricingSweep{
  /* mueve SOLO la 2ª capa (barrido radial) de izquierda a derecha */
  0%   { background-position: 0 0,        -40% 50%,  0 0; }
  50%  { background-position: 0 0,        120% 50%,  0 0; }
  100% { background-position: 0 0,        -40% 50%,  0 0; }
}

/* =============== PRICING TITLE: LIMPIO Y BRILLANTE =============== */
#pricing .text-center > h2 {
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  font-weight: 700 !important;
  text-shadow: 
    0 0 20px rgba(103,232,249,.5),
    0 0 40px rgba(34,211,238,.3),
    0 2px 8px rgba(0,0,0,.4) !important;
}

/* Degradado DENTRO del texto si hay soporte */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  #pricing .text-center > h2 {
    background: linear-gradient(90deg, #67E8F9 0%, #22D3EE 50%, #60A5FA 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }
}

/* =============== PRICING CARDS: DARK GLASS =============== */
#pricing .pricing-card {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(103,232,249,.2) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 
    0 8px 32px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.1) !important;
}

#pricing .pricing-card:hover {
  border-color: rgba(103,232,249,.4) !important;
  box-shadow: 
    0 12px 48px rgba(0,0,0,.4),
    0 0 24px rgba(34,211,238,.2) !important;
}

/* Card destacada más brillante */
#pricing .pricing-card--featured {
  background: rgba(255,255,255,.12) !important;
  border: 2px solid rgba(103,232,249,.35) !important;
  box-shadow: 
    0 12px 40px rgba(0,0,0,.35),
    0 0 30px rgba(34,211,238,.25),
    inset 0 1px 0 rgba(255,255,255,.15) !important;
}

/* =============== TÍTULOS DE CARDS: TODOS BRILLANTES POR IGUAL =============== */
#pricing .card .card-body > :is(h1,h2,h3,h4,h5,h6,.card-title),
#pricing .pricing-card .card-body > :is(h1,h2,h3,h4,h5,h6,.card-title),
#pricing .pricing-card--featured .card-body > :is(h1,h2,h3,h4,h5,h6,.card-title) {
  color: #67E8F9 !important;
  font-weight: 700 !important;
  letter-spacing: .3px !important;
  text-shadow: 
    0 0 20px rgba(103,232,249,.6),
    0 0 40px rgba(34,211,238,.3),
    0 1px 4px rgba(0,0,0,.3) !important;
}

/* Textos dentro de las cards */
#pricing .card .card-body {
  color: rgba(255,255,255,.95) !important;
}

#pricing .card .text-muted {
  color: rgba(255,255,255,.7) !important;
}

#pricing .card .display-6 {
  color: #fff !important;
  text-shadow: 0 0 12px rgba(103,232,249,.3) !important;
}

/* Badge "Más popular" */
#pricing .badge.bg-primary {
  background: linear-gradient(135deg, #67E8F9, #22D3EE) !important;
  box-shadow: 0 4px 12px rgba(34,211,238,.4) !important;
  color: #0B1F2B !important;
  font-weight: 700 !important;
}

/* Botones en las cards - TODOS CON EL MISMO ESTILO BRILLANTE */
#pricing .btn-outline-primary,
#pricing .btn-primary {
  background: linear-gradient(135deg, #67E8F9, #22D3EE) !important;
  border: none !important;
  color: #0B1F2B !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(34,211,238,.3) !important;
  transition: all 0.3s ease !important;
}

#pricing .btn-outline-primary:hover,
#pricing .btn-primary:hover {
  background: linear-gradient(135deg, #22D3EE, #0891B2) !important;
  box-shadow: 0 6px 20px rgba(34,211,238,.5) !important;
  transform: translateY(-2px) !important;
}

/* ===== FEATURES: fondo animado sutil (puntitos + barrido) ===== */
.features-zone{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* base clara que combina con tu paleta */
  background: linear-gradient(180deg,#F8FDFF 0%, #F1F6FA 100%);
}


/* ===== Micro-interacciones ===== */
.feature-item{ transition: transform .25s ease, filter .25s ease; will-change: transform; }
.feature-item:hover{ transform: translateY(-4px); filter: drop-shadow(0 6px 16px rgba(6,182,212,.18)); }

.feature-icon{
  display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center;
  font-size: 1.6rem; line-height: 1;
  border-radius:10px;
  background: linear-gradient(135deg,#ECFEFF,#E6FBFF);
  border:1px solid rgba(6,182,212,.22);
  box-shadow: 0 4px 12px rgba(6,182,212,.18);
  color: var(--primary);
  transition: transform .25s ease;
}
.feature-item:hover .feature-icon{ transform: scale(1.06); }

/* Respeta reduce motion */
@media (prefers-reduced-motion: reduce){
  .features-zone .features-surface,
  .features-zone .features-surface::after{ animation:none !important; }
  .feature-item, .feature-icon{ transition:none !important; }
}
/* ========= FEATURES – tema igual que internacional ========= */
.features-zone.features-dim {
  position: relative;
  overflow: hidden;
  background: #05486e;  /* Mismo fondo que internacional */
  color: #E8F7FB;
  isolation: isolate;
}

/* Canvas de partículas para features */
#features-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.features-zone.features-dim .container {
  position: relative;
  z-index: 1;
}

.features-zone.features-dim h2 { 
  color: var(--accent); 
}

.features-zone.features-dim .text-muted { 
  color: #B8D6E1 !important; 
}

/* Iconos y hover effects */
.features-zone.features-dim .feature-item:hover {
  filter: drop-shadow(0 8px 18px rgba(6,182,212,.22));
}

.features-zone.features-dim .feature-icon {
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 16px rgba(0,0,0,.35), 0 0 0 1px rgba(6,182,212,.10) inset;
  color: #CFFAFE;
}

/* Títulos más notorios */
.features-zone.features-dim h6.fw-bold,
.features-zone.features-dim .feature-title {
  color: #EAFBFF !important;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.2;
  text-shadow:
    0 0 14px rgba(6,182,212,.35),
    0 1px 0 rgba(0,0,0,.55);
}

/* Mejora de contraste para la línea secundaria */
.features-zone.features-dim .text-muted {
  color: #CFE8EE !important;
  opacity: .95;
}

/* Subrayado animado al pasar el mouse */
.features-zone.features-dim .d-flex { 
  position: relative; 
}

.features-zone.features-dim .d-flex::after {
  content: "";
  position: absolute;
  left: 2.75rem;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #67E8F9, #22D3EE);
  border-radius: 2px;
  opacity: .9;
  transition: width .35s ease;
}

.features-zone.features-dim .d-flex:hover::after {
  width: 120px;
}

/* Realce del icono al hover */
.features-zone.features-dim .d-flex:hover .me-3 {
  filter: drop-shadow(0 0 10px rgba(34,211,238,.45));
}
/* ===== SECCIÓN INTERNACIONAL ===== */
.international-section {
  position: relative;
  overflow: hidden;
  background: #05486e;
  color: #fff;
  isolation: isolate;
}
/* Canvas de partículas para internacional */
#international-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.international-bg {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  filter: blur(60px);
  background:
    radial-gradient(35% 35% at 20% 30%, rgba(103,232,249,.3) 0%, transparent 60%),
    radial-gradient(30% 30% at 80% 70%, rgba(6,182,212,.25) 0%, transparent 60%),
    radial-gradient(25% 25% at 50% 50%, rgba(34,211,238,.2) 0%, transparent 60%);
  animation: international-drift 25s ease-in-out infinite;
}

@keyframes international-drift {
  0%, 100% { transform: translate3d(-2%, -2%, 0) scale(1); }
  50% { transform: translate3d(2%, 2%, 0) scale(1.05); }
}

.international-section .container { position: relative; z-index: 1; }

.international-stat {
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(103,232,249,.2);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.international-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(103,232,249,.4);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

.international-stat .stat-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 12px rgba(103,232,249,.4));
}

/* Stats - números brillantes en blanco */
.international-stat .stat-number {
  color: #fff !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 
    0 0 25px rgba(255,255,255,1),
    0 0 45px rgba(255,255,255,.7),
    0 0 60px rgba(255,255,255,.4),
    0 2px 8px rgba(0,0,0,.3);
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 0 20px rgba(255,255,255,.8));
}

/* Etiquetas brillantes en blanco */
.international-stat .stat-label {
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 
    0 0 18px rgba(255,255,255,.8),
    0 0 30px rgba(255,255,255,.5),
    0 1px 4px rgba(0,0,0,.2);
}

/* Títulos brillantes */
.international-section h2 {
  text-shadow: 
    0 0 25px rgba(255,255,255,.9),
    0 0 45px rgba(255,255,255,.6),
    0 2px 8px rgba(0,0,0,.3);
}

/* Subtítulo brillante MÁS INTENSO */
.international-section .lead {
  color: #fff !important;
  font-weight: 500;
  text-shadow: 
    0 0 25px rgba(255,255,255,1),
    0 0 40px rgba(255,255,255,.8),
    0 0 60px rgba(255,255,255,.5),
    0 2px 8px rgba(0,0,0,.3);
  filter: drop-shadow(0 0 15px rgba(255,255,255,.7));
}


.map-container {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(103,232,249,.15);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 10px 40px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.1);
}

#world-map {
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.leaflet-container {
  background: #0a1929 !important;
  font-family: inherit;
}

.leaflet-popup-content-wrapper {
  background: rgba(6,182,212,.95) !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.4) !important;
}

.leaflet-popup-content {
  margin: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.leaflet-popup-tip { background: rgba(6,182,212,.95) !important; }

.custom-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 20px rgba(103,232,249,.8), 0 4px 12px rgba(0,0,0,.4);
  animation: markerPulse 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-marker:hover {
  transform: scale(1.3);
  box-shadow: 0 0 30px rgba(103,232,249,1), 0 6px 16px rgba(0,0,0,.5);
}

.custom-marker.active {
  background: #22D3EE;
  width: 24px;
  height: 24px;
  border-width: 4px;
}

.custom-marker.normal { background: #67E8F9; }

@keyframes markerPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(103,232,249,.8), 0 4px 12px rgba(0,0,0,.4); }
  50% { box-shadow: 0 0 30px rgba(103,232,249,1), 0 0 40px rgba(34,211,238,.6), 0 4px 12px rgba(0,0,0,.4); }
}

.map-legend {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.legend-dot.active {
  background: #22D3EE;
  box-shadow: 0 0 16px rgba(34,211,238,1);
  animation: markerPulse 2s ease-in-out infinite;
}

.legend-dot.normal {
  background: #67E8F9;
  box-shadow: 0 0 12px rgba(103,232,249,.8);
}

@media (max-width: 768px) {
  #world-map { height: 350px; }
  .map-container { padding: 1rem; }
}