:root {
    --bg: #030303;
    --accent: #b3ff00;
    --cyan: #00e5ff;
    --card: rgba(255, 255, 255, 0.05);
    --gradient: linear-gradient(135deg, #b3ff00, #00e5ff);
    --particle-size: 2px;
    --font-main: 'Inter', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* ================= Reset general ================= */
* { margin:0; padding:0; box-sizing:border-box; }
body { 
    background: var(--bg);
    color: #fff;
    font-family: var(--font-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ================= Fondo Glow + Partículas ================= */
.bg-glow {
    position: fixed;
    top:50%;
    left:50%;
    width:150vw;
    height:150vh;
    background: radial-gradient(circle at 50% -10%, #152520 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index:-2;
    animation: pulseGlow 12s ease-in-out infinite, moveGlow 30s linear infinite;
}
.particle {
    position:absolute;
    width: var(--particle-size);
    height: var(--particle-size);
    background: var(--accent);
    border-radius:50%;
    pointer-events:none;
    opacity:0.6;
    animation: floatParticle linear infinite;
}

/* Glow Animations */
@keyframes pulseGlow {
    0% { transform: scale(1) translate(-50%, -50%); opacity:0.6; }
    50% { transform: scale(1.05) translate(-50%, -50%); opacity:0.9; }
    100% { transform: scale(1) translate(-50%, -50%); opacity:0.6; }
}
@keyframes moveGlow { 
    0%,100% { background-position:0% 50%; } 
    50% { background-position:100% 50%; } 
}
@keyframes floatParticle { 
    0% { transform: translateY(0); opacity:0.3; } 
    50% { transform: translateY(-15px); opacity:0.6; } 
    100% { transform: translateY(-30px); opacity:0.3; } 
}

/* ================= Navbar ================= */
nav { 
    position: fixed;
    top:0;
    width:100%;
    padding:12px 5%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(22px);
    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,0.05);
}
.nav-container {
    display:flex;
    justify-content:space-between;
    align-items:center;
    max-width:1400px;
    margin:0 auto;
}
.logo-img {
    height:120px;
    filter: drop-shadow(0 0 12px var(--accent));
    transition: transform 0.5s ease, filter 0.5s ease;
    cursor:pointer;
}
.logo-img:hover {
    transform: scale(1.18) translateY(3px);
    filter: drop-shadow(0 0 30px var(--cyan));
}

/* ================= Hero ================= */
.hero {
    height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:0 10px;
    z-index:1;
    position:relative;
    transition: transform 0.5s ease;
}
.hero-content { max-width:800px; padding-bottom:50px; }
h1 {
    font-size:clamp(4rem, 10vw, 7rem);
    font-weight:900;
    letter-spacing:-2px;
    line-height:1;
}
.gradient-text {
    background: linear-gradient(90deg,#ff6a6a,#ffd36a,#9cffc1,#6ecbff,#b18cff,#ff6a6a);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rgbSlow 8s ease-in-out infinite;
    transition: text-shadow 0.5s ease;
}
.gradient-text:hover {
    text-shadow: 0 0 25px #fff, 0 0 40px var(--cyan), 0 0 60px var(--accent);
}
@keyframes rgbSlow { 0% { background-position:0% 50%; } 100% { background-position:100% 50%; } }

.hero-description {
    max-width:720px;
    margin:40px auto 20px;
    line-height:1.6;
    font-weight:400;
    color:#ccc;
    font-size:1.25rem;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* ================= Botones ================= */
.btn-main {
    margin-top:20px;
    background: var(--accent);
    color:#000;
    padding:20px 55px;
    border-radius:50px;
    font-weight:900;
    font-size:1.1rem;
    text-decoration:none;
    transition: all 0.4s ease;
    box-shadow:0 0 25px rgba(179,255,0,0.6);
    position: relative;
    overflow:hidden;
}
.btn-main:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 35px var(--accent), 0 0 60px var(--cyan);
}
.btn-contacto {
    background:transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding:14px 35px;
    border-radius:50px;
    font-weight:700;
    text-decoration:none;
    transition: all 0.4s ease;
    position: relative;
    overflow:hidden;
}
.btn-contacto:hover {
    background: var(--accent);
    color:#000;
    transform: translateY(-3px) scale(1.08);
    box-shadow:0 0 30px var(--accent), 0 0 50px var(--cyan);
}
.ripple {
    position:absolute;
    width:20px;
    height:20px;
    background: rgba(255,255,255,0.3);
    border-radius:50%;
    transform:scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events:none;
}
@keyframes rippleEffect { 100% { transform:scale(6); opacity:0; } }

/* ================= Catálogo ================= */
.products-section { padding:100px 5%; max-width:1400px; margin:0 auto; }
.section-header h2 { font-size:clamp(2.5rem,6vw,4rem); font-weight:900; text-align:center; margin-bottom:20px; }
.section-description { text-align:center; max-width:720px; margin:0 auto 40px; color:#ccc; font-weight:400; line-height:1.5; }

.product-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:30px; }
.product-card {
    background: var(--card);
    border-radius:25px;
    padding:40px 30px;
    text-align:center;
    position:relative;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
    cursor:pointer;
    perspective:1200px;
    transition: transform 0.6s cubic-bezier(0.4,0.1,0.2,1), box-shadow 0.6s cubic-bezier(0.4,0.1,0.2,1);
}
.product-card:hover {
    transform: translateY(-18px) rotateX(3deg) rotateY(3deg);
    box-shadow: 0 20px 60px rgba(0,255,0,0.6), 0 0 40px rgba(0,229,255,0.4);
}
.product-card .glow-effect {
    position:absolute;
    top:-50%;
    left:-50%;
    width:200%;
    height:200%;
    background: radial-gradient(circle, rgba(179,255,0,0.25), transparent 70%);
    opacity:0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.product-card:hover .glow-effect { opacity:1; transform: rotate(30deg); }

.product-img-box { height:200px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.p-img { max-height:100%; transition: transform 0.6s ease, filter 0.6s ease; }
.product-card:hover .p-img { transform: scale(1.15); filter: drop-shadow(0 12px 28px rgba(0,0,0,0.7)); }

.product-card h3 { font-size:1.9rem; margin-bottom:12px; font-weight:800; }
.product-info { color:#aaa; font-size:1rem; margin-bottom:20px; }
.view-btn { display:inline-block; color: var(--accent); font-weight:800; text-transform:uppercase; font-size:0.85rem; letter-spacing:1.5px; position:relative; transition: all 0.3s ease; }
.view-btn::after { content:''; position:absolute; width:0; height:2px; left:0; bottom:-4px; background:var(--cyan); transition: width 0.3s ease; }
.view-btn:hover::after { width:100%; }

/* ================= Cómo Funciona ENOX ================= */
.steps-section {
    padding: 80px 5%;
    text-align:center;
    background: linear-gradient(135deg, rgba(179,255,0,0.05), rgba(0,229,255,0.05));
    border-radius:30px;
    margin:60px auto;
    max-width:1200px;
    backdrop-filter: blur(12px);
}
.steps-section h2 {
    font-size:clamp(2.5rem,5vw,3.5rem);
    font-weight:900;
    color: var(--accent);
    margin-bottom:50px;
    text-shadow:0 0 15px rgba(179,255,0,0.5);
}
.steps-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:30px; }
.step {
    background: var(--card);
    border-radius:25px;
    padding:40px 25px;
    width:260px;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    position:relative;
    overflow:hidden;
    cursor:default;
}
.step::before {
    content:'';
    position:absolute;
    top:-50%;
    left:-50%;
    width:200%;
    height:200%;
    background: radial-gradient(circle, rgba(179,255,0,0.15), transparent 70%);
    opacity:0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.step:hover::before { opacity:1; transform:rotate(25deg); }
.step-number { font-size:3.2rem; font-weight:900; color: var(--accent); margin-bottom:15px; display:block; text-shadow:0 0 20px rgba(179,255,0,0.6); }
.step-desc { font-size:1.15rem; font-weight:500; color:#ccc; line-height:1.6; }

/* ================= Footer ================= */
.footer {
    padding:50px 5%;
    text-align:center;
    color:#888;
    border-top:1px solid rgba(255,255,255,0.05);
    margin-top:60px;
}
.footer-links { margin:15px 0; }
.footer-links a {
    margin:0 15px;
    color: var(--accent);
    text-decoration:none;
    font-weight:600;
    transition: all 0.3s ease;
}
.footer-links a:hover { color: var(--cyan); text-shadow:0 0 12px var(--cyan); }
.footer p { font-size:0.95rem; color:#aaa; margin-top:10px; }

/* ================= Modal ================= */
.modal-overlay {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.96);
    z-index:2000;
    align-items:center;
    justify-content:center;
    backdrop-filter: blur(15px);
    transition: opacity 0.5s ease;
}
.modal-overlay.show { display:flex; animation:fadeIn 0.4s ease forwards; }
.modal-content {
    background:#0d0d0d;
    border-radius:30px;
    padding:50px;
    max-width:500px;
    width:90%;
    text-align:center;
    transform:scale(0.95);
    opacity:0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    box-shadow:0 22px 60px rgba(0,255,0,0.4);
    border:1px solid rgba(179,255,0,0.3);
}
.modal-overlay.show .modal-content { transform:scale(1); opacity:1; }
.modal-img { max-width:100%; margin-bottom:20px; border-radius:20px; }
.btn-wa {
    background:#25d366;
    color:white;
    padding:18px 40px;
    border-radius:50px;
    font-weight:bold;
    text-decoration:none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseBtn 2s infinite;
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,211,102,0.6); }

/* ================= Scroll Reveal ================= */
.reveal { opacity:0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity:1; transform: translateY(0); }

@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
@keyframes pulseBtn { 0%,100%{transform:scale(1);box-shadow:0 8px 20px rgba(37,211,102,0.5);} 50%{transform:scale(1.05);box-shadow:0 14px 30px rgba(37,211,102,0.7);} }
