/* =========================================================================
   QRPOL PRO - Hoja de Estilos de la Plataforma Pública (100% Marca QRPOL)
   Incluye:
   - Menú Público en una sola línea uniforme
   - Animación bidireccional al bajar y subir (Scroll Reveal)
   - Iconos coloridos animados y texto con brillo dinámico
   - Enrutamiento Inteligente amigable y organizado (Sin color verde)
   - Gráficos Estadísticos de Usuario (4 resumidos: 2 visibles y 2 difuminados)
   - Colección de Códigos QR con tarjetas interactivas, colores y movimiento
   - Botón flotante inferior derecho para subir al inicio
   ========================================================================= */
:root {
  --qrpol-navy: #0b1736;
  --qrpol-navy-light: #162650;
  --qrpol-orange: #ee6123;
  --qrpol-orange-hover: #d95216;
  --qrpol-blue: #2563eb;
  --qrpol-blue-dark: #1d4ed8;
  --qrpol-violet: #7c3aed;
  --qrpol-cyan: #0284c7;
  --qrpol-rose: #e11d48;
  --surface-cream: #f8f6f2;
  --border-subtle: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #475569;
}

html {
  scroll-behavior: smooth;
  background-color: var(--qrpol-navy);
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top);
}

/* =========================================================================
   1. NAVBAR PÚBLICO EN UNA SOLA LÍNEA UNIFORME
   ========================================================================= */
.public-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e5e7eb;
  padding: 0.55rem 0;
  transition: all 0.25s ease;
}

@media (min-width: 992px) {
  .public-navbar .container-fluid,
  .public-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
  }
  .public-navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    width: 100%;
  }
  .public-navbar .navbar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.15rem;
  }
}

@media (max-width: 991.98px) {
  .public-navbar {
    background: var(--qrpol-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .public-navbar .navbar-brand,
  .public-navbar .brand-title-text {
    color: #ffffff !important;
  }
  .public-navbar .brand-subtitle-text {
    color: #94a3b8 !important;
  }
  .public-navbar .navbar-toggler {
    filter: invert(1) brightness(2);
  }
  .public-navbar .navbar-collapse {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }
}

.brand-mark {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--qrpol-orange) 0%, #2563eb 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(238, 97, 35, 0.28);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.navbar-brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Enlaces del menú público en una sola línea sin saltos */
.nav-link-pro {
  color: var(--qrpol-navy) !important;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.44rem 0.65rem !important;
  border-radius: 9px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  transition: all 0.18s ease;
}

.nav-link-pro:hover,
.nav-link-pro:focus {
  color: var(--qrpol-orange) !important;
  background: #fff7ed;
  transform: translateY(-1px);
}

.nav-link-pro i {
  font-size: 0.92rem;
}

.dropdown-mega-menu {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(11, 23, 54, 0.14);
  padding: 1.15rem;
  min-width: 330px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--qrpol-navy);
  transition: all 0.18s ease;
}

.mega-item:hover {
  background: #f8fafc;
  color: var(--qrpol-blue);
  transform: translateX(4px);
}

.mega-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.btn-qrpol-orange {
  background: linear-gradient(135deg, #ee6123 0%, #f97316 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 11px;
  white-space: nowrap;
  transition: all 0.22s ease;
  box-shadow: 0 6px 16px rgba(238, 97, 35, 0.25);
}

.btn-qrpol-orange:hover {
  background: linear-gradient(135deg, #d95216 0%, #ea580c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(238, 97, 35, 0.36);
}

.btn-qrpol-navy {
  background: linear-gradient(135deg, var(--qrpol-navy) 0%, #1e3a8a 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 11px;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.btn-qrpol-navy:hover {
  background: linear-gradient(135deg, #162650 0%, #2563eb 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

/* =========================================================================
   2. ANIMACIONES DE SCROLL BIDIRECCIONALES (AL BAJAR Y AL SUBIR EN VIVO)
   ========================================================================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-left {
  transform: translateX(-42px) scale(0.985);
}

.reveal-on-scroll.reveal-right {
  transform: translateX(42px) scale(0.985);
}

.reveal-on-scroll.reveal-zoom {
  transform: scale(0.92);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* =========================================================================
   3. HERO CÁLIDO, COLORIDO Y ANIMADO (ICONOS FLOTANTES + TEXTO ANIMADO)
   ========================================================================= */
.hero-animated-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(-45deg, #eff6ff, #fff7ed, #f5f3ff, #ecfeff, #fef2f2);
  background-size: 350% 350%;
  animation: heroGradientShift 12s ease infinite;
  padding: 2.8rem 0 4.4rem;
  z-index: 1;
}

@keyframes heroGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-animated-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.hero-moving-grid {
  position: absolute;
  inset: -100px;
  background-image:
    radial-gradient(rgba(37, 99, 235, 0.16) 1.75px, transparent 1.75px),
    radial-gradient(rgba(238, 97, 35, 0.13) 1.75px, transparent 1.75px);
  background-size: 42px 42px;
  background-position: 0 0, 21px 21px;
  animation: moveGridPattern 16s linear infinite;
}

@keyframes moveGridPattern {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(42px, 42px, 0); }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  animation: floatOrb 10s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.48) 0%, transparent 70%);
  top: -80px;
  left: -80px;
}

.hero-orb-2 {
  width: 410px;
  height: 410px;
  background: radial-gradient(circle, rgba(238, 97, 35, 0.42) 0%, transparent 70%);
  top: 12%;
  right: -100px;
  animation-duration: 13s;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.36) 0%, transparent 70%);
  bottom: -60px;
  left: 32%;
  animation-duration: 15s;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(48px, -35px, 0) scale(1.14); }
  100% { transform: translate3d(-35px, 32px, 0) scale(0.94); }
}

/* Iconos flotantes decorativos llenos de color en el Hero */
.hero-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 0.55rem 0.9rem;
  box-shadow: 0 12px 28px rgba(11, 23, 54, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--qrpol-navy);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: floatBadgeUpDown 4.8s ease-in-out infinite;
  z-index: 2;
}

.hero-floating-badge.badge-left-top {
  top: 38px;
  left: 3%;
  animation-delay: 0s;
}

.hero-floating-badge.badge-right-top {
  top: 46px;
  right: 3%;
  animation-delay: -2.2s;
}

@keyframes floatBadgeUpDown {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

/* Píldoras de características con iconos de colores vivos */
.colorful-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--qrpol-navy);
  box-shadow: 0 4px 12px rgba(11, 23, 54, 0.06);
  transition: all 0.22s ease;
}

.colorful-feature-chip:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.14);
}

.chip-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.82rem;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #fff7ed 0%, #eff6ff 100%);
  border: 1px solid #fdba74;
  color: #c2410c;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.44rem 1.05rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(238, 97, 35, 0.14);
  animation: pulseBadgeSubtle 3.2s ease-in-out infinite;
}

@keyframes pulseBadgeSubtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Título Principal que brilla de vez en cuando con gradiente multicolor vivo */
.hero-shimmer-title {
  font-size: clamp(2.05rem, 4.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.13;
  background: linear-gradient(
    110deg,
    #0b1736 0%,
    #1e3a8a 28%,
    #2563eb 42%,
    #ee6123 50%,
    #7c3aed 58%,
    #0284c7 68%,
    #0b1736 82%,
    #0b1736 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: periodicTitleShine 5.5s ease-in-out infinite;
}

@keyframes periodicTitleShine {
  0%, 22% { background-position: 100% 50%; }
  65%, 100% { background-position: 0% 50%; }
}

/* Texto rotativo / animado en subtítulo */
.animated-highlight-word {
  display: inline-block;
  padding: 0.08rem 0.55rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(238, 97, 35, 0.16));
  color: var(--qrpol-orange);
  font-weight: 800;
  animation: wordBounceGlow 3s ease-in-out infinite;
}

@keyframes wordBounceGlow {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(238, 97, 35, 0); }
  50% { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(238, 97, 35, 0.22); }
}

/* Conmutador de Herramienta Principal */
.tool-switcher-wrap {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 7px;
  border-radius: 999px;
  gap: 8px;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  border: 2px solid #e2e8f0;
  box-shadow: 0 10px 26px rgba(11, 23, 54, 0.08);
}

.tool-switcher-btn {
  border: none;
  background: transparent;
  color: #334155;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.22s ease;
}

.tool-switcher-btn:hover {
  color: var(--qrpol-blue);
  background: #f8fafc;
}

.tool-switcher-btn.active {
  background: linear-gradient(135deg, var(--qrpol-navy) 0%, #1e3a8a 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 23, 54, 0.25);
}

.workspace-studio-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border: 2px solid #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 25px 65px rgba(11, 23, 54, 0.12);
  padding: 1.5rem;
  position: relative;
}

@media (min-width: 992px) {
  .workspace-studio-card {
    padding: 2.3rem;
  }
}

/* Barra de Tokens de Usuario (7 URLs y 7 QRs) */
.user-quota-banner {
  background: linear-gradient(90deg, #0b1736 0%, #1e3a8a 60%, #2563eb 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 10px 25px rgba(11, 23, 54, 0.16);
}

.quota-pill-counter {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.utm-builder-drawer {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 16px;
  padding: 1.1rem;
  margin-bottom: 1.2rem;
}

.qr-type-pill {
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: var(--qrpol-navy);
  border-radius: 12px;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.qr-type-pill i {
  font-size: 1.05rem;
  color: var(--qrpol-blue);
  transition: transform 0.2s ease;
}

.qr-type-pill:hover {
  border-color: #93c5fd;
  background: #f8fafc;
  transform: translateY(-2px);
}

.qr-type-pill:hover i {
  transform: scale(1.2);
}

.qr-type-pill.active {
  border-color: var(--qrpol-blue);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--qrpol-blue-dark);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.design-subtab-btn {
  border: none;
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.52rem 1.05rem;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.design-subtab-btn.active {
  background: var(--qrpol-navy);
  color: #ffffff;
}

.visual-option-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.18s ease;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}

.visual-option-card:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.visual-option-card.active {
  border-color: var(--qrpol-blue);
  background: #eff6ff;
  color: var(--qrpol-blue-dark);
}

.public-qr-stage {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 22px;
  padding: 1.5rem;
  text-align: center;
}

/* =========================================================================
   4. SHOWCASE INTERACTIVO Y TARJETAS DE ENLACES INVENTADOS
   ========================================================================= */
.platform-window {
  background: var(--qrpol-navy);
  border-radius: 26px;
  padding: 1rem;
  box-shadow: 0 28px 65px rgba(11, 23, 54, 0.22);
  color: #ffffff;
}

@media (min-width: 768px) {
  .platform-window {
    padding: 1.5rem;
  }
}

.platform-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.window-dots span {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 5px;
}

.platform-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  font-size: 0.83rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.platform-tab-btn.active,
.platform-tab-btn:hover {
  background: var(--qrpol-orange);
  border-color: var(--qrpol-orange);
  color: #ffffff;
}

.platform-inner-surface {
  background: #f8fafc;
  color: var(--text-main);
  border-radius: 18px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.showcase-link-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.showcase-link-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 23, 54, 0.06);
}

/* Difuminado de privacidad */
.privacy-blur-mask {
  filter: blur(4.5px);
  -webkit-filter: blur(4.5px);
  user-select: none;
  pointer-events: none;
  display: inline-block;
  opacity: 0.82;
}

/* =========================================================================
   5. ENRUTAMIENTO INTELIGENTE & DETECCIÓN AUTOMÁTICA (SIN COLOR VERDE)
   ========================================================================= */
.routing-friendly-container {
  background: linear-gradient(155deg, #0b1736 0%, #1e1b4b 55%, #172554 100%);
  border-radius: 26px;
  padding: 1.85rem;
  color: #ffffff;
  box-shadow: 0 24px 55px rgba(11, 23, 54, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.25);
  position: relative;
  overflow: hidden;
}

.routing-step-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.22s ease;
}

.routing-step-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(6px);
  border-color: rgba(251, 146, 60, 0.55);
}

.routing-step-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.routing-icon-blue {
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
}

.routing-icon-orange {
  background: linear-gradient(135deg, #ee6123 0%, #f59e0b 100%);
}

.routing-icon-violet {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
}

.routing-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.routing-badge-blue {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.routing-badge-orange {
  background: rgba(251, 146, 60, 0.2);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.38);
}

.routing-badge-violet {
  background: rgba(192, 132, 252, 0.2);
  color: #e9d5ff;
  border: 1px solid rgba(192, 132, 252, 0.38);
}

/* =========================================================================
   6. 4 GRÁFICOS DE USUARIO (2 VISIBLES + 2 DIFUMINADOS SIN SUSCRIPCIÓN)
   ========================================================================= */
.user-chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(11, 23, 54, 0.06);
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.user-chart-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 23, 54, 0.1);
}

.chart-blurred-canvas-wrap {
  filter: blur(7px);
  -webkit-filter: blur(7px);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.chart-blurred-canvas-wrap.unlocked {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.chart-subscription-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 23, 54, 0.48);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: #ffffff;
  z-index: 5;
  transition: opacity 0.35s ease;
}

.chart-subscription-lock-overlay.d-none {
  display: none !important;
}

.lock-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ee6123 0%, #f59e0b 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 10px 24px rgba(238, 97, 35, 0.45);
  animation: pulseLockBadge 2.2s infinite;
}

@keyframes pulseLockBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* =========================================================================
   7. COLECCIÓN DE CÓDIGOS QR Y CASOS DE USO (ANIMADO, COLORES Y MOVIMIENTO)
   ========================================================================= */
.section-cream {
  background-color: var(--surface-cream);
}

.feature-visual-frame {
  background: linear-gradient(145deg, #0b1736 0%, #1e3a8a 100%);
  border-radius: 26px;
  padding: 1.75rem;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(11, 23, 54, 0.15);
  position: relative;
  overflow: hidden;
}

.floating-stat-card {
  background: #ffffff;
  color: var(--qrpol-navy);
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.catalog-qr-card {
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  padding: 1.45rem;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.catalog-qr-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--card-accent, linear-gradient(90deg, #2563eb, #38bdf8));
  transition: height 0.25s ease;
}

.catalog-qr-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 42px rgba(11, 23, 54, 0.14);
  transform: translateY(-8px) scale(1.015);
}

.catalog-qr-card:hover::before {
  height: 8px;
}

.catalog-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 1rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.catalog-qr-card:hover .catalog-icon-box {
  transform: rotate(-8deg) scale(1.14);
}

.catalog-action-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 0.9rem;
  color: var(--qrpol-blue);
  transition: transform 0.2s ease, color 0.2s ease;
}

.catalog-qr-card:hover .catalog-action-tag {
  color: var(--qrpol-orange);
  transform: translateX(5px);
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 1.85rem;
  height: 100%;
  box-shadow: 0 6px 20px rgba(11, 23, 54, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 23, 54, 0.09);
}

.cta-navy-banner {
  background: radial-gradient(circle at 85% 20%, rgba(238, 97, 35, 0.28) 0%, transparent 45%), var(--qrpol-navy);
  color: #ffffff;
  border-radius: 28px;
  padding: 3.2rem 2rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #38bdf8;
  display: inline-block;
  animation: pulseBlueDot 1.8s infinite;
}

@keyframes pulseBlueDot {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.75); }
  70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.flag-mini {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
}

.public-footer {
  background: #070f24;
  color: #cbd5e1;
  padding: 4.5rem 0 2.5rem;
}

.public-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.public-footer a:hover {
  color: #ffffff;
}

/* =========================================================================
   8. BOTÓN FLOTANTE INFERIOR DERECHO PARA SUBIR ARRIBA A LA WEB
   ========================================================================= */
.btn-scroll-top-fixed {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--qrpol-orange) 0%, #2563eb 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 12px 28px rgba(11, 23, 54, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 1085;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.9);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-scroll-top-fixed.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.btn-scroll-top-fixed:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 16px 34px rgba(238, 97, 35, 0.45);
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .hero-animated-section {
    padding: 1.8rem 0 3rem;
  }
  .tool-switcher-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
  }
  .cta-navy-banner {
    padding: 2.2rem 1.25rem;
  }
  .btn-scroll-top-fixed {
    bottom: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
  }
}

/* Resaltado visual cuando se centra el input de URL listo para pegar */
.input-ready-focus {
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.28), 0 12px 30px rgba(238, 97, 35, 0.22) !important;
  border-radius: 12px;
  transition: box-shadow 0.25s ease;
}
