/* ───────────────────────────────────────────────────────────
   floui · sistema de páginas de servicio
   Mismo sistema de marca v2.0 que el sitio principal.
   Base Soft Dawn · un bloque Dawn Green por página · pills Deep Blue.
   Sin sombras. Sparkle verde como acento.
   ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --floui-soft-dawn:  #FFF6F2;
  --floui-deep-blue:  #3B62AB;
  --floui-deep-blue-d:#2A4A85;
  --floui-dawn-green: #DAE9C6;
  --floui-white:      #FFFFFF;
  --floui-charcoal:   #262626;

  --color-bg:      var(--floui-soft-dawn);
  --color-primary: var(--floui-deep-blue);
  --color-accent:  var(--floui-dawn-green);
  --color-surface: var(--floui-white);
  --color-text:    var(--floui-charcoal);

  --maxw: 1080px;
  --pad-x: 48px;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Helvetica, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }

/* ─── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: color-mix(in srgb, var(--floui-soft-dawn) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--floui-deep-blue) 9%, transparent);
}
.nav-logo { display: block; height: 30px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: auto;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text);
  opacity: 0.55;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-link:hover { opacity: 1; }
.nav-link.is-active { opacity: 1; color: var(--color-primary); font-weight: 600; }
.nav-cta {
  background: var(--color-primary);
  color: var(--floui-white);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ─── Shared section scaffolding ───────────────────────────── */
.section { padding: 96px var(--pad-x); }
.section--white { background: var(--color-surface); }
.section--green { background: var(--color-accent); }
.inner { max-width: var(--maxw); margin: 0 auto; }
.inner--narrow { max-width: 720px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.85;
  margin-bottom: 24px;
}
.eyebrow .spark { width: 13px; height: 13px; }

.h-section {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin-bottom: 18px;
  text-wrap: balance;
}
.body {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.7;
  opacity: 0.66;
  max-width: 560px;
  text-wrap: pretty;
}
.body strong { font-weight: 600; opacity: 1; }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--floui-white);
  border-radius: 100px;
  padding: 16px 34px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
  box-shadow: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px var(--pad-x) 104px;
  text-align: center;
  background: var(--color-bg);
}
.hero::before {
  content: attr(data-watermark);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(56px, 15vw, 200px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 16px 7px 14px;
  border-radius: 100px;
  margin-bottom: 30px;
}
.hero-badge .spark { width: 12px; height: 12px; }
.hero-title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
  text-wrap: pretty;
}
.hero-title .hl { color: var(--color-primary); }
.hero-title .mut { opacity: 0.4; }
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  opacity: 0.62;
  max-width: 540px;
  margin-bottom: 40px;
  text-wrap: pretty;
}
.hero-sub strong { font-weight: 600; opacity: 1; }

/* ─── Problema (big statement) ─────────────────────────────── */
.statement {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.32;
  max-width: 820px;
  text-wrap: balance;
}
.statement .dim { opacity: 0.42; }
.statement + .statement-sub {
  margin-top: 28px;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.7;
  opacity: 0.6;
  max-width: 600px;
  text-wrap: pretty;
}

/* ─── Lista "qué incluye / qué hace" (Dawn Green) ──────────── */
.feature-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid color-mix(in srgb, var(--floui-deep-blue) 16%, transparent);
  border-radius: 18px;
  overflow: hidden;
  background: color-mix(in srgb, var(--floui-deep-blue) 16%, transparent);
}
.feature {
  background: var(--color-accent);
  padding: 28px 28px 30px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature .spark { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.feature p {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.78;
  text-wrap: pretty;
}
.feature p strong { font-weight: 700; opacity: 1; }
/* odd last item spans full width when count is odd */
.feature--wide { grid-column: 1 / -1; }

/* ─── Pasos (numbered) ─────────────────────────────────────── */
.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  padding: 0 28px;
  border-left: 1px solid color-mix(in srgb, var(--floui-deep-blue) 14%, transparent);
}
.step:first-child { padding-left: 0; border-left: none; }
.step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, var(--floui-deep-blue) 18%, transparent);
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.step-body {
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.6;
  text-wrap: pretty;
}

/* ─── "Por qué es distinto" — bordered call-out ───────────── */
.callout {
  border: 1.5px solid color-mix(in srgb, var(--floui-deep-blue) 20%, transparent);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  max-width: 840px;
}
.callout .strike {
  display: inline;
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--floui-charcoal) 35%, transparent);
  opacity: 0.45;
}

/* ─── Para quién ───────────────────────────────────────────── */
.audience { text-align: center; }
.audience .inner { display: flex; flex-direction: column; align-items: center; }
.audience .h-section { max-width: 760px; }
.audience .body { margin-inline: auto; text-align: center; }

/* ─── CTA final ────────────────────────────────────────────── */
.cta-final { text-align: center; }
.cta-final .inner { display: flex; flex-direction: column; align-items: center; }
.cta-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 720px;
  text-wrap: balance;
}
.cta-sub {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.7;
  opacity: 0.6;
  max-width: 460px;
  margin: 0 auto 38px;
  text-wrap: pretty;
}

/* ─── Sparkle divider ──────────────────────────────────────── */
.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 8px var(--pad-x) 0;
  background: var(--color-bg);
}
.divider .line {
  height: 1px;
  background: var(--color-primary);
  opacity: 0.12;
  flex: 1;
  max-width: 160px;
}
.divider .spark { width: 18px; height: 18px; }

/* ─── Footer ───────────────────────────────────────────────── */
.footer { background: var(--color-bg); padding: 64px var(--pad-x) 52px; }
.footer-rule {
  height: 1px;
  background: var(--color-primary);
  opacity: 0.1;
  margin-bottom: 36px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-logo { display: block; height: 26px; width: auto; opacity: 0.7; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.42;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 0.85; }

/* ─── Reveal on scroll ─────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-title { font-size: 42px; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .step { padding: 0 24px; }
  .step:nth-child(odd) { padding-left: 0; border-left: none; }
}
@media (max-width: 720px) {
  :root { --pad-x: 24px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .nav { flex-wrap: wrap; gap: 12px 18px; }
  .nav-links { gap: 16px; width: 100%; order: 3; overflow-x: auto; }
  .nav-cta { order: 2; }
  .section { padding: 64px var(--pad-x); }
  .hero { padding: 64px var(--pad-x) 76px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step,
  .step:nth-child(odd),
  .step:first-child { padding-left: 18px; border-left: 2px solid color-mix(in srgb, var(--floui-deep-blue) 18%, transparent); }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   MOCKUPS + EFFECTS
   ═══════════════════════════════════════════════════════════ */
:root {
  --floui-cream: #F2EAD9;
  --floui-clay:  #E4B79B;
}

/* ─── Showcase band ────────────────────────────────────────── */
.hero--showcase { padding-bottom: 44px; }
.showcase {
  background: var(--color-bg);
  padding: 0 var(--pad-x) 92px;
  display: flex;
  justify-content: center;
}
.stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .floaty  { animation: floaty 7s ease-in-out infinite; }
  .floaty2 { animation: floaty 7s ease-in-out -3.5s infinite; }
}

/* ─── Browser frame ────────────────────────────────────────── */
.browser {
  width: 720px;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--floui-white);
  border: 1px solid color-mix(in srgb, var(--floui-charcoal) 12%, transparent);
  box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--floui-deep-blue) 42%, transparent);
}
.browser-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--floui-charcoal) 9%, transparent);
  background: var(--floui-white);
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: var(--floui-clay); }
.browser-dots span:nth-child(2) { background: var(--floui-cream); }
.browser-dots span:nth-child(3) { background: var(--floui-dawn-green); }
.browser-url {
  flex: 1;
  height: 24px;
  border-radius: 7px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: color-mix(in srgb, var(--floui-charcoal) 50%, transparent);
}
.browser-view { background: var(--color-bg); }

/* mini-site inside the browser */
.ms-nav {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--floui-charcoal) 7%, transparent);
}
.ms-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 17px; font-style: italic; color: var(--floui-deep-blue);
  margin-right: auto;
}
.ms-nav .ms-link { width: 34px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--floui-charcoal) 12%, transparent); }
.ms-pill { background: var(--floui-deep-blue); color: var(--floui-white); font-size: 10px; font-weight: 600; padding: 6px 12px; border-radius: 100px; }
.ms-hero { padding: 26px 20px 22px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: center; }
.ms-h {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px; line-height: 1.05; letter-spacing: -0.01em; color: var(--floui-charcoal);
  margin-bottom: 10px;
}
.ms-sub { font-size: 11px; line-height: 1.5; color: color-mix(in srgb, var(--floui-charcoal) 55%, transparent); margin-bottom: 14px; }
.ms-cta { display: inline-block; background: var(--floui-deep-blue); color: var(--floui-white); font-size: 11px; font-weight: 600; padding: 9px 16px; border-radius: 100px; }
.ph-img {
  border-radius: 12px;
  aspect-ratio: 4/5;
  background-color: var(--floui-cream);
  background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--floui-clay) 55%, transparent) 0 8px, transparent 8px 17px);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 9px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8.5px; letter-spacing: 0.04em; text-transform: uppercase;
  color: color-mix(in srgb, var(--floui-charcoal) 55%, transparent);
}
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 20px 24px; }
.ms-card { background: var(--floui-white); border: 1px solid color-mix(in srgb, var(--floui-charcoal) 8%, transparent); border-radius: 12px; padding: 12px; }
.ms-card .ph-img { aspect-ratio: 16/10; margin-bottom: 9px; }
.ms-bar { height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--floui-charcoal) 13%, transparent); margin-bottom: 6px; }
.ms-bar.short { width: 60%; background: color-mix(in srgb, var(--floui-charcoal) 8%, transparent); }

/* ─── Phone frame ──────────────────────────────────────────── */
.phone {
  width: 260px;
  flex-shrink: 0;
  border-radius: 38px;
  background: var(--floui-charcoal);
  padding: 9px;
  box-shadow: 0 30px 60px -26px color-mix(in srgb, var(--floui-deep-blue) 48%, transparent);
}
.phone-screen {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: var(--color-bg);
  aspect-ratio: 9 / 18.5;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 7px; border-radius: 100px;
  background: color-mix(in srgb, var(--floui-charcoal) 28%, transparent);
  z-index: 6;
}
/* page-1 device pairing: phone overlapping the browser */
.stage--devices { padding-right: 64px; }
.stage--devices .phone { position: absolute; right: -8px; bottom: -34px; width: 188px; z-index: 5; }

/* ─── Chat (WhatsApp-IA) ───────────────────────────────────── */
.chat { display: flex; flex-direction: column; height: 100%; background: var(--color-bg); }
.chat-head {
  display: flex; align-items: center; gap: 11px;
  padding: 16px 16px 13px; background: var(--floui-white);
  border-bottom: 1px solid color-mix(in srgb, var(--floui-charcoal) 8%, transparent);
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--floui-deep-blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-avatar svg { width: 18px; height: 18px; }
.chat-name { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.chat-status { font-size: 11px; color: var(--floui-deep-blue); display: flex; align-items: center; gap: 5px; margin-top: 1px; }
.chat-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--floui-greenDeep, #7FB069); }
.chat-body {
  flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 9px;
  overflow: hidden; justify-content: flex-end;
}
.bubble {
  max-width: 80%; padding: 9px 13px; font-size: 13px; line-height: 1.42;
  border-radius: 17px; text-wrap: pretty;
}
.bubble.in  { align-self: flex-start; background: var(--floui-white); color: var(--floui-charcoal); border-bottom-left-radius: 5px; border: 1px solid color-mix(in srgb, var(--floui-charcoal) 7%, transparent); }
.bubble.out { align-self: flex-end; background: var(--floui-deep-blue); color: var(--floui-white); border-bottom-right-radius: 5px; }
.bubble .meta { display: block; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.55; margin-bottom: 3px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .chat-body .b-hide { opacity: 0; transform: translateY(10px) scale(0.97); }
  .chat-body .bubble, .chat-body .typing { transition: opacity 0.32s ease, transform 0.32s ease; }
}
.typing {
  align-self: flex-start; background: var(--floui-white);
  border: 1px solid color-mix(in srgb, var(--floui-charcoal) 7%, transparent);
  border-radius: 17px; border-bottom-left-radius: 5px;
  padding: 11px 14px; display: flex; gap: 4px;
}
.typing span { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--floui-charcoal) 35%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes typb { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
  .typing span { animation: typb 1.1s infinite; }
  .typing span:nth-child(2) { animation-delay: 0.18s; }
  .typing span:nth-child(3) { animation-delay: 0.36s; }
}

/* ─── Loyalty card ─────────────────────────────────────────── */
.loyalty { height: 100%; background: var(--color-bg); padding: 22px 18px; display: flex; flex-direction: column; }
.loyalty-top { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.loyalty-top .lt-logo { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 16px; color: var(--floui-deep-blue); }
.loyalty-top .lt-tag { margin-left: auto; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--floui-charcoal) 50%, transparent); }
.lcard {
  background: var(--floui-deep-blue); color: var(--floui-white);
  border-radius: 18px; padding: 20px 18px 22px;
}
.lcard-name { font-family: 'Instrument Serif', Georgia, serif; font-size: 22px; line-height: 1.05; margin-bottom: 4px; }
.lcard-sub { font-size: 11px; opacity: 0.7; margin-bottom: 18px; }
.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.stamp {
  aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed rgba(255,255,255,0.4);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.stamp svg { width: 56%; height: 56%; opacity: 0; transform: scale(0.4); transition: opacity 0.3s ease, transform 0.3s ease; }
.stamp.filled { background: var(--floui-dawn-green); border-color: var(--floui-dawn-green); border-style: solid; }
.stamp.filled svg { opacity: 1; transform: scale(1); }
.stamp.reward { border-color: var(--floui-dawn-green); border-style: solid; }
.stamp.reward .rwd { font-size: 9px; font-weight: 800; letter-spacing: 0.04em; color: var(--floui-dawn-green); }
.lcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.lcard-prog { font-size: 12px; font-weight: 600; }
.lcard-prog b { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.lcard-chip { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; background: var(--floui-dawn-green); color: var(--floui-deep-blue); padding: 6px 11px; border-radius: 100px; }
.loyalty-note { margin-top: auto; padding-top: 18px; font-size: 11px; line-height: 1.5; color: color-mix(in srgb, var(--floui-charcoal) 55%, transparent); display: flex; gap: 8px; align-items: flex-start; }
.loyalty-note svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }

/* ─── Staggered reveal for tiles + steps ───────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal .feature, .reveal .step { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .reveal.in .feature, .reveal.in .step { opacity: 1; transform: none; }
  .reveal.in .feature:nth-child(2) { transition-delay: 0.07s; }
  .reveal.in .feature:nth-child(3) { transition-delay: 0.14s; }
  .reveal.in .feature:nth-child(4) { transition-delay: 0.21s; }
  .reveal.in .feature:nth-child(5) { transition-delay: 0.28s; }
  .reveal.in .step:nth-child(2) { transition-delay: 0.08s; }
  .reveal.in .step:nth-child(3) { transition-delay: 0.16s; }
  .reveal.in .step:nth-child(4) { transition-delay: 0.24s; }
}
.feature { transition: background 0.25s ease; }
.feature:hover { background: color-mix(in srgb, var(--floui-white) 34%, var(--floui-dawn-green)); }

/* sparkle twinkle on hero badge */
@media (prefers-reduced-motion: no-preference) {
  @keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(0.78) rotate(18deg); opacity: 0.7; } }
  .hero-badge .spark { animation: twinkle 3.4s ease-in-out infinite; transform-origin: center; }
}

/* ─── Mockup responsive ────────────────────────────────────── */
@media (max-width: 760px) {
  .showcase { padding-bottom: 72px; }
  .stage--devices { padding-right: 0; flex-direction: column; align-items: center; gap: 0; }
  .stage--devices .phone { position: static; right: auto; bottom: auto; width: 168px; margin-top: -46px; align-self: flex-end; margin-right: 8px; }
  .phone { width: 232px; }
  .ms-hero { grid-template-columns: 1fr; }
  .ms-hero .ph-img { display: none; }
  .ms-cards { grid-template-columns: repeat(3, 1fr); }
}
