/* ========== ESTILOS GLOBALES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* ========== ANIMACIONES ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

@keyframes neonPulse {
    0% {
        text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 20px #00ff00;
    }
    50% {
        text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff88, 0 0 30px #00ff88;
    }
    100% {
        text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 20px #00ff00;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Clases de animación */
.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-neon {
    animation: neonPulse 1.5s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 20s linear infinite;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ========== COMPONENTES ========== */
/* Navbar */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.1);
    padding: 0.5rem 0;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00ff00, #00ff88, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 3s infinite;
    background-size: 200% auto;
}

/* Product Cards */
.product-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 20px 40px rgba(0, 255, 0, 0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #111, #1a1a1a);
    padding: 20px;
}

.product-image img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float a {
    display: flex;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Accordion */
.accordion-item {
    transition: all 0.3s ease;
}

.accordion-item.active {
    border-color: #00ff00;
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.1);
}

.accordion-btn i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-btn i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

/* Form Styles */
.form-input {
    background: #1a1a1a;
    border: 2px solid #333;
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #00ff00;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #00ff00, #00cc88);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.3);
}

/* Social Buttons */
.social-btn {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
}

.social-btn:hover {
    transform: translateY(-5px);
}

.social-btn.twitter:hover { background: #1DA1F2; }
.social-btn.instagram:hover { background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45); }
.social-btn.tiktok:hover { background: #000000; box-shadow: 0 0 10px #00f2ea; }
.social-btn.youtube:hover { background: #FF0000; }
.social-btn.facebook:hover { background: #1877F2; }

/* Hero Parallax */
.hero-parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00ff00, #00ff88);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00ff88, #00ff00);
}

/* Responsive */
@media (max-width: 768px) {
    .animate-fade-up, .animate-fade-left, .animate-fade-right {
        animation-duration: 0.5s;
    }
    
    .gradient-text {
        font-size: 1.8rem;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}