:root {
  --primary-color: #7b2cbf;
  --primary-light: #9d4edd;
  --primary-dark: #5a189a;
  --secondary-color: #f0f0f0;
  --text-color: #333;
  --background-color: #fff;
  --border-color: #ddd;
  --success-color: #4caf50;
  --error-color: #f44336;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  height: 100vh;
  overflow: hidden;
}

/* Form Container */
.form-container {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
  width: 0;
  transition: width 0.3s ease;
}

/* Form Slides */
.form-slide-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.form-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  padding: 0 10%;
}

.form-slide.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
  pointer-events: all;
}

.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  max-width: 650px;
  margin: 0 auto;
  width: 100%;
}

.slide-footer {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  max-width: 650px;
  margin: 0 auto;
  width: 100%;
}

/* Welcome Screen */
.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.form-header p {
  font-size: 1.2rem;
  color: #666;
}

.welcome-buttons {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.branding {
  display: flex;
  align-items: center;
  color: var(--primary-color);
}

.branding svg {
  margin-right: 10px;
}

.branding span {
  font-weight: 600;
}

/* Questions */
.question {
  width: 100%;
}

.question h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text-color);
}

.question-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 25px;
}

.input-container {
  width: 100%;
}

.input-container input {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.input-container input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.2);
}

/* Options for Multiple Choice */
.options-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.option:hover {
  border-color: var(--primary-light);
  background-color: rgba(123, 44, 191, 0.05);
}

.option input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.option label {
  font-size: 1.1rem;
  cursor: pointer;
  flex: 1;
}

.option.selected {
  border-color: var(--primary-color);
  background-color: rgba(123, 44, 191, 0.1);
}

/* Rating Question */
.rating-container {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.rating-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 15px 10px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.rating-option:hover {
  border-color: var(--primary-light);
  background-color: rgba(123, 44, 191, 0.05);
}

.rating-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(123, 44, 191, 0.1);
}

.rating-value {
  font-size: 1.2rem;
  font-weight: 600;
}

.rating-star {
  font-size: 1.5rem;
  color: #ddd;
  transition: var(--transition);
}

.rating-option.selected .rating-star,
.rating-option:hover .rating-star {
  color: gold;
}

/* Navigation */
.navigation {
  display: flex;
  gap: 10px;
}

.nav-button {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.nav-button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.nav-button.next {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  width: auto;
  padding: 0 20px;
}

.nav-button.next:hover {
  background-color: var(--primary-dark);
}

.question-counter {
  font-size: 0.9rem;
  color: #777;
}

/* Thank You Screen */
.thank-you {
  text-align: center;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 20px;
  width: 100px;
  height: 100px;
  line-height: 100px;
  background-color: rgba(76, 175, 80, 0.1);
  border-radius: 50%;
  margin: 0 auto 30px;
}

.thank-you h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.thank-you p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

.thank-you-buttons {
  display: flex;
  justify-content: center;
}

/* General Buttons */
.button {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

.button.primary {
  background-color: var(--primary-color);
  color: white;
}

.button.primary:hover {
  background-color: var(--primary-dark);
}

.button.secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.button.secondary:hover {
  background-color: #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .form-slide {
    padding: 0 5%;
  }
  
  .form-header h1,
  .thank-you h1 {
    font-size: 2.2rem;
  }
  
  .question h2 {
    font-size: 1.6rem;
  }
  
  .rating-container {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .rating-option {
    min-width: calc(20% - 8px);
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .form-header h1,
  .thank-you h1 {
    font-size: 1.8rem;
  }
  
  .form-header p,
  .thank-you p {
    font-size: 1rem;
  }
  
  .question h2 {
    font-size: 1.4rem;
  }
  
  .input-container input,
  .option label {
    font-size: 1rem;
  }
  
  .thank-you-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 3rem;
  }
}

/* Animation for fade-in effect */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-slide.active {
  animation: fadeIn 0.5s ease-out forwards;
} 