/* ── HERO ─────────────────────────────────────── */
#hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 70% 55% at 75% 40%, rgba(123,53,214,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(59,130,246,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 90%, rgba(192,38,211,0.10) 0%, transparent 55%);
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 144px 0 80px;
  position: relative; overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(123,53,214,0.08);
  animation: pulse-ring 6s ease-in-out infinite;
}
#hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(123,53,214,0.06);
  animation: pulse-ring 8s ease-in-out infinite reverse;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.4; }
}

@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(123,53,214,0.12); border: 1px solid rgba(123,53,214,0.25);
  color: var(--purple); font-size: 0.8rem; font-weight: 600;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px; background: var(--purple);
  border-radius: 50%; animation: blink 2s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; color: var(--white);
  line-height: 1.12; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; display: inline-block;
}
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.65);
  max-width: 480px; margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-social-proof {
  margin-top: 48px;
  display: flex; align-items: center; gap: 14px;
}
.avatar-stack { display: flex; }
.avatar-stack img, .avatar-stack .av {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--navy);
  margin-left: -10px; object-fit: cover;
}
.avatar-stack .av {
  background: var(--purple-dark);
  color: var(--white); font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.avatar-stack .av:first-child { margin-left: 0; }
.social-text { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.social-text strong { color: var(--purple); }

/* ── App mockup ───────────────────────────────── */
.hero-visual { position: relative; }
.mockup-card {
  background: var(--navy-mid);
  border: 1px solid rgba(123,53,214,0.15);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  position: relative; z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.mockup-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.mockup-title { font-family: var(--font-head); color: var(--white); font-size: 0.95rem; font-weight: 700; }
.mockup-month { font-size: 0.8rem; color: var(--gray); }
.balance-label { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }
.balance-value { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--white); margin: 4px 0 20px; }
.balance-value span { color: var(--purple); }
.mini-bars { display: flex; gap: 8px; align-items: flex-end; height: 60px; margin-bottom: 20px; }
.bar {
  flex: 1; border-radius: 6px 6px 0 0; position: relative;
  background: rgba(123,53,214,0.2);
  transition: height 0.5s ease;
}
.bar.active { background: var(--purple); }
.bar-label { font-size: 0.65rem; color: var(--gray); text-align: center; margin-top: 4px; }
.category-list { display: flex; flex-direction: column; gap: 10px; }
.cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: rgba(255,255,255,0.04);
  border-radius: 12px;
}
.cat-left { display: flex; align-items: center; gap: 10px; }
.cat-icon { font-size: 1.1rem; }
.cat-name { font-size: 0.82rem; color: rgba(255,255,255,0.8); }
.cat-amount { font-size: 0.82rem; font-weight: 600; color: var(--white); }
.cat-bar-wrap { width: 80px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 3px; }
.cat-bar-fill { height: 100%; border-radius: 2px; background: var(--purple); }

/* ── Floating badge cards ─────────────────────── */
.float-badge {
  position: absolute; z-index: 3;
  background: var(--white); border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  font-size: 0.8rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.float-badge.top-left {
  top: -20px; left: -30px;
  animation: float 6s ease-in-out infinite 1s;
}
.float-badge.bottom-right {
  bottom: 20px; right: -30px;
  animation: float 7s ease-in-out infinite 0.5s;
}
.badge-icon { font-size: 1.2rem; }
