/* Hero Animation Styles */
/* Extracted from tonalis.html */

.hero-section {
    position: relative;
    min-height: 800px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
    padding: 2rem 0;
}

.hero-section .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

.hero-section .hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section .hero-content h1 .highlight {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.hero-section .hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-section .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.hero-section .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.8);
}

/* SVG Animation Container */
.animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Sound Waves */
.sound-wave {
    position: absolute;
    width: 100%;
    height: 2px;
    opacity: 0;
    animation: waveMove 4s ease-in-out infinite;
}

.sound-wave:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.sound-wave:nth-child(2) {
    top: 35%;
    animation-delay: 0.5s;
}

.sound-wave:nth-child(3) {
    top: 50%;
    animation-delay: 1s;
}

.sound-wave:nth-child(4) {
    top: 65%;
    animation-delay: 1.5s;
}

.sound-wave:nth-child(5) {
    top: 80%;
    animation-delay: 2s;
}

@keyframes waveMove {
    0% {
        opacity: 0;
        transform: translateX(-100%) scaleY(1);
    }
    20% {
        opacity: 0.6;
    }
    40% {
        transform: translateX(0%) scaleY(2);
        opacity: 0.8;
    }
    60% {
        transform: translateX(0%) scaleY(2);
        opacity: 0.8;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateX(100%) scaleY(1);
    }
}

/* Floating particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.5);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translate(var(--tx), var(--ty)) scale(1.5);
        opacity: 1;
    }
}

/* Musical notes transforming to text */
.morphing-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.morph-item {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: morphAnimation 8s ease-in-out infinite;
}

@keyframes morphAnimation {
    0% {
        opacity: 0;
        transform: translateY(100px) rotate(0deg) scale(11.5);
    }
    20% {
        opacity: 1;
        transform: translateY(0) rotate(180deg) scale(1);
    }
    40% {
        opacity: 1;
        transform: translateY(-20px) rotate(360deg) scale(1.2);
    }
    60% {
        opacity: 0.5;
        transform: translateY(-40px) rotate(540deg) scale(0.8);
    }
    80% {
        opacity: 0;
        transform: translateY(-65px) rotate(720deg) scale(0.3);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(900deg) scale(0.3);
    }

}

/* Gradient orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    bottom: -250px;
    right: -250px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -2.5s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-section .hero-content h1 {
        font-size: 2rem;
    }

    .hero-section .hero-content p {
        font-size: 1rem;
    }

    .gradient-orb {
        filter: blur(40px);
    }
}
