body {
    background-color: #111111;
    color: #E5E7EB;
    font-family: 'Space Grotesk', sans-serif;
}

.font-unbounded {
    font-family: 'Unbounded', sans-serif;
}

.font-sora {
    font-family: 'Sora', sans-serif;
}

/* Parallax Background */
.parallax-bg {
    position: fixed;
    top: -50%;
    left: 0;
    width: 100%;
    height: 300vh;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: repeat-y;
    z-index: -1;
    opacity: 0.15;
}

/* Snow effect */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    user-select: none;
    cursor: default;
    animation: fall linear infinite;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
}

@keyframes fall {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-100vh, 100vh);
        opacity: 0.3;
    }
}

/* Premium hover animations */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes colorShift {
    0%, 100% {
        border-color: rgba(107, 114, 128, 1);
    }
    50% {
        border-color: rgba(59, 130, 246, 0.6);
    }
}

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

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: 1rem;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #00f5a0, #00d9f5, #a855f7, #ec4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: -100%;
    background: conic-gradient(from 0deg, transparent, #00f5a0, transparent 30%, transparent 60%, #ec4899, transparent 90%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 1rem;
}

.service-card:hover::after {
    opacity: 0.2;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

.service-card-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.1), rgba(168, 85, 247, 0.1));
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-card-content {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.15), rgba(168, 85, 247, 0.15));
}

.service-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover .service-description {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.75rem;
}

/* Mobile: expand description on tap */
@media (max-width: 768px) {
    .service-card.active .service-description {
        max-height: 200px;
        opacity: 1;
        margin-top: 0.75rem;
    }
    
    .service-card.active::before {
        opacity: 1;
    }
    
    .service-card.active::after {
        opacity: 0.2;
    }
    
    .service-card.active .service-card-content {
        background: linear-gradient(135deg, rgba(0, 245, 160, 0.15), rgba(168, 85, 247, 0.15));
    }
    
    .service-card.active .service-icon {
        background: linear-gradient(135deg, rgba(0, 245, 160, 0.3), rgba(168, 85, 247, 0.3));
    }
}

.service-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.3), rgba(168, 85, 247, 0.3));
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}
