

.ai-viz { width: 100%; height: auto; max-width: 480px; margin: 0 auto; display: block; overflow: visible; }

.ai-node { transform-box: fill-box; transform-origin: center; animation: aiNode 3s ease-in-out infinite; }
@keyframes aiNode { 0%,100% { opacity: .55; transform: scale(.82); } 50% { opacity: 1; transform: scale(1); } }

.ai-syn { stroke-dasharray: 3 7; animation: aiSyn 1.6s linear infinite; }
@keyframes aiSyn { to { stroke-dashoffset: -20; } }

.ai-pulse { opacity: .9; }

.ai-core { transform-box: fill-box; transform-origin: center; animation: aiCore 3.4s ease-in-out infinite; }
@keyframes aiCore { 0%,100% { transform: scale(.97); } 50% { transform: scale(1.04); } }
.ai-ring { fill: none; transform-box: fill-box; transform-origin: center; animation: aiRing 2.8s ease-out infinite; }
@keyframes aiRing { 0% { transform: scale(.7); opacity: .85; } 70% { transform: scale(1.3); opacity: 0; } 100% { opacity: 0; } }

.ai-bubble { transform-box: fill-box; opacity: 0; animation: aiBubble 6s ease-in-out infinite; }
.ai-bubble-1 { animation-delay: .3s; }
.ai-bubble-2 { animation-delay: 1.6s; }
.ai-bubble-3 { animation-delay: 3s; }
@keyframes aiBubble {
  0%, 4% { opacity: 0; transform: translateY(8px); }
  10%, 40% { opacity: 1; transform: translateY(0); }
  48%, 100% { opacity: .25; transform: translateY(0); }
}

.ai-dot { animation: aiDot 1.2s ease-in-out infinite; }
.ai-dot-2 { animation-delay: .2s; }
.ai-dot-3 { animation-delay: .4s; }
@keyframes aiDot { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

.ai-chip { animation: aiNode 4.5s ease-in-out infinite; }
.ai-chip rect { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.18); }
.ai-chip text { fill: #fff; font-family: var(--font-mono); font-size: 10.5px; }

@media (prefers-reduced-motion: reduce){
  .ai-node, .ai-syn, .ai-core, .ai-ring, .ai-bubble, .ai-dot, .ai-chip { animation: none; opacity: 1; }
}
