body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 95%;
  max-width: 700px;
}

.card {
  background: #1e293b;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  text-align: center;
}

h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.subtitle {
  opacity: 0.8;
  margin-bottom: 30px;
.question-counter {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 10px;
  text-align: right;
  letter-spacing: 1px;
  text-transform: uppercase;
}
}

.progress-bar {
  background: #334155;
  height: 8px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.progress {
  height: 8px;
  width: 0%;
  background: #22d3ee;
  border-radius: 10px;
  transition: width 0.3s ease;
}

#answers button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #334155;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

#answers button:hover {
  background: #22d3ee;
  color: black;
}

.hidden {
  display: none;
}

input[type="email"] {
  width: 100%;
  padding: 12px;
  margin: 20px 0;
  border-radius: 10px;
  border: none;
}

.cta {
  background: #22d3ee;
  color: black;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

.cta:hover {
  background: #06b6d4;
}
.progress-wrapper {
  margin-bottom: 25px;
}

.progress-bar {
  background: #334155;
  height: 10px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  border-radius: 20px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
  margin-top: 8px;
  font-size: 14px;
  text-align: right;
  opacity: 0.8;
  font-weight: 500;
}
.fade-out {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.fade-in {
  opacity: 1;
  transform: translateX(0px);
  transition: all 0.3s ease;
}
.loader {
  margin: 20px auto;
  border: 4px solid #334155;
  border-top: 4px solid #22d3ee;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}