.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: #ffffff;
  overflow: hidden;
}

.circles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(var(--tx), var(--ty));
  }
}

.content {
  position: relative;
  z-index: 2;
  background: white;
  padding: 2rem;
  border-radius: 8px;
}

.hero .content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-width);
}

.hero .content p {
  text-align: justify;
  /* 40% of max  width */
  max-width: calc(var(--max-width) * 0.6);
}

.hero h1,
.hero p {
  color: #1a1a1a;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #4a4a4a;
}

.how-it-works {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #1f2937;
}

.steps {
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 9rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.step-content p {
  color: #6b7280;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
