/**
 * Hello Plataforma · Welcome Screen Styles
 */


/* ============================================================
   CONTAINER
   ============================================================ */

.hp-welcome {
  background: var(--hp-bg-secondary);
  min-height: 100vh;
}

.hp-welcome-content {
  padding: 48px 16px 40px;
  max-width: 480px;
  margin: 0 auto;
}


/* ============================================================
   HERO: CHECK ANIMADO
   ============================================================ */

.hp-welcome-hero {
  text-align: center;
  margin-bottom: 32px;
}

.hp-welcome-check {
  width: 140px;
  height: 140px;
  margin: 0 auto 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-welcome-check-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--hp-green-success);
  opacity: 0;
  animation: hpWelcomeRing 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.hp-welcome-check-ring--2 {
  animation-delay: 1.2s;
}

@keyframes hpWelcomeRing {
  0% {
    transform: scale(0.5);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.hp-welcome-check-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2BC596 0%, #1D9E75 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 16px 40px -8px rgba(29, 158, 117, 0.50);
  animation: hpWelcomeCheckIn 600ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes hpWelcomeCheckIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hp-welcome-check-svg {
  width: 56px;
  height: 56px;
}

.hp-welcome-check-svg path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: hpDrawCheck 600ms cubic-bezier(0.16, 1, 0.3, 1) 350ms forwards;
}

@keyframes hpDrawCheck {
  to { stroke-dashoffset: 0; }
}

.hp-welcome-title {
  font-family: var(--hp-font-base);
  font-size: 30px;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin: 0 0 12px;
  letter-spacing: -0.8px;
  line-height: 1.15;
  animation: hpFadeInUp 500ms cubic-bezier(0.16, 1, 0.3, 1) 400ms both;
}

.hp-welcome-sub {
  font-family: var(--hp-font-base);
  font-size: 15px;
  color: var(--hp-text-secondary);
  margin: 0;
  line-height: 1.55;
  animation: hpFadeInUp 500ms cubic-bezier(0.16, 1, 0.3, 1) 500ms both;
}

.hp-welcome-sub strong {
  color: var(--hp-text-primary);
  font-weight: 600;
}


/* ============================================================
   TELEGRAM CALLOUT (priority #1)
   ============================================================ */

.hp-welcome-telegram {
  display: block;
  background: linear-gradient(135deg, #229ED9 0%, #1A7DAB 100%);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 24px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 12px 32px -8px rgba(34, 158, 217, 0.40);
  transition: transform var(--hp-duration-normal) var(--hp-ease);
  animation: hpFadeInUp 500ms cubic-bezier(0.16, 1, 0.3, 1) 600ms both;
}

.hp-welcome-telegram:hover {
  transform: translateY(-2px);
}

.hp-welcome-telegram::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
}

.hp-welcome-telegram-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 99px;
  font-family: var(--hp-font-base);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.hp-welcome-telegram-badge i {
  font-size: 11px;
}

.hp-welcome-telegram-row {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.hp-welcome-telegram-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.20);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-welcome-telegram-icon i {
  font-size: 24px;
  color: #FFFFFF;
}

.hp-welcome-telegram-content {
  flex: 1;
  min-width: 0;
}

.hp-welcome-telegram-title {
  font-family: var(--hp-font-base);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.hp-welcome-telegram-sub {
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin: 3px 0 0;
  line-height: 1.4;
}

.hp-welcome-telegram-chevron {
  font-size: 22px;
  color: #FFFFFF;
  flex-shrink: 0;
}


/* ============================================================
   TOUR
   ============================================================ */

.hp-welcome-tour {
  margin-bottom: 24px;
  animation: hpFadeInUp 500ms cubic-bezier(0.16, 1, 0.3, 1) 700ms both;
}

.hp-welcome-tour-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hp-welcome-tour-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--hp-bg-primary);
  border-radius: 14px;
  border: 0.5px solid var(--hp-border-purple);
}

.hp-welcome-tour-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.40) 0%, rgba(168, 135, 208, 0.20) 100%);
  border: 0.5px solid rgba(149, 117, 205, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-welcome-tour-icon i {
  font-size: 20px;
  color: var(--hp-purple-deep);
}

.hp-welcome-tour-content {
  flex: 1;
  min-width: 0;
}

.hp-welcome-tour-title {
  font-family: var(--hp-font-base);
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-text-primary);
  margin: 0;
  line-height: 1.3;
}

.hp-welcome-tour-sub {
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-tertiary);
  margin: 2px 0 0;
  line-height: 1.4;
}


/* ============================================================
   CTA + FOOTER
   ============================================================ */

.hp-welcome-cta {
  margin-bottom: 16px;
  animation: hpFadeInUp 500ms cubic-bezier(0.16, 1, 0.3, 1) 800ms both;
}

.hp-welcome-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-tertiary);
  margin: 0;
  animation: hpFadeInUp 500ms cubic-bezier(0.16, 1, 0.3, 1) 900ms both;
}

.hp-welcome-email i {
  font-size: 14px;
  color: var(--hp-green-success);
}
