/* ==========================================================================
   LANDING PAGE COMERCIAL - SISTEMA POS & INVENTARIO
   Estilos CSS Modernos, Responsivos y de Alto Rendimiento (Vanilla CSS)
   ========================================================================== */

:root {
  /* Paleta de Colores Base (Dark Mode Ultra-Premium) */
  --bg-main: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  /* Acentos y Gradientes */
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --secondary: #6366f1;
  --secondary-glow: rgba(99, 102, 241, 0.25);
  --cyan: #06b6d4;
  --amber: #f59e0b;
  
  /* Textos */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Bordes */
  --border: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.35);
  
  /* Sombras y Luces */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px -10px var(--primary-glow);
  
  /* Tipografía y Transiciones */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Fondo con Luces Ambientales (Glow Orbs) */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -150px;
  right: -100px;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  top: 40%;
  left: -150px;
}

.glow-orb-3 {
  width: 550px;
  height: 550px;
  background: var(--cyan);
  bottom: 5%;
  right: 10%;
}

/* Contenedor Común */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER Y NAVBAR FLOTANTE
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0;
  transition: var(--transition);
}

.nav-wrapper {
  padding: 0.85rem 0;
  transition: var(--transition);
  background: rgba(9, 13, 22, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.scrolled .nav-wrapper {
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  box-shadow: var(--shadow-sm);
}

.scroll-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--secondary));
  box-shadow: 0 0 12px var(--primary-glow);
  z-index: 105;
  transition: width 0.08s ease-out;
  pointer-events: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px var(--primary-glow);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.brand-logo:hover .brand-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45);
}

.brand-icon svg {
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-icon svg {
  transform: scale(1.12);
}

.brand-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap; /* Impide cualquier salto de línea vertical */
  transition: var(--transition);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  display: inline-block;
  line-height: 1.2;
  position: relative;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-btn {
  padding: 0.5rem 0.95rem !important;
  font-size: 0.85rem !important;
  border-radius: 8px !important;
  gap: 0.4rem !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   BOTONES Y ACCIONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #059669);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #34d399, var(--primary));
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 8.5rem 0 5rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  animation: pulse-glow 3s infinite;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 70%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

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

.hero-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-guarantee-item svg {
  color: var(--primary);
}

/* Mockup Visual Interactivo */
.hero-mockup-wrapper {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
}

.hero-mockup {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

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

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }

.mockup-address {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-screen {
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* Recreación visual de la interfaz POS dentro del mockup */
.mockup-pos-ui {
  display: grid;
  grid-template-columns: 240px 1fr 340px;
  height: 520px;
  background: #0b1120;
  text-align: left;
}

.mockup-sidebar {
  background: #090e1a;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.mockup-menu-item.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-weight: 700;
}

.mockup-pos-center {
  padding: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-search-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mockup-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: #fff;
  font-size: 0.85rem;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  flex: 1;
  overflow: hidden;
}

.mockup-product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-prod-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
}

.mockup-prod-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: #34d399;
  margin-top: 0.5rem;
}

.mockup-cart {
  background: #090e1a;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-cart-totals {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mockup-total-row.grand {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.5rem;
  margin-bottom: 0;
}

.mockup-bcv-badge {
  font-size: 0.75rem;
  color: #38bdf8;
  font-family: var(--font-mono);
  margin-top: 0.25rem;
}

/* ==========================================================================
   METRICAS / BARRA DE CONFIANZA
   ========================================================================== */
.stats-bar {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-number.highlight {
  background: linear-gradient(135deg, #34d399, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ==========================================================================
   SECCION DOLOR VS SOLUCION
   ========================================================================== */
.comparison-section {
  padding: 6rem 0;
}

.section-tag {
  text-align: center;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.comp-card {
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.comp-card.negative {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.03);
}

.comp-card.positive {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.04);
  box-shadow: 0 10px 40px -10px var(--primary-glow);
}

.comp-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comp-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.comp-list {
  list-style: none;
}

.comp-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comp-list-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.comp-card.negative svg { color: #ef4444; }
.comp-card.positive svg { color: #10b981; }

/* ==========================================================================
   CARACTERISTICAS / MODULOS
   ========================================================================== */
.features-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-main), var(--bg-secondary), var(--bg-main));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: 0 15px 40px -10px var(--primary-glow);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   BANNER DE PRUEBA EN VIVO (DEMO CALLOUT)
   ========================================================================== */
.demo-callout-section {
  padding: 5rem 0;
}

.demo-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--border-highlight);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7), 0 0 50px -15px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.demo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  pointer-events: none;
}

.demo-banner-content {
  max-width: 600px;
}

.demo-banner-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.demo-banner-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.demo-credentials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.demo-credentials strong {
  color: #38bdf8;
}

/* ==========================================================================
   PLANES Y PRECIOS
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 15px 50px -10px var(--primary-glow);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05), var(--bg-card));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #059669);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.pricing-plan-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
}

.pricing-price-box {
  margin-bottom: 2rem;
}

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

.pricing-period {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-left: 0.25rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--text-dim);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.35rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: #060911;
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   BOTON FLOTANTE DE WHATSAPP CON NOTIFICACION
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  background: #25d366;
  color: #fff;
  padding: 0.85rem 1.35rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
  background: #20ba59;
}

.whatsapp-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #fff;
  animation: pulse-red 2s infinite;
}

/* Animaciones Clave */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes pulse-red {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ==========================================================================
   RESPONSIVIDAD Y ADAPTACIONES MOVILES
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links {
    gap: 0.35rem;
  }
  .nav-link {
    font-size: 0.8125rem;
    padding: 0.25rem 0.4rem;
  }
  .nav-btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 940px) {
  .nav-actions .btn-secondary {
    display: none;
  }
}

@media (max-width: 992px) {
  .mockup-pos-ui {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mockup-sidebar, .mockup-cart {
    display: none;
  }
  .demo-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
  .demo-credentials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 0.85rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }
}

/* ==========================================================================
   BARRA SUPERIOR (BANNER ANUNCIO / RETORNO)
   ========================================================================== */
.top-nav-banner {
  background: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 101;
  backdrop-filter: blur(8px);
  max-height: 50px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease, border-color 0.3s ease;
}

.site-header.scrolled .top-nav-banner {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  pointer-events: none;
}

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

.banner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #34d399;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.banner-link:hover {
  color: #6ee7b7;
  text-decoration: underline;
  transform: translateX(2px);
}

/* ==========================================================================
   TARJETAS DE SERVICIOS PROFESIONALES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-highlight), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   SHOWCASE DESTACADO: CASO DE EXITO SISTEMA POS
   ========================================================================== */
.showcase-section {
  padding: 6rem 0;
  position: relative;
}

.showcase-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 13, 22, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 50px -15px var(--primary-glow);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.showcase-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.showcase-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.showcase-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.showcase-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.showcase-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.showcase-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.showcase-preview-card {
  background: rgba(11, 17, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.preview-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.preview-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
}

.preview-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-glow 2s infinite;
}

.preview-stats-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.preview-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.preview-stat-row:last-child {
  margin-bottom: 0;
}

.preview-stat-row strong {
  color: #fff;
}

/* ==========================================================================
   METODOLOGIA DE TRABAJO (PASOS)
   ========================================================================== */
.process-section {
  padding: 6rem 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

.process-step-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.process-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   STACK TECNOLOGICO
   ========================================================================== */
.tech-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.3);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: var(--transition);
}

.tech-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.tech-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ==========================================================================
   COTIZADOR / FORMULARIO INTERACTIVO RAPIDO
   ========================================================================== */
.quote-widget-box {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.quote-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.quote-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  font-size: 0.9rem;
}

.quote-option-btn:hover {
  border-color: rgba(16, 185, 129, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.quote-option-btn.selected {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--primary);
  color: #34d399;
  font-weight: 700;
}

@media (max-width: 992px) {
  .showcase-box {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }
  .showcase-features-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INTERACTIVIDAD Y ANIMACIONES AL HACER SCROLL (REVEAL & TILT)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* Micro-animaciones para tarjetas y elementos interactivos */
.service-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease, 
              background 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.2);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(-4deg);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.service-icon-box {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.process-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.process-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.25);
}

.process-card:hover .process-step-num {
  transform: scale(1.1);
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-step-num {
  transition: transform 0.3s ease;
}

.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px) scale(1.05);
}
