
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700;900&display=swap');

body {
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1.6;
}

/* Grid pattern background */
.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(217, 70, 239, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 70, 239, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Enhanced glassmorphism effects */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modern gradient text */
.gradient-text {
    background: linear-gradient(135deg, #D946EF 0%, #F43F5E 50%, #D946EF 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Brutalist animations */
@keyframes brutalFlash {
    0%, 100% { background-color: #F8FAFC; }
    50% { background-color: #D946EF; }
}

.brutal-flash {
    animation: brutalFlash 2s infinite;
}
/* Enhanced neural underline */
.neural-underline {
    position: relative;
    display: inline-block;
}

.neural-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #D946EF 0%, #F43F5E 100%);
    animation: neuralGlow 2s ease-in-out infinite alternate;
}

@keyframes neuralGlow {
    0% { opacity: 0.7; transform: scaleY(1); }
    100% { opacity: 1; transform: scaleY(1.2); }
}

/* Modern hover effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Glitch effect */
.glitch {
    position: relative;
    color: #0F172A;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0.05em 0 0 rgba(217, 70, 239, 0.75),
                -0.025em -0.05em 0 rgba(244, 63, 94, 0.75),
                0.025em 0.05em 0 rgba(217, 70, 239, 0.75);
    animation: glitch 1s linear infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        text-shadow: 0.05em 0 0 rgba(217, 70, 239, 0.75),
                    -0.05em -0.025em 0 rgba(244, 63, 94, 0.75),
                    0.025em 0.05em 0 rgba(217, 70, 239, 0.75);
    }
    95% {
        text-shadow: 0.05em 0 0 rgba(244, 63, 94, 0.75),
                    -0.025em -0.05em 0 rgba(217, 70, 239, 0.75),
                    0.025em 0.05em 0 rgba(244, 63, 94, 0.75);
    }
}

/* Demo button effects */
.demo-btn {
    position: relative;
    overflow: hidden;
}

.demo-btn::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;
}

.demo-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Stagger animation */
@keyframes staggerIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-in {
    animation: staggerIn 0.6s ease-out forwards;
}

/* Modern card hover */
.card-hover {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.card-hover:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 20px 20px 0px 0px #0F172A;
}

/* Shimmer effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(217, 70, 239, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
/* Custom brutalist button effects */
.brutal-btn {
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0 #0F172A;
}

.brutal-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #0F172A;
}
.brutal-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 #0F172A;
}

/* Neural pulse animation */
@keyframes neuralPulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(217, 70, 239, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 70, 239, 0); }
}

.neural-pulse {
    animation: neuralPulse 2s infinite;
}
