/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  min-height: 100vh;
  color: #111111;
  line-height: 1.6;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Logo */
.logo-section {
  text-align: center;
  margin-bottom: 3rem;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: #111111;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.7;
}

.logo .eq {
  color: #4A3F78; /* Violet accent for the ≠ */
}

/* Waitlist Card */
.waitlist-card {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  border: 1px solid #e5e5e5;
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}

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

.card-title {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111111;
  letter-spacing: -0.02em;
}

.card-subtitle {
  font-size: 1.125rem;
  color: #111111;
  opacity: 0.7;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Email Form */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111111;
  margin-bottom: 0.25rem;
  display: block;
  text-align: left;
}

.required {
  color: #111111;
  opacity: 0.5;
  display: inline;
}

.email-input {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  transition: all 0.2s;
  background: white;
  color: #111111;
}

.email-input:focus {
  outline: none;
  border-color: #BFA8FF;
  box-shadow: 0 0 0 3px rgba(191, 168, 255, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  color: #111111;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #111111;
  flex-shrink: 0;
}

.checkbox-label > span {
  display: inline;
  line-height: 1.5;
  white-space: normal;
}

.checkbox-label .required {
  display: inline;
  margin-left: 2px;
  white-space: nowrap;
}

.submit-btn {
  font-family: 'Satoshi', 'Inter', sans-serif;
  background: #111111;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  background: #2DC5E8;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(45, 197, 232, 0.3);
}

.submit-btn:focus {
  outline: 2px solid #BFA8FF;
  outline-offset: 2px;
}

.privacy-note {
  font-size: 0.875rem;
  color: #111111;
  opacity: 0.6;
}

.privacy-link {
  color: #111111;
  opacity: 0.6;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.privacy-link:hover {
  color: #2DC5E8;
  opacity: 1;
}

.privacy-link:focus {
  outline: 2px solid #BFA8FF;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Survey Prompt Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.prompt-card {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  max-width: 500px;
  margin: 2rem;
  text-align: center;
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.prompt-title {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111111;
  letter-spacing: -0.01em;
}

.prompt-message {
  font-size: 1.125rem;
  color: #111111;
  opacity: 0.7;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.prompt-subtext {
  font-size: 0.875rem;
  color: #111111;
  opacity: 0.6;
  margin-top: 0;
  line-height: 1.5;
}

.prompt-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.btn-secondary, .btn-primary {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: 'Satoshi', 'Inter', sans-serif;
  min-width: 120px;
}

.btn-secondary {
  background: #f5f5f5;
  color: #111111;
}

.btn-secondary:hover {
  background: #e5e5e5;
}

.btn-primary {
  background: #111111;
  color: white;
  font-weight: 700;
}

.btn-primary:hover {
  background: #2DC5E8;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45, 197, 232, 0.3);
}

.btn-primary:focus {
  outline: 2px solid #BFA8FF;
  outline-offset: 2px;
}

/* Survey Section */
.survey-section {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  border: 1px solid #e5e5e5;
  animation: fadeIn 0.6s ease-out;
  max-width: 800px;
  margin: 0 auto;
}

.survey-header {
  text-align: center;
  margin-bottom: 3rem;
}

.survey-title {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111111;
  letter-spacing: -0.01em;
}

.survey-subtitle {
  color: #111111;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #111111;
  width: 0%;
  transition: width 0.3s ease;
}

/* Survey Questions */
.question-card {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #F7F8FA;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.question-card:hover {
  border-color: #BFA8FF;
}

.question {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111111;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.option:hover {
  border-color: #BFA8FF;
  background: #fafafa;
}

.option input[type="checkbox"],
.option input[type="radio"] {
  margin-right: 0.75rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #111111;
}

.option span {
  font-size: 1rem;
  color: #111111;
}

.feedback-input {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: all 0.2s;
  color: #111111;
}

.feedback-input:focus {
  outline: none;
  border-color: #BFA8FF;
}

.submit-survey-btn {
  width: 100%;
  font-family: 'Satoshi', 'Inter', sans-serif;
  background: #111111;
  color: white;
  border: none;
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 2rem;
}

.submit-survey-btn:hover {
  background: #2DC5E8;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(45, 197, 232, 0.3);
}

.submit-survey-btn:focus {
  outline: 2px solid #BFA8FF;
  outline-offset: 2px;
}

/* Likert Scale */
.likert-scale {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 1rem 0;
}

.likert-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.likert-option:hover {
  border-color: #BFA8FF;
  background: #fafafa;
}

.likert-option input[type="radio"] {
  margin-bottom: 0.5rem;
  accent-color: #111111;
}

.likert-option span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111111;
}

.likert-option small {
  font-weight: 400;
  color: #111111;
  opacity: 0.6;
  font-size: 0.75rem;
}

/* Price Slider */
.price-slider-wrapper {
  padding: 1rem 0;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.price-value {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.02em;
}

.price-suffix {
  font-size: 1.125rem;
  color: #111111;
  opacity: 0.6;
}

.price-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #e5e5e5;
  border-radius: 3px;
  outline: none;
  transition: all 0.2s;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #111111;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-slider::-webkit-slider-thumb:hover {
  background: #2DC5E8;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(45, 197, 232, 0.3);
}

.price-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #111111;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-slider::-moz-range-thumb:hover {
  background: #2DC5E8;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(45, 197, 232, 0.3);
}

.price-slider:focus {
  outline: none;
}

.price-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(191, 168, 255, 0.3);
}

.price-slider:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(191, 168, 255, 0.3);
}

.price-range {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #111111;
  opacity: 0.6;
}

/* Other Input Fields */
.other-input {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s;
  color: #111111;
}

.other-input:focus {
  outline: none;
  border-color: #BFA8FF;
  box-shadow: 0 0 0 3px rgba(191, 168, 255, 0.1);
}

/* Success Message */
.success-message {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  border: 1px solid #e5e5e5;
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}

.success-tips {
  background: #F7F8FA;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #111111;
}

.success-title {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111111;
  letter-spacing: -0.01em;
}

.success-text {
  font-size: 1.125rem;
  color: #111111;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.back-home-btn {
  display: inline-block;
  font-family: 'Satoshi', 'Inter', sans-serif;
  background: #111111;
  color: white;
  text-decoration: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.back-home-btn:hover {
  background: #2DC5E8;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45, 197, 232, 0.3);
}

.back-home-btn:focus {
  outline: 2px solid #BFA8FF;
  outline-offset: 2px;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .waitlist-card,
  .survey-section {
    padding: 2rem;
  }
  
  .prompt-card {
    padding: 2rem;
    margin: 1rem;
  }
  
  .prompt-buttons {
    flex-direction: column;
  }
  
  .btn-secondary,
  .btn-primary {
    width: 100%;
  }
  
  .likert-scale {
    gap: 0.5rem;
  }
  
  .likert-option span {
    font-size: 0.875rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .card-title {
    font-size: 1.75rem;
  }
  
  .survey-title {
    font-size: 1.5rem;
  }
  
  .question {
    font-size: 1rem;
  }
  
  .price-slider {
    height: 8px;
  }
  
  .price-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }
  
  .price-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0.75rem;
  }
  
  .logo-section {
    padding: 1.5rem 0;
  }
  
  .waitlist-card,
  .survey-section {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .card-subtitle {
    font-size: 1rem;
  }
  
  .email-input {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 1rem;
  }
  
  .checkbox-label {
    font-size: 0.875rem;
  }
  
  .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
  }
  
  .submit-btn {
    font-size: 1rem;
    padding: 1rem;
  }
  
  /* Stack Likert scale on small screens */
  .likert-scale {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .likert-option {
    width: 100%;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 1rem;
  }
  
  .likert-option input[type="radio"] {
    margin-right: 0.75rem;
  }
  
  .likert-option span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .likert-option span small {
    display: inline;
    margin-left: auto;
  }
  
  .likert-option:has(input:checked) {
    background: #f0f8ff;
    border-color: #2DC5E8;
  }
  
  /* Price slider improvements */
  .price-slider-wrapper {
    padding: 0 1rem;
  }
  
  .price-slider {
    height: 10px;
  }
  
  .price-slider::-webkit-slider-thumb {
    width: 32px;
    height: 32px;
  }
  
  .price-slider::-moz-range-thumb {
    width: 32px;
    height: 32px;
  }
  
  /* Survey questions */
  .question-card {
    margin-bottom: 2rem;
  }
  
  .question {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .option {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .option input[type="radio"],
  .option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
  }
  
  /* Success message */
  .success-title {
    font-size: 1.75rem;
  }
  
  .success-text {
    font-size: 1rem;
  }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
  .submit-btn,
  .btn-primary,
  .btn-secondary,
  .back-home-btn,
  .submit-survey-btn {
    -webkit-tap-highlight-color: rgba(45, 197, 232, 0.2);
    min-height: 44px;
  }
  
  .option,
  .likert-option {
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(191, 168, 255, 0.1);
  }
  
  .checkbox-label {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Ensure all interactive elements are touch-friendly */
  input[type="checkbox"],
  input[type="radio"] {
    min-width: 44px;
    min-height: 44px;
    margin: 0;
  }
}