/* Custom Styles for NixInfer Landing Page */

/* Glowing Text Effect */
.glow-text {
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.8));
    }
}

/* Glow Button Effect */
.glow-button {
    position: relative;
    overflow: hidden;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.glow-button:hover::before {
    width: 300px;
    height: 300px;
}

.glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #38bdf8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0ea5e9;
}

/* Code styling */
code {
    background: rgba(56, 189, 248, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply fade in to main content */
body > div {
    animation: fadeIn 1s ease-out;
}

/* Feature cards hover effect enhancement */
.bg-slate-800\/50 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-slate-800\/50:hover {
    transform: translateY(-5px);
}

/* Input focus glow */
input:focus {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* Canvas overlay effect */
#constellationCanvas {
    opacity: 0.6;
}

