/* Apply for Probate - Custom Styles */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Progress bar animation */
.progress-bar {
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step transitions */
.quiz-step {
  display: none;
  animation: stepIn 0.35s ease forwards;
}
.quiz-step.active {
  display: block;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.quiz-step.exit {
  animation: stepOut 0.25s ease forwards;
}
@keyframes stepOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-20px); }
}

/* Option cards */
.option-card {
  cursor: pointer;
  border: 2px solid #eef0f4;
  transition: all 0.2s ease;
}
.option-card:hover {
  border-color: #163c66;
  background: #f8f9fb;
}
.option-card.selected {
  border-color: #0a1f35;
  background: #0a1f35;
  color: white;
}
.option-card.selected .option-icon {
  color: #d4aa50;
}

/* Hero text gradient */
.gold-text {
  background: linear-gradient(135deg, #d4aa50 0%, #e8c97a 50%, #b8913a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Trust badge strip */
.trust-strip {
  background: linear-gradient(135deg, #05111f 0%, #0a1f35 100%);
}

/* Section divider */
.section-rule {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4aa50, #e8c97a);
  margin: 0 auto 1.5rem;
}

/* Form inputs */
.form-input {
  border: 2px solid #eef0f4;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: #0a1f35;
}

/* CTA button pulse */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.08) 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover::after {
  opacity: 1;
}

/* Floating label effect on hero */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate {
  animation: fadeUp 0.7s ease forwards;
}
.hero-animate-delay {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero-animate-delay-2 {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}
.hero-animate-delay-3 {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.6s forwards;
}

/* Notification toast */
#toast {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Checklist ticks */
.check-item::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d4aa50'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
  margin-right: 12px;
  margin-top: 2px;
}
.check-item {
  display: flex;
  align-items: flex-start;
}
