/* ==========================================================================
   SENTRECK S.A.S. — Sistema de Diseño Oficial (sentreck.com)
   Tipografías: Space Grotesk (títulos), Inter (texto), JetBrains Mono (código)
   Logo Oficial: sentreck-logo-full.svg
   Colores:
   - Fondo azul marino profundo: #0A0F29
   - Tarjetas glassmorphism: #18203D
   - Cian eléctrico: #00F0FF
   - Secundario violeta: #8B61FF
   - Texto claro: #E8E8E8 · Texto suave: #9AA0AC
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg-deep: #0A0F29;
  --card-bg: #18203D;
  --card-bg-glass: rgba(24, 32, 61, 0.78);
  --cyan-primary: #00F0FF;
  --violet-secondary: #8B61FF;
  --text-light: #E8E8E8;
  --text-muted: #9AA0AC;
  --logo-blue-start: #00A8E8;
  --logo-blue-end: #0066AA;
  --crown-start: #1E40AF;
  --crown-end: #3B82F6;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --border-cyan: rgba(0, 240, 255, 0.24);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --brand-color: #00F0FF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-light);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  accent-color: var(--brand-color);
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.mono-tag, .mono-text, code {
  font-family: 'JetBrains Mono', monospace;
}

/* Cuadrícula de fondo y lienzo de partículas */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(0, 240, 255, 0.11), transparent 36%),
    radial-gradient(circle at 84% 22%, rgba(139, 97, 255, 0.13), transparent 40%),
    linear-gradient(to right, rgba(0, 240, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  pointer-events: none;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Barra superior y Logo Oficial */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 15, 41, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-cyan);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.sentreck-logo-svg {
  height: 52px;
  width: auto;
  display: block;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.09);
  border: 1px solid var(--border-cyan);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .badge-live { display: none; }
  .sentreck-logo-svg { height: 42px; }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-primary);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.25); }
}

/* Vistas y Transiciones */
.main-content {
  padding: 2.2rem 1.25rem 4rem;
}

.view-section {
  display: none;
  animation: fadeSlideUp 0.38s ease-out;
}

.view-section.active {
  display: block;
}

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

/* Encabezado Hero */
.hero-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 2rem;
}

.eyebrow-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-cyan);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.hero-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  line-height: 1.18;
  margin-bottom: 0.85rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Tarjetas de Vidrio Translúcido */
.glass-card {
  background: var(--card-bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-cyan);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42), 0 0 24px rgba(0, 240, 255, 0.06);
}

.card-header-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

.card-header-line h2 {
  font-size: 1.25rem;
}

.mono-tag {
  font-size: 0.75rem;
  color: var(--cyan-primary);
  letter-spacing: 0.04em;
}

/* Formulario y Campos */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.field-group label, .section-sublabel {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}

.req-star {
  color: var(--cyan-primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"] {
  width: 100%;
  background: rgba(10, 15, 41, 0.82);
  border: 1px solid rgba(154, 160, 172, 0.32);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  outline: none;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.18);
}

/* Validación moderna (:user-invalid + fallback) */
.error-msg {
  display: none;
  color: #FCA5A5;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

input:user-invalid,
input.user-invalid-fallback {
  border-color: var(--danger);
  background-color: rgba(239, 68, 68, 0.1);
}

input:user-invalid + .error-msg,
input.user-invalid-fallback + .error-msg {
  display: block;
}

/* Casilla de Consentimiento de Privacidad (Ley 1581) */
.privacy-consent-box {
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  background: rgba(10, 15, 41, 0.68);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 12px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--text-light);
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.privacy-link {
  color: var(--cyan-primary);
  text-decoration: underline;
  font-weight: 600;
}

.privacy-link:hover {
  color: #FFFFFF;
}

/* Selector de Rol / Cargo */
.role-selector-block, .tech-selector-block {
  margin-top: 1.4rem;
}

.role-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 0.65rem;
}

.role-card {
  position: relative;
  display: block;
  background: rgba(10, 15, 41, 0.65);
  border: 1.5px solid rgba(154, 160, 172, 0.25);
  border-radius: 14px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.22s ease;
}

.role-card:hover {
  border-color: rgba(0, 240, 255, 0.55);
}

.role-card.selected {
  border-color: var(--cyan-primary);
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.11), rgba(24, 32, 61, 0.9));
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.16);
}

.role-badge-top {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}

.role-badge-top.violet {
  color: #C4B5FD;
  background: rgba(139, 97, 255, 0.2);
}

.role-card h3 {
  font-size: 1.06rem;
  margin-bottom: 0.45rem;
}

.role-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
}

/* Catálogo de Tecnologías */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(10, 15, 41, 0.6);
  border: 1px solid rgba(154, 160, 172, 0.22);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tech-item:hover {
  border-color: rgba(0, 240, 255, 0.5);
}

.tech-item input[type="checkbox"] {
  margin-top: 0.22rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.tech-item-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: #FFFFFF;
}

.tech-item-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Fallback progresivo para navegadores sin soporte completo de accent-color */
@supports not (accent-color: var(--brand-color)) {
  input[type="checkbox"].visually-hidden,
  input[type="radio"].visually-hidden {
    position: absolute !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
  }
}

.visually-hidden {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Botones */
.form-footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.privacy-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mono-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet-secondary);
  display: inline-block;
}

.btn-primary-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--cyan-primary), #00B8D9);
  color: #0A0F29;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.82rem 1.45rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.55);
}

.btn-ghost-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan-primary);
  border: 1px solid var(--border-cyan);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-ghost-cyan:hover {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--cyan-primary);
}

/* PASO 2: Cuestionario y Progreso */
.quiz-top-status {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

@media (max-width: 768px) {
  .quiz-top-status {
    grid-template-columns: 1fr;
  }
}

.quiz-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}

.osint-live-ticker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(10, 15, 41, 0.72);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 97, 255, 0.35);
}

.spinner-cyan {
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(0, 240, 255, 0.25);
  border-top-color: var(--cyan-primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ticker-title {
  font-size: 0.85rem;
  color: var(--text-light);
}

.ticker-sub {
  font-size: 0.75rem;
  color: var(--cyan-primary);
}

.question-card {
  max-width: 860px;
  margin: 0 auto;
}

.question-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.csf-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #C4B5FD;
  background: rgba(139, 97, 255, 0.18);
  border: 1px solid rgba(139, 97, 255, 0.4);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

.question-title {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin-bottom: 1.35rem;
}

.options-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(10, 15, 41, 0.72);
  border: 1.5px solid rgba(154, 160, 172, 0.24);
  border-radius: 12px;
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.option-card:hover {
  border-color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.07);
}

.option-card.selected {
  border-color: var(--cyan-primary);
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.16), rgba(24, 32, 61, 0.88));
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.18);
}

.option-level-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.question-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
}

/* PASO 3: Dashboard de Resultados */
.results-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.results-header-actions {
  display: flex;
  gap: 0.75rem;
}

.kpi-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.kpi-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.status-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
}

.status-pill.good { background: rgba(16, 185, 129, 0.18); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.4); }
.status-pill.warn { background: rgba(245, 158, 11, 0.18); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.4); }
.status-pill.bad  { background: rgba(239, 68, 68, 0.18); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.4); }

.gauge-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0.3rem 0 0.8rem;
}

.gauge-center-label {
  text-align: center;
  margin-top: -28px;
}

.score-big {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--cyan-primary);
  line-height: 1.05;
}

.score-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.kpi-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* Barras de Capas y Funciones */
.layer-bars, .csf-bars-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.bar-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 0.28rem;
}

.bar-track {
  width: 100%;
  height: 9px;
  background: rgba(10, 15, 41, 0.85);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet-secondary), var(--cyan-primary));
  transition: width 0.6s ease;
}

/* Mini lista OSINT */
.osint-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.osint-mini-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 15, 41, 0.65);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.83rem;
}

/* Gráficas Radar y CSF */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

.radar-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.35rem;
}

.legend-dot.cyan { background: var(--cyan-primary); }
.legend-dot.violet { background: var(--violet-secondary); }

/* Tarjetas detalladas OSINT */
.osint-detail-card, .roadmap-card {
  margin-bottom: 1.5rem;
}

.osint-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.osint-finding-box {
  background: rgba(10, 15, 41, 0.75);
  border: 1px solid rgba(154, 160, 172, 0.22);
  border-radius: 12px;
  padding: 1.15rem;
}

.osint-finding-box h3 {
  font-size: 1rem;
  margin: 0.45rem 0;
}

.osint-code-snippet {
  display: block;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 240, 255, 0.18);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--cyan-primary);
  word-break: break-all;
  margin: 0.5rem 0;
}

/* Columnas Hoja de Ruta */
.roadmap-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.roadmap-col {
  background: rgba(10, 15, 41, 0.72);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 12px;
  padding: 1.25rem;
}

.roadmap-col h3 {
  font-size: 1.05rem;
  color: var(--cyan-primary);
  margin-bottom: 0.65rem;
}

.roadmap-col ul {
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.roadmap-col li {
  margin-bottom: 0.55rem;
}

/* Banner CTA Final */
.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(139, 97, 255, 0.18));
  border: 1px solid var(--cyan-primary);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
}

.cta-banner-text {
  max-width: 640px;
}

.cta-banner-text h3 {
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.cta-banner-text p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.cta-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Modales (QR y Panel de Leads) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 15, 41, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-box {
  max-width: 480px;
  width: 100%;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-box.modal-wide {
  max-width: 980px;
  text-align: left;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.btn-close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
}

.modal-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.qr-display-frame {
  background: #FFFFFF;
  padding: 1rem;
  border-radius: 14px;
  display: inline-block;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.35);
  margin-bottom: 1.2rem;
}

.qr-input-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

/* Tabla de Leads */
.leads-Webhook-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.leads-Webhook-bar input {
  flex: 1;
  min-width: 240px;
}

.leads-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.leads-table th,
.leads-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.leads-table th {
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-right-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-admin-lock {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-admin-lock:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

@media print {
  .no-print, .topbar, #particles-canvas {
    display: none !important;
  }
  body {
    background: #0A0F29 !important;
    color: #E8E8E8 !important;
  }
}
