@import "tailwindcss"; @import "tw-animate-css"; @custom-variant dark (&:is(.dark *)); @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); --color-sidebar-ring: var(--sidebar-ring); --color-sidebar-border: var(--sidebar-border); --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); --color-sidebar-accent: var(--sidebar-accent); --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); --color-sidebar-primary: var(--sidebar-primary); --color-sidebar-foreground: var(--sidebar-foreground); --color-sidebar: var(--sidebar); --color-chart-5: var(--chart-5); --color-chart-4: var(--chart-4); --color-chart-3: var(--chart-3); --color-chart-2: var(--chart-2); --color-chart-1: var(--chart-1); --color-ring: var(--ring); --color-input: var(--input); --color-border: var(--border); --color-destructive: var(--destructive); --color-accent-foreground: var(--accent-foreground); --color-accent: var(--accent); --color-muted-foreground: var(--muted-foreground); --color-muted: var(--muted); --color-secondary-foreground: var(--secondary-foreground); --color-secondary: var(--secondary); --color-primary-foreground: var(--primary-foreground); --color-primary: var(--primary); --color-popover-foreground: var(--popover-foreground); --color-popover: var(--popover); --color-card-foreground: var(--card-foreground); --color-card: var(--card); --radius-sm: calc(var(--radius) - 4px); --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); } :root { --radius: 0.625rem; --background: oklch(1 0 0); --foreground: oklch(0.145 0 0); --card: oklch(1 0 0); --card-foreground: oklch(0.145 0 0); --popover: oklch(1 0 0); --popover-foreground: oklch(0.145 0 0); --primary: oklch(0.205 0 0); --primary-foreground: oklch(0.985 0 0); --secondary: oklch(0.97 0 0); --secondary-foreground: oklch(0.205 0 0); --muted: oklch(0.97 0 0); --muted-foreground: oklch(0.556 0 0); --accent: oklch(0.97 0 0); --accent-foreground: oklch(0.205 0 0); --destructive: oklch(0.577 0.245 27.325); --border: oklch(0.922 0 0); --input: oklch(0.922 0 0); --ring: oklch(0.708 0 0); --chart-1: oklch(0.646 0.222 41.116); --chart-2: oklch(0.6 0.118 184.704); --chart-3: oklch(0.398 0.07 227.392); --chart-4: oklch(0.828 0.189 84.429); --chart-5: oklch(0.769 0.188 70.08); --sidebar: oklch(0.985 0 0); --sidebar-foreground: oklch(0.145 0 0); --sidebar-primary: oklch(0.205 0 0); --sidebar-primary-foreground: oklch(0.985 0 0); --sidebar-accent: oklch(0.97 0 0); --sidebar-accent-foreground: oklch(0.205 0 0); --sidebar-border: oklch(0.922 0 0); --sidebar-ring: oklch(0.708 0 0); } .dark { --background: oklch(0.145 0 0); --foreground: oklch(0.985 0 0); --card: oklch(0.205 0 0); --card-foreground: oklch(0.985 0 0); --popover: oklch(0.205 0 0); --popover-foreground: oklch(0.985 0 0); --primary: oklch(0.922 0 0); --primary-foreground: oklch(0.205 0 0); --secondary: oklch(0.269 0 0); --secondary-foreground: oklch(0.985 0 0); --muted: oklch(0.269 0 0); --muted-foreground: oklch(0.708 0 0); --accent: oklch(0.269 0 0); --accent-foreground: oklch(0.985 0 0); --destructive: oklch(0.704 0.191 22.216); --border: oklch(1 0 0 / 10%); --input: oklch(1 0 0 / 15%); --ring: oklch(0.556 0 0); --chart-1: oklch(0.488 0.243 264.376); --chart-2: oklch(0.696 0.17 162.48); --chart-3: oklch(0.769 0.188 70.08); --chart-4: oklch(0.627 0.265 303.9); --chart-5: oklch(0.645 0.246 16.439); --sidebar: oklch(0.205 0 0); --sidebar-foreground: oklch(0.985 0 0); --sidebar-primary: oklch(0.488 0.243 264.376); --sidebar-primary-foreground: oklch(0.985 0 0); --sidebar-accent: oklch(0.269 0 0); --sidebar-accent-foreground: oklch(0.985 0 0); --sidebar-border: oklch(1 0 0 / 10%); --sidebar-ring: oklch(0.556 0 0); } @layer base { * { @apply border-border outline-ring/50; } body { @apply bg-background text-foreground; } } /* IA Academy Dark Theme Override */ :root { --background: #0a0a1a; --foreground: #f8fafc; --card: #151530; --card-foreground: #f8fafc; --popover: #151530; --popover-foreground: #f8fafc; --primary: #6366f1; --primary-foreground: #ffffff; --secondary: #151530; --secondary-foreground: #f8fafc; --muted: #151530; --muted-foreground: #94a3b8; --accent: #f59e0b; --accent-foreground: #0a0a1a; --destructive: #ef4444; --border: #2a2a4a; --input: #151530; --ring: #6366f1; --chart-1: #6366f1; --chart-2: #f59e0b; --chart-3: #10b981; --chart-4: #ef4444; --chart-5: #8b5cf6; --sidebar: #151530; --sidebar-foreground: #f8fafc; --sidebar-primary: #6366f1; --sidebar-primary-foreground: #ffffff; --sidebar-accent: #151530; --sidebar-accent-foreground: #f8fafc; --sidebar-border: #2a2a4a; --sidebar-ring: #6366f1; --font-sans: 'Inter', system-ui, sans-serif; --font-mono: 'JetBrains Mono', monospace; } /* Gradient text animation - Enhanced */ .gradient-text { background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #f59e0b, #10b981, #6366f1); background-size: 300% 300%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradientShift 8s ease infinite; filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.3)); } @keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 25% { background-position: 50% 0%; } 50% { background-position: 100% 50%; } 75% { background-position: 50% 100%; } } /* Glassmorphism card effect - Enhanced */ .glass-card { background: rgba(15, 15, 35, 0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(99, 102, 241, 0.2); box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 0 rgba(0, 0, 0, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.08); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .glass-card:hover { background: rgba(20, 20, 45, 0.75); border-color: rgba(99, 102, 241, 0.35); box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 0 rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.15), 0 0 30px rgba(99, 102, 241, 0.08); transform: translateY(-2px); } /* Glow effect */ .glow { box-shadow: 0 0 20px rgba(99, 102, 241, 0.15), 0 0 60px rgba(99, 102, 241, 0.05); } .glow-accent { box-shadow: 0 0 20px rgba(245, 158, 11, 0.2), 0 0 60px rgba(245, 158, 11, 0.05); } /* Particle background effect - Enhanced with mesh gradient */ .particle-bg { position: relative; overflow: hidden; background: radial-gradient(ellipse at 15% 25%, rgba(99, 102, 241, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 85% 15%, rgba(168, 85, 247, 0.1) 0%, transparent 45%), radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 75% 60%, rgba(245, 158, 11, 0.06) 0%, transparent 40%), radial-gradient(ellipse at 25% 65%, rgba(16, 185, 129, 0.07) 0%, transparent 45%), var(--background); background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%; animation: meshGradientShift 20s ease-in-out infinite; } @keyframes meshGradientShift { 0%, 100% { background: radial-gradient(ellipse at 15% 25%, rgba(99, 102, 241, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 85% 15%, rgba(168, 85, 247, 0.1) 0%, transparent 45%), radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 75% 60%, rgba(245, 158, 11, 0.06) 0%, transparent 40%), radial-gradient(ellipse at 25% 65%, rgba(16, 185, 129, 0.07) 0%, transparent 45%), var(--background); } 33% { background: radial-gradient(ellipse at 40% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 65% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 45%), radial-gradient(ellipse at 20% 70%, rgba(236, 72, 153, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 85% 75%, rgba(245, 158, 11, 0.06) 0%, transparent 40%), radial-gradient(ellipse at 50% 30%, rgba(16, 185, 129, 0.07) 0%, transparent 45%), var(--background); } 66% { background: radial-gradient(ellipse at 75% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 25% 75%, rgba(168, 85, 247, 0.1) 0%, transparent 45%), radial-gradient(ellipse at 60% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 15% 40%, rgba(245, 158, 11, 0.06) 0%, transparent 40%), radial-gradient(ellipse at 80% 85%, rgba(16, 185, 129, 0.07) 0%, transparent 45%), var(--background); } } .particle-bg::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.12) 1px, transparent 0); background-size: 40px 40px; pointer-events: none; z-index: 0; } .particle-bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(168, 85, 247, 0.06) 1px, transparent 0); background-size: 60px 60px; background-position: 20px 20px; pointer-events: none; z-index: 0; } /* Custom scrollbar for dark theme */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #0a0a1a; } ::-webkit-scrollbar-thumb { background: #2a2a4a; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #6366f1; } /* Firefox scrollbar - Enhanced */ * { scrollbar-width: thin; scrollbar-color: rgba(99, 102, 241, 0.3) transparent; } /* Code block custom styling */ pre[class*="language-"], code[class*="language-"] { font-size: 0.875rem; line-height: 1.6; } /* Animated border gradient */ .border-gradient { position: relative; } .border-gradient::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, #6366f1, #f59e0b); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; pointer-events: none; } /* Floating animation */ @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } } .animate-float { animation: float 3s ease-in-out infinite; } /* Pulse glow animation */ @keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.2); } 50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); } } .animate-pulse-glow { animation: pulseGlow 2s ease-in-out infinite; } /* ===== Enhanced Utility Classes ===== */ /* Animated gradient border */ .gradient-border { position: relative; } .gradient-border::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #6366f1); background-size: 300% 300%; animation: gradient-rotate 4s linear infinite; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; } @keyframes gradient-rotate { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* Pulse glow effect */ .pulse-glow { animation: pulse-glow 2s ease-in-out infinite; } @keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.3); } 50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(99, 102, 241, 0.2); } } /* Floating animation for decorative elements */ .float-animation { animation: float 6s ease-in-out infinite; } /* Shimmer loading effect */ .shimmer { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent); background-size: 200% 100%; animation: shimmer 2s infinite; } @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } /* Stat counter animation */ .stat-number { font-variant-numeric: tabular-nums; } /* Scroll indicator */ .scroll-indicator { animation: bounce-subtle 2s ease-in-out infinite; } @keyframes bounce-subtle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } } /* Better focus states for accessibility */ *:focus-visible { outline: 2px solid rgba(99, 102, 241, 0.5); outline-offset: 2px; border-radius: 4px; } /* Body base styles for smoother rendering */ body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; } /* Selection styling */ ::selection { background: rgba(99, 102, 241, 0.3); color: white; } /* ============================================================ IA Academy — Enhanced Visual Polish ============================================================ */ /* ---------------------------------------------------------- 1. Animated Noise / Grain Overlay (applies inside .particle-bg) ---------------------------------------------------------- */ .particle-bg .noise-overlay, .particle-bg > .noise-overlay { position: absolute; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 1; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 200px 200px; animation: noiseShift 0.5s steps(4) infinite; will-change: transform; } @keyframes noiseShift { 0% { transform: translate(0, 0); } 25% { transform: translate(-5%, -5%); } 50% { transform: translate(3%, 2%); } 75% { transform: translate(-2%, 4%); } 100% { transform: translate(0, 0); } } /* ---------------------------------------------------------- 2. Enhanced Glass Card — inner glow on hover, smoother curve ---------------------------------------------------------- */ .glass-card { transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), background 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.5s cubic-bezier(0.23, 1, 0.32, 1); will-change: transform, box-shadow; } .glass-card:hover { background: rgba(20, 20, 50, 0.8); border-color: rgba(99, 102, 241, 0.4); box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), inset 0 0 30px rgba(99, 102, 241, 0.06), inset 0 -1px 0 0 rgba(0, 0, 0, 0.25), 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(99, 102, 241, 0.18), 0 0 40px rgba(99, 102, 241, 0.1), 0 0 80px rgba(139, 92, 246, 0.04); transform: translateY(-3px) scale(1.005); } /* ---------------------------------------------------------- 3. Typing Cursor Animation ---------------------------------------------------------- */ .typing-cursor { display: inline-block; width: 2px; height: 1.1em; background: #6366f1; margin-left: 2px; vertical-align: text-bottom; border-radius: 1px; animation: cursorBlink 1s step-end infinite; box-shadow: 0 0 6px rgba(99, 102, 241, 0.5); } @keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } /* ---------------------------------------------------------- 4. Enhanced Gradient Text — multi-layer glow behind text ---------------------------------------------------------- */ .gradient-text { position: relative; filter: drop-shadow(0 0 18px rgba(99, 102, 241, 0.35)) drop-shadow(0 0 40px rgba(168, 85, 247, 0.15)); } .gradient-text::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #f59e0b, #10b981, #6366f1); background-size: 300% 300%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradientShift 8s ease infinite; filter: blur(18px); opacity: 0.5; pointer-events: none; } /* ---------------------------------------------------------- 5. .hover-lift — gentle lift + scale on hover ---------------------------------------------------------- */ .hover-lift { transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1); will-change: transform, box-shadow; } .hover-lift:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 8px 16px rgba(0, 0, 0, 0.2); } /* ---------------------------------------------------------- 6. .neon-border — neon glow border (cyan / purple) ---------------------------------------------------------- */ .neon-border { position: relative; border: 1px solid rgba(99, 102, 241, 0.35); box-shadow: 0 0 8px rgba(99, 102, 241, 0.15), 0 0 20px rgba(99, 102, 241, 0.08), inset 0 0 8px rgba(99, 102, 241, 0.05); transition: box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s cubic-bezier(0.23, 1, 0.32, 1); will-change: box-shadow; } .neon-border:hover { border-color: rgba(139, 92, 246, 0.6); box-shadow: 0 0 10px rgba(6, 182, 212, 0.3), 0 0 30px rgba(139, 92, 246, 0.2), 0 0 60px rgba(99, 102, 241, 0.12), inset 0 0 12px rgba(139, 92, 246, 0.08); } /* ---------------------------------------------------------- 7. Improved Scrollbar — rounded thumb with gradient ---------------------------------------------------------- */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: rgba(10, 10, 26, 0.6); border-radius: 4px; } ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #6366f1, #8b5cf6, #6366f1); border-radius: 10px; border: 2px solid rgba(10, 10, 26, 0.4); background-clip: padding-box; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #818cf8, #a78bfa, #818cf8); border-radius: 10px; box-shadow: 0 0 8px rgba(99, 102, 241, 0.4); } * { scrollbar-width: thin; scrollbar-color: rgba(99, 102, 241, 0.4) rgba(10, 10, 26, 0.3); } /* ---------------------------------------------------------- 8. .hero-glow — large radial gradient glow for hero sections ---------------------------------------------------------- */ .hero-glow { position: relative; } .hero-glow::before { content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 120%; height: 80%; background: radial-gradient( ellipse 60% 50% at 50% 50%, rgba(99, 102, 241, 0.14) 0%, rgba(139, 92, 246, 0.08) 30%, rgba(168, 85, 247, 0.04) 55%, transparent 75% ); pointer-events: none; z-index: 0; animation: heroGlowPulse 8s ease-in-out infinite; } .hero-glow::after { content: ''; position: absolute; bottom: -20%; left: 50%; transform: translateX(-50%); width: 80%; height: 50%; background: radial-gradient( ellipse 50% 40% at 50% 50%, rgba(245, 158, 11, 0.06) 0%, rgba(16, 185, 129, 0.04) 40%, transparent 70% ); pointer-events: none; z-index: 0; } @keyframes heroGlowPulse { 0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } } /* ---------------------------------------------------------- 9. .stat-card — stat counter card with shimmer ---------------------------------------------------------- */ .stat-card { position: relative; overflow: hidden; background: rgba(15, 15, 35, 0.6); border: 1px solid rgba(99, 102, 241, 0.15); border-radius: 12px; padding: 1.5rem; transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.45s cubic-bezier(0.23, 1, 0.32, 1); will-change: transform, box-shadow; } .stat-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient( 90deg, transparent 0%, rgba(99, 102, 241, 0.06) 25%, rgba(139, 92, 246, 0.08) 50%, rgba(99, 102, 241, 0.06) 75%, transparent 100% ); transition: left 0.7s ease; pointer-events: none; z-index: 1; } .stat-card:hover::before { left: 100%; } .stat-card:hover { border-color: rgba(99, 102, 241, 0.35); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.08); } /* ---------------------------------------------------------- 10. .badge-glow — badges with colored glow ---------------------------------------------------------- */ .badge-glow { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.025em; border: 1px solid rgba(99, 102, 241, 0.3); background: rgba(99, 102, 241, 0.1); color: #a5b4fc; box-shadow: 0 0 8px rgba(99, 102, 241, 0.15), 0 0 20px rgba(99, 102, 241, 0.05); transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1); } .badge-glow.amber { border-color: rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.1); color: #fbbf24; box-shadow: 0 0 8px rgba(245, 158, 11, 0.15), 0 0 20px rgba(245, 158, 11, 0.05); } .badge-glow.emerald { border-color: rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.1); color: #34d399; box-shadow: 0 0 8px rgba(16, 185, 129, 0.15), 0 0 20px rgba(16, 185, 129, 0.05); } .badge-glow.rose { border-color: rgba(244, 63, 94, 0.3); background: rgba(244, 63, 94, 0.1); color: #fb7185; box-shadow: 0 0 8px rgba(244, 63, 94, 0.15), 0 0 20px rgba(244, 63, 94, 0.05); } .badge-glow.cyan { border-color: rgba(6, 182, 212, 0.3); background: rgba(6, 182, 212, 0.1); color: #22d3ee; box-shadow: 0 0 8px rgba(6, 182, 212, 0.15), 0 0 20px rgba(6, 182, 212, 0.05); } .badge-glow:hover { transform: scale(1.05); box-shadow: 0 0 14px rgba(99, 102, 241, 0.25), 0 0 30px rgba(99, 102, 241, 0.08); } .badge-glow.amber:hover { box-shadow: 0 0 14px rgba(245, 158, 11, 0.25), 0 0 30px rgba(245, 158, 11, 0.08); } .badge-glow.emerald:hover { box-shadow: 0 0 14px rgba(16, 185, 129, 0.25), 0 0 30px rgba(16, 185, 129, 0.08); } .badge-glow.rose:hover { box-shadow: 0 0 14px rgba(244, 63, 94, 0.25), 0 0 30px rgba(244, 63, 94, 0.08); } .badge-glow.cyan:hover { box-shadow: 0 0 14px rgba(6, 182, 212, 0.25), 0 0 30px rgba(6, 182, 212, 0.08); } /* ---------------------------------------------------------- 11. .section-divider — gradient horizontal line ---------------------------------------------------------- */ .section-divider { border: none; height: 1px; background: linear-gradient( 90deg, transparent 0%, rgba(99, 102, 241, 0.15) 15%, rgba(139, 92, 246, 0.3) 50%, rgba(99, 102, 241, 0.15) 85%, transparent 100% ); margin: 3rem 0; position: relative; } .section-divider::before { content: ''; position: absolute; top: -2px; left: 50%; transform: translateX(-50%); width: 60px; height: 5px; background: linear-gradient(90deg, #6366f1, #8b5cf6); border-radius: 999px; box-shadow: 0 0 12px rgba(99, 102, 241, 0.4); } .section-divider.amber::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); box-shadow: 0 0 12px rgba(245, 158, 11, 0.4); } .section-divider.emerald::before { background: linear-gradient(90deg, #10b981, #34d399); box-shadow: 0 0 12px rgba(16, 185, 129, 0.4); } /* ---------------------------------------------------------- 12. will-change Hints for animated elements ---------------------------------------------------------- */ .particle-bg, .gradient-border, .border-gradient, .animate-float, .float-animation, .animate-pulse-glow, .pulse-glow, .shimmer { will-change: transform, opacity, box-shadow; } /* ---------------------------------------------------------- 13. .text-glow — glowing text utility (color variants) ---------------------------------------------------------- */ .text-glow { text-shadow: 0 0 10px currentColor, 0 0 20px currentColor; } .text-glow-indigo { color: #a5b4fc; text-shadow: 0 0 7px rgba(99, 102, 241, 0.6), 0 0 20px rgba(99, 102, 241, 0.3), 0 0 40px rgba(99, 102, 241, 0.15); } .text-glow-purple { color: #c4b5fd; text-shadow: 0 0 7px rgba(139, 92, 246, 0.6), 0 0 20px rgba(139, 92, 246, 0.3), 0 0 40px rgba(139, 92, 246, 0.15); } .text-glow-amber { color: #fcd34d; text-shadow: 0 0 7px rgba(245, 158, 11, 0.6), 0 0 20px rgba(245, 158, 11, 0.3), 0 0 40px rgba(245, 158, 11, 0.15); } .text-glow-emerald { color: #6ee7b7; text-shadow: 0 0 7px rgba(16, 185, 129, 0.6), 0 0 20px rgba(16, 185, 129, 0.3), 0 0 40px rgba(16, 185, 129, 0.15); } .text-glow-cyan { color: #67e8f9; text-shadow: 0 0 7px rgba(6, 182, 212, 0.6), 0 0 20px rgba(6, 182, 212, 0.3), 0 0 40px rgba(6, 182, 212, 0.15); } .text-glow-rose { color: #fda4af; text-shadow: 0 0 7px rgba(244, 63, 94, 0.6), 0 0 20px rgba(244, 63, 94, 0.3), 0 0 40px rgba(244, 63, 94, 0.15); } /* ---------------------------------------------------------- 14. .btn-glow — gradient button with hover glow ---------------------------------------------------------- */ .btn-glow { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.625rem 1.5rem; font-weight: 600; font-size: 0.875rem; border: none; border-radius: 10px; color: #ffffff; background: linear-gradient(135deg, #6366f1, #8b5cf6); background-size: 200% 200%; cursor: pointer; transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-position 0.5s ease; will-change: transform, box-shadow; box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.1); } .btn-glow:hover { background-position: 100% 100%; transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35), 0 0 30px rgba(99, 102, 241, 0.15), 0 0 60px rgba(139, 92, 246, 0.08), 0 0 0 1px rgba(139, 92, 246, 0.2); } .btn-glow:active { transform: translateY(0) scale(0.98); box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2); } .btn-glow.amber { background: linear-gradient(135deg, #f59e0b, #f97316); box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25), 0 0 0 1px rgba(245, 158, 11, 0.1); } .btn-glow.amber:hover { box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35), 0 0 30px rgba(245, 158, 11, 0.15), 0 0 60px rgba(249, 115, 22, 0.08), 0 0 0 1px rgba(245, 158, 11, 0.2); } .btn-glow.emerald { background: linear-gradient(135deg, #10b981, #14b8a6); box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.1); } .btn-glow.emerald:hover { box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35), 0 0 30px rgba(16, 185, 129, 0.15), 0 0 60px rgba(20, 184, 166, 0.08), 0 0 0 1px rgba(16, 185, 129, 0.2); } /* ---------------------------------------------------------- 15. .timeline-dot — pulsing timeline dot ---------------------------------------------------------- */ .timeline-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #6366f1; border: 2px solid #818cf8; flex-shrink: 0; box-shadow: 0 0 8px rgba(99, 102, 241, 0.3); will-change: box-shadow, transform; } .timeline-dot::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(99, 102, 241, 0.25); animation: timelineDotPulse 2.5s ease-in-out infinite; } .timeline-dot::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(99, 102, 241, 0.1); animation: timelineDotPulse 2.5s ease-in-out infinite 0.3s; } @keyframes timelineDotPulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.5); opacity: 0; } } /* Color variants for timeline dots */ .timeline-dot.amber { background: #f59e0b; border-color: #fbbf24; box-shadow: 0 0 8px rgba(245, 158, 11, 0.3); } .timeline-dot.amber::before { border-color: rgba(245, 158, 11, 0.25); } .timeline-dot.amber::after { border-color: rgba(245, 158, 11, 0.1); } .timeline-dot.emerald { background: #10b981; border-color: #34d399; box-shadow: 0 0 8px rgba(16, 185, 129, 0.3); } .timeline-dot.emerald::before { border-color: rgba(16, 185, 129, 0.25); } .timeline-dot.emerald::after { border-color: rgba(16, 185, 129, 0.1); } /* ============================================================ IA Academy — Advanced Visual Enhancement Classes ============================================================ */ /* ---------------------------------------------------------- 1. .card-shine — Holographic diagonal shine sweep on hover ---------------------------------------------------------- A pseudo-element slides diagonally across the card on hover, creating a light/glare sweep effect similar to a holographic card catch-light. Usage:
Card content
Requires: - Parent must have overflow: hidden (handled here) - Works best on cards with a slightly reflective background ---------------------------------------------------------- */ .card-shine { position: relative; overflow: hidden; } .card-shine::after { content: ''; position: absolute; top: -50%; left: -75%; width: 50%; height: 200%; background: linear-gradient( 105deg, transparent 20%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0.08) 46%, rgba(255, 255, 255, 0.03) 55%, transparent 70% ); transform: skewX(-25deg); transition: left 0.75s cubic-bezier(0.23, 1, 0.32, 1); pointer-events: none; z-index: 2; } .card-shine:hover::after { left: 125%; } /* ---------------------------------------------------------- 2. .border-beam — Animated light beam traveling the border ---------------------------------------------------------- Uses a conic-gradient that rotates continuously, masked to only the border area. Creates a "beam of light" that orbits the perimeter of the element. Usage:
Content
Customize: - Speed: adjust the animation duration in @keyframes borderBeamSpin - Colors: change the conic-gradient color stops ---------------------------------------------------------- */ .border-beam { position: relative; overflow: hidden; border-radius: 12px; isolation: isolate; } .border-beam::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; background: conic-gradient( from 0deg, transparent 0%, rgba(99, 102, 241, 0.6) 5%, rgba(139, 92, 246, 0.8) 10%, rgba(168, 85, 247, 0.6) 15%, transparent 20%, transparent 100% ); animation: borderBeamSpin 4s linear infinite; z-index: -2; } .border-beam::after { content: ''; position: absolute; inset: 2px; border-radius: inherit; background: var(--card, #151530); z-index: -1; } @keyframes borderBeamSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* ---------------------------------------------------------- 3. .gradient-mesh — Animated gradient mesh background ---------------------------------------------------------- Multiple overlapping radial gradients that slowly morph and shift positions, creating an organic, flowing background effect ideal for full-width sections. Usage:
Section content
Note: - Content inside should have position: relative; z-index: 1 to sit above the gradient layers - Adjust animation duration to control morph speed ---------------------------------------------------------- */ .gradient-mesh { position: relative; overflow: hidden; background-color: var(--background, #0a0a1a); } .gradient-mesh::before { content: ''; position: absolute; inset: -10%; background: radial-gradient(ellipse 600px 400px at 20% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 70%), radial-gradient(ellipse 500px 500px at 70% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 70%), radial-gradient(ellipse 700px 300px at 50% 70%, rgba(236, 72, 153, 0.12) 0%, transparent 70%), radial-gradient(ellipse 400px 600px at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 70%), radial-gradient(ellipse 500px 400px at 30% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 70%), radial-gradient(ellipse 300px 300px at 60% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 70%); animation: gradientMeshMorph 16s ease-in-out infinite; pointer-events: none; z-index: 0; } .gradient-mesh::after { content: ''; position: absolute; inset: -10%; background: radial-gradient(ellipse 500px 350px at 60% 40%, rgba(139, 92, 246, 0.12) 0%, transparent 70%), radial-gradient(ellipse 600px 450px at 25% 60%, rgba(99, 102, 241, 0.15) 0%, transparent 70%), radial-gradient(ellipse 450px 550px at 75% 55%, rgba(245, 158, 11, 0.08) 0%, transparent 70%), radial-gradient(ellipse 550px 400px at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 70%), radial-gradient(ellipse 350px 500px at 85% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 70%); animation: gradientMeshMorph2 20s ease-in-out infinite; pointer-events: none; z-index: 0; } @keyframes gradientMeshMorph { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; } 25% { transform: translate(3%, -2%) scale(1.05); opacity: 0.85; } 50% { transform: translate(-2%, 3%) scale(0.97); opacity: 1; } 75% { transform: translate(-3%, -1%) scale(1.03); opacity: 0.9; } } @keyframes gradientMeshMorph2 { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; } 33% { transform: translate(-4%, 2%) scale(1.04); opacity: 0.9; } 66% { transform: translate(3%, -3%) scale(0.96); opacity: 0.75; } } /* ---------------------------------------------------------- 4. .text-reveal — Bottom-to-top clip-path text reveal ---------------------------------------------------------- Text is hidden by default using clip-path. When the .active class is added (typically via JS IntersectionObserver), the text reveals itself from bottom to top with a smooth transition. Usage:

Hidden heading

// Then in JS: element.classList.add('active') States: - Default: clip-path hides text, opacity 0 - .active: clip-path reveals text, opacity 1 ---------------------------------------------------------- */ .text-reveal { clip-path: inset(100% 0 0 0); opacity: 0; transition: clip-path 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1); will-change: clip-path, opacity; } .text-reveal.active { clip-path: inset(0 0 0 0); opacity: 1; } /* Stagger delay variants for lists of .text-reveal elements */ .text-reveal.active.delay-1 { transition-delay: 0.1s; } .text-reveal.active.delay-2 { transition-delay: 0.2s; } .text-reveal.active.delay-3 { transition-delay: 0.3s; } .text-reveal.active.delay-4 { transition-delay: 0.4s; } .text-reveal.active.delay-5 { transition-delay: 0.5s; } /* ---------------------------------------------------------- 5. .magnetic-button — CSS foundation for magnetic effect ---------------------------------------------------------- Provides the smooth cubic-bezier transition for the magnetic cursor-following effect. The actual mousemove JS would apply a small translateX/Y to nudge the button toward the cursor on hover. Usage: JS companion: button.addEventListener('mousemove', (e) => { const rect = button.getBoundingClientRect(); const x = e.clientX - rect.left - rect.width / 2; const y = e.clientY - rect.top - rect.height / 2; button.style.transform = `translate(${x * 0.3}px, ${y * 0.3}px)`; }); button.addEventListener('mouseleave', () => { button.style.transform = 'translate(0, 0)'; }); ---------------------------------------------------------- */ .magnetic-button { transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1); will-change: transform; display: inline-flex; align-items: center; justify-content: center; } /* ---------------------------------------------------------- 6. .stacked-cards — Visually offset/stacked card container ---------------------------------------------------------- Container class that makes direct child cards appear stacked with each subsequent card offset 4px down and 4px right, with decreasing opacity for a depth illusion. Usage:
Card 1
Card 2
Card 3
Note: - Best with 2-5 child cards; excessive stacking may look odd - Children should be absolutely positioned or the container should have appropriate spacing ---------------------------------------------------------- */ .stacked-cards { position: relative; display: flex; align-items: center; justify-content: center; } .stacked-cards > :first-child { z-index: 3; opacity: 1; } .stacked-cards > :nth-child(2) { z-index: 2; opacity: 0.75; transform: translate(4px, 4px); } .stacked-cards > :nth-child(3) { z-index: 1; opacity: 0.5; transform: translate(8px, 8px); } .stacked-cards > :nth-child(4) { z-index: 0; opacity: 0.3; transform: translate(12px, 12px); } .stacked-cards > :nth-child(n+5) { z-index: -1; opacity: 0.15; transform: translate(16px, 16px); } /* ---------------------------------------------------------- 7. .glow-line — Pulsing gradient glow separator line ---------------------------------------------------------- A thin horizontal line with a centered gradient glow that pulses gently. Ideal as a section separator between content blocks. Usage:
Variants: .glow-line.amber — amber/gold glow .glow-line.emerald — green glow .glow-line.rose — pink/rose glow ---------------------------------------------------------- */ .glow-line { border: none; height: 1px; background: linear-gradient( 90deg, transparent 0%, rgba(99, 102, 241, 0.08) 20%, rgba(99, 102, 241, 0.5) 45%, rgba(139, 92, 246, 0.6) 50%, rgba(99, 102, 241, 0.5) 55%, rgba(99, 102, 241, 0.08) 80%, transparent 100% ); position: relative; margin: 2.5rem 0; animation: glowLinePulse 3s ease-in-out infinite; box-shadow: 0 0 6px rgba(99, 102, 241, 0.15), 0 0 12px rgba(99, 102, 241, 0.05); } .glow-line.amber { background: linear-gradient( 90deg, transparent 0%, rgba(245, 158, 11, 0.08) 20%, rgba(245, 158, 11, 0.5) 45%, rgba(251, 191, 36, 0.6) 50%, rgba(245, 158, 11, 0.5) 55%, rgba(245, 158, 11, 0.08) 80%, transparent 100% ); box-shadow: 0 0 6px rgba(245, 158, 11, 0.15), 0 0 12px rgba(245, 158, 11, 0.05); } .glow-line.emerald { background: linear-gradient( 90deg, transparent 0%, rgba(16, 185, 129, 0.08) 20%, rgba(16, 185, 129, 0.5) 45%, rgba(52, 211, 153, 0.6) 50%, rgba(16, 185, 129, 0.5) 55%, rgba(16, 185, 129, 0.08) 80%, transparent 100% ); box-shadow: 0 0 6px rgba(16, 185, 129, 0.15), 0 0 12px rgba(16, 185, 129, 0.05); } .glow-line.rose { background: linear-gradient( 90deg, transparent 0%, rgba(244, 63, 94, 0.08) 20%, rgba(244, 63, 94, 0.5) 45%, rgba(251, 113, 133, 0.6) 50%, rgba(244, 63, 94, 0.5) 55%, rgba(244, 63, 94, 0.08) 80%, transparent 100% ); box-shadow: 0 0 6px rgba(244, 63, 94, 0.15), 0 0 12px rgba(244, 63, 94, 0.05); } @keyframes glowLinePulse { 0%, 100% { opacity: 0.7; filter: brightness(1); } 50% { opacity: 1; filter: brightness(1.4); } } /* ---------------------------------------------------------- 8. .card-spotlight — Radial gradient spotlight (fixed pos) ---------------------------------------------------------- A card with a soft radial-gradient spotlight effect. This pure-CSS version places the spotlight at the top-right corner for a consistent "light source" feel. Usage:
Card content
For a cursor-following version, add JS to update the background-position via CSS custom properties. ---------------------------------------------------------- */ .card-spotlight { position: relative; overflow: hidden; background: radial-gradient( 350px circle at 85% 15%, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70% ), var(--card, rgba(15, 15, 35, 0.65)); transition: background 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1); } .card-spotlight:hover { background: radial-gradient( 400px circle at 85% 15%, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.1) 35%, transparent 70% ), var(--card, rgba(20, 20, 45, 0.75)); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.06); } /* ---------------------------------------------------------- 9. .morph-bg — Slowly morphing background blob ---------------------------------------------------------- Decorative background element that continuously morphs its shape using border-radius animation. Creates an organic, flowing blob effect. Usage:
Tips: - Set width/height and background-color on the element - Use opacity: 0.2-0.5 and blur for soft decoration - position: absolute inside a relative container - The .morph-bg-alt variant uses a different animation phase for visual variety when layering multiple blobs ---------------------------------------------------------- */ .morph-bg { width: 300px; height: 300px; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; background: rgba(99, 102, 241, 0.15); animation: morphBlob1 12s ease-in-out infinite; will-change: border-radius, transform; filter: blur(40px); } .morph-bg-alt { border-radius: 30% 70% 70% 30% / 30% 52% 48% 70%; background: rgba(139, 92, 246, 0.12); animation: morphBlob2 14s ease-in-out infinite; } .morph-bg-amber { background: rgba(245, 158, 11, 0.1); animation: morphBlob1 16s ease-in-out infinite; } .morph-bg-emerald { background: rgba(16, 185, 129, 0.1); animation: morphBlob2 18s ease-in-out infinite; } @keyframes morphBlob1 { 0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg) scale(1); } 25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(90deg) scale(1.05); } 50% { border-radius: 50% 60% 30% 60% / 30% 40% 70% 60%; transform: rotate(180deg) scale(0.95); } 75% { border-radius: 60% 30% 60% 40% / 70% 50% 40% 60%; transform: rotate(270deg) scale(1.03); } } @keyframes morphBlob2 { 0%, 100% { border-radius: 30% 70% 70% 30% / 30% 52% 48% 70%; transform: rotate(0deg) scale(1); } 25% { border-radius: 58% 42% 55% 45% / 56% 60% 40% 44%; transform: rotate(-90deg) scale(1.08); } 50% { border-radius: 45% 55% 40% 60% / 65% 35% 60% 40%; transform: rotate(-180deg) scale(0.97); } 75% { border-radius: 70% 30% 50% 50% / 40% 65% 35% 55%; transform: rotate(-270deg) scale(1.04); } } /* ---------------------------------------------------------- 10. .number-ticker — Animated number counter styling ---------------------------------------------------------- Styling for number counters/odometer displays. Uses tabular-nums for stable digit widths and a subtle glow effect. The actual counting animation is handled by JS. Usage: 12,847 Pair with JS that animates innerText from 0 → target. The tabular-nums ensures digits don't shift as numbers change. ---------------------------------------------------------- */ .number-ticker { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; letter-spacing: -0.02em; color: #f8fafc; text-shadow: 0 0 8px rgba(99, 102, 241, 0.25), 0 0 20px rgba(99, 102, 241, 0.08); display: inline-block; overflow: hidden; } .number-ticker.glow-amber { color: #fcd34d; text-shadow: 0 0 8px rgba(245, 158, 11, 0.3), 0 0 20px rgba(245, 158, 11, 0.1); } .number-ticker.glow-emerald { color: #6ee7b7; text-shadow: 0 0 8px rgba(16, 185, 129, 0.3), 0 0 20px rgba(16, 185, 129, 0.1); } /* ---------------------------------------------------------- 11. .scroll-reveal — Fade-up on scroll reveal ---------------------------------------------------------- Default state: invisible, shifted down 20px. When the .visible class is added (via JS IntersectionObserver), the element fades in and slides up into place. Usage:
Content
JS companion: const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { entry.target.classList.add('visible'); } }); }, { threshold: 0.1 }); document.querySelectorAll('.scroll-reveal').forEach(el => observer.observe(el)); Stagger variants: .scroll-reveal.stagger-1 → 0.1s delay .scroll-reveal.stagger-2 → 0.2s delay .scroll-reveal.stagger-3 → 0.3s delay ---------------------------------------------------------- */ .scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1); will-change: opacity, transform; } .scroll-reveal.visible { opacity: 1; transform: translateY(0); } /* Stagger delay variants for sequential reveals */ .scroll-reveal.visible.stagger-1 { transition-delay: 0.1s; } .scroll-reveal.visible.stagger-2 { transition-delay: 0.2s; } .scroll-reveal.visible.stagger-3 { transition-delay: 0.3s; } .scroll-reveal.visible.stagger-4 { transition-delay: 0.4s; } .scroll-reveal.visible.stagger-5 { transition-delay: 0.5s; } .scroll-reveal.visible.stagger-6 { transition-delay: 0.6s; } /* ---------------------------------------------------------- 12. Enhanced Input & Textarea Focus States ---------------------------------------------------------- Custom focus ring styles for inputs and textareas that match the IA Academy indigo theme. On focus, the input gets a subtle indigo glow border and box-shadow, replacing the default browser focus outline with a polished look. Usage: These styles apply automatically to all and