/* ==========================================================================
   ChronoLogic — Design System & Stylesheet (2026 Edition)
   Inspirado en la excelencia visual, Glassmorphism y Dark Mode de Alta Gama
   ========================================================================== */

:root {
  /* Paleta Cromática Principal */
  --bg-dark: #060913;
  --bg-surface: #0c1322;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-active: rgba(79, 70, 229, 0.12);

  /* Acentos de Marca */
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-glow: rgba(79, 70, 229, 0.35);
  --primary-dark: #3730a3;
  
  --cyan: #06b6d4;
  --cyan-light: #38bdf8;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --amber: #f59e0b;
  --rose: #f43f5e;

  /* Textos & Bordes */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-glass-bright: rgba(255, 255, 255, 0.18);
  --border-primary: rgba(79, 70, 229, 0.4);

  /* Tipografías & Radios */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Sombras y Luces */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px var(--primary-glow);
  --shadow-cyan-glow: 0 0 30px var(--cyan-glow);

  /* Transiciones */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset y Fundamentos
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #171d3d 0%, #060913 55%);
  line-height: 1.6;
}

::selection {
  background: var(--primary);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

/* ==========================================================================
   Utilidades & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--cyan-light) 60%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #c084fc 0%, #818cf8 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(79, 70, 229, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Header & Barra de Navegación
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 9, 19, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-base);
}

.site-header.scrolled {
  background: rgba(6, 9, 19, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #312e81 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px var(--primary-glow);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cyan-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #94a3b8;
  transition: all var(--transition-fast);
  position: relative;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-base);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5b52f3 0%, var(--primary) 100%);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan) 0%, #0284c7 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #0891b2 0%, var(--cyan) 100%);
  box-shadow: 0 6px 28px rgba(6, 182, 212, 0.55);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 8.5rem;
  padding-bottom: 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.22) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Métricas Clave */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition-base);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-glow);
}

.metric-number {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Sección Showcase / Terminal Interactivo
   ========================================================================== */
.section-showcase {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 10%, rgba(79, 70, 229, 0.12) 0%, #060913 70%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.showcase-tab {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.showcase-tab:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.showcase-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, #3730a3 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.showcase-display {
  background: #090e1c;
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

.display-window-bar {
  background: #0f172a;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-address-bar {
  background: #090e1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.3rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-pane {
  display: none;
  padding: 2.5rem;
  animation: fadeIn 0.35s ease-in-out forwards;
}

.tab-pane.active {
  display: block;
}

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

/* Mockups Internos del Showcase */
.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.mockup-text h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.mockup-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.feature-checklist li i {
  color: var(--emerald);
  margin-top: 0.25rem;
}

/* Simulador Interactivo de Terminal Kiosco */
.kiosk-simulator {
  background: #0e1628;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.kiosk-clock {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.kiosk-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pin-display-wrap {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: var(--transition-fast);
}

.pin-dot.filled {
  background: var(--cyan-light);
  border-color: var(--cyan-light);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.keypad-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: var(--transition-fast);
}

.keypad-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.04);
}

.keypad-btn:active {
  transform: scale(0.96);
}

.kiosk-feedback {
  min-height: 2.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Sección Cumplimiento Legal (RDL 8/2019)
   ========================================================================== */
.section-legal {
  padding: 5.5rem 0;
  position: relative;
}

.legal-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.legal-card:hover {
  border-color: var(--border-glass-bright);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
}

.legal-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-bottom: 0;
}

.icon-red {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.icon-blue {
  background: rgba(79, 70, 229, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(79, 70, 229, 0.3);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.legal-card h4 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

/* Banner Alerta Inspección */
.inspection-alert-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  backdrop-filter: blur(16px);
}

.alert-text-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.alert-icon-big {
  font-size: 2.75rem;
  color: #f87171;
  flex-shrink: 0;
}

.alert-text h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.alert-text p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* ==========================================================================
   Sección Métodos de Fichaje Multidispositivo
   ========================================================================== */
.section-devices {
  padding: 5.5rem 0;
  background: #090e1d;
  border-top: 1px solid var(--border-glass);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-base);
}

.device-card:hover {
  border-color: var(--cyan);
  transform: translateY(-5px);
  box-shadow: var(--shadow-cyan-glow);
}

.device-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

.device-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.device-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   Sección Planes y Precios
   ========================================================================== */
.section-pricing {
  padding: 6rem 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-bright);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--primary-light);
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.15) 0%, rgba(15, 23, 42, 0.85) 100%);
  box-shadow: 0 0 35px var(--primary-glow);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  color: #ffffff;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.5);
}

.pricing-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  min-height: 2.6rem;
}

.plan-price-wrap {
  margin: 1.5rem 0 2rem;
  text-align: center;
}

.price-number {
  font-size: 2.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.plan-features-list li i {
  color: var(--emerald);
  font-size: 0.95rem;
}

.plan-features-list li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.plan-features-list li.disabled i {
  color: var(--text-muted);
}

/* ==========================================================================
   Sección Formulario de Demostración & Lead Magnet
   ========================================================================== */
.section-demo-lead {
  padding: 5.5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.15) 0%, #060913 75%);
}

.demo-box-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.demo-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.demo-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.demo-perks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-item h5 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.perk-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  background: #090e1c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   Sección Preguntas Frecuentes (FAQ)
   ========================================================================== */
.section-faq {
  padding: 5.5rem 0;
}

.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-header {
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.1rem;
  color: var(--cyan-light);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

/* ==========================================================================
   Footer Institucional
   ========================================================================== */
.site-footer {
  background: #03060c;
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1260px) {
  .nav-wrapper {
    gap: 0.75rem;
  }
  .brand-logo {
    font-size: 1.3rem;
    gap: 0.65rem;
  }
  .logo-icon-wrap {
    width: 36px;
    height: 36px;
  }
  .logo-icon-wrap svg {
    width: 22px;
    height: 22px;
  }
  .nav-links {
    gap: 0.2rem;
  }
  .nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.65rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 9, 19, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .nav-links .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-wrapper {
    height: 4.25rem;
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-grid {
    grid-template-columns: 1fr;
  }
  .legal-cards-grid {
    grid-template-columns: 1fr;
  }
  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .demo-box-grid {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 6.5rem;
  }
  .inspection-alert-box {
    flex-direction: column;
    text-align: center;
  }
  .alert-text-wrap {
    flex-direction: column;
    text-align: center;
  }
  .devices-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
