<style>
/* Hero Section Styles */
#hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 219, 98, 0.2) 0%, transparent 50%);
    animation: gradient-shift 10s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-20px, -20px); }
    66% { transform: translate(20px, -10px); }
}

/* Hero Title Animation */
#hero h1 {
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: hero-title-glow 3s ease-in-out infinite;
}

@keyframes hero-title-glow {
    0%, 100% { 
        filter: brightness(1) drop-shadow(0 0 20px rgba(147, 197, 253, 0.5));
    }
    50% { 
        filter: brightness(1.1) drop-shadow(0 0 40px rgba(147, 197, 253, 0.8));
    }
}

/* Floating Particles */
.floating-particle {
    position: absolute;
    pointer-events: none;
    animation: float-up 15s infinite linear;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) translateX(-10px) scale(1);
    }
    100% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
}

/* CTA Buttons Enhanced */
#hero a {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#hero a::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;
}

#hero a:hover::before {
    width: 300px;
    height: 300px;
}

/* WebGL Canvas Overlay */
#hero-webgl {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-webgl canvas {
    width: 100% !important;
    height: 100% !important;
    opacity: 0.6;
    mix-blend-mode: screen;
}

/* Responsive Design */
@media (max-width: 768px) {
    #hero {
        min-height: 80vh;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero .text-3xl {
        font-size: 1.5rem;
    }
}

/* Accessibility Mode */
body.accessibility-mode #hero {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

body.accessibility-mode #hero::before,
body.accessibility-mode .floating-particle,
body.accessibility-mode #hero-webgl {
    display: none;
}

body.high-contrast #hero {
    background: #000;
}

body.high-contrast #hero h1,
body.high-contrast #hero p {
    color: #fff !important;
    text-shadow: none;
    animation: none;
}
</style>