/**
 * SYS-LDC — Hoja de Estilos de la Landing Page Comercial
 * Apple Glassmorphism + Microinteracciones Fluidas + Responsive Design
 */

/* ==========================================================================
   1. RESET, LAYOUT Y ESPACIADOS VERTICALES OPTIMIZADOS
   ========================================================================== */
html.ldc-modal-open {
  overflow: hidden;
}

.ldc-hero {
  margin: 32px auto 28px auto !important;
  padding: 0 24px;
}

.ldc-hero-actions {
  margin-bottom: 18px !important;
  gap: 14px;
  flex-wrap: wrap;
}

.ldc-btn-lg {
  padding: 13px 30px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ldc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--sys-radius-pill, 9999px);
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ldc-btn-ghost:hover {
  background: #FFFFFF;
  color: #2563EB;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.ldc-btn-ghost-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.ldc-btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.ldc-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  color: #64748B;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ldc-link-btn:hover {
  color: #2563EB;
  text-decoration: underline;
}

.ldc-hero-meta {
  font-size: 13px;
  color: #64748B;
  margin: 0 auto 32px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ldc-hero-meta a {
  color: #2563EB;
  font-weight: 600;
  text-decoration: none;
}

.ldc-hero-meta a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   2. PRESENTACIÓN INTERACTIVA DEL WORKSPACE (HERO PREVIEW & TOUR)
   ========================================================================== */
.ldc-preview {
  position: relative;
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 32px 90px -20px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.7) !important;
  border-radius: 24px !important;
  padding: 10px !important;
  overflow: visible !important;
  transition: box-shadow 0.3s ease;
}

.ldc-preview:hover {
  box-shadow: 0 40px 100px -20px rgba(37, 99, 235, 0.22), 0 0 0 1px rgba(59, 130, 246, 0.4) !important;
}

.ldc-preview-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 10px 14px;
}

.ldc-preview-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.ldc-preview-chrome span:nth-child(1) { background: #FF5F56; }
.ldc-preview-chrome span:nth-child(2) { background: #FFBD2E; }
.ldc-preview-chrome span:nth-child(3) { background: #27C93F; }

.ldc-preview-chrome em {
  font-style: normal;
  font-size: 11px;
  color: #94A3B8;
  margin-left: 10px;
  font-family: var(--sys-font-mono, monospace);
  letter-spacing: -0.01em;
}

.ldc-preview-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0B0F19;
}

.ldc-preview-stage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Hotspots y Radar Pulse */
.ldc-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ldc-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  z-index: 15;
}

.ldc-hotspot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.7);
  animation: ldcPulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes ldcPulse {
  0% { transform: scale(0.8); opacity: 1; }
  80% { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.ldc-hotspot:hover,
.ldc-hotspot.is-active {
  transform: translate(-50%, -50%) scale(1.15);
  background: #0F172A;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
}

.ldc-hotspot.is-active::after {
  animation: none;
  border-color: #2563EB;
}

/* Tooltip Guiado del Tour */
.ldc-tour-tip {
  position: absolute;
  transform: translate(-50%, 0);
  width: min(320px, calc(100% - 24px));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.12);
  padding: 14px 16px;
  z-index: 30;
  animation: ldcTipIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

@keyframes ldcTipIn {
  from { opacity: 0; transform: translate(-50%, 6px) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.ldc-tour-tip strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.ldc-tour-tip p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
  margin: 0 0 10px 0;
}

.ldc-tour-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #E2E8F0;
  padding-top: 8px;
  font-size: 11px;
  color: #64748B;
}

.ldc-tour-nav button {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.ldc-tour-nav button:hover {
  transform: translateY(-1px);
}

.ldc-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 2px 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.ldc-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #2563EB;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.ldc-chip-btn:hover {
  background: #EFF6FF;
  border-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.ldc-chip-btn .material-symbols-outlined {
  font-size: 17px;
}

.ldc-preview-hint {
  font-size: 12px;
  color: #64748B;
}

/* ==========================================================================
   3. TARJETAS INTERACTIVAS DE CARACTERÍSTICAS (LDC TILE)
   ========================================================================== */
.ldc-tile {
  cursor: pointer;
  text-align: left;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  outline: none;
}

.ldc-tile:hover,
.ldc-tile:focus-visible {
  border-color: #2563EB;
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  background: #FFFFFF;
}

.ldc-tile:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), 0 20px 48px rgba(37, 99, 235, 0.12);
}

.ldc-tile-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #2563EB;
  margin-top: 18px;
  transition: transform 0.2s ease;
}

.ldc-tile:hover .ldc-tile-more {
  transform: translateX(4px);
}

/* ==========================================================================
   4. PIPELINE COMERCIAL DEMOSTRATIVO (5 ETAPAS)
   ========================================================================== */
.ldc-pipeline-section {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 32px;
  padding: 48px 32px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.05);
}

.ldc-pipe {
  margin-top: 32px;
}

.ldc-pipe-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.ldc-pipe-step {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ldc-pipe-step small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
}

.ldc-pipe-step strong {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
}

.ldc-pipe-step span {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.35;
}

.ldc-pipe-step:hover {
  border-color: #93C5FD;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.ldc-pipe-step.is-active {
  border: 2px solid #2563EB;
  background: #EFF6FF;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.14);
}

.ldc-pipe-step.is-active small,
.ldc-pipe-step.is-active strong {
  color: #2563EB;
}

.ldc-pipe-step.is-key.is-active {
  border-color: #2563EB;
  background: #EFF6FF;
}

.ldc-pipe-step.is-final.is-active {
  border-color: #06B6D4;
  background: rgba(6, 182, 212, 0.08);
}

.ldc-pipe-step.is-final.is-active small,
.ldc-pipe-step.is-final.is-active strong {
  color: #0284C7;
}

/* Barra de progreso */
.ldc-pipe-progress {
  height: 4px;
  background: #E2E8F0;
  border-radius: 4px;
  margin: 20px 0 24px 0;
  overflow: hidden;
}

#ldc-pipe-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #06B6D4 0%, #3B82F6 50%, #2563EB 100%);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Detalle interactivo del Pipeline */
.ldc-pipe-detail {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
  align-items: center;
}

.ldc-pipe-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2563EB;
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.ldc-pipe-text h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 10px 0;
}

.ldc-pipe-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 20px 0;
}

.ldc-pipe-facts {
  display: grid;
  gap: 12px;
  margin: 0 0 24px 0;
}

.ldc-pipe-facts div {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
}

.ldc-pipe-facts dt {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.ldc-pipe-facts dt .material-symbols-outlined {
  font-size: 16px;
  color: #2563EB;
}

.ldc-pipe-facts dd {
  font-size: 12.5px;
  color: #64748B;
  margin: 0;
}

.ldc-pipe-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Tarjeta Documento Visual de la Etapa */
.ldc-doc {
  background: #FFFFFF;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.6);
  position: relative;
  font-family: var(--sys-font-sans);
  transition: all 0.25s ease;
}

.ldc-doc.is-key {
  border-color: #60A5FA;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.14), 0 0 0 1px rgba(59, 130, 246, 0.35);
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
}

.ldc-doc.is-final {
  border-color: #06B6D4;
  box-shadow: 0 18px 40px rgba(6, 182, 212, 0.16), 0 0 0 1px rgba(6, 182, 212, 0.35);
  background: linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%);
}

.ldc-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #CBD5E1;
  padding-bottom: 14px;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.ldc-doc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.ldc-doc-title {
  font-weight: 800;
  font-size: 15px;
  color: #0F172A;
}

.ldc-doc-code {
  font-family: var(--sys-font-mono, monospace);
  font-size: 11.5px;
  background: #EEF2F6;
  border: 1px solid #CBD5E1;
  padding: 3px 8px;
  border-radius: 6px;
  color: #1E293B;
  font-weight: 700;
}

.ldc-doc-stamp {
  position: static !important; /* Resuelto: flujo normal, nunca absoluto para evitar que se monte sobre el texto */
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
  background: rgba(37, 99, 235, 0.10);
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ldc-doc-stamp.stamp-key {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #93C5FD;
}

.ldc-doc-stamp.stamp-final {
  background: rgba(6, 182, 212, 0.12);
  color: #0284C7;
  border-color: rgba(6, 182, 212, 0.4);
}

.ldc-doc-lines i {
  display: block;
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  margin-bottom: 8px;
}

.ldc-doc-lines i.short {
  width: 60%;
}

.ldc-doc-total {
  border-top: 1px dashed #CBD5E1;
  padding-top: 12px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475569;
}

.ldc-doc-total b {
  font-family: var(--sys-font-mono, monospace);
  font-size: 15px;
  color: #0F172A;
  font-weight: 800;
}

.ldc-demo-note {
  font-size: 12px;
  color: #64748B;
  text-align: center;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ldc-demo-note .material-symbols-outlined {
  font-size: 16px;
  color: #3B82F6;
}

/* ==========================================================================
   5. MÓDULOS SAAS Y PLAN DISPONIBILIDAD (5 EN FILA, ALTO CONTRASTE)
   ========================================================================== */
.ldc-modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

.ldc-module-tile {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 22px !important;
  padding: 24px 18px 20px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

/* Barra superior de acento de color para cada módulo */
.ldc-module-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ldc-mod-color, #2563EB);
  opacity: 0.95;
  transition: height 0.2s ease;
}

.ldc-module-tile:hover::before {
  height: 6px;
}

.ldc-module-tile:hover {
  transform: translateY(-5px) !important;
  border-color: var(--ldc-mod-color, #2563EB) !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px var(--ldc-mod-color, #2563EB) !important;
  background: #FFFFFF !important;
}

/* Badge / Etiqueta del módulo */
.ldc-module-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ldc-mod-color, #2563EB);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

/* ==========================================================================
   BURBUJA GLASSMORPHISM OFICIAL SYS-LDC (UN SOLO CONTENEDOR TRASLÚCIDO)
   ========================================================================== */
.sys-icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 9999px; /* Burbuja esférica limpia sin recuadros */
  background: radial-gradient(100% 100% at 32% 24%, rgba(255, 255, 255, 0.96) 0%, rgba(240, 246, 255, 0.78) 65%, rgba(224, 238, 255, 0.60) 100%);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 10px 24px -4px rgba(37, 99, 235, 0.14),
    0 2px 6px rgba(15, 23, 42, 0.04),
    inset 0 1.5px 2.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 3px rgba(37, 99, 235, 0.08);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--sys-blue-primary, #2563EB);
  flex-shrink: 0;
  margin-bottom: 14px;
}

/* Brillo especular superior de vidrio tipo Apple */
.sys-icon-bubble::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 12%;
  right: 12%;
  height: 38%;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.0) 100%);
  pointer-events: none;
}

.sys-icon-bubble .sys-ldc-icon {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.22));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ldc-module-tile:hover .sys-icon-bubble,
.sys-icon-bubble:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 16px 32px -4px rgba(37, 99, 235, 0.24),
    0 4px 12px rgba(15, 23, 42, 0.06),
    inset 0 2px 2px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.35);
}

.ldc-module-tile:hover .sys-icon-bubble .sys-ldc-icon,
.sys-icon-bubble:hover .sys-ldc-icon {
  transform: scale(1.10);
}

/* Compatibilidad retrospectiva con .ldc-module-icon-wrap (reutiliza el mismo estilo de burbuja limpia) */
.ldc-module-icon-wrap {
  width: 66px;
  height: 66px;
  border-radius: 9999px;
  background: radial-gradient(100% 100% at 32% 24%, rgba(255, 255, 255, 0.96) 0%, rgba(240, 246, 255, 0.78) 65%, rgba(224, 238, 255, 0.60) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.14), inset 0 1.5px 2.5px rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.ldc-module-icon-wrap img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.18));
}

.ldc-module-tile h3 {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.ldc-module-tile p {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: #334155 !important; /* Alto contraste */
  margin: 0 0 16px 0 !important;
  flex: 1 !important;
}

/* Botón micro-pill de acción */
.ldc-tile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #2563EB;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 7px 16px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  width: auto;
  margin-top: auto;
}

.ldc-module-tile:hover .ldc-tile-btn {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.ldc-plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-top: 10px;
}

.ldc-plan-table th,
.ldc-plan-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #E2E8F0;
  text-align: left;
}

.ldc-plan-table th {
  font-weight: 700;
  color: #0F172A;
}

.ldc-yes {
  color: #0284C7;
  font-weight: 700;
}

.ldc-no {
  color: #94A3B8;
}

.ldc-small {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 8px;
}

/* ==========================================================================
   6. PLANES & PRECIOS DINÁMICOS
   ========================================================================== */
.ldc-plan {
  position: relative;
}

.ldc-cur {
  font-size: 24px;
  font-weight: 700;
  margin-right: 4px;
  color: #64748B;
}

.ldc-plan-cta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ldc-plan-cta small {
  font-size: 11.5px;
  color: #64748B;
  text-align: center;
}

.ldc-pricing-foot {
  text-align: center;
  font-size: 12.5px;
  color: #64748B;
  margin-top: 24px;
}

.ldc-flash {
  animation: ldcFlash 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ldcFlash {
  0%, 100% { box-shadow: var(--sys-glass-shadow); border-color: rgba(226, 232, 240, 0.8); }
  25%, 75% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.35), 0 20px 60px rgba(37, 99, 235, 0.2); border-color: #2563EB; transform: scale(1.02); }
}

.ldc-skeleton {
  min-height: 480px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 26px;
  animation: ldcSkel 1.6s ease infinite;
}

@keyframes ldcSkel {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

/* ==========================================================================
   7. MODALES DIALOG GLASSMORPHIC NATIVOS (<dialog>)
   ========================================================================== */
dialog.ldc-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: min(720px, calc(100vw - 32px));
  width: 100%;
  border-radius: 26px;
  overflow: visible;
  outline: none;
  margin: auto;
}

dialog.ldc-dialog::backdrop {
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  animation: ldcBackdropFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ldcBackdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ldc-dialog-inner {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(226, 232, 240, 0.85);
  padding: 34px 32px;
  position: relative;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  animation: ldcModalScale 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ldcModalScale {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.ldc-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.ldc-dialog-close:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
  transform: rotate(90deg);
}

.ldc-dialog-title {
  font-family: 'Plus Jakarta Sans', var(--sys-font-sans);
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
}

.ldc-dialog-lead {
  font-size: 14px;
  line-height: 1.55;
  color: #64748B;
  margin: 0 0 20px 0;
}

/* Encabezado del modal de detalle */
.ldc-info-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.ldc-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ldc-accent, #2563EB);
  flex-shrink: 0;
}

.ldc-info-icon .material-symbols-outlined {
  font-size: 28px;
}

.ldc-info-icon-img {
  background: transparent !important;
}

.ldc-info-img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid #E2E8F0;
}

.ldc-info-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.ldc-info-cols h3 {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0F172A;
  margin: 0 0 10px 0;
}

.ldc-steps {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.ldc-steps li {
  margin-bottom: 8px;
}

.ldc-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 13px;
  color: #334155;
  display: grid;
  gap: 8px;
}

.ldc-checks li::before {
  content: '✓ ';
  color: #06B6D4;
  font-weight: bold;
}

.ldc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ldc-tags span {
  font-size: 11.5px;
  font-weight: 600;
  background: #F1F5F9;
  color: #334155;
  padding: 4px 10px;
  border-radius: 8px;
}

.ldc-info-foot {
  border-top: 1px solid #E2E8F0;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ldc-info-foot p {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

.ldc-dialog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Formulario de Registro / Captación de Prueba */
.ldc-dialog-form {
  max-width: min(620px, calc(100vw - 32px)) !important;
}

.ldc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.ldc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}

.ldc-field-full {
  grid-column: 1 / -1;
}

.ldc-field input,
.ldc-field select,
.ldc-field textarea {
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13.5px;
  color: #0F172A;
  background: #FFFFFF;
  transition: all 0.15s ease;
  outline: none;
}

.ldc-field input:focus,
.ldc-field select:focus,
.ldc-field textarea:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ldc-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #64748B;
  cursor: pointer;
  margin-bottom: 16px;
  line-height: 1.45;
}

.ldc-check input {
  margin-top: 2px;
}

.ldc-check a {
  color: #2563EB;
  text-decoration: none;
}

.ldc-check a:hover {
  text-decoration: underline;
}

.ldc-form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.ldc-hp {
  display: none !important;
}

/* Estado de Éxito de la Solicitud */
.ldc-success {
  text-align: center;
  padding: 16px 8px;
}

.ldc-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  color: #06B6D4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.ldc-success-icon .material-symbols-outlined {
  font-size: 38px;
}

.ldc-success p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  max-width: 440px;
  margin: 0 auto 24px auto;
}

/* ==========================================================================
   8. MEDIA QUERIES & ACCESIBILIDAD (PREFERS-REDUCED-MOTION)
   ========================================================================== */
@media (max-width: 1140px) and (min-width: 769px) {
  .ldc-modules-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .ldc-modules-grid .ldc-module-tile {
    flex: 0 1 calc(33.333% - 16px);
    min-width: 210px;
    max-width: 340px;
  }
}

@media (max-width: 768px) and (min-width: 521px) {
  .ldc-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .ldc-modules-grid .ldc-module-tile:last-child {
    grid-column: span 2;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .ldc-modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .ldc-pipe-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ldc-pipe-detail {
    grid-template-columns: 1fr;
  }
  .ldc-info-cols {
    grid-template-columns: 1fr;
  }
  .ldc-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ldc-pipe-steps {
    grid-template-columns: 1fr;
  }
  .ldc-dialog-inner {
    padding: 24px 20px;
  }
  .ldc-preview-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ldc-hotspot::after,
  .ldc-hotspot,
  .ldc-tour-tip,
  .ldc-dialog-inner,
  #ldc-pipe-bar {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   9. HEADER Y BARRA DE NAVEGACIÓN DINÁMICA (APPLE GLASSMORPHIC AVANZADO)
   ========================================================================== */
#sys-landing-header.fixed {
  position: fixed !important;
  top: 1rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 92% !important;
  max-width: 80rem !important;
  z-index: 50 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Estado al hacer scroll en la página */
#sys-landing-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.05), inset 0 1px 1.5px #FFFFFF !important;
  transform: translateX(-50%) translateY(-2px) !important;
}

.ldc-hero-section {
  position: relative !important;
  background: radial-gradient(130% 90% at 50% 0%, #F5F7FF 0%, #FAFCFF 35%, #FFFFFF 85%) !important;
  overflow: hidden !important;
}

/* ==========================================================================
   GRADIENTE ATMOSFÉRICO PREMIUM (ESTILO SAAS APPLE / TASKHARBOR)
   ========================================================================== */
.sys-hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Halo superior que ilumina el Header traslúcido */
.sys-header-ambient-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  max-width: 96vw;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(147, 197, 253, 0.28) 0%, rgba(196, 181, 253, 0.22) 40%, rgba(168, 85, 247, 0.12) 65%, transparent 80%);
  filter: blur(48px);
}

/* Domo central luminoso difuso (Halo suave sin bordes duros) */
.sys-hero-ambient-dome {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 1040px;
  max-width: 92vw;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 45%, 
    rgba(216, 180, 254, 0.28) 0%, 
    rgba(167, 139, 250, 0.22) 28%, 
    rgba(147, 197, 253, 0.16) 52%, 
    transparent 75%);
  filter: blur(65px);
  -webkit-filter: blur(65px);
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
  opacity: 0.85;
}

/* Backlight violeta intenso bajo los botones CTA y sobre el Workspace Mockup */
.sys-hero-glow-buttons {
  position: absolute;
  top: 340px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  max-width: 85vw;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.36) 0%, rgba(99, 102, 241, 0.24) 45%, rgba(6, 182, 212, 0.12) 75%, transparent 85%);
  filter: blur(38px);
}

/* Alas ambientales laterales de gradiente cian e índigo */
.sys-hero-glow-left {
  position: absolute;
  top: 90px;
  left: -120px;
  width: 500px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.18) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 75%);
  filter: blur(60px);
}

.sys-hero-glow-right {
  position: absolute;
  top: 70px;
  right: -100px;
  width: 520px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.20) 0%, rgba(129, 140, 248, 0.12) 45%, transparent 75%);
  filter: blur(60px);
}

/* Anillo geométrico orbital tenue y difuso */
.sys-hero-arc-ring {
  position: absolute;
  top: 10px;
  right: -180px;
  width: 740px;
  height: 740px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.10);
  mask-image: radial-gradient(circle at 60% 60%, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 60% 60%, black 25%, transparent 70%);
  filter: blur(2px);
  opacity: 0.35;
}

.sys-nav-brand-wrap {
  display: flex;
  align-items: center;
}

.sys-nav-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.22s ease, opacity 0.2s ease;
}

.sys-nav-logo-link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.sys-landing-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Microinteracciones en Enlaces de Navegación */
.sys-landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sys-landing-nav-links a {
  position: relative;
  color: #475569;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 2px;
  transition: color 0.22s ease;
  white-space: nowrap;
}

/* Indicador de línea inferior animada */
.sys-landing-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #06B6D4 0%, #2563EB 100%);
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.sys-landing-nav-links a:hover {
  color: #0F172A;
}

.sys-landing-nav-links a:hover::after,
.sys-landing-nav-links a.active::after {
  width: 100%;
}

.sys-landing-nav-links a.active {
  color: #2563EB;
}

/* Botones de Acción con Efecto Brillo (Glow Effect) */
.sys-landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botón Iniciar Sesión con Halo Glow */
.sys-btn-login-glow {
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  border: 1.5px solid rgba(37, 99, 235, 0.25) !important;
  background: rgba(255, 255, 255, 0.65) !important;
  color: #1E293B !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sys-btn-login-glow:hover {
  background: #FFFFFF !important;
  color: #2563EB !important;
  border-color: #2563EB !important;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.25), 0 4px 14px rgba(37, 99, 235, 0.12) !important;
  transform: translateY(-1px) !important;
}

/* Botón Probar Gratis con Barrido Shimmer y Resplandor Eléctrico */
.sys-btn-trial-glow {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #06B6D4 0%, #2563EB 55%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  padding: 8px 22px !important;
  border-radius: 9999px !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32), inset 0 1px 1.5px rgba(255, 255, 255, 0.5) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
}

.sys-btn-trial-glow .sys-glow-shine {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  transition: left 0.65s ease;
}

.sys-btn-trial-glow:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.48), 0 0 22px rgba(6, 182, 212, 0.38), inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
}

.sys-btn-trial-glow:hover .sys-glow-shine {
  left: 140%;
}

.sys-btn-trial-glow .sys-glow-arrow {
  transition: transform 0.2s ease;
}

.sys-btn-trial-glow:hover .sys-glow-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   7. DGII COMPLIANCE BANNER & ROBOT 3D STAGE
   ========================================================================== */
.sys-dgii-card {
  position: relative;
  overflow: visible !important; /* Permite que el robot sobresalga sobre el borde */
  background: radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.28) 0%, rgba(37, 99, 235, 0.14) 42%, transparent 70%),
              linear-gradient(135deg, #0A1128 0%, #0F172A 45%, #172554 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
  padding: 52px 48px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  min-height: 320px;
  margin-top: 24px;
}

.sys-dgii-content {
  max-width: 630px;
  position: relative;
  z-index: 3;
}

.sys-dgii-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16) 0%, rgba(59, 130, 246, 0.16) 100%);
  border: 1px solid rgba(6, 182, 212, 0.45);
  color: #38BDF8;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.2);
}

.sys-dgii-title {
  font-size: 27px;
  font-weight: 800;
  margin: 0 0 14px 0;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sys-dgii-gradient-text {
  background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sys-dgii-desc {
  margin: 0 0 26px 0;
  font-size: 14.5px;
  color: #E2E8F0;
  line-height: 1.65;
  max-width: 580px;
}

.sys-dgii-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.sys-dgii-actions .sys-btn-landing-primary {
  padding: 13px 28px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 9999px;
  background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 50%, #2563EB 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.6), 0 0 18px rgba(6, 182, 212, 0.35);
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.sys-dgii-actions .sys-btn-landing-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(37, 99, 235, 0.75), 0 0 24px rgba(6, 182, 212, 0.5);
}

.sys-dgii-actions .ldc-btn-ghost-dark {
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.sys-dgii-actions .ldc-btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Escenario del Robot Flotante con Movimiento Suave */
.sys-dgii-robot-stage {
  position: absolute;
  right: -25px;
  bottom: -35px;
  width: 380px;
  height: 380px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sys-dgii-robot-glow {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.42) 0%, rgba(37, 99, 235, 0.2) 48%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 1;
  animation: sysRobotGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes sysRobotGlowPulse {
  0% { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 0.95; transform: scale(1.05); }
}

.sys-dgii-robot-float {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sysRobotGentleFloat 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes sysRobotGentleFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.sys-dgii-robot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(10, 17, 40, 0.65)) drop-shadow(0 0 25px rgba(6, 182, 212, 0.28));
  user-select: none;
  pointer-events: none;
}

/* Responsividad en Tablets y Pantallas Móviles */
@media (max-width: 1100px) {
  .sys-dgii-robot-stage {
    width: 310px;
    height: 310px;
    right: -15px;
    bottom: -25px;
  }
  .sys-dgii-content {
    max-width: 500px;
  }
}

@media (max-width: 900px) {
  .sys-dgii-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 42px 30px 280px 30px; /* Espacio para el robot abajo a la derecha */
  }
  .sys-dgii-content {
    max-width: 100%;
  }
  .sys-dgii-robot-stage {
    width: 290px;
    height: 290px;
    right: 15px;
    bottom: -15px;
  }
}

@media (max-width: 600px) {
  .sys-dgii-card {
    padding: 36px 20px 240px 20px;
    border-radius: 24px;
  }
  .sys-dgii-title {
    font-size: 23px;
  }
  .sys-dgii-robot-stage {
    width: 240px;
    height: 240px;
    right: 50%;
    transform: translateX(50%);
    bottom: -15px;
  }
}

/* ==========================================================================
   10. FOOTER CORPORATIVO GLASSMORPHISM DE ALTA AUTORIDAD (4 COLUMNAS)
   ========================================================================== */
.sys-landing-footer {
  position: relative;
  overflow: hidden;
  margin-top: 100px;
  padding: 72px 24px 36px 24px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, #F1F5F9 45%, #E2E8F0 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 -10px 30px rgba(15, 23, 42, 0.03);
}

.sys-footer-ambient-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 70%);
  pointer-events: none;
}

.sys-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sys-footer-grid {
  display: grid;
  grid-template-columns: 2.3fr 1.3fr 1.3fr 1.8fr;
  gap: 48px;
  margin-bottom: 56px;
}

/* Columna 1: Marca y Propuesta de Valor */
.sys-footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sys-footer-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sys-footer-logo-link:hover {
  opacity: 0.9;
}

.sys-footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.sys-footer-tagline {
  font-size: 13.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
  max-width: 320px;
}

/* Píldoras de Confianza DGII y Seguridad */
.sys-footer-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.sys-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sys-trust-pill:hover {
  transform: translateX(3px);
}

.sys-trust-pill .material-symbols-outlined {
  font-size: 15px;
}

.pill-dgii {
  background: rgba(6, 182, 212, 0.10);
  color: #0284C7;
  border: 1px solid rgba(6, 182, 212, 0.32);
}

.pill-security {
  background: rgba(37, 99, 235, 0.08);
  color: #1D4ED8;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.pill-cloud {
  background: rgba(6, 182, 212, 0.08);
  color: #0891B2;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

/* Columnas 2 y 3: Títulos y Enlaces */
.sys-footer-title {
  font-family: 'Plus Jakarta Sans', var(--sys-font-sans);
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
}

.sys-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sys-footer-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.sys-footer-links a:hover {
  color: #2563EB;
  transform: translateX(4px);
}

/* Columna 4: Newsletter Interactivo */
.sys-footer-newsletter-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sys-footer-newsletter-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

.ldc-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  display: none !important;
}

.sys-footer-form {
  margin-top: 4px;
}

.sys-footer-input-group {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  padding: 4px 4px 4px 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.sys-footer-input-group:focus-within {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 4px 16px rgba(37, 99, 235, 0.12);
}

.sys-footer-input-icon {
  font-size: 18px;
  color: #94A3B8;
  margin-right: 8px;
  flex-shrink: 0;
}

.sys-footer-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #0F172A;
  width: 100%;
  padding: 6px 0;
  font-family: inherit;
}

.sys-footer-input::placeholder {
  color: #94A3B8;
}

.sys-footer-submit-btn {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.sys-footer-submit-btn .material-symbols-outlined {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.sys-footer-submit-btn:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.sys-footer-submit-btn:hover .material-symbols-outlined {
  transform: translateX(2px);
}

.sys-footer-form-status {
  font-size: 12px;
  min-height: 18px;
  margin-top: 6px;
  font-weight: 600;
}

.sys-footer-form-status.success {
  color: #0284C7;
}

.sys-footer-form-status.error {
  color: #DC2626;
}

.sys-footer-privacy-note {
  font-size: 11px;
  color: #94A3B8;
}

/* Barra Inferior (Bottom Bar) */
.sys-footer-bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.8);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.sys-footer-copyright {
  font-size: 12.5px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sys-footer-sep {
  color: #CBD5E1;
}

/* Selector de Región / República Dominicana con radar pulse */
.sys-footer-region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #CBD5E1;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #1E293B;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.sys-region-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: ldcPulse 2s infinite;
}

/* Iconos de Redes Sociales Glassmorphic */
.sys-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sys-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #CBD5E1;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.sys-social-btn:hover {
  color: #2563EB;
  border-color: #2563EB;
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   RESPONSIVE DEL HEADER Y FOOTER
   ========================================================================== */
@media (max-width: 1024px) {
  .sys-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .sys-landing-nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .sys-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sys-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .sys-footer-social {
    align-self: flex-start;
  }
}

/* ==========================================================================
   CHATBOT FLOTANTE SAAS (SYS-LDC AI COPILOT EN LANDING PAGE)
   ========================================================================== */
.sys-chat-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 50%, #2563EB 100%);
  box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.5), 0 4px 12px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  padding: 0;
  overflow: hidden;
}

.sys-chat-floating-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 36px -4px rgba(37, 99, 235, 0.65), 0 6px 18px rgba(15, 23, 42, 0.2);
}

.sys-chat-floating-btn:active {
  transform: scale(0.96);
}

.sys-chat-btn-avatar {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s ease;
  border-radius: 50%;
  background: transparent !important;
}

.sys-chat-pulse-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #10B981;
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: sysChatPulse 2s infinite;
}

@keyframes sysChatPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Teaser Bubble flotante */
.sys-chat-teaser-bubble {
  position: fixed;
  bottom: 98px;
  right: 24px;
  z-index: 999;
  max-width: 290px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 12px 30px -6px rgba(15, 23, 42, 0.16);
  border-radius: 18px;
  padding: 12px 14px;
  font-size: 13px;
  color: #1E293B;
  line-height: 1.45;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: sysTeaserIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sysTeaserIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sys-chat-teaser-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(37, 99, 235, 0.24);
  border-color: rgba(37, 99, 235, 0.4);
}

.sys-chat-teaser-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s ease;
}

.sys-chat-teaser-close:hover {
  color: #EF4444;
}

/* Ventana Principal del Chatbot */
.sys-chat-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 1001;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 120px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 28px 70px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.75);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  transform-origin: bottom right;
}

.sys-chat-window.sys-chat-hidden {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  pointer-events: none;
}

/* Header del Chatbot */
.sys-chat-header {
  padding: 14px 18px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.sys-chat-header-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.sys-chat-avatar-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
  flex-shrink: 0;
  overflow: hidden;
}

.sys-chat-avatar-badge img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: transparent !important;
}

.sys-chat-title-group h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sys-chat-badge-tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(6, 182, 212, 0.25);
  color: #22D3EE;
  border: 1px solid rgba(6, 182, 212, 0.45);
  border-radius: 9999px;
  padding: 1px 7px;
}

.sys-chat-status-text {
  margin: 2px 0 0 0;
  font-size: 11.5px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sys-chat-status-indicator {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #10B981;
}

.sys-chat-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 14px;
}

.sys-chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* Área de Mensajes */
.sys-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8FAFC;
  scroll-behavior: smooth;
}

.sys-chat-msg {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: sysMsgFade 0.25s ease;
}

@keyframes sysMsgFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sys-chat-msg.robot {
  align-self: flex-start;
}

.sys-chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.sys-chat-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #06B6D4, #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.sys-chat-msg-avatar img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  background: transparent !important;
}

.sys-chat-msg-bubble {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px 16px 16px 4px;
  padding: 11px 14px;
  font-size: 13px;
  color: #1E293B;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.sys-chat-msg-bubble strong {
  color: #0F172A;
}

.sys-chat-msg.user .sys-chat-msg-bubble {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.sys-chat-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
}

.sys-chat-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

/* Sugerencias Rápidas (Chips) */
.sys-chat-chips-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.sys-chat-chip {
  background: rgba(239, 246, 255, 0.95);
  color: #1D4ED8;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.sys-chat-chip:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  transform: translateY(-1px);
}

/* Barra de Entrada / Formulario */
.sys-chat-input-bar {
  padding: 10px 14px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.sys-chat-input {
  flex: 1;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 10px 16px;
  font-size: 13px;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sys-chat-input:focus {
  background: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.sys-chat-send-btn {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.sys-chat-send-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

.sys-chat-send-btn .material-symbols-outlined {
  font-size: 18px;
}
