.hero {
    min-height: 100vh;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(147, 51, 234, 0.5));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

/* Particle canvas for hero background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out, slideUp 1s ease-out;
}

.hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto 4rem;;
    animation: floatAnimation 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero h1 .pink { 
    color: var(--pink); 
    animation: colorPulse 4s ease infinite;
}

.hero h1 .green { 
    color: var(--green); 
    animation: colorPulse 4s ease infinite 1s;
}

.hero h1 .yellow { 
    color: var(--yellow); 
    animation: colorPulse 4s ease infinite 2s;
}

@keyframes colorPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 36rem;
    margin: 0 auto 2rem;
    animation: fadeIn 1s ease-out 0.3s both, slideUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.6s both, slideUp 1s ease-out 0.6s both;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 40px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 2;
    animation: bounce 2s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-down svg {
    width: 40px;
    height: 40px;
    stroke: #808080;
}

.btn.secondary {
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}