@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap');

/* CSS RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    overflow: hidden;
    user-select: none;
    font-family: 'Orbitron', sans-serif;
    color: white;
    height: 100vh;
    width: 100vw;
}

/* UTILITIES */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

.z-5 {
    z-index: 5;
}

.z-0 {
    z-index: 0;
}

.flex {
    display: flex;
}

.hidden {
    display: none;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.w-screen {
    width: 100vw;
}

.max-w-6xl {
    max-width: 72rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-16 {
    margin-top: 4rem;
}

.top-12 {
    top: 3rem;
}

.top-\[-20px\] {
    top: -20px;
}

.left-0 {
    left: 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.font-bold {
    font-weight: 700;
}

.font-mono {
    font-family: 'Share Tech Mono', monospace;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-\[0\.3em\] {
    letter-spacing: 0.3em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.leading-tight {
    line-height: 1.25;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-2xl {
    border-radius: 1rem;
}

.border {
    border-width: 1px;
}

.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.overflow-hidden {
    overflow: hidden;
}

.opacity-0 {
    opacity: 0;
}

.opacity-80 {
    opacity: 0.8;
}

.transition-all {
    transition-property: all;
}

.transition-opacity {
    transition-property: opacity;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-1000 {
    transition-duration: 1000ms;
}

.stroke-1 {
    stroke-width: 1;
}

.rotate-\[-90deg\] {
    transform: rotate(-90deg);
}

/* COLOR UTILITIES */
.text-sky-300 {
    color: #60A1D7;
}

.text-neon-blue {
    color: #60A1D7;
}

.text-neon-gold {
    color: #fbbf24;
}

.border-sky-900\/50 {
    border-color: rgba(3, 55, 105, 0.5);
}

.border-neon-gold\/30 {
    border-color: rgba(251, 191, 36, 0.3);
}

.border-neon-gold\/50 {
    border-color: rgba(251, 191, 36, 0.5);
}

.bg-deep\/50 {
    background-color: rgba(15, 23, 42, 0.5);
}

.bg-neon-gold\/10 {
    background-color: rgba(251, 191, 36, 0.1);
}

.bg-neon-gold\/30 {
    background-color: rgba(251, 191, 36, 0.3);
}

/* ATMOSPHERE & GRID */
.bg-sky-atmosphere {
    background: radial-gradient(ellipse at top, #60A1D7 0%, #033769 40%, #0f172a 100%);
}

.bg-neon-grid {
    background-image:
        linear-gradient(rgba(96, 161, 215, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 161, 215, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    perspective: 1000px;
    transform: rotateX(60deg) scale(2);
    transform-origin: top center;
    opacity: 0.3;
}

/* GLOW TEXT */
.glow-text-blue {
    text-shadow: 0 0 15px #60A1D7, 0 0 30px #033769, 0 0 45px #FF5900;
}

.glow-text-gold {
    text-shadow: 0 0 20px #fbbf24, 0 0 40px #fbbf24;
}

/* GLASS PANEL */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 161, 215, 0.3);
}

/* HAND INTERACTION STYLES */
.hand-sensor {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

/* LEFT SENSOR - BLUE NEON */
.left-sensor.active {
    transform: scale(1.05);
    background: rgba(96, 161, 215, 0.25);
    box-shadow: 0 0 30px rgba(96, 161, 215, 0.8), 0 0 60px rgba(96, 161, 215, 0.5), inset 0 0 20px rgba(96, 161, 215, 0.3);
    border-color: #60A1D7;
}

/* RIGHT SENSOR - ORANGE NEON */
.right-sensor.active {
    transform: scale(1.05);
    background: rgba(255, 89, 0, 0.25);
    box-shadow: 0 0 30px rgba(255, 89, 0, 0.8), 0 0 60px rgba(255, 89, 0, 0.5), inset 0 0 20px rgba(255, 89, 0, 0.3);
    border-color: #FF5900;
}

/* NEON HAND ICON */
.neon-hand-icon {
    color: rgba(96, 161, 215, 0.6);
    filter: drop-shadow(0 0 5px rgba(96, 161, 215, 0.8));
    transition: all 0.3s ease;
}

.hand-sensor.active .neon-hand-icon {
    color: #fff;
    filter: drop-shadow(0 0 15px #FF5900) drop-shadow(0 0 30px #60A1D7) drop-shadow(0 0 45px #FF5900);
    animation: pulse-fast 1s infinite;
}

/* CONNECTION BEAM */
.connection-beam {
    height: 4px;
    background: #60A1D7;
    box-shadow: 0 0 15px #60A1D7, 0 0 30px #033769;
    width: 0%;
    transition: width 0.1s linear;
}

/* MIRROR X */
.mirror-x {
    transform: scaleX(-1);
}

/* LOGO STYLES */
.company-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 10px rgba(96, 161, 215, 0.6));
    transition: all 0.3s ease;
}

.group:hover .company-logo {
    filter: drop-shadow(0 0 20px rgba(96, 161, 215, 0.9));
}

.hand-sensor.active+.text-center .company-logo {
    filter: drop-shadow(0 0 25px rgba(255, 89, 0, 1)) drop-shadow(0 0 35px rgba(96, 161, 215, 0.8));
    transform: scale(1.05);
}

/* LOGO INSIDE BUTTON */
.company-logo-inside {
    width: 100px;
    height: 100px;
    transition: all 0.3s ease;
    z-index: 10;
}

@media (min-width: 768px) {
    .company-logo-inside {
        width: 140px;
        height: 140px;
    }
}

.left-sensor .company-logo-inside {
    filter: drop-shadow(0 0 5px rgba(96, 161, 215, 0.3));
}

.left-sensor.active .company-logo-inside {
    filter: drop-shadow(0 0 20px rgba(96, 161, 215, 1)) drop-shadow(0 0 40px rgba(96, 161, 215, 0.6));
    transform: scale(1.08);
}

.right-sensor .company-logo-inside {
    filter: drop-shadow(0 0 5px rgba(255, 89, 0, 0.3));
}

.right-sensor.active .company-logo-inside {
    filter: drop-shadow(0 0 20px rgba(255, 89, 0, 1)) drop-shadow(0 0 40px rgba(255, 89, 0, 0.6));
    transform: scale(1.08);
}

.success-logo {
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6));
}

/* ANIMATIONS */
@keyframes pulse-fast {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes sky-drift {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse-fast {
    animation: pulse-fast 0.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-pop-in {
    animation: pop-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-sky-drift {
    animation: sky-drift 60s linear infinite;
}

.animate-\[pop-in_0\.8s_ease-out_0\.3s_forwards\] {
    animation: pop-in 0.8s ease-out 0.3s forwards;
}

.animate-\[pop-in_0\.8s_ease-out_0\.6s_forwards\] {
    animation: pop-in 0.8s ease-out 0.6s forwards;
}

.animate-\[pop-in_0\.8s_ease-out_0\.9s_forwards\] {
    animation: pop-in 0.8s ease-out 0.9s forwards;
}

.animate-\[pop-in_0\.8s_ease-out_1\.2s_forwards\] {
    animation: pop-in 0.8s ease-out 1.2s forwards;
}

/* FILTER UTILITIES */
.filter {
    filter: var(--tw-filter);
}

.drop-shadow-\[0_0_10px_\#00f3ff\] {
    filter: drop-shadow(0 0 10px #D9D9D9);
}

.drop-shadow-\[0_0_25px_rgba\(251\,191\,36\,1\)\] {
    filter: drop-shadow(0 0 25px rgba(251, 191, 36, 1));
}

.blur-\[60px\] {
    filter: blur(60px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* SHADOW UTILITIES */
.shadow-\[0_0_30px_rgba\(251\,191\,36\,0\.2\)\] {
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.2);
}

/* SIZE UTILITIES */
.w-14 {
    width: 3.5rem;
}

.h-14 {
    height: 3.5rem;
}

.w-24 {
    width: 6rem;
}

.h-24 {
    height: 6rem;
}

.w-32 {
    width: 8rem;
}

.h-1 {
    height: 0.25rem;
}

.w-36 {
    width: 9rem;
}

.h-36 {
    height: 9rem;
}

.w-48 {
    width: 12rem;
}

.h-48 {
    height: 12rem;
}

.w-64 {
    width: 16rem;
}

.h-64 {
    height: 16rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.w-\[200\%\] {
    width: 200%;
}

/* RESPONSIVE - MOBILE FIRST */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:gap-16 {
        gap: 4rem;
    }

    .md\:text-base {
        font-size: 1rem;
    }

    .md\:text-4xl {
        font-size: 2.25rem;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
    }

    .md\:w-64 {
        width: 16rem;
    }

    .md\:h-64 {
        height: 16rem;
    }

    .md\:w-32 {
        width: 8rem;
    }

    .md\:h-32 {
        height: 8rem;
    }
}

/* CUSTOM WIDTH FOR GRID */
.w-\[200\%\] {
    width: 200%;
}

/* BACKDROP FILTER */
.backdrop-filter {
    backdrop-filter: var(--tw-backdrop-filter);
}

/* SVG STYLING */
svg {
    display: inline-block;
}

/* ICON UTILITIES */
i[data-lucide] {
    display: inline-block;
    vertical-align: middle;
}

/* GRADIENT UTILITIES */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-bl {
    background-image: linear-gradient(to bottom left, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-\[#60A1D7\] {
    --tw-gradient-from: #60A1D7;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(96, 161, 215, 0));
}

.from-\[#033769\] {
    --tw-gradient-from: #033769;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(3, 55, 105, 0));
}

.via-\[#4A8BC2\] {
    --tw-gradient-stops: var(--tw-gradient-from), #4A8BC2, var(--tw-gradient-to, rgba(74, 139, 194, 0));
}

.via-\[#1a1a2e\] {
    --tw-gradient-stops: var(--tw-gradient-from), #1a1a2e, var(--tw-gradient-to, rgba(26, 26, 46, 0));
}

.via-purple-900 {
    --tw-gradient-stops: var(--tw-gradient-from), #581c87, var(--tw-gradient-to, rgba(88, 28, 135, 0));
}

.to-\[#033769\] {
    --tw-gradient-to: #033769;
}

.to-\[#0f172a\] {
    --tw-gradient-to: #0f172a;
}

.to-\[#FF5900\] {
    --tw-gradient-to: #FF5900;
}

/* WIDTH & POSITION UTILITIES */
.w-1\/2 {
    width: 50%;
}

.duration-1000 {
    transition-duration: 1000ms;
}