:root {
  --bs-primary: #4f46e5;
  --bs-primary-rgb: 79, 70, 229;
}
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f2937; }

.btn-primary { --bs-btn-bg: #4f46e5; --bs-btn-border-color: #4f46e5; --bs-btn-hover-bg: #4338ca; --bs-btn-hover-border-color: #4338ca; }
.text-primary { color: #4f46e5 !important; }
.border-primary { border-color: #4f46e5 !important; }
.bg-primary-subtle { background-color: #eef2ff !important; }

.hero { background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%); }

/* Hero con foto: recorte responsive para mostrar a la persona y ocultar el
   espacio negativo izquierdo de la imagen */
.hero-visual { max-width: 640px; margin-inline: auto; }
.hero-photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 72% center;
}
.hero-stats {
  position: absolute;
  left: 12px; bottom: 12px;
  width: 230px;
  border: 1px solid rgba(0,0,0,.05);
}
@media (max-width: 991.98px) {
  .hero-photo { aspect-ratio: 16 / 10; }
}
.feature-card { transition: transform .15s ease, box-shadow .15s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.feature-ill { width: 88px; height: 88px; object-fit: contain; border-radius: 18px; }

/* ===== Mockup del producto (HTML/CSS) ===== */
.app-window { max-width: 940px; margin-inline: auto; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(31,41,55,.22); border: 1px solid #e5e7eb; background: #fff; }
.app-topbar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.app-dot { width: 11px; height: 11px; border-radius: 50%; }
.app-url { margin-left: 10px; font-size: .78rem; color: #6b7280; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 20px; padding: 3px 12px; }
.app-body { display: flex; min-height: 420px; }
.app-side { width: 200px; background: #1e1b4b; color: #c7d2fe; padding: 18px 12px; flex-shrink: 0; }
.app-brand { color: #fff; font-weight: 700; font-size: 1.1rem; padding: 0 8px 16px; }
.app-nav a { display: flex; align-items: center; gap: 10px; color: #c7d2fe; text-decoration: none;
  padding: 9px 12px; border-radius: 10px; font-size: .9rem; margin-bottom: 2px; }
.app-nav a.active, .app-nav a:hover { background: #4f46e5; color: #fff; }
.app-main { flex: 1; padding: 22px; background: #f8f9ff; }
.app-kpi { background: #fff; border: 1px solid #eef2ff; border-radius: 14px; padding: 16px; }
.app-kpi .v { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.app-kpi .l { font-size: .78rem; color: #6b7280; }
.app-chart { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 8px; }
.app-chart .bar { flex: 1; background: linear-gradient(180deg,#6366f1,#4f46e5); border-radius: 6px 6px 0 0; }
.app-panel { background: #fff; border: 1px solid #eef2ff; border-radius: 14px; padding: 16px; }
.app-row { display: flex; justify-content: space-between; font-size: .85rem; padding: 7px 0; border-bottom: 1px solid #f1f2f8; }
.app-row:last-child { border-bottom: 0; }
.app-pill { font-size: .7rem; padding: 2px 8px; border-radius: 20px; }
@media (max-width: 575.98px) { .app-side { display: none; } .app-main { padding: 16px; } }

.story-card { transition: transform .15s ease, box-shadow .15s ease; }
.story-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.1); }
.story-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

.pricing-card { background: #fff; }
.cta-final { background: linear-gradient(135deg, #4f46e5, #7c3aed); }

.accordion-button:not(.collapsed) { background: #eef2ff; color: #4f46e5; }
.accordion-button:focus { box-shadow: none; }

.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: #4f46e5; color: #fff; font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.compare-table th, .compare-table td { padding: .85rem .5rem; }
.compare-table tbody tr:nth-child(odd) { background: #f8f9ff; }
.compare-table thead th:last-child,
.compare-table tbody td:last-child { background: #eef2ff; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37,211,102,.5); text-decoration: none;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
