File size: 5,629 Bytes
845d6d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/* ═══════════════════════════════════════════════════════════════════════════
   ResearchIT β€” Animations
   All @keyframes and animation utility classes.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Skeleton shimmer ─────────────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── Fade in with upward slide ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Fade in only ─────────────────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Toast slide in/out ───────────────────────────────────────────────────── */
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
  }
}

/* ── Save button pulse ────────────────────────────────────────────────────── */
@keyframes savePulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ── Checkmark pop (onboarding tile) ──────────────────────────────────────── */
@keyframes checkPop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ── Loading dot pulse ────────────────────────────────────────────────────── */
@keyframes dotPulse {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ── Card stagger entrance ────────────────────────────────────────────────── */
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Subtle glow pulse (hero, active elements) ────────────────────────────── */
@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.7; }
}

/* ── Spin (loading indicators) ────────────────────────────────────────────── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Gradient shift (brand/hero background) ───────────────────────────────── */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* Utility animation classes                                                 */
/* ══════════════════════════════════════════════════════════════════════════ */

.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.4s ease-out;
}

.animate-card-in {
  animation: cardIn 0.35s ease-out both;
}

/* Staggered card entrance β€” assign via inline style or nth-child */
.animate-card-in:nth-child(1) { animation-delay: 0s; }
.animate-card-in:nth-child(2) { animation-delay: 0.05s; }
.animate-card-in:nth-child(3) { animation-delay: 0.1s; }
.animate-card-in:nth-child(4) { animation-delay: 0.15s; }
.animate-card-in:nth-child(5) { animation-delay: 0.2s; }
.animate-card-in:nth-child(6) { animation-delay: 0.25s; }
.animate-card-in:nth-child(7) { animation-delay: 0.3s; }
.animate-card-in:nth-child(8) { animation-delay: 0.35s; }
.animate-card-in:nth-child(9) { animation-delay: 0.4s; }
.animate-card-in:nth-child(10) { animation-delay: 0.45s; }

.animate-glow {
  animation: glowPulse 3s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}