/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}
/* Decorative shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, rgba(37,99,235,0.06) 50%, transparent 70%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -8%;
  left: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, rgba(16,185,129,0.05) 50%, transparent 70%);
  z-index: 0;
}

/* Animated gradient mesh */
.hero-gradient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.hero-orb-1 {
  width: 90vw; height: 90vw;
  max-width: 1200px; max-height: 1200px;
  background: radial-gradient(circle, rgba(37,99,235,0.06), transparent 60%);
  top: -30%; left: -25%;
  animation: orbDrift1 16s ease-in-out infinite;
}
.hero-orb-2 {
  width: 80vw; height: 80vw;
  max-width: 1000px; max-height: 1000px;
  background: radial-gradient(circle, rgba(79,139,255,0.05), transparent 60%);
  bottom: -25%; right: -20%;
  animation: orbDrift2 20s ease-in-out infinite;
}
.hero-orb-3 {
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(168,85,247,0.04), transparent 60%);
  top: 10%; left: 35%;
  animation: orbDrift3 18s ease-in-out infinite;
}
.hero-orb-4 {
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(16,185,129,0.05), transparent 60%);
  top: -10%; right: -5%;
  animation: orbDrift4 14s ease-in-out infinite;
}
.hero-orb-5 {
  width: 55vw; height: 55vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.03), transparent 60%);
  bottom: -5%; left: 10%;
  animation: orbDrift5 22s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

/* Floating particles layer */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(37,99,235,0.2);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}
.hero-particle:nth-child(1) { top: 15%; left: 10%; animation-duration: 7s; animation-delay: 0s; }
.hero-particle:nth-child(2) { top: 25%; left: 80%; animation-duration: 9s; animation-delay: -2s; width: 2px; height: 2px; }
.hero-particle:nth-child(3) { top: 60%; left: 25%; animation-duration: 11s; animation-delay: -4s; }
.hero-particle:nth-child(4) { top: 70%; left: 70%; animation-duration: 8s; animation-delay: -1s; width: 4px; height: 4px; background: rgba(79,139,255,0.15); }
.hero-particle:nth-child(5) { top: 40%; left: 50%; animation-duration: 10s; animation-delay: -3s; width: 2px; height: 2px; }
.hero-particle:nth-child(6) { top: 85%; left: 40%; animation-duration: 12s; animation-delay: -5s; }
.hero-particle:nth-child(7) { top: 10%; left: 60%; animation-duration: 9s; animation-delay: -6s; width: 4px; height: 4px; background: rgba(16,185,129,0.12); }
.hero-particle:nth-child(8) { top: 50%; left: 90%; animation-duration: 7.5s; animation-delay: -2.5s; }

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 160px 0 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content { max-width: 960px; margin: 0 auto; }

/* Eyebrow */
.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  background: var(--blue-50);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 32px;
}
.hero-overline svg {
  color: var(--blue-500);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 32px;
  letter-spacing: -1.5px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}
.hero-title em {
  font-style: normal;
  color: var(--blue-500);
}

/* Word-by-word animation */
.hero-title .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: hwReveal 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes hwReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-500);
  max-width: 820px;
  margin: 0 auto 40px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  justify-content: center;
}

/* Trust row */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
}
.hero-trust-item svg {
  color: var(--green);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .hero-inner { padding: 110px 0 64px; }
  .hero-title { font-size: 32px; margin-bottom: 20px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; line-height: 1.7; }
  .hero-actions { flex-direction: column; gap: 12px; margin-bottom: 36px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; text-align: center; }
  .hero-trust { gap: 6px 14px; }
  .hero-trust-item { font-size: 11px; }
  /* Hide decorative shapes on mobile */
  .hero::before { display: none; }
  .hero::after { display: none; }
  .hero {
    background: linear-gradient(180deg, var(--white) 0%, var(--white) 40%, #F0F5FF 70%, #E8F0FE 100%);
  }
}
