* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #2C302E;
  color: #fff;
}

.form-container {
  max-width: 600px;
  margin: auto;
  padding: 2rem;
  background: #fff;
  color: #2C302E;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.step {
  display: none;
  flex-direction: column;
}

.step.active {
  display: flex;
}

input, select {
  padding: 0.75rem;
  margin: 1rem 0;
  font-size: 1rem;
  width: 100%;
  border: 2px solid #B16AAF;
  border-radius: 8px;
}

button {
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  background-color: #06BEE1;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-option {
  flex: 1 1 45%;
  padding: 1rem;
  text-align: center;
  background: #D97688;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  transition: background 0.3s;
}

.category-option.selected {
  background: #321CA4;
}

@media (max-width: 600px) {
  .form-container {
    padding: 1rem;
  }

  button {
    width: 100%;
  }

  .category-grid {
    flex-direction: column;
  }
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: rgba(0,0,0,0.1);
  z-index: 9999;
}

.progress {
  height: 100%;
  width: 0;
  background: #06BEE1;
  transition: width 0.3s ease;
}

.thank-you {
  text-align: center;
  padding: 2rem;
  color: white;
}

.step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: none;
}

.step.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.form-container {
  min-height: 100vh;
  justify-content: center;
}

@media (min-width: 1024px) {
  .form-container {
    max-width: 800px;
    padding: 3rem;
    border-radius: 24px;
  }

  input, select {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .category-grid {
    gap: 1.5rem;
  }

  .category-option {
    flex: 1 1 30%;
    font-size: 1.2rem;
  }

  button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }
}
