:root {
    --cyan: #00D4FF;
    --purple: #A855F7;
    --pink: #EC4899;
    --indigo: #635BFF;
    --stage-size: 520px;
    --stage-scale: 1;
}

.stage-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-robot-stage {
    width: var(--stage-size);
    height: var(--stage-size);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transform: scale(var(--stage-scale));
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
    flex-shrink: 0;
}

.hero-showcase-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    backface-visibility: hidden;
}

.hero-showcase-bg::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    width: 55%;
    height: 55%;
    background: radial-gradient(circle, rgba(99, 91, 255, .28) 0%, rgba(0, 212, 255, .15) 45%, transparent 70%);
    filter: blur(35px);
    animation: glowPulse 5s ease-in-out infinite;
    backface-visibility: hidden;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1) translateZ(0);
        opacity: .7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2) translateZ(0);
        opacity: 1;
    }
}

.hero-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(0, 212, 255, .3);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
}

.ring-1 {
    width: 42%;
    height: 42%;
    transform: translate(-50%, -50%) translateZ(0);
    animation: ringSpin1 40s linear infinite;
}

.ring-2 {
    width: 62%;
    height: 62%;
    border-style: solid;
    border-color: rgba(168, 85, 247, .2);
    transform: translate(-50%, -50%) translateZ(0);
    animation: ringSpin2 60s linear infinite;
}

.ring-3 {
    width: 82%;
    height: 82%;
    border-color: rgba(236, 72, 153, .15);
    transform: translate(-50%, -50%) translateZ(0);
    animation: ringSpin3 80s linear infinite;
}

@keyframes ringSpin1 {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateZ(0);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg) translateZ(0);
    }
}

@keyframes ringSpin2 {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateZ(0);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg) translateZ(0);
    }
}

@keyframes ringSpin3 {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateZ(0);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg) translateZ(0);
    }
}

.ring-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    backface-visibility: hidden;
}

.ring-dot span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateZ(0);
    pointer-events: none;
    backface-visibility: hidden;
}

.ring-dot span::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dot-color);
    box-shadow: 0 0 10px var(--dot-color), 0 0 20px var(--dot-color);
    transform: translateX(-50%) translate(var(--escape-x, 0px), var(--escape-y, 0px)) translateZ(0);
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .6s ease, opacity .6s ease;
    animation: dotPulse 3s ease-in-out infinite;
    animation-delay: var(--dot-delay, 0s);
    backface-visibility: hidden;
    will-change: transform;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 8px var(--dot-color), 0 0 16px var(--dot-color);
        opacity: .85;
    }

    50% {
        box-shadow: 0 0 18px var(--dot-color), 0 0 36px var(--dot-color), 0 0 50px var(--dot-color);
        opacity: 1;
    }
}

.ring-dot span.dot-md::before {
    width: 6px;
    height: 6px;
}

.ring-dot span.dot-sm::before {
    width: 4px;
    height: 4px;
    top: -2px;
    opacity: .7;
}

.ring-dot span.dot-lg::before {
    width: 10px;
    height: 10px;
    top: -5px;
}

.floating-item {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(99, 91, 255, .18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(99, 91, 255, .15), 0 0 20px rgba(99, 91, 255, .08);
    z-index: 20;
    white-space: nowrap;
    cursor: grab;
    pointer-events: auto;
    touch-action: none;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    transition: box-shadow .3s ease, border-color .3s ease;
}

.floating-item.dragging {
    z-index: 100;
    box-shadow: 0 20px 50px rgba(99, 91, 255, .4), 0 0 40px rgba(0, 212, 255, .3);
    border-color: rgba(0, 212, 255, .6);
}

.floating-item:active {
    cursor: grabbing;
}

.floating-item .orbit-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
    flex-shrink: 0;
    transform: translateZ(0);
}

.floating-item .orbit-icon svg {
    width: 14px;
    height: 14px;
    transform: translateZ(0);
}

.floating-item[data-service="cyber"] .orbit-icon {
    background: linear-gradient(135deg, #635BFF, #0075FF);
}

.floating-item[data-service="ai"] .orbit-icon {
    background: linear-gradient(135deg, #00D4FF, #10A37F);
}

.floating-item[data-service="web"] .orbit-icon {
    background: linear-gradient(135deg, #A855F7, #EC4899);
}

.floating-item[data-service="software"] .orbit-icon {
    background: linear-gradient(135deg, #10A37F, #00D4FF);
}

.floating-item[data-service="brand"] .orbit-icon {
    background: linear-gradient(135deg, #EC4899, #FBBF24);
}

.floating-item[data-service="seo"] .orbit-icon {
    background: linear-gradient(135deg, #0075FF, #635BFF);
}

.floating-item[data-service="ecommerce"] .orbit-icon {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
}

.robot {
    width: 180px;
    height: 270px;
    position: relative;
    filter: drop-shadow(0 15px 12px rgba(0, 0, 0, .08));
    animation: floatAnim 4s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.robot * {
    pointer-events: none;
    backface-visibility: hidden;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0px) translateZ(0);
    }

    50% {
        transform: translateY(-8px) translateZ(0);
    }
}

.antenna {
    position: absolute;
    width: 4px;
    height: 52px;
    top: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #111923, #58616c 42%, #111923);
    z-index: 1;
}

.antenna::before {
    content: "";
    position: absolute;
    top: -7px;
    left: -5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(110deg, #0d1219, #515a65 45%, #080d13);
    box-shadow: inset 2px 2px 2px #737b84, 0 2px 4px rgba(0, 0, 0, .2);
}

.antenna.a1 {
    left: 35%;
}

.antenna.a2 {
    left: 62%;
}

.ear {
    position: absolute;
    top: 75px;
    width: 12px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(90deg, #202a36, #dbe1e8 45%, #f9fafb 65%, #8995a3);
    z-index: 0;
    box-shadow: inset -1px 0 2px rgba(0, 0, 0, .2), 0 1px 2px rgba(0, 0, 0, .1);
}

.ear.left {
    left: 8%;
}

.ear.right {
    right: 8%;
    transform: scaleX(-1) translateZ(0);
}

.head {
    position: absolute;
    top: 28px;
    left: 50%;
    width: 75%;
    height: 120px;
    transform: translateX(-50%) translateZ(0);
    border-radius: 48% 48% 42% 42% / 45% 45% 38% 38%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .98) 0 10%, transparent 40%),
        linear-gradient(110deg, #cbd2db 0%, #fff 17%, #f6f7f9 47%, #d9dfe6 76%, #fff 90%, #b8c2ce 100%);
    box-shadow: inset 5px 4px 9px #fff, inset -6px -8px 12px rgba(126, 141, 158, .25), 0 6px 10px rgba(32, 45, 59, .12);
    border: 1px solid #e4e8ed;
}

.head::before {
    content: "";
    position: absolute;
    inset: 8px 14px auto 16px;
    height: 30px;
    border-radius: 50%;
    border-top: 2px solid rgba(255, 255, 255, .9);
    transform: rotate(-8deg) translateZ(0);
    filter: blur(1px);
}

.screen {
    position: absolute;
    top: 38px;
    left: 8%;
    width: 84%;
    height: 52px;
    border-radius: 16px;
    background: radial-gradient(ellipse at 30% 50%, rgba(127, 196, 240, .15) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 50%, rgba(127, 196, 240, .15) 0%, transparent 40%),
        linear-gradient(180deg, #05080d, #111923 75%, #020509);
    border: 3px solid #edf0f4;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, .15), 0 1px 3px rgba(170, 179, 190, .8);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    transform: translateZ(0);
}

.eye {
    position: relative;
    width: 22px;
    height: 34px;
    border-radius: 50% 50% 50% 50% / 65% 65% 40% 40%;
    background: radial-gradient(ellipse at 35% 15%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(ellipse at 50% 40%, #fff 0%, #f8fbff 30%, #e8f4fc 60%, #c5dff0 85%, #8fb8d4 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25), inset 0 -2px 5px rgba(0, 0, 0, .35), inset 2px 0 4px rgba(0, 0, 0, .15),
        inset -2px 0 4px rgba(0, 0, 0, .15), 0 0 8px rgba(127, 196, 240, .6), 0 0 16px rgba(0, 212, 255, .3);
    overflow: hidden;
    transform-origin: center center;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
    transform: translateZ(0);
}

.eye::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .4) 20%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .4) 80%, transparent);
    border-radius: 50%;
    filter: blur(.5px);
    z-index: 4;
}

.iris {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .3) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, #000 0%, #000 32%, #0a1e35 35%, #143d66 42%, #1e5a8a 52%, #3d8fc4 65%, #6bb6e0 78%, #4a8ec2 90%, #0d2840 100%);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, .9), inset 0 -1px 2px rgba(0, 0, 0, .6), 0 0 4px rgba(61, 143, 196, .6);
    transition: transform .15s ease-out;
    will-change: transform;
}

.iris::before {
    content: "";
    position: absolute;
    top: 12%;
    left: 18%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .8) 40%, transparent 100%);
    box-shadow: 0 0 3px rgba(255, 255, 255, .9);
}

.iris::after {
    content: "";
    position: absolute;
    bottom: 18%;
    right: 22%;
    width: 2.5px;
    height: 2.5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .5) 50%, transparent 100%);
}

.eyelid,
.eyelid-bottom {
    position: absolute;
    left: -2px;
    right: -2px;
    height: 0%;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(180deg, #0d1520, #0a1219 30%, #111923 60%, rgba(17, 25, 35, .98) 85%, rgba(20, 30, 42, .95));
    transition: height .25s cubic-bezier(.4, 0, .2, 1);
    transform: translateZ(0);
}

.eyelid {
    top: 0;
    border-radius: 50% / 100% 100% 0 0;
    transform-origin: top center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}

.eyelid-bottom {
    bottom: 0;
    border-radius: 50% / 0 0 100% 100%;
    transform-origin: bottom center;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .7);
    background: linear-gradient(0deg, #0d1520, #0a1219 30%, #111923 60%, rgba(17, 25, 35, .98) 85%, rgba(20, 30, 42, .95));
}

.eye.closed .eyelid,
.eye.closed .eyelid-bottom {
    height: 52%;
}

.eye.auto-blink .eyelid,
.eye.auto-blink .eyelid-bottom {
    height: 52%;
    transition: height .08s ease-out;
}

.neck {
    position: absolute;
    top: 144px;
    left: 43%;
    width: 14%;
    height: 18px;
    background: linear-gradient(90deg, #aeb8c4, #f8fafc 35%, #d5dce4 70%, #aab5c2);
    border-radius: 0 0 8px 8px;
    transform: translateZ(0);
}

.neck::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -3px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(#f9fafb, #aeb8c4);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

.body {
    position: absolute;
    top: 156px;
    left: 50%;
    width: 56%;
    height: 118px;
    transform: translateX(-50%) translateZ(0);
    border-radius: 45% 45% 47% 47% / 26% 26% 55% 55%;
    background: radial-gradient(ellipse at 28% 22%, #fff 0 8%, transparent 45%),
        linear-gradient(105deg, #cbd4de 0%, #fff 19%, #f6f8fa 43%, #e0e5eb 72%, #fff 87%, #b8c3cf 100%);
    border: 1px solid #e2e7ec;
    box-shadow: inset 5px 4px 9px rgba(255, 255, 255, .95), inset -8px -8px 12px rgba(126, 141, 158, .2);

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 3px !important;

}

.body::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 17%;
    width: 53%;
    height: 14px;
    border-top: 2px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    transform: rotate(-5deg) translateZ(0);
}

.arm {
    position: absolute;
    top: 168px;
    width: 26px;
    height: 65px;
    border-radius: 48% 48% 42% 42%;
    background: linear-gradient(90deg, #bdc7d2, #fff 35%, #f0f3f6 68%, #b5c0cc);
    border: 1px solid #d9e0e7;
    box-shadow: inset -2px -2px 4px rgba(126, 141, 158, .2);
    transform: translateZ(0);
}

.arm.left {
    left: 18%;
    transform: rotate(12deg) translateZ(0);
}

.arm.right {
    right: 18%;
    transform: rotate(-12deg) translateZ(0);
}

.arm::after {
    content: "";
    position: absolute;
    left: 20%;
    top: 12%;
    height: 68%;
    width: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    filter: blur(1px);
}

.floor-shadow {
    position: absolute;
    width: 70%;
    height: 14px;
    left: 15%;
    bottom: -12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .1);
    filter: blur(10px);
    transform: translateZ(0);
}
