/* ===== MYE TECH — ANIMATIONS ===== */

@keyframes mye-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes mye-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

@keyframes mye-slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes mye-slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes mye-scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes mye-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes mye-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes mye-glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(79,127,255,0.2); }
  50% { box-shadow: 0 0 40px rgba(79,127,255,0.5); }
}

@keyframes mye-bar-grow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes mye-counter-flash {
  0% { color: var(--mye-accent); }
  100% { color: #fff; }
}

@keyframes mye-typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes mye-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes mye-orbit {
  from { transform: rotate(0deg) translateX(60px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
}

@keyframes mye-ripple {
  0% { transform: scale(0); opacity: 0.6; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes mye-scan-line {
  0% { top: 0; }
  100% { top: 100%; }
}

/* ===== HERO ANIMATIONS ===== */
.mye-hero-content .mye-hero-eyebrow {
  animation: mye-fade-in 0.6s ease both;
  animation-delay: 0.2s;
}
.mye-hero-content .mye-hero-title {
  animation: mye-fade-in 0.7s ease both;
  animation-delay: 0.4s;
}
.mye-hero-content .mye-hero-desc {
  animation: mye-fade-in 0.7s ease both;
  animation-delay: 0.6s;
}
.mye-hero-content .mye-hero-actions {
  animation: mye-fade-in 0.7s ease both;
  animation-delay: 0.8s;
}
.mye-hero-visual {
  animation: mye-fade-in 0.9s ease both;
  animation-delay: 0.5s;
}

/* ===== FLOATING ELEMENTS ===== */
.mye-float { animation: mye-float 5s ease-in-out infinite; }
.mye-float-delay { animation: mye-float 6s ease-in-out infinite; animation-delay: 1s; }
.mye-glow-anim { animation: mye-glow-pulse 3s ease-in-out infinite; }

/* ===== SHIMMER LOADING ===== */
.mye-shimmer {
  background: linear-gradient(
    90deg,
    var(--mye-soft) 25%,
    rgba(255,255,255,0.8) 50%,
    var(--mye-soft) 75%
  );
  background-size: 200% auto;
  animation: mye-shimmer 1.5s linear infinite;
}

/* ===== TYPING EFFECT ===== */
.mye-typing-text {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--mye-accent);
  display: inline-block;
  animation: mye-typing 2s steps(30) forwards, mye-blink 0.8s step-end infinite;
}

/* ===== ORBIT DOTS ===== */
.mye-orbit-container {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mye-orbit-center {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mye-mid), var(--mye-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 0 30px rgba(79,127,255,0.4);
  z-index: 1;
}
.mye-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(79,127,255,0.25);
}
.mye-orbit-ring-1 { width: 100px; height: 100px; }
.mye-orbit-ring-2 { width: 140px; height: 140px; }
.mye-orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mye-accent);
  animation: mye-orbit 4s linear infinite;
}
.mye-orbit-dot:nth-child(2) {
  animation-duration: 6s;
  animation-delay: -2s;
  background: var(--mye-lavender);
  width: 8px; height: 8px;
}

/* ===== CARD HOVER EFFECTS ===== */
.mye-card-hover-reveal .mye-hover-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}
.mye-card-hover-reveal:hover .mye-hover-content {
  max-height: 200px;
  opacity: 1;
}

/* ===== SCROLL INDICATOR ===== */
.mye-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.5;
  animation: mye-fade-in 1s ease 1.5s both;
}
.mye-scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}
.mye-scroll-wheel {
  width: 3px; height: 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: mye-float 1.5s ease-in-out infinite;
}
.mye-scroll-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* ===== BACKGROUND ORBS ===== */
.mye-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.4;
}
.mye-orb-accent { background: rgba(79,127,255,0.6); }
.mye-orb-violet { background: rgba(110,79,206,0.6); }
.mye-orb-sm { width: 200px; height: 200px; }
.mye-orb-md { width: 350px; height: 350px; }
.mye-orb-lg { width: 500px; height: 500px; }

/* ===== STAGGER DELAYS ===== */
.mye-stagger-1 { transition-delay: 0.1s; }
.mye-stagger-2 { transition-delay: 0.2s; }
.mye-stagger-3 { transition-delay: 0.3s; }
.mye-stagger-4 { transition-delay: 0.4s; }
.mye-stagger-5 { transition-delay: 0.5s; }
.mye-stagger-6 { transition-delay: 0.6s; }

/* ===== PAGE TRANSITIONS ===== */
.mye-page-enter {
  animation: mye-fade-in 0.5s ease forwards;
}

/* ===== NUMBER COUNTER ===== */
.mye-counter-animate {
  display: inline-block;
  transition: all 0.3s;
}

/* ===== NOTIFICATION DOT ===== */
.mye-notif-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  position: relative;
}
.mye-notif-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(74,222,128,0.3);
  animation: mye-ripple 1.5s ease-out infinite;
}
