/**
 * Welcome Onboarding Styles
 * First-visit experience design
 */

.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.welcome-overlay.welcome-hide {
  animation: fadeOut 0.3s ease forwards;
}

.welcome-modal {
  background: white;
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.welcome-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.welcome-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #009b3a;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.welcome-content {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  margin: 0 0 32px 0;
}

.welcome-content p {
  margin: 0 0 12px 0;
}

.welcome-content strong {
  color: #009b3a;
  font-weight: 700;
}

.welcome-content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.welcome-content ul li {
  padding: 8px 0;
  font-size: 1rem;
}

.welcome-progress {
  margin-bottom: 32px;
}

.progress-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.progress-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: all 0.3s ease;
}

.progress-dots .dot.active {
  width: 24px;
  border-radius: 4px;
  background: #009b3a;
}

.welcome-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-skip,
.btn-next {
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-skip {
  background: #f5f5f5;
  color: #666;
}

.btn-skip:hover {
  background: #e0e0e0;
  color: #333;
}

.btn-next {
  background: #009b3a;
  color: white;
}

.btn-next:hover {
  background: #007a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 155, 58, 0.3);
}

.btn-onboarding {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-onboarding.btn-primary {
  background: #009b3a;
  color: white;
  border: 2px solid #009b3a;
}

.btn-onboarding.btn-primary:hover {
  background: #007a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 155, 58, 0.3);
}

.btn-onboarding.btn-secondary {
  background: white;
  color: #009b3a;
  border: 2px solid #009b3a;
}

.btn-onboarding.btn-secondary:hover {
  background: #f0f9f2;
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .welcome-modal {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .welcome-icon {
    font-size: 3rem;
  }

  .welcome-title {
    font-size: 1.5rem;
  }

  .welcome-content {
    font-size: 1rem;
  }

  .welcome-actions {
    flex-direction: column;
  }

  .btn-skip,
  .btn-next {
    width: 100%;
  }

  .btn-onboarding {
    width: 100%;
    text-align: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .welcome-overlay,
  .welcome-modal,
  .welcome-icon {
    animation: none;
  }
}
