/* Global Styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #020617;
    margin: 0;
    overflow-x: hidden;
}

/* Background Animation */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('bg-lite.png?v=2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: mesh-move 20s infinite alternate ease-in-out;
}

@keyframes mesh-move {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2) rotate(2deg);
    }
}

/* Glassmorphism Components */
.glass-card {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-panel {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.input-glass {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
}

.input-glass:focus {
    background: rgba(15, 23, 42, 0.5);
    border-color: #a855f7;
    outline: none;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.glass-btn {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.glass-btn:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
    transition: transform 0.2s, opacity 0.2s;
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
.animate-float-mini {
    animation: float-mini 4s ease-in-out infinite;
}

@keyframes float-mini {

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

    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

/* Shine Effect for Glass Card */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.8s;
    z-index: 1;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Border Beam */
.border-beam {
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
}

.glass-card:hover .border-beam {
    opacity: 1;
}

/* Visibility Animation Class */
.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}