.hero {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.heroBackground {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
}

[data-theme='dark'] .heroBackground {
  background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
}

.heroPattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.heroContent {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .heroContent {
    padding: 2rem;
  }
}

.heroBadge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 9999px;
  color: rgb(29, 78, 216);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1;
}

.heroBadge > * {
  margin: 0;
  line-height: 1;
}

[data-theme='dark'] .heroBadge {
  background-color: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
  color: rgb(147, 197, 253);
}

.heroIcon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  display: block;
  vertical-align: middle;
}

.heroTitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ifm-color-gray-900);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .heroTitle {
    font-size: 1.875rem;
  }
}

[data-theme='dark'] .heroTitle {
  color: var(--ifm-color-white);
}

.heroDescription {
  font-size: 1rem;
  color: var(--ifm-color-gray-700);
  margin-bottom: 1.25rem;
  line-height: 1.625;
}

[data-theme='dark'] .heroDescription {
  color: var(--ifm-color-gray-300);
}

.heroButtons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .heroButtons {
    flex-direction: row;
  }
}

.heroPrimaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, rgb(37, 99, 235), rgb(147, 51, 234));
  color: white;
  font-weight: 600;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1;
  vertical-align: middle;
}

.heroPrimaryButton > * {
  margin: 0;
  line-height: 1;
}

.heroPrimaryButton:hover {
  background: linear-gradient(to right, rgb(29, 78, 216), rgb(126, 34, 206));
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.heroSecondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: var(--ifm-color-gray-700);
  font-weight: 600;
  border-radius: 0.75rem;
  border: 2px solid var(--ifm-color-gray-200);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1;
  vertical-align: middle;
}

.heroSecondaryButton > * {
  margin: 0;
  line-height: 1;
}

[data-theme='dark'] .heroSecondaryButton {
  background-color: var(--ifm-color-gray-800);
  color: var(--ifm-color-gray-200);
  border-color: var(--ifm-color-gray-600);
}

.heroSecondaryButton:hover {
  border-color: var(--ifm-color-gray-300);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
  color: var(--ifm-color-gray-700);
  text-decoration: none;
}

[data-theme='dark'] .heroSecondaryButton:hover {
  border-color: var(--ifm-color-gray-500);
  color: var(--ifm-color-gray-200);
}

.buttonIcon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  display: block;
  vertical-align: middle;
}
