

/* ================= DESKTOP APP ================= */

.apps-robotics {
    position: relative;
    height: 260px;
}

.desktop-app {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 210px;
    height: 150px;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(199,125,255,0.45);
    border-radius: 8px;
    overflow: hidden;
}

.desktop-screen {
    position: absolute;
    top: 16px;         
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: rgba(0,0,0,0.35);
    border-radius: 4px;
    overflow: hidden;
}

.desktop-ui {
    padding: 8px;
    font-size: 13px;
    line-height: 1.3;
}

.desktop-header {
    height: 16px;
    background: rgba(199,125,255,0.35);
    border-radius: 6px 6px 0 0;
    position: relative;
    z-index: 2;
}

.ui-line {
    height: 8px;
    background: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    border-radius: 4px;
    animation: uiScroll 2.5s linear infinite;
}

.ui-line.short {
    width: 60%;
}

@keyframes uiScroll {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}



/* ================= MOBILE APP ================= */

.mobile-app {
    position: absolute;
    right: 20px;
    top: 80px;
    width: 90px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(199,125,255,0.45);
    border-radius: 14px;
    overflow: hidden; /* IMPORTANT */
}


.mobile-screen {
    position: absolute;
    top: 6px;
    left: 16px;
    right: 6px;
    bottom: 6px;
    background: rgba(0,0,0,0.35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-ui {
    text-align: center;
}

.mobile-screen .dot {
    width: 6px;
    height: 6px;
    background: #c77dff;
    border-radius: 50%;
    animation: dotBlink 1.5s infinite alternate;
}

.mobile-screen .dot:nth-child(2) {
    animation-delay: 0.5s;
}

.mobile-screen .dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes dotBlink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* ================= ROBOT ================= */

.robot {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    text-align: center;
}

.robot-head {
    width: 50px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.robot-eye {
    width: 10px;
    height: 10px;
    background: #c77dff;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    animation: eyeBlink 3s infinite;
}

@keyframes eyeBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0; }
}

.robot-body {
    width: 60px;
    height: 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 0 0 10px 10px;
    margin: 4px auto 0;
}

/* ================= DATA PULSE ================= */

.data-pulse {
    position: absolute;
    bottom: 70px;
    left: 50%;
    width: 2px;
    height: 90px;
    background: linear-gradient(
        to top,
        transparent,
        rgba(199,125,255,0.7),
        transparent
    );
    animation: pulseFlow 2s linear infinite;
}

@keyframes pulseFlow {
    0% { opacity: 0; transform: translateY(10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* ---------- DESKTOP ALERT ---------- */

.desktop-alert {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 11px;
    padding: 4px 8px;
    background: rgba(255, 60, 60, 0.15);
    border: 1px solid rgba(255, 60, 60, 0.6);
    border-radius: 6px;
    color: #ffb3b3;
    opacity: 0;
    animation: alertPulse 6s infinite;
}

@keyframes alertPulse {
    0%, 60% { opacity: 0; }
    70%, 85% { opacity: 1; }
    100% { opacity: 0; }
}

/* ---------- ROBOT HEAD TILT ---------- */

.robot-head {
    animation: headTilt 6s ease-in-out infinite;
}

@keyframes headTilt {
    0%, 100% { transform: rotate(0deg); }
    40% { transform: rotate(2deg); }
    70% { transform: rotate(-2deg); }
}

/* ---------- ROBOT BRAIN GLOW ---------- */

.robot-brain {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 24px;
    height: 12px;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(199,125,255,0.9),
        transparent
    );
    opacity: 0.6;
    animation: brainPulse 2.5s infinite;
}

@keyframes brainPulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

/* ---------- SYNC BEAM ---------- */

.sync-beam {
    position: absolute;
    top: 110px;
    left: 40%;
    width: 120px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(199,125,255,0.8),
        transparent
    );
    animation: syncFlow 2s linear infinite;
}

@keyframes syncFlow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
/* ================= MULTI ROBOT ================= */

.robot {
    position: absolute;
    bottom: 18px;
    width: 70px;
    text-align: center;
}

.robot-a { left: 42%; }
.robot-b { left: 55%; }

.robot-head {
    width: 46px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    margin: 0 auto;
    position: relative;
    animation: headTilt 6s ease-in-out infinite;
}

.robot-eye {
    width: 8px;
    height: 8px;
    background: #c77dff;
    border-radius: 50%;
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    animation: eyeBlink 3s infinite;
}

@keyframes eyeBlink {
    0%,90%,100% { opacity: 1; }
    95% { opacity: 0; }
}

.robot-brain {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 22px;
    height: 10px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(199,125,255,0.9), transparent);
    animation: brainPulse 2.5s infinite;
}

@keyframes brainPulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.9; }
    100% { opacity: 0.3; }
}

.robot-body {
    width: 56px;
    height: 26px;
    background: rgba(255,255,255,0.15);
    border-radius: 0 0 10px 10px;
    margin: 4px auto 0;
}


/* ================= SYNC VISUALS ================= */

.sync-beam {
    position: absolute;
    top: 110px;
    left: 38%;
    width: 160px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(199,125,255,0.8), transparent);
    animation: syncFlow 2s linear infinite;
}

@keyframes syncFlow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
/* ================= WALL-E STYLE ROBOT ================= */

.walle-robot {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    text-align: center;
}

/* ---------- HEAD ---------- */

.walle-head {
    width: 70px;
    height: 36px;
    background: #d9c36a;
    border-radius: 6px;
    margin: 0 auto;
    position: relative;
    animation: headTilt 6s ease-in-out infinite;
}

.eye {
    position: absolute;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #222;
    border-radius: 50%;
    overflow: hidden;
}

.eye::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background: #c77dff;
    border-radius: 50%;
    animation: eyeScan 4s infinite;
}

.eye-left { left: 10px; }
.eye-right { right: 10px; }

@keyframes eyeScan {
    0%,100% { transform: translateX(0); }
    40% { transform: translateX(4px); }
    70% { transform: translateX(-3px); }
}

@keyframes headTilt {
    0%,100% { transform: rotate(0deg); }
    40% { transform: rotate(3deg); }
    70% { transform: rotate(-3deg); }
}

/* ---------- NECK ---------- */

.walle-neck {
    width: 10px;
    height: 8px;
    background: #aaa;
    margin: 2px auto;
}

/* ---------- BODY ---------- */

.walle-body {
    width: 90px;
    height: 55px;
    background: #f0d97a;
    border-radius: 6px;
    margin: 0 auto;
    position: relative;
}

.panel {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 40px;
    height: 16px;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.25);
    border-radius: 3px;
}

/* ---------- TRACKS ---------- */

.walle-tracks {
    display: flex;
    justify-content: space-between;
    width: 100px;
    margin: 6px auto 0;
}

.track {
    width: 20px;
    height: 26px;
    background: #333;
    border-radius: 4px;
    position: relative;
}

.track::before,
.track::after {
    content: "";
    position: absolute;
    left: 3px;
    width: 14px;
    height: 4px;
    background: #555;
}

.track::before { top: 6px; }
.track::after  { bottom: 6px; }

/* ================= ROBOT CAT ================= */

.robot-cat {
    position: absolute;
    bottom: 20px;
    left: -60px;
    width: 48px;
    height: 24px;
    animation: catRunTalk 20s linear infinite;
    z-index: 3;

    transform: scale(1.9); /* ← increase size */
    transform-origin: bottom left;
}


/* BODY */
.cat-body {
    position: absolute;
    width: 32px;
    height: 14px;
    background: rgba(255,255,255,0.85);
    border-radius: 6px;
    right: 12px;
    top: 6px;
}

/* HEAD */
.cat-head {
    position: absolute;
    width: 12px;
    height: 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 4px;
    right: 0;
    top: 4px;
    animation: catHead 20s linear infinite;
}

/* LEGS */
.cat-leg {
    position: absolute;
    width: 4px;
    height: 9px;
    background: #c77dff;
    bottom: 0;
    animation: legMoveSlow 0.3s ease-in-out infinite alternate;
}

.cat-leg.front { right: 20px; }
.cat-leg.back  { right: 36px; animation-delay: 0.6s; }

/* TAIL */
.cat-tail {
    position: absolute;
    width: 14px;
    height: 4px;
    background: rgba(199,125,255,0.8);
    left: -8px;
    top: 10px;
    border-radius: 4px;
    transform-origin: right center;
    animation: tailWag 0.8s ease-in-out infinite;
}

/* MESSAGE */
.cat-msg {
    position: absolute;
    bottom: 32px;
    left: 6px;
    padding: 4px 6px;
    font-size: 13px;
    background: white;
    color: #333;
    border-radius: 6px;
    opacity: 0;
    animation: catTalk 20s linear infinite;
}

/* ================= WALL·E MESSAGE ================= */

.walle-msg {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    padding: 4px 6px;
    background: white;
    color: #333;
    border-radius: 6px;
    opacity: 0;
    animation: WALLE_REPLY 14s linear infinite;
    z-index: 4;
}

@keyframes WALLE_REPLY {
    0%, 50% { opacity: 0; }   /* silent before cat */
    52%, 62% { opacity: 1; } /* replies AFTER cat */
    67%, 100% { opacity: 0; }
}



/* ================= MASTER TIMELINE ================= */

@keyframes catRunTalk {
    0%   { left: -60px; opacity: 0; }
    5%   { opacity: 1; }

    40%  { transform: translateX(45%); }   /* cat passes WALL·E */
    70%  { transform: translateX(75%); }   /* keeps walking */

    90%  { left: 110%; opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

/* walking → sitting legs */
@keyframes catLegs {
    0%, 35%, 100% { transform: rotate(10deg); }
    40%, 50% { transform: rotate(80deg); } /* folded legs */
}

/* head looks up while sitting */
@keyframes catHead {
    0%, 35%, 100% { transform: rotate(0deg); }
    40%, 50% { transform: rotate(-20deg); }
}

/* message only while sitting */
@keyframes catTalk {
    0%, 35% { opacity: 0; }
    42%, 50% { opacity: 1; }
    55%, 100% { opacity: 0; }
}
@keyframes tailWag {
    from { transform: rotate(20deg); }
    to   { transform: rotate(-20deg); }
}

@keyframes legMoveSlow {
    from { transform: rotate(10deg); }
    to   { transform: rotate(-10deg); }
}.mobile-screen {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: rgba(0,0,0,0.35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-ui {
    text-align: center;
}

/* DESKTOP TEXT */
.ui-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffffff;
}

.ui-text.live {
    color: #c77dff;
    animation: textPulse 2s infinite;
}
.ui-text {
    font-size: 12px;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.85);
}

/* blinking live status */
.ui-text.live {
    color: #c77dff;
    font-weight: 600;
    animation: liveBlink 1.4s ease-in-out infinite;
}

@keyframes liveBlink {
    0%   { opacity: 1; }
    50%  { opacity: 0.3; }
    100% { opacity: 1; }
}


.mobile-ui {
    width: 100%;
    text-align: center;
}

.mobile-title {
    font-size: 11px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

.mobile-status {
    font-size: 10px;
    color: #c77dff;
    margin-bottom: 4px;
}

.mobile-sub {
    font-size: 9px;
    color: rgba(255,255,255,0.65);
}


.mobile-scroll {
    position: absolute;
    bottom: -100%;
    width: 100%;
    padding: 8px 6px;
    animation: mobileScroll 10s linear infinite;
}

.mobile-line {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
    text-align: center;
}

/* scrolling animation */
@keyframes mobileScroll {
    0%   { transform: translateY(100%); }
    100% { transform: translateY(-120%); }
}

/* ===== MOBILE APP ===== */

.mobile-app {
    position: absolute;
    right: 40px;
    top: 60px;
    width: 74px;
    height: 136px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(199,125,255,0.45);
    border-radius: 16px;
}

.mobile-screen {
    position: absolute;
    inset: 4px;
    background: linear-gradient(
        180deg,
        rgba(20,20,30,0.95),
        rgba(10,10,20,0.95)
    );
    border-radius: 12px;
    overflow: hidden;
}

/* ===== APP FEED ===== */

.app-feed {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.feed-track {
    position: absolute;
    width: 100%;
    animation: appScroll 8s linear infinite;
}

/* ===== PRODUCT CARD ===== */

.product-card {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    margin-bottom: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
}

/* product image placeholder */
.prod-thumb {
    width: 16px;
    height: 16px;
    background: linear-gradient(
        135deg,
        #c77dff,
        #5a189a
    );
    border-radius: 4px;
    animation: thumbPulse 2.5s infinite;
}

@keyframes thumbPulse {
    0%,100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.prod-text {
    font-size: 9px;
    line-height: 1.3;
    color: white;
}

.prod-title {
    font-weight: 600;
    white-space: nowrap;
}

.prod-price {
    color: #c77dff;
    font-size: 8.5px;
}

.prod-status {
    font-size: 8px;
    opacity: 0.8;
}

.prod-status.warn {
    color: #ffcc00;
}

@keyframes appScroll {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}


