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

body {
    font-family: 'Space Grotesk', sans-serif;
}

/* Gradient background */
.gradient-bg {
    background: linear-gradient(-45deg, #0f172a, #1e293b, #0c4a6e, #1e1b4b);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glass effect */
.glass-effect {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effect */
.glow {
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

/* Floating particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
}

.particle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -100px;
    animation-delay: -5s;
    background: rgba(139, 92, 246, 0.1);
}

.particle:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: -125px;
    left: 30%;
    animation-delay: -10s;
    background: rgba(56, 189, 248, 0.08);
}

.particle:nth-child(4) {
    width: 180px;
    height: 180px;
    top: 40%;
    left: 10%;
    animation-delay: -15s;
    background: rgba(139, 92, 246, 0.08);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) rotate(-5deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-40px) rotate(3deg);
        opacity: 0.9;
    }
}

/* Grid pattern overlay */
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

/* Glow effect on title */
.hero-title {
    position: relative;
    z-index: 10;
}

.hero-title::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Status online indicator */
.status-online {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

/* Card hover effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Logo container - sober animation */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.logo-container .logo-box {
    transition: all 0.3s ease;
}

.logo-container:hover .logo-box {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.logo-container:hover .text-gradient {
    opacity: 0.8;
}