/* ── Suan Ai Group — 3D logo (suan-logo.js bilan ishlaydi) ── */
.suan-logo { --size: 120px; --k: 1; position: relative; width: var(--size); height: var(--size); perspective: calc(1200px * var(--k)); flex: none; }
.suan-logo .tilt, .suan-logo .turn, .suan-logo .float, .suan-logo .stage, .suan-logo .layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.suan-logo .tilt { transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .5s ease-out; }
.suan-logo .turn { animation: suan-turn 9s cubic-bezier(.5, 0, .25, 1) infinite; }
.suan-logo .float { animation: suan-float 6s ease-in-out infinite; }
.suan-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; backface-visibility: visible; transform: translateZ(calc(var(--z) * 1px * var(--k))); }
.suan-logo .glint { stroke: #fff; stroke-width: 14; opacity: .8; stroke-dasharray: 60 940; animation: suan-glint linear infinite; }
.suan-logo .pulse { stroke: #eafffb; stroke-width: 12; stroke-dasharray: 40 460; animation: suan-flow 2.2s linear infinite; filter: drop-shadow(0 0 18px #5fe3d0); }
.suan-logo .spark { fill: #f2fffd; stroke: none; transform-box: fill-box; transform-origin: center; animation: suan-spark 2.2s ease-in-out infinite; }
.suan-logo .glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(63, 191, 178, .32), transparent); filter: blur(calc(14px * var(--k))); animation: suan-breathe 4s ease-in-out infinite; }
.suan-logo .shadow { position: absolute; left: 22%; right: 22%; bottom: -2%; height: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(95, 227, 208, .3), transparent); animation: suan-shadow 6s ease-in-out infinite; }

@keyframes suan-turn { 0%, 62% { transform: rotateY(0); } 82%, 100% { transform: rotateY(360deg); } }
@keyframes suan-float { 0%, 100% { transform: rotateY(-12deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(12deg) rotateX(-3deg) translateY(calc(-10px * var(--k))); } }
@keyframes suan-glint { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes suan-flow { from { stroke-dashoffset: 500; } to { stroke-dashoffset: 0; } }
@keyframes suan-spark { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes suan-breathe { 0%, 100% { opacity: .7; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes suan-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.86); opacity: .65; } }
@media (prefers-reduced-motion: reduce) {
  .suan-logo .turn, .suan-logo .float, .suan-logo .glint, .suan-logo .pulse, .suan-logo .spark, .suan-logo .glow, .suan-logo .shadow { animation: none; }
}
