/* ==========================================================================
   INCUBEIT CSS Design System
   Obsidian Dark / Neon Theme & Glassmorphism Framework
   v3.0 — 20 Mejoras Implementadas
   ========================================================================== */

/* Scrollbar personalizado */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #08080a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #06b6d4, #a855f7);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #0891b2, #9333ea); }
* { scrollbar-width: thin; scrollbar-color: #06b6d4 #08080a; }

/* ============================================================
   Design Tokens — Modo Oscuro (default)
   ============================================================ */
:root {
  --bg-obsidian: #08080a;
  --bg-page: #08080a;
  --bg-card: rgba(18, 18, 24, 0.65);
  --bg-card-hover: rgba(26, 26, 36, 0.8);

  --primary-cyan: #06b6d4;
  --primary-cyan-rgb: 6, 182, 212;
  --accent-purple: #a855f7;
  --accent-purple-rgb: 168, 85, 247;

  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(6, 182, 212, 0.2);
  --border-cyan-active: rgba(6, 182, 212, 0.6);

  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --max-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --neon-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
  --purple-neon-shadow: 0 0 20px rgba(168, 85, 247, 0.25);

  --header-bg: rgba(8, 8, 10, 0.75);
  --footer-bg: #040406;
  --input-bg: rgba(0, 0, 0, 0.2);
  --console-bg: rgba(0, 0, 0, 0.3);
  --nested-card-bg: rgba(0, 0, 0, 0.3);
}

/* ============================================================
   Mejora 16: Modo Claro
   ============================================================ */
[data-theme="light"] {
  --bg-obsidian: #f0f4f8;
  --bg-page: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-cyan: rgba(6, 182, 212, 0.3);
  --border-cyan-active: rgba(6, 182, 212, 0.7);

  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  --neon-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
  --purple-neon-shadow: 0 0 20px rgba(168, 85, 247, 0.15);

  --header-bg: rgba(240, 244, 248, 0.85);
  --footer-bg: #e2e8f0;
  --input-bg: rgba(0, 0, 0, 0.04);
  --console-bg: rgba(0, 0, 0, 0.06);
  --nested-card-bg: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] ::-webkit-scrollbar-track { background: #e2e8f0; }
[data-theme="light"] * { scrollbar-color: #06b6d4 #e2e8f0; }

[data-theme="light"] .glow-bg { opacity: 0.07; }

[data-theme="light"] .log-line { color: var(--text-secondary); }
[data-theme="light"] .window-title { color: var(--text-muted); }
[data-theme="light"] .agent-node-net { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .console-logs { background: var(--console-bg); border-color: var(--border-light); }
[data-theme="light"] .node-icon { background: #fff; }
[data-theme="light"] footer { background: var(--footer-bg); }
[data-theme="light"] .footer-bottom { border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .integrations-ticker { background: rgba(0,0,0,0.04); }
[data-theme="light"] header { background: var(--header-bg); }
[data-theme="light"] header.scrolled { background: rgba(240, 244, 248, 0.96); }
[data-theme="light"] .nav-links { background: transparent; }
[data-theme="light"] .urgency-banner { background: linear-gradient(135deg, #0891b2, #7c3aed); }
[data-theme="light"] .demo-bg-grid { background-image: linear-gradient(rgba(6,182,212,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(6,182,212,0.08) 1px, transparent 1px); }
[data-theme="light"] .comparator-table thead th { background: rgba(6,182,212,0.08); }
[data-theme="light"] .comparator-table tbody tr:nth-child(odd) { background: rgba(0,0,0,0.02); }
[data-theme="light"] .chat-panel { background: rgba(255,255,255,0.95); }
[data-theme="light"] .chat-header { background: linear-gradient(135deg, #0891b2, #7c3aed); }
[data-theme="light"] .chat-msg.agent .chat-bubble { background: rgba(6,182,212,0.1); color: var(--text-primary); }
[data-theme="light"] .chat-msg.user .chat-bubble { background: var(--primary-cyan); color: #000; }
[data-theme="light"] .chat-input { background: rgba(0,0,0,0.05); color: var(--text-primary); border-color: var(--border-light); }
[data-theme="light"] .quick-reply { background: rgba(6,182,212,0.08); color: var(--text-secondary); border-color: var(--border-cyan); }
[data-theme="light"] .quick-reply:hover { background: rgba(6,182,212,0.2); }
[data-theme="light"] .process-connector .connector-line { background: linear-gradient(90deg, var(--primary-cyan), var(--accent-purple)); }

/* ============================================================
   Theme Toggle Button (Mejora 16)
   ============================================================ */
.theme-toggle {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-light);
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-secondary);
  transition: var(--transition-smooth); flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(6,182,212,0.1); border-color: var(--primary-cyan); color: var(--primary-cyan); }
.theme-toggle:focus-visible { outline: 2px solid var(--primary-cyan); outline-offset: 2px; }

[data-theme="dark"] .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: block; }
[data-theme="light"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: block; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed; top: 0; left: 0; width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--accent-purple));
  z-index: 9999;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
  transition: width 0.1s linear;
}

/* Toast Notifications */
#toast-container {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 9998;
  display: flex; flex-direction: column; gap: 0.75rem; pointer-events: none;
}
.toast {
  background: rgba(18, 18, 24, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-cyan); border-radius: 12px;
  padding: 1rem 1.5rem; min-width: 280px; max-width: 360px;
  display: flex; align-items: center; gap: 0.75rem; pointer-events: all;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), var(--neon-shadow);
  animation: toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
[data-theme="light"] .toast { background: rgba(255,255,255,0.95); }
.toast.toast-exit { animation: toast-out 0.35s ease forwards; }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
.toast-icon.success { color: #10b981; }
.toast-icon.error { color: #ef4444; }
.toast-icon.info { color: var(--primary-cyan); }
.toast-body { flex: 1; }
.toast-title { font-family: var(--font-title); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.15rem; }
.toast-msg { font-size: 0.82rem; color: var(--text-secondary); }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 0.25rem; border-radius: 4px; transition: color 0.2s; }
.toast-close:hover { color: var(--text-primary); }
.toast-close:focus-visible { outline: 2px solid var(--primary-cyan); }
@keyframes toast-in { from { opacity: 0; transform: translateX(110%); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateX(0); max-height: 200px; margin-bottom: 0.75rem; } to { opacity: 0; transform: translateX(110%); max-height: 0; margin-bottom: 0; padding: 0; } }

/* Background Glow Effects */
.glow-bg { position: fixed; width: 500px; height: 500px; border-radius: 50%; filter: blur(140px); z-index: -1; pointer-events: none; opacity: 0.15; }
.glow-1 { background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%); top: 10%; left: -10%; }
.glow-2 { background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%); top: 60%; right: -10%; }

/* Container */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
a { color: inherit; text-decoration: none; transition: var(--transition-smooth); }
.highlight { color: var(--primary-cyan); }
.gradient-text {
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.text-red { color: #ef4444; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.8rem 1.8rem;
  font-family: var(--font-title); font-weight: 600;
  border-radius: 8px; cursor: pointer;
  transition: var(--transition-smooth); font-size: 1rem; border: none;
}
.btn-primary { background: linear-gradient(135deg, var(--primary-cyan), #0891b2); color: #000; box-shadow: var(--neon-shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(6, 182, 212, 0.55); }
.btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); border: 1px solid var(--border-light); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary-cyan); transform: translateY(-2px); }
.btn-secondary:focus-visible { outline: 2px solid var(--primary-cyan); outline-offset: 2px; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light); border-radius: 16px; padding: 2rem;
  box-shadow: var(--glass-shadow); transition: var(--transition-smooth);
}
.glass-card:hover { background: var(--bg-card-hover); border-color: rgba(255, 255, 255, 0.13); }

/* ============================================================
   Mejora 5: Urgency Banner
   ============================================================ */
.urgency-banner {
  background: linear-gradient(135deg, rgba(6,182,212,0.9), rgba(168,85,247,0.9));
  backdrop-filter: blur(10px);
  padding: 0.6rem 1rem;
  position: relative; z-index: 200;
  transition: all 0.35s ease;
}
.urgency-banner.hidden { display: none; }
.urgency-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
}
.urgency-flame { font-size: 1.1rem; animation: pulse-glow 2s infinite; }
.urgency-text { font-family: var(--font-title); font-size: 0.88rem; color: #fff; font-weight: 500; text-align: center; }
.urgency-text strong { font-weight: 800; }
.urgency-cta {
  background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.4);
  padding: 0.3rem 0.9rem; border-radius: 100px;
  font-family: var(--font-title); font-weight: 700; font-size: 0.82rem;
  display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap;
}
.urgency-cta:hover { background: rgba(255,255,255,0.35); }
.urgency-close {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer;
  font-size: 1rem; padding: 0.2rem; line-height: 1;
}
.urgency-close:hover { color: #fff; }
.urgency-close:focus-visible { outline: 2px solid #fff; border-radius: 4px; }

/* ============================================================
   Mejora 3: Back to Top Button
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 6rem; left: 2rem; z-index: 400;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(18,18,24,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-cyan); color: var(--primary-cyan);
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--neon-shadow); transition: var(--transition-smooth);
  animation: fadeInUp 0.35s ease;
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(6,182,212,0.45); background: rgba(6,182,212,0.15); }
.back-to-top:focus-visible { outline: 2px solid var(--primary-cyan); outline-offset: 3px; }
[data-theme="light"] .back-to-top { background: rgba(255,255,255,0.9); }

/* Header */
header {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
  width: calc(100% - 3rem); max-width: var(--max-width);
  z-index: 100;
  background: var(--header-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light); border-radius: 14px;
  box-shadow: var(--glass-shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
header.scrolled {
  top: 0.5rem;
  background: rgba(8, 8, 10, 0.92);
  border-color: rgba(6, 182, 212, 0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 0 20px rgba(6,182,212,0.08);
}
header.scrolled .nav-container { height: 60px; }
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  height: 72px; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  gap: 1rem;
  transition: height 0.35s ease;
}
.logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-title); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; }
.logo-svg { width: 28px; height: 28px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.logo:hover .logo-svg { transform: rotate(30deg) scale(1.1); }
.logo-badge {
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  color: #08080a; padding: 0.15rem 0.4rem; border-radius: 5px;
  font-weight: 800; font-size: 0.8rem; margin-left: 0.3rem; letter-spacing: 0.05em;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:focus-visible { outline: 2px solid var(--primary-cyan); border-radius: 4px; }
.btn-nav {
  border: 1px solid var(--border-cyan); padding: 0.5rem 1.2rem;
  border-radius: 6px; color: var(--primary-cyan) !important; background: rgba(6, 182, 212, 0.05);
}
.btn-nav:hover { background: rgba(6, 182, 212, 0.15); box-shadow: var(--neon-shadow); border-color: var(--primary-cyan); }
.mobile-nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; padding: 0.25rem; }
.mobile-nav-toggle:focus-visible { outline: 2px solid var(--primary-cyan); border-radius: 4px; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  display: flex; align-items: center; gap: 0.6rem;
  background: #25D366; color: #fff;
  padding: 0.75rem 1.2rem; border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  font-family: var(--font-title); font-weight: 700; font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 180px; overflow: hidden;
}
.whatsapp-fab:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55); background: #20c05c; }
.whatsapp-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.whatsapp-fab-label { font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 480px) {
  .whatsapp-fab { padding: 0.9rem; border-radius: 50%; max-width: none; }
  .whatsapp-fab-label { display: none; }
}

/* Hero Section */
.hero { padding: 10rem 0 6rem 0; position: relative; }
.hero-wrapper { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.tagline-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(6, 182, 212, 0.1); border: 1px solid var(--border-cyan);
  padding: 0.4rem 1rem; border-radius: 100px;
  color: var(--primary-cyan); font-family: var(--font-title); font-size: 0.85rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 6px; height: 6px; background-color: var(--primary-cyan);
  border-radius: 50%; box-shadow: 0 0 10px var(--primary-cyan);
  animation: pulse-glow 2s infinite;
}
.hero h1 { font-size: 4rem; line-height: 1.15; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 600px; }
.hero-actions { display: flex; gap: 1.5rem; margin-bottom: 4rem; }
.hero-stats { display: flex; gap: 3rem; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-title); font-size: 2.2rem; font-weight: 800; color: var(--text-primary); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; justify-content: center; }
.hero-dashboard { width: 100%; max-width: 450px; padding: 0; overflow: hidden; }
.card-header {
  background: rgba(255, 255, 255, 0.02); border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 1.2rem; display: flex; align-items: center; gap: 1rem;
}
.window-dots { display: flex; gap: 0.4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }
.window-title { font-family: var(--font-title); font-size: 0.8rem; color: var(--text-muted); }
.card-body { padding: 1.2rem 1.5rem 1.5rem; }

/* Swarm Controls */
.swarm-controls { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.swarm-btn {
  flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border-light);
  color: var(--text-muted); border-radius: 6px; padding: 0.4rem 0.5rem;
  font-family: var(--font-title); font-size: 0.72rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; gap: 0.35rem; justify-content: center;
}
.swarm-btn:hover { border-color: var(--primary-cyan); color: var(--text-primary); }
.swarm-btn:focus-visible { outline: 2px solid var(--primary-cyan); }
.swarm-btn.active { background: rgba(6, 182, 212, 0.12); border-color: var(--primary-cyan); color: var(--primary-cyan); }
.swarm-btn[data-state="learning"].active { background: rgba(168, 85, 247, 0.12); border-color: var(--accent-purple); color: var(--accent-purple); }
.swarm-btn[data-state="idle"].active { background: rgba(107,114,128,0.12); border-color: #6b7280; color: #9ca3af; }

/* Agent Network */
.agent-node-net {
  height: 200px; position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.05); border-radius: 12px;
  background: rgba(0, 0, 0, 0.2); margin-bottom: 1rem; overflow: hidden;
}
.agent-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; z-index: 5; }
.node-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-obsidian); border: 2px solid var(--border-light);
  transition: var(--transition-smooth);
}
.node-label { font-size: 0.68rem; color: var(--text-secondary); font-weight: 600; white-space: nowrap; }
.main-node { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.main-node .node-icon { width: 54px; height: 54px; border-color: var(--accent-purple); box-shadow: var(--purple-neon-shadow); color: var(--accent-purple); }
.node-a { top: 15%; left: 10%; }
.node-b { top: 10%; left: 70%; }
.node-c { top: 65%; left: 42%; }
.node-a .node-icon, .node-b .node-icon, .node-c .node-icon {
  color: var(--primary-cyan); border-color: var(--primary-cyan); box-shadow: var(--neon-shadow);
  animation: float 4s ease-in-out infinite alternate;
}
.node-b .node-icon { animation-delay: 1.3s; }
.node-c .node-icon { animation-delay: 2.5s; }
.pulse-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.line-glow { stroke: rgba(6, 182, 212, 0.15); stroke-width: 1.5; stroke-dasharray: 6; animation: dash 30s linear infinite; }
.swarm-idle .node-icon { animation: none !important; opacity: 0.45; }
.swarm-idle .line-glow { stroke: rgba(107,114,128,0.1); }
.swarm-idle .main-node .node-icon { border-color: #6b7280; box-shadow: none; color: #6b7280; }
.swarm-learning .node-a .node-icon, .swarm-learning .node-b .node-icon, .swarm-learning .node-c .node-icon { color: var(--accent-purple); border-color: var(--accent-purple); box-shadow: var(--purple-neon-shadow); }
.swarm-learning .line-glow { stroke: rgba(168, 85, 247, 0.2); }
.console-logs {
  font-family: monospace; font-size: 0.73rem;
  background: var(--console-bg); padding: 0.8rem; border-radius: 8px;
  border: 1px solid var(--border-light); height: 90px;
  overflow-y: auto; display: flex; flex-direction: column; gap: 0.25rem;
}
.log-line { color: var(--text-secondary); line-height: 1.4; }
.text-cyan { color: var(--primary-cyan); }
.text-purple { color: var(--accent-purple); }
.text-green { color: #10b981; }
.text-yellow { color: #f59e0b; }

/* Scroll Indicator */
.scroll-indicator {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--text-muted); font-size: 0.72rem; font-family: var(--font-title);
  animation: fadeInUp 1s 1.5s ease both;
}
.scroll-mouse { width: 22px; height: 36px; border: 2px solid rgba(6,182,212,0.4); border-radius: 11px; display: flex; justify-content: center; padding-top: 5px; }
.scroll-wheel { width: 4px; height: 8px; background: var(--primary-cyan); border-radius: 2px; animation: scroll-wheel 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
@keyframes scroll-wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* Integration Ticker */
.integrations-ticker { padding: 2.5rem 0; overflow: hidden; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); background: rgba(0,0,0,0.2); }
.ticker-label { text-align: center; font-size: 0.78rem; font-family: var(--font-title); color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.2rem; }
.ticker-track { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent); mask: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent); }
.ticker-inner { display: flex; gap: 0; width: max-content; animation: ticker-scroll 35s linear infinite; }
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 0.6rem; padding: 0 2.2rem; font-family: var(--font-title); font-weight: 600; font-size: 0.9rem; color: var(--text-secondary); white-space: nowrap; border-right: 1px solid var(--border-light); transition: color 0.2s; }
.ticker-item:hover { color: var(--primary-cyan); }
.ticker-item i { font-size: 1.1rem; color: var(--primary-cyan); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section-title-wrap { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; font-family: var(--font-title); color: var(--accent-purple); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1rem; font-weight: 700; margin-bottom: 0.8rem; }
.section-title-wrap h2 { font-size: 2.6rem; margin-bottom: 1rem; }
.section-desc { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Services */
.services { padding: 6rem 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Mejora 17: Microinteracciones en tarjetas de servicio */
.service-card {
  display: flex; flex-direction: column; gap: 1.2rem; position: relative;
  overflow: hidden; cursor: pointer;
  transition: var(--transition-smooth);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary-cyan), transparent);
  opacity: 0; transition: var(--transition-smooth);
}
.service-card:hover::before, .service-card:focus-within::before { opacity: 1; }
.service-card:hover, .service-card:focus-within { transform: translateY(-5px); }
.service-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(6, 182, 212, 0.1); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary-cyan); }
.service-card h3 { font-size: 1.35rem; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; }
.service-feature { margin-top: auto; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }

.service-expand {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease, padding 0.3s ease;
  padding-top: 0;
}
.service-card:hover .service-expand, .service-card:focus-within .service-expand {
  max-height: 200px; opacity: 1; padding-top: 1rem;
}
.service-detail-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.service-detail-list li { font-size: 0.83rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.5rem; }
.service-detail-list li i { font-size: 0.7rem; flex-shrink: 0; }

/* ============================================================
   Mejora 11: ¿Por qué INCUBEIT?
   ============================================================ */
.why-us { padding: 6rem 0; background: rgba(6,182,212,0.02); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem 1.5rem; }
.why-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(168,85,247,0.15)); border: 1px solid var(--border-cyan); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--primary-cyan); }
.why-card h3 { font-size: 1.15rem; }
.why-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* Cases Accordion */
.cases-section { padding: 6rem 0; }
.accordion-list { display: flex; flex-direction: column; gap: 1rem; }
.accordion-item { padding: 0; overflow: hidden; }
.accordion-header { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; background: none; border: none; cursor: pointer; color: var(--text-primary); text-align: left; gap: 1rem; transition: all 0.25s ease; }
.accordion-header:hover { background: rgba(6, 182, 212, 0.04); }
.accordion-header:focus-visible { outline: 2px solid var(--primary-cyan); outline-offset: -2px; border-radius: 4px; }
.accordion-meta { display: flex; flex-direction: column; gap: 0.3rem; }
.accordion-industry { font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; }
.accordion-result { font-size: 0.85rem; font-weight: 600; }
.accordion-icon { font-size: 0.9rem; color: var(--text-muted); flex-shrink: 0; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.accordion-header[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-body { padding: 0 2rem; max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease; }
.accordion-body:not([hidden]) { padding: 0 2rem 2rem; max-height: 600px; }
.accordion-body[hidden] { display: block !important; max-height: 0; padding: 0 2rem; }
.before-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.col-label { display: inline-block; font-family: var(--font-title); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.8rem; border-radius: 20px; margin-bottom: 1rem; }
.before-label { background: rgba(239, 68, 68, 0.12); color: #ef4444; border: 1px solid rgba(239,68,68,0.25); }
.after-label { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16,185,129,0.25); }
.before-col ul, .after-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.before-col li, .after-col li { font-size: 0.9rem; color: var(--text-secondary); padding-left: 1.2rem; position: relative; line-height: 1.4; }
.before-col li::before { content: '×'; position: absolute; left: 0; color: #ef4444; font-weight: 700; }
.after-col li::before { content: '✓'; position: absolute; left: 0; color: #10b981; font-weight: 700; }
.roi-badge { display: inline-block; background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(168,85,247,0.12)); border: 1px solid var(--border-cyan); color: var(--primary-cyan); padding: 0.5rem 1.2rem; border-radius: 8px; font-family: var(--font-title); font-weight: 700; font-size: 0.9rem; }

/* ============================================================
   Mejora 15: Demo Video Section
   ============================================================ */
.demo-section { padding: 6rem 0; }
.demo-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.demo-video-container {
  position: relative; padding: 0; overflow: hidden;
  aspect-ratio: 16/9; min-height: 300px;
}
.demo-play-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; gap: 1.5rem;
  background: rgba(0,0,0,0.5);
  transition: background 0.3s ease;
}
.demo-play-overlay:hover { background: rgba(0,0,0,0.35); }
.demo-play-overlay:hover .demo-play-btn { transform: scale(1.12); box-shadow: 0 0 40px rgba(6,182,212,0.6); }
.demo-play-overlay:focus-visible { outline: 3px solid var(--primary-cyan); outline-offset: -3px; }
.demo-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-color: #06080a;
  background-image: linear-gradient(rgba(6,182,212,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(6,182,212,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.demo-play-btn {
  position: relative; z-index: 1;
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 0 30px rgba(6,182,212,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-left: 4px;
}
.demo-video-meta {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.demo-duration { font-size: 0.8rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 0.3rem; }
.demo-title-label { font-family: var(--font-title); font-weight: 600; color: rgba(255,255,255,0.85); font-size: 0.9rem; text-align: center; }
.demo-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.demo-features-list { display: flex; flex-direction: column; gap: 1.2rem; }
.demo-features-list h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.demo-feature-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.demo-feature-icon { font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }
.demo-feature-item span { font-size: 0.95rem; color: var(--text-secondary); }
.demo-features-list .btn { margin-top: 0.5rem; align-self: flex-start; }

/* Pricing */
.pricing { padding: 6rem 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; position: relative; padding: 3rem 2rem 2.5rem 2rem; cursor: pointer; }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.popular { border-color: var(--primary-cyan); box-shadow: 0 10px 40px rgba(6, 182, 212, 0.1); transform: translateY(-8px); }
.pricing-card.popular:hover { box-shadow: 0 15px 40px rgba(6, 182, 212, 0.15); transform: translateY(-12px); }
.pricing-badge { position: absolute; top: 1.2rem; right: 1.5rem; background: rgba(255, 255, 255, 0.05); padding: 0.2rem 0.8rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }
.pricing-badge-popular { position: absolute; top: 1.2rem; right: 1.5rem; background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple)); color: #000; padding: 0.25rem 0.9rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.pricing-description { color: var(--text-secondary); font-size: 0.9rem; min-height: 50px; margin-bottom: 1.5rem; }
.price-wrap { margin-bottom: 2rem; }
.price-wrap .currency { font-size: 0.9rem; font-weight: 600; color: var(--primary-cyan); vertical-align: super; }
.price-wrap .price { font-size: 2rem; font-family: var(--font-title); font-weight: 800; transition: all 0.35s ease; }
.price-wrap .period { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }
.divider { height: 1px; background: var(--border-light); margin-bottom: 2rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 3rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.95rem; color: var(--text-secondary); }
.pricing-features li i { margin-top: 0.2rem; font-size: 1rem; }
.pricing-card .btn { margin-top: auto; }

/* Retainer Toggle */
.retainer-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.toggle-label { font-family: var(--font-title); font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); transition: color 0.25s; }
.toggle-label.active-label { color: var(--primary-cyan); }
.retainer-toggle { width: 52px; height: 28px; background: rgba(255,255,255,0.08); border: 1px solid var(--border-light); border-radius: 14px; cursor: pointer; position: relative; padding: 0; transition: all 0.3s ease; }
.retainer-toggle[aria-pressed="true"] { background: rgba(6, 182, 212, 0.2); border-color: var(--primary-cyan); }
.toggle-thumb { position: absolute; top: 3px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-muted); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.retainer-toggle[aria-pressed="true"] .toggle-thumb { left: 26px; background: var(--primary-cyan); box-shadow: 0 0 8px rgba(6,182,212,0.5); }
.retainer-toggle:focus-visible { outline: 2px solid var(--primary-cyan); outline-offset: 3px; }

/* Comparator CTA */
.comparator-cta-wrap { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   Mejora 4: Modal Comparador
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  animation: fade-in 0.25s ease;
}
.modal-overlay.hidden { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-content { max-width: 900px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; animation: slide-up 0.35s cubic-bezier(0.16,1,0.3,1); }
@keyframes slide-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-shrink: 0; }
.modal-header h2 { font-size: 1.6rem; }
.modal-close { background: none; border: 1px solid var(--border-light); border-radius: 8px; color: var(--text-secondary); cursor: pointer; font-size: 1.1rem; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.modal-close:hover { background: rgba(239,68,68,0.1); border-color: #ef4444; color: #ef4444; }
.modal-close:focus-visible { outline: 2px solid var(--primary-cyan); }
.comparator-table-wrap { overflow-x: auto; flex: 1; }
.comparator-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparator-table th, .comparator-table td { padding: 0.9rem 1rem; text-align: center; border-bottom: 1px solid var(--border-light); }
.comparator-table th:first-child, .comparator-table td:first-child { text-align: left; color: var(--text-secondary); font-weight: 500; }
.comparator-table thead th { background: rgba(6,182,212,0.06); font-family: var(--font-title); font-weight: 700; font-size: 0.95rem; }
.comp-popular { background: rgba(6,182,212,0.08) !important; color: var(--primary-cyan) !important; }
.comparator-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.modal-actions { margin-top: 1.5rem; text-align: center; flex-shrink: 0; }

/* ============================================================
   Mejora 12: Industries Section
   ============================================================ */
.industries-section { padding: 5rem 0; }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.industry-card {
  padding: 1.5rem 1rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  cursor: default; transition: var(--transition-smooth);
}
.industry-card:hover { transform: translateY(-4px); border-color: var(--border-cyan); }
.industry-icon { font-size: 1.8rem; color: var(--primary-cyan); }
.industry-card span { font-family: var(--font-title); font-weight: 600; font-size: 0.88rem; color: var(--text-secondary); }

/* Testimonials Grid */
.testimonials-section { padding: 5rem 0; }

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

/* 4th and 5th cards centered in second row */
.testimonials-grid .t-card:nth-child(4) { grid-column: 1 / 2; }
.testimonials-grid .t-card:nth-child(5) { grid-column: 2 / 3; }

.t-card {
  padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  border-radius: 14px;
  transition: var(--transition-smooth);
  position: relative;
}
.t-card:hover { transform: translateY(-4px); border-color: var(--border-cyan); }

.t-quote-icon {
  font-size: 1rem;
  color: var(--primary-cyan);
  opacity: 0.4;
  line-height: 1;
}

.t-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
  flex: 1;
}

.t-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.t-stars {
  color: #f59e0b;
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.t-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 800; font-size: 0.72rem; color: #000;
  flex-shrink: 0;
}

.t-author strong { display: block; font-size: 0.85rem; color: var(--text-primary); line-height: 1.3; }
.t-author span { font-size: 0.75rem; color: var(--text-muted); }

/* Rating summary bar */
.t-rating-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(6,182,212,0.05);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  max-width: 360px;
  margin: 0 auto;
}
.t-rating-score {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-cyan);
  line-height: 1;
}
.t-rating-info { display: flex; flex-direction: column; gap: 0.2rem; }
.t-rating-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }
.t-rating-info span { font-size: 0.75rem; color: var(--text-muted); }

/* Responsive testimonials */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid .t-card:nth-child(4),
  .testimonials-grid .t-card:nth-child(5) { grid-column: auto; }
  .testimonials-grid .t-card:nth-child(5) { grid-column: 1 / -1; max-width: 480px; justify-self: center; width: 100%; }
}

@media (max-width: 560px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .t-card:nth-child(5) { grid-column: auto; max-width: 100%; justify-self: auto; }
}

/* Calculator */
.calculator-sec { padding: 6rem 0; }
.calculator-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; padding: 3rem; }
.calc-inputs { display: flex; flex-direction: column; gap: 2.5rem; }
.input-group { display: flex; flex-direction: column; gap: 0.8rem; }
.input-group label { font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; }
.label-wrap { display: flex; justify-content: space-between; align-items: center; }
.val-display { background: rgba(6, 182, 212, 0.1); color: var(--primary-cyan); font-family: var(--font-title); font-weight: 700; padding: 0.2rem 0.8rem; border-radius: 6px; border: 1px solid var(--border-cyan); }
.input-description { font-size: 0.8rem; color: var(--text-muted); }
.range-slider { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); outline: none; cursor: pointer; }
.range-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-cyan); cursor: pointer; box-shadow: var(--neon-shadow); transition: transform 0.2s; }
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.range-slider:focus-visible { outline: 2px solid var(--primary-cyan); border-radius: 5px; }
.radio-cards-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 0.5rem; }
.radio-card { position: relative; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-light); border-radius: 10px; padding: 1.2rem 1rem; cursor: pointer; display: flex; flex-direction: column; gap: 0.4rem; transition: var(--transition-smooth); }
.radio-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-card:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.15); }
.radio-card.selected { border-color: var(--primary-cyan); background: rgba(6, 182, 212, 0.05); }
.radio-card:focus-within { outline: 2px solid var(--primary-cyan); outline-offset: 2px; }
.card-radio-label { font-family: var(--font-title); font-weight: 700; font-size: 0.95rem; }
.card-radio-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.3; }
.glass-card-nested { background: var(--nested-card-bg); border: 1px solid var(--border-light); border-radius: 12px; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.shimmer-overlay { position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent 0%, rgba(6,182,212,0.06) 50%, transparent 100%); pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.shimmer-overlay.shimmer-active { opacity: 1; animation: shimmer-move 0.7s ease forwards; }
@keyframes shimmer-move { from { left: -80%; opacity: 1; } to { left: 120%; opacity: 0; } }
.results-title { text-align: center; font-size: 1.3rem; margin-bottom: 2rem; color: var(--text-secondary); }
.result-box { text-align: center; margin-bottom: 2rem; }
.result-label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05rem; display: block; margin-bottom: 0.5rem; }
.result-price { font-family: var(--font-title); font-size: 2.8rem; font-weight: 800; color: var(--primary-cyan); text-shadow: 0 0 20px rgba(6,182,212,0.35); margin-bottom: 0.5rem; transition: all 0.3s ease; }
.result-detail { font-size: 0.8rem; color: var(--text-secondary); }
.result-divider { height: 1px; background: var(--border-light); margin: 1.5rem 0; }
.result-row { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 0.95rem; }
.result-row span { color: var(--text-secondary); }
.result-row strong { color: var(--text-primary); }
.actions-result { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* FAQ */
.faq-section { padding: 6rem 0; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; transition: border-color 0.25s; }
.faq-item:focus-within { border-color: var(--border-cyan); }
.faq-header { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.5rem; background: none; border: none; cursor: pointer; color: var(--text-primary); text-align: left; font-size: 0.95rem; font-weight: 600; font-family: var(--font-body); gap: 1rem; transition: background 0.2s; }
.faq-header:hover { background: rgba(6, 182, 212, 0.04); }
.faq-header:focus-visible { outline: 2px solid var(--primary-cyan); outline-offset: -2px; }
.faq-icon { font-size: 0.85rem; color: var(--primary-cyan); flex-shrink: 0; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-header[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-body { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease; }
.faq-body[hidden] { display: block !important; max-height: 0; padding: 0 1.5rem; }
.faq-body:not([hidden]) { padding: 0 1.5rem 1.5rem; max-height: 400px; }
.faq-body p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   Mejora 20: Proceso / Metodología en pasos
   ============================================================ */
.process-section { padding: 6rem 0; }
.process-steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start;
}
.process-step { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.step-number {
  font-family: var(--font-title); font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.step-content { text-align: center; padding: 1.8rem 1.5rem; width: 100%; }
.step-icon { font-size: 1.8rem; color: var(--primary-cyan); margin-bottom: 0.75rem; }
.step-content h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.step-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.step-duration { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.75rem; font-size: 0.78rem; color: var(--primary-cyan); font-family: var(--font-title); font-weight: 600; background: rgba(6,182,212,0.08); padding: 0.2rem 0.7rem; border-radius: 100px; border: 1px solid var(--border-cyan); }

.process-connector {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 5.5rem; gap: 0.25rem;
}
.connector-line { width: 2px; height: 40px; background: linear-gradient(180deg, var(--primary-cyan), var(--accent-purple)); opacity: 0.4; }
.connector-arrow { font-size: 0.8rem; color: var(--primary-cyan); opacity: 0.7; transform: rotate(90deg); }

/* ============================================================
   Mejora 14: Resources / Blog Section
   ============================================================ */
.resources-section { padding: 6rem 0; background: rgba(168,85,247,0.02); border-top: 1px solid var(--border-light); }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.resource-card { display: flex; flex-direction: column; gap: 1rem; }
.resource-card:hover { transform: translateY(-4px); }
.resource-tag { display: inline-block; font-family: var(--font-title); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.7rem; border-radius: 100px; background: rgba(168,85,247,0.12); color: var(--accent-purple); border: 1px solid rgba(168,85,247,0.25); }
.resource-card h3 { font-size: 1.1rem; line-height: 1.35; color: var(--text-primary); }
.resource-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.resource-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--border-light); }
.resource-meta > span { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; }
.resource-link { font-family: var(--font-title); font-size: 0.82rem; font-weight: 600; color: var(--primary-cyan); display: flex; align-items: center; gap: 0.35rem; }
.resource-link:hover { color: var(--accent-purple); }

/* Contact Section */
.contact { padding: 6rem 0 10rem 0; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.contact-info h2 { font-size: 2.6rem; margin-bottom: 1.5rem; }
.contact-info p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 3rem; }
.info-items { display: flex; flex-direction: column; gap: 2rem; }
.info-item { display: flex; gap: 1.5rem; align-items: center; }
.info-item .icon { width: 50px; height: 50px; background: rgba(168, 85, 247, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--accent-purple); }
.info-item h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.info-item p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 0; }

/* Form Styles */
.contact-form-wrap { padding: 3rem; }
.main-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.optional-label { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--input-bg); border: 1px solid var(--border-light); border-radius: 8px;
  padding: 0.8rem 1rem; color: var(--text-primary); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-cyan); box-shadow: 0 0 10px rgba(6, 182, 212, 0.2); }
/* Mejora 9: Inline validation */
.form-group input.invalid, .form-group textarea.invalid { border-color: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.2); }
.form-group input.valid, .form-group textarea.valid { border-color: #10b981; }
.field-error { font-size: 0.78rem; color: #ef4444; min-height: 1rem; display: block; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-obsidian); color: var(--text-primary); }

/* Drag & Drop Dropzone */
.dropzone { border: 2px dashed var(--border-light); border-radius: 12px; padding: 2rem; text-align: center; cursor: pointer; transition: all 0.3s ease; background: rgba(0,0,0,0.15); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.dropzone:hover, .dropzone.drag-over { border-color: var(--primary-cyan); background: rgba(6,182,212,0.05); box-shadow: 0 0 20px rgba(6,182,212,0.1); }
.dropzone:focus-visible { outline: 2px solid var(--primary-cyan); outline-offset: 2px; }
.dropzone-icon { font-size: 2rem; color: var(--primary-cyan); opacity: 0.6; }
.dropzone-text { font-family: var(--font-title); font-weight: 600; font-size: 0.95rem; color: var(--text-secondary); }
.dropzone-hint { font-size: 0.78rem; color: var(--text-muted); }
.dropzone-pick { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.file-preview { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: rgba(6,182,212,0.08); border: 1px solid var(--border-cyan); border-radius: 8px; margin-top: 0.5rem; }
.file-preview-icon { color: var(--primary-cyan); font-size: 1.1rem; }
.file-preview-name { font-size: 0.88rem; color: var(--text-primary); font-weight: 500; flex: 1; word-break: break-all; }
.file-preview-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 0.2rem; border-radius: 4px; transition: color 0.2s; }
.file-preview-remove:hover { color: #ef4444; }
.file-preview-remove:focus-visible { outline: 2px solid #ef4444; }
.form-status-msg { padding: 1rem; border-radius: 8px; font-size: 0.9rem; text-align: center; transition: var(--transition-smooth); }
.form-status-msg.success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; }
.form-status-msg.error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }
.hidden { display: none !important; }

/* Footer */
footer { background: var(--footer-bg); border-top: 1px solid var(--border-light); padding: 5rem 0 2rem 0; transition: background 0.35s ease; }
.footer-content { display: grid; grid-template-columns: 2fr 0.8fr 1.2fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; margin-top: 1rem; max-width: 380px; }
.footer-links h4 { font-size: 1rem; margin-bottom: 1.2rem; color: var(--text-secondary); }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.8rem; }
.footer-links a:hover { color: var(--text-primary); }
.footer-newsletter h4 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-secondary); }
.footer-newsletter p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; }
.newsletter-input-wrap { display: flex; gap: 0.5rem; }
.newsletter-input-wrap input { flex: 1; background: var(--input-bg); border: 1px solid var(--border-light); border-radius: 8px; padding: 0.65rem 0.9rem; color: var(--text-primary); font-family: inherit; font-size: 0.9rem; transition: border-color 0.25s; }
.newsletter-input-wrap input:focus { outline: none; border-color: var(--primary-cyan); box-shadow: 0 0 8px rgba(6,182,212,0.15); }
.newsletter-btn { padding: 0.65rem 1rem; border-radius: 8px; font-size: 0.95rem; }
.newsletter-legal { font-size: 0.72rem; color: var(--text-muted); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.03); padding-top: 2rem; text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   Mejora 1: Chat Widget
   ============================================================ */
.chat-widget { position: fixed; bottom: 2rem; left: 2rem; z-index: 490; }
.chat-toggle-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(6,182,212,0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.chat-toggle-btn:hover { transform: scale(1.08); box-shadow: 0 6px 30px rgba(6,182,212,0.6); }
.chat-toggle-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.chat-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #ef4444; color: #fff; font-size: 0.7rem; font-weight: 700; font-family: var(--font-title);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-page);
  animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.chat-panel {
  position: absolute; bottom: 70px; left: 0;
  width: 320px; border-radius: 16px;
  background: rgba(12, 12, 18, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), var(--neon-shadow);
  overflow: hidden;
  animation: slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-header {
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(168,85,247,0.15));
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-agent-info { display: flex; align-items: center; gap: 0.75rem; }
.chat-agent-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple)); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: #fff; flex-shrink: 0; }
.chat-agent-info strong { display: block; font-size: 0.9rem; font-family: var(--font-title); }
.chat-status { display: flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: var(--text-muted); }
.chat-online-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 6px #10b981; animation: pulse-glow 2s infinite; }
.chat-minimize { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 0.2rem; }
.chat-minimize:hover { color: var(--text-primary); }
.chat-messages { padding: 1rem; min-height: 120px; max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-msg { display: flex; flex-direction: column; gap: 0.2rem; max-width: 85%; }
.chat-msg.agent { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-bubble { padding: 0.65rem 0.9rem; border-radius: 12px; font-size: 0.85rem; line-height: 1.5; }
.chat-msg.agent .chat-bubble { background: rgba(255,255,255,0.06); border: 1px solid var(--border-light); color: var(--text-primary); border-bottom-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: linear-gradient(135deg, var(--primary-cyan), #0891b2); color: #000; font-weight: 500; border-bottom-right-radius: 4px; }
.msg-time { font-size: 0.68rem; color: var(--text-muted); padding: 0 0.2rem; }
.chat-msg.user .msg-time { text-align: right; }
.chat-typing { display: flex; gap: 0.3rem; align-items: center; padding: 0.65rem 0.9rem; }
.typing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typing-bounce 1.4s infinite ease-in-out; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }
.chat-quick-replies { padding: 0.5rem 0.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem; border-top: 1px solid var(--border-light); }
.quick-reply { background: rgba(6,182,212,0.06); border: 1px solid var(--border-cyan); color: var(--text-secondary); border-radius: 100px; padding: 0.3rem 0.75rem; font-size: 0.75rem; font-family: var(--font-title); font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.quick-reply:hover { background: rgba(6,182,212,0.15); color: var(--primary-cyan); }
.chat-input-wrap { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--border-light); }
.chat-input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); border-radius: 8px; padding: 0.55rem 0.8rem; color: var(--text-primary); font-family: inherit; font-size: 0.85rem; }
.chat-input:focus { outline: none; border-color: var(--primary-cyan); }
.chat-send-btn { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--primary-cyan), #0891b2); border: none; color: #000; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: all 0.2s; flex-shrink: 0; }
.chat-send-btn:hover { transform: scale(1.05); }
.chat-send-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Animations */
@keyframes pulse-glow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}
@keyframes float { 0% { transform: translateY(0px); } 100% { transform: translateY(-8px); } }
@keyframes dash { to { stroke-dashoffset: -1000; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-inner { animation: none; }
  #reading-progress { transition: none; }
  .scroll-wheel { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-connector { display: none; }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .hero-wrapper { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
  .hero-subtitle { margin: 0 auto 2.5rem auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .services-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { transform: none; }
  .calculator-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .demo-layout { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(8,8,10,0.97); border: 1px solid var(--border-light); border-radius: 12px; padding: 1rem 0; box-shadow: var(--glass-shadow); }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 0.75rem 1.5rem; border-radius: 0; }
  .nav-links .btn-nav { margin: 0.5rem 1rem; }
  .mobile-nav-toggle { display: block; }
  header { position: fixed; }
  .hero h1 { font-size: 2.6rem; }
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .radio-cards-container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .calculator-grid { padding: 1.5rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .before-after-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .testimonial-card { padding: 2rem; }
  .retainer-toggle-wrap { flex-wrap: wrap; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .comparator-table { font-size: 0.8rem; }
  .comparator-table th, .comparator-table td { padding: 0.6rem 0.5rem; }
  .chat-panel { width: 290px; }
  .section-title-wrap h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 2rem; }
  .hero-actions { flex-direction: column; }
  .swarm-controls { flex-direction: column; }
  .whatsapp-fab { padding: 0.9rem; border-radius: 50%; max-width: none; }
  .whatsapp-fab-label { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .urgency-inner { gap: 0.5rem; }
  .urgency-cta { font-size: 0.78rem; }
  .back-to-top { left: 1rem; bottom: 5.5rem; }
  .chat-widget { left: 1rem; bottom: 1.5rem; }
  .chat-panel { width: calc(100vw - 2rem); left: 0; }
}
