:root {
  --quiz-bg: #f8f5f0;
  --quiz-accent: #7A8C72;
  /* Sage */
  --quiz-text: #2C1F14;
  --quiz-card-bg: rgba(255, 255, 255, 0.8);
}

.quiz-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8f5f0 0%, #e8e0d5 100%);
  font-family: 'DM Sans', sans-serif;
}

.quiz-card {
  background: var(--quiz-card-bg);
  backdrop-filter: blur(20px);
  width: 100%;
  max-width: 600px;
  padding: 60px;
  border-radius: 4px;
  /* Matching Zen Oils blocky aesthetic */
  box-shadow: 0 40px 100px rgba(74, 55, 40, 0.1);
  border: 1px solid rgba(122, 140, 114, 0.1);
  position: relative;
  overflow: hidden;
}

.quiz-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--quiz-accent);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step {
  display: none;
  animation: fadeIn 0.8s ease forwards;
}

.step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--quiz-accent);
  margin-bottom: 20px;
  display: block;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--quiz-text);
  margin-bottom: 12px;
}

.step-subtitle {
  font-size: 14px;
  color: #7A6858;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Options Grid */
.options-grid {
  display: grid;
  gap: 12px;
}

.option-btn {
  background: white;
  border: 1.5px solid #e8e0d5;
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--quiz-text);
  display: flex;
  align-items: center;
  gap: 15px;
}

.option-btn:hover {
  border-color: var(--quiz-accent);
  background: #fdfcfb;
}

.option-btn.selected {
  border-color: var(--quiz-accent);
  background: rgba(122, 140, 114, 0.05);
}

.option-key {
  font-size: 10px;
  width: 20px;
  height: 20px;
  border: 1px solid #d4b896;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  color: #d4b896;
}

/* Inputs */
input[type="text"],
input[type="tel"],
textarea {
  width: 100%;
  background: white;
  border: none;
  border-bottom: 1.5px solid #d4b896;
  padding: 12px 0;
  font-size: 18px;
  font-family: inherit;
  color: var(--quiz-text);
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 40px;
}

textarea {
  min-height: 100px;
  resize: none;
}

input:focus,
textarea:focus {
  border-color: var(--quiz-accent);
}

/* Navigation Buttons */
.nav-btns {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.btn-next,
.btn-submit {
  background: #4A3728;
  color: #D4B896;
  padding: 16px 40px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-next:hover,
.btn-submit:hover {
  background: #2C1F14;
  transform: translateY(-2px);
}

.btn-back {
  background: transparent;
  color: #7A6858;
  padding: 16px 0;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.btn-back:hover {
  opacity: 1;
}

/* Success State */
.success-content {
  text-align: center;
}

.success-icon {
  font-size: 60px;
  margin-bottom: 30px;
  display: block;
}

.success-title {
  margin-bottom: 20px;
}

.success-text {
  font-size: 16px;
  line-height: 1.8;
  color: #7A6858;
}

@media (max-width: 600px) {
  .quiz-card {
    padding: 60px 24px 40px;
    min-height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .step-title {
    font-size: 28px;
  }

  .nav-btns {
    flex-direction: column;
    gap: 10px;
  }

  .btn-next,
  .btn-submit,
  .btn-primary {
    width: 100%;
  }

  .btn-back {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    order: 2;
  }
}