/**
 * CSS files with the .module.css suffix will be treated as CSS modules
 * and scoped locally.
 */

.heroBanner {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.heroDescription {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 1rem auto 2rem;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.buttons :global(.button--outline) {
  border-color: white;
  color: white;
}

.buttons :global(.button--outline):hover {
  background: rgba(255, 255, 255, 0.1);
}

/* How It Works Section */
.howItWorks {
  padding: 4rem 0;
  background: var(--ifm-color-emphasis-100);
}

.step {
  text-align: center;
  padding: 2rem;
}

.stepNumber {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ifm-color-primary);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--ifm-color-emphasis-700);
}

/* Code Example Section */
.codeExample {
  padding: 4rem 0;
}

.codeExample h2 {
  margin-bottom: 1rem;
}

.featureList {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.featureList li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.featureList li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ifm-color-secondary);
  font-weight: bold;
}

.codeBlock {
  background: var(--ifm-color-emphasis-100);
  border-radius: 8px;
  padding: 1.5rem;
  font-size: 0.875rem;
  overflow-x: auto;
}

@media screen and (max-width: 996px) {
  .heroBanner {
    padding: 2rem;
  }

  .heroDescription {
    font-size: 1.1rem;
  }

  .buttons {
    flex-direction: column;
  }
}
