/* Section Styles - Features, Uses, How-to */

/* Section Headers */
.features-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.howto-section {
  padding: 5rem 0;
}

.uses-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.section-subtitle {
  text-align: center;
  color: var(--dark-gray);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* How-to Steps */
.howto-steps {
  max-width: 800px;
  margin: 0 auto;
  counter-reset: step-counter;
}

.howto-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

/* Uses Grid */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Preview Container */
.preview-container {
  text-align: center;
  margin: 2rem 0;
  animation: fadeIn 0.5s ease;
}

.image-preview {
  max-width: 100%;
  max-height: 300px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

/* Results Container */
.results-container {
  animation: slideUp 0.5s ease;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-buttons button {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .howto-step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}
