/* Landing 2026 — hero, story, social proof, Leila chat, pricing teaser */

/* ---- Display typography ---- */
.mdf-site h1,
.mdf-site h2.mdf-section-title,
.mdf-site .hero-copy h1,
.mdf-site .calc-title {
  font-family: var(--mdf-font-display);
}

/* ---- Hero social proof bar ---- */
.hero-social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .hero-social-proof {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .hero-social-proof {
    display: none;
  }
}

.hero-social-proof__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mdf-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-social-proof__stars {
  color: #fbbf24;
  letter-spacing: -0.05em;
}

.hero-social-proof__item--plaid {
  font-weight: 500;
  color: var(--mdf-muted-soft);
}

.hero-social-proof__plaid-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d084;
  box-shadow: 0 0 8px rgba(0, 208, 132, 0.5);
}

/* Hero device crossfade */
.hero-device-screens {
  position: relative;
  min-height: 480px;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.hero-device-screens.is-dragging {
  cursor: grabbing;
}

.hero-device-screens img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-device-screens img.is-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

.hero-device-screens img.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
}

.hero-device-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.hero-device-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-device-dots button.is-active {
  background: var(--mdf-accent-ui);
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(74, 251, 229, 0.45);
}

/* Remove hero FAQ clutter */
.hero-faq {
  display: none;
}

/* ---- Stats strip ---- */
.stats-strip {
  padding: 2.5rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.5);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-strip__item {
  text-align: center;
}

.stats-strip__value {
  font-family: var(--mdf-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--mdf-ink);
  line-height: 1.1;
}

.stats-strip__value .grad-text {
  font-family: inherit;
}

.stats-strip__label {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--mdf-muted-soft);
}

/* ---- Story section (privacy + how-it-works merged) ---- */
.story-section {
  padding: 4rem 0;
}

.story-section__header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.story-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.story-tab {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mdf-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-tab:hover {
  color: var(--mdf-ink);
  border-color: rgba(255, 255, 255, 0.15);
}

.story-tab.is-active {
  color: #0b0f14;
  background: var(--mdf-grad-cta);
  border-color: transparent;
  box-shadow: var(--mdf-glow-teal);
}

.story-panels {
  max-width: 960px;
  margin: 0 auto;
}

.story-panel {
  display: none;
  animation: storyFade 0.35s ease;
}

.story-panel.is-active {
  display: block;
}

@keyframes storyFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.story-compare {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .story-compare {
    grid-template-columns: 1fr 1fr;
  }
}

.story-compare__card {
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(28, 38, 54, 0.85), rgba(14, 19, 30, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-compare__card--highlight {
  border-color: rgba(74, 251, 229, 0.25);
  box-shadow: 0 0 40px rgba(74, 251, 229, 0.08);
}

.story-compare__card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.story-compare__card p {
  font-size: 0.9375rem;
  color: var(--mdf-muted);
  line-height: 1.6;
}

.story-compare__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  background: var(--mdf-accent-dim);
  color: var(--mdf-accent-ui);
}

.story-steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .story-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-step {
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
}

.story-step__num {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  background: var(--mdf-grad-cta);
  color: #0b0f14;
  margin-bottom: 0.75rem;
}

.story-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.story-step p {
  font-size: 0.875rem;
  color: var(--mdf-muted-soft);
  line-height: 1.55;
}

.story-security {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.story-security__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--mdf-muted-soft);
}

.story-security__item svg {
  width: 18px;
  height: 18px;
  color: var(--mdf-accent-ui);
  flex-shrink: 0;
}

/* ---- Product showcase sticky (desktop) ---- */
.product-showcase {
  padding: 4rem 0;
}

.product-showcase__inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .product-showcase__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .product-showcase__device {
    position: sticky;
    top: 6rem;
  }
}

.product-showcase__steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  color: inherit;
  font: inherit;
  width: 100%;
}

.product-step:hover {
  background: rgba(255, 255, 255, 0.03);
}

.product-step.is-active {
  background: rgba(74, 251, 229, 0.06);
  border-color: rgba(74, 251, 229, 0.2);
}

.product-step__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mdf-accent-dim);
  color: var(--mdf-accent-ui);
  font-size: 0.75rem;
  font-weight: 800;
}

.product-step__title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.product-step__desc {
  font-size: 0.8125rem;
  color: var(--mdf-muted-soft);
  line-height: 1.45;
}

/* ---- Upcoming payments swipe demo (app parity) ---- */
.upcoming-demo-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .upcoming-demo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.upcoming-demo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.upcoming-demo-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  color: var(--mdf-muted);
  line-height: 1.45;
}

.upcoming-demo-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mdf-accent-ui);
  box-shadow: 0 0 8px rgba(74, 251, 229, 0.45);
}

.upcoming-demo-stage {
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

.upcoming-swipe {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.upcoming-swipe__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.1rem;
  font-size: 0.875rem;
  font-weight: 800;
}

.upcoming-swipe__bg svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.upcoming-swipe__bg--pay {
  justify-content: flex-start;
  background: linear-gradient(90deg, #0e7490 0%, #22d3ee 100%);
  color: #0f172a;
}

.upcoming-swipe__bg--postpone {
  justify-content: flex-end;
  background: #1a2230;
  color: #94a3b8;
  font-weight: 600;
}

.upcoming-swipe__card {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 1.5px solid rgba(34, 211, 238, 0.5);
  background: linear-gradient(135deg, #122a35 0%, #1a2230 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
  padding: 0.75rem 0.85rem;
  cursor: grab;
  will-change: transform;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.upcoming-swipe__card.is-dragging {
  cursor: grabbing;
  transition: none;
}

.upcoming-swipe__chip {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.upcoming-swipe__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.upcoming-swipe__icon {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
}

.upcoming-swipe__info {
  flex: 1;
  min-width: 0;
}

.upcoming-swipe__title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #f1f5f9;
}

.upcoming-swipe__meta {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.upcoming-swipe__amount {
  font-weight: 800;
  font-size: 1rem;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.upcoming-demo-hint {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--mdf-muted-soft);
}

.upcoming-demo-hint.is-success {
  color: var(--mdf-accent-ui);
  font-weight: 600;
}

  /* ---- Leila chat mock (app sub-screen) ---- */
  .leila-chat-mock {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #070910;
    box-shadow:
      0 24px 64px rgba(0, 0, 0, 0.45),
      0 0 40px rgba(74, 251, 229, 0.06);
    max-width: 420px;
    height: min(560px, 78vh);
    margin-inline: auto;
    position: relative;
    z-index: 210;
  }

  .leila-chat-mock.is-expanded {
    position: fixed;
    inset: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    border-radius: 0;
    z-index: 220;
  }

  .leila-chat-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 14, 0.72);
    backdrop-filter: blur(6px);
    z-index: 200;
  }

.leila-chat-backdrop:not([hidden]) {
  display: block;
}

body.leila-chat-open {
  overflow: hidden;
}

.leila-chat-mock__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 9, 16, 0.92);
}

.leila-chat-mock__header-copy {
  flex: 1;
  min-width: 0;
}

.leila-chat-mock__title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.leila-chat-mock__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0f172a;
  background: linear-gradient(135deg, #4afbe5 0%, #22d3ee 50%, #06b6d4 100%);
  box-shadow: 0 2px 6px rgba(74, 251, 229, 0.28);
}

.leila-chat-mock__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.leila-chat-mock__close svg {
  width: 1rem;
  height: 1rem;
}

.leila-chat-mock__dock {
  flex-shrink: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 9, 16, 0.88) 22%, #070910 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.leila-chat-mock__shortcuts {
  padding: 0.35rem 1.25rem 0.15rem;
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  overflow: hidden;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    max-height 0.28s ease,
    padding 0.28s ease;
}

.leila-chat-mock__shortcuts.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.leila-chat-mock__shortcuts-title {
  margin: 0 0 0.45rem;
  font-size: 0.71875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.55);
}

.leila-chat-mock__shortcut-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.leila-gemini-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.45rem 0.75rem 0.45rem 0.45rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #2a3142 0%, #161b26 100%);
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  animation: leilaChipIn 0.32s ease both;
  animation-delay: calc(var(--chip-i, 0) * 45ms);
}

.leila-gemini-chip:hover {
  border-color: rgba(109, 141, 255, 0.35);
  transform: translateY(-1px);
}

.leila-gemini-chip--tinted {
  border-color: rgba(109, 141, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(109, 141, 255, 0.08);
}

.leila-gemini-chip__icon {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 141, 255, 0.14);
  color: #6d8dff;
}

.leila-gemini-chip__icon svg {
  width: 0.75rem;
  height: 0.75rem;
}

.leila-gemini-chip__label {
  min-width: 0;
}

@keyframes leilaChipIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leila-chat-mock__composer {
  padding: 0.35rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

.leila-composer-surface {
  padding: 2px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.leila-composer-surface:focus-within {
  border-color: rgba(109, 141, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(109, 141, 255, 0.12), 0 4px 18px rgba(0, 0, 0, 0.32);
}

.leila-composer-surface__row {
  display: flex;
  align-items: flex-end;
  gap: 0;
  min-height: 2.75rem;
  padding: 0.35rem 0.35rem 0.35rem 0;
  border-radius: 26px;
  background: linear-gradient(180deg, #1e2430 0%, #12161f 100%);
}

.leila-composer-surface__input {
  flex: 1;
  min-width: 0;
  padding: 0.8125rem 0.25rem 0.8125rem 1.125rem;
  border: none;
  background: transparent;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.35;
  outline: none;
}

.leila-composer-surface__input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.leila-composer-surface__input:disabled {
  opacity: 0.55;
}

.leila-composer-surface__clear {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.15rem;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}

.leila-composer-surface__clear:hover {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
}

.leila-composer-surface__clear svg {
  width: 1.125rem;
  height: 1.125rem;
}

.leila-composer-surface__clear.hidden {
  display: none;
}

.leila-composer-surface__send {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0 0 0.15rem;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.28);
  cursor: not-allowed;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.leila-composer-surface__send svg {
  width: 1.25rem;
  height: 1.25rem;
}

.leila-composer-surface__send.is-ready {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.leila-composer-surface__send.is-ready:hover {
  transform: scale(1.04);
}

.leila-composer-disclaimer {
  margin: 0.45rem 0.15rem 0;
  font-size: 0.625rem;
  line-height: 1.35;
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
}

.leila-chat-mock__avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: #000;
}

.leila-chat-mock__name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.leila-chat-mock__status {
  font-size: 0.6875rem;
  color: var(--mdf-success);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.leila-chat-mock__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.leila-chat-mock__body {
  padding: 1.15rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.leila-chat-mock__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  scroll-behavior: smooth;
}

.leila-chat-welcome {
  margin-bottom: 0.5rem;
}

.leila-chat-welcome[hidden] {
  display: none;
}

.leila-chat-welcome__card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(74, 251, 229, 0.12);
  background: rgba(15, 23, 42, 0.35);
}

.leila-chat-welcome__avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  background: #000;
  object-fit: contain;
}

.leila-chat-welcome__opening {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--mdf-muted);
}

.leila-chat-welcome__hint {
  margin: 0.65rem 0 0 2.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--mdf-muted-soft);
}

.leila-chat-welcome__badge {
  display: inline-block;
  margin: 0.65rem 0 0 2.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--mdf-accent-ui);
  background: rgba(74, 251, 229, 0.1);
  border: 1px solid rgba(74, 251, 229, 0.28);
}

.leila-chat-mock__messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.leila-chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  animation: chatIn 0.35s ease;
}

.leila-chat-row--user {
  justify-content: flex-end;
}

.leila-chat-row--leila {
  justify-content: flex-start;
}

.leila-chat-row__avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: contain;
  background: #000;
  margin-bottom: 2px;
}

.leila-chat-bubble {
  max-width: 86%;
  padding: 0.7rem 0.95rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.leila-chat-bubble--user {
  background: #202431;
  color: #f3f4f6;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
}

.leila-chat-bubble--leila {
  background: #151c28;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--mdf-muted);
  border-radius: 16px;
  border-top-left-radius: 4px;
}

.leila-chat-bubble--leila strong {
  color: var(--mdf-accent-ui);
  font-weight: 700;
}

.leila-chat-bubble--typing {
  padding: 0.85rem 1rem;
}

.leila-typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.leila-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mdf-accent-ui);
  opacity: 0.45;
  animation: leilaDot 1.1s ease-in-out infinite;
}

.leila-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.leila-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

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

.leila-chat-download-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.65rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: #0f172a;
  background: linear-gradient(135deg, #4afbe5 0%, #22d3ee 100%);
  box-shadow: 0 4px 14px rgba(74, 251, 229, 0.25);
}

.leila-chat-download-cta:hover {
  filter: brightness(1.05);
}

@keyframes chatIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Hide old orb visual */
.leila-ai-stage {
  display: none;
}

.leila-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Social proof / reviews ---- */
.reviews-section {
  padding: 4rem 0;
  overflow: hidden;
}

.reviews-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reviews-marquee {
  display: flex;
  gap: 1rem;
  animation: reviewsScroll 40s linear infinite;
  width: max-content;
}

.reviews-marquee:hover {
  animation-play-state: paused;
}

@keyframes reviewsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  flex: 0 0 320px;
  padding: 1.35rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(28, 38, 54, 0.9), rgba(14, 19, 30, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-card__stars {
  color: #fbbf24;
  font-size: 0.875rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.review-card__quote {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--mdf-muted);
  margin-bottom: 1rem;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mdf-grad-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
  color: #0b0f14;
}

.review-card__name {
  font-weight: 700;
  font-size: 0.875rem;
}

.review-card__meta {
  font-size: 0.75rem;
  color: var(--mdf-muted-soft);
}

/* ---- Pricing teaser ---- */
.pricing-teaser {
  padding: 4rem 0;
}

.pricing-teaser__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-teaser__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-teaser__card {
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(28, 38, 54, 0.85), rgba(14, 19, 30, 0.9));
  display: flex;
  flex-direction: column;
}

.pricing-teaser__card--premium {
  border-color: rgba(74, 251, 229, 0.3);
  box-shadow: 0 0 48px rgba(74, 251, 229, 0.1);
  position: relative;
}

.pricing-teaser__badge {
  position: absolute;
  top: -0.65rem;
  right: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--mdf-grad-cta);
  color: #0b0f14;
}

.pricing-teaser__plan {
  font-size: 0.875rem;
  color: var(--mdf-muted-soft);
  margin-bottom: 0.25rem;
}

.pricing-teaser__price {
  font-family: var(--mdf-font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.pricing-teaser__price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mdf-muted-soft);
}

.pricing-teaser__tag {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--mdf-muted);
}

.pricing-teaser__card--premium .pricing-teaser__tag {
  color: rgba(255, 255, 255, 0.82);
}

.pricing-teaser__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pricing-teaser__features li {
  font-size: 0.875rem;
  color: var(--mdf-muted);
  padding: 0.35rem 0;
  padding-left: 1.35rem;
  position: relative;
}

.pricing-teaser__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--mdf-accent-ui);
  font-weight: 700;
}

.pricing-teaser__link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.pricing-teaser__link a {
  color: var(--mdf-accent-ui);
  text-decoration: none;
  font-weight: 600;
}

.pricing-teaser__link a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-marquee {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .hero-device-screens img,
  .story-panel,
  .leila-chat-bubble {
    animation: none;
    transition: none;
  }
}

/* ---- Landing B: calc-first hero ---- */
.hero-calc-landing {
  position: relative;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

@media (max-width: 899px) {
  .hero-calc-landing {
    display: flex;
    flex-direction: column;
  }

  .hero-dash-preview-wrap {
    order: 1;
    margin-bottom: 0.5rem;
  }

  .hero-dash-calc-result {
    order: 2;
  }

  .hero-calc-intro {
    order: 3;
  }

  #calc-shell {
    order: 4;
  }

  .hero-value-pillars {
    order: 5;
  }

  .hero-calc-trust {
    order: 6;
    margin-top: 0.25rem;
  }
}

@media (min-width: 900px) {
  .hero-calc-landing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2rem;
    grid-template-areas:
      "intro intro"
      "calc dash"
      "value value"
      "trust trust";
    align-items: start;
  }

  .hero-calc-intro {
    grid-area: intro;
  }

  #calc-shell {
    grid-area: calc;
  }

  .hero-dash-preview-wrap {
    grid-area: dash;
  }

  .hero-value-pillars {
    grid-area: value;
  }

  .hero-calc-trust {
    grid-area: trust;
  }

  .hero-calc-landing .calc-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .hero-calc-landing {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
}

.hero-calc-trust {
  justify-content: center;
  margin-top: 1.75rem;
  margin-bottom: 0;
  padding-top: 0.25rem;
}

@media (max-width: 767px) {
  .hero-calc-trust.hero-social-proof {
    display: flex;
  }
}

.hero-calc-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.hero-calc-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero-calc-lead {
  color: var(--mdf-muted);
  font-size: 1.05rem;
}

.calc-shell--hero {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #1e2438 0%, #171e32 50%, #101520 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mdf-site .calc-shell--hero.glass:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.calc-shell--hero .calc-header {
  display: none;
}

.calc-shell--hero .calc-form {
  gap: 1.35rem;
}

.calc-shell--hero .calc-field + .calc-field {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-shell--hero .calc-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.calc-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #031512;
  background: linear-gradient(145deg, #5eead4, #27e1c1);
  box-shadow: 0 0 0 2px rgba(39, 225, 193, 0.18);
  flex-shrink: 0;
}

.calc-shell--hero .calc-submit {
  margin-top: 0.35rem;
  min-height: 3.1rem;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 28px rgba(39, 225, 193, 0.28);
}

.calc-trust-line {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.88);
  letter-spacing: 0.01em;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--mdf-muted-soft);
  text-align: center;
  margin-top: 0.5rem;
}

.calc-leila-secondary {
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mdf-text);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.2s ease;
}

.calc-leila-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.anchor-section {
  padding: 2.5rem 0;
  text-align: center;
}

.anchor-section__quote {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  color: var(--mdf-muted);
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

.anchor-section__timeline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mdf-muted-soft);
}

.anchor-section__line {
  width: min(12rem, 30vw);
  height: 2px;
  background: linear-gradient(90deg, rgba(74, 251, 229, 0.2), rgba(74, 251, 229, 0.85));
  border-radius: 999px;
}

.how-steps-section {
  padding: 2.5rem 0 3rem;
}

.how-steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 960px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.how-step {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.how-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(74, 251, 229, 0.15);
  color: var(--mdf-accent-ui);
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.how-step h3 {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.how-step p {
  font-size: 0.875rem;
  color: var(--mdf-muted);
  line-height: 1.5;
}

.leila-usecases {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .leila-usecases {
    grid-template-columns: repeat(3, 1fr);
  }
}

.leila-usecase-card {
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.leila-usecase-card:hover {
  border-color: rgba(74, 251, 229, 0.35);
  background: rgba(74, 251, 229, 0.06);
}

.leila-usecase-card__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mdf-accent-ui);
  margin-bottom: 0.5rem;
}

.leila-usecase-card p {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.leila-usecase-card__action {
  font-size: 0.8125rem;
  color: var(--mdf-muted);
}

.leila-grid--demo {
  max-width: 520px;
  margin: 0 auto;
}

.app-preview-section {
  padding: 3rem 0;
}

.app-preview-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .app-preview-grid {
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
  }
}

.app-preview-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.app-preview-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--mdf-muted);
}

.app-preview-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--mdf-accent-ui);
  font-weight: 700;
}

.app-preview-device {
  margin: 0;
}

/* ---- Hero dashboard preview (app cards 1–3) ---- */
.hero-dash-preview-wrap {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.hero-dash-particles {
  position: absolute;
  inset: -0.5rem -0.25rem;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  border-radius: 24px;
  mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
}

.hero-dash-particle {
  position: absolute;
  top: -12%;
  left: var(--x, 50%);
  font-size: var(--size, 0.65rem);
  font-weight: 700;
  color: rgba(94, 234, 212, 0.22);
  text-shadow: 0 0 12px rgba(94, 234, 212, 0.25);
  opacity: 0;
  animation: hero-dash-particle-fall var(--dur, 9s) var(--delay, 0s) infinite;
  will-change: transform, opacity;
}

.hero-dash-particle--star {
  color: rgba(251, 191, 36, 0.28);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
  font-size: calc(var(--size, 0.65rem) * 0.85);
}

.hero-dash-particle--spark {
  color: rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

@keyframes hero-dash-particle-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.6);
  }
  8% {
    opacity: var(--peak, 0.55);
  }
  75% {
    opacity: calc(var(--peak, 0.55) * 0.45);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 8px), 115%, 0) rotate(var(--spin, 18deg)) scale(0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dash-particle {
    animation: none;
    display: none;
  }
}

.hero-dash-preview {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-dash-calc-result:not(:empty) {
  margin-top: 1rem;
}

.hero-dash-calc-result:empty {
  display: none;
  margin: 0;
  padding: 0;
}

.hero-dash-calc-result .calc-result {
  margin-top: 0;
}

/* ---- Value pillars (below calculator) ---- */
.hero-value-pillars {
  width: 100%;
  margin-top: 2rem;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-value-pillars__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.55);
  text-align: center;
}

.hero-value-pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .hero-value-pillars__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.hero-value-pillar {
  padding: 0.85rem 0.75rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-value-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.45rem;
  border-radius: 10px;
  color: #5eead4;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.18);
}

.hero-value-pillar__icon--ai {
  color: #c4b5fd;
  background: rgba(196, 181, 253, 0.1);
  border-color: rgba(196, 181, 253, 0.2);
}

.hero-value-pillar__icon--bank {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.08);
  border-color: rgba(125, 211, 252, 0.18);
}

.hero-value-pillar__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.25;
}

.hero-value-pillar__desc {
  margin: 0.3rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.85);
}

@media (min-width: 900px) {
  .hero-value-pillars__eyebrow {
    text-align: left;
  }
}

.hero-dash-preview__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.52);
  text-align: center;
}

@media (min-width: 900px) {
  .hero-dash-preview__eyebrow {
    text-align: left;
  }
}

.hero-dash-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.hero-dash-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.hero-dash-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.55rem;
}

.hero-dash-health-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  background: rgba(6, 18, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dash-health-pill__icon {
  color: #34d399;
  filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.55));
}

.hero-dash-strategy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
}

.hero-dash-strategy-badge svg {
  opacity: 0.75;
}

/* BankFlowHeroContent + BankFlowHeroStats — v703 hero con banco */
.hero-dash-card--bank-hero {
  padding: 1.05rem 1.05rem 0.75rem;
  background: linear-gradient(135deg, #1e2438 0%, #171e32 50%, #101520 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.hero-dash-bank-hero {
  position: relative;
}

.hero-dash-bank-hero__strategy {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
}

.hero-dash-strategy-picker {
  position: relative;
}

.hero-dash-strategy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  max-width: 7.75rem;
  padding: 0.28rem 0.35rem 0.28rem 0.45rem;
  border-radius: 999px;
  font-family: 'Inter', var(--mdf-font-body), sans-serif;
  font-size: 0.65625rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-dash-strategy-chip:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-dash-strategy-chip[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 193, 7, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.12);
}

.hero-dash-strategy-chip[aria-expanded="true"] .hero-dash-strategy-chip__icon {
  color: #ffc107;
}

.hero-dash-strategy-chip__icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.75);
}

.hero-dash-strategy-chip__label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dash-strategy-chip__caret {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-dash-strategy-chip[aria-expanded="true"] .hero-dash-strategy-chip__caret {
  transform: rotate(180deg);
}

.hero-dash-strategy-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 11.5rem;
  max-width: 13.75rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: rgba(12, 15, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 20;
  animation: hero-dash-strategy-menu-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-dash-strategy-menu[hidden] {
  display: none;
}

@keyframes hero-dash-strategy-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-dash-strategy-menu__title {
  margin: 0.15rem 0.45rem 0.35rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hero-dash-strategy-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  width: 100%;
  padding: 0.5rem 0.55rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}

.hero-dash-strategy-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-dash-strategy-option.is-selected {
  background: rgba(255, 193, 7, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 193, 7, 0.22);
}

.hero-dash-strategy-option__name {
  font-family: 'Poppins', var(--mdf-font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.hero-dash-strategy-option__hint {
  font-size: 0.5625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

.hero-dash-strategy-menu__sep {
  height: 1px;
  margin: 0.25rem 0.35rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-dash-strategy-menu__leila {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.55rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: 'Poppins', var(--mdf-font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.hero-dash-strategy-menu__leila:hover {
  background: rgba(94, 234, 212, 0.08);
}

.hero-dash-strategy-menu__leila-icon {
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-dash-bank-hero__label {
  margin: 0;
  padding-right: 8.25rem;
  font-family: 'Inter', var(--mdf-font-body), sans-serif;
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dash-bank-hero__headline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-top: 0.5rem;
}

.hero-dash-bank-hero__balance {
  margin: 0;
  font-family: 'Poppins', var(--mdf-font-body), sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #e4eeec;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.hero-dash-bank-hero__spent-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-family: 'Inter', var(--mdf-font-body), sans-serif;
  font-size: 0.65625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ff8a80;
  background: rgba(255, 138, 128, 0.1);
  border: 1px solid rgba(255, 138, 128, 0.22);
  white-space: nowrap;
  transform: translateY(-2px);
}

.hero-dash-bank-hero__spark-wrap {
  position: relative;
  margin-top: 0.75rem;
  height: 5.25rem;
}

.hero-dash-bank-hero__spark {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-dash-bank-hero__ticks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  height: 12px;
  align-items: end;
  pointer-events: none;
}

.hero-dash-bank-hero__ticks span {
  justify-self: center;
  width: 5px;
  height: 1.6px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.14);
  transform: scaleY(0.4);
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.hero-dash-bank-hero__ticks span.is-future {
  width: 4px;
  height: 1px;
  opacity: 0.28;
  transform: scaleY(0.35);
}

.hero-dash-bank-hero__ticks span.is-elapsed {
  background: rgba(255, 255, 255, 0.38);
  opacity: 0.85;
  transform: scaleY(0.75);
}

.hero-dash-bank-hero__ticks span.is-elapsed.is-lit {
  opacity: 1;
  transform: scaleY(1);
}

.hero-dash-preview.is-animating .hero-dash-bank-hero__ticks span.is-elapsed.is-lit {
  animation: hero-dash-tick-pop 0.38s ease-out backwards;
}

@keyframes hero-dash-tick-pop {
  0% {
    opacity: 0.2;
    transform: scaleY(0.2);
  }
  70% {
    transform: scaleY(1.15);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dash-preview.is-animating .hero-dash-bank-hero__ticks span.is-elapsed.is-lit {
    animation: none;
  }
}

.hero-dash-bank-hero__stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 0.35rem;
}

.hero-dash-bank-stat {
  flex: 1;
  min-width: 0;
  padding: 0 0.15rem;
}

.hero-dash-bank-stat__label {
  margin: 0;
  font-family: 'Inter', var(--mdf-font-body), sans-serif;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dash-bank-stat__value {
  margin: 0.12rem 0 0;
  font-family: 'Poppins', var(--mdf-font-body), sans-serif;
  font-size: 0.84375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #e4eeec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dash-bank-stat__label-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-dash-bank-stat__label-row .hero-dash-bank-stat__label {
  flex: 1;
}

.hero-dash-bank-stat__pct {
  font-family: 'Inter', var(--mdf-font-body), sans-serif;
  font-size: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}

.hero-dash-bank-stat-sep {
  flex-shrink: 0;
  width: 1px;
  align-self: center;
  height: 26px;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 15, 0),
    rgba(5, 8, 15, 0.55),
    rgba(5, 8, 15, 0)
  );
}

.hero-dash-tube-gauge {
  margin-top: 0.12rem;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(0, 0, 0, 0.25);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-dash-tube-gauge__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #e65100 0%,
    #ff8f00 28%,
    #ffc107 55%,
    #ffe082 82%,
    #fff8e1 100%
  );
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-dash-preview.is-animating .hero-dash-tube-gauge__fill {
  animation: hero-dash-tube-shimmer 5.2s ease-in-out infinite;
}

@keyframes hero-dash-tube-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dash-preview.is-animating .hero-dash-tube-gauge__fill {
    animation: none;
  }
}

@media (max-width: 480px) {
  .hero-dash-bank-hero__balance {
    font-size: 1.15rem;
  }

  .hero-dash-bank-hero__spark-wrap {
    height: 4.5rem;
  }

  .hero-dash-bank-stat__value {
    font-size: 0.72rem;
  }
}

.hero-dash-card--progress {
  padding: 1rem 5.5rem 1rem 1.1rem;
  background: linear-gradient(135deg, #1b2d42 0%, #132436 50%, #0e1826 100%);
  overflow: visible;
}

.hero-dash-sun {
  position: absolute;
  top: -1.75rem;
  right: -1.25rem;
  width: 5.5rem;
  height: 5.5rem;
  pointer-events: none;
}

.hero-dash-sun__rays {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 200, 100, 0.22) 12deg, transparent 24deg, rgba(255, 200, 100, 0.18) 36deg, transparent 48deg, rgba(255, 200, 100, 0.2) 60deg, transparent 72deg, rgba(255, 200, 100, 0.16) 84deg, transparent 96deg, rgba(255, 200, 100, 0.2) 108deg, transparent 120deg, rgba(255, 200, 100, 0.18) 132deg, transparent 144deg, rgba(255, 200, 100, 0.22) 156deg, transparent 168deg, rgba(255, 200, 100, 0.18) 180deg, transparent 192deg, rgba(255, 200, 100, 0.2) 204deg, transparent 216deg, rgba(255, 200, 100, 0.16) 228deg, transparent 240deg, rgba(255, 200, 100, 0.2) 252deg, transparent 264deg, rgba(255, 200, 100, 0.18) 276deg, transparent 288deg, rgba(255, 200, 100, 0.22) 300deg, transparent 312deg, rgba(255, 200, 100, 0.18) 324deg, transparent 336deg);
  opacity: 0.84;
  filter: blur(0.3px);
}

.hero-dash-sun__orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.4rem;
  height: 3.4rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff0b4, #ffc864 55%, #ffb347);
  box-shadow: 0 0 25px rgba(255, 200, 100, 0.55), 0 0 8px rgba(255, 179, 71, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-dash-progress-bar {
  margin-top: 0.65rem;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.2));
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.hero-dash-progress-bar__fill {
  position: relative;
  width: 38%;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #ffc107, #ff9800, #ff6b00);
  overflow: hidden;
}

.hero-dash-progress-bar__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 193, 7, 0) 18%,
    rgba(255, 193, 7, 0.25) 42%,
    rgba(255, 152, 0, 0.45) 50%,
    rgba(255, 193, 7, 0.25) 58%,
    rgba(255, 193, 7, 0) 82%,
    transparent 100%
  );
  transform: translateX(-120%);
  opacity: 0;
}

.hero-dash-preview.is-animating .hero-dash-progress-bar__shine {
  opacity: 1;
  animation: hero-dash-progress-shine 2.4s ease-in-out infinite;
}

@keyframes hero-dash-progress-shine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dash-preview.is-animating .hero-dash-progress-bar__shine {
    animation: none;
    opacity: 0;
  }
}

.hero-dash-progress-hint {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  color: #94a3b8;
  line-height: 1.35;
}

.hero-dash-debt-free {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mdf-accent-ui);
}

.hero-dash-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  min-height: 176px;
}

.hero-dash-row > .hero-dash-card {
  min-width: 0;
}

@media (max-width: 480px) {
  .hero-dash-row {
    gap: 0.45rem;
    min-height: 148px;
  }

  .hero-dash-card--next-pay,
  .hero-dash-card--goal,
  .hero-dash-goal-layout {
    min-height: 148px;
  }

  .hero-dash-next-pay {
    padding: 0.45rem 0.5rem 0.45rem;
  }

  .hero-dash-next-pay__amount {
    font-size: 0.95rem;
  }

  .hero-dash-next-pay__logo {
    width: 2.5rem;
    height: 1.65rem;
  }

  .hero-dash-goal-layout--compact .hero-dash-donut-shell {
    width: 4.75rem;
    height: 4.75rem;
    padding: 5px;
  }

  .hero-dash-goal-layout--compact .hero-dash-donut-paid {
    font-size: 0.65rem;
  }

  .hero-dash-goal-layout--compact .hero-dash-donut-total {
    font-size: 0.42rem;
  }

  .hero-dash-donut-shell {
    width: 4.25rem;
    height: 4.25rem;
  }

  .hero-dash-donut-paid {
    font-size: 0.5rem;
  }

  .hero-dash-donut-total {
    font-size: 0.4rem;
  }
}

/* DashboardNextPayCard — v703 "Lo que viene" */
.hero-dash-card--next-pay {
  position: relative;
  min-height: 176px;
  background: linear-gradient(135deg, #1e2438 0%, #171e32 50%, #101520 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.hero-dash-card__hairline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1.2px;
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(255, 255, 255, 0.5) 35%,
    rgba(255, 255, 255, 0.28) 65%,
    transparent 95%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-dash-next-pay {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 176px;
  padding: 0.625rem 0.75rem 0.625rem;
}

.hero-dash-next-pay__top {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hero-dash-next-pay__label {
  margin: 0;
  font-family: 'Inter', var(--mdf-font-body), sans-serif;
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dash-next-pay__amount {
  margin: 0.35rem 0 0;
  font-family: 'Poppins', var(--mdf-font-body), sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #e4eeec;
  line-height: 1;
  white-space: nowrap;
}

.hero-dash-next-pay__logo-wrap {
  margin-top: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 4.875rem;
}

.hero-dash-next-pay__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.875rem;
  height: 2.875rem;
}

.hero-dash-next-pay__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-dash-next-pay__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.hero-dash-next-pay__creditor {
  margin: 0.35rem 0 0;
  width: 100%;
  font-family: 'Inter', var(--mdf-font-body), sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  color: rgba(255, 255, 255, 0.48);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dash-next-pay__sep {
  height: 1px;
  margin: 0.5rem 0;
  background: linear-gradient(
    90deg,
    rgba(5, 8, 15, 0),
    rgba(5, 8, 15, 0.55),
    rgba(5, 8, 15, 0)
  );
}

.hero-dash-next-pay__bottom {
  flex-shrink: 0;
}

.hero-dash-next-pay__countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dash-next-pay__days {
  flex-shrink: 0;
  font-family: 'Inter', var(--mdf-font-body), sans-serif;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5eead4;
  white-space: nowrap;
}

.hero-dash-next-pay__due-bar {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  overflow: hidden;
}

.hero-dash-next-pay__due-fill {
  height: 100%;
  width: 83%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(94, 234, 212, 0.55), #5eead4);
}

.hero-dash-next-pay__year {
  margin: 0.375rem 0 0;
  font-family: 'Inter', var(--mdf-font-body), sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dash-card--goal {
  position: relative;
  min-height: 176px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #3d8a82 0%, #2a6a63 28%, #1a5049 55%, #123a35 78%, #0e1820 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.42), 0 6px 14px rgba(26, 107, 98, 0.14);
}

.hero-dash-goal-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03), transparent 62%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.hero-dash-goal-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.55rem 0.6rem 0.5rem;
  min-height: 176px;
}

.hero-dash-goal-layout--compact .hero-dash-goal-donut-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.15rem 0;
}

.hero-dash-goal-layout--compact .hero-dash-donut-shell {
  width: 6.125rem;
  height: 6.125rem;
  padding: 7px;
  box-sizing: border-box;
  border-radius: 50%;
  background: radial-gradient(circle, #050d0b 42%, #0c1a17 78%, #152622 100%);
  border: 1.2px solid rgba(0, 0, 0, 0.42);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.55),
    inset -1px -1px 6px rgba(255, 255, 255, 0.06);
}

.hero-dash-goal-layout--compact .hero-dash-donut-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-dash-goal-layout--compact .hero-dash-donut-center {
  padding: 0.45rem;
}

.hero-dash-goal-layout--compact .hero-dash-donut-paid {
  font-size: 0.827rem;
  font-family: 'Poppins', var(--mdf-font-body), sans-serif;
}

.hero-dash-goal-layout--compact .hero-dash-donut-total {
  font-size: 0.52rem;
  font-family: 'Poppins', var(--mdf-font-body), sans-serif;
}

.hero-dash-goal-layout--compact .hero-dash-donut-divider {
  width: 1.25rem;
}

.hero-dash-goal-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.hero-dash-goal-badge {
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-size: 0.4375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ccfbf1;
  background: rgba(13, 74, 66, 0.55);
  border: 1px solid rgba(94, 234, 212, 0.45);
  white-space: nowrap;
}

.hero-dash-goal-covered {
  flex: 1;
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Poppins', var(--mdf-font-body), sans-serif;
}

.hero-dash-goal-chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.65);
}

.hero-dash-goal-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 0;
}

.hero-dash-donut-shell {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, #050d0b 42%, #0c1a17 78%, #152622 100%);
  border: 1.2px solid rgba(0, 0, 0, 0.42);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55), inset -1px -1px 6px rgba(255, 255, 255, 0.06);
}

.hero-dash-donut-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-dash-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 0.85rem;
}

.hero-dash-donut-paid {
  font-size: 0.5625rem;
  font-weight: 800;
  color: #d8faf4;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.hero-dash-donut-divider {
  width: 1.1rem;
  height: 1px;
  margin: 0.12rem 0;
  background: linear-gradient(90deg, rgba(110, 201, 184, 0.08), rgba(232, 199, 123, 0.55), rgba(110, 201, 184, 0.08));
}

.hero-dash-donut-total {
  font-size: 0.4375rem;
  font-weight: 800;
  color: #fff4e8;
  line-height: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.38);
}

.hero-dash-goal-stats {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.hero-dash-statline {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.5rem;
}

.hero-dash-statline__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-dash-statline__dot--paid { background: #5eead4; }
.hero-dash-statline__dot--remaining { background: #fbbf24; }

.hero-dash-statline__label {
  flex: 1;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dash-statline__value {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-dash-statline__value--paid { color: #5eead4; }
.hero-dash-statline__value--remaining { color: #fbbf24; }

.hero-dash-goal-mini-bar {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.15rem;
}

.hero-dash-goal-mini-bar__paid {
  flex: 380 1 0;
  background: #14b8a6;
}

.hero-dash-goal-mini-bar__remaining {
  flex: 620 1 0;
  background: rgba(255, 255, 255, 0.12);
}

.hero-dash-goal-footer {
  margin-top: 0.15rem;
  font-size: 0.53125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* DashboardSpendingInsightBar — banco conectado (Flutter main) */
.hero-dash-insight {
  margin-top: 0.45rem;
  margin-bottom: 0.35rem;
}

.hero-dash-insight__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(72, 209, 191, 0.14), rgba(30, 41, 59, 0.9));
  border: 1px solid rgba(72, 209, 191, 0.28);
}

.hero-dash-insight__icon {
  flex-shrink: 0;
  margin-top: 0.05rem;
  color: #48d1bf;
}

.hero-dash-insight__copy {
  min-width: 0;
}

.hero-dash-insight__headline {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-dash-insight__message {
  margin: 0.12rem 0 0;
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calc-shell--has-result .hero-dash-preview {
  opacity: 0.92;
}

.calc-shell--has-result #calc-result-host-desktop .calc-result {
  margin-top: 0;
}
