@charset "UTF-8";
/* =========================================================
   Why CRM — landing estática
   Paleta y tipografías heredadas del theme "why-theme".
   ========================================================= */
:root {
  --verde: #08a260;
  --verde-neon: #42ef43;
  --azul: #013b7e;
  --bg: #0c0c0c;
  --bg-2: #141414;
  --card: #1e1e1e;
  --card-border: rgba(255, 255, 255, .08);
  --text: #f2f2f2;
  --text-soft: #c9c9c9;
  --text-mute: #9c9c9c;
  --font-tits: 'Outfit', system-ui, sans-serif;
  --font-textos: 'Anek Latin', system-ui, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 88px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-textos);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-tits); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--verde-neon); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--verde-neon); outline-offset: 3px; border-radius: 6px; }

/* Partículas de fondo */
.particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------------- Botón principal ----------------
   Relleno degradado verde, destello que lo cruza cada pocos segundos y flecha.
   El ::after es ítem flex: con z-index negativo quedaría detrás del fondo. */
.neon-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px;
  border-radius: 40px;
  background: linear-gradient(135deg, #6bff6c 0%, #2ee05a 45%, #08a260 100%);
  color: #03160a;
  font-family: var(--font-textos); font-size: 17px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(66, 239, 67, .6), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .12);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s;
}
.neon-btn::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 45%; z-index: 1;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: translateX(-160%) skewX(-20deg);
  animation: btn-shine 4s ease-in-out infinite;
  pointer-events: none;
}
.neon-btn::after { content: '\2192'; margin-left: 10px; font-weight: 700; transition: transform .25s ease; }
.neon-btn:hover, .neon-btn:focus-visible { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 40px -8px rgba(66, 239, 67, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.neon-btn:hover::after { transform: translateX(4px); }
.neon-btn:hover::before { animation-duration: 1.2s; }
.neon-btn--sm::after { display: none; }
@keyframes btn-shine { 0%, 55% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(320%) skewX(-20deg); } }
.neon-btn--sm { padding: 11px 22px; font-size: 16px; }

.ghost-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--text); text-decoration: none; font-weight: 500;
  transition: border-color .3s, background .3s;
}
.ghost-btn:hover { border-color: var(--verde-neon); background: rgba(66, 239, 67, .08); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s, backdrop-filter .3s, height .3s;
}
.site-header.is-scrolled { background: rgba(12, 12, 12, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); --header-h: 72px; border-bottom: 1px solid var(--card-border); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 150px; transition: width .3s; }
.site-header.is-scrolled .logo img { width: 124px; }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a:not(.neon-btn) { text-decoration: none; text-transform: uppercase; font-size: 15px; font-weight: 600; letter-spacing: .02em; transition: color .2s; }
.main-nav a:not(.neon-btn):hover { color: var(--verde-neon); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.social { display: flex; gap: 14px; }
.social:empty { display: none; }
.social a { display: inline-flex; width: 26px; height: 26px; color: var(--text); transition: color .2s; }
.social a:hover { color: var(--verde-neon); }
.social svg { width: 100%; height: 100%; fill: currentColor; }

.hamburger { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(110px, 10vw, 170px); text-align: center; }
/* El arco se ancla al borde inferior del hero: su punto más bajo siempre queda bajo los botones. */
.hero-arc { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: max(1440px, 100%); max-width: none; pointer-events: none; opacity: .95; }
.hero-inner { position: relative; display: grid; justify-items: center; gap: 28px; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 700; max-width: 960px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-soft); max-width: 720px; }
.hero .neon-btn { margin-top: 18px; }

.scroll-hint { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-top: clamp(80px, 12vw, 150px); color: var(--text-mute); text-decoration: none; font-size: 15px; }
.mouse { width: 28px; height: 46px; border: 2px solid var(--text-soft); border-radius: 16px; position: relative; }
.wheel { position: absolute; left: 50%; top: 8px; width: 6px; height: 8px; margin-left: -3px; border-radius: 3px; background: var(--text-soft); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------- Secciones ---------------- */
.section { padding: clamp(48px, 6.5vw, 90px) 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); display: grid; gap: 18px; }
.section-head h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 700; }
.section-head p { color: var(--text-soft); font-size: clamp(17px, 1.5vw, 19px); }

/* Mockup + íconos flotantes */
.device-stage { position: relative; max-width: 1000px; margin: 0 auto; padding-bottom: 6%; }
.device-mockup { width: 72%; margin: 0 auto; }
.floating-icons { position: absolute; inset: 0; }
.fi { position: absolute; width: clamp(48px, 7.6vw, 82px); }
.fi img { width: 100%; animation: float 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.7s); }
.fi-1 { left: 0%;  top: 46%; --i: 1; }
.fi-2 { left: 13%; top: 62%; --i: 2; }
.fi-3 { left: 27%; top: 67%; --i: 3; }
.fi-4 { left: 41%; top: 67%; --i: 4; }
.fi-5 { left: 55%; top: 67%; --i: 5; }
.fi-6 { left: 69%; top: 67%; --i: 6; }
.fi-7 { left: 82%; top: 62%; --i: 7; }
.fi-8 { right: 0%; top: 46%; --i: 8; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Features */
.feature-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; margin-bottom: clamp(32px, 4vw, 48px); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature-copy { display: grid; gap: 28px; justify-items: start; }
.feature-copy h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }

.checklist { display: grid; gap: 18px; }
.checklist li { position: relative; padding-left: 28px; color: var(--text); font-size: clamp(17px, 1.4vw, 19px); }
.checklist li::before {
  content: ''; position: absolute; left: 2px; top: .55em;
  width: 8px; height: 8px; border-right: 2px solid var(--verde-neon); border-bottom: 2px solid var(--verde-neon);
  transform: rotate(-45deg);
}

/* ---------------- Hero extra ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 40px;
  background: rgba(66, 239, 67, .08); border: 1px solid rgba(66, 239, 67, .25);
  font-size: 15px; color: var(--text-soft);
}
.grad { background: linear-gradient(90deg, #42ef43, #08a260 60%, #2dbcea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 10px; }
.hero-actions .neon-btn { margin-top: 0; }
.hero-note { font-size: 14px; color: var(--text-mute); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--verde-neon); box-shadow: 0 0 0 0 rgba(66, 239, 67, .6); animation: live 1.8s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(66, 239, 67, .6); } 70% { box-shadow: 0 0 0 8px rgba(66, 239, 67, 0); } 100% { box-shadow: 0 0 0 0 rgba(66, 239, 67, 0); } }

/* ---------------- Marquesina de integraciones ---------------- */
.logos { padding: 24px 0 8px; text-align: center; }
.logos-title { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
/* La lista se duplica por JS; el espacio va como padding de cada ítem para que el -50% calce exacto. */
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: flex; align-items: center; gap: 12px; padding-right: 56px; font-family: var(--font-tits); font-weight: 600; font-size: 18px; color: #d9d9d9; white-space: nowrap; }
.marquee-track img { width: 40px; height: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Mockup con parallax ---------------- */
.device-glow { position: absolute; left: 50%; top: 45%; width: 70%; height: 60%; translate: -50% -50%; background: radial-gradient(ellipse, rgba(66, 239, 67, .16), transparent 65%); filter: blur(20px); pointer-events: none; }

/* ---------------- Bloques de feature ---------------- */
.feature-grid--wide { grid-template-columns: .92fr 1.08fr; }
.feature-grid--reverse > :first-child { order: 2; }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-neon); font-weight: 600; }
.feature-copy .kicker + h2 { margin-top: -14px; }

.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 30, 30, .92), rgba(16, 16, 16, .92));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(66, 239, 67, .05) inset;
}
.panel::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(66, 239, 67, .45), transparent 35%, transparent 70%, rgba(45, 188, 234, .3)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head--sm { margin-bottom: 12px; }
.panel-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-tits); font-weight: 600; font-size: 16px; }
.panel-title .ico { width: 18px; height: 18px; color: var(--verde-neon); }
.panel-logos { display: flex; gap: 6px; }
.panel-logos img { width: 28px; height: 28px; }
.badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: rgba(66, 239, 67, .14); color: var(--verde-neon); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--font-tits); font-weight: 600; font-size: 13px; color: #fff; background: var(--av, #8b5cf6); transition: background .4s; }
.avatar--lg { width: 46px; height: 46px; font-size: 16px; }
svg use { pointer-events: none; }

/* ---------------- Demo de chat ---------------- */
.channel-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 4px; }
.channel-tabs button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 30px; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text-soft); font: 500 15px var(--font-textos);
  transition: background .25s, color .25s, border-color .25s;
}
.channel-tabs button svg { width: 17px; height: 17px; }
.channel-tabs button:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.channel-tabs button[aria-selected="true"] { background: rgba(66, 239, 67, .12); border-color: rgba(66, 239, 67, .5); color: #fff; }
.channel-tabs button[aria-selected="true"] svg { color: var(--verde-neon); }

.chat-demo { position: relative; padding: 0 0 40px; min-height: 560px; }
.chat-window {
  --ch: #25d366;
  position: relative; width: min(100%, 420px);
  border-radius: 26px; overflow: hidden;
  background: #0f1412;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(66, 239, 67, .08);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.chat-channel { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ch); color: #fff; transition: background .4s; }
.chat-channel svg { width: 18px; height: 18px; }
.chat-who { display: grid; line-height: 1.25; }
.chat-who strong { font-size: 16px; }
.chat-who span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-mute); }
.chat-who .live-dot { width: 6px; height: 6px; }
.chat-body {
  height: 400px; padding: 18px 16px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background: radial-gradient(circle at 20% 0%, rgba(66, 239, 67, .05), transparent 50%), #0f1412;
}
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.4; animation: msg-in .35s cubic-bezier(.2, .8, .2, 1) both; flex: none; }
.msg--in { align-self: flex-start; background: #23272a; border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: linear-gradient(135deg, #0b7a4b, #08a260); border-bottom-right-radius: 4px; }
.msg-meta { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 11px; opacity: .75; }
.msg--out .msg-meta { justify-content: flex-end; }
.msg-meta svg { width: 12px; height: 12px; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #23272a; flex: none; animation: msg-in .25s both; }
.typing--out { align-self: flex-end; background: rgba(8, 162, 96, .5); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #cfd3d6; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 11px 16px; border-radius: 24px; background: rgba(255, 255, 255, .06); font-size: 14px; color: var(--text-mute); }
.chat-input svg { width: 18px; height: 18px; color: var(--verde-neon); }

.crm-card {
  position: absolute; right: 0; bottom: 0; width: 290px;
  padding: 20px; border-radius: 20px;
  background: rgba(22, 24, 24, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(66, 239, 67, .35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(66, 239, 67, .12);
}
.crm-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.crm-card-head strong { display: block; font-family: var(--font-tits); font-size: 17px; }
.crm-source { font-size: 13px; color: var(--text-mute); }
.crm-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; }
.crm-stages li { position: relative; padding-top: 10px; font-size: 11px; color: var(--text-mute); text-align: center; transition: color .4s; }
.crm-stages li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); transition: background .5s, box-shadow .5s; }
.crm-stages li.is-on { color: #fff; }
.crm-stages li.is-on::before { background: var(--verde-neon); box-shadow: 0 0 10px rgba(66, 239, 67, .6); }
.crm-fields { display: grid; gap: 8px; margin: 0 0 14px; }
.crm-fields div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.crm-fields dt { color: var(--text-mute); }
.crm-fields dd { margin: 0; text-align: right; font-weight: 600; }
.crm-fields dd.is-new { animation: flash 1s; }
@keyframes flash { 0% { color: var(--verde-neon); text-shadow: 0 0 12px rgba(66, 239, 67, .8); } 100% { color: inherit; text-shadow: none; } }
.crm-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: rgba(66, 239, 67, .14); color: var(--verde-neon); border: 1px solid rgba(66, 239, 67, .3); animation: pop .4s cubic-bezier(.3, 1.6, .6, 1) both; }
.tag--ai { background: rgba(45, 188, 234, .14); color: #7dd8f5; border-color: rgba(45, 188, 234, .35); }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* ---------------- Demo de pedidos ---------------- */
.orders-demo { max-width: 540px; width: 100%; justify-self: center; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpis div { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); display: grid; gap: 2px; }
.kpi-num { font-family: var(--font-tits); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi-num.bump { animation: bump .5s; }
@keyframes bump { 40% { color: var(--verde-neon); transform: translateY(-2px); } }
.kpi-label { font-size: 12px; color: var(--text-mute); line-height: 1.25; }
.order-feed { position: relative; display: grid; gap: 10px; height: 372px; overflow: hidden; align-content: start; }
.order {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start;
  padding: 14px; border-radius: 16px;
  background: #121212; border: 1px solid rgba(66, 239, 67, .35);
  box-shadow: 0 0 24px rgba(66, 239, 67, .08);
  animation: order-in .6s cubic-bezier(.2, .8, .2, 1) both;
}
.order.is-leaving { animation: order-out .5s ease both; }
@keyframes order-in { from { opacity: 0; transform: translateY(-24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes order-out { to { opacity: 0; transform: translateY(16px); } }
.order img { width: 40px; height: 40px; }
.order-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.order-top strong { font-family: var(--font-tits); font-size: 15px; }
.order-top span { color: var(--text-mute); white-space: nowrap; font-size: 13px; }
.order-msg { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 8px; font-size: 14px; color: var(--text-soft); line-height: 1.4; min-height: 2.8em; }
.order-msg svg { width: 15px; height: 15px; color: #25d366; flex: none; margin-top: 2px; }
.order-msg .caret { display: inline-block; width: 2px; height: 1em; background: var(--verde-neon); vertical-align: -2px; margin-left: 1px; animation: caret .8s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.order-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 3px 10px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .2); color: var(--text-soft); transition: all .4s; }
.chip--status { border-color: rgba(255, 193, 7, .45); color: #ffd666; }
.chip--status.is-done { border-color: rgba(66, 239, 67, .5); color: var(--verde-neon); }

.order-feed, .inbox-list { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }

/* ---------------- Demo de leads ---------------- */
.leads-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.leads-map { width: 100%; height: auto; overflow: visible; }
.leads-map .src circle { fill: #161616; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; transition: stroke .3s; }
.leads-map .src.is-active circle { stroke: var(--verde-neon); }
.leads-map .src use { color: #fff; }
.hub-ring { fill: none; stroke: rgba(66, 239, 67, .35); stroke-width: 1.5; stroke-dasharray: 4 6; animation: spin 18s linear infinite; transform-origin: center; transform-box: fill-box; }
.hub-core { fill: #121a14; stroke: var(--verde-neon); stroke-width: 2; filter: drop-shadow(0 0 10px rgba(66, 239, 67, .45)); transition: filter .2s; }
.hub.is-hit .hub-core { filter: drop-shadow(0 0 22px rgba(66, 239, 67, .95)); }
.hub-why { font: 700 17px var(--font-tits); fill: #fff; }
.hub-crm { font: 700 11px var(--font-tits); fill: var(--verde-neon); letter-spacing: .08em; }
@keyframes spin { to { transform: rotate(360deg); } }
.inbox { align-self: stretch; display: flex; flex-direction: column; }
.inbox-list { display: grid; gap: 8px; align-content: start; height: 330px; overflow: hidden; }
.lead-item { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); animation: order-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.lead-item:first-child { border-color: rgba(66, 239, 67, .4); background: rgba(66, 239, 67, .06); }
.lead-item .avatar { width: 30px; height: 30px; font-size: 11px; }
.lead-item strong { display: block; font-size: 14px; line-height: 1.2; }
.lead-item span { font-size: 12px; color: var(--text-mute); }

/* ---------------- Demo de workflow ---------------- */
.flow-demo { max-width: 520px; width: 100%; justify-self: center; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); }
.switch::before { content: ''; width: 30px; height: 18px; border-radius: 10px; background: var(--verde) radial-gradient(circle at 21px 9px, #fff 6px, transparent 6.5px); }
.flow { position: relative; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.flow::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: rgba(255, 255, 255, .08); }
.flow::after { content: ''; position: absolute; left: 21px; top: 22px; width: 2px; height: var(--progress, 0%); max-height: calc(100% - 44px); background: var(--verde-neon); box-shadow: 0 0 10px var(--verde-neon); transition: height .6s ease; }
.flow li { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 8px 12px 8px 0; border-radius: 14px; opacity: .5; transition: opacity .4s, background .4s; }
.flow li strong { display: block; font-size: 15px; line-height: 1.25; }
.flow li span:not(.step-ico) { font-size: 13px; color: var(--text-mute); }
.step-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #1c1c1c; border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: all .4s; }
.step-ico svg { width: 20px; height: 20px; }
.step-ico--meta { color: #3b82f6; }
.step-ico--wa { color: #25d366; }
.flow li.is-done { opacity: .85; }
.flow li.is-done .step-ico { border-color: rgba(66, 239, 67, .5); }
.flow li.is-active { opacity: 1; background: rgba(66, 239, 67, .07); }
.flow li.is-active .step-ico { border-color: var(--verde-neon); box-shadow: 0 0 0 4px rgba(66, 239, 67, .15), 0 0 20px rgba(66, 239, 67, .4); }
.flow-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: var(--text-mute); }
.flow-foot strong { font-family: var(--font-tits); font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------------- Precios ---------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #262626, #191919);
  border: 1px solid var(--card-border);
  transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(66, 239, 67, .35); }
.plan--featured { background: linear-gradient(170deg, #0f3f78 0%, #0d5a6a 50%, #0b8a55 100%); border-color: rgba(66, 239, 67, .5); box-shadow: 0 20px 60px rgba(8, 162, 96, .2); }
.plan-badge { position: absolute; top: 18px; right: 18px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 20px; background: var(--verde-neon); color: #000; }
.plan-icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; margin-bottom: 22px; }
.plan-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan h3 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.plan-desc { color: var(--text-soft); font-size: 16px; min-height: 4.8em; }
.plan-price { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.plan-price .amount { font-family: var(--font-tits); font-size: clamp(36px, 3.4vw, 46px); font-weight: 700; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.plan-price .period { color: var(--text-soft); font-size: 16px; }
.plan-trial { margin-top: 8px; font-size: 14px; color: var(--text-soft); }
.plan-btn {
  margin: 26px 0 30px; padding: 14px 20px; border-radius: 10px;
  text-align: center; text-decoration: none; font-weight: 600;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s, color .25s;
}
.plan-btn:hover { background: var(--verde-neon); color: #000; }
.plan--featured .plan-btn { background: var(--verde-neon); color: #000; border-color: transparent; }
.plan--featured .plan-btn:hover { background: #fff; }
.plan h4 { font-family: var(--font-textos); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; margin-bottom: 16px; }
.plan-features { display: grid; gap: 12px; }
.plan-features li { position: relative; padding-left: 30px; font-size: 16px; }
.plan-features li::before {
  content: ''; position: absolute; left: 4px; top: .3em;
  width: 6px; height: 11px; border-right: 2px solid var(--verde-neon); border-bottom: 2px solid var(--verde-neon);
  transform: rotate(45deg);
}

/* ---------------- Formulario "Solicita tu plan" ---------------- */
.request-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.request-copy { display: grid; gap: 22px; }
.request-copy h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; margin-top: -10px; }
.request-copy > p { color: var(--text-soft); }
.request-alt { font-size: 16px; color: var(--text-mute); }
.request-alt a { color: var(--verde-neon); text-decoration: underline; text-underline-offset: 3px; }
.request-panel { padding: clamp(22px, 3vw, 34px); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--text-soft); padding: 0; }
.field .opt { font-weight: 400; color: var(--text-mute); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  color: var(--text); font: 400 16px var(--font-textos);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #6f6f6f; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--verde-neon); background: rgba(66, 239, 67, .05); box-shadow: 0 0 0 3px rgba(66, 239, 67, .15); }
.field-error { display: none; font-size: 13px; color: #ff7a7a; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; }
.field.is-invalid .field-error { display: block; }

.plan-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.plan-options label { position: relative; cursor: pointer; }
.plan-options input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan-options span {
  display: grid; place-items: center; min-height: 46px; padding: 8px 6px; text-align: center;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
  font-size: 14px; font-weight: 600; color: var(--text-soft); transition: all .2s;
}
.plan-options label:hover span { border-color: rgba(255, 255, 255, .3); color: #fff; }
.plan-options input:checked + span { border-color: var(--verde-neon); background: rgba(66, 239, 67, .12); color: #fff; box-shadow: 0 0 0 3px rgba(66, 239, 67, .12); }
.plan-options input:focus-visible + span { outline: 2px solid var(--verde-neon); outline-offset: 2px; }
.plan-picker.is-invalid .plan-options span { border-color: rgba(255, 107, 107, .6); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; margin-top: 22px; padding: 16px 32px; font-size: 18px; border: 0; cursor: pointer; }
.form-submit[disabled] { opacity: .75; cursor: progress; }
.form-submit.is-loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.form-legal { margin-top: 12px; font-size: 13px; color: var(--text-mute); text-align: center; }
.form-status { margin-top: 8px; font-size: 15px; text-align: center; min-height: 1.4em; }
.form-status.is-error { color: #ff8a8a; }

.form-success { display: grid; justify-items: center; gap: 14px; padding: 40px 10px; text-align: center; }
.form-success[hidden] { display: none; }
.success-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(66, 239, 67, .14); color: var(--verde-neon); box-shadow: 0 0 40px rgba(66, 239, 67, .3); animation: pop .5s cubic-bezier(.3, 1.6, .6, 1) both; }
.success-ico svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 28px; }
.form-success p { color: var(--text-soft); max-width: 380px; }

/* ---------------- Footer ---------------- */
.site-footer { background: #161616; margin-top: clamp(40px, 6vw, 80px); }
.footer-inner { display: grid; justify-items: center; gap: 24px; padding: 56px var(--gutter); }
.footer-inner img { width: 130px; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-style: normal; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); text-decoration: none; font-size: 15px; transition: color .2s; }
.footer-contact a:hover { color: var(--verde-neon); }
.footer-contact svg { width: 18px; height: 18px; color: var(--verde-neon); flex: none; }
.footer-copy { background: #1c1c1c; text-align: center; padding: 18px var(--gutter); font-size: 14px; color: var(--text-mute); }

/* ---------------- WhatsApp flotante ---------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .4);
  transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .6, 1);
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }

/* ---------------- Animaciones de entrada ---------------- */
.reveal, .reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal { transform: translateY(16px); }
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-up, .no-js .reveal-left, .no-js .reveal-right { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .wa-float { transform: scale(1); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header-actions .social, .header-actions .neon-btn { display: none; }
  .hamburger { display: flex; }
  .logo img { width: 120px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: rgba(12, 12, 12, .97); backdrop-filter: blur(12px);
    padding: 28px var(--gutter) 36px;
    border-bottom: 1px solid var(--card-border);
    display: grid; gap: 28px; justify-items: center;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .main-nav a:not(.neon-btn) { font-size: 18px; }
  .nav-cta-mobile { display: inline-flex; }

  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-desc { min-height: 0; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .scroll-hint { display: none; }
  .hero { padding-bottom: 110px; }
  .nowrap { white-space: normal; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-copy { justify-items: stretch; }
  .feature-copy .neon-btn { justify-self: center; }

  .device-stage { padding-bottom: 0; }
  .device-mockup { width: 100%; }
  .floating-icons { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
  .fi { position: static; width: 52px; }

  .reveal-left, .reveal-right { transform: translateY(30px); }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (max-width: 1080px) {
  .request-grid { grid-template-columns: 1fr; }
  .request-panel { max-width: 640px; width: 100%; justify-self: center; }
  .feature-grid--wide { grid-template-columns: 1fr; }
  .feature-grid--reverse > :first-child { order: 0; }
  .chat-demo { max-width: 640px; width: 100%; justify-self: center; }
}

@media (max-width: 760px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .marquee-track li { font-size: 16px; padding-right: 36px; }
  .chat-demo { min-height: 0; padding: 0; display: grid; gap: 14px; }
  .chat-window { width: 100%; }
  .chat-body { height: 360px; }
  .crm-card { position: static; width: 100%; }
  .panel { padding: 16px; border-radius: 20px; }
  .kpi-num { font-size: 18px; }
  .order-feed { height: 400px; }
  .leads-demo { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .plan-options { grid-template-columns: 1fr 1fr; }
  .footer-contact { flex-direction: column; align-items: center; text-align: center; }
  .leads-map { max-width: 300px; margin: 0 auto; }
  .inbox-list { height: 280px; }
}

/* =========================================================
   FONDO AURORA: manchas de luz que derivan lento + grano fino
   ========================================================= */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx span { position: absolute; border-radius: 50%; filter: blur(110px); will-change: transform; }
.bg-fx span:nth-child(1) { width: 55vw; height: 55vw; left: -12vw; top: -18vw; background: rgba(8, 162, 96, .28); animation: drift-1 28s ease-in-out infinite alternate; }
.bg-fx span:nth-child(2) { width: 48vw; height: 48vw; right: -14vw; top: 20vh; background: rgba(1, 59, 126, .45); animation: drift-2 34s ease-in-out infinite alternate; }
.bg-fx span:nth-child(3) { width: 40vw; height: 40vw; left: 28vw; bottom: -22vw; background: rgba(66, 239, 67, .12); animation: drift-3 30s ease-in-out infinite alternate; }
.bg-fx::after {
  content: ''; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift-1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-20vw, 30vh) scale(.9); } }
@keyframes drift-3 { to { transform: translate(-16vw, -40vh) scale(1.2); } }
