/* Welcome / invitation landing page — ThePetAdvisor */
.welcome-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #1b1035 0%, #3b1d6e 38%, #6d2a8f 62%, #6e4d05 130%);
  background-size: 220% 220%;
  animation: welcome-pan 18s ease-in-out infinite alternate;
  color: #fff;
  text-align: center;
}
@keyframes welcome-pan {
  from { background-position: 0% 40%; }
  to { background-position: 100% 60%; }
}
.welcome-hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 88px 20px 76px;
}
.welcome-hero .kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f4d47c;
  border: 1px solid rgba(244, 212, 124, .55);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 22px;
}
.welcome-hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: #fff;
}
.welcome-hero .subhead {
  font-size: clamp(17px, 2.6vw, 21px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  max-width: 640px;
  margin: 0 auto 30px;
}
.welcome-hero .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.welcome-stats {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}
.welcome-stat { min-width: 120px; }
.welcome-stat .num {
  font-family: Fraunces, Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: #f4d47c;
  line-height: 1;
}
.welcome-stat .lbl {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .75);
  margin-top: 6px;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .welcome-hero { animation: none; }
}

.welcome-section { padding: 64px 20px; }
.welcome-section.welcome-tight { padding-top: 0; }
.welcome-section-inner { max-width: 1080px; margin: 0 auto; }
.welcome-section h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
  margin: 0 0 10px;
  color: var(--midnight, #1b1035);
}
.welcome-section .section-sub {
  text-align: center;
  color: #5b5470;
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 38px;
}

.welcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .welcome-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .welcome-grid { grid-template-columns: 1fr; } }

.welcome-card {
  display: block;
  background: #fff;
  border: 1px solid #e8e2f2;
  border-radius: 16px;
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(27, 16, 53, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.welcome-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(59, 29, 110, .16);
  border-color: #c9b8e8;
  text-decoration: none;
}
.welcome-card .icon { font-size: 34px; line-height: 1; margin-bottom: 14px; }
.welcome-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--midnight, #1b1035);
}
.welcome-card p { font-size: 15px; line-height: 1.6; color: #5b5470; margin: 0 0 12px; }
.welcome-card .go {
  font-size: 14.5px;
  font-weight: 600;
  color: #6d2a8f;
}
.welcome-card .go::after { content: " →"; }

.welcome-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  margin-top: 8px;
}
@media (max-width: 700px) { .welcome-steps { grid-template-columns: 1fr; } }
.welcome-step {
  text-align: center;
  padding: 10px 14px;
}
.welcome-step .step-n {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b1d6e, #6d2a8f);
  color: #f4d47c;
  font-family: Fraunces, Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-step h3 { font-size: 18px; margin: 0 0 8px; color: var(--midnight, #1b1035); }
.welcome-step p { font-size: 15px; color: #5b5470; line-height: 1.6; margin: 0; }

.welcome-cta {
  background: linear-gradient(120deg, #1b1035, #3b1d6e 60%, #6d2a8f);
  border-radius: 22px;
  padding: 56px 32px;
  text-align: center;
  color: #fff;
  margin: 0 20px 72px;
}
.welcome-cta-inner { max-width: 640px; margin: 0 auto; }
.welcome-cta h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(26px, 4.4vw, 38px);
  margin: 0 0 12px;
  color: #fff;
}
.welcome-cta p { color: rgba(255,255,255,.85); font-size: 17px; margin: 0 0 26px; }
.welcome-cta .fine { font-size: 13.5px; color: rgba(255,255,255,.65); margin: 18px 0 0; }

.welcome-hero .btn-lg { font-size: 18px; padding: 14px 30px; }
.welcome-hero .btn-ghost {
  font-size: 16px;
  padding: 13px 26px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  background: transparent;
}
.welcome-hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.welcome-cta .btn-lg { font-size: 18px; padding: 14px 34px; }
