/* =====================================================
   eVoltrAI — Animated Glass Flash Effects
   Version 2.0.0 | Upgraded
   ===================================================== */

/* ─── KEYFRAMES ─── */
@keyframes evOrbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes evOrbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 80px) scale(0.9); }
}
@keyframes evOrbFloat3 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(40px, -60px) scale(1.1); }
}
@keyframes evParticleRise {
  0%   { transform: translateY(0) scale(0); opacity: 0; }
  10%  { opacity: 0.55; }
  90%  { opacity: 0.55; }
  100% { transform: translateY(-110vh) scale(1); opacity: 0; }
}
@keyframes evGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes evShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes evScanLine {
  0%   { top: -2px; opacity: 0; }
  20%  { opacity: 0.7; }
  80%  { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}
@keyframes evLogoFlash {
  0%, 88%, 100% { box-shadow: 0 0 30px rgba(108,92,231,0.45),
                               inset 0 1px 0 rgba(255,255,255,0.1); }
  90%  { box-shadow: 0 0 80px rgba(108,92,231,1),
                     0 0 140px rgba(0,206,201,0.6),
                     inset 0 1px 0 rgba(255,255,255,0.35); }
  92%  { box-shadow: 0 0 30px rgba(108,92,231,0.45),
                     inset 0 1px 0 rgba(255,255,255,0.1); }
  94%  { box-shadow: 0 0 100px rgba(253,121,168,0.8),
                     inset 0 1px 0 rgba(255,255,255,0.25); }
  96%  { box-shadow: 0 0 30px rgba(108,92,231,0.45),
                     inset 0 1px 0 rgba(255,255,255,0.1); }
}
@keyframes evLogoPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.06); }
}
@keyframes evSpinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes evBorderPulse {
  0%, 100% { border-color: rgba(108,92,231,0.2); }
  50%       { border-color: rgba(108,92,231,0.6); }
}
@keyframes evGlassFlash {
  0%, 94%, 100% { background: rgba(255,255,255,0.04); }
  95%  { background: rgba(108,92,231,0.18); }
  97%  { background: rgba(0,206,201,0.14); }
}
@keyframes evScrollFadeUp {
  from { opacity: 0; transform: translateY(48px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes evScrollFadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes evScrollFadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes evScrollZoom {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes evPopIn {
  0%   { opacity: 0; transform: scale(0.7) translateY(30px); }
  70%  { transform: scale(1.04) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── ANIMATED CANVAS BACKGROUND ─── */
.ev-canvas-bg {
  position: fixed; inset: 0; z-index: -10; pointer-events: none; overflow: hidden;
}
.ev-orb {
  position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none;
}
.ev-orb-1 {
  width: 700px; height: 700px; top: -15%; left: -12%;
  background: radial-gradient(circle, rgba(108,92,231,0.18) 0%, transparent 70%);
  animation: evOrbFloat1 18s ease-in-out infinite alternate;
}
.ev-orb-2 {
  width: 550px; height: 550px; top: 30%; right: -10%;
  background: radial-gradient(circle, rgba(0,206,201,0.14) 0%, transparent 70%);
  animation: evOrbFloat2 22s ease-in-out infinite alternate;
}
.ev-orb-3 {
  width: 450px; height: 450px; bottom: -10%; left: 28%;
  background: radial-gradient(circle, rgba(253,121,168,0.11) 0%, transparent 70%);
  animation: evOrbFloat3 16s ease-in-out infinite alternate;
}
.ev-orb-4 {
  width: 600px; height: 600px; top: 55%; left: 15%;
  background: radial-gradient(circle, rgba(108,92,231,0.08) 0%, transparent 70%);
  filter: blur(70px);
  animation: evOrbFloat2 25s ease-in-out infinite alternate-reverse;
}

/* ─── PARTICLES ─── */
.ev-particles { position: fixed; inset: 0; z-index: -5; pointer-events: none; overflow: hidden; }
.ev-particle {
  position: absolute; border-radius: 50%; animation: evParticleRise linear infinite;
}

/* ─── eVOLTRAI ANIMATED LOGO ─── */
.ev-logo-wrap {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
}
.ev-logo-ring {
  position: absolute; border-radius: 50%;
  background: conic-gradient(from 0deg, #6C5CE7, #00CEC9, #FD79A8, #6C5CE7);
  animation: evSpinRing 4s linear infinite;
  filter: blur(6px); opacity: 0.7;
  inset: -8px;
}
.ev-logo-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.6) 0%, transparent 70%);
  animation: evLogoPulse 2s ease-in-out infinite;
}
.ev-logo-box {
  position: relative; z-index: 1;
  background: rgba(10,10,30,0.85);
  border: 1px solid rgba(108,92,231,0.5);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  animation: evLogoFlash 5s ease-in-out infinite;
}
.ev-logo-box--sm  { width: 32px;  height: 32px;  border-radius: 8px; }
.ev-logo-box--md  { width: 44px;  height: 44px;  border-radius: 12px; }
.ev-logo-box--lg  { width: 64px;  height: 64px;  border-radius: 16px; }
.ev-logo-box--xl  { width: 88px;  height: 88px;  border-radius: 20px; }

.ev-logo-svg { display: block; }

/* ─── BRAND TEXT GRADIENT ─── */
.ev-brand-text {
  background: linear-gradient(135deg, #fff 0%, #A29BFE 40%, #00CEC9 70%, #FD79A8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: evGradientShift 5s ease infinite;
  font-weight: 800; letter-spacing: -0.5px;
}

/* ─── GLASS PANEL FLASH ─── */
.ev-glass-flash {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  animation: evGlassFlash 7s ease-in-out infinite, evBorderPulse 5s ease-in-out infinite;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ev-glass-flash:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(108,92,231,0.5) !important;
  box-shadow: 0 0 60px rgba(108,92,231,0.2), 0 8px 32px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}
.ev-glass-flash::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #6C5CE7, #00CEC9, #FD79A8, #6C5CE7);
  background-size: 200% 100%;
  animation: evShimmer 2.5s linear infinite;
  opacity: 0; transition: opacity 0.3s;
}
.ev-glass-flash:hover::before { opacity: 1; }

/* ─── SCAN LINE ─── */
.ev-scan { position: absolute; left: 0; right: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0,206,201,0.5), transparent);
  animation: evScanLine 5s ease-in-out 1s infinite;
}

/* ─── VIDEO GLASS PANEL ─── */
.ev-video-glass {
  position: relative; overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a0a1a;
}
.ev-video-glass::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(135deg, rgba(108,92,231,0.07), transparent 60%),
              linear-gradient(to bottom, rgba(255,255,255,0.04), transparent 40%);
  border-radius: 20px;
  animation: evGlassFlash 6s ease-in-out infinite;
}
.ev-video-glass::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, #6C5CE7, #00CEC9, transparent);
  background-size: 200% 100%;
  animation: evShimmer 3s linear infinite;
}

/* ─── SCROLL REVEAL CLASSES (JS adds these) ─── */
.ev-reveal           { opacity: 1; }
.ev-reveal.is-visible.ev-fade-up    { animation: evScrollFadeUp    0.7s cubic-bezier(0.16,1,0.3,1) forwards; }
.ev-reveal.is-visible.ev-fade-left  { animation: evScrollFadeLeft  0.7s cubic-bezier(0.16,1,0.3,1) forwards; }
.ev-reveal.is-visible.ev-fade-right { animation: evScrollFadeRight 0.7s cubic-bezier(0.16,1,0.3,1) forwards; }
.ev-reveal.is-visible.ev-zoom-in    { animation: evScrollZoom      0.7s cubic-bezier(0.16,1,0.3,1) forwards; }
.ev-reveal.is-visible.ev-pop-in     { animation: evPopIn           0.6s cubic-bezier(0.16,1,0.3,1) forwards; }

/* Delay helpers */
.ev-delay-1 { animation-delay: 0.08s !important; }
.ev-delay-2 { animation-delay: 0.16s !important; }
.ev-delay-3 { animation-delay: 0.24s !important; }
.ev-delay-4 { animation-delay: 0.32s !important; }
.ev-delay-5 { animation-delay: 0.40s !important; }

/* ─── SIDEBAR / TOPBAR LOGO OVERRIDES ─── */
.v-sidebar-brand .brand-icon,
.ev-topbar-logo {
  animation: evLogoFlash 5s ease-in-out infinite, evLogoPulse 3s ease-in-out infinite;
}
.v-sidebar-brand .brand-name,
.ev-topbar-brand-text { }
.v-sidebar-brand .brand-name {
  background: linear-gradient(135deg, #fff 0%, #A29BFE 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── TOOL CARD UPGRADE ─── */
.v-tool.ev-glass-flash { animation: evGlassFlash 7s ease-in-out infinite; }
.v-tool.ev-glass-flash::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 80%, rgba(108,92,231,0.06), transparent);
  pointer-events: none;
}

/* ─── HERO GLASS UPGRADE ─── */
.v-hero.ev-glass-flash::before { animation: evOrbFloat1 12s ease-in-out infinite alternate; }

/* ─── NAV ITEM GLOW ─── */
.v-nav-item.active { animation: evBorderPulse 4s ease-in-out infinite; }

/* ─── STAT CARD GLOW ─── */
.v-stat { animation: evGlassFlash 8s ease-in-out infinite; }

/* ─── PROGRESS SHIMMER ─── */
.v-progress-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  background-size: 200% 100%;
  animation: evShimmer 1.8s linear infinite;
}

/* ─── TOPBAR CREDITS BADGE ─── */
.v-badge.v-badge-primary { animation: evBorderPulse 4s ease-in-out infinite; }

/* ─── FOOTER LOGO STRIP ─── */
.ev-footer-logo-strip {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 0;
}

/* ── eVoltrAI HIGH-TECH FONT UPGRADE ── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;800;900&family=Share+Tech+Mono&family=Rajdhani:wght@400;500;600;700&display=swap');

/* Override all headings with Orbitron */
.ev-brand,.v-sidebar-brand .brand-name,
h1.ev-brand,.ev-h1,.ev-tool-name,.ev-nav-label,
.v-hero-content h1,.v-price-card .plan-name,
.v-topbar h2 {
  font-family: 'Orbitron', monospace !important;
  letter-spacing: 2px !important;
}

/* Stats / mono values */
.v-stat .stat-val,.ev-stat-val,.v-credits,.ev-credits-val {
  font-family: 'Share Tech Mono', monospace !important;
  letter-spacing: 2px !important;
}

/* Body / nav readable */
body,.v-nav-item,.v-btn,.v-label,.ev-nav-item {
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 500 !important;
}

/* Neon glow on brand text */
.v-sidebar-brand .brand-name {
  font-family: 'Orbitron', monospace !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  background: linear-gradient(90deg,#00f5ff,#bf00ff,#ff006e,#00f5ff) !important;
  background-size: 300% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: evGradientShift 3s linear infinite, flicker 10s ease-in-out infinite !important;
}
@keyframes flicker {
  0%,94%,100%{opacity:1}
  95%{opacity:.5}96%{opacity:1}98%{opacity:.7}99%{opacity:1}
}

/* Neon active nav */
.v-nav-item.active {
  font-family: 'Orbitron', monospace !important;
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  color: #00f5ff !important;
  box-shadow: inset 0 0 30px rgba(0,245,255,.08), 0 0 12px rgba(0,245,255,.15) !important;
  text-shadow: 0 0 10px rgba(0,245,255,.8) !important;
  -webkit-text-fill-color: #00f5ff !important;
}

/* Hero H1 */
.v-hero-content h1 {
  font-family: 'Orbitron', monospace !important;
  font-size: 3.2rem !important;
  font-weight: 900 !important;
  letter-spacing: 4px !important;
  background: linear-gradient(90deg,#00f5ff,#bf00ff,#ff006e,#00ff88,#00f5ff) !important;
  background-size: 300% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: evGradientShift 3s linear infinite, flicker 10s ease-in-out infinite !important;
  filter: drop-shadow(0 0 20px rgba(0,245,255,.4)) !important;
}

/* Buttons */
.v-btn-primary {
  font-family: 'Orbitron', monospace !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 8px #00f5ff, 0 0 20px #00f5ff, 0 4px 30px rgba(0,245,255,.4) !important;
  animation: evLogoPulse 3s ease-in-out infinite !important;
}

/* Section headings */
h2,h3,h4 { font-family: 'Orbitron', monospace !important; letter-spacing: 1.5px !important; }

.ev-reveal,
.ev3-reveal,
.ev3-reveal:not(.ev3-in),
.v-glass,
.v-stat,
.v-tool,
.v-price-card,
.v-hero-content {
  opacity: 1 !important;
  visibility: visible !important;
}
