/* --- VARIABLES Y ESTILOS GLOBALES --- */
:root {
    --bg-color: #0a0a0a;
    --primary-color: #ff003c; /* Rojo neón */
    --secondary-color: #00f0ff; /* Cyan neón */
    --text-color: #e0e0e0;
    --dark-grey: #1a1a1a;
    --font-main: 'Share Tech Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* --- BARRA DE NAVEGACIÓN --- */
header {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-color);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    text-shadow: 0 0 5px var(--secondary-color), 0 0 10px var(--secondary-color);
    font-weight: bold;
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- SECCIÓN PRINCIPAL (HERO) --- */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: 
        linear-gradient(rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 1)),
        url('https://images.unsplash.com/photo-1510915228340-29c85a43dcfe?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.cta-button:hover {
    background: transparent;
    color: var(--primary-color);
}

/* --- ESTILOS GENERALES DE SECCIÓN --- */
.content-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

/* --- SECCIÓN DE VENTAJAS --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-grey);
    padding: 2rem;
    text-align: center;
    border: 1px solid #333;
    border-top: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.1);
    border-color: var(--secondary-color);
}

.feature-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- SECCIÓN DE PRECIOS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--dark-grey);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
    color: var(--text-color);
}

.pricing-card .currency {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.pricing-card .per-device {
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card li {
    margin-bottom: 0.5rem;
}

.pricing-card.featured {
    border: 1px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.3);
    position: relative;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

.offer-text {
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- SECCIÓN DE DEMO Y PAGOS --- */
.video-container, .payment-image-container {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
    padding: 10px;
    background: var(--dark-grey);
}
.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}
.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}
.payment-image-container img {
    width: 100%;
    display: block;
}
.payment-image-container p {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--dark-grey);
    border-top: 1px solid #333;
}
.social-links {
    margin: 1rem 0;
}
.social-links a {
    color: var(--secondary-color);
    font-size: 2rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}
.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 1rem;
}

/* --- ANIMACIONES --- */
@keyframes glitch {
    0%, 100% { clip-path: inset(0 0 0 0); }
    5% { clip-path: inset(0.8rem 0 1.2rem 0); }
    10% { clip-path: inset(0.2rem 0 0.5rem 0); }
    15% { clip-path: inset(1.5rem 0 0.2rem 0); }
    20% { clip-path: inset(0.5rem 0 1.8rem 0); }
}

.glitch {
    position: relative;
    animation: glitch 3s infinite linear;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-color);
    animation: glitch 2s infinite linear reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: 2px 0 var(--secondary-color);
    animation: glitch 3.5s infinite linear reverse;
}

@keyframes scanline {
    0% { transform: translateY(-10%); }
    100% { transform: translateY(110%); }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 240, 255, 0.3);
    z-index: 1;
    animation: scanline 5s linear infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- DISEÑO RESPONSIVO (MÓVILES) --- */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 60px; /* Altura del header */
        background: var(--dark-grey);
        height: calc(100vh - 60px);
        width: 60%;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links.active {
        transform: translateX(0%);
    }
    .hamburger {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .pricing-card.featured {
        transform: scale(1); /* Desactivar zoom en móvil */
    }
}