/* Landing de rekompra — sigue el Manual de Identidad v1.0 (docs/identidad/MANUAL-DE-IDENTIDAD.md).
   Regla de oro: amarillo solo para acción y recompensa; gris carbón como base seria. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body {
  font-family: var(--rk-font-body);
  font-size: var(--rk-text-base);
  background: var(--rk-bg);
  color: var(--rk-text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }

.wrap { width: 100%; max-width: var(--rk-max-width); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--rk-font-display); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, var(--rk-text-3xl)); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, var(--rk-text-xl)); font-weight: 700; margin-bottom: var(--rk-space-4); }
h3 { font-size: var(--rk-text-lg); font-weight: 600; margin-bottom: var(--rk-space-2); }
p { color: var(--rk-text-muted); }

.eyebrow {
  display: inline-block; font-family: var(--rk-font-display); font-size: var(--rk-text-sm); font-weight: 600;
  color: var(--rk-gray-500); margin-bottom: var(--rk-space-3);
}

/* ---------- Secciones alternadas: claro ↔ oscuro ---------- */
.sec { padding: var(--rk-space-24) 0; }
.sec-light { background: var(--rk-white); }
.sec-soft { background: var(--rk-bg-soft); }
.sec-dark { background: var(--rk-bg-dark); color: var(--rk-text-on-dark); }
.sec-dark p { color: var(--rk-gray-300); }
.sec-dark .eyebrow { color: var(--rk-yellow); }

/* ---------- Botones (radio 14 px, nunca cuadrados) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--rk-radius-md);
  font-family: var(--rk-font-display); font-weight: 600; font-size: var(--rk-text-base);
  border: 2px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--rk-primary); color: var(--rk-on-primary); }
.btn-primary:hover { background: var(--rk-primary-hover); }
.btn-outline { border-color: var(--rk-border); color: var(--rk-ink); background: transparent; }
.btn-outline:hover { border-color: var(--rk-gray-300); }
.btn-outline-dark { border-color: var(--rk-gray-700); color: var(--rk-white); background: transparent; }
.btn-outline-dark:hover { border-color: var(--rk-gray-500); }
.btn-ghost { color: var(--rk-yellow); padding-left: 8px; padding-right: 8px; }
.btn-sm { padding: 8px 16px; font-size: var(--rk-text-sm); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--rk-space-3); margin-top: var(--rk-space-8); }
.cta-row.center { justify-content: center; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(35, 39, 43, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rk-gray-700); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: var(--rk-space-4); }
.nav-logo { font-size: 1.6rem; }
.nav-links { display: flex; gap: 28px; font-size: var(--rk-text-sm); color: var(--rk-gray-300); font-weight: 500; }
.nav-links a:hover { color: var(--rk-white); }
.nav-actions { display: flex; gap: var(--rk-space-2); align-items: center; }

/* ---------- Hero ---------- */
.hero-sec { padding: var(--rk-space-16) 0 var(--rk-space-24); }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: var(--rk-space-12); }
.lead { font-size: var(--rk-text-lg); margin-top: var(--rk-space-6); max-width: 34rem; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-top: var(--rk-space-6); font-size: var(--rk-text-sm); color: var(--rk-gray-300); }
.trust li::before { content: '✓ '; color: var(--rk-yellow); font-weight: 700; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.hero-coin {
  position: absolute; width: 150px; height: 150px; top: -10px; right: 2%; z-index: 0;
  filter: drop-shadow(0 0 40px rgba(255, 210, 0, 0.45));
}
.phone {
  position: relative; z-index: 1; width: 290px; padding: 12px; border-radius: 40px;
  background: #1A1D20; border: 1px solid var(--rk-gray-700); box-shadow: var(--rk-shadow-lg);
}
.card-mock { background: var(--rk-white); color: var(--rk-ink); border-radius: 30px; padding: 22px 20px; }
.cm-head { display: flex; align-items: center; gap: 10px; }
.cm-head strong { display: block; font-family: var(--rk-font-display); font-size: 0.95rem; }
.cm-head small { color: var(--rk-gray-500); font-size: var(--rk-text-xs); }
.cm-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--rk-bg-soft); font-size: 1.3rem; }
.cm-count { margin-top: 18px; font-size: var(--rk-text-sm); color: var(--rk-gray-500); }
.cm-count span { font-family: var(--rk-font-display); font-size: 1.6rem; font-weight: 700; color: var(--rk-ink); margin-right: 4px; }
.cm-stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.cm-stamps i {
  aspect-ratio: 1; border-radius: var(--rk-radius-full); display: grid; place-items: center; font-style: normal;
  border: 2px dashed var(--rk-gray-300);
}
.cm-stamps i.on { border: none; }
.cm-stamps i.on svg { width: 100%; height: 100%; }
.cm-stamps i.gift { background: var(--rk-yellow-soft); border-color: var(--rk-yellow); }
.cm-points {
  display: flex; justify-content: space-between; align-items: center; margin-top: 16px;
  padding: 10px 12px; background: var(--rk-bg-soft); border-radius: var(--rk-radius-sm); font-size: var(--rk-text-sm); font-weight: 600;
}
.cm-pill { background: var(--rk-yellow); color: var(--rk-ink); padding: 4px 12px; border-radius: var(--rk-radius-sm); font-size: var(--rk-text-xs); font-weight: 600; }
.cm-qr { margin-top: 16px; text-align: center; }
.cm-qr small { color: var(--rk-gray-500); font-size: 0.7rem; }
.qr-grid {
  width: 104px; height: 104px; margin: 0 auto 6px; border-radius: var(--rk-radius-sm); background-color: #fff;
  background-image: linear-gradient(90deg, var(--rk-ink) 50%, transparent 50%), linear-gradient(var(--rk-ink) 50%, transparent 50%);
  background-size: 13px 13px, 21px 21px; border: 7px solid #fff; outline: 1px solid var(--rk-border);
}
.float-chip {
  position: absolute; z-index: 2; left: -8px; bottom: 36px; padding: 10px 16px; border-radius: var(--rk-radius-md);
  background: var(--rk-white); color: var(--rk-ink); font-size: var(--rk-text-sm); font-weight: 600;
  box-shadow: var(--rk-shadow-lg); animation: float 5s ease-in-out infinite;
}
.float-chip::before { content: '🔔 '; }
@keyframes float { 50% { transform: translateY(-6px); } }

/* ---------- Problema ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--rk-space-12); align-items: center; }
.compare { list-style: none; display: grid; gap: var(--rk-space-3); }
.compare li {
  display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: var(--rk-radius-lg);
  background: var(--rk-white); border: 1px solid var(--rk-border); box-shadow: var(--rk-shadow-sm); font-weight: 500;
}
.compare li.good-row { border-color: var(--rk-yellow); background: var(--rk-yellow-soft); }
.bad, .good { flex-shrink: 0; width: 28px; height: 28px; border-radius: var(--rk-radius-full); display: grid; place-items: center; font-size: var(--rk-text-sm); }
.bad { background: var(--rk-bg-soft); color: var(--rk-gray-500); }
.good svg { width: 28px; height: 28px; }

/* ---------- Tarjetas (blancas, radio 22, borde, sombra suave) ---------- */
.steps, .features, .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rk-space-6); margin-top: var(--rk-space-8); }
.steps { list-style: none; }
.steps li, .feature {
  padding: var(--rk-space-8); border-radius: var(--rk-radius-lg); background: var(--rk-white);
  border: 1px solid var(--rk-border); box-shadow: var(--rk-shadow-sm);
}
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--rk-radius-full); margin-bottom: var(--rk-space-4);
  background: var(--rk-yellow); color: var(--rk-ink); font-family: var(--rk-font-display); font-weight: 700;
}
.f-icon { font-size: 1.7rem; display: block; margin-bottom: var(--rk-space-3); }
.feature p, .steps p { font-size: 0.95rem; }

/* ---------- Sorteos ---------- */
.checks { list-style: none; margin-top: var(--rk-space-6); display: grid; gap: var(--rk-space-3); }
.checks li { padding-left: 30px; position: relative; color: var(--rk-gray-300); }
.checks li::before {
  content: '✓'; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: var(--rk-radius-full);
  background: var(--rk-yellow); color: var(--rk-ink); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center;
}
.raffle-mock {
  justify-self: center; width: 100%; max-width: 340px; padding: var(--rk-space-8); border-radius: var(--rk-radius-lg); text-align: center;
  background: var(--rk-white); color: var(--rk-ink); box-shadow: var(--rk-shadow-lg);
}
.rm-coin { width: 56px; height: 56px; margin: 0 auto 12px; filter: drop-shadow(0 0 20px rgba(255, 210, 0, 0.5)); }
.rm-title { font-family: var(--rk-font-display); font-weight: 700; font-size: 1.1rem; }
.rm-prize { color: var(--rk-gray-500); font-size: var(--rk-text-sm); margin-top: 2px; }
.rm-winner { margin: var(--rk-space-6) 0; padding: var(--rk-space-6); border-radius: var(--rk-radius-md); background: var(--rk-yellow-soft); }
.rm-winner small { display: block; color: var(--rk-gray-700); font-size: var(--rk-text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.rm-winner strong { display: block; font-family: var(--rk-font-display); font-size: 2.6rem; line-height: 1.2; }
.rm-verify { color: var(--rk-gray-700); font-weight: 600; font-size: var(--rk-text-sm); }

/* ---------- Para quién ---------- */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: var(--rk-space-8); }
.tags span { padding: 10px 18px; border-radius: var(--rk-radius-full); background: var(--rk-white); border: 1px solid var(--rk-border); font-weight: 500; font-size: 0.95rem; }

/* ---------- Planes (sobre fondo oscuro) ---------- */
.plans { align-items: stretch; }
.plan { position: relative; padding: var(--rk-space-8); border-radius: var(--rk-radius-lg); background: var(--rk-white); color: var(--rk-ink); box-shadow: var(--rk-shadow-md); }
.sec-dark .plan p { color: var(--rk-gray-500); }
.plan.featured { outline: 3px solid var(--rk-yellow); box-shadow: var(--rk-shadow-glow); }
.badge {
  position: absolute; top: -13px; left: var(--rk-space-8); padding: 4px 12px; border-radius: var(--rk-radius-full);
  background: var(--rk-yellow); color: var(--rk-ink); font-size: var(--rk-text-xs); font-weight: 700; font-family: var(--rk-font-display);
}
.sec-dark .plan .price { font-family: var(--rk-font-display); font-size: var(--rk-text-2xl); font-weight: 700; color: var(--rk-ink); margin: 8px 0 4px; }
.price span { font-size: var(--rk-text-base); color: var(--rk-gray-500); font-weight: 500; }
.plan-desc { font-size: 0.95rem; margin-bottom: var(--rk-space-6); }
.plan ul { list-style: none; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: 0.95rem; }
.plan li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: var(--rk-radius-full); background: var(--rk-yellow);
}
.plans-note { text-align: center; margin-top: var(--rk-space-8); }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--rk-border); padding: 20px 0; }
details:first-of-type { margin-top: var(--rk-space-6); }
summary { cursor: pointer; font-family: var(--rk-font-display); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--rk-gray-500); }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; }

/* ---------- CTA final y pie ---------- */
.final-sec { padding-top: 0; }
.final-cta { text-align: center; padding: var(--rk-space-16) var(--rk-space-6); border-radius: var(--rk-radius-lg); background: var(--rk-yellow-soft); }
.final-cta p { color: var(--rk-gray-700); }
.final-coin { width: 64px; height: 64px; margin: 0 auto var(--rk-space-4); filter: drop-shadow(0 0 20px rgba(255, 210, 0, 0.6)); }
.footer { background: var(--rk-bg-dark); color: var(--rk-gray-300); padding: var(--rk-space-8) 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--rk-space-4); }
.footer-logo { font-size: 1.4rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: var(--rk-text-sm); }
.footer nav a:hover { color: var(--rk-white); }
.footer small { font-size: var(--rk-text-xs); }

/* ---------- Demo guiada (sección oscura) ---------- */
.demo-intro { max-width: 40rem; }
.demo {
  display: grid; grid-template-columns: 1.05fr 0.95fr 1fr; gap: var(--rk-space-6); align-items: start;
  margin-top: var(--rk-space-8); padding: var(--rk-space-6); border-radius: var(--rk-radius-lg);
  background: #1C1F22; border: 1px solid var(--rk-gray-700);
}
.demo-guide {
  padding: var(--rk-space-6); border-radius: var(--rk-radius-lg); background: var(--rk-white); color: var(--rk-ink);
  position: sticky; top: 84px;
}
.sec-dark .demo-guide p { color: var(--rk-gray-700); }
.demo-progress { height: 6px; border-radius: var(--rk-radius-full); background: var(--rk-gray-200); overflow: hidden; margin-bottom: 12px; }
.demo-progress span { display: block; height: 100%; width: 0; background: var(--rk-yellow); transition: width 0.4s; }
.sec-dark .demo-step-count { font-size: var(--rk-text-xs); font-weight: 600; margin-bottom: 10px; color: var(--rk-gray-500); }
.demo-role {
  display: inline-block; padding: 4px 12px; border-radius: var(--rk-radius-full); font-size: var(--rk-text-xs); font-weight: 600;
  background: var(--rk-yellow-soft); color: var(--rk-ink); margin-bottom: 12px;
}
.demo-guide h3 { font-size: 1.35rem; margin-bottom: 10px; }
.demo-why {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--rk-radius-md); font-size: var(--rk-text-sm); color: var(--rk-ink);
  background: var(--rk-bg-soft); border: 1px solid var(--rk-border);
}
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.demo-actions .btn:disabled { opacity: 0.55; cursor: progress; }
.demo-restart { background: none; border: none; color: var(--rk-gray-500); font: inherit; font-weight: 600; cursor: pointer; }
.demo-restart:hover { color: var(--rk-ink); }

.sec-dark .demo-col-label { font-size: var(--rk-text-sm); font-weight: 600; margin-bottom: 10px; text-align: center; color: var(--rk-gray-300); }
.demo[data-role="client"] .demo-phone,
.demo[data-role="pos"] #demo-pos,
.demo[data-role="owner"] #demo-owner { box-shadow: 0 0 0 3px var(--rk-yellow), var(--rk-shadow-glow); }

.demo-phone {
  position: relative; min-height: 440px; max-width: 280px; margin: 0 auto; padding: 18px 16px;
  border-radius: 34px; background: var(--rk-white); color: var(--rk-ink); overflow: hidden; transition: box-shadow 0.3s;
}
.sec-dark .demo-phone p { color: var(--rk-gray-500); }
.dp-view[hidden] { display: none; }
.dp-head { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-family: var(--rk-font-display); }
.dp-head span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--rk-bg-soft); }
.dp-poster { margin-top: 30px; padding: 24px 16px; border-radius: var(--rk-radius-lg); text-align: center; background: var(--rk-yellow-soft); }
.dp-poster small { color: var(--rk-gray-700); font-size: var(--rk-text-xs); }
.dp-poster strong { display: block; font-family: var(--rk-font-display); font-size: 1.2rem; margin-bottom: 14px; }
.sec-dark .demo-phone .dp-poster p { color: var(--rk-ink); font-weight: 600; font-size: var(--rk-text-sm); margin-top: 12px; }
.dp-poster-qr, .dp-qr-code { display: grid; margin: 0 auto; padding: 8px; border-radius: var(--rk-radius-sm); background: #fff; border: 1px solid var(--rk-border); }
.dp-poster-qr { width: 130px; height: 130px; grid-template-columns: repeat(7, 1fr); }
.dp-qr-code { width: 120px; height: 120px; grid-template-columns: repeat(9, 1fr); }
.dp-poster-qr i, .dp-qr-code i { display: block; }
.dp-poster-qr i.on, .dp-qr-code i.on { background: var(--rk-ink); }
.demo-phone h4 { margin: 22px 0 14px; font-family: var(--rk-font-display); font-size: 1.1rem; }
.dp-label { display: block; font-size: var(--rk-text-xs); color: var(--rk-gray-500); font-weight: 600; margin: 10px 0 4px; }
.dp-input { width: 100%; padding: 10px 12px; border-radius: var(--rk-radius-sm); border: 1px solid var(--rk-border); background: var(--rk-white); color: var(--rk-ink); font: inherit; font-size: 0.92rem; }
.dp-input:focus { outline: 2px solid var(--rk-yellow); border-color: transparent; }
.dp-input:disabled { background: var(--rk-bg-soft); }
.dp-note { font-size: var(--rk-text-xs); margin-top: 14px; }
.sec-dark .demo-phone .dp-hello { margin-top: 14px; font-size: 0.9rem; color: var(--rk-ink); }
.dp-count { margin-top: 8px; font-size: var(--rk-text-xs); color: var(--rk-gray-500); }
.dp-count span { font-family: var(--rk-font-display); font-size: 1.5rem; font-weight: 700; color: var(--rk-ink); margin-right: 4px; }
.dp-stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.dp-stamps i {
  aspect-ratio: 1; border-radius: var(--rk-radius-full); display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 0.85rem;
  border: 2px dashed var(--rk-gray-300); color: var(--rk-gray-500);
}
.dp-stamps i.on { border: none; }
.dp-stamps i.on svg { width: 100%; height: 100%; }
.dp-stamps i.gift { background: var(--rk-yellow-soft); border-color: var(--rk-yellow); }
.dp-stamps i.pop { animation: pop 0.5s ease-out; }
.dp-reward { margin-top: 10px; padding: 8px 10px; border-radius: var(--rk-radius-sm); background: var(--rk-bg-soft); font-size: var(--rk-text-xs); font-weight: 500; }
.dp-reward.ready { background: var(--rk-yellow); color: var(--rk-ink); font-weight: 600; }
.dp-points { margin-top: 8px; font-size: 0.82rem; color: var(--rk-gray-500); }
.dp-points strong { color: var(--rk-ink); }
.dp-qr { margin-top: 12px; text-align: center; }
.dp-qr small { display: block; margin-top: 6px; color: var(--rk-gray-500); font-size: 0.7rem; }
.demo-notif {
  position: absolute; left: 10px; right: 10px; top: 10px; z-index: 2; padding: 10px 12px; border-radius: var(--rk-radius-md);
  background: var(--rk-ink); color: var(--rk-white); font-size: 0.8rem; font-weight: 600; box-shadow: var(--rk-shadow-lg);
}
.demo-notif.show { animation: slide-down 0.35s ease-out; }

.demo-screen { border-radius: var(--rk-radius-lg); background: var(--rk-white); color: var(--rk-ink); overflow: hidden; transition: box-shadow 0.3s; }
.demo-screen[hidden] { display: none; }
.ds-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--rk-bg-soft); font-family: var(--rk-font-display); font-weight: 600; font-size: 0.88rem; border-bottom: 1px solid var(--rk-border); }
.ds-bar small { color: var(--rk-gray-500); font-weight: 500; font-family: var(--rk-font-body); }
.ds-body { padding: 18px 16px; min-height: 200px; }
.ds-idle { padding: 40px 10px; text-align: center; color: var(--rk-gray-500); font-weight: 500; border: 2px dashed var(--rk-gray-300); border-radius: var(--rk-radius-md); }
.ds-idle.scanning { color: var(--rk-ink); border-color: var(--rk-yellow); animation: pulse 1s infinite; }
.ds-msg { padding: 18px 16px; border-radius: var(--rk-radius-md); animation: pop 0.35s ease-out; }
.ds-msg strong { display: block; font-family: var(--rk-font-display); font-size: 1rem; margin-bottom: 4px; }
.ds-msg small { color: var(--rk-gray-700); font-size: 0.85rem; }
.ds-msg.ok { background: var(--rk-yellow-soft); border: 1px solid var(--rk-yellow); }
.ds-msg.blocked { background: var(--rk-bg-soft); border: 1px solid var(--rk-gray-300); }
.ds-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.ds-stats div { padding: 12px 6px; border-radius: var(--rk-radius-md); background: var(--rk-bg-soft); }
.ds-stats strong { display: block; font-family: var(--rk-font-display); font-size: 1.4rem; }
.ds-stats small { color: var(--rk-gray-500); font-size: 0.72rem; }
.ds-profit { margin-top: 14px; padding: 14px; border-radius: var(--rk-radius-md); border: 1px solid var(--rk-border); }
.ds-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.85rem; padding: 4px 0; color: var(--rk-gray-500); }
.ds-row b { color: var(--rk-ink); }
.ds-row.total { border-top: 1px solid var(--rk-border); margin-top: 6px; padding-top: 10px; color: var(--rk-ink); font-weight: 600; }
.ds-row.total b { background: var(--rk-yellow); padding: 0 6px; border-radius: 6px; }
.ds-profit small { display: block; margin-top: 8px; color: var(--rk-gray-500); font-size: 0.72rem; }
.ds-log { margin-top: 12px; display: grid; gap: 6px; font-size: 0.78rem; color: var(--rk-gray-500); }
.ds-log div::before { content: '• '; color: var(--rk-yellow-dark); }
.demo-real { text-align: center; margin-top: var(--rk-space-6); font-size: 0.95rem; }
.demo-real a { color: var(--rk-yellow); font-weight: 600; }

@keyframes pop { 0% { transform: scale(0.85); opacity: 0.4; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
@keyframes slide-down { from { transform: translateY(-20px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulse { 50% { box-shadow: 0 0 18px rgba(255, 210, 0, 0.5); } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .demo { grid-template-columns: 1fr 1fr; }
  .demo-guide { grid-column: 1 / -1; position: static; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero, .two-col { grid-template-columns: 1fr; }
  .steps, .features, .plans { grid-template-columns: 1fr; }
  .sec { padding: var(--rk-space-16) 0; }
  .hero-sec { padding-top: var(--rk-space-12); }
  .plan.featured { order: -1; }
}
@media (max-width: 640px) {
  .demo { grid-template-columns: 1fr; padding: 14px; }
  .demo-col { scroll-margin-top: 76px; }
  /* La guía queda fija abajo mientras se recorre la demo; la pantalla activa sube a la vista */
  .demo-guide { order: 3; position: sticky; top: auto; bottom: 8px; z-index: 3; padding: 16px; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45); }
  .demo-guide h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .demo-guide p, .demo-why { font-size: 0.84rem; }
  .sec-dark .demo-step-count { display: none; }
  .demo-why { margin-top: 10px; padding: 8px 10px; }
  .demo-actions { margin-top: 12px; }
  .demo-actions .btn { flex: 1; padding: 12px 16px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .cta-row .btn { width: 100%; }
  .phone { width: 260px; }
  .hero-coin { width: 110px; height: 110px; right: 0; }
  .float-chip { left: 0; }
  .nav-logo { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-chip { animation: none; }
}
