/* ================= VARIABLES MODERNAS ================= */
:root {
    --bg-main: #060913;       /* Azul ultra oscuro */
    --bg-secondary: #0a0f1d;  /* Azul oscuro para contrastar */
    --bg-card: #111827;       /* Gris azulado para tarjetas */
    --accent: #0078ff;        /* Azul eléctrico */
    --accent-hover: #005ce6;
    --accent-glow: #38bdf8;   /* Cian brillante */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= RESET ================= */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

/* ================= ANIMACIONES GLOBALES ================= */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes heroZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse-anim { animation: pulseGlow 2s infinite; }

.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ================= HEADER & NAVEGACIÓN ================= */
header {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 5%; background: rgba(6, 9, 19, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05); z-index: 1000; transition: var(--transition);
}
header.scrolled { padding: 1rem 5%; background: rgba(6, 9, 19, 0.95); box-shadow: 0 10px 30px rgba(0,0,0,0.8); border-bottom: 1px solid var(--border-color); }

/* Logo como Imagen */
.logo { display: flex; align-items: center; }
.logo a { display: flex; align-items: center; }
.logo img { height: 45px; width: auto; object-fit: contain; transition: var(--transition); }
.logo img:hover { filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5)); transform: scale(1.02); }

/* Navegación Base (Escritorio) */
nav { display: flex; gap: 2rem; align-items: center; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
nav a:hover { color: var(--text-main); text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }

/* Botones y Enlaces Especiales */
.nav-link-special { color: var(--accent-glow) !important; font-weight: 700 !important; }
.nav-cta {
    background: var(--accent); color: #fff; padding: 0.6rem 1.6rem; border-radius: 8px; text-decoration: none;
    font-size: 0.9rem; font-weight: 700; transition: var(--transition); box-shadow: 0 4px 15px rgba(0, 120, 255, 0.3);
}
.nav-cta:hover { background: var(--accent-glow); color: var(--bg-main); box-shadow: 0 0 20px rgba(56, 189, 248, 0.6); transform: translateY(-2px); }

/* Botón Hamburguesa oculto en PC */
.menu-toggle { display: none; color: var(--text-main); font-size: 1.8rem; cursor: pointer; transition: var(--transition); }
.menu-toggle:hover { color: var(--accent-glow); }
.mobile-cta { display: none; } /* Ocultar botón móvil en PC */

/* ================= INICIO (HERO SLIDER) ================= */
.hero-slider { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease-in-out; display: flex; align-items: center; justify-content: center; text-align: center; z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: -1;
}
.slide.active .hero-bg { animation: heroZoom 10s ease-out forwards; }
.hero-content { max-width: 900px; padding: 0 5%; z-index: 10; width: 100%;}
.badge { display: inline-block; padding: 6px 16px; background: rgba(56, 189, 248, 0.1); color: var(--accent-glow); border: 1px solid rgba(56, 189, 248, 0.3); border-radius: 30px; font-size: 0.85rem; font-weight: 700; margin-bottom: 2rem; letter-spacing: 1.5px; text-transform: uppercase; box-shadow: 0 0 20px rgba(56, 189, 248, 0.1); }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; font-weight: 900; margin-bottom: 1.5rem; letter-spacing: -1.5px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.hero-content h1 span { color: var(--accent-glow); }
.hero-content p { font-size: clamp(1rem, 2vw, 1.25rem); color: #e2e8f0; margin-bottom: 3rem; text-shadow: 0 5px 15px rgba(0,0,0,0.8); max-width: 700px; margin-left: auto; margin-right: auto; }
.btn-primary { display: inline-block; padding: 16px 40px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1.1rem; background: var(--accent); color: #fff; transition: var(--transition); border: 1px solid var(--accent); box-shadow: 0 10px 25px rgba(0, 120, 255, 0.4); }
.btn-primary:hover { background: var(--accent-glow); border-color: var(--accent-glow); color: var(--bg-main); box-shadow: 0 15px 35px rgba(56, 189, 248, 0.5); transform: translateY(-3px); }
.slider-controls { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.dot.active { background: var(--accent-glow); transform: scale(1.4); border-color: rgba(255,255,255,0.5); box-shadow: 0 0 10px var(--accent-glow); }

/* ================= SECCIONES GLOBALES ================= */
section { padding: 7rem 5%; }
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 4rem auto; }
.section-heading h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 1rem; letter-spacing: -1px; }
.section-heading h2 span { color: var(--accent-glow); }
.section-heading p { color: var(--text-muted); font-size: 1.15rem; }

/* ================= GALERÍA ================= */
.gallery-section { background: var(--bg-secondary); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.gallery-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; border: 1px solid var(--border-color); box-shadow: 0 15px 35px rgba(0,0,0,0.3); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; cursor: pointer; }
.gallery-card:hover img { transform: scale(1.08); }
.card-overlay { position: absolute; bottom: 0; left:0; width: 100%; padding: 3rem 1.5rem 1.5rem 1.5rem; background: linear-gradient(to top, rgba(6,9,19,1) 0%, rgba(6,9,19,0.8) 50%, transparent 100%); transition: var(--transition); pointer-events: none;}
.gallery-card:hover .card-overlay { padding-bottom: 2rem; }
.card-overlay h3 { font-size: 1.3rem; margin-bottom: 5px; color: #fff; font-weight: 700; }
.card-overlay p { font-size: 0.95rem; color: var(--text-muted); }

/* ================= TUTORIALES ================= */
.tutorials-section { background: var(--bg-main); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem; max-width: 1000px; margin: 0 auto; }
.video-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.video-card:hover { border-color: var(--accent-glow); box-shadow: 0 15px 40px rgba(0, 120, 255, 0.15); transform: translateY(-5px); }
.iframe-container { position: relative; padding-bottom: 56.25%; height: 0; }
.iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-info { padding: 1.5rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
.video-info h4 { font-size: 1.1rem; color: #f8fafc; font-weight: 600; margin:0;}

/* ================= TIENDA (PLANES) ================= */
.store-section { background: var(--bg-secondary); }
.plan-category-title { text-align: center; font-size: 1.6rem; margin-bottom: 2.5rem; color: var(--text-main); font-weight: 700; }
.plan-category-title i { color: var(--accent-glow); margin-right: 10px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; max-width: 1100px; margin: 0 auto; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border-color); border-top: 4px solid var(--border-color); border-radius: 16px; padding: 3rem 2.5rem; transition: var(--transition); position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.2); display: flex; flex-direction: column; }
.pricing-card:hover { border-top-color: var(--accent-glow); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 120, 255, 0.15); }
.pricing-card.featured { background: linear-gradient(145deg, #111827, #0a0f1d); border: 1px solid rgba(0, 120, 255, 0.3); border-top: 4px solid var(--accent); transform: scale(1.05); z-index: 5; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-8px); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 6px 18px; border-radius: 30px; font-size: 0.8rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 5px 15px rgba(0, 120, 255, 0.4); z-index: 10; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.card-top h3 { font-size: 1.5rem; color: #f8fafc; font-weight: 700; }
.pc-badge { background: rgba(0, 120, 255, 0.15); color: var(--accent-glow); padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; border: 1px solid rgba(0, 120, 255, 0.2); display: flex; align-items: center; gap: 6px; }
.price-box { margin-bottom: 2rem; text-align: left; font-size: 4rem; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -2px;}
.price-box .currency { font-size: 1.8rem; vertical-align: top; color: var(--text-muted); font-weight: 600; margin-right: 2px;}
.price-box .currency-name { font-size: 1.1rem; color: var(--text-muted); font-weight: 600; margin-left: 8px; letter-spacing: 0; }
.card-divider { height: 1px; background: rgba(255,255,255,0.05); width: 100%; margin-bottom: 2rem; }
.features { list-style: none; margin: 0; flex-grow: 1; padding:0;}
.features li { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.features li i { color: var(--accent-glow); font-size: 1.1rem; margin-top: 2px; }
.btn-buy-elegant { display: block; width: 100%; text-align: center; padding: 16px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 1.05rem; background: rgba(255,255,255,0.03); color: var(--text-main); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition); margin-top: 2.5rem; }
.btn-buy-elegant i { font-size: 1.3rem; margin-right: 8px; vertical-align: bottom; }
.btn-buy-elegant:hover { background: #25D366; color: #fff; border-color: #25D366; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.btn-buy-elegant.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-buy-elegant.primary:hover { background: #25D366; border-color: #25D366; }

/* ================= DESCARGAS & REQUISITOS ================= */
.downloads-section { background: var(--bg-main); }
.dl-container { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 2.5rem; }
.main-download-banner { background: linear-gradient(to right, var(--bg-card), rgba(0, 120, 255, 0.05)); border: 1px solid var(--border-color); border-left: 4px solid var(--accent); border-radius: 16px; padding: 2.5rem 3rem; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 15px 35px rgba(0,0,0,0.3); gap: 2rem; flex-wrap: wrap;}
.dl-banner-text { flex: 1; min-width: 300px;}
.dl-banner-text h4 { font-size: 1.5rem; margin-bottom: 8px; font-weight: 800; color: #fff; }
.tag { background: var(--accent); font-size: 0.75rem; padding: 4px 10px; border-radius: 6px; vertical-align: middle; margin-left: 10px; color: #fff; font-weight: bold;}
.date-badge { display: inline-block; font-size: 0.75rem; color: var(--accent-glow); background: rgba(56, 189, 248, 0.1); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; font-weight: 700; letter-spacing: 0.5px; border: 1px solid rgba(56, 189, 248, 0.2); }
.date-badge i { margin-right: 5px; }
.dl-banner-text p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

.dl-buttons-group { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.mirrors-title { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.mirrors-container { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.btn-mirror { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; font-weight: 700; transition: var(--transition); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); color: var(--text-main); }
.btn-mirror:hover { transform: translateY(-3px); background: var(--bg-card); }
.btn-mirror.drive:hover { border-color: #0F9D58; color: #0F9D58; box-shadow: 0 5px 15px rgba(15, 157, 88, 0.2); }
.btn-mirror.mega:hover { border-color: #D9272E; color: #D9272E; box-shadow: 0 5px 15px rgba(217, 39, 46, 0.2); }
.btn-mirror.mediafire:hover { border-color: #1282FA; color: #1282FA; box-shadow: 0 5px 15px rgba(18, 130, 250, 0.2); }

.system-requirements { background: var(--bg-card); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--border-color); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.req-title-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 15px; }
.req-title-bar h5 { font-size: 1.3rem; color: #fff; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.req-title-bar h5 i { color: var(--accent-glow); font-size: 1.5rem; }
.req-alert { background: rgba(239, 68, 68, 0.1); color: #ef4444; padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 700; border: 1px solid rgba(239, 68, 68, 0.2); display: flex; align-items: center; gap: 8px; }
.req-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.req-col { background: rgba(0,0,0,0.2); border: 1px solid var(--border-color); border-radius: 12px; padding: 2rem; }
.req-col.recommended-req { border-color: rgba(0, 120, 255, 0.4); background: linear-gradient(145deg, #111827, #0b111e); box-shadow: 0 10px 30px rgba(0, 120, 255, 0.1); }
.req-col-header { border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 1.2rem; margin-bottom: 1.5rem; }
.req-col-header h6 { font-size: 1.2rem; color: #fff; font-weight: 800; margin-bottom: 5px; }
.req-col.recommended-req h6 i { color: #fbbf24; margin-left: 8px; font-size: 1rem; }
.req-col-header p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.req-details { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.req-details li { font-size: 0.95rem; color: #cbd5e1; display: flex; flex-direction: column; }
.req-details li span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-glow); font-weight: 800; margin-bottom: 4px; }

.extra-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.tool { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); box-shadow: 0 10px 25px rgba(0,0,0,0.2); gap: 15px;}
.tool:hover { border-color: var(--accent-glow); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 120, 255, 0.15); }
.tool h5 { font-size: 1.1rem; margin-bottom: 5px; font-weight: 700; color: #fff;}
.tool p { font-size: 0.9rem; color: var(--text-muted); margin: 0;}
.btn-icon { color: var(--text-muted); font-size: 1.8rem; transition: var(--transition); }
.btn-icon:hover { color: var(--accent-glow); }

/* ================= MODAL LIGHTBOX ================= */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(6, 9, 19, 0.95); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.4s ease; }
.modal.show { display: flex; justify-content: center; align-items: center; flex-direction: column; opacity: 1; }
.modal-content { max-width: 90%; max-height: 80vh; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.6); transform: scale(0.8); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); object-fit: contain; }
.modal.show .modal-content { transform: scale(1); }
.close-modal { position: absolute; top: 30px; right: 40px; color: #f8fafc; font-size: 2.5rem; cursor: pointer; transition: var(--transition); z-index: 3001; }
.close-modal:hover { color: var(--accent-glow); transform: scale(1.1) rotate(90deg); }
#modalCaption { margin-top: 20px; color: var(--accent-glow); font-size: 1.3rem; font-weight: 700; text-align: center; letter-spacing: 1px; text-transform: uppercase; }

/* ================= FOOTER, PAGOS & WHATSAPP ================= */
footer { background: #03050a; padding: 5rem 5% 2rem 5%; border-top: 1px solid var(--border-color); text-align: center; }
footer .logo { justify-content: center; margin-bottom: 15px; }
footer p { color: var(--text-muted); font-size: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2.5rem; margin-top: 2.5rem; font-size: 0.9rem; }

.payment-methods { margin-top: 2.5rem; }
.payment-title { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.2rem; font-weight: 700; }
.payment-container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; max-width: 800px; margin: 0 auto; }
.payment-container i { font-size: 2rem; color: var(--text-muted); transition: var(--transition); cursor: pointer; }
.payment-container i:hover { color: var(--accent-glow); transform: translateY(-3px); filter: drop-shadow(0 5px 10px rgba(56, 189, 248, 0.4)); }
.pay-badge { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); border: 1px solid rgba(255, 255, 255, 0.1); padding: 8px 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); transition: var(--transition); letter-spacing: 0.5px; cursor: pointer; }
.pay-badge:hover { border-color: var(--accent-glow); color: #fff; background: rgba(56, 189, 248, 0.1); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(56, 189, 248, 0.2); }

.whatsapp-float { position: fixed; bottom: 40px; right: 40px; background-color: #25d366; color: white; width: 65px; height: 65px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 38px; z-index: 1000; transition: var(--transition); text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.15); color: white; }

/* ================= MEDIA QUERIES (RESPONSIVE) ================= */

@media (max-width: 900px) {
    /* Activar Menú Hamburguesa */
    .menu-toggle { display: block; }
    .desktop-cta { display: none; }
    .mobile-cta { display: inline-block; margin-top: 1rem; width: 100%; text-align: center;}
    
    nav#nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(6, 9, 19, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 5% 3rem 5%;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 20px 40px rgba(0,0,0,0.8);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    nav#nav-menu.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    nav#nav-menu a { font-size: 1.2rem; width: 100%; text-align: center; padding: 10px 0;}

    /* Ajustes Generales Móvil */
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-8px); }
    .req-comparison { grid-template-columns: 1fr; }
    .main-download-banner { flex-direction: column; text-align: center; padding: 2rem; }
    .dl-buttons-group { align-items: center; width: 100%;}
    .mirrors-container { justify-content: center; }
    .mirrors-title { margin-top: 15px; }
}

@media (max-width: 768px) {
    section { padding: 5rem 5%; }
    .section-heading h2 { font-size: 2.2rem; }
    .tool { flex-direction: column; text-align: center; gap: 20px;}
    .whatsapp-float { bottom: 20px; right: 20px; width: 55px; height: 55px; font-size: 32px;}
}

/* ================= EFECTO SCROLLSPY (ENLACE ACTIVO) ================= */
nav a.active-link {
    color: var(--accent-glow);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
    font-weight: 700;
}