/* Wave Animation Effects */

@keyframes wave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(-5deg); }
    66% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.6);
        transform: scale(1.05);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

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

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-shapes .shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-shapes .shape-1 {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shapes .shape-2 {
    width: 120px;
    height: 120px;
    background: var(--accent-secondary);
    border-radius: 30px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-shapes .shape-3 {
    width: 60px;
    height: 60px;
    background: var(--info-color);
    border-radius: 50%;
    bottom: 30%;
    left: 60%;
    animation-delay: 4s;
}

/* Wave Effect */
.wave-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: wave 3s infinite;
}

/* Enhanced Cards with Professional Gradient Wave */
.card-wave {
    background: var(--professional-gradient);
    border: 2px solid transparent;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(6, 182, 212, 0.12),
        0 0 0 1px rgba(6, 182, 212, 0.08) inset,
        0 5px 15px rgba(139, 92, 246, 0.08);
}

.card-wave::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(6, 182, 212, 0.08) 25%,
        rgba(139, 92, 246, 0.08) 50%,
        rgba(99, 102, 241, 0.08) 75%,
        transparent 100%
    );
    background-size: 200% 200%;
    animation: wave-flow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes wave-flow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translate(25%, -25%) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(50%, 0) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translate(25%, 25%) rotate(270deg);
        opacity: 0.8;
    }
}

.card-wave:hover {
    transform: translateY(-12px) scale(1.03);
    border-image: linear-gradient(135deg, #06b6d4, #8b5cf6, #6366f1) 1;
    box-shadow: 
        0 28px 56px rgba(6, 182, 212, 0.2),
        0 0 50px rgba(6, 182, 212, 0.25),
        0 0 0 2px rgba(6, 182, 212, 0.15) inset,
        0 10px 25px rgba(139, 92, 246, 0.15),
        0 15px 35px rgba(99, 102, 241, 0.1);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(224, 242, 254, 0.8) 25%,
        rgba(186, 230, 253, 0.85) 50%,
        rgba(224, 231, 255, 0.85) 75%,
        rgba(221, 214, 254, 0.8) 100%);
}

.card-wave:hover::before {
    animation-duration: 4s;
}

/* Enhanced Professional Buttons */
.btn-wave {
    background: var(--wave-gradient);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    box-shadow: 
        0 6px 20px rgba(6, 182, 212, 0.3),
        0 2px 8px rgba(139, 92, 246, 0.2);
}

.btn-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.btn-wave::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.2) 0%, 
        transparent 50%, 
        rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-wave:hover::before {
    left: 100%;
}

.btn-wave:hover::after {
    opacity: 1;
}

.btn-wave:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(6, 182, 212, 0.4),
        0 5px 15px rgba(139, 92, 246, 0.3),
        0 0 30px rgba(99, 102, 241, 0.2);
    background-size: 150% 150%;
}

.btn-wave:active {
    transform: translateY(-2px) scale(0.98);
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Animated Background */
.animated-bg {
    background: var(--ocean-gradient);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}