/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes progressPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(250, 204, 21, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fadeIn { animation: fadeIn 0.5s ease-out forwards; }
.animate-slideIn { animation: slideIn 0.5s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.progress-pulse { animation: progressPulse 2s infinite; }

#progressLabel {
  z-index: 50;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ========================================
   BUTTONS
   ======================================== */

/* Primary submit button */
.btn-primary {
  width: 100%;
  background-color: #334155; /* slate-700 */
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease-out;
  border: none;
  cursor: pointer;
}
.btn-primary:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.4);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Back navigation button */
.btn-back {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #4b5563; /* gray-600 */
  margin-bottom: 1rem;
  transition: all 0.2s ease-out;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-back:hover {
  color: #334155; /* slate-700 */
}

/* Option button with icon (2-column grid) */
.btn-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 0.25rem;
  padding: 0.6rem 1.12rem;
  text-align: left;
  font-weight: 600;
  transition: all 0.3s ease-out;
  cursor: pointer;
}
.btn-option:hover {
  border-color: #475569; /* slate-600 */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-option.selected {
  border-color: #475569;
  background-color: #f0fdfa; /* teal-50 */
  box-shadow: 0 0 0 2px #475569;
}

/* Simple option button (single column, centered text) */
.btn-option-simple {
  background-color: white;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease-out;
  cursor: pointer;
}
.btn-option-simple:hover {
  border-color: #475569;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-option-simple.selected {
  border-color: #475569;
  background-color: #f0fdfa;
  box-shadow: 0 0 0 2px #475569;
}

/* Link styled as button */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #334155;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.btn-link:hover {
  background-color: #1e293b; /* slate-800 */
}

/* FAQ toggle button */
.btn-faq {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========================================
   FORM INPUTS
   ======================================== */

.input-field {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 1rem;
}
.input-field:focus {
  outline: none;
  border-color: #475569;
  box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1);
}

.select-field {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 1rem;
  background-color: white;
}
.select-field:focus {
  outline: none;
  border-color: #475569;
  box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1);
}

.input-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151; /* gray-700 */
  margin-bottom: 0.5rem;
}

/* ========================================
   CARDS & BOXES
   ======================================== */

/* Yellow info/tip card */
.card-yellow {
  background-color: #fefce8; /* yellow-50 */
  border: 1px solid #fde68a; /* yellow-200 */
  border-radius: 0.25rem;
  padding: 1rem;
}

/* Yellow alert with icon (inline) */
.card-yellow-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #fefce8;
  border: 1px solid #fde68a;
  padding: 0.75rem;
  border-radius: 0.25rem;
}

/* Slate/gray disclaimer card */
.card-slate {
  background-color: #f1f5f9; /* slate-100 */
  border: 1px solid #e5e7eb; /* gray-200 */
  border-radius: 0.25rem;
  padding: 1rem;
}

/* FAQ accordion item */
.card-faq {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Form container */
.card-form {
  position: relative;
  width: 100%;
  max-width: 36rem; /* max-w-xl */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 3%,
    rgba(255, 255, 255, 0.7) 8%,
    rgba(255, 255, 255, 0.7) 100%
  );
  backdrop-filter: blur(4px);
  padding: 1.5rem;
  padding-top: 1.5rem;
}
@media (min-width: 768px) {
  .card-form {
    padding: 2rem;
    padding-top: 3rem;
  }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.section-label {
  color: #1e293b; /* slate-800 */
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.675rem;
  line-height: 1.5;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-text {
  font-size: 0.875rem;
  color: #4b5563; /* gray-600 */
  margin-bottom: 1.5rem;
}

.section-divider {
  border-color: #d1d5db; /* gray-300 */
  margin: 1.5rem 0;
}

/* ========================================
   BADGES & INDICATORS
   ======================================== */

.badge-secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #eab308; /* yellow-500 */
  font-size: 0.75rem;
  font-weight: 600;
}

/* ========================================
   ICONS
   ======================================== */

.icon-check {
  width: 1.25rem;
  height: 1.25rem;
  color: #eab308; /* yellow-500 */
  flex-shrink: 0;
}

.icon-shield {
  width: 1.25rem;
  height: 1.25rem;
  color: #facc15; /* yellow-400 */
}

.icon-option {
  width: 2rem;
  height: 2rem;
  color: #334155; /* slate-700 */
}

.icon-btn {
  width: 1rem;
  height: 1rem;
}

/* ========================================
   FORM STEPS
   ======================================== */

.form-step {
  display: none;
}
.form-step.active {
  display: block;
}

/* ========================================
   FAQ
   ======================================== */

.faq-content {
  padding: 0 1.5rem 1rem 1.5rem;
  color: #4b5563;
  font-size: 0.875rem;
}

/* ========================================
   LAYOUT HELPERS
   ======================================== */

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.check-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
