/* ===== Typewriter Animation ===== */

/* Container for typewriter text */
[data-typewrite] {
  position: relative;
}

/* The cursor */
.tw-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: #8b5cf6;
  margin-left: 3px;
  vertical-align: text-bottom;
  border-radius: 2px;
  animation: twBlink 0.7s ease-in-out infinite;
}

/* Hide cursor after animation completes */
.tw-cursor--done {
  animation: twFadeOut 0.6s ease forwards;
  animation-delay: 1.2s;
}

@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes twFadeOut {
  to { opacity: 0; }
}
