.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 269px;
  background: linear-gradient(
    180deg,
    rgba(135, 70, 235, 0) 5%,
    rgba(135, 70, 235, 0.8) 87%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 3;
  padding: 32px 0 64px;
  max-width: 900px;
}

.hero-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 72px;
  color: #ffffff;
  line-height: normal;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #ffffff;
  line-height: normal;
  margin: 0 0 32px;
}

.hero-cta {
  margin-bottom: 32px;
}

.hero-features {
  display: flex;
  gap: 24px;
}

.hero-feature {
  width: 264px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 4px;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.feature-icon img {
  max-width: 40px;
  max-height: 40px;
}

.feature-header h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #ffffff;
  margin: 0;
  line-height: 28px;
  white-space: nowrap;
}

.feature-text {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  margin: 0;
  line-height: normal;
}

.hero-image {
  position: absolute;
  right: -60px;
  bottom: 0;
  z-index: 1;
  width: 50%;
  max-width: 866px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

.hero-image-glow {
  position: absolute;
  width: 140%;
  height: 140%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(135, 70, 235, 0.6) 0%,
    rgba(135, 70, 235, 0.2) 40%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    padding: 40px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-features {
    align-items: center;
  }

  .hero-feature {
    align-items: center;
    text-align: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 20px;
  }

  .hero-feature {
    width: 100%;
    gap: 0;
  }

  .hero-image {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-glow {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-features {
    gap: 16px;
  }
}
