/* css/app/welcomeModal.css
   Modal de boas-vindas no primeiro acesso. Paleta alinhada à tela de assinatura/trial. */

.gj-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 11, 16, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.gj-welcome-overlay.gj-show {
  opacity: 1;
}

.gj-welcome-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #252836;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 34px 30px 30px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.gj-welcome-overlay.gj-show .gj-welcome-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.gj-welcome-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #8b8fa8;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.gj-welcome-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f1f6;
}

.gj-welcome-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #eb1616;
  font-family: "Kalam", cursive;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.gj-welcome-brand i {
  font-size: 1.15rem;
}

.gj-welcome-title {
  margin: 0 0 8px;
  color: #f0f1f6;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.3;
}

.gj-welcome-subtitle {
  margin: 0 0 22px;
  color: #8b8fa8;
  font-size: 0.78rem;
  line-height: 1.5;
}

.gj-welcome-trial {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
}

.gj-welcome-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.gj-welcome-trial-headline {
  margin: 0 0 6px;
  color: #f0f1f6;
  font-size: 0.88rem;
  font-weight: 600;
}

.gj-welcome-trial-headline strong {
  color: #10b981;
}

.gj-timeline {
  margin: 4px 0 12px;
  padding: 0 6px;
}

.gj-timeline-track {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
}

.gj-timeline-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.gj-timeline-dot-start {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.gj-timeline-dot-end {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.gj-timeline-line {
  flex: 1;
  height: 3px;
  margin: 0 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 100%);
  opacity: 0.55;
}

.gj-timeline-labels {
  display: flex;
  justify-content: space-between;
}

.gj-timeline-point {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.gj-timeline-point-end {
  text-align: right;
}

.gj-timeline-date {
  font-size: 0.9rem;
  font-weight: 700;
}

.gj-timeline-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b8fa8;
}

.gj-timeline-point-start .gj-timeline-date {
  color: #34d399;
}

.gj-timeline-point-end .gj-timeline-date {
  color: #fbbf24;
}

.gj-welcome-trial-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: #b9bdcf;
  font-size: 0.82rem;
  line-height: 1.5;
}

.gj-welcome-trial-note i {
  color: #10b981;
  font-size: 0.95rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.gj-welcome-trial-note strong {
  color: #34d399;
  font-weight: 700;
}

.gj-welcome-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  background: #10b981;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.gj-welcome-btn:hover {
  background: #0ea372;
}

.gj-welcome-btn:active {
  transform: scale(0.99);
}

@media (max-width: 480px) {
  .gj-welcome-modal {
    padding: 30px 20px 24px;
    border-radius: 16px;
  }
  .gj-welcome-title {
    font-size: 1.18rem;
  }
}
