/* animations.css - Colorful & Dynamic Effects */

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(-45deg, #FF3366, #FF9933, #33CCFF, #9933FF);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientBG 5s ease infinite;
}

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

/* Floating Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

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

/* Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    background: linear-gradient(45deg, #FF3366, #FF9933, #33CCFF, #9933FF);
    z-index: -1;
    border-radius: inherit;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glow-effect:hover::after {
    opacity: 0.8;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Button Pulse/Glow */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

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

.btn-primary:hover {
    box-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
}

/* Logo Color Cycle */
.logo i {
    animation: colorCycle 4s infinite linear;
}

@keyframes colorCycle {
    0% { color: #FF3366; filter: drop-shadow(0 0 5px #FF3366); }
    33% { color: #33CCFF; filter: drop-shadow(0 0 5px #33CCFF); }
    66% { color: #9933FF; filter: drop-shadow(0 0 5px #9933FF); }
    100% { color: #FF3366; filter: drop-shadow(0 0 5px #FF3366); }
}

/* Card Hover Color Border */
.product-card, .trust-item {
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2), 0 0 0 2px var(--primary-color);
}

.trust-item:hover {
    transform: translateY(-10px);
}

.trust-item i {
    transition: transform 0.3s ease;
}

.trust-item:hover i {
    transform: scale(1.2) rotate(10deg);
}
