.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, #eaf3ff 0%, var(--off-white) 55%);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(251, 116, 20, 0.2);
}
.hero h1 {
  margin-top: 1.4rem;
}
.hero p.lead {
  margin-top: 1.4rem;
  max-width: 32rem;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-trust {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-trust .stars {
  color: var(--orange-500);
  letter-spacing: 2px;
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 255, 255, 0.7);
  transform-style: preserve-3d;
  aspect-ratio: 1 / 1;
  will-change: transform;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-float {
  position: absolute;
  z-index: 4;
  padding: 0.8rem 1.1rem;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  will-change: transform;
}
.hero-float .fico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--white);
  flex-shrink: 0;
}
.hero-float small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.72rem;
}
.hero-float.card-a {
  top: 8%;
  left: -6%;
  animation: float-y 5s var(--ease) infinite;
}
.hero-float.card-a .fico {
  background: var(--grad-warm);
}
.hero-float.card-b {
  bottom: 8%;
  right: -5%;
  animation: float-y 6s var(--ease) infinite reverse;
}
.hero-float.card-b .fico {
  background: var(--grad-blue);
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p.lead {
    margin-inline: auto;
  }
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }
  .hero-float.card-a {
    left: 0;
  }
  .hero-float.card-b {
    right: 0;
  }
}