/* ============================================================================
   MI ESQUINAPP - NEXT-GEN MARKETPLACE DESIGN SYSTEM
   Inspirado en la excelencia visual y de conversión de Mercado Libre, Stripe y Apple
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Marca Primaria (Naranja Calidez & Energía Local) */
  --primary-50: #FFF6EE;
  --primary-100: #FFEBD6;
  --primary-200: #FFD4AD;
  --primary-300: #FFB77A;
  --primary-400: #FF9240;
  --primary-500: #E55B13;
  --primary-600: #CC450A;
  --primary-700: #A83308;
  --primary-orange: #E55B13;
  --primary-orange-hover: #FF6B1A;
  --primary-orange-glow: rgba(229, 91, 19, 0.28);

  /* Marca Secundaria (Azul Confianza & Respaldo) */
  --secondary-50: #F0F7FF;
  --secondary-100: #E0EFFF;
  --secondary-200: #B9DCFE;
  --secondary-500: #0D5C96;
  --secondary-600: #0A4A7A;
  --primary-blue: #0D5C96;
  --primary-blue-glow: rgba(13, 92, 150, 0.25);

  /* Acentos de Rendimiento */
  --accent-emerald: #10B981;
  --emerald-light: #ECFDF5;
  --accent-amber: #F59E0B;
  --amber-light: #FEF3C7;
  --accent-purple: #8B5CF6;
  --purple-light: #F5F3FF;

  /* Superficies y Neutros */
  --bg-page: #F8FAFC;
  --surface-card: #FFFFFF;
  --surface-alt: #F1F5F9;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-dark: #090D16;
  --surface-dark-card: #111827;

  /* Tipografía */
  --text-dark: #0A0F1D;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Bordes & Sombras */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-glass: rgba(255, 255, 255, 0.6);

  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 60px -15px rgba(15, 23, 42, 0.16);
  --shadow-xl: 0 35px 80px -20px rgba(15, 23, 42, 0.22);
  --shadow-glow: 0 20px 50px -10px rgba(229, 91, 19, 0.45);
  --shadow-glow-blue: 0 20px 50px -10px rgba(13, 92, 150, 0.35);

  /* Bordes Redondeados */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-pill: 9999px;

  /* Transiciones */
  --trans-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

/* ============================================================================
   RESET & FUNDAMENTALES
   ============================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--trans-fast);
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Clases de Contenedor */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.tag-orange {
  background: var(--primary-50);
  color: var(--primary-orange);
  border: 1px solid var(--primary-200);
}

.tag-blue {
  background: var(--secondary-50);
  color: var(--primary-blue);
  border: 1px solid var(--secondary-200);
}

.tag-emerald {
  background: var(--emerald-light);
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Gradientes de Texto */
.text-gradient-orange {
  background: linear-gradient(135deg, #FF7A29 0%, #E55B13 50%, #B83804 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #2563EB 0%, #0D5C96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================================
   BOTONES Y LLAMADOS A LA ACCIÓN
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--trans-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-orange {
  background: linear-gradient(135deg, #FF7426 0%, #E55B13 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(229, 91, 19, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-orange:hover {
  background: linear-gradient(135deg, #FF843D 0%, #EA641D 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 91, 19, 0.45);
}

.btn-blue {
  background: linear-gradient(135deg, #1B78C2 0%, #0D5C96 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(13, 92, 150, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-blue:hover {
  background: linear-gradient(135deg, #2488D8 0%, #0F66A6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 92, 150, 0.45);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-white {
  background: #FFFFFF;
  color: var(--primary-orange);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #FFFBF7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.08rem;
}

/* ============================================================================
   CABECERA PRINCIPAL (HEADER)
   ============================================================================ */
/* ============================================================================
   CABECERA PRINCIPAL (HEADER) - ESTILO STRIPE & MERCADO LIBRE TECH
   ============================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 74px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  transition: all var(--trans-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFF6EE 0%, #FFE2CC 100%);
  box-shadow: 0 4px 12px rgba(229, 91, 19, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-badge img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

/* Nav Menu: limpio, elegante y sin cortes de línea */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  background: rgba(241, 245, 249, 0.7);
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(226, 232, 240, 0.85);
  margin: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  transition: all var(--trans-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-link:hover {
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.nav-link.active {
  color: var(--primary-orange);
  background: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(229, 91, 19, 0.12);
}

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

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #065F46;
  background: var(--emerald-light);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid #A7F3D0;
  white-space: nowrap;
  flex-shrink: 0;
}

.live-indicator span {
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  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); }
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: #FFFFFF;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-dark);
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .live-indicator { display: none; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: #FFFFFF;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-subtle);
    padding: 0.85rem;
    border-radius: var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--trans-normal);
  }
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-link { 
    text-align: center; 
    justify-content: center;
    padding: 0.85rem; 
    font-size: 1rem;
  }
  .mobile-toggle { display: inline-flex; }
}

/* ============================================================================
   HERO SECTION INTERACTIVO DUAL
   ============================================================================ */
.hero {
  position: relative;
  padding-top: clamp(6.5rem, 12vw, 9.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  background: radial-gradient(120% 90% at 50% 0%, #FFF4EB 0%, #F0F7FF 55%, #F8FAFC 100%);
  overflow: hidden;
}

.hero-glow-1, .hero-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.6;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -150px;
  background: radial-gradient(circle, rgba(229, 91, 19, 0.22) 0%, transparent 70%);
}

.hero-glow-2 {
  width: 480px;
  height: 480px;
  top: -80px;
  right: -120px;
  background: radial-gradient(circle, rgba(13, 92, 150, 0.2) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  z-index: 2;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.hero-content {
  max-width: 660px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: var(--primary-orange);
  border: 1px solid var(--primary-200);
  box-shadow: 0 4px 16px rgba(229, 91, 19, 0.12);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5.8vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.35rem;
  color: var(--text-dark);
}

.hero-description {
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Switcher de Perspectiva (Comprador vs Negocio) */
.role-perspective-bar {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  gap: 0.25rem;
}

.role-perspective-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-normal);
}

.role-perspective-btn.active-buyer {
  background: linear-gradient(135deg, #FF7426 0%, #E55B13 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(229, 91, 19, 0.35);
}

.role-perspective-btn.active-seller {
  background: linear-gradient(135deg, #1B78C2 0%, #0D5C96 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(13, 92, 150, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 980px) {
  .hero-actions {
    justify-content: center;
  }
}

.store-download-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .store-download-group {
    justify-content: center;
  }
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  background: #0A0F1D;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transition: all var(--trans-normal);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.store-badge-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: #162033;
}

.store-badge-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-badge-text span {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94A3B8;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.store-badge-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Métricas del Hero */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-card {
  text-align: left;
}

@media (max-width: 980px) {
  .hero-metrics {
    text-align: center;
  }
  .metric-card {
    text-align: center;
  }
}

.metric-value {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}

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

/* ============================================================================
   SIMULADOR DE TELÉFONO INTERACTIVO (SHOWCASE DE PRODUCTO)
   ============================================================================ */
.phone-showcase-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Píldoras Flotantes en Tiempo Real (Live Badges) */
.floating-pulse-badge {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatSmooth 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.floating-pulse-badge.badge-top-left {
  top: 8%;
  left: -15%;
  animation-delay: 0s;
}

.floating-pulse-badge.badge-bottom-right {
  bottom: 12%;
  right: -15%;
  animation-delay: 2.5s;
}

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

@media (max-width: 1200px) {
  .floating-pulse-badge.badge-top-left { left: -5%; }
  .floating-pulse-badge.badge-bottom-right { right: -5%; }
}

@media (max-width: 640px) {
  .floating-pulse-badge { display: none; }
}

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-icon-box.orange {
  background: var(--primary-50);
  color: var(--primary-orange);
}

.badge-icon-box.emerald {
  background: var(--emerald-light);
  color: #065F46;
}

.badge-details h5 {
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}

.badge-details p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Mockup de Teléfono Estilo iPhone 16 Pro */
.device-mockup {
  width: 100%;
  max-width: 340px;
  background: #0F172A;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 30px 80px -15px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all var(--trans-normal);
}

.device-inner-screen {
  background: #FFFFFF;
  border-radius: 36px;
  overflow: hidden;
  height: 580px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Barra Superior / Dynamic Island */
.device-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
}

.dynamic-island {
  width: 90px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  margin: 0 auto;
}

/* Pantalla del Simulador */
.simulator-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.75rem 1rem 1rem;
  overflow-y: auto;
  transition: opacity var(--trans-normal);
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.sim-store-card {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sim-store-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sim-store-meta h5 {
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.sim-store-meta p {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Lista de Productos Interactiva */
.sim-product-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex: 1;
}

.sim-product-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.5rem 0.7rem;
  transition: all var(--trans-fast);
}

.sim-product-item:hover {
  border-color: var(--primary-300);
}

.sim-prod-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sim-prod-icon {
  font-size: 1.25rem;
}

.sim-prod-info h6 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.sim-prod-info span {
  font-size: 0.75rem;
  color: var(--primary-orange);
  font-weight: 800;
}

.sim-add-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary-orange);
  border: 1px solid var(--primary-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all var(--trans-fast);
}

.sim-add-btn:hover {
  background: var(--primary-orange);
  color: #FFFFFF;
}

/* Resumen del Carrito Simulado */
.sim-cart-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 0.65rem 0.2rem 0.2rem;
}

.sim-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.sim-order-btn {
  width: 100%;
  background: linear-gradient(135deg, #FF7426 0%, #E55B13 100%);
  color: #FFFFFF;
  border: none;
  padding: 0.6rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(229, 91, 19, 0.3);
}

/* Vista Tendero (Seller POS View) */
.sim-seller-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.sim-stat-box {
  background: var(--secondary-50);
  border: 1px solid var(--secondary-200);
  border-radius: 12px;
  padding: 0.6rem;
}

.sim-stat-box.green {
  background: var(--emerald-light);
  border-color: #A7F3D0;
}

.sim-stat-box h6 {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.sim-stat-box span {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-dark);
}

.sim-order-incoming {
  background: #FFFBF5;
  border: 1.5px dashed var(--primary-400);
  border-radius: 14px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}

.incoming-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--primary-orange);
  background: var(--primary-100);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.35rem;
}

.incoming-title {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.incoming-meta {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.incoming-actions {
  display: flex;
  gap: 0.4rem;
}

.btn-accept-mini {
  flex: 1;
  background: #10B981;
  color: white;
  border: none;
  padding: 0.4rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-reject-mini {
  background: var(--surface-alt);
  color: var(--text-secondary);
  border: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
}

.sim-pos-btn {
  width: 100%;
  background: linear-gradient(135deg, #1B78C2 0%, #0D5C96 100%);
  color: #FFFFFF;
  border: none;
  padding: 0.6rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  margin-top: auto;
}

/* ============================================================================
   TICKER MARQUEE DE CREDIBILIDAD Y RED ACTIVA
   ============================================================================ */
.ticker-band {
  background: #0A0F1D;
  color: #FFFFFF;
  padding: 1.1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  display: inline-flex;
  gap: 3.5rem;
  animation: tickerSlide 28s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #E2E8F0;
}

.ticker-item i {
  color: var(--primary-orange);
  font-size: 1.15rem;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================================
   BENTO GRID DE SUPERPODERES (TECNOLOGÍA DE SILICON VALLEY PARA EL BARRIO)
   ============================================================================ */
.bento-section {
  background: #FFFFFF;
  position: relative;
}

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

.bento-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

/* Tamaños de Bento */
.bento-col-8 {
  grid-column: span 8;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-col-12 {
  grid-column: span 12;
}

@media (max-width: 980px) {
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.bento-card h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* Gráficos y elementos visuales interactivos dentro del Bento */
.bento-radar-visual {
  position: relative;
  height: 170px;
  background: radial-gradient(circle, #FFF4EB 0%, #F8FAFC 70%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: auto;
}

.radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(229, 91, 19, 0.35);
  animation: radarExpand 4s infinite linear;
}

.radar-circle:nth-child(1) { width: 60px; height: 60px; }
.radar-circle:nth-child(2) { width: 120px; height: 120px; animation-delay: 1.3s; }
.radar-circle:nth-child(3) { width: 180px; height: 180px; animation-delay: 2.6s; }

@keyframes radarExpand {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.radar-center-pin {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(229, 91, 19, 0.4);
}

.radar-shop-pin {
  position: absolute;
  z-index: 2;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.radar-shop-1 { top: 20%; left: 15%; }
.radar-shop-2 { bottom: 25%; right: 18%; }

/* Bento POS Scanner Visual */
.bento-pos-visual {
  background: #0F172A;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: #FFFFFF;
  margin-top: auto;
}

.pos-ticket-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #94A3B8;
}

.pos-ticket-total {
  border-top: 1px dashed #334155;
  padding-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 800;
  color: #38BDF8;
}

/* ============================================================================
   CALCULADORA DE RENTABILIDAD Y AHORRO (B2B SELLER HOOK)
   ============================================================================ */
.calculator-section {
  background: radial-gradient(100% 100% at 50% 0%, #0A0F1D 0%, #060913 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.calculator-section .section-title {
  color: #FFFFFF;
}

.calculator-section .section-subtitle {
  color: #94A3B8;
}

.calculator-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  max-width: 1000px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.calc-slider-box {
  margin-bottom: 2rem;
}

.calc-label-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calc-label-header label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #E2E8F0;
}

.calc-value-badge {
  background: var(--primary-orange);
  color: #FFFFFF;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.15rem;
}

.calc-range-slider {
  width: 100%;
  height: 8px;
  background: #334155;
  border-radius: var(--radius-pill);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--primary-orange);
  box-shadow: 0 2px 10px rgba(229, 91, 19, 0.5);
  cursor: pointer;
  transition: transform var(--trans-fast);
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Caja de Resultados del Ahorro */
.calc-results-panel {
  background: linear-gradient(135deg, rgba(229, 91, 19, 0.12) 0%, rgba(13, 92, 150, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.calc-result-item {
  margin-bottom: 1.75rem;
}

.calc-result-item:last-child {
  margin-bottom: 0;
}

.calc-result-title {
  font-size: 0.88rem;
  text-transform: uppercase;
  color: #94A3B8;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.calc-result-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #10B981;
  line-height: 1;
}

.calc-result-sub {
  font-size: 0.82rem;
  color: #CBD5E1;
  margin-top: 0.35rem;
}

/* ============================================================================
   TABLA DE COMPARATIVA DISRUPTIVA
   ============================================================================ */
.comparison-section {
  background: var(--bg-page);
}

.comparison-table-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  margin-top: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

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

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--surface-alt);
}

.comparison-table th.col-highlight {
  background: var(--primary-50);
  color: var(--primary-orange);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.comparison-table td.col-highlight {
  background: #FFFBF7;
  font-weight: 700;
}

.feature-check {
  color: var(--accent-emerald);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.feature-cross {
  color: #EF4444;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============================================================================
   HISTORIAS DE ÉXITO Y TESTIMONIOS (SOCIAL PROOF)
   ============================================================================ */
.testimonials-section {
  background: #FFFFFF;
}

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

.testimonial-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-normal);
}

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

.testimonial-stars {
  color: var(--accent-amber);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-orange);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-meta h5 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.author-meta p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ============================================================================
   PREGUNTAS FRECUENTES (FAQ INTERACTIVO)
   ============================================================================ */
.faq-section {
  background: var(--bg-page);
}

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

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans-fast);
}

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

.faq-icon {
  font-size: 1.3rem;
  color: var(--primary-orange);
  transition: transform var(--trans-normal);
  flex-shrink: 0;
}

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

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

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

/* ============================================================================
   FORMULARIO DE CONTACTO & ASOCIACIÓN
   ============================================================================ */
.contact-section {
  background: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: flex-start;
}

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

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--trans-fast);
}

.form-control:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(229, 91, 19, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ============================================================================
   BANNER DE CONVERSIÓN FINAL (HIGH IMPACT CTA)
   ============================================================================ */
.cta-banner {
  background: radial-gradient(120% 120% at 50% 10%, #FF6817 0%, #E55B13 50%, #9F2C04 100%);
  color: #FFFFFF;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.cta-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ============================================================================
   PIE DE PÁGINA (FOOTER INSTITUCIONAL)
   ============================================================================ */
.site-footer {
  background: #0A0F1D;
  color: #94A3B8;
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3.5rem;
}

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

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

.footer-brand .logo {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  line-height: 1.7;
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-column h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #FFFFFF;
}

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

/* ============================================================================
   NOTIFICACIONES TOAST & BARRA FLOTANTE MÓVIL
   ============================================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0A0F1D;
  color: #FFFFFF;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--trans-normal);
  font-weight: 600;
  font-size: 0.92rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Barra Flotante Sticky en Móvil */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}
