
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
  color: #2c3e50;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background: linear-gradient(135deg, #00bcd4 0%, #26c6da 100%);
  color: white;
  text-align: center;
  padding: 30px 20px 20px;
  box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.header-logo {
  flex-shrink: 0;
}

.logo {
  height: 315px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.header-text {
  flex: 1;
  max-width: 600px;
}

h1 {
  margin: 0 0 10px 0;
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: -1px;
}

header p {
  margin: 0 0 20px 0;
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

.progress-bar {
  width: 100%;
  max-width: 400px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  margin: 0 auto 15px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4fc3f7, #81d4fa);
  width: 12.5%;
  transition: width 0.5s ease;
  border-radius: 20px;
}

.question-counter {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

.quiz-container {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 200px);
}

.question-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.question-page.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.question-page.slide-out {
  opacity: 0;
  transform: translateX(-100%);
}

.module {
  max-width: 700px;
  margin: 20px auto 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00bcd4, #26c6da, #4fc3f7);
}

.question {
  padding: 40px;
  text-align: center;
}

.question strong {
  display: block;
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 30px;
  font-weight: 600;
  line-height: 1.4;
}

.options {
  text-align: left;
  max-width: 500px;
  margin: 0 auto 30px;
}

label {
  display: flex;
  align-items: center;
  margin: 15px 0;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  background: #fafbfc;
  border: 2px solid transparent;
}

label:hover {
  background: #f0f8ff;
  border-color: #4fc3f7;
  transform: translateY(-2px);
}

input[type="radio"]:checked + * {
  background: #e3f2fd;
  border-color: #00bcd4;
}

input[type="radio"], input[type="checkbox"] {
  margin-right: 15px;
  width: 20px;
  height: 20px;
  accent-color: #00bcd4;
}

.textarea-container {
  max-width: 500px;
  margin: 0 auto 30px;
}

textarea {
  width: 100%;
  min-height: 150px;
  padding: 20px;
  font-size: 1.1rem;
  font-family: inherit;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  resize: vertical;
  transition: border-color 0.3s ease;
  background: #fafbfc;
  box-sizing: border-box;
}

textarea:focus {
  outline: none;
  border-color: #00bcd4;
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
  background: white;
}

.complete {
  background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
}

.completion-check {
  max-width: 400px;
  margin: 0 auto 30px;
}

.completion-check label {
  justify-content: center;
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #4fc3f7;
}

.next-btn, .submit-btn {
  background: linear-gradient(135deg, #00bcd4 0%, #26c6da 100%);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.next-btn:hover, .submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 188, 212, 0.4);
}

.next-btn:disabled, .submit-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.status {
  margin-top: 25px;
  padding: 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  animation: slideIn 0.5s ease;
}

.status.error {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  border: 2px solid #f87171;
}

.status.success {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border: 2px solid #34d399;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .module {
    margin: 20px 15px;
    border-radius: 15px;
  }
  
  .question {
    padding: 30px 25px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  header {
    padding: 25px 20px 15px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .logo {
    height: 250px;
  }
  
  .question strong {
    font-size: 1.2rem;
  }
  
  label {
    font-size: 1rem;
    padding: 12px 15px;
  }
}
