/* ═══════════════════════════════════════════════════════════════
   FINACEUP — LANDING & AUTH PREMIUM CSS
   2D/3D animations, glassmorphism, smooth motion
═══════════════════════════════════════════════════════════════ */

:root {
  --g1: #22c55e;
  --g2: #16a34a;
  --g3: #0d9488;
  --dark: #060d0f;
  --dark2: #0a1628;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
}

/* ── LANDING BODY ── */
.landing-body { background: var(--dark); color: #fff; overflow-x: hidden; }

/* ── GRID BG ── */
.l-bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(34,197,94,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}

/* ── ORBS ── */
.l-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; z-index: 0;
}
.l-orb-1 { width: 600px; height: 600px; background: rgba(34,197,94,.18); top: -200px; left: -150px; animation: orbFloat 12s ease-in-out infinite; }
.l-orb-2 { width: 400px; height: 400px; background: rgba(13,148,136,.14); top: 200px; right: -100px; animation: orbFloat 15s ease-in-out infinite reverse; }
.l-orb-3 { width: 300px; height: 300px; background: rgba(22,163,74,.1); bottom: 100px; left: 30%; animation: orbFloat 10s ease-in-out infinite 3s; }
.l-orb-cta { width: 500px; height: 500px; background: rgba(34,197,94,.12); top: -100px; left: 50%; transform: translateX(-50%); animation: orbFloat 14s ease-in-out infinite; }

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* ── NAV ── */
.l-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: .75rem 0; transition: all .3s;
}
.l-nav.scrolled {
  background: rgba(6,13,15,.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.l-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.l-nav-links { display: flex; gap: 2rem; }
.l-nav-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color .2s; font-weight: 500; }
.l-nav-links a:hover { color: #fff; }
.l-nav-cta { display: flex; gap: .75rem; align-items: center; }

/* ── BRAND ── */
.l-brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1.15rem; color: #fff; text-decoration: none;
}
.l-brand-icon {
  width: 34px; height: 34px; background: linear-gradient(135deg, var(--g1), var(--g2));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: #fff;
  box-shadow: 0 4px 16px rgba(34,197,94,.4);
}

/* ── BUTTONS ── */
.l-btn-solid {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff; padding: .65rem 1.4rem; border-radius: 10px;
  font-weight: 600; font-size: .9rem; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(34,197,94,.35);
  transition: transform .2s, box-shadow .2s;
}
.l-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(34,197,94,.5); color: #fff; }
.l-btn-solid:active { transform: translateY(0); }
.l-btn-ghost {
  color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 500;
  text-decoration: none; transition: color .2s; padding: .4rem .6rem;
}
.l-btn-ghost:hover { color: #fff; }
.l-btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.8); border: 1.5px solid var(--glass-border);
  padding: .65rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: .9rem;
  text-decoration: none; background: var(--glass); backdrop-filter: blur(8px);
  transition: all .2s;
}
.l-btn-outline:hover { border-color: var(--g1); color: var(--g1); background: rgba(34,197,94,.08); }
.l-btn-lg { padding: .85rem 1.9rem; font-size: 1rem; border-radius: 12px; }
.l-btn-full { width: 100%; justify-content: center; }

/* ── HERO ── */
.l-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 6rem 2rem 4rem; overflow: hidden;
}
.l-hero-content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.l-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25);
  color: var(--g1); padding: .4rem .9rem; border-radius: 99px;
  font-size: .82rem; font-weight: 600; margin-bottom: 1.5rem;
}
.l-badge-dot {
  width: 7px; height: 7px; background: var(--g1); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.l-title {
  font-size: 3.5rem; font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 1.25rem; letter-spacing: -.02em;
}
.l-title-gradient {
  background: linear-gradient(135deg, var(--g1), #4ade80, var(--g3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.l-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,.6); line-height: 1.75;
  margin-bottom: 2rem; max-width: 480px;
}
.l-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.l-social-proof { display: flex; align-items: center; gap: .75rem; }
.l-avatars { display: flex; }
.l-av {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #fff; margin-left: -8px;
}
.l-av:first-child { margin-left: 0; }
.l-social-proof span { font-size: .82rem; color: rgba(255,255,255,.5); }

/* AOS animaciones */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-aos][data-aos-delay="50"]  { transition-delay: .05s; }
[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="150"] { transition-delay: .15s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }
[data-aos][data-aos-delay="250"] { transition-delay: .25s; }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ── MOCKUP 3D ── */
.l-hero-visual { position: relative; display: flex; justify-content: center; }
.l-mockup-wrapper { position: relative; }
.l-mockup {
  background: rgba(15,23,35,.9); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; width: 400px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform .15s ease;
  backdrop-filter: blur(20px);
}
.lm-topbar {
  background: rgba(255,255,255,.04); padding: .7rem 1rem;
  display: flex; align-items: center; gap: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.lm-dots { display: flex; gap: .35rem; }
.lm-dots span { width: 10px; height: 10px; border-radius: 50%; }
.lm-dots span:nth-child(1) { background: #ff5f57; }
.lm-dots span:nth-child(2) { background: #ffbd2e; }
.lm-dots span:nth-child(3) { background: #28c840; }
.lm-url { font-size: .72rem; color: rgba(255,255,255,.3); flex: 1; text-align: center; }
.lm-body { padding: 1rem; }
.lm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .85rem; }
.lm-title { font-size: .95rem; font-weight: 700; color: #fff; }
.lm-sub { font-size: .7rem; color: rgba(255,255,255,.35); margin-top: .1rem; }
.lm-add-btn {
  background: var(--g2); color: #fff; padding: .3rem .7rem;
  border-radius: 7px; font-size: .72rem; font-weight: 600;
}
.lm-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: .4rem; margin-bottom: .85rem; }
.lm-kpi { background: rgba(255,255,255,.05); border-radius: 8px; padding: .5rem .4rem; }
.lm-kpi-label { font-size: .6rem; color: rgba(255,255,255,.4); margin-bottom: .2rem; }
.lm-kpi-val { font-size: .75rem; font-weight: 700; color: #fff; }
.lm-green { color: #4ade80; }
.lm-income  { border-top: 2px solid #22c55e; }
.lm-expense { border-top: 2px solid #ef4444; }
.lm-balance { border-top: 2px solid #22c55e; }
.lm-savings { border-top: 2px solid #3b82f6; }
.lm-chart-area { margin-bottom: .85rem; }
.lm-chart-title { font-size: .7rem; color: rgba(255,255,255,.35); margin-bottom: .5rem; }
.lm-bars { display: flex; gap: .35rem; align-items: flex-end; height: 60px; }
.lm-bar-group { display: flex; gap: 2px; align-items: flex-end; flex: 1; }
.lm-bar {
  flex: 1; border-radius: 3px 3px 0 0;
  height: var(--h); animation: barGrow .8s ease forwards;
  transform-origin: bottom;
}
@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.lm-bar-i { background: rgba(34,197,94,.7); }
.lm-bar-e { background: rgba(239,68,68,.6); }
.lm-goal { background: rgba(255,255,255,.04); border-radius: 8px; padding: .6rem; }
.lm-goal-row { display: flex; justify-content: space-between; font-size: .72rem; color: rgba(255,255,255,.6); margin-bottom: .35rem; }
.lm-progress { height: 5px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.lm-progress-fill {
  height: 100%; width: var(--w, 0%);
  background: linear-gradient(90deg, var(--g1), #4ade80);
  border-radius: 99px; animation: progressIn .9s ease forwards;
}
@keyframes progressIn {
  from { width: 0; }
  to { width: var(--w); }
}

/* Tarjetas flotantes */
.l-float-card {
  position: absolute; background: rgba(15,23,35,.95);
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  padding: .65rem 1rem; display: flex; align-items: center; gap: .6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.4); backdrop-filter: blur(20px);
  white-space: nowrap; z-index: 10;
}
.l-float-icon { font-size: 1.25rem; }
.l-float-label { font-size: .7rem; color: rgba(255,255,255,.45); }
.l-float-val { font-size: .82rem; font-weight: 700; color: #fff; }
.l-float-1 { top: -20px; right: -60px; animation: floatCard1 5s ease-in-out infinite; }
.l-float-2 { bottom: 40px; right: -70px; animation: floatCard2 6s ease-in-out infinite 1s; }
.l-float-3 { top: 50%; left: -80px; transform: translateY(-50%); animation: floatCard3 7s ease-in-out infinite 2s; }
@keyframes floatCard1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes floatCard2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@keyframes floatCard3 { 0%,100%{transform:translateY(-50%) translateX(0)} 50%{transform:translateY(-50%) translateX(-6px)} }

/* ── STATS ── */
.l-stats { padding: 3rem 2rem; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.l-stats-inner { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; text-align: center; }
.l-stat-num { font-size: 2.5rem; font-weight: 800; color: var(--g1); margin-bottom: .35rem; }
.l-stat-label { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.4; }

/* ── SECTIONS ── */
.l-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.l-section-header { text-align: center; margin-bottom: 3.5rem; }
.l-section-tag {
  display: inline-block; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.2);
  color: var(--g1); padding: .3rem .9rem; border-radius: 99px;
  font-size: .8rem; font-weight: 600; margin-bottom: 1rem;
}
.l-section-title { font-size: 2.25rem; font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.l-section-sub { font-size: 1rem; color: rgba(255,255,255,.5); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── FEATURES ── */
.l-features { padding: 6rem 0; }
.l-features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.l-feat-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 1.75rem; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  backdrop-filter: blur(10px);
}
.l-feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  border-color: rgba(34,197,94,.3);
}
.l-feat-big { grid-column: span 1; background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.2); }
.l-feat-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.l-feat-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.l-feat-card p { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.65; }
.l-feat-tag {
  display: inline-block; background: rgba(34,197,94,.2); color: var(--g1);
  padding: .2rem .6rem; border-radius: 99px; font-size: .72rem; font-weight: 600; margin-top: .75rem;
}

/* ── HOW ── */
.l-how { padding: 6rem 0; background: rgba(255,255,255,.02); }
.l-steps { display: flex; align-items: center; gap: 1.5rem; margin-top: 3rem; }
.l-step { flex: 1; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px; padding: 2rem; }
.l-step-num { font-size: 2.5rem; font-weight: 900; color: rgba(34,197,94,.3); margin-bottom: .5rem; }
.l-step h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.l-step p { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.65; }
.l-step-arrow { font-size: 1.5rem; color: rgba(34,197,94,.4); flex-shrink: 0; }

/* ── CTA ── */
.l-cta { padding: 6rem 2rem; text-align: center; position: relative; overflow: hidden; }
.l-cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.l-cta h2 { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.l-cta p { font-size: 1rem; color: rgba(255,255,255,.5); margin-bottom: 2rem; }

/* ── FOOTER ── */
.l-footer { padding: 2rem; border-top: 1px solid rgba(255,255,255,.06); }
.l-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.l-footer p { font-size: .82rem; color: rgba(255,255,255,.3); }

/* ══════════════════════════════════════════════════
   AUTH PAGES (login / register)
══════════════════════════════════════════════════ */
.auth-body-new { background: var(--dark); min-height: 100vh; overflow: hidden; }
.auth-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.auth-wrap {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  position: relative; z-index: 1;
}

/* Panel izquierdo */
.auth-panel-left {
  background: linear-gradient(160deg, rgba(34,197,94,.08) 0%, rgba(6,13,15,.95) 100%);
  border-right: 1px solid var(--glass-border);
  padding: 3rem; display: flex; flex-direction: column; gap: 2rem;
  justify-content: center;
}
.auth-panel-text h2 { font-size: 2.25rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: .75rem; }
.auth-panel-text p { color: rgba(255,255,255,.5); font-size: .95rem; line-height: 1.7; }
.auth-panel-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
.auth-panel-stat {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 1rem; text-align: center;
}
.auth-pstat-val { font-size: 1.5rem; font-weight: 800; color: var(--g1); margin-bottom: .2rem; }
.auth-pstat-label { font-size: .72rem; color: rgba(255,255,255,.4); }

/* Mini mockup decorativo */
.auth-mini-mockup {
  background: rgba(15,23,35,.8); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 1.1rem; display: flex; flex-direction: column; gap: .75rem;
}
.amm-row { display: flex; align-items: center; gap: .6rem; }
.amm-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.amm-dot.green { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.5); }
.amm-dot.red   { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,.4); }
.amm-bar { flex: 1; height: 6px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; position: relative; }
.amm-bar::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--g1), #4ade80);
  width: inherit; border-radius: 99px;
}
.amm-val { font-size: .78rem; font-weight: 700; white-space: nowrap; }
.amm-val.green { color: #4ade80; }
.amm-val.red   { color: #f87171; }
.amm-progress { }
.amm-progress-label { display: flex; justify-content: space-between; font-size: .72rem; color: rgba(255,255,255,.5); margin-bottom: .35rem; }

/* Panel derecho */
.auth-panel-right {
  display: flex; align-items: center; justify-content: center; padding: 3rem 2rem;
}
.auth-form-card {
  width: 100%; max-width: 420px;
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.auth-form-header { margin-bottom: 1.75rem; }
.auth-form-header h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: .35rem; }
.auth-form-header p { color: rgba(255,255,255,.45); font-size: .9rem; }

/* Inputs */
.auth-form-new { display: flex; flex-direction: column; gap: 1rem; }
.afn-group { display: flex; flex-direction: column; gap: .4rem; }
.afn-group label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.6); }
.afn-input-wrap { position: relative; }
.afn-icon {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.3); pointer-events: none;
}
.afn-input-wrap input {
  width: 100%; padding: .75rem .9rem .75rem 2.75rem;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 10px; color: #fff; font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.afn-input-wrap input::placeholder { color: rgba(255,255,255,.25); }
.afn-input-wrap input:focus {
  outline: none; border-color: var(--g1);
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
  background: rgba(34,197,94,.06);
}
.auth-form-new .l-btn-solid { margin-top: .5rem; padding: .85rem; font-size: .95rem; }

.auth-switch-new { text-align: center; margin-top: 1.25rem; font-size: .875rem; color: rgba(255,255,255,.4); }
.auth-switch-new a { color: var(--g1); font-weight: 600; }
.auth-switch-new a:hover { color: #4ade80; }
.auth-back { display: block; text-align: center; margin-top: .75rem; font-size: .82rem; color: rgba(255,255,255,.3); }
.auth-back:hover { color: rgba(255,255,255,.6); }

/* ══════════════════════════════════════════════════
   DASHBOARD MEJORAS
══════════════════════════════════════════════════ */
.dash-hero {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.75rem; flex-wrap: wrap; gap: 1rem;
  padding: 1.5rem 2rem; background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: 16px; border: 1px solid #bbf7d0;
}
.dash-greeting {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; color: #16a34a; font-weight: 500; margin-bottom: .3rem;
}
.dash-wave { font-size: 1.2rem; animation: wave 2.5s ease-in-out infinite; display: inline-block; }
@keyframes wave {
  0%,100% { transform: rotate(0deg); }
  20% { transform: rotate(20deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(15deg); }
  80% { transform: rotate(-5deg); }
}
.dash-title { font-size: 1.6rem; font-weight: 800; color: #14532d; }
.dash-month { color: #16a34a; }
.dash-add-btn { flex-shrink: 0; }

/* KPI animados */
.kpi-animated {
  animation: kpiIn .4s ease both;
  animation-delay: var(--delay, 0s);
}
@keyframes kpiIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.kpi-card { position: relative; overflow: hidden; border: none; transition: transform .2s, box-shadow .2s; }
.kpi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.kpi-card-inner { display: flex; align-items: center; gap: 1rem; }
.kpi-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.kpi-icon-income  { background: rgba(34,197,94,.12); }
.kpi-icon-expense { background: rgba(239,68,68,.1); }
.kpi-icon-balance { background: rgba(59,130,246,.1); }
.kpi-icon-savings { background: rgba(139,92,246,.1); }
.kpi-bar {
  position: absolute; bottom: 0; left: 0; height: 3px;
  border-radius: 0 0 12px 12px;
  animation: barSlide .6s ease both .3s;
}
@keyframes barSlide { from { width: 0; } to { width: 100%; } }
.kpi-bar-income  { background: linear-gradient(90deg, #22c55e, #4ade80); }
.kpi-bar-expense { background: linear-gradient(90deg, #ef4444, #f87171); }
.kpi-bar-balance { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.kpi-bar-savings { background: linear-gradient(90deg, #8b5cf6, #a78bfa); width: var(--pct, 100%) !important; }

/* ── TESTIMONIOS CARRUSEL ── */
.l-testimonials { padding: 6rem 0; overflow: hidden; }

.l-carousel-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.l-carousel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.l-track-fwd {
  animation: tcFwd 35s linear infinite;
}
.l-track-bwd {
  animation: tcBwd 32s linear infinite;
}
.l-carousel-wrap:hover .l-carousel-track {
  animation-play-state: paused;
}

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

/* Tarjeta */
.l-tc {
  width: 300px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.l-tc-stars {
  color: #fbbf24;
  font-size: .85rem;
  letter-spacing: .1em;
}

.l-tc-text {
  color: rgba(255,255,255,.58);
  font-size: .84rem;
  line-height: 1.7;
  flex: 1;
}

.l-tc-author {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding-top: .4rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

.l-tc-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.l-tc-name { font-size: .82rem; font-weight: 700; color: #fff; }
.l-tc-role { font-size: .7rem; color: rgba(255,255,255,.35); margin-top: .1rem; }

/* Rating global */
.l-rating-bar {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; padding: 1.1rem 2rem; flex-wrap: wrap;
}
.l-rating-stars { color: #fbbf24; font-size: 1.3rem; letter-spacing: .1em; }
.l-rating-score { font-size: 1.4rem; font-weight: 800; color: #fff; }
.l-rating-count { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ── RESPONSIVE LANDING ── */
@media (max-width: 960px) {
  .l-hero-content { grid-template-columns: 1fr; text-align: center; }
  .l-hero-visual { display: none; }
  .l-hero-btns { justify-content: center; }
  .l-social-proof { justify-content: center; }
  .l-features-grid { grid-template-columns: 1fr 1fr; }
  .l-steps { flex-direction: column; }
  .l-step-arrow { transform: rotate(90deg); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-panel-left { display: none; }
  .auth-panel-right { padding: 2rem 1rem; }
}
@media (max-width: 640px) {
  .l-title { font-size: 2.25rem; }
  .l-features-grid { grid-template-columns: 1fr; }
  .l-stats-inner { grid-template-columns: 1fr; gap: 1rem; }
  .l-nav-links { display: none; }
  .l-cta h2 { font-size: 1.75rem; }
}
