/* ==========================================================================
   RASPAO: clean asset-led landing
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  font-family: var(--font-sans);
  font-size: var(--body-size);
  color: var(--text-primary);
  background: #F7FAFC;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* === NAV === */

#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(247, 250, 252, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

#nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(26, 24, 22, 0.08);
  box-shadow: 0 8px 28px rgba(26, 24, 22, 0.06);
}

.nav-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 900;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a,
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover,
.nav-link:hover,
.nav-links a[aria-current="page"] { color: var(--cherry); }

/* === BUTTONS === */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-fast), box-shadow var(--dur) var(--ease), background var(--dur-fast) var(--ease-fast);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-primary {
  color: white;
  background: var(--cherry);
  box-shadow: 0 14px 28px rgba(230, 57, 70, 0.24);
}

.btn-primary:hover {
  background: var(--cherry-deep);
  transform: translateY(-2px);
}

.btn-quiet {
  color: var(--text-primary);
  background: white;
  box-shadow: inset 0 0 0 1px rgba(26, 24, 22, 0.08), 0 12px 28px rgba(26, 24, 22, 0.06);
}

.btn-quiet:hover { transform: translateY(-2px); }

/* === SHARED === */

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  color: var(--cherry);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(52px, 5.2vw, 82px);
  max-width: 1120px;
}

h1 span,
h2 span {
  color: var(--cherry);
  font-style: italic;
}

h2 { font-size: 70px; }

p {
  color: var(--text-secondary);
}

.section-kicker {
  padding-top: 18px;
}

.section-kicker h2 {
  max-width: 760px;
}

.section-lede {
  max-width: 660px;
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.55;
}

/* === HERO === */

.hero {
  min-height: 100svh;
  padding: 110px 0 46px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 30%, rgba(63, 169, 245, 0.16), transparent 36%),
    radial-gradient(circle at 8% 86%, rgba(230, 57, 70, 0.07), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #EEF8FF 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1 {
  font-size: clamp(48px, 5vw, 72px);
}

.hero-copy p {
  max-width: 540px;
  margin: 22px 0 26px;
  font-size: 20px;
  line-height: 1.5;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(26, 24, 22, 0.06);
}

.hero-proof-row img {
  width: 20px;
  max-height: 18px;
  object-fit: contain;
}

.hero-proof-row img[src*="yappy"] {
  width: 48px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 560px);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 18% 4% 2%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,169,245,0.20), rgba(230,57,70,0.09) 52%, transparent 72%);
  filter: blur(14px);
}

.hero-senor {
  position: relative;
  z-index: 1;
  display: block;
  filter: drop-shadow(0 34px 44px rgba(26, 24, 22, 0.18));
}

.hero-senor img {
  width: 100%;
}

.hero-bubble {
  position: absolute;
  z-index: 2;
  max-width: 250px;
  padding: 11px 15px;
  border-radius: 18px;
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 16px 34px rgba(26, 24, 22, 0.15);
  animation: bubble-float 5.4s ease-in-out infinite alternate;
}

.hero-bubble-user {
  background: #D9F6C6;
  border-bottom-right-radius: 5px;
  padding-left: 53px;
}

.hero-bubble-user::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: #EAF6FF url("../img/raspao-vendor-avatar-generated.webp") center / cover no-repeat;
  box-shadow: 0 5px 12px rgba(26, 24, 22, 0.16);
  transform: translateY(-50%);
}

.hero-bubble-sale,
.hero-bubble-gasto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 310px;
}

.hero-bubble-sale {
  top: -6%;
  right: -2%;
}

.hero-message-line {
  white-space: nowrap;
}

.hero-checks {
  display: inline-flex;
  align-items: center;
  min-width: 24px;
  color: #2F7A22;
  font-size: 15px;
  font-weight: 950;
}

.hero-checks span {
  display: inline-block;
}

.hero-check-two {
  margin-left: -4px;
  opacity: 0;
  animation: second-check-cycle 6.4s ease-in-out infinite;
}

.hero-bubble-gasto {
  right: -4%;
  top: 36%;
  animation-delay: 2.2s;
}

.hero-bubble-bot {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 270px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-bubble-anotado {
  top: 25%;
  left: -8%;
  bottom: auto;
  max-width: 252px;
  opacity: 0;
  animation:
    sync-reply-cycle 6.4s ease-in-out infinite,
    bubble-float 5.4s ease-in-out infinite alternate;
}

.hero-bubble-recibo {
  left: -8%;
  top: 54%;
  bottom: auto;
  max-width: 252px;
  animation-delay: 3.1s;
}

.hero-bubble-insight {
  right: -3%;
  bottom: 2%;
  max-width: 276px;
  animation-delay: 4s;
}

.hero-bubble-bot > img {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 9px;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(26, 24, 22, 0.08);
}

.hero-notif-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.hero-notif-text b {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 900;
}

.hero-notif-text b em {
  color: var(--text-muted);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
}

.hero-notif-text > span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}

@keyframes bubble-float {
  from { transform: translateY(-5px); }
  to { transform: translateY(7px); }
}

@keyframes second-check-cycle {
  0%, 16% { opacity: 0; }
  24%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes sync-reply-cycle {
  0%, 34% { opacity: 0; }
  42%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

/* === DEMO EN VIVO === */

.demo-section {
  padding: 80px 0 64px;
  background:
    radial-gradient(circle at 10% 10%, rgba(63, 169, 245, 0.10), transparent 30%),
    radial-gradient(circle at 92% 72%, rgba(230, 57, 70, 0.08), transparent 32%),
    #FFFFFF;
  overflow: hidden;
}

.demo-stage {
  display: grid;
  grid-template-columns: minmax(286px, 344px) 58px minmax(0, 1fr);
  align-items: center;
  margin-top: 44px;
}

.demo-phone {
  width: 100%;
  margin: 0;
  transform: rotate(-1.5deg);
}

.demo-thread {
  height: 470px;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.demo-thread::-webkit-scrollbar { display: none; }

.demo-phone .chat-msg {
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

.demo-phone .chat-msg.is-in {
  opacity: 1;
  transform: translateY(0);
}

.demo-phone .chat-msg.bot {
  position: relative;
  margin-left: 32px;
}

.demo-phone .chat-msg.bot::before {
  content: "";
  position: absolute;
  left: -32px;
  bottom: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #FFFFFF url("../img/raspao-assistant.png") center / 74% no-repeat;
  box-shadow: 0 2px 6px rgba(26, 24, 22, 0.14), inset 0 0 0 1px rgba(26, 24, 22, 0.06);
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 17px;
}

.chat-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(26, 24, 22, 0.32);
  animation: typing-dot 900ms ease-in-out infinite;
}

.chat-typing i:nth-child(2) { animation-delay: 150ms; }
.chat-typing i:nth-child(3) { animation-delay: 300ms; }

@keyframes typing-dot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.chat-photo {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.chat-photo small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.chat-receipt {
  display: grid;
  gap: 5px;
  width: 78px;
  padding: 10px 10px 12px;
  border-radius: 6px 6px 11px 11px;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(26, 24, 22, 0.09), 0 4px 10px rgba(26, 24, 22, 0.07);
}

.chat-receipt i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(26, 24, 22, 0.16);
}

.chat-receipt i:last-child {
  width: 62%;
  background: rgba(230, 57, 70, 0.55);
}

.demo-beam {
  position: relative;
  height: 10px;
}

.demo-beam::before {
  content: "";
  position: absolute;
  inset: 4px 6px;
  border-radius: 99px;
  background: rgba(26, 24, 22, 0.10);
}

.demo-beam i {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--cherry);
  opacity: 0;
}

.demo-stage.is-playing .demo-beam i {
  animation: beam-dot 1.9s linear infinite;
}

.demo-beam i:nth-child(2) { background: var(--syrup-blue); animation-delay: 0.63s; }
.demo-beam i:nth-child(3) { background: var(--lime); animation-delay: 1.26s; }

@keyframes beam-dot {
  0% { opacity: 0; transform: translateX(0) scale(0.7); }
  16% { opacity: 1; }
  84% { opacity: 1; }
  100% { opacity: 0; transform: translateX(44px) scale(0.9); }
}

.demo-dash {
  transform: rotate(0.6deg);
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% -4%, rgba(230, 57, 70, 0.07), transparent 30%),
    radial-gradient(circle at -2% 40%, rgba(63, 169, 245, 0.10), transparent 34%),
    var(--ice);
  box-shadow: 0 30px 70px rgba(26, 24, 22, 0.14);
  overflow: hidden;
}

.demo-dash-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(26, 24, 22, 0.07);
  background: rgba(255, 255, 255, 0.88);
}

.demo-dash-dots {
  display: flex;
  gap: 5px;
}

.demo-dash-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-dash-dots i:nth-child(1) { background: #F6B1B7; }
.demo-dash-dots i:nth-child(2) { background: #FBE3A2; }
.demo-dash-dots i:nth-child(3) { background: #C4E8AC; }

.demo-dash-url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #F1F6FA;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
}

.demo-dash-url img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.demo-dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 15px 16px 0;
}

.demo-dash-name b {
  display: block;
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.demo-dash-name small {
  display: block;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
}

.demo-dash-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 22px rgba(26, 24, 22, 0.08), inset 0 0 0 1px rgba(26, 24, 22, 0.07);
}

.demo-dash-tabs span {
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 800;
}

.demo-dash-tabs .on {
  background: var(--cherry);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(230, 57, 70, 0.32);
}

.demo-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #356F22;
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.demo-live b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: live-pulse 1.7s ease-out infinite;
}

@keyframes live-pulse {
  from { box-shadow: 0 0 0 0 rgba(123, 199, 77, 0.45); }
  to { box-shadow: 0 0 0 9px rgba(123, 199, 77, 0); }
}

.demo-dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
}

.demo-card {
  padding: 14px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(26, 24, 22, 0.06);
  transition: box-shadow 460ms var(--ease), transform 460ms var(--ease);
}

.demo-card.is-hit {
  box-shadow: 0 0 0 2.5px rgba(230, 57, 70, 0.42), 0 16px 36px rgba(230, 57, 70, 0.15);
  transform: translateY(-2px) scale(1.012);
}

.demo-card-neto {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 18px;
}

.demo-neto {
  display: block;
  margin-top: 4px;
  color: #356F22;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 50px;
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

.demo-card-neto .dash-swoosh {
  margin: 5px 0 0 4px;
}

.demo-split {
  display: grid;
  gap: 6px;
}

.demo-split span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 168px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #F4F9FD;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.demo-split b {
  color: #356F22;
  font-size: 13.5px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.demo-split .neg b {
  color: var(--cherry);
}

.demo-bar-list {
  display: grid;
  gap: 9px;
  margin-top: 11px;
}

.demo-bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 8px;
  align-items: center;
}

.demo-bar-row b {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 850;
}

.demo-bar-row em {
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.demo-bar-row span {
  position: relative;
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: #F4F9FD;
  overflow: hidden;
}

.demo-bar-row span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  border-radius: 999px;
  background: var(--syrup-blue);
  transition: width 720ms var(--ease);
}

[data-pagos] .demo-bar-row:nth-child(1) span::after { background: var(--lime); }
[data-pagos] .demo-bar-row:nth-child(2) span::after { background: var(--syrup-blue); }
[data-pagos] .demo-bar-row:nth-child(3) span::after { background: #E8A33D; }

[data-productos] .demo-bar-row:nth-child(1) span::after {
  background: linear-gradient(90deg, var(--cherry), #F06570);
}

.demo-movs {
  display: grid;
  gap: 9px;
  margin-top: 11px;
}

.demo-mov {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-mov + .demo-mov {
  padding-top: 9px;
  border-top: 1.5px dotted rgba(26, 24, 22, 0.12);
}

.demo-mov.is-new {
  animation: row-in 540ms var(--ease) both;
}

.demo-mov i {
  flex: 1;
  min-width: 0;
  color: var(--text-muted);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-mov b {
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.demo-mov b.pos { color: #356F22; }
.demo-mov b.neg { color: var(--cherry); }
.demo-mov b.warn { color: #936000; }

@keyframes row-in {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-fiao-empty {
  margin-top: 11px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 800;
}

.demo-fiao-row {
  display: none;
  grid-template-columns: auto 1fr auto;
  gap: 1px 10px;
  align-items: center;
  margin-top: 11px;
}

.demo-card-fiao.has-debt .demo-fiao-empty {
  display: none;
}

.demo-card-fiao.has-debt .demo-fiao-row {
  display: grid;
  animation: row-in 560ms var(--ease) both;
}

.demo-fiao-row .dash-avatar {
  grid-row: span 2;
}

.demo-fiao-row b {
  font-size: 13px;
  font-weight: 900;
}

.demo-fiao-row em {
  grid-row: span 2;
  color: var(--cherry);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.demo-fiao-row small {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
}

.demo-receipts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.demo-receipts span {
  padding: 7px 11px;
  border-radius: 11px;
  background: #F4F9FD;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 850;
}

.demo-receipts span.is-new {
  animation: row-in 560ms var(--ease) both;
}

.demo-card-insight {
  grid-column: 1 / -1;
  background:
    linear-gradient(90deg, rgba(230, 57, 70, 0.10), transparent 58%),
    #FFFFFF;
}

.demo-card-insight.is-off {
  display: none;
}

.demo-card-insight:not(.is-off) {
  animation: row-in 620ms var(--ease) both;
}

.demo-card-insight strong {
  display: block;
  margin-top: 7px;
  color: var(--cherry-deep);
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
}

.demo-card-insight p {
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.demo-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 28px;
}

.demo-foot p {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 750;
}

.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.demo-steps > div {
  padding: 20px;
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(26, 24, 22, 0.06);
}

.demo-steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cherry);
  color: white;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.22);
}

.demo-steps b {
  display: block;
  margin-top: 14px;
  color: var(--text-primary);
  font-size: 16.5px;
  font-weight: 950;
}

.demo-steps p {
  margin-top: 5px;
  font-size: 14.5px;
  line-height: 1.45;
}

/* === CUARA SCROLL STORY === */

.cuara-scroll-story {
  position: relative;
  min-height: 220svh;
  background: #FFFFFF;
  overflow: clip;
}

.cuara-scroll-pin {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(63, 169, 245, 0.16), transparent 34%),
    radial-gradient(circle at 88% 72%, rgba(230, 57, 70, 0.14), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F4FBFF 100%);
}

.cuara-scroll-inner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding-top: 112px;
  padding-bottom: 86px;
  text-align: center;
}

.cuara-scroll-text {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.cuara-scroll-text [data-letter] {
  display: inline-block;
  opacity: 0.18;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity 220ms var(--ease-fast),
    transform 220ms var(--ease-fast),
    color 220ms var(--ease-fast);
  will-change: opacity, transform;
}

.cuara-scroll-text [data-letter].is-lit {
  opacity: 1;
  color: var(--text-primary);
  transform: translateY(0) scale(1);
}

.cuara-scroll-text .word {
  display: inline-block;
  white-space: nowrap;
}

.cuara-scroll-text .word:nth-child(n + 7) [data-letter].is-lit {
  color: var(--cherry);
  font-style: italic;
}

.cuara-scroll-coins {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cuara-scroll-coins img {
  position: absolute;
  width: clamp(48px, 6vw, 84px);
  opacity: 0;
  filter: drop-shadow(0 20px 24px rgba(26, 24, 22, 0.15));
  transform: translate3d(0, 28px, 0) scale(0.78) rotate(var(--coin-rotate, 0deg));
  will-change: opacity, transform;
}

.cuara-scroll-coins img:nth-child(1) { left: 11%; top: 28%; --coin-rotate: -18deg; }
.cuara-scroll-coins img:nth-child(2) { left: 19%; bottom: 24%; --coin-rotate: 12deg; }
.cuara-scroll-coins img:nth-child(3) { left: 33%; top: 17%; --coin-rotate: 21deg; }
.cuara-scroll-coins img:nth-child(4) { left: 43%; bottom: 14%; --coin-rotate: -9deg; }
.cuara-scroll-coins img:nth-child(5) { right: 33%; top: 18%; --coin-rotate: -24deg; }
.cuara-scroll-coins img:nth-child(6) { right: 21%; bottom: 25%; --coin-rotate: 15deg; }
.cuara-scroll-coins img:nth-child(7) { right: 12%; top: 33%; --coin-rotate: 8deg; }
.cuara-scroll-coins img:nth-child(8) { right: 43%; bottom: 30%; --coin-rotate: -14deg; }

/* === BIG CARDS === */

.problem-section {
  padding: 72px 0 34px;
  background:
    radial-gradient(circle at 12% 20%, rgba(63, 169, 245, 0.10), transparent 32%),
    #FFFFFF;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.problem-copy h2 {
  max-width: 740px;
  font-size: clamp(46px, 6vw, 78px);
}

.problem-copy p {
  max-width: 700px;
  margin-top: 22px;
  font-size: 21px;
  line-height: 1.55;
}

.problem-proof {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 14%, rgba(230, 57, 70, 0.10), transparent 40%),
    #F7FAFC;
  box-shadow: 0 22px 52px rgba(26, 24, 22, 0.07);
}

.problem-proof span,
.problem-proof strong {
  display: block;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 8px 20px rgba(26, 24, 22, 0.05);
}

.problem-proof span {
  padding: 13px 15px;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 850;
}

.problem-proof strong {
  margin-top: 4px;
  padding: 18px;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.08;
}

.feature-card-section {
  padding: 46px 0;
}

.feature-card {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1fr);
  align-items: center;
  gap: 40px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 34px;
  background: #FFFFFF;
  box-shadow: 0 24px 70px rgba(26, 24, 22, 0.08);
  overflow: hidden;
}

.feature-card-reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.82fr);
  background:
    radial-gradient(circle at 22% 58%, rgba(230,57,70,0.08), transparent 34%),
    #FFFFFF;
}

.feature-copy {
  max-width: 540px;
}

.feature-copy p {
  margin: 24px 0 30px;
  font-size: 20px;
}

.local-money-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
}

.local-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(26, 24, 22, 0.06);
}

.local-badge-logo {
  gap: 8px;
  padding-left: 12px;
}

.local-badge-logo img {
  width: 20px;
  height: 20px;
}

.local-badge-yappy {
  min-width: 108px;
  padding: 0 16px;
}

.local-badge-yappy img {
  width: 78px;
  max-height: 24px;
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.feature-copy ul {
  display: grid;
  gap: 14px;
  list-style: none;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 800;
}

.feature-copy li {
  position: relative;
  padding-left: 36px;
}

.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  background: white;
}

.feature-copy li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 8px;
  height: 12px;
  border: solid var(--text-muted);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* === CHAT MOCK === */

.chat-phone {
  position: relative;
  z-index: 3;
  width: min(330px, 100%);
  margin: 0 8% 0 auto;
  border: 10px solid #101417;
  border-radius: 38px;
  background: #ECF3EE;
  box-shadow: 0 30px 58px rgba(26, 24, 22, 0.16);
  transform: rotate(-2deg);
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: #0B5C50;
}

.chat-head img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 3px;
}

.chat-head span {
  display: block;
  color: white;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.chat-head small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.chat-thread {
  display: grid;
  gap: 8px;
  padding: 16px 13px 20px;
}

.chat-msg {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}

.chat-msg.user {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: #D9F6C6;
  box-shadow: 0 1px 2px rgba(26, 24, 22, 0.08);
}

.chat-msg.bot {
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(26, 24, 22, 0.08);
}

.chat-phone.is-visible .chat-msg {
  opacity: 1;
  transform: translateY(0);
}

.chat-phone.is-visible .chat-msg:nth-child(1) { transition-delay: 0.2s; }
.chat-phone.is-visible .chat-msg:nth-child(2) { transition-delay: 0.55s; }
.chat-phone.is-visible .chat-msg:nth-child(3) { transition-delay: 0.9s; }
.chat-phone.is-visible .chat-msg:nth-child(4) { transition-delay: 1.25s; }
.chat-phone.is-visible .chat-msg:nth-child(5) { transition-delay: 1.6s; }
.chat-phone.is-visible .chat-msg:nth-child(6) { transition-delay: 1.95s; }
.chat-phone.is-visible .chat-msg:nth-child(7) { transition-delay: 2.3s; }
.chat-phone.is-visible .chat-msg:nth-child(8) { transition-delay: 2.65s; }

.chat-link {
  display: block;
  margin-top: 6px;
  color: #1B7DC9;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: underline;
}

.chat-audio {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 158px;
}

.chat-mic {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, white 0 4px, transparent 5px),
    var(--cherry);
}

.chat-wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
}

.chat-wave i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: rgba(26, 24, 22, 0.38);
}

.chat-wave i:nth-child(1) { height: 8px; }
.chat-wave i:nth-child(2) { height: 14px; }
.chat-wave i:nth-child(3) { height: 10px; }
.chat-wave i:nth-child(4) { height: 17px; }
.chat-wave i:nth-child(5) { height: 12px; }
.chat-wave i:nth-child(6) { height: 16px; }
.chat-wave i:nth-child(7) { height: 9px; }
.chat-wave i:nth-child(8) { height: 13px; }
.chat-wave i:nth-child(9) { height: 7px; }

.chat-audio small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

/* === FUNCIONES === */

.funciones-section {
  padding: 72px 0 62px;
  background:
    radial-gradient(circle at 15% 16%, rgba(63, 169, 245, 0.12), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(230, 57, 70, 0.10), transparent 30%),
    linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 48%, #EEF8FF 100%);
  overflow: hidden;
}

.funciones-showcase {
  margin-top: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
}

.funciones-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(26, 24, 22, 0.16);
  background: #FFFFFF;
}

.funciones-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(26, 24, 22, 0.06);
}

.funciones-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.funciones-agent-copy {
  max-width: 430px;
}

.funciones-agent-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.funciones-agent-copy p {
  margin: 22px 0 24px;
  font-size: 19px;
  line-height: 1.58;
}

.agent-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(26, 24, 22, 0.06);
}

.funciones-carousel-shell {
  position: relative;
  margin-top: 32px;
}

.carousel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.carousel-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(26, 24, 22, 0.05);
}

.carousel-status b {
  color: var(--cherry);
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(26, 24, 22, 0.08);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-fast), box-shadow var(--dur) var(--ease), opacity var(--dur-fast) var(--ease-fast);
}

.carousel-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border: solid var(--text-primary);
  border-width: 0 3px 3px 0;
}

.carousel-btn-prev::before {
  transform: translate(-34%, -50%) rotate(135deg);
}

.carousel-btn-next::before {
  transform: translate(-64%, -50%) rotate(-45deg);
}

.carousel-btn:hover {
  box-shadow: 0 18px 36px rgba(26, 24, 22, 0.12);
  transform: translateY(-2px);
}

.carousel-btn:disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.funciones-track {
  display: flex;
  gap: 18px;
  margin: 0 -28px;
  padding: 4px 28px 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.funciones-track::-webkit-scrollbar {
  display: none;
}

.funcion-slide {
  position: relative;
  flex: 0 0 clamp(315px, 36vw, 420px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 84% 12%, rgba(230, 57, 70, 0.10), transparent 34%),
    #FFFFFF;
  box-shadow: 0 22px 54px rgba(26, 24, 22, 0.08);
  scroll-snap-align: start;
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.funcion-slide-featured {
  flex-basis: clamp(345px, 43vw, 520px);
}

.funcion-slide::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.funcion-slide.is-active {
  border-color: rgba(230, 57, 70, 0.16);
  box-shadow: 0 28px 70px rgba(26, 24, 22, 0.12);
  transform: translateY(-2px);
}

.funcion-asset-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
  background: #EAF6FF;
}

.funcion-asset-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.34), transparent 42%);
}

.funcion-asset-wrap picture,
.funcion-asset-wrap img {
  display: block;
  width: 100%;
  height: 100%;
}

.funcion-asset-wrap img {
  object-fit: cover;
  transition: transform 720ms var(--ease);
}

.funcion-slide:hover .funcion-asset-wrap img {
  transform: scale(1.035) translateY(-3px);
}

.funcion-slide-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 8px 8px;
}

.funcion-tag {
  color: var(--cherry);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.funcion-slide h3 {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 900;
  line-height: 1.04;
}

.funcion-slide-featured h3 {
  font-size: clamp(34px, 3.4vw, 42px);
  max-width: 480px;
}

.funcion-slide p {
  font-size: 16px;
}

.funcion-slide p:last-child {
  margin-top: auto;
}

.funcion-chat {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #EEF8FF;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 800;
}

.funciones-carousel-shell.is-visible .funcion-slide {
  animation: slide-rise 720ms var(--ease) both;
}

.funciones-carousel-shell.is-visible .funcion-slide:nth-child(2) { animation-delay: 90ms; }
.funciones-carousel-shell.is-visible .funcion-slide:nth-child(3) { animation-delay: 180ms; }
.funciones-carousel-shell.is-visible .funcion-slide:nth-child(4) { animation-delay: 270ms; }
.funciones-carousel-shell.is-visible .funcion-slide:nth-child(5) { animation-delay: 360ms; }

@keyframes slide-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* === DASH MOCK === */

.dash-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.dash-visual::before {
  content: "";
  position: absolute;
  left: 6%;
  top: 10%;
  width: 400px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(230,57,70,0.10), rgba(63,169,245,0.12) 48%, transparent 70%);
}

/* Réplica fiel del dashboard real (backend/src/dashboard.ts):
   "el cuaderno hecho bonito": Fraunces italic, hielo + cereza. */

.dash-phone {
  position: relative;
  z-index: 2;
  width: min(354px, 100%);
  border: 10px solid #101417;
  border-radius: 42px;
  background:
    radial-gradient(circle at 85% -2%, rgba(230, 57, 70, 0.07), transparent 28%),
    radial-gradient(circle at 0% 30%, rgba(63, 169, 245, 0.10), transparent 32%),
    var(--ice);
  box-shadow: 0 30px 58px rgba(26, 24, 22, 0.16);
  rotate: -2deg;
  overflow: hidden;
}

.dash-screen {
  max-height: 780px;
  padding: 14px 12px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 86%, transparent 99%);
}

.dash-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 0;
}

.dash-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cherry);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
}

.dash-wordmark img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.dash-share {
  padding: 6px 11px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 6px 14px rgba(26, 24, 22, 0.08), inset 0 0 0 1px rgba(26, 24, 22, 0.08);
  font-size: 10.5px;
  font-weight: 800;
}

.dash-bizname {
  margin: 10px 4px 0;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.dash-bizsub {
  margin: 1px 4px 0;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
}

.dash-tabs {
  display: flex;
  gap: 3px;
  margin: 10px 0 12px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(26, 24, 22, 0.08), inset 0 0 0 1px rgba(26, 24, 22, 0.07);
}

.dash-tabs span {
  flex: 1;
  padding: 7px 0;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
}

.dash-tabs .on {
  background: var(--cherry);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(230, 57, 70, 0.32);
}

.dash-card {
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 10px 28px rgba(26, 24, 22, 0.07);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.dash-card-tight {
  padding: 12px;
}

.dash-phone.is-visible .dash-card {
  opacity: 1;
  transform: none;
}

.dash-phone.is-visible .dash-card:nth-of-type(1) { transition-delay: 0.15s; }
.dash-phone.is-visible .dash-card:nth-of-type(2) { transition-delay: 0.3s; }
.dash-phone.is-visible .dash-card:nth-of-type(3) { transition-delay: 0.45s; }
.dash-phone.is-visible .dash-card:nth-of-type(4) { transition-delay: 0.6s; }
.dash-phone.is-visible .dash-card:nth-of-type(5) { transition-delay: 0.75s; }
.dash-phone.is-visible .dash-card:nth-of-type(6) { transition-delay: 0.9s; }
.dash-phone.is-visible .dash-card:nth-of-type(7) { transition-delay: 1.05s; }
.dash-phone.is-visible .dash-card:nth-of-type(8) { transition-delay: 1.2s; }

.dash-kicker {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.dash-neto {
  margin-top: 4px;
  color: #356F22;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.dash-swoosh {
  display: block;
  width: 104px;
  height: 9px;
  margin: 2px 0 12px;
  color: var(--cherry);
}

.dash-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.dash-split > div {
  padding: 9px 11px;
  border-radius: 14px;
  background: #F4F9FD;
}

.dash-split b {
  display: block;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.dash-split em {
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.dash-split .pos em { color: #356F22; }
.dash-split .neg em { color: var(--cherry); }

.dash-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.dash-chips span {
  padding: 4px 9px;
  border-radius: 999px;
  background: #F4F9FD;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
}

.dash-chips .ok {
  background: #EAF7E1;
  color: #356F22;
}

.dash-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.dash-pay-grid div {
  min-width: 0;
  padding: 9px 8px;
  border-radius: 14px;
  background: #F4F9FD;
}

.dash-pay-grid b,
.dash-pay-grid em {
  display: block;
}

.dash-pay-grid b {
  color: var(--text-muted);
  font-size: 8.5px;
  font-weight: 950;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dash-pay-grid em {
  margin-top: 2px;
  color: var(--text-primary);
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
}

.dash-pay-grid span {
  display: block;
  height: 5px;
  margin-top: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cherry), var(--syrup-blue));
  width: var(--w, 40%);
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 108px;
  padding-top: 14px;
}

.dash-bars .bcol {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  min-width: 0;
}

.dash-bars i {
  color: var(--text-muted);
  font-size: 8.5px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.dash-bars .bar {
  width: 100%;
  max-width: 26px;
  height: var(--h, 50%);
  margin-top: auto;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--syrup-blue), #71BFF7);
  opacity: 0.85;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 700ms var(--ease);
}

.dash-bars .bar.today {
  background: linear-gradient(180deg, var(--cherry), #F06570);
  opacity: 1;
  box-shadow: 0 6px 14px rgba(230, 57, 70, 0.3);
}

.dash-phone.is-visible .dash-bars .bar { transform: scaleY(1); }
.dash-phone.is-visible .bcol:nth-child(1) .bar { transition-delay: 0.5s; }
.dash-phone.is-visible .bcol:nth-child(2) .bar { transition-delay: 0.56s; }
.dash-phone.is-visible .bcol:nth-child(3) .bar { transition-delay: 0.62s; }
.dash-phone.is-visible .bcol:nth-child(4) .bar { transition-delay: 0.68s; }
.dash-phone.is-visible .bcol:nth-child(5) .bar { transition-delay: 0.74s; }
.dash-phone.is-visible .bcol:nth-child(6) .bar { transition-delay: 0.8s; }
.dash-phone.is-visible .bcol:nth-child(7) .bar { transition-delay: 0.86s; }

.dash-bars .bcol > span {
  color: var(--text-muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.dash-mrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
}

.dash-tag {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.dash-tag.venta { background: #EAF7E1; color: #356F22; }
.dash-tag.gasto { background: #FDE8EA; color: var(--cherry-deep); }
.dash-tag.fiao { background: #FFF3D7; color: #936000; }

.dash-mmid {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}

.dash-mmid img {
  flex: none;
  width: 15px;
  max-height: 14px;
  object-fit: contain;
}

.dash-mmid img.wide { width: 42px; }

.dash-amt {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.dash-amt.pos { color: #356F22; }
.dash-amt.neg { color: var(--cherry); }
.dash-amt.warn { color: #936000; }

.dash-expense-list,
.dash-product-list {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.dash-expense-list div,
.dash-product-list div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding-bottom: 9px;
}

.dash-expense-list div:last-child,
.dash-product-list div:last-child {
  padding-bottom: 0;
}

.dash-expense-list span,
.dash-product-list span {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 850;
}

.dash-expense-list b,
.dash-product-list b {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 950;
}

.dash-expense-list i,
.dash-product-list i {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--cherry) var(--w, 40%), #F4F9FD var(--w, 40%));
}

.dash-product-list i {
  background:
    linear-gradient(90deg, var(--syrup-blue) var(--w, 40%), #F4F9FD var(--w, 40%));
}

.dash-receipt-stack {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.dash-receipt-stack span {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 12px;
  background: #F4F9FD;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 850;
}

.dash-insight-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.dash-insight-list div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 13px;
  background:
    linear-gradient(90deg, rgba(230, 57, 70, 0.10), transparent 54%),
    #F4F9FD;
}

.dash-insight-list b {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 950;
}

.dash-insight-list span {
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.35;
}

.dash-frow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.dash-frow + .dash-frow {
  border-top: 1.5px dotted rgba(26, 24, 22, 0.12);
}

.dash-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #FDE8EA, #F9D2D6);
  color: var(--cherry-deep);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
}

.dash-fmid {
  flex: 1;
  min-width: 0;
}

.dash-fmid b {
  display: block;
  font-size: 12.5px;
  font-weight: 850;
}

.dash-fmid small {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
}

.dash-frow em {
  color: var(--cherry);
  font-size: 13.5px;
  font-style: normal;
  font-weight: 900;
}

.dash-ftotal {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 2px solid var(--text-primary);
  font-size: 12px;
  font-weight: 900;
}

.dash-float {
  position: absolute;
  z-index: 3;
  left: -1%;
  bottom: 5%;
  width: 236px;
  padding: 14px;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 22px 48px rgba(26, 24, 22, 0.16);
  rotate: 3deg;
}

.dash-year {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 800;
}

.dash-year b {
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.dash-track {
  height: 9px;
  margin-top: 7px;
  border-radius: 99px;
  background: #F4F9FD;
  overflow: hidden;
}

.dash-fill {
  height: 100%;
  width: var(--w, 40%);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), var(--syrup-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 800ms var(--ease) 1.1s;
}

.dash-float.is-visible .dash-fill { transform: scaleX(1); }

.dash-note {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.dash-side-card {
  position: absolute;
  z-index: 4;
  width: 218px;
  padding: 14px;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 22px 48px rgba(26, 24, 22, 0.15);
}

.dash-alert-card {
  right: -2%;
  top: 1.5%;
  rotate: -3deg;
}

.dash-alert-card strong {
  display: block;
  margin-top: 8px;
  color: var(--cherry-deep);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.05;
}

.dash-alert-card p {
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.dash-cash-card {
  right: 0;
  bottom: 1%;
  rotate: 2deg;
}

.dash-cash-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(26, 24, 22, 0.12);
}

.dash-cash-card span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
}

.dash-cash-card b {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 950;
}

.dash-cash-card p {
  margin-top: 9px;
  color: #356F22;
  font-size: 11px;
  font-weight: 900;
}

/* === STORY === */

.story-section {
  padding: 34px 0 48px;
  background: #FFFFFF;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: stretch;
}

.story-card,
.story-stat {
  border-radius: 30px;
  background: #F7FAFC;
  box-shadow: inset 0 0 0 1px rgba(26, 24, 22, 0.06);
}

.story-card {
  padding: clamp(30px, 5vw, 54px);
}

.story-tag {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cherry);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.story-card h3 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 1;
}

.story-card p {
  max-width: 820px;
  margin-top: 16px;
  font-size: 20px;
}

.story-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: 28px;
  background:
    radial-gradient(circle at 78% 18%, rgba(230, 57, 70, 0.12), transparent 40%),
    #EEF8FF;
}

.story-stat strong {
  display: block;
  margin-top: auto;
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1;
}

.story-stat p {
  margin-top: 12px;
  font-size: 16px;
}

.story-proof-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.story-proof-list span {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(26, 24, 22, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 900;
}

/* === WAITLIST === */

.waitlist-section {
  padding: 70px 0 90px;
}

.waitlist {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px 28px;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 32px;
  background: #FFFFFF;
  box-shadow: 0 24px 70px rgba(26, 24, 22, 0.08);
}

.waitlist-senor {
  grid-row: span 3;
  width: 158px;
}

.waitlist-senor img {
  filter: drop-shadow(0 14px 22px rgba(26, 24, 22, 0.16));
}

.waitlist h2 {
  max-width: 620px;
  margin-bottom: 12px;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.waitlist-form input {
  flex: 1 1 220px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(26, 24, 22, 0.10);
  border-radius: 999px;
  outline: none;
  font: inherit;
  background: #F7FAFC;
}

.waitlist-form input:focus {
  border-color: var(--cherry);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
}

.waitlist-note {
  color: var(--text-muted);
  font-size: 13px;
}

.waitlist-note.success {
  color: #356F22;
  font-weight: 900;
}

.waitlist-note.error {
  color: var(--cherry-deep);
  font-weight: 900;
}

/* === FOOTER === */

.footer {
  padding: 40px 0;
  color: rgba(255,255,255,0.64);
  background: var(--text-primary);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  color: white;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-links a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover { color: white; }

.footer p {
  color: rgba(255,255,255,0.52);
  font-size: 13px;
}

/* === REVEAL === */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */

@media (max-width: 980px) {
  .hero-grid,
  .problem-grid,
  .story-grid,
  .feature-card,
  .feature-card-reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-copy {
    max-width: 760px;
    justify-self: center;
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-proof-row,
  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    justify-self: center;
    width: min(100%, 480px);
    margin-top: 10px;
  }

  .demo-stage {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }

  .demo-phone {
    max-width: 344px;
    transform: rotate(0deg);
  }

  .demo-thread {
    height: 400px;
  }

  .demo-beam {
    display: none;
  }

  .demo-dash {
    width: 100%;
    transform: none;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 54px;
  }

  .hero-copy p {
    font-size: 19px;
  }

  .story-card h3 {
    font-size: 44px;
  }

  .problem-copy h2 {
    max-width: 680px;
  }

  .problem-copy p {
    font-size: 19px;
  }

  .cuara-scroll-text {
    max-width: 760px;
    font-size: 74px;
  }

  .cuara-scroll-coins img {
    width: 58px;
  }

  .cuara-scroll-coins img:nth-child(3),
  .cuara-scroll-coins img:nth-child(5),
  .cuara-scroll-coins img:nth-child(8) {
    display: none;
  }

  .feature-card {
    min-height: 0;
  }

  .chat-phone {
    margin: 8px auto 0;
  }

  .dash-visual {
    min-height: 0;
    padding: 18px 0;
    gap: 12px;
  }

  .funciones-showcase {
    grid-template-columns: 1fr;
  }

  .funciones-agent-copy {
    max-width: 760px;
  }

  .hero-bubble-sale {
    top: -8%;
    right: 2%;
  }

  .hero-bubble-gasto {
    display: none;
  }

  .hero-bubble-anotado {
    top: auto;
    left: 3%;
    bottom: 3%;
  }

  .hero-bubble-gasto,
  .hero-bubble-recibo,
  .hero-bubble-insight {
    display: none;
  }
}

@media (max-width: 720px) {
  #nav {
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .container {
    padding: 0 18px;
  }

  .hero {
    padding-top: 96px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-copy p,
  .feature-copy p {
    font-size: 18px;
  }

  .story-section {
    padding-top: 22px;
  }

  .problem-section {
    padding: 54px 0 24px;
  }

  .story-card,
  .story-stat {
    border-radius: 24px;
  }

  .problem-proof {
    padding: 18px;
    border-radius: 24px;
  }

  .problem-proof strong {
    font-size: 24px;
  }

  .story-card h3 {
    font-size: 36px;
  }

  .story-card p {
    font-size: 18px;
  }

  .cuara-scroll-story {
    min-height: 180svh;
  }

  .cuara-scroll-inner {
    padding-top: 98px;
    padding-bottom: 64px;
  }

  .cuara-scroll-text {
    font-size: 52px;
    line-height: 1.04;
  }

  .cuara-scroll-coins img:nth-child(1) { left: 4%; top: 34%; }
  .cuara-scroll-coins img:nth-child(2) { left: 9%; bottom: 17%; }
  .cuara-scroll-coins img:nth-child(4) { left: 45%; bottom: 10%; }
  .cuara-scroll-coins img:nth-child(6) { right: 12%; bottom: 20%; }
  .cuara-scroll-coins img:nth-child(7) { right: 4%; top: 39%; }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof-row span {
    flex: 1 1 150px;
  }

  .hero-art {
    width: min(100%, 420px);
  }

  .hero-bubble {
    max-width: 200px;
    font-size: 13.5px;
  }

  .hero-bubble-sale {
    top: -7%;
    right: 2%;
  }

  .hero-bubble-gasto {
    display: none;
  }

  .hero-bubble-recibo {
    display: none;
  }

  .hero-bubble-insight {
    display: none;
  }

  .demo-section {
    padding: 56px 0 48px;
  }

  .demo-stage {
    margin-top: 30px;
  }

  .demo-steps {
    grid-template-columns: 1fr;
  }

  .demo-neto {
    font-size: 42px;
  }

  .feature-card {
    border-radius: 24px;
    padding: 28px;
  }

  .dash-float {
    position: static;
    width: min(280px, 92%);
    margin: -28px auto 0;
    rotate: 0deg;
  }

  .dash-side-card {
    position: static;
    width: min(280px, 92%);
    margin: 0 auto;
    rotate: 0deg;
  }

  .funciones-section {
    padding: 54px 0 46px;
  }

  .section-lede,
  .funciones-agent-copy p {
    font-size: 17px;
  }

  .funciones-showcase {
    margin-top: 28px;
    gap: 24px;
  }

  .funciones-art {
    border-radius: 24px;
  }

  .agent-pill-list span {
    min-height: 36px;
    font-size: 12px;
  }

  .funciones-carousel-shell {
    margin-top: 24px;
  }

  .carousel-topline {
    align-items: flex-end;
  }

  .carousel-controls {
    gap: 8px;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }

  .funciones-track {
    gap: 14px;
    margin: 0 -18px;
    padding: 4px 18px 22px;
    scroll-padding-inline: 18px;
  }

  .funcion-slide,
  .funcion-slide-featured {
    flex-basis: min(84vw, 342px);
    min-height: 490px;
    padding: 14px;
    border-radius: 24px;
  }

  .funcion-asset-wrap {
    border-radius: 18px;
  }

  .funcion-slide h3,
  .funcion-slide-featured h3 {
    font-size: 30px;
  }

  .funcion-slide-copy {
    padding: 0 4px 6px;
  }

  .funcion-chat {
    max-width: 100%;
    white-space: normal;
  }

  .waitlist {
    grid-template-columns: 1fr;
    text-align: center;
    border-radius: 24px;
  }

  .waitlist-senor {
    grid-row: auto;
    width: 168px;
    margin: 0 auto;
  }

  .waitlist-form .btn {
    width: 100%;
  }

  .waitlist-form input {
    flex-basis: 100%;
  }

  .feature-actions .btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-copy p,
  .feature-copy p {
    font-size: 17px;
  }

  .cuara-scroll-text {
    font-size: 38px;
  }

  .chat-phone {
    width: 100%;
    border-width: 8px;
  }

  .demo-dash-body {
    grid-template-columns: 1fr;
  }

  .demo-dash-url {
    font-size: 11.5px;
  }

  .demo-live {
    display: none;
  }

  .hero-bubble-bot {
    left: 0;
  }

  .hero-bubble-recibo,
  .hero-bubble-insight {
    display: none;
  }

  .hero-bubble-gasto {
    display: none;
  }

  .dash-phone {
    width: 100%;
    border-width: 8px;
  }

  .dash-float {
    position: static;
    width: min(280px, 92%);
    margin: -30px auto 0;
  }

  .funciones-agent-copy h3 {
    font-size: 30px;
  }

  .funciones-art {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .reveal.is-visible,
  .chat-msg,
  .dash-card,
  .dash-bars .bar,
  .dash-fill,
  .cuara-scroll-text [data-letter],
  .cuara-scroll-text [data-letter].is-lit,
  .hero-bubble-anotado,
  .hero-check-two {
    opacity: 1;
    transform: none;
  }

  .cuara-scroll-coins img {
    opacity: 0.72 !important;
    transform: none;
  }
}
