/* ═══════════════════════════════════════════════════════════
   RAPICTRL LANDING — style.css  (glow-up estilo Nequi)
   Sistema: todo redondeado (pills y radios 20–32px), tipografía
   display gigante, gradientes vivos, nav flotante tipo píldora,
   sombras de color y blobs orgánicos.

   Colores:
     ink          : #0d0d2b   (fondo oscuro base, azul-tinta)
     ink-2        : #191a4a
     red-brand    : #fc454d   (marca — CTAs)
     coral        : #ff7a45   (acento cálido del gradiente)
     blue-primary : #1d4ed8   (producto / datos)
     aqua         : #2dd4bf   (acento fresco)
═══════════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #131332;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .plan-price, .step-big-num {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection { background: #fc454d; color: #fff; }

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.section { padding: 5.5rem 0; }
.bg-white { background: #ffffff; }
.bg-gray  { background: #f5f6fb; }

/* Secciones oscuras "flotantes": tarjetas gigantes redondeadas,
   marca de la casa del glow-up (estilo Nequi). */
.bg-dark {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(29,78,216,.35), transparent 60%),
    radial-gradient(700px 460px at -10% 110%, rgba(252,69,77,.22), transparent 60%),
    linear-gradient(150deg, #0d0d2b 0%, #191a4a 55%, #0d0d2b 100%);
  border-radius: clamp(1.5rem, 3.5vw, 2.75rem);
  margin: clamp(.75rem, 2vw, 1.5rem);
  overflow: hidden;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ── Buttons (todos pill) ────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(135deg, #fc454d 0%, #ff7a45 100%);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  padding: .8rem 1.9rem;
  border-radius: 9999px;
  box-shadow: 0 10px 28px rgba(252,69,77,.4);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 34px rgba(252,69,77,.5); filter: brightness(1.05); }

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #fff;
  color: #131332;
  font-weight: 800;
  font-size: .95rem;
  padding: .9rem 2.1rem;
  border-radius: 9999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 36px rgba(0,0,0,.3); }

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.25);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: .8rem 2rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.btn-glass:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .6rem 1.35rem;
  border-radius: 9999px;
  transition: background .2s, transform .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }

.btn-ghost {
  color: rgba(255,255,255,.8);
  font-weight: 600;
  font-size: .9rem;
  padding: .6rem .9rem;
  border-radius: 9999px;
  transition: color .2s, background .2s;
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); }

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  background: #fff;
  color: #1f2937;
  font-weight: 700;
  font-size: .95rem;
  padding: .75rem 1.6rem;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.btn-google:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,0,0,.24); }

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

/* Botón WhatsApp (soporte) */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: linear-gradient(135deg, #25d366, #1fb958);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  padding: .85rem 1.9rem;
  border-radius: 9999px;
  box-shadow: 0 10px 28px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-wa:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 34px rgba(37,211,102,.5); }
.btn-wa svg { flex-shrink: 0; }

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #ffd7d9;
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.badge-blue {
  background: rgba(29,78,216,.22);
  border-color: rgba(96,165,250,.4);
  color: #93c5fd;
}
.badge-shield { background: rgba(252,69,77,.16); border-color: rgba(252,69,77,.35); color: #ffd7d9; }

/* ── Header flotante tipo píldora ────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: .85rem 1rem 0;
  transition: padding .3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(13,13,43,.4);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 9999px;
  padding: .55rem 1.1rem .55rem 1.35rem;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.scrolled .header-inner {
  background: rgba(255,255,255,.92);
  border-color: rgba(0,0,0,.05);
  box-shadow: 0 8px 30px rgba(13,13,43,.14);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: #fff;
  white-space: nowrap;
  transition: color .3s;
}
.site-header.scrolled .logo { color: #131332; }
.logo-mark { height: 30px; width: 30px; flex-shrink: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; }
.footer-logo-mark { height: 18px; width: 18px; flex-shrink: 0; opacity: .85; }

.main-nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
}
.main-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.main-nav a:hover { color: #fff; }
.site-header.scrolled .main-nav a { color: #4b5563; }
.site-header.scrolled .main-nav a:hover { color: #fc454d; }

@media (min-width: 1024px) { .main-nav { display: flex; } }

.header-actions {
  display: none;
  align-items: center;
  gap: .6rem;
}
@media (min-width: 1024px) { .header-actions { display: flex; } }

.site-header.scrolled .btn-ghost { color: #4b5563; }
.site-header.scrolled .btn-ghost:hover { color: #fc454d; background: rgba(252,69,77,.07); }
.site-header.scrolled .btn-outline {
  border-color: #fc454d;
  color: #fc454d;
}
.site-header.scrolled .btn-outline:hover { background: rgba(252,69,77,.07); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .55rem;
  border-radius: 9999px;
  transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.12); }
.hamburger span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background .3s;
}
.site-header.scrolled .hamburger span { background: #374151; }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu — tarjeta redondeada colgando del pill */
.mobile-menu {
  display: none;
  max-width: 1200px;
  margin: .55rem auto 0;
  background: rgba(13,13,43,.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.5rem;
  overflow: hidden;
}
.mobile-menu.open { display: block; }
.site-header.scrolled .mobile-menu {
  background: rgba(255,255,255,.97);
  border-color: rgba(0,0,0,.06);
  box-shadow: 0 16px 40px rgba(13,13,43,.16);
}

.mobile-menu nav {
  padding: 1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.mobile-link {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: .6rem .8rem;
  border-radius: .9rem;
  transition: background .2s;
}
.mobile-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.site-header.scrolled .mobile-link { color: #374151; }
.site-header.scrolled .mobile-link:hover { background: #f5f6fb; }
.mobile-divider { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: .5rem 0; }
.site-header.scrolled .mobile-divider { border-top-color: #eceef5; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.block { display: flex; }
.mt-2 { margin-top: .5rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 110% 10%, rgba(29,78,216,.4), transparent 55%),
    radial-gradient(800px 520px at -10% 90%, rgba(252,69,77,.28), transparent 55%),
    linear-gradient(160deg, #0d0d2b 0%, #191a4a 55%, #0d0d2b 100%);
  border-radius: 0 0 clamp(1.75rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem);
}

/* Blobs orgánicos animados */
.hero-glow {
  position: absolute;
  top: 42%; left: 48%;
  transform: translate(-50%, -50%);
  width: 720px; height: 460px;
  background: radial-gradient(ellipse, rgba(252,69,77,.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(28px);
  animation: blobDrift 12s ease-in-out infinite;
}
.hero-glow-blue {
  position: absolute;
  top: 8%; right: -12%;
  width: 560px; height: 560px;
  background: radial-gradient(ellipse, rgba(45,212,191,.18) 0%, rgba(29,78,216,.22) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(34px);
  animation: blobDrift 14s ease-in-out infinite reverse;
}
@keyframes blobDrift {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-46%, -54%) scale(1.08); }
}
.hero-glow-blue { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-glow-blue, .hero-mockup-wrapper { animation: none !important; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative; z-index: 1;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; }
}

.hero-copy { color: #fff; }

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 1.35rem;
  letter-spacing: -.03em;
}

.text-gradient {
  background: linear-gradient(90deg, #fc454d 0%, #ff7a45 55%, #ffb36b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-blue-400 { color: #60a5fa; }

.hero-sub {
  font-size: 1.15rem;
  color: #c7cbee;
  margin-bottom: 2.25rem;
  max-width: 31rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 1.75rem;
}

.hero-register {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.6rem;
}
.hero-register-label { font-size: .8rem; color: #9aa0d8; }
.hero-register .btn-google { align-self: flex-start; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: #c7cbee;
}
.trust-badges span {
  display: flex; align-items: center; gap: .3rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9999px;
  padding: .3rem .8rem;
  font-weight: 600;
}

.arrow { font-size: 1rem; transition: transform .2s; }
a:hover .arrow { transform: translateX(3px); }

/* ── Hero mockup wrapper (flotante) ──────────────────────── */
.hero-mockup-wrapper {
  animation: floatMockup 6s ease-in-out infinite;
}
.hero-mockup-inner {
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform .5s ease;
}
.hero-mockup-wrapper:hover .hero-mockup-inner {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}
@keyframes floatMockup {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.live-dot { display: inline-block; animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ── Mockup browser shell ────────────────────────────────── */
.mockup-browser {
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #10122e;
  box-shadow:
    0 28px 70px rgba(5,6,24,.55),
    0 0 0 1px rgba(255,255,255,.05),
    0 44px 90px -30px rgba(252,69,77,.35);
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  background: #1c1e4a;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.chrome-dots { display: flex; gap: 5px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red    { background: rgba(239,68,68,.75); }
.dot-yellow { background: rgba(234,179,8,.75); }
.dot-green  { background: rgba(34,197,94,.75); }

.chrome-url {
  flex: 1;
  /* Sin min-width:0 el ítem flex no baja de su ancho de contenido y una URL
     larga desborda el mockup (y con él la página) en móvil, pese al ellipsis. */
  min-width: 0;
  background: rgba(255,255,255,.1);
  border-radius: 9999px;
  padding: .25rem .85rem;
  font-size: .7rem;
  color: #9aa0d8;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-badge {
  font-size: .65rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52,211,153,.12);
  border: 1px solid rgba(52,211,153,.25);
  padding: .2rem .5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* ── Dashboard mockup internals ──────────────────────────── */
.mockup-body {
  display: flex;
  min-height: 280px;
}

.mockup-sidebar {
  width: 44px;
  padding: .75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  background: #0a0b24;
  border-right: 1px solid rgba(255,255,255,.05);
}

.sidebar-brand {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #fc454d, #ff7a45);
  border-radius: .6rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  margin-bottom: .25rem;
}
.sidebar-brand.sm { width: 22px; height: 22px; font-size: .7rem; }

.sidebar-icon {
  width: 28px; height: 28px;
  border-radius: .6rem;
  display: flex; align-items: center; justify-content: center;
  color: #4c5286;
  transition: background .2s;
}
.sidebar-icon.active { background: rgba(29,78,216,.25); color: #60a5fa; }
.sidebar-icon.sm { width: 22px; height: 22px; }

.mockup-main {
  flex: 1;
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-title {
  font-size: .7rem;
  font-weight: 600;
  color: #fff;
}
.dash-title.sm { font-size: .6rem; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}
.sm-grid { grid-template-columns: 1fr 1fr; gap: .3rem; }

.stat-card {
  border-radius: .8rem;
  padding: .55rem .6rem;
  border: 1px solid rgba(255,255,255,.06);
}
.sm-card { padding: .35rem .45rem; }

.stat-green  { background: rgba(34,197,94,.1); }
.stat-red    { background: rgba(239,68,68,.1); }
.stat-blue   { background: rgba(59,130,246,.1); }
.stat-yellow { background: rgba(234,179,8,.1); }

.stat-label { font-size: .6rem; color: #9aa0d8; margin-bottom: .15rem; }
.stat-value {
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sm-val { font-size: .65rem; }
.stat-green  .stat-value { color: #4ade80; }
.stat-red    .stat-value { color: #f87171; }
.stat-blue   .stat-value { color: #60a5fa; }
.stat-yellow .stat-value { color: #facc15; }
.stat-sub { font-size: .55rem; color: #6a6fa5; margin-top: .1rem; }

/* ── Chart ───────────────────────────────────────────────── */
.chart-box {
  background: #1c1e4a;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: .8rem;
  padding: .55rem .65rem;
}
.sm-chart { padding: .4rem .5rem; }

.chart-title { font-size: .6rem; color: #9aa0d8; margin-bottom: .5rem; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 52px;
}
.sm-chart .chart-bars { height: 36px; }

.bar-group {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 1px;
  height: 100%;
}
.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-height: 2px;
}
.bar-in { background: linear-gradient(180deg, #60a5fa, #1d4ed8); }
.bar-ex { background: rgba(248,113,113,.55); }

.chart-days {
  display: flex;
  justify-content: space-between;
  margin-top: .4rem;
}
.chart-days span { font-size: .55rem; color: #4c5286; flex: 1; text-align: center; }

/* ── Transactions ────────────────────────────────────────── */
.txn-list {
  background: #1c1e4a;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: .8rem;
  padding: .55rem .65rem;
}
.txn-title { font-size: .6rem; color: #9aa0d8; margin-bottom: .4rem; font-weight: 600; }
.txn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.txn-row:last-child { border-bottom: none; }
.txn-desc { font-size: .65rem; color: #c7cbee; }
.txn-amount { font-size: .65rem; font-weight: 600; }
.income  { color: #4ade80; }
.expense { color: #f87171; }

/* ── Compact mockup variant ──────────────────────────────── */
.mockup-sm .mockup-body { min-height: 220px; }
.sidebar-sm { width: 36px; }

/* ── Section headers ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header-dark { color: #fff; }
/* Doble clase a propósito: `.section-header h2` (más abajo) pinta el título
   de oscuro y, con la misma especificidad, ganaba por ir después. Eso dejaba
   el h2 de la sección de precios casi invisible sobre el fondo oscuro. */
.section-header.section-header-dark h2 { color: #fff; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fc454d;
  background: #fff1ee;
  border: 1px solid #ffd4cc;
  border-radius: 9999px;
  padding: .35rem 1rem;
  margin-bottom: 1rem;
}
.eyebrow-accent { color: #ff9aa0; background: rgba(252,69,77,.14); border-color: rgba(252,69,77,.35); }

.section-header h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #131332;
  margin-bottom: .875rem;
  letter-spacing: -.025em;
}
.section-sub {
  font-size: 1.05rem;
  color: #63678f;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}
.text-slate { color: #9aa0d8; }
.pricing-note { font-size: .85rem; color: #8a8fc4; margin-top: .75rem; }

/* ── Pain Points ─────────────────────────────────────────── */
.pain-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
@media (min-width: 768px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }

.pain-card {
  padding: 2.1rem;
  border-radius: 1.75rem;
  background: #f8f8fd;
  border: 1px solid #ededf7;
  transition: transform .25s, box-shadow .25s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(19,19,50,.08); }

.pain-icon {
  width: 56px; height: 56px;
  border-radius: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.pain-orange { background: #fff3e6; color: #f97316; }
.pain-red    { background: #ffecec; color: #ef4444; }
.pain-purple { background: #f3edff; color: #8b5cf6; }

.pain-card h3 { font-size: 1.15rem; font-weight: 800; color: #131332; margin-bottom: .6rem; letter-spacing: -.01em; }
.pain-card p  { font-size: .9rem; color: #63678f; line-height: 1.7; }

.pain-solution {
  padding: 1.6rem 2.25rem;
  background: linear-gradient(135deg, #fc454d 0%, #ff7a45 100%);
  border-radius: 1.75rem;
  text-align: center;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.6;
  box-shadow: 0 18px 44px rgba(252,69,77,.32);
}
.pain-solution strong { font-weight: 800; }

/* ── Feature rows ────────────────────────────────────────── */
.feature-row {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .feature-row { grid-template-columns: 1fr 1fr; } }

@media (min-width: 768px) {
  .feature-row-reverse .feature-visual { order: -1; }
}

.mb-feature { margin-bottom: 5.5rem; }

.feature-copy { color: #fff; }
.feature-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.025em;
  color: #fff;
}
.feature-copy p { color: #9aa0d8; font-size: 1.05rem; margin-bottom: 1.75rem; line-height: 1.7; }

/* Feature copy in white bg context (features section) */
#features .feature-copy { color: #131332; }
#features .feature-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
  color: #131332;
}
#features .feature-copy p { color: #63678f; }

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 800;
  color: #1d4ed8;
  background: #eaf1ff;
  border: 1px solid #c9dbff;
  padding: .35rem .95rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}
.feature-tag-red { color: #fc454d; background: #fff1ee; border-color: #ffc9c2; }

.feature-points { display: flex; flex-direction: column; gap: .875rem; }
.feature-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.25rem;
  padding: 1.05rem 1.3rem;
  transition: background .2s, transform .2s;
}
.feature-point:hover { background: rgba(255,255,255,.09); transform: translateX(4px); }
.feature-point-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: .8rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: .1rem;
}
.feature-point-icon.green  { background: rgba(34,197,94,.16);  color: #4ade80; }
.feature-point-icon.yellow { background: rgba(234,179,8,.16);  color: #facc15; }
.feature-point-icon.blue   { background: rgba(59,130,246,.16); color: #60a5fa; }
.feature-point strong { font-size: .92rem; color: #fff; display: block; margin-bottom: .2rem; }
.feature-point p      { font-size: .8rem; color: #9aa0d8; margin: 0; }

.check-list { display: flex; flex-direction: column; gap: .7rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .95rem;
  color: #3c3f63;
}
.check-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  border-radius: 9999px;
  background: #eaf1ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .15rem;
}

/* ── Benefits ────────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  padding: 2.1rem;
  border-radius: 1.75rem;
  background: #fff;
  border: 1px solid #ededf7;
  box-shadow: 0 2px 10px rgba(19,19,50,.04);
  transition: box-shadow .25s, transform .25s;
}
.benefit-card:hover { box-shadow: 0 18px 44px rgba(19,19,50,.1); transform: translateY(-5px); }

.benefit-icon {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, #ffe9e2 0%, #e3edff 100%);
  border-radius: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.benefit-card h3 { font-size: 1.15rem; font-weight: 800; color: #131332; margin-bottom: .6rem; letter-spacing: -.01em; }
.benefit-card > p { font-size: .9rem; color: #63678f; line-height: 1.7; margin-bottom: 1.25rem; }

.benefit-list { display: flex; flex-direction: column; gap: .5rem; }
.benefit-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: #3c3f63;
  font-weight: 500;
}
.benefit-list li::before { content: '✓'; color: #1d4ed8; font-weight: 800; flex-shrink: 0; }

/* ── Inventory mockup ────────────────────────────────────── */
.inv-body {
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.inv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.inv-title { font-size: .75rem; font-weight: 600; color: #fff; }
.inv-btn {
  font-size: .65rem;
  background: #1d4ed8;
  color: #fff;
  padding: .28rem .7rem;
  border-radius: 9999px;
  font-weight: 700;
}
.inv-list { display: flex; flex-direction: column; gap: .35rem; }
.inv-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #1c1e4a;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: .75rem;
  padding: .55rem .75rem;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-ok  { background: #4ade80; }
.dot-low { background: #facc15; }
.dot-out { background: #f87171; }
.inv-name  { flex: 1; font-size: .7rem; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-qty   { font-size: .65rem; color: #9aa0d8; white-space: nowrap; }
.inv-qty strong { color: #e2e8f0; }
.inv-price { font-size: .65rem; color: #60a5fa; font-weight: 600; white-space: nowrap; }
.warn   { color: #facc15 !important; }
.danger { color: #f87171 !important; }
.inv-legend { display: flex; gap: 1rem; padding-top: .25rem; }
.legend-item { font-size: .6rem; }
.legend-item.ok  { color: #4ade80; }
.legend-item.low { color: #facc15; }
.legend-item.out { color: #f87171; }

/* ── Financial mockup ────────────────────────────────────── */
.fin-body { padding: .75rem; display: flex; flex-direction: column; gap: .6rem; }
.fin-period {
  font-size: .65rem;
  color: #9aa0d8;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9999px;
  padding: .2rem .6rem;
}
.fin-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .4rem; }
.fin-stat {
  background: #1c1e4a;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: .8rem;
  padding: .5rem .6rem;
  text-align: center;
}
.fin-label { font-size: .55rem; color: #9aa0d8; margin-bottom: .2rem; }
.fin-value { font-size: .75rem; font-weight: 700; }
.fin-value.green { color: #4ade80; }
.fin-value.red   { color: #f87171; }
.fin-value.blue  { color: #60a5fa; }
.txn-table { display: flex; flex-direction: column; }
.txn-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: .35rem .65rem;
  background: rgba(255,255,255,.04);
  border-radius: .6rem .6rem 0 0;
  font-size: .6rem;
  font-weight: 600;
  color: #6a6fa5;
}
.txn-header span:last-child, .txn-row-fin span:last-child { text-align: right; }
.txn-row-fin {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: .35rem .65rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: .65rem;
}
.txn-row-fin:last-child { border-bottom: none; }
.txn-row-fin span:first-child { color: #c7cbee; }
.txn-row-fin span:nth-child(2) { color: #6a6fa5; }

/* ── How it works — flujo paso a paso ────────────────────── */
.steps-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  counter-reset: paso;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: 1fr auto 1fr auto 1fr; }
}

.step-card {
  text-align: left;
  position: relative;
  background: #f8f8fd;
  border: 1px solid #ededf7;
  border-radius: 1.75rem;
  padding: 2rem 1.75rem 1.75rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(19,19,50,.1);
  border-color: #ffd4cc;
}

/* Número gigante estilo Nequi */
.step-num {
  position: static;
  width: auto; height: auto;
  background: none;
  display: block;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fc454d, #ff7a45);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.step-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #ffe9e2 0%, #e3edff 100%);
  border: none;
  border-radius: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 1.15rem;
}
.step-card h3 { font-size: 1.15rem; font-weight: 800; color: #131332; margin-bottom: .5rem; letter-spacing: -.01em; }
.step-card p  { font-size: .9rem; color: #63678f; line-height: 1.65; }

.step-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 800;
  color: #fc454d;
  transition: gap .2s;
}
.step-link:hover { gap: .6rem; }

.step-connector {
  width: 2px;
  height: 34px;
  background: repeating-linear-gradient(to bottom, #ffb3ab 0 6px, transparent 6px 12px);
  margin: 0 auto;
  border-radius: 2px;
}
@media (min-width: 768px) {
  .step-connector {
    width: 44px; height: 2px;
    background: repeating-linear-gradient(to right, #ffb3ab 0 6px, transparent 6px 12px);
    align-self: center;
  }
}

/* ── Banda de soporte por WhatsApp (bajo los pasos) ──────── */
.support-band {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 2.25rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, #eafff1 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
}
.support-icon {
  width: 58px; height: 58px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #25d366, #1fb958);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(37,211,102,.35);
}
.support-text { flex: 1 1 320px; }
.support-text strong {
  display: block;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #14532d;
  margin-bottom: .2rem;
  letter-spacing: -.01em;
}
.support-text p { font-size: .92rem; color: #166534; line-height: 1.6; margin: 0; }
.support-band .btn-wa { flex-shrink: 0; }
@media (max-width: 640px) {
  .support-band { padding: 1.5rem; gap: 1rem; }
  .support-band .btn-wa { width: 100%; }
}

/* ── Botón flotante de WhatsApp ──────────────────────────── */
.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, #25d366, #1fb958);
  color: #fff;
  border-radius: 9999px;
  padding: .9rem;
  box-shadow: 0 12px 32px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s, padding .2s;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 40px rgba(37,211,102,.55); }
.wa-fab svg { display: block; }
.wa-fab-label {
  display: none;
  font-size: .9rem;
  font-weight: 800;
  padding-right: .45rem;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .wa-fab { padding: .8rem 1.1rem; }
  .wa-fab-label { display: block; }
}
.wa-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid rgba(37,211,102,.6);
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .8; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab::after { animation: none; } }

/* ── For who ─────────────────────────────────────────────── */
.who-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 480px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }

.who-card {
  text-align: center;
  padding: 2.1rem 1.5rem;
  background: #fff;
  border-radius: 1.75rem;
  border: 1px solid #ededf7;
  box-shadow: 0 2px 10px rgba(19,19,50,.04);
  transition: box-shadow .25s, transform .25s;
}
.who-card:hover { box-shadow: 0 18px 44px rgba(19,19,50,.1); transform: translateY(-5px); }
.who-icon {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, #ffe9e2 0%, #e3edff 100%);
  border-radius: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.who-card h3 { font-size: 1.05rem; font-weight: 800; color: #131332; margin-bottom: .5rem; }
.who-card p  { font-size: .85rem; color: #63678f; line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 1.75rem;
  padding: 2rem 1.6rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  transition: transform .2s, background .2s;
  backdrop-filter: blur(6px);
}
.pricing-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); }

.pricing-popular {
  border-color: transparent;
  background: linear-gradient(160deg, rgba(252,69,77,.28), rgba(255,122,69,.16));
  box-shadow: 0 0 0 2px #fc454d, 0 22px 50px rgba(252,69,77,.35);
  transform: scale(1.04);
}
.pricing-popular:hover { transform: scale(1.04) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #fc454d, #ff7a45);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: .3rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(252,69,77,.4);
}
.plan-name { font-size: .85rem; font-weight: 700; color: #9aa0d8; text-transform: uppercase; letter-spacing: .06em; }
.plan-price { display: flex; align-items: baseline; gap: .2rem; }
.plan-users { font-size: .8rem; color: #7fb2ff; font-weight: 700; }
.plan-features { display: flex; flex-direction: column; gap: .55rem; flex: 1; margin-top: .25rem; }
.plan-features li {
  font-size: .85rem;
  color: #c7cbee;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.plan-features li::before { content: '✓'; color: #7fb2ff; font-weight: 800; flex-shrink: 0; }

.btn-plan {
  display: block;
  text-align: center;
  padding: .8rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  transition: background .2s, transform .2s;
}
.btn-plan:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.btn-plan-primary {
  background: linear-gradient(135deg, #fc454d, #ff7a45);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(252,69,77,.4);
}
.btn-plan-primary:hover { filter: brightness(1.06); background: linear-gradient(135deg, #fc454d, #ff7a45); }

/* Banner del demo educativo, debajo de los planes */
.edu-demo {
  margin-top: 3rem;
  padding: 2.25rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(124,58,237,.28), rgba(37,99,235,.16));
  border: 1px solid rgba(167,139,250,.35);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.edu-demo-text { flex: 1 1 320px; }
.edu-demo-eyebrow {
  font-size: .8rem;
  font-weight: 800;
  color: #c4b5fd;
  margin-bottom: .5rem;
}
.edu-demo h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .5rem;
  letter-spacing: -.015em;
}
.edu-demo p {
  font-size: .92rem;
  color: #c7cbee;
  margin: 0;
  line-height: 1.6;
}
.edu-demo-actions {
  flex: 0 0 auto;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .6rem;
}
.edu-demo-cta {
  background: #fff;
  color: #6d28d9;
  border-color: transparent;
}
.edu-demo-cta:hover { background: #f5f3ff; }
.edu-demo-link {
  font-size: .78rem;
  font-weight: 700;
  color: #c4b5fd;
  text-align: center;
}
.edu-demo-link:hover { color: #ddd6fe; }

/* Enlace "Educación" del menú principal */
.main-nav a.nav-edu { color: #c4b5fd; font-weight: 800; }
.main-nav a.nav-edu:hover { color: #ddd6fe; }
.site-header.scrolled .main-nav a.nav-edu { color: #7c3aed; }

@media (max-width: 640px) {
  .edu-demo { padding: 1.5rem; gap: 1.25rem; }
  .edu-demo-actions { width: 100%; }
}

/* Plan price special formatting */
.pricing-card .plan-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.pricing-card .plan-price span {
  font-size: .85rem;
  font-weight: 500;
  color: #9aa0d8;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-container { max-width: 780px; }

.faq-list { display: flex; flex-direction: column; gap: .875rem; }

.faq-item {
  background: #f8f8fd;
  border: 1px solid #ededf7;
  border-radius: 1.4rem;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item.open { box-shadow: 0 10px 30px rgba(19,19,50,.08); border-color: #ffd4cc; }

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: #131332;
  background: none;
  transition: color .2s;
}
.faq-question:hover { color: #fc454d; }

.faq-icon {
  flex-shrink: 0;
  color: #9ca3af;
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: #fc454d; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.6rem 1.3rem;
}
.faq-answer p { font-size: .95rem; color: #63678f; line-height: 1.7; }

/* ── Footer ──────────────────────────────────────────────── */
.footer-cta {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(29,78,216,.35), transparent 60%),
    radial-gradient(700px 460px at 0% 100%, rgba(252,69,77,.25), transparent 60%),
    linear-gradient(150deg, #0d0d2b 0%, #191a4a 55%, #0d0d2b 100%);
  padding: 5.5rem 0;
  border-radius: clamp(1.5rem, 3.5vw, 2.75rem);
  margin: clamp(.75rem, 2vw, 1.5rem);
  overflow: hidden;
}
.footer-cta-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.footer-cta-inner h2 {
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  margin: 1.5rem 0 1rem;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.footer-cta-inner > p {
  font-size: 1.05rem;
  color: #9aa0d8;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.footer-trust { justify-content: center; }
.footer-trust span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #9aa0d8; }

.footer-bottom {
  background: transparent;
  padding: 1rem 0 2rem;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
  font-size: .85rem;
  color: #8a8fc4;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #8a8fc4; transition: color .2s; }
.footer-links a:hover { color: #131332; }

/* ── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 1023px) {
  .hero-mockup-wrapper { display: none; }
}
@media (max-width: 767px) {
  .section { padding: 3.75rem 0; }
  .feature-row-reverse .feature-visual { order: 0; }
}
