/* ===================================================================
   Robot Visual – Layout & Visual Styles
   Converted from Tailwind / React inline styles
   =================================================================== */

.axion-robot-visual {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 3rem;
}

/* --- Gradient background (matches .gradient-bg from the React project) --- */
.axion-robot-visual .rv-gradient-bg {
    background: linear-gradient(135deg, #2d69fb 0%, #d278fe 100%);
}

/* -----------------------------------------------------------------------
   Background Atmosphere – Rising Columns
   ----------------------------------------------------------------------- */
.rv-columns {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    opacity: 0.1;
    padding: 0 2rem;
}

.rv-column {
    width: 1rem;
    background: rgba(59, 130, 246, 0.4);
    border-radius: 0.5rem 0.5rem 0 0;
    height: 10%;
}

/* -----------------------------------------------------------------------
   Orbital SVG Paths
   ----------------------------------------------------------------------- */
.rv-orbits {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.rv-orbit-path {
    opacity: 0;
}

/* -----------------------------------------------------------------------
   Robot Core – floating container
   ----------------------------------------------------------------------- */
.rv-core {
    position: relative;
    z-index: 20;
    width: 16rem;
    height: 18rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* -----------------------------------------------------------------------
   Field Glow
   ----------------------------------------------------------------------- */
.rv-field-glow {
    position: absolute;
    inset: 0;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 9999px;
    filter: blur(60px);
}

/* -----------------------------------------------------------------------
   Head Shell
   ----------------------------------------------------------------------- */
.rv-head-wrapper {
    position: relative;
    width: 11rem;
    height: 13rem;
}

.rv-head-shell {
    position: absolute;
    inset: 0;
    border-radius: 3.5rem;
    background: linear-gradient(135deg, #2d69fb 0%, #d278fe 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 80px rgba(45, 105, 251, 0.5);
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 600px;
}

/* -----------------------------------------------------------------------
   Internal Scanning Grid
   ----------------------------------------------------------------------- */
.rv-grid {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

/* -----------------------------------------------------------------------
   Eyes
   ----------------------------------------------------------------------- */
.rv-eyes {
    position: absolute;
    top: 33.33%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.rv-eye {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rv-eye-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    transform: rotate(45deg);
}

.rv-eye-pupil {
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 9999px;
    box-shadow: 0 0 20px white;
}

/* -----------------------------------------------------------------------
   Data Processing Mouth
   ----------------------------------------------------------------------- */
.rv-mouth {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 0.375rem;
    height: 2rem;
}

.rv-mouth-bar {
    width: 0.375rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
}

/* -----------------------------------------------------------------------
   Scanning Beam
   ----------------------------------------------------------------------- */
.rv-scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* -----------------------------------------------------------------------
   Side Antennas
   ----------------------------------------------------------------------- */
.rv-antenna {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 4rem;
    background: linear-gradient(135deg, #2d69fb 0%, #d278fe 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rv-antenna-left {
    left: -1.5rem;
}

.rv-antenna-right {
    right: -1.5rem;
}

.rv-antenna-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    padding: 0.75rem 0;
}

.rv-antenna-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: white;
}

/* -----------------------------------------------------------------------
   Neck / Base Connection
   ----------------------------------------------------------------------- */
.rv-neck {
    width: 3rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #2d69fb 0%, #d278fe 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 0.75rem 0.75rem;
}

/* -----------------------------------------------------------------------
   Floating Energy Base
   ----------------------------------------------------------------------- */
.rv-energy-base {
    width: 6rem;
    height: 0.75rem;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 9999px;
    filter: blur(16px);
    margin-top: 1rem;
}

/* -----------------------------------------------------------------------
   Floating Particles
   ----------------------------------------------------------------------- */
.rv-particles {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.rv-particle {
    position: absolute;
    width: 0.25rem;
    height: 0.25rem;
    background: #93c5fd;
    border-radius: 9999px;
    opacity: 0;
    bottom: 0;
    left: 50%;
}

/* -----------------------------------------------------------------------
   Responsive – Tablet
   ----------------------------------------------------------------------- */
@media (max-width: 768px) {
    .rv-core {
        width: 12rem;
        height: 14rem;
    }
    .rv-head-wrapper {
        width: 8.5rem;
        height: 10rem;
    }
    .rv-eyes {
        gap: 1.8rem;
    }
    .rv-eye {
        width: 2rem;
        height: 2rem;
    }
    .rv-eye-pupil {
        width: 0.75rem;
        height: 0.75rem;
    }
    .rv-antenna {
        height: 3rem;
        width: 0.75rem;
    }
    .rv-column {
        width: 0.6rem;
    }
}

/* -----------------------------------------------------------------------
   Responsive – Mobile
   ----------------------------------------------------------------------- */
@media (max-width: 480px) {
    .rv-core {
        width: 9rem;
        height: 11rem;
    }
    .rv-head-wrapper {
        width: 7rem;
        height: 8.5rem;
    }
    .rv-head-shell {
        border-radius: 2.5rem;
    }
    .rv-eyes {
        gap: 1.2rem;
    }
    .rv-eye {
        width: 1.5rem;
        height: 1.5rem;
    }
    .rv-eye-pupil {
        width: 0.6rem;
        height: 0.6rem;
    }
    .rv-antenna {
        height: 2.5rem;
        width: 0.6rem;
    }
    .rv-antenna-left { left: -1rem; }
    .rv-antenna-right { right: -1rem; }
    .rv-neck {
        width: 2rem;
        height: 1rem;
    }
    .rv-energy-base {
        width: 4rem;
    }
    .rv-column {
        width: 0.4rem;
    }
    .rv-columns {
        padding: 0 1rem;
    }
}
