/* Welcome / Migration Onboarding */

/* ── Container ─────────────────────────────────────────── */
.welcome-container {
  margin: 0 auto;
}

/* ── Hero Banner ───────────────────────────────────────── */
.welcome-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
}

.welcome-hero-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 88, 34, 0.25) 0%, transparent 70%);
  pointer-events: none;
  animation: welcome-pulse 4s ease-in-out infinite;
}

@keyframes welcome-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

.welcome-hero-content {
  position: relative;
  z-index: 1;
}

/* ── Icon Circle ───────────────────────────────────────── */
.welcome-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e25822, #f0a500);
  color: #fff;
  font-size: var(--bulma-size-3);
  box-shadow:
    0 0 0 6px rgba(226, 88, 34, 0.2),
    0 0 40px rgba(226, 88, 34, 0.35);
  animation: welcome-fade-in 0.6s ease-out both;
}

/* ── Hero Typography ───────────────────────────────────── */
.welcome-title {
  color: #fff !important;
  margin-top: 1.25rem !important;
  margin-bottom: 0.5rem !important;
  animation: welcome-fade-in 0.6s ease-out 0.15s both;
}

.welcome-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--bulma-size-5);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
  animation: welcome-fade-in 0.6s ease-out 0.3s both;
}

@keyframes welcome-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Login Tip ─────────────────────────────────────────── */
.welcome-login-tip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bulma-scheme-main-bis);
  border: 1px solid var(--bulma-border);
  border-left: 4px solid var(--bulma-warning);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  animation: welcome-fade-in 0.5s ease-out 0.45s both;
}

.welcome-login-tip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bulma-warning);
  color: var(--bulma-warning-invert);
  flex-shrink: 0;
  font-size: var(--bulma-size-6);
}

.welcome-login-tip p {
  margin-top: 0.25rem;
  margin-bottom: 0;
  color: var(--bulma-text);
}

.welcome-login-tip code {
  font-weight: 600;
}

/* ── Section Heading ───────────────────────────────────── */
.welcome-section-heading {
  animation: welcome-fade-in 0.5s ease-out 0.55s both;
}

/* ── Feature Cards Grid ────────────────────────────────── */
.welcome-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media screen and (max-width: 768px) {
  .welcome-features-grid {
    grid-template-columns: 1fr;
  }
}

.welcome-feature-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  animation: welcome-card-in 0.4s ease-out both;
}

[data-theme="dark"] .welcome-feature-card {
  background: #1f2937;
  border-color: #374151;
  box-shadow: none;
}

.welcome-feature-card:nth-child(1)  { animation-delay: 0.5s; }
.welcome-feature-card:nth-child(2)  { animation-delay: 0.55s; }
.welcome-feature-card:nth-child(3)  { animation-delay: 0.6s; }
.welcome-feature-card:nth-child(4)  { animation-delay: 0.65s; }
.welcome-feature-card:nth-child(5)  { animation-delay: 0.7s; }
.welcome-feature-card:nth-child(6)  { animation-delay: 0.75s; }
.welcome-feature-card:nth-child(7)  { animation-delay: 0.8s; }
.welcome-feature-card:nth-child(8)  { animation-delay: 0.85s; }
.welcome-feature-card:nth-child(9)  { animation-delay: 0.9s; }

@keyframes welcome-card-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.welcome-feature-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .welcome-feature-card:hover {
  border-color: #4b5563;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.welcome-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: var(--bulma-size-5);
}

.welcome-feature-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: var(--bulma-size-6);
}

.welcome-feature-card p {
  color: var(--bulma-text-weak);
  font-size: var(--bulma-size-normal);
  line-height: 1.5;
  margin: 0;
}

/* ── CTA ───────────────────────────────────────────────── */
.welcome-cta {
  text-align: center;
  margin-bottom: 2rem;
  animation: welcome-fade-in 0.5s ease-out 1s both;
}

.welcome-cta-button {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
  font-weight: 600;
}

/* ── Support ───────────────────────────────────────────── */
.welcome-support {
  color: var(--bulma-text-weak);
  font-size: var(--bulma-size-normal);
  animation: welcome-fade-in 0.5s ease-out 1.1s both;
}
