/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #fff;
  color: #111827;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  min-height: 100vh;
}

/* Logo */
.logo-container {
  display: flex;
  justify-content: center;
  padding: 16px 0 12px;
}

.logo {
  height: 36px;
  width: auto;
}

/* Hero Section */
.hero {
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
  padding: 8px 20px 0;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
  margin: 0 0 24px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
}

.subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  margin: 0 0 32px;
}

@media (min-width: 768px) {
  .subtitle {
    font-size: 1.25rem;
  }
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #4b5563;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: #22c55e;
}

/* Form Card */
.form-card {
  max-width: 672px;
  margin: 0 auto 64px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

@media (min-width: 768px) {
  .form-card {
    padding: 32px;
  }
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
  margin: 0 0 24px;
}

/* Progress Steps */
.progress-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 32px;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: #e5e7eb;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}

.step-indicator.active {
  background-color: #f97316;
  color: #fff;
}

.step-indicator.completed {
  background-color: #22c55e;
  color: #fff;
}

.step-line {
  width: 48px;
  height: 4px;
  margin: 0 4px;
  background-color: #e5e7eb;
  transition: background-color 0.2s;
}

@media (min-width: 768px) {
  .step-line {
    width: 64px;
  }
}

.step-line.completed {
  background-color: #22c55e;
}

/* Form Steps */
.form-step {
  padding-top: 32px;
}

.form-step.hidden {
  display: none;
}

.step-label {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  text-align: center;
  margin-bottom: 8px;
}

.step-hint {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin: 0 0 32px;
}

/* Radio Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-option:hover {
  border-color: #fb923c;
}

.radio-option:has(input:checked) {
  border-color: #f97316;
  background-color: #fff7ed;
}

.radio-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #f97316;
}

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

/* Multi-select */
select[multiple] {
  width: 100%;
  min-height: 200px;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

select[multiple]:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

select[multiple] option {
  padding: 8px 12px;
  cursor: pointer;
}

select[multiple] option:checked {
  background-color: #f97316;
  color: #fff;
}

/* Validation Error */
.validation-error {
  font-size: 0.875rem;
  color: #ef4444;
  text-align: center;
  margin: 16px 0 0;
}

.validation-error.hidden {
  display: none;
}

/* Buttons */
.button-group {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn.hidden {
  display: none;
}

.btn-primary {
  background-color: #f97316;
  color: #fff;
}

.btn-primary:hover {
  background-color: #ea580c;
}

.btn-secondary {
  background-color: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

.search-icon {
  width: 20px;
  height: 20px;
}

/* Benefits Section */
.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1024px;
  margin: 0 auto 64px;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit {
  text-align: center;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background-color: #fff7ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  color: #f97316;
}

.benefit h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px;
}

.benefit p {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0;
}

/* Content Section */
.content-section {
  max-width: 800px;
  margin: 0 auto 64px;
  padding: 0 20px;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 24px;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 32px 0 16px;
}

.content-section p {
  font-size: 1rem;
  color: #374151;
  margin: 0 0 16px;
}

.content-section strong {
  color: #111827;
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto 64px;
  padding: 0 20px;
}

.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 24px;
  text-align: center;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item[open] {
  border-color: #f97316;
}

.faq-question {
  display: block;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  background-color: #fff;
  transition: background-color 0.2s;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: '+';
  float: right;
  font-size: 1.25rem;
  font-weight: 400;
  color: #f97316;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::before {
  content: '-';
}

.faq-question:hover {
  background-color: #fff7ed;
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Footer */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 24px 20px;
  text-align: center;
}

.powered-by {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.powered-by a {
  color: #f97316;
  text-decoration: none;
  font-weight: 500;
}

.powered-by a:hover {
  text-decoration: underline;
}

.footer-links {
  font-size: 0.875rem;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f97316;
}

.separator {
  color: #d1d5db;
  margin: 0 12px;
}
