/* =========================================================================
   SISTEMA DE DISEÑO & VARIABLES (DOPAMINES CL)
   ========================================================================= */
.seo-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


.lang-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.lang-toggle-btn:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}


:root {
  /* Variables - Modo Oscuro Inspirado en TheArsenale (Por Defecto) */
  --bg-color: hsl(220, 25%, 4%);
  --bg-surface: hsl(220, 20%, 8%);
  --bg-surface-glass: rgba(14, 17, 23, 0.85);
  
  --primary: #CCFF00; /* Verde Neón / Volt (High-contrast highlight de la imagen) */
  --primary-rgb: 204, 255, 0;
  --primary-hover: #b8e600;
  --primary-dark: #99cc00;
  --primary-ink: #000000; /* Texto negro para contraste sobre botón neón */
  
  --accent: #364C5E; /* Azul Pizarra / Acero (Hero & Secciones Técnicas) */
  --accent-rgb: 54, 76, 94;
  --accent-hover: #456077;
  
  --ink: #ffffff;
  --ink-soft: #cbd5e1;
  --ink-muted: #8896a4;
  
  --border: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(204, 255, 0, 0.5);
  --line: rgba(255, 255, 255, 0.08);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 36px -8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 32px 64px -16px rgba(0, 0, 0, 0.8);
  --shadow-primary: 0 12px 30px -10px rgba(204, 255, 0, 0.35);
  
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-theme: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

/* Modificadores para Modo Claro */
body.light-theme {
  --bg-color: hsl(220, 20%, 97%);
  --bg-surface: hsl(0, 0%, 100%);
  --bg-surface-glass: rgba(255, 255, 255, 0.85);
  
  --primary: #a3cc00;
  --primary-rgb: 163, 204, 0;
  --primary-hover: #8eb300;
  --primary-ink: #000000;
  
  --accent: #2E4354;
  --accent-rgb: 46, 67, 84;
  
  --ink: hsl(224, 60%, 8%);
  --ink-soft: hsl(222, 25%, 35%);
  --ink-muted: hsl(220, 15%, 55%);
  
  --border: rgba(0, 0, 0, 0.1);
  --border-focus: rgba(163, 204, 0, 0.5);
  --line: rgba(0, 0, 0, 0.05);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 16px 36px -8px rgba(10, 20, 50, 0.08);
  --shadow-lg: 0 32px 64px -16px rgba(10, 20, 50, 0.12);
  --shadow-primary: 0 12px 30px -10px rgba(163, 204, 0, 0.25);
}

/* =========================================================================
   ESTILOS GENERALES Y RESET
   ========================================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: var(--transition-theme);
}

body.light-theme {
  background-image: radial-gradient(rgba(99, 102, 241, 0.04) 1.2px, transparent 1.2px) !important;
}

header, section, footer, div, h1, h2, h3, p, a, input, select, textarea, button, article {
  transition: var(--transition-theme);
}

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

ul {
  list-style: none;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
  border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-muted);
}

/* =========================================================================
   BOTONES E INTERACCIONES
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
  box-shadow: var(--shadow-primary);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--primary-hover);
  color: var(--primary-ink);
  box-shadow: 0 16px 36px -8px rgba(var(--primary-rgb), 0.6);
}

.btn-secondary {
  background: var(--bg-surface-glass);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(204, 255, 0, 0.08);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* =========================================================================
   NAVEGACIÓN / HEADER
   ========================================================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 8, 10, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.light-theme header {
  background: rgba(255, 255, 255, 0.85);
}

header.scrolled {
  background: var(--bg-surface-glass);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 54px;
  height: 54px;
  background-color: var(--primary);
  -webkit-mask-image: url('logo.png');
  mask-image: url('logo.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 0 10px rgba(204, 255, 0, 0.6));
}

.logo-img-src,
.logo img,
.navbar .logo img,
#site-header .logo img {
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.logo:hover .logo-img {
  transform: scale(1.1);
  background-color: #e6ff66;
  filter: drop-shadow(0 0 18px rgba(204, 255, 0, 0.9));
}

.logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-block;
  animation: pulse 2s infinite ease-in-out;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}


.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

/* =========================================================================
   MEGA-MENU DROPDOWN (Estilo Vambe / Dopamines)
   ========================================================================= */
.nav-item-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.active .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 320px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 2000;
  pointer-events: none;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-inner {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(var(--primary-rgb), 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.dropdown-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #000000 !important;
  color: #FFD700 !important;
  border: 1px solid rgba(255, 215, 0, 0.4) !important;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.25) !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.dropdown-icon svg {
  color: #FFD700 !important;
  stroke: #FFD700 !important;
}

.dropdown-item:hover .dropdown-icon {
  background: #0f0f0f !important;
  border-color: #FFD700 !important;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.45) !important;
  transform: scale(1.12) rotate(3deg);
}

.icon-web,
.icon-apps,
.icon-funnel,
.icon-affiliate,
.icon-ai,
.icon-lab,
.icon-casos,
.icon-security,
.icon-reads,
.icon-tech,
.icon-wa-gen,
.icon-docs,
.icon-academy,
.icon-service,
.icon-careers,
.icon-blog {
  background: #000000 !important;
  color: #FFD700 !important;
  border: 1px solid rgba(255, 215, 0, 0.4) !important;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.25) !important;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-sub {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

.badge-ai-live {
  background: rgba(204, 255, 0, 0.2);
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 6px;
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

body.dark-theme .theme-toggle-btn .sun-icon {
  display: block;
}
body.dark-theme .theme-toggle-btn .moon-icon {
  display: none;
}
body.light-theme .theme-toggle-btn .sun-icon {
  display: none;
}
body.light-theme .theme-toggle-btn .moon-icon {
  display: block;
}

.burger-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  background: radial-gradient(circle at 30% 30%, rgba(51, 65, 85, 0.9), rgba(15, 23, 42, 0.95)) !important;
  border: 1.5px solid rgba(204, 255, 0, 0.4) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(204, 255, 0, 0.2) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  z-index: 10000 !important;
  outline: none !important;
  overflow: hidden !important;
  -webkit-tap-highlight-color: transparent !important;
}

.burger-btn:hover, .burger-btn:active {
  transform: scale(1.08) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75), 0 0 20px rgba(204, 255, 0, 0.35) !important;
}

.burger-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.35s ease;
}

.burger-btn:hover svg {
  transform: rotate(90deg);
}

/* =========================================================================
   HERO SECTION / INICIO
   ========================================================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#neuro-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2);
  animation: pulse-ring 2s infinite;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* 3D Mockups Visual styling */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.glass-mockup {
  position: absolute;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

/* Browser Mockup */
.browser-mock {
  top: 40px;
  left: 20px;
  width: 380px;
  height: 250px;
  transform: rotateY(-18deg) rotateX(10deg) translateZ(0);
  z-index: 2;
  overflow: hidden;
}

.mockup-header {
  height: 32px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}

.control {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27c93f; }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.05);
  margin: 0 40px;
  border-radius: 6px;
  padding: 2px 0;
  border: 1px solid var(--border);
}

.mockup-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-nav {
  display: flex;
  gap: 8px;
}
.mock-nav-item {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
}
.mock-nav-item.small { width: 30px; }
.mock-nav-item.medium { width: 50px; }
.mock-nav-item.large { width: 80px; }

.mock-hero-banner {
  height: 70px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.2));
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-card {
  height: 48px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

/* Phone Mockup */
.phone-mock {
  bottom: 40px;
  right: 20px;
  width: 200px;
  height: 380px;
  border-radius: 28px;
  transform: rotateY(14deg) rotateX(-8deg) translateZ(50px);
  z-index: 3;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.phone-speaker {
  width: 60px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 12px auto;
}

.phone-screen {
  background: var(--bg-surface);
  width: 100%;
  height: calc(100% - 16px);
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-logo {
  width: 30px;
  height: 6px;
  background: var(--primary);
  border-radius: 3px;
}
.phone-bars span {
  display: inline-block;
  width: 8px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-left: 2px;
}

.phone-hero-image {
  height: 110px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 10px;
  border-radius: 10px;
}

.phone-feed {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.phone-item {
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.phone-tabbar {
  height: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(255, 255, 255, 0.01);
}
.phone-tabbar span {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--border);
}
.phone-tabbar span:nth-child(1) { background: var(--primary); }

/* Glow Orb Background */
.glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, rgba(var(--accent-rgb), 0.15) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* Scroll hint */
.scroll-down-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.scroll-down-hint svg {
  width: 24px;
  height: 24px;
  color: var(--ink-muted);
}

/* =========================================================================
   SERVICIOS / ESPECIALIDADES
   ========================================================================= */
.services-section {
  padding: 100px 0;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  max-width: 700px;
  margin-bottom: 5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.service-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-lg);
}

/* Glow gradient on hover */
.card-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--accent-rgb), 0.03) 40%, transparent 60%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5rem;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05) rotate(5deg);
}

.service-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.service-type {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1rem 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.features-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.service-cta {
  align-self: flex-start;
  margin-top: auto;
}

/* =========================================================================
   PROCESO TIMELINE
   ========================================================================= */
.process-section {
  padding: 100px 0;
  background: var(--bg-surface);
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.timeline-line {
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--border) 100%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--border);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-badge {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =========================================================================
   CONTACTO / FORMULARIO
   ========================================================================= */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-md);
}

.detail-link {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  gap: 1.25rem;
}

.detail-link.non-clickable {
  cursor: default;
}

.detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.detail-card:hover .detail-icon {
  background: var(--primary);
  color: #ffffff;
}

.detail-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.detail-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

/* Glassmorphism Form container styling */
.contact-form-container {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Premium Floating Label Inputs */
.form-control {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.98rem;
  outline: none;
  transition: var(--transition-smooth);
}

body.light-theme .form-control {
  background: rgba(0, 0, 0, 0.01);
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--bg-surface);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.15);
}

.form-label {
  position: absolute;
  left: 16px;
  top: 18px;
  color: var(--ink-muted);
  font-size: 0.98rem;
  pointer-events: none;
  transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

/* Floating behavior when typing / focus */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  transform: translateY(-28px);
  font-size: 0.8rem;
  color: var(--primary);
}

/* Custom Select Field floating behavior */
.select-field {
  appearance: none;
  -webkit-appearance: none;
}

.select-label {
  transform-origin: top left;
}

.select-field:focus ~ .select-label,
.select-field:valid ~ .select-label {
  transform: translateY(-28px);
  font-size: 0.8rem;
  color: var(--primary);
}

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

/* Real-time Field Validity Indicators */
.form-validation-indicator {
  position: absolute;
  right: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.form-control:not(:placeholder-shown):valid ~ .form-validation-indicator {
  opacity: 1;
  background: #27c93f;
}

.form-control:not(:placeholder-shown):invalid ~ .form-validation-indicator {
  opacity: 1;
  background: #ff5f56;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form-status-msg {
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.5;
  display: none;
}

.form-status-msg.show {
  display: block;
}

.form-status-msg.success {
  color: #27c93f;
}

.form-status-msg.error {
  color: #ff5f56;
}

/* =========================================================================
   FOOTER / PIE DE PÁGINA
   ========================================================================= */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 650px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footer-nav-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.8rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

@media (max-width: 992px) {
  .footer-nav-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}

@media (max-width: 576px) {
  .footer-top {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .footer-nav-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .footer-col h4 {
    font-size: 0.82rem;
    margin-bottom: 0.8rem;
  }
  .footer-col a {
    font-size: 0.86rem;
  }
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* =========================================================================
   PARTICLE EXPLOSION (DOPAMINE BURSTS)
   ========================================================================= */
#particle-burst-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.burst-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* =========================================================================
   ANIMACIONES DE REVELACIÓN (SCROLL REVEAL)
   ========================================================================= */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 993px) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
}

.reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Delay for stagger lists */
.services-grid .service-card:nth-child(2) {
  transition-delay: 0.15s;
}
.process-timeline .timeline-item:nth-child(2) {
  transition-delay: 0.1s;
}
.process-timeline .timeline-item:nth-child(3) {
  transition-delay: 0.2s;
}
.process-timeline .timeline-item:nth-child(4) {
  transition-delay: 0.3s;
}

/* =========================================================================
   KEYFRAMES
   ========================================================================= */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 12px 4px rgba(var(--primary-rgb), 0.2);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* =========================================================================
   RESPONSIVIDAD / RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    height: 400px;
    margin-top: 2rem;
  }
  
  .browser-mock {
    width: 320px;
    height: 210px;
    left: 10px;
  }
  
  .phone-mock {
    width: 170px;
    height: 320px;
    right: 10px;
  }
  
  /* Sliders para las grillas en celular (adaptación compacta) */
  .tech-grid-layout,
  .industry-grid-layout,
  .comparison-grid,
  .services-grid,
  .services-catalog-grid,
  .testimonials-grid,
  .instagram-grid,
  .portfolio-grid-layout,
  .pricing-grid-layout,
  .playbooks-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    gap: 0.85rem !important;
    padding: 0.5rem 1rem 1.25rem 1rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    scrollbar-width: none !important; /* Firefox */
  }

  .tech-grid-layout::-webkit-scrollbar,
  .industry-grid-layout::-webkit-scrollbar,
  .comparison-grid::-webkit-scrollbar,
  .services-grid::-webkit-scrollbar,
  .services-catalog-grid::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar,
  .instagram-grid::-webkit-scrollbar,
  .portfolio-grid-layout::-webkit-scrollbar,
  .pricing-grid-layout::-webkit-scrollbar,
  .playbooks-grid::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari */
  }

  /* Tarjetas adaptadas al slider (ocupar menos espacio en celular) */
  .tech-card-item,
  .industry-card,
  .comparison-card,
  .service-card,
  .service-catalog-card,
  .testimonial-card,
  .instagram-post-card,
  .project-grid-card,
  .pricing-card {
    flex: 0 0 72% !important;
    max-width: 270px !important;
    min-width: 210px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
    padding: 1.15rem 1.25rem !important;
  }
  
  .process-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .timeline-line {
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  /* Compactación de tarjetas en celular para máxima optimización de espacio */
  .tech-card-item h3,
  .industry-card h3,
  .comparison-card h3,
  .service-card h3,
  .service-catalog-card h3,
  .testimonial-card h3,
  .project-grid-card h3,
  .pricing-card h3,
  .service-card-title,
  .pricing-card-title {
    font-size: 1.05rem !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.3 !important;
  }

  .tech-card-item p,
  .industry-card p,
  .comparison-card p,
  .service-card p,
  .service-catalog-card p,
  .testimonial-card p,
  .project-grid-card p,
  .pricing-card p,
  .service-card-desc,
  .testimonial-text {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }

  .service-card-icon,
  .service-icon-wrapper,
  .tech-card-icon,
  .industry-card-icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 0.75rem !important;
  }

  .service-card-icon svg,
  .service-icon-wrapper svg,
  .tech-card-icon svg,
  .industry-card-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .service-card-features,
  .pricing-features {
    gap: 0.4rem !important;
    margin-bottom: 0.85rem !important;
  }

  .service-card-features li,
  .pricing-features li {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
  }

  .service-card-price,
  .pricing-price {
    font-size: 1.15rem !important;
    margin-bottom: 0.6rem !important;
  }

  .project-img-container {
    height: 140px !important;
  }

  .project-grid-content {
    padding: 1.15rem 1.25rem !important;
    gap: 0.75rem !important;
  }
  
  /* Header y Menú Hamburguesa en Celular / Móvil — Limpio y Círculo Redondo */
  .nav-container {
    padding: 0.75rem 1rem !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin-left: auto !important;
  }

  /* Ocultar botones que saturan la barra superior en celular */
  .nav-actions .nav-btn-cotizar,
  .nav-actions .nav-btn-chat,
  .nav-actions .nav-btn-pagar {
    display: none !important;
  }

  .theme-toggle-btn,
  .lang-toggle-btn {
    padding: 6px 8px !important;
    margin-left: 0 !important;
  }

  /* Botón Hamburguesa 100% Redondo Círculo (sin borde de color) */
  .burger-btn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border: 1px solid var(--border) !important;
    background: var(--bg-surface) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-left: 0.25rem !important;
    z-index: 1002 !important;
    box-shadow: var(--shadow-sm) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    overflow: hidden !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .burger-btn:hover, .burger-btn:active {
    transform: scale(1.05) !important;
    border-color: var(--primary) !important;
  }

  .burger-btn span {
    width: 20px !important;
    height: 2px !important;
    background: var(--ink) !important;
    border-radius: 4px !important;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease !important;
    display: block !important;
  }

  #nav-menu {
    display: none;
  }

  /* Estado Menú Abierto — Celular & Mobile UI */
  header.menu-open .nav-container {
    position: relative;
  }

  header.menu-open #nav-menu {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    max-height: calc(85vh - 70px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: rgba(14, 17, 23, 0.97) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 0 16px 16px !important;
    padding: 1.25rem 1.25rem 2rem 1.25rem !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8) !important;
    z-index: 1000 !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
  }

  header.menu-open .nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  header.menu-open .nav-link {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 0.8rem !important;
    color: var(--ink) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  header.menu-open .nav-link:hover,
  header.menu-open .nav-item-dropdown.dropdown-mobile-open > .nav-link {
    color: var(--primary) !important;
    border-color: rgba(204, 255, 0, 0.3) !important;
    background: rgba(204, 255, 0, 0.08) !important;
  }

  /* Dropdown Chevron rotation on mobile toggle */
  header.menu-open .dropdown-chevron {
    transition: transform 0.3s ease !important;
  }

  header.menu-open .nav-item-dropdown.dropdown-mobile-open .dropdown-chevron {
    transform: rotate(180deg) !important;
    color: var(--primary) !important;
  }

  /* Submenús Desplegables (Ocultos por defecto en celular hasta hacer clic en el acordeón) */
  header.menu-open .nav-dropdown-menu {
    display: none !important;
    position: static !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    pointer-events: auto !important;
  }

  /* Cuando el acordeón está abierto en celular */
  header.menu-open .nav-item-dropdown.dropdown-mobile-open .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0.5rem 0 0.5rem 0.5rem !important;
    gap: 0.4rem !important;
  }

  header.menu-open .dropdown-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    min-width: unset !important;
  }

  header.menu-open .dropdown-item {
    padding: 0.6rem 0.8rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
  }

  header.menu-open .dropdown-item:active,
  header.menu-open .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 221, 0, 0.25) !important;
  }

  header.menu-open .dropdown-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  header.menu-open .dropdown-sub {
    display: block !important;
    font-size: 0.75rem !important;
    color: var(--ink-soft) !important;
    margin-top: 2px !important;
  }

  header.menu-open .burger-btn {
    background: rgba(204, 255, 0, 0.18) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 12px rgba(204, 255, 0, 0.3) !important;
  }

  header.menu-open .burger-btn span {
    background: var(--primary) !important;
  }

  header.menu-open .burger-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }
  header.menu-open .burger-btn span:nth-child(2) {
    opacity: 0 !important;
  }
  header.menu-open .burger-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }


  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-nav-links {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .glass-mockup {
    transition: none !important;
  }
}

/* =========================================================================
   NUEVA SECCIÓN: APP SHOWCASE (MURO DE 25 ÍCONOS 3D RESPONSIVE)
   ========================================================================= */
.showcase-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.showcase-layout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.showcase-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.showcase-text p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.showcase-cta-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.showcase-3d-container {
  height: 520px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  transform-style: preserve-3d;
  box-shadow: var(--shadow-md);
}

.icon-wall {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(24deg) rotateY(-18deg) rotateZ(0deg);
  transition: transform 0.1s ease-out;
}

.app-icon-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  cursor: pointer;
}

.app-icon-inner {
  width: 66px;
  height: 66px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.45), 
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-icon-card:hover .app-icon-inner {
  transform: scale(1.18) translateZ(25px);
  box-shadow: 0 14px 28px -4px rgba(var(--primary-rgb), 0.4), 
              inset 0 1.5px 2px rgba(255, 255, 255, 0.35);
}

.app-icon-inner svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.app-icon-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px solid var(--border);
  padding: 2.5px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0.85;
}

/* Float bobbings for the 25 icons (staggered delay loop) */
.app-icon-card:nth-child(3n+1) { animation: float-1 6.5s infinite ease-in-out; }
.app-icon-card:nth-child(3n+2) { animation: float-2 5.8s infinite ease-in-out 0.4s; }
.app-icon-card:nth-child(3n) { animation: float-3 7.2s infinite ease-in-out 0.8s; }

@keyframes float-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =========================================================================
   ESTILOS DE PÁGINAS INTERNAS (PROYECTOS & TECNOLOGÍA)
   ========================================================================= */
.page-banner {
  padding: 160px 0 60px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  background: radial-gradient(circle at 0% 0%, rgba(var(--primary-rgb), 0.05) 0%, transparent 60%);
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.banner-content {
  max-width: 700px;
}

.banner-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}

.banner-content p {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* Rejilla de Proyectos */
.portfolio-grid-section {
  padding: 80px 0;
}

.portfolio-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* =========================================================================
   PORTAFOLIO - ESTILO MOBBIN / STACKED BROWSER CARDS
   ========================================================================= */
.portfolio-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}

.mobbin-card-wrapper {
  text-decoration: none;
  display: block;
  color: inherit;
}

.project-grid-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.mobbin-card-wrapper:hover .project-grid-card,
.project-grid-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(var(--primary-rgb), 0.12);
}

/* Container Visual con efecto de cascada multi-ventana */
.project-mockup-frame {
  position: relative;
  background: rgba(14, 18, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}

body.light-theme .project-mockup-frame {
  background: rgba(235, 240, 248, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Capas apiladas en cascada trasera (Stacked Layers) */
.browser-stack-layer {
  position: absolute;
  height: 120px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px 12px 0 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

body.light-theme .browser-stack-layer {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
}

.layer-top {
  top: 16px;
  width: 66%;
  opacity: 0.4;
}

.layer-mid {
  top: 28px;
  width: 78%;
  opacity: 0.75;
}

.mobbin-card-wrapper:hover .layer-top {
  transform: translateY(-6px) scale(1.02);
  opacity: 0.6;
}

.mobbin-card-wrapper:hover .layer-mid {
  transform: translateY(-3px) scale(1.01);
  opacity: 0.9;
}

/* Ventana Principal del Navegador en Frente */
.browser-window-main {
  position: relative;
  z-index: 3;
  width: 88%;
  height: 180px;
  background: var(--bg-color);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

body.light-theme .browser-window-main {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.browser-topbar {
  height: 28px;
  background: rgba(20, 26, 38, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.light-theme .browser-topbar {
  background: rgba(240, 244, 250, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-url-pill {
  font-size: 0.65rem;
  font-family: monospace;
  color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 10px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

body.light-theme .browser-url-pill {
  background: rgba(255, 255, 255, 0.8);
  color: #334155;
  border-color: rgba(0, 0, 0, 0.1);
}

/* Lienzo de Vista Previa Interior */
.browser-content-canvas {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobbin-card-wrapper:hover .browser-screen-img {
  transform: scale(1.06);
}

.mini-preview-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.mini-preview-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

.mini-preview-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.mini-preview-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 90%;
  line-height: 1.3;
}

.style-marmol { background: linear-gradient(135deg, #0284c7, #0369a1); }
.style-gm { background: linear-gradient(135deg, #7e22ce, #0d9488); }
.style-bike { background: linear-gradient(135deg, #d97706, #18181b); }
.style-circuit { background: linear-gradient(135deg, #10b981, #000000); }
.style-dopamines { background: linear-gradient(135deg, #6366f1, #a855f7); }
.style-baranao { background: linear-gradient(135deg, #ef4444, #991b1b); }
.style-cursos { background: linear-gradient(135deg, #10b981, #047857); }
.style-enlaza { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.style-santaflorencia { background: linear-gradient(135deg, #0f172a, #0284c7); }
.style-raconstrucciones { background: linear-gradient(135deg, #ea580c, #1e293b); }
.style-fidanzata { background: linear-gradient(135deg, #ec4899, #be185d); }
.style-ugr { background: linear-gradient(135deg, #1e3a8a, #d97706); }

/* Fila Inferior de Marca (Mobbin Footer Row) */
.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.25rem 0 0.25rem;
}

.project-brand-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-app-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.mobbin-card-wrapper:hover .project-app-logo {
  transform: scale(1.05);
}

.project-app-logo svg {
  width: 22px;
  height: 22px;
}

.project-text-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.project-title-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.project-sub-domain {
  font-size: 0.84rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.project-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: var(--transition-smooth);
}

.mobbin-card-wrapper:hover .project-arrow-btn {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
  transform: translateX(3px);
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.proj-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  padding: 4px 10px;
  border-radius: 999px;
}

.project-grid-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.project-grid-content p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.project-link-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Rejilla de Tecnologías */
.tech-section {
  padding: 80px 0;
}

.tech-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.tech-card-item {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.tech-card-item:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow-lg);
}

.tech-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 100%, rgba(var(--accent-rgb), 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.tech-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-icon-container {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-icon-container svg {
  width: 24px;
  height: 24px;
}

.tech-card-item h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}

.tech-card-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.tech-specs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0.5rem;
}

.tech-specs-list li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding-left: 20px;
}

.tech-specs-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* =========================================================================
   RESPONSIVIDAD MÓVIL PARA LA SECCIÓN DE ÍCONOS 3D
   ========================================================================= */
@media (max-width: 992px) {
  .showcase-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .showcase-3d-container {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .showcase-3d-container {
    height: 380px;
  }

  .app-icon-inner {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .app-icon-inner svg {
    width: 22px;
    height: 22px;
  }

  .app-icon-title {
    font-size: 0.65rem;
    padding: 1.5px 6px;
  }
  
  .portfolio-grid-layout,
  .tech-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-grid-card {
    padding: 0;
  }
}

/* =========================================================================
   DOPAMINE LAB SIMULATOR STYLING
   ========================================================================= */
.lab-simulator-section {
  padding: 80px 0;
}

.lab-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.lab-panel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.lab-panel-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
}

.panel-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: -1.25rem;
}

/* Feature switches */
.features-switches {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.switch-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

body.light-theme .switch-group {
  background: rgba(0, 0, 0, 0.01);
}

.switch-group:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
  background: rgba(var(--primary-rgb), 0.02);
}

.switch-label-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.switch-label-container strong {
  font-size: 0.98rem;
  color: var(--ink);
}

.switch-label-container small {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Custom UI Switch toggle (iOS styled) */
.ui-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.ui-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: #ffffff;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ui-switch input:checked + .slider {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.4);
}

.ui-switch input:checked + .slider:before {
  transform: translateX(24px);
}

/* Palette selector */
.palette-selector-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.palette-selector-container h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.palettes-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

body.light-theme .preset-btn {
  background: rgba(0, 0, 0, 0.01);
}

.preset-btn:hover {
  border-color: var(--primary);
  color: var(--ink);
}

.preset-btn.active {
  background: rgba(var(--primary-rgb), 0.05);
  border-color: var(--primary);
  color: var(--ink);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.15);
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Indicators */
.lab-indicators {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.indicator-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.indicator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.indicator-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.indicator-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.progress-bar-container {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
  transition: width 0.6s cubic-bezier(0.1, 1, 0.1, 1);
  border-radius: 4px;
}

.indicator-tip {
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 2px;
}

.price-group {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: rgba(var(--primary-rgb), 0.04);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
}

.price-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .price-val {
  background: none;
  -webkit-text-fill-color: var(--ink);
}

.price-val small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.btn-submit-config {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* PREVIEW CARD STYLING (RIGHT) */
.lab-preview-card {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.preview-stage-container {
  width: 100%;
  height: 680px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  transform-style: preserve-3d;
  box-shadow: var(--shadow-md);
}

.preview-glow-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.5s ease;
}

.preview-layout-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Teléfono Mockup */
.preview-phone {
  position: absolute;
  width: 200px;
  height: 400px;
  transform: translate3d(-70px, 40px, 120px) rotateY(-10deg) rotateX(10deg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.1, 1, 0.1, 1);
  z-index: 5;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: #0a0a0c;
  border: 8px solid #222226;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7),
              0 0 0 2px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

body.light-theme .phone-frame {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.phone-camera {
  width: 50px;
  height: 15px;
  background: #222226;
  border-radius: 99px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

body.light-theme .phone-camera {
  background: #e2e8f0;
}

.phone-inner-screen {
  flex: 1;
  background: var(--bg-body);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-app-header {
  height: 38px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}

.phone-app-header .mock-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.header-features {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-feature-icon svg {
  width: 14px;
  height: 14px;
  color: var(--ink-soft);
}

.icon-push-active {
  width: 6px;
  height: 6px;
  background: #ff4757;
  border-radius: 50%;
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.phone-app-body {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.phone-theme-banner {
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  opacity: 0.85;
  transition: background 0.4s ease;
}

.phone-feature-box {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  animation: slide-up-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.maps-sim-bg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  width: 100%;
}

.maps-sim-bg svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* 3D spinning cube simulator */
.cube-sim-container {
  perspective: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
}

.cube-sim {
  width: 25px;
  height: 25px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate-cube 6s infinite linear;
}

@keyframes rotate-cube {
  from { transform: rotateX(0) rotateY(0); }
  to { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-sim .face {
  position: absolute;
  width: 25px;
  height: 25px;
  background: rgba(var(--primary-rgb), 0.25);
  border: 1px solid var(--primary);
}

.cube-sim .front  { transform: translateZ(12.5px); }
.cube-sim .back   { transform: rotateY(180deg) translateZ(12.5px); }
.cube-sim .right  { transform: rotateY(90deg) translateZ(12.5px); }
.cube-sim .left   { transform: rotateY(-90deg) translateZ(12.5px); }
.cube-sim .top    { transform: rotateX(90deg) translateZ(12.5px); }
.cube-sim .bottom { transform: rotateX(-90deg) translateZ(12.5px); }

.phone-list-mock {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.phone-list-item {
  height: 12px;
  background: var(--border);
  border-radius: 4px;
  width: 100%;
}

.phone-list-item:nth-child(2) {
  width: 60%;
}

.phone-app-tabbar {
  height: 38px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

.phone-app-tabbar .tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.phone-app-tabbar .tab-dot.active {
  background: var(--primary);
}

/* Navegador Mockup */
.preview-browser {
  position: absolute;
  width: 320px;
  height: 230px;
  transform: translate3d(60px, -60px, 30px) rotateY(-10deg) rotateX(10deg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.1, 1, 0.1, 1);
  z-index: 2;
}

.browser-frame {
  width: 100%;
  height: 100%;
  background: #0a0a0c;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.light-theme .browser-frame {
  background: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.browser-top-bar {
  height: 24px;
  background: #141418;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}

body.light-theme .browser-top-bar {
  background: #f1f5f9;
}

.browser-top-bar .br-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.browser-address {
  margin: 0 auto;
  font-size: 0.65rem;
  color: var(--ink-soft);
  background: var(--bg-body);
  border: 1px solid var(--border);
  padding: 1px 16px;
  border-radius: 4px;
  width: 120px;
  text-align: center;
}

.browser-inner-body {
  flex: 1;
  background: var(--bg-body);
  display: flex;
  flex-direction: column;
}

.browser-navbar {
  height: 28px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}

.mock-br-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink);
}

.br-nav-links {
  display: flex;
  gap: 8px;
}

.br-nav-links span {
  width: 16px;
  height: 6px;
  background: var(--border);
  border-radius: 2px;
}

.browser-content-layout {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.browser-theme-hero {
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 6px;
  opacity: 0.85;
  transition: background 0.4s ease;
}

.checkout-card-sim {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  width: 140px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  animation: slide-up-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cc-title {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink);
}

.cc-chip {
  width: 12px;
  height: 8px;
  background: #f59e0b;
  border-radius: 2px;
}

.cc-body {
  font-family: monospace;
  font-size: 0.65rem;
  color: var(--ink-soft);
}

.cc-footer {
  display: flex;
  justify-content: flex-end;
}

.cc-btn {
  font-size: 0.55rem;
  font-weight: 700;
  color: #ffffff;
  background: #10b981;
  padding: 2px 6px;
  border-radius: 3px;
}

.browser-mock-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.br-row-mock {
  height: 10px;
  background: var(--border);
  border-radius: 3px;
  width: 100%;
}

.br-row-mock.short {
  width: 45%;
}

/* Tag hint */
.interactive-tag {
  position: absolute;
  bottom: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(0,0,0,0.4);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Custom theme overrides */
.theme-dopamine {
  --primary: #CCFF00;
  --accent: #364C5E;
  --primary-rgb: 204, 255, 0;
}

.theme-cyber {
  --primary: #f97316;
  --accent: #06b6d4;
  --primary-rgb: 249, 115, 22;
}

.theme-light {
  --primary: #8b5cf6;
  --accent: #3b82f6;
  --primary-rgb: 139, 92, 246;
}

.theme-corp {
  --primary: #64748b;
  --accent: #334155;
  --primary-rgb: 100, 116, 139;
}

/* =========================================================================
   RESPONSIVIDAD MÓVIL PARA EL SIMULADOR
   ========================================================================= */
@media (max-width: 992px) {
  .lab-grid-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .preview-stage-container {
    height: 500px;
  }

  .preview-phone {
    width: 160px;
    height: 320px;
    transform: translate3d(-50px, 30px, 90px) rotateY(-10deg) rotateX(10deg);
  }

  .preview-browser {
    width: 250px;
    height: 180px;
    transform: translate3d(50px, -40px, 20px) rotateY(-10deg) rotateX(10deg);
  }
}

@media (max-width: 768px) {
  .lab-panel-card {
    padding: 2rem;
  }

  .palettes-presets {
    grid-template-columns: 1fr;
  }

  .preview-stage-container {
    height: 440px;
  }

  .preview-phone {
    width: 140px;
    height: 280px;
    transform: translate3d(-40px, 20px, 70px) rotateY(-10deg) rotateX(10deg);
  }

  .preview-browser {
    width: 220px;
    height: 160px;
    transform: translate3d(40px, -30px, 15px) rotateY(-10deg) rotateX(10deg);
  }
}

/* =========================================================================
   PÁGINA DE PRECIOS Y PLANES (GRID & CARDS)
   ========================================================================= */
.pricing-cards-section {
  padding: 80px 0;
}

.pricing-grid-layout {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-grid-layout.active {
  display: grid;
}

.cover-flow-controls-mobile {
  display: none;
}

.custom-quote-section {
  padding: 60px 0 100px 0;
}

@media (max-width: 1200px) {
  .pricing-grid-layout.active {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-banner {
    padding: 100px 0 20px 0;
  }

  .pricing-cards-section {
    overflow: hidden;
    padding: 15px 0 0 0;
  }

  .cover-flow-controls-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
  }

  .cf-nav-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--ink);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
  }

  .cf-nav-btn:active,
  .cf-nav-btn:hover {
    background: var(--primary);
    color: #000000;
    border-color: var(--primary);
    transform: scale(1.08);
  }

  .cover-flow-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .cf-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .cf-dot.active {
    width: 26px;
    border-radius: 12px;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
  }

  .pricing-grid-layout {
    display: none !important;
  }

  .pricing-grid-layout.active {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 0.85rem;
    padding: 0.75rem 1rem 1rem 1rem;
    margin: 0 -1rem;
    scrollbar-width: none;
    align-items: stretch;
  }

  .pricing-grid-layout::-webkit-scrollbar {
    display: none;
  }

  .pricing-card {
    flex: 0 0 72vw;
    max-width: 270px;
    min-width: 210px;
    padding: 1.15rem 1.25rem !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    position: relative;
    opacity: 0.65;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    margin: 0;
  }

  /* Tarjeta activa con enfoque 3D y brillo */
  .pricing-card.cf-card-active {
    opacity: 1;
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 25px rgba(var(--primary-rgb), 0.25);
    z-index: 5;
  }

  .custom-quote-section {
    padding: 30px 0 60px 0 !important;
  }

  .custom-quote-card {
    padding: 2rem 1.25rem !important;
  }
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow-md);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-lg);
}

/* Recommended / Featured Plan */
.pricing-card.recommended-plan {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0) 100%), var(--bg-surface);
  box-shadow: 0 20px 40px -10px rgba(var(--primary-rgb), 0.15);
}

.card-badge-recommended {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.plan-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  min-height: 3.75rem;
  display: flex;
  align-items: flex-end;
}

.pricing-header .plan-desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  min-height: 3.2rem;
  display: flex;
  align-items: flex-start;
  line-height: 1.35;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 0.75rem;
  flex-wrap: nowrap;
}

.price-currency {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-number {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-body {
  flex: 1;
  margin-bottom: 2.5rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.pricing-footer button {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

/* =========================================================================
   STRIPE CHECKOUT OVERLAY MODAL
   ========================================================================= */
.stripe-overlay-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.stripe-overlay-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.stripe-modal-card {
  width: 440px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5), 
              0 30px 60px -30px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  color: #333333;
}

.stripe-overlay-modal.show .stripe-modal-card {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.stripe-modal-header {
  padding: 20px 24px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stripe-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stripe-logo {
  width: 52px;
  height: 22px;
  color: #635bff;
}

.stripe-secured {
  font-size: 0.68rem;
  font-weight: 700;
  color: #6c757d;
  background: #e9ecef;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.stripe-close-btn {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.stripe-close-btn:hover {
  color: #343a40;
}

.stripe-close-btn svg {
  width: 20px;
  height: 20px;
}

/* Order Summary */
.stripe-order-summary {
  padding: 24px;
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-company {
  font-size: 0.78rem;
  color: #6c757d;
  font-weight: 500;
}

.summary-item-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1f36;
}

.summary-price {
  text-align: right;
}

.price-val-stripe {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1f36;
}

.price-currency-stripe {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
}

/* Form Body */
.stripe-modal-body {
  padding: 24px;
  background: #ffffff;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.stripe-form-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.stripe-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stripe-field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4f5b66;
}

.stripe-field-control {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #1a1f36;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stripe-field-control::placeholder {
  color: #a3acb9;
}

.stripe-field-control:focus {
  border-color: #635bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

/* Card input wrapper */
.stripe-card-inputs-wrapper {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stripe-card-inputs-wrapper:focus-within {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.stripe-card-num-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
}

.stripe-card-icon {
  padding-left: 14px;
  color: #a3acb9;
  display: flex;
  align-items: center;
}

.stripe-card-icon svg {
  width: 20px;
  height: 20px;
}

.stripe-field-control.inner-card {
  border: none;
  box-shadow: none;
  flex: 1;
  padding-left: 10px;
}

.stripe-field-control.inner-card:focus {
  box-shadow: none;
}

.stripe-card-sub-row {
  display: flex;
}

.stripe-field-control.border-right {
  border: none;
  border-right: 1px solid #e9ecef;
  border-radius: 0;
  box-shadow: none;
  width: 60%;
}

.stripe-card-sub-row .stripe-field-control {
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 40%;
}

.stripe-field-control:focus {
  z-index: 2;
}

.stripe-btn-pay {
  background: #635bff;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.04);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stripe-btn-pay:hover {
  background: #564be5;
  box-shadow: 0 4px 8px rgba(99, 91, 255, 0.25);
}

.stripe-btn-pay:active {
  transform: translateY(1px);
}

.stripe-disclaimer {
  font-size: 0.7rem;
  color: #6c757d;
  line-height: 1.4;
  text-align: center;
  margin-top: 4px;
}

/* Processing View */
.stripe-status-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  animation: fade-in-stripe 0.3s ease forwards;
  z-index: 10;
}

@keyframes fade-in-stripe {
  from { opacity: 0; }
  to { opacity: 1; }
}

.stripe-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(99, 91, 255, 0.15);
  border-left-color: #635bff;
  border-radius: 50%;
  animation: spin-stripe 1s infinite linear;
  margin-bottom: 20px;
}

@keyframes spin-stripe {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.stripe-status-view h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1f36;
  margin-bottom: 8px;
}

.stripe-status-view p {
  font-size: 0.88rem;
  color: #6c757d;
  line-height: 1.5;
  max-width: 280px;
}

/* Success View */
.stripe-status-view.success-view {
  background: #ffffff;
}

.success-animation-circle {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.checkmark-stripe {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  stroke-width: 3;
  stroke: #24b47e;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #24b47e;
  animation: fill-stripe .4s ease-in-out .4s forwards, scale-stripe .3s ease-in-out .9s both;
}

.checkmark-circle-stripe {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #24b47e;
  fill: none;
  animation: stroke-stripe .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check-stripe {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  animation: stroke-stripe .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke-stripe {
  100% { stroke-dashoffset: 0; }
}

@keyframes scale-stripe {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill-stripe {
  100% { box-shadow: inset 0px 0px 0px 30px rgba(36, 180, 126, 0.08); }
}

.success-details {
  max-width: 320px !important;
}

.stripe-btn-success-close {
  margin-top: 24px;
  background: #24b47e;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.stripe-btn-success-close:hover {
  background: #1e9d6d;
}

/* =========================================================================
   RESPONSIVIDAD PRECIOS
   ========================================================================= */
@media (max-width: 992px) {
  .pricing-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 2.5rem 2rem;
  }
}

/* =========================================================================
   PRICING TABS STYLING
   ========================================================================= */
.pricing-tabs-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 99px;
  max-width: 840px;
  width: 92%;
  margin: 0 auto 3.5rem auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.pricing-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.pricing-tab-btn:hover {
  color: var(--ink);
}

.pricing-tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(var(--primary-rgb), 0.4);
}

/* Pricing Grid active transitions */
.pricing-grid-layout {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-grid-layout.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   SECCIÓN TESTIMONIOS Y MÉTRICAS (SOCIAL PROOF)
   ========================================================================= */
.testimonials-section {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(circle at 10% 10%, rgba(var(--primary-rgb), 0.04) 0%, transparent 40%), 
              radial-gradient(circle at 90% 90%, rgba(var(--accent-rgb), 0.04) 0%, transparent 40%), 
              var(--bg-color);
  overflow: hidden;
}

/* GMB Widget Header */
.gmb-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 3.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.gmb-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.gmb-google-logo {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.gmb-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gmb-rating {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.gmb-count {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.gmb-stars-row {
  display: flex;
  gap: 4px;
}

.gmb-star-large {
  color: #ffb703;
  font-size: 1.6rem;
}

/* Infinite Logos Slider */
.brand-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  margin-bottom: 4rem;
}

.brand-slider-track {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: scroll-logos 25s linear infinite;
}

.brand-logo-item {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-muted);
  opacity: 0.35;
  transition: opacity 0.3s ease, color 0.3s ease;
  cursor: default;
  white-space: nowrap;
}

.brand-logo-item:hover {
  opacity: 0.8;
  color: var(--primary);
}

@keyframes scroll-logos {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 6rem;
}

.testimonial-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(var(--primary-rgb), 0.05);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px -10px rgba(var(--primary-rgb), 0.14);
}

.testimonial-card.recommended-testimonial {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.02) 0%, rgba(var(--primary-rgb), 0) 100%), var(--bg-surface-glass);
  box-shadow: 0 15px 35px -10px rgba(var(--primary-rgb), 0.12);
}

.testimonial-card.recommended-testimonial:hover {
  box-shadow: 0 20px 40px -10px rgba(var(--primary-rgb), 0.18);
}

.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  color: #ffb703;
}

.google-badge-logo {
  display: flex;
  align-items: center;
  opacity: 0.85;
}

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1.5px solid var(--border);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}

.author-role {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.testimonial-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  align-self: flex-start;
}

.testimonial-metric-pill svg {
  width: 14px;
  height: 14px;
}

.testimonial-metric-pill.highlight {
  background: rgba(36, 180, 126, 0.08);
  border-color: rgba(36, 180, 126, 0.15);
  color: #24b47e;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #24b47e;
  opacity: 0.9;
}

.verified-tag .check-icon {
  font-size: 0.95rem;
  font-weight: bold;
}

/* Metrics Panel */
.metrics-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.metric-counter-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.metric-counter-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -1.25rem;
  width: 1px;
  height: 70%;
  background: var(--border);
}

.metric-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(135deg, var(--ink), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-desc {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Responsiveness */
@media (max-width: 1200px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto 4rem auto;
  }
}

@media (max-width: 768px) {
  .metrics-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }
  
  .metric-counter-item:nth-child(2)::after {
    display: none;
  }
  
  .gmb-widget-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 1.5rem;
  }
  
  .gmb-left {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 576px) {
  .metrics-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .metric-counter-item::after {
    display: none !important;
  }
}

/* =========================================================================
   DOPAMINE LAB CONFIGURATOR ADDITIONAL STYLES
   ========================================================================= */
.btn-wa-green {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease !important;
}

.btn-wa-green:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 24px -4px rgba(37, 211, 102, 0.55) !important;
}

.btn-wa-green:active {
  transform: translateY(1px);
}

.feature-checkbox-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.feature-checkbox-label {
  user-select: none;
  transition: color 0.2s ease;
}

.feature-checkbox-label:hover {
  color: var(--ink) !important;
}

.config-form select.select-field {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.config-form select.select-field:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
  outline: none;
}

.config-form input:focus, .config-form textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
  outline: none;
}

/* Industry Benefits responsive grid */
@media (max-width: 992px) {
  .industry-grid-layout {
    grid-template-columns: 1fr !important;
    max-width: 550px;
    margin: 0 auto 3rem auto;
  }
  
  .dashboard-preview-layout {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
}

/* Mobile optimizations for configurator forms */
@media (max-width: 576px) {
  .checkbox-features-grid {
    grid-template-columns: 1fr !important;
  }
  
  .form-row-sim {
    grid-template-columns: 1fr !important;
  }
}

/* Portfolio grid tablet adjustments */
@media (max-width: 992px) {
  .portfolio-grid-layout {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .portfolio-grid-layout {
    grid-template-columns: 1fr !important;
  }
  
  /* Reduce padding of technology cards and industry cards to prevent squishing text */
  .tech-card-item, 
  .industry-card {
    padding: 1.5rem !important;
  }
  
  /* Adapt dashboard mockup to mobile */
  .db-mockup-sidebar {
    display: none !important; /* Hide sidebar on mobile to save space */
  }
  
  .db-mockup-main {
    padding: 0.75rem !important;
  }
  
  /* Stack metrics grid to 1 column */
  .db-mockup-metrics-grid {
    grid-template-columns: 1fr !important; /* Stack metrics cards */
    gap: 0.5rem !important;
  }
  
  /* Hide the 3rd metric card on very narrow mobile to prevent overflow */
  .db-mockup-metrics-grid > div:nth-child(3) {
    display: none !important;
  }
  
  .dashboard-browser-frame {
    height: 380px !important;
  }
}

@media (max-width: 576px) {
  .custom-quote-card {
    padding: 2.25rem 1.25rem !important;
  }
}

/* =========================================================================
   ACETERNITY UI SPOTLIGHT HOVER EFFECTS
   ========================================================================= */
.tech-card-item, .project-grid-card, .testimonial-card, .pricing-card, .custom-quote-card, .lab-panel-card, .lab-preview-card, .gmb-widget-header {
  position: relative;
  overflow: hidden;
}

.tech-card-item::after, .project-grid-card::after, .testimonial-card::after, .pricing-card::after, .custom-quote-card::after, .lab-panel-card::after, .lab-preview-card::after, .gmb-widget-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(
    350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(var(--primary-rgb), 0.1),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

body.light-theme .tech-card-item::after, 
body.light-theme .project-grid-card::after, 
body.light-theme .testimonial-card::after, 
body.light-theme .pricing-card::after, 
body.light-theme .custom-quote-card::after, 
body.light-theme .lab-panel-card::after, 
body.light-theme .lab-preview-card::after,
body.light-theme .gmb-widget-header::after {
  background: radial-gradient(
    350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(var(--primary-rgb), 0.05),
    transparent 50%
  );
}

.tech-card-item:hover::after, .project-grid-card:hover::after, .testimonial-card:hover::after, .pricing-card:hover::after, .custom-quote-card:hover::after, .lab-panel-card:hover::after, .lab-preview-card:hover::after, .gmb-widget-header:hover::after {
  opacity: 1;
}

/* Process grid responsiveness */
@media (max-width: 992px) {
  .process-grid-layout {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}
@media (max-width: 768px) {
  .process-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

/* =========================================================================
   COOKIE BANNER
   ========================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 400px;
  background: rgba(var(--bg-surface-rgb), 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-icon {
  font-size: 2.2rem;
  line-height: 1;
  animation: cookieWiggle 2s infinite ease-in-out;
}

@keyframes cookieWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid transparent;
}

.cookie-btn-accept:hover {
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.cookie-btn-close {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

.cookie-btn-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

/* =========================================================================
   RESPONSIVIDAD MÓVIL PARA PÁGINA TECNOLOGÍA (SLIDERS 📲)
   ========================================================================= */
.swipe-indicator {
  display: none;
}

@keyframes pulseSwipe {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(5px); }
}

@media (max-width: 768px) {
  .swipe-indicator {
    display: block !important;
  }

  /* Sliders para las grillas en celular */
  .tech-grid-layout,
  .industry-grid-layout,
  .comparison-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1.25rem !important;
    padding: 0.5rem 1.5rem 1.5rem 1.5rem !important;
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
    scrollbar-width: none; /* Firefox */
  }

  .tech-grid-layout::-webkit-scrollbar,
  .industry-grid-layout::-webkit-scrollbar,
  .comparison-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  /* Tarjetas adaptadas al slider */
  .tech-card-item,
  .industry-card,
  .comparison-card {
    flex: 0 0 85% !important;
    scroll-snap-align: start !important;
    min-width: 280px !important;
    box-sizing: border-box !important;
    padding: 2rem !important; /* Ajustar padding para pantalla chica */
  }
}

/* Estilos de Escritorio para el Grid de Comparación */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.comparison-card {
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
  opacity: 0.85;
}
.comparison-card.highlight {
  background: linear-gradient(135deg, rgba(99,102,241, 0.05) 0%, rgba(244,63,154, 0.05) 100%);
  border: 1px solid rgba(99,102,241, 0.3);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-primary);
  opacity: 1;
}
body.light-theme .comparison-card {
  background: rgba(0,0,0,0.02);
}

/* =========================================================================
   INSTAGRAM SECTION INTERACTIVITY
   ========================================================================= */
.instagram-post-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary) !important;
  box-shadow: var(--shadow-primary);
}
.instagram-post-card:hover img {
  transform: scale(1.08);
}
.instagram-post-card:hover .instagram-overlay {
  opacity: 1 !important;
}

@media (max-width: 992px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}
@media (max-width: 768px) {
  .instagram-grid {
    gap: 1.25rem !important;
  }
}

/* =========================================================================
   TABLA DE PRECIOS "SITIOS WEB A MEDIDA"
   ========================================================================= */
.pricing-table-wrapper {
  width: 100%;
  margin-top: 2rem;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pricing-table-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pricing-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  min-width: 780px;
}

.custom-pricing-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.light-theme .custom-pricing-table th {
  background: rgba(0, 0, 0, 0.03);
}

.custom-pricing-table th:first-child {
  border-top-left-radius: var(--radius-sm);
}

.custom-pricing-table th:last-child {
  border-top-right-radius: var(--radius-sm);
}

.custom-pricing-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
  vertical-align: middle;
  transition: background 0.3s ease;
}

.custom-pricing-table tr:last-child td {
  border-bottom: none;
}

.custom-pricing-table tr:hover td {
  background: rgba(var(--primary-rgb), 0.04);
}

.service-title-cell {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-icon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-block;
  flex-shrink: 0;
}

.price-tag-min,
.price-tag-max {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.price-tag-min {
  color: #2ed573;
}

.price-tag-max {
  color: var(--primary);
}

.notes-cell {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 340px;
}

.notes-bullet {
  color: var(--accent);
  margin-right: 6px;
  font-weight: bold;
}

.table-cta-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
}

/* Adaptación para pantallas de celular (< 768px) */
@media (max-width: 768px) {
  .pricing-table-wrapper {
    padding: 1rem;
    border-radius: var(--radius-sm);
  }
  
  .pricing-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .pricing-mobile-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
  }

  body.light-theme .pricing-mobile-card {
    background: rgba(0, 0, 0, 0.02);
  }
  
  .pricing-mobile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
  }
  
  .pricing-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
  }
  
  .pricing-mobile-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
  }
  
  .pricing-mobile-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
  }

  body.light-theme .pricing-mobile-prices {
    background: rgba(0, 0, 0, 0.03);
  }
  
  .price-box {
    display: flex;
    flex-direction: column;
  }
  
  .price-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  .pricing-mobile-notes {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.5;
  }
}

/* =========================================================================
   MÓDULO DE PAGOS Y TARJETA BANCARIA
   ========================================================================= */
.bank-card-container {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.bank-card-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00246B, var(--primary), var(--accent));
}

.bank-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.bank-logo-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.bank-header-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.bank-header-text p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.bank-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

.bank-detail-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

body.light-theme .bank-detail-item {
  background: rgba(0, 0, 0, 0.02);
}

.bank-detail-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.5px;
}

.bank-detail-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copy-mini-btn {
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-mini-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.nav-btn-pagar,
a.nav-btn-pagar {
  background: var(--primary) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: none !important;
}

.nav-btn-pagar span {
  color: #000000 !important;
  font-weight: 800 !important;
}

.nav-btn-pagar:hover {
  background: linear-gradient(135deg, #FFE600 0%, #FFB800 100%) !important;
  box-shadow: 0 8px 24px rgba(255, 221, 0, 0.5);
  transform: translateY(-2px);
}


/* =========================================================================
   NUEVA SECCIÓN: MOCKUP INTERACTIVO ESTILO APP/BROWSER (VISTA MÓVIL Y DESKTOP)
   ========================================================================= */
.mockup-showcase-section {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

/* MARCO PRINCIPAL DE VENTANA */
.mockup-window-container {
  background: #090A0F;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(138, 43, 226, 0.2);
  overflow: hidden;
  position: relative;
  margin-top: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mockup-window-container:hover {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 65px rgba(138, 43, 226, 0.3);
}

/* BARRA SUPERIOR CON PESTAÑAS estilo MACOS */
.mockup-window-topbar {
  background: #111218;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  gap: 16px;
  user-select: none;
}

.mac-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot.red { background: #FF5F56; box-shadow: 0 0 6px rgba(255, 95, 86, 0.4); }
.mac-dot.yellow { background: #FFBD2E; box-shadow: 0 0 6px rgba(255, 189, 46, 0.4); }
.mac-dot.green { background: #27C93F; box-shadow: 0 0 6px rgba(39, 201, 63, 0.4); }

/* CONTENEDOR DE PESTAÑAS SUPERIORES */
.mockup-tabs-wrapper {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mockup-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.mockup-tabs-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.tab-btn svg {
  color: currentColor;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.07);
}

.tab-item.active .tab-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}

.tab-item.active .tab-btn svg {
  opacity: 1;
  color: var(--primary, #A855F7);
}

/* CUERPO DE CONTENIDO DE LA VENTANA MOCKUP */
.mockup-window-body {
  background: #07080C;
  min-height: 480px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* NAVEGACIÓN INTERNA EN EL MOCKUP */
.internal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: transparent;
  position: relative;
  z-index: 10;
}

.internal-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-symbol,
.brand-logo-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(59, 167, 255, 0.6));
  transition: transform 0.2s ease;
}

.internal-brand:hover .brand-logo-img {
  transform: scale(1.08);
}

.brand-title {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.internal-links-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.internal-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0;
}

.internal-link:hover,
.internal-link.active {
  color: #FFFFFF;
}

.internal-dropdown-wrapper {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.internal-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #14161F;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 170px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

.internal-dropdown-wrapper.open .internal-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.internal-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.internal-link-login {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.internal-link-login:hover {
  color: #FFFFFF;
}

.btn-internal-cta {
  background: #FFFFFF;
  color: #050508;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-internal-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.internal-mobile-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.internal-mobile-burger span {
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
}

/* PANELES DE PESTAÑAS DINÁMICOS */
.tab-panel {
  display: none;
  flex: 1;
  position: relative;
  animation: fadeInMock 0.35s ease forwards;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
}

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

/* TAB: TARJETA BRILLANTE (HERO LAYOUT CON FRANJAS DIAGONALES) */
.internal-hero-layout {
  padding: 45px 32px 60px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.internal-hero-text {
  max-width: 620px;
  position: relative;
  z-index: 5;
}

.internal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-bottom: 24px;
}

.internal-badge:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
}

.internal-badge .arrow {
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease;
}

.internal-badge:hover .arrow {
  transform: translateX(3px);
  color: #FFFFFF;
}

.internal-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 20px 0;
}

.internal-lead {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 560px;
}

.internal-hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-mockup-primary {
  background: #232530;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-mockup-primary:hover {
  background: #2E3140;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-mockup-secondary {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-mockup-secondary:hover {
  color: #FFFFFF;
}

/* GRAFICO DE CINTAS / FRANJAS DIAGONALES MULTICOLOR EN LA ESQUINA INFERIOR DERECHA */
.mockup-gradient-stripes-wrapper {
  position: absolute;
  bottom: -60px;
  right: -50px;
  width: 440px;
  height: 480px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  transform: rotate(-35deg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
}

.stripe {
  height: 42px;
  width: 140%;
  transform: translateX(-15%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.stripe-purple {
  background: linear-gradient(90deg, #5B1DA3 0%, #8A2BE2 100%);
}

.stripe-magenta {
  background: linear-gradient(90deg, #8A2BE2 0%, #D81B60 100%);
}

.stripe-pink {
  background: linear-gradient(90deg, #E91E63 0%, #FF4081 100%);
}

.stripe-orange {
  background: linear-gradient(90deg, #FF5722 0%, #FF8A65 100%);
}

.stripe-yellow {
  background: linear-gradient(90deg, #FFC107 0%, #FFE082 100%);
}

.stripe-ambient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 70%, rgba(138, 43, 226, 0.4), rgba(255, 64, 129, 0.3), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* TAB PANELS GENERATION (SECCIONES, BENTO, PARALAJE, ETC) */
.tab-panel-inner {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary, #A855F7);
}

.tab-panel-inner h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #FFFFFF;
  margin: 0;
}

.tab-panel-inner p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  margin: 0 0 12px 0;
}

/* MINI CARDS GRID */
.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.mini-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.mini-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.mini-card h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin: 0 0 6px 0;
}

.mini-card p {
  font-size: 0.82rem;
  margin: 0;
}

/* FEATURES LIST MOCK */
.features-list-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.feature-item-mock {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 14px 18px;
}

.check-icon {
  background: rgba(39, 201, 63, 0.15);
  color: #27C93F;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.feature-item-mock strong {
  color: #FFFFFF;
  display: block;
  font-size: 0.9rem;
}

.feature-item-mock p {
  margin: 2px 0 0 0;
  font-size: 0.82rem;
}

/* BENTO GRID DEMO */
.mock-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.bento-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

.bento-large {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(255, 255, 255, 0.02));
}

.bento-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.bento-box h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin: 0 0 6px 0;
}

.bento-stat {
  font-size: 1.2rem;
  font-weight: 700;
  color: #27C93F;
  margin-top: 12px;
}

/* SISTEMA DE CONVERSIÓN REALTIME (REEMPLAZO DE PARALAJE) */
.conversion-system-box {
  background: #08090f;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  margin-top: 1.5rem;
}

.conversion-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.conversion-pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.conversion-pill-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.conversion-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.conversion-pill-btn.active {
  background: #10b981;
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

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

@media (max-width: 768px) {
  .conversion-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.conversion-kpi-card {
  background: #0d0f18;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.conversion-kpi-header {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.conversion-kpi-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.conversion-kpi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
}

.conversion-live-feed {
  background: #050609;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  max-height: 180px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.live-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid #10b981;
  border-radius: 4px;
  animation: fadeInDown 0.3s ease;
}

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

/* TERMINAL & APPLE MAGIC KEYBOARD DEMO */
.keyboard-tab-header {
  margin-bottom: 20px;
}

.kbd-panel-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 6px;
}

.keyboard-demo-terminal {
  background: #09090E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 20px;
  font-family: 'Space Grotesk', 'Fira Code', monospace;
  font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-bottom: 24px;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dots .dot.red { background: #FF5F56; }
.terminal-dots .dot.yellow { background: #FFBD2E; }
.terminal-dots .dot.green { background: #27C93F; }

.terminal-title {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.term-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.term-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFF;
}

.terminal-body {
  max-height: 140px;
  overflow-y: auto;
  margin-bottom: 8px;
}

.terminal-line {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.terminal-line .prompt { color: #A855F7; font-weight: 700; }
.terminal-line.success { color: #34C759; }
.terminal-line.highlight { color: #FFD670; font-weight: 600; }

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #FFF;
}

.terminal-input-row .prompt { color: #A855F7; font-weight: 700; }
.live-input-text { color: #38BDF8; font-weight: 600; min-height: 1.2em; word-break: break-all; }

.blinking-cursor {
  color: #A855F7;
  animation: blinkCursor 0.8s infinite alternate;
  font-weight: 700;
}

@keyframes blinkCursor {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* MAGIC KEYBOARD CHASSIS */
.magic-keyboard-container {
  width: 100%;
  overflow-x: auto;
  padding: 10px 0 20px 0;
  display: flex;
  justify-content: center;
}

.magic-keyboard {
  background: linear-gradient(180deg, #EBECEF 0%, #DFE0E5 100%);
  border: 1px solid #C7C8D0;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 860px;
  min-width: 680px;
  box-sizing: border-box;
  user-select: none;
}

.kbd-row {
  display: flex;
  gap: 6px;
  width: 100%;
}

.row-fn .key {
  height: 34px;
}

/* KEYCAP STYLING */
.key {
  background: #FFFFFF;
  border: 1px solid #D1D1D6;
  border-radius: 6px;
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #1D1D1F;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  height: 42px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.04s ease, background 0.08s ease, box-shadow 0.08s ease, border-color 0.08s ease;
  outline: none;
  padding: 0;
}

.key:hover {
  background: #F8F8FC;
  border-color: #B8B8C0;
}

.key:active, .key.pressed {
  transform: translateY(2px) scale(0.97);
  background: #E5E5EA !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 14px rgba(168, 85, 247, 0.45) !important;
  border-color: #A855F7 !important;
  color: #000 !important;
}

.key-icon {
  width: 13px;
  height: 13px;
  margin-bottom: 1px;
  opacity: 0.75;
}

.key-sub {
  font-size: 0.62rem;
  opacity: 0.65;
  line-height: 1;
}

.key-label {
  font-size: 0.78rem;
  line-height: 1;
}

/* DUAL KEYS */
.key-dual {
  justify-content: center;
  gap: 1px;
}
.key-dual .top {
  font-size: 0.65rem;
  opacity: 0.65;
}
.key-dual .bot {
  font-size: 0.78rem;
  font-weight: 600;
}

/* ALIGNMENTS */
.key-left-align {
  align-items: flex-start;
  padding-left: 8px;
  justify-content: flex-end;
  padding-bottom: 6px;
}
.key-right-align {
  align-items: flex-end;
  padding-right: 8px;
  justify-content: flex-end;
  padding-bottom: 6px;
}

/* KEY RATIOS */
.key-fn-esc { flex: 1.4; }
.key-delete { flex: 1.6; }
.key-tab { flex: 1.5; }
.key-caps { flex: 1.85; position: relative; }
.key-return { flex: 1.85; }
.key-shift-left { flex: 2.3; }
.key-shift-right { flex: 2.3; }
.key-space { flex: 5.6; }
.key-command { flex: 1.35; }
.key-modifier {
  justify-content: space-between;
  padding: 4px 6px;
}
.key-modifier .key-sub {
  align-self: flex-end;
  font-size: 0.7rem;
}
.key-modifier .key-label {
  align-self: flex-start;
  font-size: 0.62rem;
}

/* CAPS LOCK LED */
.caps-led {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #C7C7CC;
  position: absolute;
  top: 7px;
  left: 8px;
  transition: all 0.2s ease;
}
.caps-led.active {
  background: #34C759;
  box-shadow: 0 0 6px #34C759;
}

/* TOUCH ID BUTTON */
.key-touchid {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  background: #F2F2F7;
  border: 1px solid #D1D1D6;
  margin-left: auto;
  overflow: hidden;
}
.touchid-ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #C7C7CC;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #FFFFFF 30%, #E5E5EA 100%);
  transition: all 0.3s ease;
}
.touchid-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px dashed #A1A1A6;
  opacity: 0.6;
}
.key-touchid:active .touchid-ring,
.key-touchid.scanning .touchid-ring {
  border-color: #34C759;
  box-shadow: 0 0 10px rgba(52, 199, 89, 0.8);
  background: radial-gradient(circle, #E8FAEB 20%, #34C759 100%);
}

/* ARROWS */
.key-arrow {
  flex: 1;
}
.key-arrow-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 42px;
}
.key-arrow-up, .key-arrow-down {
  height: 20px !important;
  font-size: 0.65rem;
}

/* SHORTCUT CARDS GRID */
.keyboard-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.shortcut-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.shortcut-card span {
  font-size: 0.78rem;
}

kbd {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 2px 6px;
  color: #FFFFFF;
  font-size: 0.75rem;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .magic-keyboard {
    transform: scale(0.85);
    transform-origin: top center;
    margin-bottom: -30px;
  }
}
@media (max-width: 480px) {
  .magic-keyboard {
    transform: scale(0.68);
    transform-origin: top center;
    margin-bottom: -70px;
  }
}

/* LUMINOUS CARD DEMO */
.luminous-card-demo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.lumi-card {
  border-radius: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.glow-purple:hover {
  border-color: #A855F7;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.glow-cyan:hover {
  border-color: #06B6D4;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
}

.glow-amber:hover {
  border-color: #F59E0B;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
}

.lumi-card h4 { color: #FFFFFF; margin: 0 0 6px 0; }
.lumi-card p { font-size: 0.8rem; margin: 0; }

/* INTERNAL MODAL OVERLAY (SIMULADOR DE LEADS) */
.internal-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.internal-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.internal-modal-content {
  background: #12141D;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 28px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.internal-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.internal-modal-close:hover {
  color: #FFFFFF;
}

.internal-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.internal-modal-header h3 {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
}

.internal-modal-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.lead-sim-form label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
  font-weight: 500;
}

.internal-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  outline: none;
}

.internal-input option {
  background: #12141D;
  color: #FFFFFF;
}

input[type="range"]#lead-budget {
  width: 100%;
  accent-color: var(--primary, #A855F7);
  cursor: pointer;
}

.budget-display {
  text-align: right;
  font-size: 0.85rem;
  color: #A855F7;
  font-weight: 700;
  margin-bottom: 16px;
}

.sim-result-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.sim-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sim-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: #27C93F;
}

.sim-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.full-width {
  width: 100%;
  display: block;
  box-sizing: border-box;
  text-decoration: none;
}

/* =========================================================================
   ADAPTACIÓN RESPONSIVA MÓVIL DEL MOCKUP
   ========================================================================= */
@media (max-width: 768px) {
  .mockup-showcase-section {
    padding: 3rem 0;
  }
  
  .mockup-window-container {
    border-radius: 14px;
    margin-top: 1.5rem;
  }

  .mockup-window-topbar {
    height: 44px;
    padding: 0 10px;
    gap: 10px;
  }

  .mac-controls {
    gap: 5px;
  }
  
  .mac-dot {
    width: 9px;
    height: 9px;
  }

  .tab-btn {
    font-size: 0.72rem;
    padding: 5px 10px;
    gap: 4px;
  }

  .internal-nav {
    padding: 14px 16px;
  }

  .internal-brand .brand-title {
    font-size: 0.92rem;
  }

  .internal-links-group {
    display: none; /* Se activa con menú móvil en celulares */
  }

  .internal-links-group.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0E1018;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 30;
    gap: 12px;
  }

  .internal-actions {
    display: none;
  }

  .internal-mobile-burger {
    display: flex;
  }

  .internal-hero-layout {
    padding: 24px 16px 40px 16px;
    min-height: auto;
  }

  .internal-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 16px;
  }

  .internal-headline {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .internal-lead {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .internal-hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn-mockup-primary,
  .btn-mockup-secondary {
    justify-content: center;
    width: 100%;
  }

  .mockup-gradient-stripes-wrapper {
    width: 280px;
    height: 320px;
    right: -60px;
    bottom: -80px;
    opacity: 0.85;
  }

  .mock-bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large {
    grid-column: span 1;
  }

  .luminous-card-demo {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   FLOATING DOCK MENU (Awwwards Style)
   ========================================================================= */
.dopamines-floating-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  background: rgba(18, 21, 28, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  font-family: var(--font-main, 'Space Grotesk', system-ui, sans-serif);
  max-width: calc(100vw - 32px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dock Logo Icon (Square Box on Left) */
.dock-logo-box {
  width: 44px;
  height: 44px;
  background: #0d0f15;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.dock-logo-box:hover {
  transform: scale(1.06);
  border-color: rgba(59, 167, 255, 0.5);
  box-shadow: 0 0 15px rgba(59, 167, 255, 0.2);
}

.dock-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Middle Navigation Items Container */
.dock-items-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dock-items-wrapper::-webkit-scrollbar {
  display: none;
}

/* Middle Nav Buttons */
.dock-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 9px 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dock-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
}

.dock-item.active {
  background: rgba(59, 167, 255, 0.15);
  border-color: rgba(59, 167, 255, 0.4);
  color: #ffffff;
}

/* Right CTA Button (Light White Pill) */
.dock-cta-btn {
  background: #ffffff;
  color: #090d16;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.dock-cta-btn:hover {
  background: #f8fafc;
  color: #000000;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .dopamines-floating-dock {
    bottom: 14px;
    padding: 5px 6px;
    gap: 6px;
    max-width: calc(100vw - 16px);
  }
  .dock-logo-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .dock-logo-img {
    width: 22px;
    height: 22px;
  }
  .dock-item {
    font-size: 0.8rem;
    padding: 7px 11px;
    border-radius: 10px;
  }
  .dock-cta-btn {
    font-size: 0.8rem;
    padding: 8px 13px;
    border-radius: 10px;
  }
}

/* =========================================================================
   TARJETA DE APLICACIONES MÓVILES (ESTILO REFERO PRO CON ÍCONOS FLOTANTES SIN TEXTO)
   ========================================================================= */
.refero-apps-card {
  position: relative !important;
  overflow: hidden !important;
}

.card-app-icons-wall {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  pointer-events: auto;
  z-index: 1;
}

.card-app-icons-wall.left-card-wall {
  left: 0;
}

.card-app-icons-wall.right-card-wall {
  right: 0;
}

.refero-apps-card .card-content {
  position: relative;
  z-index: 5;
}

.app-squircle {
  position: absolute;
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 10px 22px rgba(0, 0, 0, 0.65),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  user-select: none;
}

.app-squircle svg {
  width: 44%;
  height: 44%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.app-squircle:hover {
  transform: scale(1.25) translateY(-4px) !important;
  z-index: 99 !important;
  box-shadow: 
    0 16px 32px rgba(168, 85, 247, 0.5),
    0 0 15px rgba(255, 255, 255, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.6);
  border-color: #FFFFFF;
}

@media (max-width: 900px) {
  .card-app-icons-wall {
    opacity: 0.3;
    width: 60px;
  }
}

}

/* =========================================================================
   SECCIÓN BENTO SHOWCASE (EXCLUSIVO DOPAMINE LAB - lab.html)
   ========================================================================= */
.lab-bento-section {
  padding: 90px 0 110px 0;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lab-bento-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.7;
}

.bento-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.bento-header {
  margin-bottom: 3rem;
  max-width: 720px;
}

.bento-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.bento-text-highlight {
  background: linear-gradient(135deg, #ffffff, #CCFF00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bento-header p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Bento Grid Matrix */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Base Bento Card */
.bento-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Card 1: Form Card (Col 1-4, Row 1-3) */
.bento-card-form {
  grid-column: span 4;
  grid-row: span 3;
  background: #ffffff;
  color: #0f172a;
  padding: 2rem;
  border-color: #e2e8f0;
}

body.dark-theme .bento-card-form {
  background: #ffffff;
  color: #0f172a;
}

.mock-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mock-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  color: #0f172a;
}

.mock-form-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.mock-field {
  margin-bottom: 1rem;
}

.mock-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.mock-input {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1e293b;
  font-weight: 500;
}

.mock-pass {
  letter-spacing: 2px;
  color: #94a3b8;
}

.mock-btn {
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.mock-btn:hover {
  opacity: 0.9;
}

.mock-btn-primary {
  background: #0f172a;
  color: #ffffff;
}

.mock-divider {
  text-align: center;
  margin: 1rem 0;
  position: relative;
}

.mock-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.mock-divider span {
  position: relative;
  background: #ffffff;
  padding: 0 10px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.mock-btn-dark {
  background: #000000;
  color: #ffffff;
}

.mock-terms {
  font-size: 0.7rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1.4;
}

/* Card 2: Edge Infra (Col 5-7, Row 1) */
.bento-card-edge {
  grid-column: span 3;
  grid-row: span 1;
  background: #ffffff;
  color: #0f172a;
  padding: 1.75rem;
  border-color: #e2e8f0;
  justify-content: space-between;
}

.bento-card-edge h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}

.bento-card-edge p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.bento-globe-wrapper {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 0.75rem;
}

.globe-sphere {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1e293b, #090d16);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.globe-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 8px 8px;
}

.globe-pulse-dot {
  position: absolute;
  top: 38%;
  left: 55%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
  animation: pulseGlobe 2s infinite;
}

.globe-pulse-dot.dot-2 {
  top: 60%;
  left: 30%;
  background: #CCFF00;
  box-shadow: 0 0 12px #CCFF00;
  animation-delay: 0.6s;
}

.globe-pulse-dot.dot-3 {
  top: 25%;
  left: 75%;
  background: #f43f5e;
  box-shadow: 0 0 12px #f43f5e;
  animation-delay: 1.2s;
}

@keyframes pulseGlobe {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Card 3: Main SaaS Hero Mockup (Col 8-12, Row 1-2) */
.bento-card-main {
  grid-column: span 5;
  grid-row: span 2;
  background: #0b0f19;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.browser-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.browser-header {
  background: #161b22;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

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

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-url {
  background: #0d1117;
  color: #8b949e;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 6px;
  flex-grow: 1;
  text-align: center;
  font-family: monospace;
}

.browser-actions {
  display: flex;
  gap: 8px;
}

.btn-micro {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #c9d1d9;
}

.btn-micro-accent {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}

.btn-micro.dark {
  background: #0f172a;
  color: #ffffff;
}

.browser-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: linear-gradient(180deg, #0b0f19 0%, #161c2e 100%);
  flex-grow: 1;
}

.dashboard-hero h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.dashboard-hero p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bento-cta-btn {
  background: #3b82f6;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.bento-cta-btn:hover {
  background: #2563eb;
}

.bento-link-btn {
  font-size: 0.8rem;
  color: #94a3b8;
  cursor: pointer;
}

.dashboard-preview-window {
  background: #070a12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  overflow: hidden;
  min-height: 200px;
}

.dash-sidebar {
  width: 110px;
  background: #0d1117;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-item {
  font-size: 0.7rem;
  padding: 6px 8px;
  border-radius: 4px;
  color: #8b949e;
}

.dash-item.active {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  font-weight: 700;
}

.dash-main {
  flex-grow: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: #f3f4f6;
}

.dash-status {
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.dash-kanban {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.col-title {
  font-size: 0.65rem;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.kanban-card {
  background: #161b22;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kanban-card strong {
  font-size: 0.72rem;
  color: #e5e7eb;
}

.card-tag {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  align-self: flex-start;
  font-weight: 600;
}

.tag-pink { background: rgba(244, 63, 94, 0.2); color: #fb7185; }
.tag-purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.tag-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.tag-green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }

/* Card 4: Testimonial Quote (Col 5-7, Row 2) */
.bento-card-quote {
  grid-column: span 3;
  grid-row: span 1;
  background: #ffffff;
  color: #0f172a;
  padding: 1.75rem;
  border-color: #e2e8f0;
  justify-content: space-between;
}

.quote-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: #cbd5e1;
  font-family: serif;
}

.quote-text {
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.5;
  font-weight: 500;
  margin: 0.5rem 0 1rem 0;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

.author-info strong {
  display: block;
  font-size: 0.8rem;
  color: #0f172a;
}

.author-info span {
  font-size: 0.7rem;
  color: #64748b;
}

/* Card 5: Global Multiplatform (Col 1-4, Row 4) */
.bento-card-global {
  grid-column: span 4;
  grid-row: span 1;
  background: #090d16;
  color: #ffffff;
  padding: 1.75rem;
  border-color: rgba(255, 255, 255, 0.12);
  justify-content: space-between;
}

.global-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.global-content p {
  font-size: 0.82rem;
  color: #94a3b8;
}

.global-map-preview {
  margin-top: 1rem;
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.world-map-svg {
  width: 100%;
  height: 100%;
  position: relative;
}

.user-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
}

.badge-1 { top: 15%; left: 15%; }
.badge-2 { bottom: 15%; right: 15%; }

/* Card 6: Agile Schedule (Col 5-7, Row 3-4) */
.bento-card-schedule {
  grid-column: span 3;
  grid-row: span 2;
  background: #ffffff;
  color: #0f172a;
  padding: 1.75rem;
  border-color: #e2e8f0;
  justify-content: space-between;
}

.bento-card-schedule h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.bento-card-schedule p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.avatars-group {
  display: flex;
  align-items: center;
}

.mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.65rem;
  margin-right: -8px;
}

.avatar-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  margin-left: 16px;
}

/* Card 7: AI Integrated Showcase (Col 8-12, Row 3-4) */
.bento-card-ai {
  grid-column: span 5;
  grid-row: span 2;
  background: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
}

.browser-frame-light .browser-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.browser-frame-light .browser-url {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.ai-body {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.rocket-glow {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ai-hero-art h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.ai-hero-art p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.ai-badge-pill {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #c7d2fe;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4338ca;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

/* Responsiveness for Bento Section */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-card-form { grid-column: span 6; grid-row: auto; }
  .bento-card-edge { grid-column: span 3; grid-row: auto; }
  .bento-card-quote { grid-column: span 3; grid-row: auto; }
  .bento-card-main { grid-column: span 6; grid-row: auto; }
  .bento-card-global { grid-column: span 3; grid-row: auto; }
  .bento-card-schedule { grid-column: span 3; grid-row: auto; }
  .bento-card-ai { grid-column: span 6; grid-row: auto; }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .bento-card {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }
  .dashboard-preview-window {
    flex-direction: column;
    height: auto;
  }
  .dash-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }
}

/* =========================================================================
   TOP ANNOUNCEMENT BAR & FLOATING FAB (ESTILO THEARSENALE)
   ========================================================================= */
.top-announcement-bar {
  background: var(--primary);
  color: #000000;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  width: 100%;
  position: relative;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.top-announcement-bar a {
  color: #000000;
  text-decoration: underline;
  font-weight: 800;
}

.floating-chat-fab {
  display: none !important;
}

.floating-chat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(204, 255, 0, 0.7);
  background: #e6ff66;
}

.floating-chat-fab svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #000000;
  stroke-width: 2.2;
}

/* =========================================================================
   ESTILOS AGENTE IA DE VENTAS & MODAL CRM (DOPAMINES.CL)
   ========================================================================= */

.ai-chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--primary);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
  z-index: 99999;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  padding: 0;
}

.ai-chat-fab:hover {
  transform: scale(1.08);
  background: var(--primary);
  color: #000000;
  box-shadow: 0 14px 35px rgba(var(--primary-rgb), 0.7);
}

.ai-fab-icon {
  stroke: currentColor;
}

.ai-online-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: #00ff88;
  border: 2px solid #0a0a0a;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse-dot 1.5s infinite;
  z-index: 2;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.ai-fab-badge {
  position: absolute;
  bottom: -6px;
  background: #0a0a0a;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

/* Ventana Emergente de Chat */
.ai-chat-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: calc(100vw - 32px);
  max-width: 390px;
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(var(--primary-rgb), 0.15);
  z-index: 99999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(16px);
  animation: slideUpFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ai-chat-header {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.05));
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--primary);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-msg-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.ai-header-info h4 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.ai-header-info p {
  font-size: 0.72rem;
  margin: 0;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dot-active {
  width: 7px;
  height: 7px;
  background: #00ff88;
  border-radius: 50%;
  display: inline-block;
}

.ai-close-btn {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-msg {
  display: flex;
  gap: 10px;
  max-width: 88%;
}

.ai-msg-agent {
  align-self: flex-start;
}

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

.ai-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-msg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink);
}

.ai-msg-user .ai-msg-bubble {
  background: var(--primary);
  color: #000000;
  border: none;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.ai-msg-agent .ai-msg-bubble {
  border-bottom-left-radius: 4px;
}

.ai-chat-chips {
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.ai-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-chip:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.ai-chat-input-area {
  padding: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: var(--bg-surface);
}

.ai-chat-input-area input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 0.85rem;
  outline: none;
}

.ai-chat-input-area input:focus {
  border-color: var(--primary);
}

.ai-send-btn {
  background: var(--primary);
  color: #000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ai-send-btn:hover {
  background: var(--accent);
}

/* Selector de Planes dentro del Chat */
.ai-plan-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.ai-plan-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink);
}

.ai-plan-btn:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.ai-plan-btn-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.ai-plan-btn-header strong {
  color: var(--primary);
}

.ai-plan-btn p {
  font-size: 0.73rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* Formulario de Lead */
.ai-lead-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.ai-form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ai-form-group label {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.ai-form-group input {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 0.8rem;
}

/* Responsive WhatsApp Generator */
@media (max-width: 900px) {
  .wa-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Tarjeta de Cotización Generada */
.ai-quote-card {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--accent-rgb), 0.05));
  border: 1px solid var(--primary);
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
}

.ai-quote-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ai-quote-card h5 {
  margin: 4px 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.ai-quote-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin: 4px 0;
}

.ai-quote-detail {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.ai-quote-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-wa-green {
  background: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
}

.btn-wa-green:hover {
  background: #1eb855 !important;
}

/* Modal CRM para Administrador */
.ai-crm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ai-crm-content {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.ai-crm-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-crm-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.ai-crm-toolbar {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.ai-crm-table-wrapper {
  flex: 1;
  overflow: auto;
  padding: 16px 24px;
}

.ai-crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.ai-crm-table th, .ai-crm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.ai-crm-table th {
  color: var(--primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-crm-table td code {
  color: var(--accent);
}









/* =========================================================================
   PLAYBOOKS DE AUTOMATIZACIÓN DE IA & PÁGINA ÚNICA DE SERVICIOS (DOPAMINES)
   ========================================================================= */
.playbooks-section {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(circle at 50% 20%, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.playbooks-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

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

.playbooks-sidebar-card {
  background: #090a0f;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.playbooks-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.playbooks-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.playbooks-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.playbooks-menu-item:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  transform: translateX(4px);
}

.playbooks-menu-item.active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

.playbook-badge-activo {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.5);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.playbook-btn-ver {
  background: transparent;
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.playbooks-menu-item:hover .playbook-btn-ver {
  background: #3b82f6;
  color: #ffffff;
}

.playbooks-sidebar-footer {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

/* Canvas interactivo de flujos */
.playbooks-canvas-card {
  background: #06070a;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  box-shadow: var(--shadow-lg);
}

.playbooks-canvas-header {
  height: 52px;
  background: #0c0e14;
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.playbooks-canvas-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.playbooks-canvas-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.canvas-ctrl-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.canvas-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--ink-muted);
}

.canvas-reset-btn {
  width: auto;
  padding: 0 12px;
  font-size: 0.75rem;
}

.playbooks-canvas-viewport {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.playbooks-node-graph {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 380px;
  margin: 0 auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.playbooks-svg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.flow-node {
  position: absolute;
  z-index: 2;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.flow-node:hover {
  transform: scale(1.06);
}

.flow-node-input {
  background: rgba(30, 41, 59, 0.95);
  border: 1.5px solid #3b82f6;
  color: #93c5fd;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.flow-node-ai {
  background: rgba(30, 41, 59, 0.98);
  border: 1.5px solid #60a5fa;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.4);
}

.flow-node-action {
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid #2563eb;
  color: #93c5fd;
}

.flow-node-success {
  background: rgba(15, 23, 42, 0.98);
  border: 1.5px solid #10b981;
  color: #6ee7b7;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.35);
}

.flow-node-human {
  background: rgba(15, 23, 42, 0.98);
  border: 1.5px solid #f97316;
  color: #fdba74;
  box-shadow: 0 0 22px rgba(249, 115, 22, 0.35);
}

@keyframes flowPulse {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 0; }
}

.path-animated {
  stroke-dasharray: 6, 6;
  animation: flowPulse 1.5s linear infinite;
}

/* Catálogo de Servicios Grid & Filters */
.services-catalog-section {
  padding: 90px 0;
  border-top: 1px solid var(--border);
}

.service-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.service-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-filter-btn:hover, .service-filter-btn.active {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .services-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-catalog-grid {
    grid-template-columns: 1fr;
  }
}

.service-catalog-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-catalog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.5);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.service-card-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  margin-bottom: 1.25rem;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card-features {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.75rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.service-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-card-features li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-card-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.service-card-price span {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Cotizador Interactivo Slider Box */
.calc-box-card {
  background: #090b10;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}

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

.calc-addon-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-addon-item:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
}

.calc-addon-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* =========================================================================
   SIMULADOR DE CRECIMIENTO EN CASOS DE ÉXITO (PROYECTOS.HTML)
   ========================================================================= */
.growth-simulator-section {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(circle at 50% 20%, rgba(var(--primary-rgb), 0.04) 0%, transparent 70%);
}

.growth-sim-box {
  background: #090a0f;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.growth-sim-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.growth-ctrl-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.growth-ctrl-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-right: 4px;
}

.growth-pill-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.growth-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.growth-pill-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}

.growth-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.growth-chart-card {
  background: #06070a;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.growth-chart-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.growth-chart-subtitle {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

/* Line Chart Viewport */
.growth-line-chart-viewport {
  position: relative;
  width: 100%;
  height: 220px;
  margin-top: auto;
}

.growth-line-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.growth-chart-legend {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.growth-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Stacked Bar Chart */
.growth-bars-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 220px;
  gap: 12px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.growth-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  position: relative;
}

.growth-bar-stack {
  width: 100%;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.bar-segment {
  width: 100%;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.segment-whatsapp { background: #10b981; }
.segment-ads { background: #ec4899; }
.segment-web { background: #3b82f6; }
.segment-organic { background: #1d4ed8; }

.growth-bar-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* =========================================================================
   BENTO FEATURE SHOWCASE GRID (DESARROLLO WEB & DESARROLLO APPS)
   ========================================================================= */
.bento-showcase-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(circle at 50% 30%, rgba(var(--primary-rgb), 0.04) 0%, transparent 70%);
}

.bento-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.bento-header h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.bento-header p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: 290px 1.1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

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

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

.bento-card {
  background: #08090e;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.4);
}

.bento-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.bento-card-text {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.bento-ui-form {
  background: #ffffff;
  color: #000000;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-top: 1rem;
}

.bento-ui-form label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 2px;
  display: block;
}

.bento-ui-form input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.85rem;
  background: #f8fafc;
  color: #0f172a;
}

.bento-ui-form button {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}

.bento-dashboard-mockup {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.bento-quote-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.bento-avatar-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.25rem;
}

.bento-author-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
}

.bento-author-info span {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* =========================================================================
   HERO CHANGELOG PILL BADGE (FOLDER STYLE MATCHING SCREENSHOT)
   ========================================================================= */
.hero-eyebrow-changelog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 18px 6px 10px;
  border-radius: 999px;
  background: #121319;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-eyebrow-changelog:hover {
  background: #1a1b24;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.changelog-folder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.changelog-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
  letter-spacing: -0.2px;
}

.changelog-divider {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
  margin: 0 2px;
}

.changelog-text {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.hero-eyebrow-changelog:hover .changelog-text {
  color: #ffffff;
}

.changelog-arrow {
  transition: transform 0.2s ease;
}

.hero-eyebrow-changelog:hover .changelog-arrow {
  transform: translateX(4px);
}

/* =========================================================================
   SISTEMA DE ILUMINACIÓN UI & GLOW SPOTLIGHT DE DIFERENCIACIÓN (DOPAMINES)
   ========================================================================= */
.glow-differenciator-box {
  background: #06070c;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  margin-top: 1.25rem;
}

.glow-differenciator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
}

@media (max-width: 992px) {
  .glow-differenciator-grid {
    grid-template-columns: 1fr;
  }
}

.spotlight-card {
  position: relative;
  background: #090b12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.spotlight-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(59, 130, 246, 0.12) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.spotlight-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.spotlight-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.spotlight-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.glow-btn-pulse {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  transition: all 0.3s ease;
}

.glow-btn-pulse:hover {
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.7);
  transform: scale(1.03);
}

.comparison-bar-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 1rem;
}

.comp-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.comp-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.comp-bar-fill-old {
  height: 100%;
  width: 25%;
  background: #64748b;
}

.comp-bar-fill-dopamines {
  height: 100%;
  width: 95%;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  box-shadow: 0 0 10px #10b981;
}

/* LUMINOUS HERO BANNER & THEMES */
.luminous-hero-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.luminous-live-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #a855f7;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.luminous-hero-text h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.luminous-hero-text p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

.spotlight-footer-note {
  margin-top: 1rem;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.78rem;
  color: #a855f7;
  font-weight: 700;
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-ring 2s infinite;
}

.badge-spotlight { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.badge-neon { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-impact { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.card-comp { background: linear-gradient(180deg, #090b14 0%, #0e1220 100%); }

/* Theme Styles */
.glow-theme-purple .spotlight-card:hover::before {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(236, 72, 153, 0.15) 50%, transparent 70%);
}

.glow-theme-emerald .spotlight-card:hover::before {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(52, 211, 153, 0.15) 50%, transparent 70%);
}

.glow-theme-cyber .spotlight-card:hover::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 70%);
}

/* =========================================================================
   DOPAMINES FRIENDS - VENTURE STUDIO PARA PYMES (LAB.HTML)
   ========================================================================= */
.dopamines-friends-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(circle at 50% 30%, rgba(244, 63, 94, 0.05) 0%, rgba(138, 43, 226, 0.04) 50%, transparent 70%);
}

.friends-hero-card {
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.9) 0%, rgba(10, 12, 20, 0.95) 100%);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.friends-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

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

.friends-pillars-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .friends-pillars-list {
    grid-template-columns: 1fr;
  }
}

.friends-pillar-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.friends-pillar-item:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 63, 94, 0.4);
}

.friends-pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.friends-form-box {
  background: #07080d;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.friends-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.friends-input:focus {
  outline: none;
  border-color: #f43f5e;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.3);
}

/* =========================================================================
   SECCIÓN DETRÁS DE ESCENA Y DISEÑO (BENTO GRID WITH DASHED LINES)
   ========================================================================= */
.behind-scenes-section {
  padding: 100px 0;
  background: #08090e;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bento-dashed-canvas {
  position: relative;
  padding: 3rem 2rem;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 24px;
}

.bento-scenes-grid {
  display: grid;
  grid-template-columns: 280px 320px 1fr;
  gap: 1.5rem;

.comp-bar-fill-dopamines {
  height: 100%;
  width: 95%;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  box-shadow: 0 0 10px #10b981;
}

@media (max-width: 1200px) {
  .bento-scenes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .bento-scenes-grid {
    grid-template-columns: 1fr;
  }
}

/* Card A: Light Auth Form Card */
.bento-card-auth {
  background: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-auth-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.bento-auth-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
}

.bento-auth-form input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  background: #f8fafc;
  color: #0f172a;
}

.bento-auth-btn-primary {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}

.bento-auth-btn-github {
  width: 100%;
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  cursor: pointer;
}

/* Middle Column Items */
.bento-col-middle {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bento-card-edge {
  background: #0d0f18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.bento-card-quote {
  background: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.bento-card-team-pill {
  background: #ffffff;
  color: #0f172a;
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Right Column Items */
.bento-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bento-card-dashboard {
  background: #0c0e17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.bento-right-bottom-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.8fr;
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .bento-right-bottom-row {
    grid-template-columns: 1fr;
  }
}

.bento-card-world {
  background: #0c0e17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.25rem;
}

/* =========================================================================
   SECCIÓN ECOSISTEMA DIGITAL (IMPACTO EN EMPRESAS, COMUNAS Y PAÍS)
   ========================================================================= */
.ecosystem-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.06) 0%, rgba(14, 17, 23, 0) 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.ecosystem-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0 2rem 0;
  flex-wrap: wrap;
}

.ecosystem-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 12px 24px;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ecosystem-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  transform: translateY(-2px);
}

.ecosystem-tab-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.15) 100%);
  border-color: rgba(99, 102, 241, 0.6);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.ecosystem-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ecosystem-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.ecosystem-bento-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 1.5rem;

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

.eco-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.2rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.eco-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.eco-card-main {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eco-card-main.green-accent {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.01) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}

.eco-card-main.blue-accent {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.01) 100%);
  border-color: rgba(59, 130, 246, 0.25);
}

.eco-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.eco-badge.badge-green {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.eco-badge.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.eco-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.eco-card p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.eco-mockup-kpi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kpi-mini-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.1rem;
  text-align: center;
}

.kpi-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.kpi-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.eco-comunas-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.comuna-pill {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

.eco-country-specs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.8rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.eco-icon-glow {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.eco-card-sub h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

/* DIAGRAMA DE ARQUITECTURA DE RED */
.ecosystem-architecture-diagram {
  margin-top: 4.5rem;
  background: rgba(14, 17, 23, 0.7);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3rem 2rem;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.diagram-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.diagram-sub {
  color: var(--ink-muted);
  font-size: 1rem;
  margin-bottom: 2.8rem;
}

.diagram-nodes-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.diagram-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem;
  width: 220px;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
}

.diagram-node:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.node-core {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
  border-color: rgba(99, 102, 241, 0.4);
}

.node-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.node-icon {
  font-size: 1.3rem;
}

.node-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.node-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.node-tag.core-tag {
  background: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

.diagram-connector {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;

  @media (max-width: 900px) {
    display: none;
  }
}

/* =========================================================================
   SECCIÓN MASCOTA OFICIAL (ECO-VIGIL: EL GUARDIÁN INTELIGENTE)
   ========================================================================= */
.eco-vigil-section {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(circle at 20% 50%, rgba(var(--primary-rgb), 0.06) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.eco-vigil-card {
  background: rgba(18, 20, 29, 0.85);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(var(--primary-rgb), 0.12);
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.eco-vigil-card:hover {
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 55px rgba(var(--primary-rgb), 0.22);
}

.eco-vigil-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.eco-vigil-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.eco-vigil-glow-backdrop {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.28) 0%, rgba(54, 76, 94, 0.2) 50%, transparent 75%);
  filter: blur(35px);
  z-index: 1;
  pointer-events: none;
  animation: ecoPulse 6s ease-in-out infinite alternate;
}

@keyframes ecoPulse {
  0% { transform: scale(0.94); opacity: 0.7; }
  100% { transform: scale(1.06); opacity: 1; }
}

.eco-vigil-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
  background: #0d0f17;
  max-width: 440px;
  width: 100%;
}

.eco-vigil-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.eco-vigil-frame:hover .eco-vigil-img {
  transform: scale(1.03);
}

.eco-vigil-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 12, 18, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--primary-rgb), 0.45);
  padding: 8px 18px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.eco-tag {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.eco-vigil-title {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.text-highlight-neon {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
}

.eco-vigil-description {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.eco-vigil-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.eco-highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.eco-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.eco-highlight-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 2px;
  font-family: var(--font-display);
}

.eco-highlight-item span {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.eco-vigil-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .eco-vigil-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .eco-vigil-card {
    padding: 2rem;
  }
  .eco-vigil-title {
    font-size: 1.9rem;
  }
}

/* =========================================================================
   EFECTOS AVANZADOS PARA TARJETAS DE SERVICIO (HOVER 3D & GLOW)
   ========================================================================= */
.service-catalog-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease, 
              opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-catalog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-catalog-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(var(--primary-rgb), 0.45) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(var(--primary-rgb), 0.2) !important;
}

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

.service-catalog-card .service-card-icon {
  transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.service-catalog-card:hover .service-card-icon {
  transform: scale(1.1) rotate(-4deg);
}

.service-catalog-card:hover .service-card-tag {
  letter-spacing: 0.5px;
}

/* =========================================================================
   SECCIÓN ASISTENTE DE PLATAFORMA (INSPIRADA EN PANDA AI / ECO-VIGIL)
   ========================================================================= */
.assistant-platform-section {
  padding: 95px 0;
  background: #080b13; /* Fondo azul oscuro profundo estilo la referencia */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.assistant-platform-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

/* Columna Izquierda: Visual & Floating UI Badges */
.assistant-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}

.assistant-visual-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.18) 0%, rgba(13, 17, 30, 0.4) 60%, transparent 80%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.assistant-mascot-frame {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1322;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.15);
  max-width: 420px;
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.assistant-mascot-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 45px rgba(59, 130, 246, 0.25);
}

.assistant-mascot-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.assistant-laptop-overlay {
  background: #14192b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
}

.laptop-screen-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.screen-dot.red { background: #ef4444; }
.screen-dot.yellow { background: #f59e0b; }
.screen-dot.green { background: #10b981; }

.screen-url {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-left: 8px;
}

.laptop-screen-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-ai-status {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Badges Flotantes */
.floating-ui-badge {
  position: absolute;
  z-index: 3;
  background: rgba(18, 23, 38, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-funnels {
  top: 20px;
  left: 0;
  border-color: rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
}

.badge-tool {
  top: 10px;
  right: 15px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.4);
  animation-delay: 1.5s;
}

.badge-crm {
  bottom: 25px;
  left: -10px;
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
  animation-delay: 2.8s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* Columna Derecha: Contenido & Tarjetas */
.assistant-main-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.assistant-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.assistant-feature-card {
  background: rgba(16, 21, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.35rem 1.6rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.assistant-feature-card:hover {
  transform: translateX(6px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.15);
}

.assistant-card-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.assistant-card-icon-badge.badge-blue {
  background: #2563eb;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.assistant-card-icon-badge.badge-indigo {
  background: #3b82f6;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.assistant-card-icon-badge.badge-cyan {
  background: #0284c7;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.assistant-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.assistant-card-text {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 992px) {
  .assistant-platform-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .assistant-main-title {
    font-size: 1.9rem;
  }
}

/* =========================================================================
   CARROUSEL SLIDER PARA CATÁLOGO DE SERVICIOS (DOPAMINES.CL)
   ========================================================================= */
.catalog-top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(18, 23, 38, 0.85);
  border: 1px solid var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
  transform: translateY(-2px);
}

.carousel-nav-btn:active {
  transform: scale(0.95);
}

.services-carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0 25px 0;
  cursor: grab;
  user-select: none;
}

.services-carousel-viewport:active {
  cursor: grabbing;
}

.services-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.services-carousel-track .service-catalog-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 320px;
  box-sizing: border-box;
  margin: 0;
}

.carousel-dots-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

@media (max-width: 1024px) {
  .services-carousel-track .service-catalog-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .catalog-top-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .carousel-nav-arrows {
    justify-content: flex-end;
  }
  .services-carousel-track .service-catalog-card {
    flex: 0 0 100%;
    min-width: unset;
  }
}

/* =========================================================================
   TARJETAS DE CATÁLOGO DESPLEGABLES (ACCORDION CARDS ULTRA-PREMIUM)
   ========================================================================= */
.service-catalog-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-catalog-card:hover {
  border-color: rgba(204, 255, 0, 0.4);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(204, 255, 0, 0.1);
  transform: translateY(-4px);
}

.service-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(204, 255, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(204, 255, 0, 0.25);
  margin-bottom: 0.25rem;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.card-toggle-btn {
  width: 100%;
  background: rgba(204, 255, 0, 0.05);
  border: 1px solid rgba(204, 255, 0, 0.3);
  color: var(--primary);
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  font-family: var(--font-body);
}

.card-toggle-btn:hover {
  background: rgba(204, 255, 0, 0.12);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.card-toggle-btn svg {
  transition: transform 0.35s ease;
  color: var(--primary);
}

.service-catalog-card.is-expanded .card-toggle-btn svg {
  transform: rotate(180deg);
}

.service-catalog-card.is-expanded .card-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink);
}

.service-card-expandable {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.service-catalog-card.is-expanded .service-card-expandable {
  max-height: 850px;
  opacity: 1;
  margin-top: 1.25rem;
}

.service-card-price {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-align: center;
  color: #10b981;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.service-card-price span {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* =========================================================================
   DOPAMINES SUITE CRM & EMBUDO INTERACTIVO SHOWCASE
   ========================================================================= */
.crm-mockup-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Floating 3D Icons */
.floating-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.floating-wa {
  top: 40px;
  left: 30px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  animation: floatMotion 4s ease-in-out infinite;
}
.floating-phone {
  top: 15px;
  left: 100px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  animation: floatMotion 5s ease-in-out infinite 0.5s;
}
.floating-bot {
  top: 160px;
  left: 160px;
  background: linear-gradient(135deg, #6366f1, #4338ca);
  animation: floatMotion 4.5s ease-in-out infinite 1s;
}

@keyframes floatMotion {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.05); }
}

/* Floating Card Left */
.floating-card-left {
  position: absolute;
  bottom: 60px;
  left: -20px;
  width: 230px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  z-index: 12;
  border: 1px solid rgba(255,255,255,0.8);
  animation: floatCardLeft 6s ease-in-out infinite;
}

@keyframes floatCardLeft {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.floating-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: #1e293b;
}
.green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}
.badge-atendido {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: auto;
}
.floating-card-msg {
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.35;
  margin-bottom: 8px;
}
.floating-card-tags {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}
.tag-pill {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.tag-blue { background: #dbeafe; color: #1d4ed8; }
.tag-yellow { background: #fef9c3; color: #a16207; }
.tag-orange { background: #ffedd5; color: #c2410c; }
.tag-green { background: #d1fae5; color: #047857; }
.tag-purple { background: #f3e8ff; color: #6b21a8; }

.floating-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 600;
  border-top: 1px solid #f1f5f9;
  padding-top: 6px;
}

/* Floating Audio Player Right */
.floating-card-right {
  position: absolute;
  bottom: 80px;
  right: -15px;
  background: rgba(220, 252, 231, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 10px 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  z-index: 12;
  border: 1px solid rgba(37, 211, 102, 0.4);
  animation: floatCardRight 5.5s ease-in-out infinite;
}

@keyframes floatCardRight {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

.audio-player-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.audio-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37,211,102,0.4);
}
.sound-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.sound-waveform .bar {
  width: 3px;
  height: 100%;
  background: #15803d;
  border-radius: 2px;
  animation: soundPulse 1.2s ease-in-out infinite alternate;
}
.sound-waveform .bar:nth-child(2n) { animation-delay: 0.2s; }
.sound-waveform .bar:nth-child(3n) { animation-delay: 0.4s; }
.sound-waveform .bar:nth-child(4n) { animation-delay: 0.6s; }

@keyframes soundPulse {
  0% { height: 4px; }
  100% { height: 18px; }
}

.user-avatar-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(59,130,246,0.4);
}

/* CRM Window Frame */
.crm-window-frame {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
  z-index: 5;
}
.crm-window-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.window-dots {
  display: flex;
  gap: 6px;
}
.w-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-url-bar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 0.75rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGlow 1.5s infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

/* Kanban Board Layout */
.crm-kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  background: #f1f5f9;
  min-height: 380px;
}

.kanban-col {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.kanban-col-header {
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.col-blue { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.col-cyan { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }
.col-orange { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.col-amber { background: #fffbeb; color: #b45309; border: 1px solid #fef3c7; }

.col-count {
  display: block;
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 500;
}

.crm-cards-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.crm-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  cursor: pointer;
}
.crm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  border-color: #3b82f6;
}

.crm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.card-status {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.status-atendido { background: #dcfce7; color: #166534; }
.status-pagado { background: #dbeafe; color: #1e40af; }
.status-soporte { background: #f3e8ff; color: #6b21a8; }

.crm-card-text {
  font-size: 0.72rem;
  color: #334155;
  line-height: 1.35;
  margin-bottom: 8px;
}

.crm-card-tags {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.crm-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 6px;
}
.crm-price {
  font-weight: 800;
  color: #0f172a;
}

.crm-sim-bar {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 12px 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .crm-kanban-board {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-card-left, .floating-card-right {
    display: none;
  }
}

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

/* =========================================================================
   MODAL DASHBOARD REAL FUNCIONAL & INTERACTIVO (DOPAMINES.CL)
   ========================================================================= */
.dashboard-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(5, 7, 13, 0.88);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dashboard-modal-container {
  background: #0d111c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 1140px;
  height: 90vh;
  max-height: 740px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 50px rgba(59, 130, 246, 0.2);
  animation: modalScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  0% { opacity: 0; transform: scale(0.95) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.dashboard-modal-header {
  height: 48px;
  background: #121726;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.win-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
.win-close { background: #ef4444; }
.win-min { background: #f59e0b; }
.win-max { background: #10b981; }

.browser-address-bar {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 14px;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-status-pill {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.dashboard-close-x {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}
.dashboard-close-x:hover { color: #ffffff; }

.dashboard-modal-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* Sidebar */
.dashboard-sidebar {
  width: 240px;
  background: #0a0d17;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 14px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.8rem;
  padding: 0 6px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #2563eb;
  color: #FFFFFF;
  font-weight: 800;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.brand-text span {
  font-size: 0.72rem;
  color: #64748b;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.db-nav-item {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.db-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
}

.db-nav-item.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.sidebar-user-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px;
  border-radius: 12px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info strong {
  display: block;
  font-size: 0.8rem;
  color: #FFFFFF;
}

.user-info span {
  font-size: 0.68rem;
  color: #64748b;
}

/* Main Content */
.dashboard-main-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  background: #0d111c;
}

.db-tab-content {
  display: none !important;
}
.db-tab-content.active {
  display: block !important;
  animation: fadeInTab 0.3s ease;
}

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

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

.tab-header h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.tab-header p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
}

.sale-toast {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  animation: bounceToast 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bounceToast {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

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

.kpi-card {
  background: rgba(22, 28, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.kpi-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.kpi-sub {
  font-size: 0.72rem;
  font-weight: 600;
}
.kpi-sub.green { color: #10b981; }
.kpi-sub.blue { color: #60a5fa; }
.kpi-sub.purple { color: #a855f7; }

.db-chart-box {
  background: rgba(22, 28, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
}

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

.chart-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.chart-badge {
  font-size: 0.72rem;
  color: #64748b;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: 12px;
}

/* CMS Editor Layout */
.cms-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cms-inputs-card, .cms-preview-card {
  background: rgba(22, 28, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
}

.cms-input {
  width: 100%;
  background: #0a0d17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
}

.cms-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.cms-save-alert {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.mock-website-preview {
  background: #090c15;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
}

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

.mock-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}
.mock-logo span { color: #3b82f6; }
.mock-menu { font-size: 0.72rem; color: #64748b; }

.mock-hero { text-align: center; padding: 1rem 0; }

.mock-offer-pill {
  display: inline-block;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #eab308;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.mock-hero h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.mock-hero p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

/* Orders Table */
.db-table-container {
  background: rgba(22, 28, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.db-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.db-data-table th {
  background: #121726;
  color: #94a3b8;
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.db-data-table td {
  padding: 12px 16px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}
.status-approved { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.status-in-progress { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.status-pending { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

/* AI Bot Simulator */
.ai-bot-simulator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.wa-chat-box, .ai-stats-card {
  background: rgba(22, 28, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
}

.wa-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 1rem;
}

.wa-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #128C7E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.wa-chat-messages {
  height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1rem;
}

.wa-msg {
  max-width: 80%;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.wa-msg-in {
  background: #1f2c34;
  color: #e9edef;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.wa-msg-out {
  background: #005c4b;
  color: #e9edef;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.wa-chat-input-bar {
  display: flex;
  gap: 8px;
}

.ai-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Custom Switch Slider */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155; transition: .4s; border-radius: 24px;
}
.slider:before {
  position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px;
  background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: #10b981; }
input:checked + .slider:before { transform: translateX(20px); }

/* =========================================================================
   NATIVE FLOATING AI SALES AGENT CHATBOT (DOPAMINES SUITE)
   ========================================================================= */
/* =========================================================================
   NATIVE FLOATING WIDGET & ACTION MENU (DOPAMINES DISENO MINIMALISTA)
   ========================================================================= */
#dopamines-floating-ai-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999999;
  font-family: var(--font-body, 'Outfit', 'Inter', sans-serif);
}

/* El Botón Flotante Circular Lime Green */
.ai-floating-trigger-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ccff00; /* Electric neon lime */
  border: none;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(204, 255, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.25s ease;
}

.ai-floating-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(204, 255, 0, 0.5);
  background: #d4ff00;
}

.ai-floating-trigger-btn:active {
  transform: scale(0.96);
}

.ai-trigger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

/* Contenedor Flotante Principal (Tarjeta Popup) */
.ai-chat-window {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 340px;
  max-width: calc(100vw - 36px);
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: slideUpPopup 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Encabezado del Menú */
.df-menu-view {
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
}

.df-menu-header-title {
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #808088;
  margin-bottom: 16px;
}

/* Opciones del Menú en Formato Tarjeta */
.df-option-card {
  background: #1c1c1f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.df-option-card:last-child {
  margin-bottom: 0;
}

.df-option-card:hover {
  background: #252529;
  border-color: rgba(204, 255, 0, 0.25);
  transform: translateY(-1px);
}

.df-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.df-option-icon svg {
  stroke: #ccff00;
}

.df-option-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.df-option-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.df-option-sub {
  font-size: 0.78rem;
  color: #94949e;
  line-height: 1.35;
}

/* Sub-Vista de Chat con Inteligencia Artificial */
.df-chat-view {
  display: none;
  flex-direction: column;
  height: 480px;
  max-height: 75vh;
}

.ai-chat-header {
  background: #18181c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.df-back-btn {
  background: none;
  border: none;
  color: #ccff00;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.df-back-btn:hover {
  background: rgba(204, 255, 0, 0.12);
}

.ai-chat-avatar-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ccff00;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.ai-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #111113;
}

.ai-chat-msg {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  animation: fadeInMsg 0.25s ease;
}

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

.ai-chat-msg.bot {
  background: #1e1e24;
  color: #f1f1f5;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-chat-msg.user {
  background: #ccff00;
  color: #000000;
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(204, 255, 0, 0.2);
}

.ai-chips-container {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #141416;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: none;
}

.ai-chip-btn {
  background: #1e1e24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ccff00;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-chip-btn:hover {
  background: #ccff00;
  color: #000000;
  border-color: #ccff00;
}

.ai-chat-input-footer {
  padding: 10px 14px;
  background: #18181c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 8px;
}

.ai-chat-input {
  flex: 1;
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
}

.ai-chat-input:focus {
  border-color: #ccff00;
}

.ai-chat-send {
  background: #ccff00;
  color: #000000;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ai-chat-send:hover {
  background: #d4ff00;
  transform: scale(1.04);
}

/* =========================================================================
   ELIMINACIÓN DE ANTIGUOS ELEMENTOS FLOTANTES (EXCEPTO WIDGET NUEVO)
   ========================================================================= */
#ai-chat-trigger,
.ai-chat-fab,
.dopamine-chat-widget,
.floating-chat-fab,
#dopamines-ai-chat-root,
.chat-trigger-btn,
.chat-container-box,
#live-fomo-widget,
.cookie-banner,
#cookie-consent-banner {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* OCULTAR COMPLETAMENTE TODAS LAS VENTANAS EMERGENTES FLOTANTES */
#dopamines-floating-ai-widget,
#dopamines-ai-chat-root,
.floating-chat-fab,
.ai-floating-trigger-btn,
.ai-chat-window,
#ai-widget-window,
#df-menu-view-container,
#df-chat-view-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}



/* =========================================================================
   WIDGET FLOTANTE THEARSENALE / DOPAMINES TALK WIDGET
   ========================================================================= */
#dopamines-talk-widget {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 9999999 !important;
  font-family: var(--font-body, 'Outfit', 'Inter', system-ui, -apple-system, sans-serif) !important;
}

.talk-trigger-btn {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: #d4ff00 !important;
  border: none !important;
  color: #000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 255, 0, 0.4) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease !important;
  margin-left: auto !important;
}

.talk-trigger-btn:hover {
  transform: scale(1.06) !important;
  background: #dbff1a !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 255, 0, 0.6) !important;
}

.talk-trigger-btn:active {
  transform: scale(0.95) !important;
}

.talk-popup-window {
  position: absolute !important;
  bottom: 74px !important;
  right: 0 !important;
  width: 330px !important;
  max-width: calc(100vw - 32px) !important;
  background: #121212 !important;
  border: 1px solid #262626 !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 2px rgba(255, 255, 255, 0.1) !important;
  padding: 22px 20px 20px 20px !important;
  box-sizing: border-box !important;
  display: flex;
  flex-direction: column;
}

.talk-header-title {
  font-family: var(--font-mono, 'Space Mono', 'Courier New', monospace) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #71717a !important;
  margin-bottom: 16px !important;
  display: block !important;
}

.talk-option-card {
  background: #1c1c1e !important;
  border: 1px solid #28282b !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important;
  box-sizing: border-box !important;
}

.talk-option-card:last-child {
  margin-bottom: 0 !important;
}

.talk-option-card:hover {
  background: #242427 !important;
  border-color: rgba(212, 255, 0, 0.35) !important;
  transform: translateY(-1px) !important;
}

.talk-option-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.talk-option-icon svg {
  stroke: #d4ff00 !important;
}

.talk-option-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.talk-option-title {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
}

.talk-option-sub {
  font-size: 0.8rem !important;
  color: #808088 !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

@media (max-width: 768px) {
  #dopamines-talk-widget {
    bottom: 20px !important;
    right: 16px !important;
  }
}

/* =========================================================================
   ESTILOS MOCKUP 3D MINIMALISTA ELEGANTE (DOPAMINES)
   ========================================================================= */
.mockup-img-hero {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 0 12px 12px !important;
  display: block !important;
}

.mockup-img-phone {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 20px !important;
  display: block !important;
}

.glass-mockup.browser-mock {
  overflow: hidden !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.glass-mockup.phone-mock {
  overflow: hidden !important;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 255, 0, 0.25) !important;
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
}

/* =========================================================================
   MOCKUPS BLANCOS INTERACTIVOS DE ALTA RESOLUCIÓN (FONDO BLANCO & FUNCIONALIDAD)
   ========================================================================= */
.white-theme-mock {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  overflow: hidden !important;
}

.white-theme-mock .mockup-header {
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.white-theme-mock .mockup-url {
  background: #ffffff !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
}

/* Interfaz Blanca del Browser Mockup */
.mockup-white-canvas {
  background: #ffffff !important;
  padding: 12px 14px !important;
  font-family: var(--font-body) !important;
  color: #0f172a !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  height: calc(100% - 32px) !important;
  overflow: hidden !important;
}

.mockup-white-nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.mockup-white-title {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.mockup-live-tag {
  background: #dcfce7 !important;
  color: #15803d !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
}

.mockup-white-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
}

.mockup-stat-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 8px !important;
}

.mockup-stat-label {
  font-size: 0.6rem !important;
  color: #64748b !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.mockup-stat-val {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  color: #0f172a !important;
}

.mockup-stat-sub {
  font-size: 0.62rem !important;
  color: #16a34a !important;
  font-weight: 700 !important;
}

.mockup-white-btn {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  text-decoration: none !important;
}
.mockup-white-btn:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* Interfaz Blanca del Mobile Phone Mockup */
.phone-mock.white-theme-mock {
  background: #0f172a !important;
  padding: 8px !important;
  border: 2px solid #334155 !important;
}

.phone-white-screen {
  background: #ffffff !important;
  border-radius: 20px !important;
  height: 100% !important;
  padding: 10px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  color: #0f172a !important;
  overflow: hidden !important;
}

.phone-status-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  padding: 0 4px !important;
}

.phone-app-header {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 6px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
}

.phone-app-tabs {
  display: flex !important;
  gap: 4px !important;
}

.phone-tab-btn {
  flex: 1 !important;
  padding: 4px 2px !important;
  border-radius: 6px !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #475569 !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
}

.phone-tab-btn.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

.phone-toast-alert {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 8px !important;
  padding: 6px 8px !important;
  font-size: 0.65rem !important;
  color: #1e40af !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  animation: pulseToast 3s infinite alternate !important;
}

/* =========================================================================
   SITIO WEB COMPLETO DENTRO DE LOS MOCKUPS (FONDO BLANCO & INTERACTIVO)
   ========================================================================= */
.mockup-website-container {
  background: #ffffff !important;
  color: #0f172a !important;
  font-family: var(--font-body) !important;
  height: calc(100% - 32px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  position: relative !important;
}

.mini-site-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.mini-site-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 8px 14px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.mini-site-logo {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
}

.mini-site-nav {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}

.mini-nav-item {
  font-size: 0.64rem !important;
  color: #475569 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 3px 6px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.mini-nav-item:hover, .mini-nav-item.active {
  color: #2563eb !important;
  background: #eff6ff !important;
}

.mini-site-btn-pagar {
  background: var(--primary) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 0.63rem !important;
  padding: 3px 9px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(204, 255, 0, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
}

.mini-browser-viewport {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  padding: 8px 14px 12px 14px !important;
  gap: 8px !important;
  overflow: hidden !important;
  transition: opacity 0.2s ease !important;
}

.mini-site-announcement {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1e40af !important;
  font-size: 0.58rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  text-align: center !important;
}

.mini-site-hero {
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, #ffffff 75%) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.mini-hero-tag {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  font-size: 0.56rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 10px !important;
  display: inline-block !important;
  align-self: flex-start !important;
}

.mini-hero-h1 {
  font-family: var(--font-display) !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.mini-hero-p {
  font-size: 0.65rem !important;
  color: #64748b !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.mini-hero-cta-group {
  display: flex !important;
  gap: 6px !important;
  margin-top: 4px !important;
}

.mini-btn-primary {
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
}

.mini-btn-flow {
  background: var(--primary) !important;
  color: #000000 !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
}

.mini-site-stats-bar {
  display: flex !important;
  justify-content: space-between !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 5px 8px !important;
  font-size: 0.58rem !important;
  color: #475569 !important;
}

.mini-site-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
}

.mini-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 6px 8px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.mini-card-icon {
  font-size: 0.85rem !important;
}

.mini-card-title {
  font-size: 0.64rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.mini-card-desc {
  font-size: 0.56rem !important;
  color: #64748b !important;
}

.mini-card-price {
  font-size: 0.66rem !important;
  font-weight: 800 !important;
  color: #16a34a !important;
  margin-top: 2px !important;
}

/* MOBILE PHONE WEBPAGE STYLES */
.phone-white-screen {
  background: #ffffff !important;
  color: #0f172a !important;
  height: 100% !important;
  padding: 8px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  font-family: var(--font-body) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

.phone-status-bar {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 0.55rem !important;
  color: #64748b !important;
  font-weight: 700 !important;
  padding: 0 4px !important;
}

.phone-url-bar {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 2px 8px !important;
  font-size: 0.58rem !important;
  color: #334155 !important;
  text-align: center !important;
  font-weight: 600 !important;
}

.phone-app-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 2px 0 !important;
}

.phone-app-tabs {
  display: flex !important;
  gap: 3px !important;
  overflow-x: auto !important;
}

.phone-tab-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  font-size: 0.56rem !important;
  font-weight: 700 !important;
  padding: 3px 6px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.phone-tab-btn.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

.phone-screen-viewport {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  transition: opacity 0.2s ease !important;
}

.phone-web-banner {
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #ffffff 80%) !important;
  border: 1px solid #dbeafe !important;
  border-radius: 10px !important;
  padding: 8px !important;
}

.phone-tag {
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 0.52rem !important;
  font-weight: 800 !important;
  padding: 1px 5px !important;
  border-radius: 8px !important;
  display: inline-block !important;
}

.phone-h3 {
  font-family: var(--font-display) !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 3px 0 2px 0 !important;
  line-height: 1.2 !important;
}

.phone-p {
  font-size: 0.6rem !important;
  color: #64748b !important;
  margin: 0 !important;
}

.phone-service-row {
  display: flex !important;
  gap: 4px !important;
}

.phone-service-pill {
  flex: 1 !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 4px !important;
  font-size: 0.58rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  text-align: center !important;
}

.phone-flow-box {
  background: #fefce8 !important;
  border: 1px solid #fef08a !important;
  border-radius: 10px !important;
  padding: 6px 8px !important;
}

.phone-flow-btn {
  background: var(--primary) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 0.6rem !important;
  padding: 4px !important;
  border-radius: 6px !important;
  text-align: center !important;
  text-decoration: none !important;
  display: block !important;
  box-shadow: 0 2px 4px rgba(255, 221, 0, 0.3) !important;
}

.phone-wa-btn {
  background: #25d366 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 6px !important;
  text-align: center !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  display: block !important;
}

/* =========================================================================
   MOCKUPS REALISTAS DE MAC & IPHONE (CON SITIO WEB EN ESPAÑOL)
   ========================================================================= */
.mac-device-mockup {
  width: 490px !important;
  height: 315px !important;
  top: 30px !important;
  left: 10px !important;
  background: #0f172a !important;
  border: 6px solid #334155 !important;
  border-radius: 16px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
  overflow: hidden !important;
  transform: rotateY(-18deg) rotateX(10deg) translateZ(0) !important;
}

.mac-header-bar {
  background: #1e293b !important;
  border-bottom: 1px solid #334155 !important;
  height: 34px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.mac-screen-viewport {
  width: 100% !important;
  height: calc(100% - 34px) !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.mac-screen-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* iPhone Device Mockup */
.iphone-device-mockup {
  width: 220px !important;
  height: 440px !important;
  bottom: 20px !important;
  right: 15px !important;
  background: #090d16 !important;
  border: 7px solid #1e293b !important;
  border-radius: 40px !important;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.25) !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: rotateY(14deg) rotateX(-8deg) translateZ(60px) !important;
  position: absolute !important;
}

.iphone-dynamic-island {
  position: absolute !important;
  top: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 72px !important;
  height: 16px !important;
  background: #000000 !important;
  border-radius: 20px !important;
  z-index: 10 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
}

.iphone-screen-container {
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
}

.iphone-status-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 6px 14px 2px 14px !important;
  font-size: 0.55rem !important;
  color: #475569 !important;
  font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 5 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.iphone-brand-tag {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.iphone-screen-viewport {
  width: 100% !important;
  height: 100% !important;
  padding-top: 26px !important;
  overflow: hidden !important;
}

.iphone-screen-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
