* {
  box-sizing: border-box;
}

[dir="rtl"] .survey-container { text-align: right; }
[dir="rtl"] .option { flex-direction: row-reverse; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f7;
  min-height: 100vh;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.survey-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.progress-bar {
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  margin-bottom: 28px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e94560, #ff6b6b);
  border-radius: 2px;
  width: 0;
  transition: width 0.3s ease;
}

.question-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 24px;
  line-height: 1.5;
  color: #1d1d1f;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.option:hover {
  background: #f0f0f0;
  border-color: rgba(0, 0, 0, 0.12);
}

.option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #e94560;
  margin: 0;
  flex-shrink: 0;
}

.option input[type="radio"]:checked + .option-text {
  font-weight: 600;
}

.option:has(input:checked) {
  background: rgba(233, 69, 96, 0.08);
  border-color: rgba(233, 69, 96, 0.4);
}

.option-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #1d1d1f;
}

.btn-next {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #e94560, #c73e54);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn-next:hover:not(:disabled) {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.email-block {
  margin-bottom: 0;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.email-form input[type="email"] {
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  background: #f8f8f8;
  color: #1d1d1f;
  outline: none;
  transition: border-color 0.2s;
}

.email-form input[type="email"]:focus {
  border-color: rgba(233, 69, 96, 0.6);
  background: #fff;
}

.email-form input[type="email"]::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.email-hint {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #c73e54;
}

.thank-you {
  text-align: center;
  padding: 40px 20px;
}

.thank-you p {
  font-size: 1.1rem;
  color: #1d1d1f;
}
