/* Variables de Color e Identikit */
:root {
    --bg-dark: #0f172a;       /* Fondo pizarra oscuro profundo */
    --bg-card: #1e293b;       /* Gris azulado para tarjetas */
    --accent: #00f2fe;        /* Cian tecnológico para llamadas a la acción */
    --text-main: #f8fafc;     /* Blanco limpio para textos principales */
    --text-muted: #94a3b8;    /* Gris suave para descripciones */
    --alert-red: #ef4444;     /* Rojo para el punto de "grabando" */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Header & Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight { color: var(--accent); }

/* Punto parpadeante estilo cámara */
.rec-dot {
    width: 10px;
    height: 10px;
    background-color: var(--alert-red);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent); }

.btn-nav {
    background: transparent;
    border: 1px solid var(--accent);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--accent) !important;
}

.btn-nav:hover {
    background: var(--accent);
    color: var(--bg-dark) !important;
}

/* Sección Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 160px 5% 100px 5%;
    min-height: 90vh;
}

.hero-content {
    max-width: 600px;
}

.badge {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); }

/* Gráficos del lente de cámara en CSS */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.camera-lens-mockup {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, #1e293b 0%, #020617 100%);
    border: 8px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 50px rgba(0, 242, 254, 0.1);
    position: relative;
    overflow: hidden;
}

.lens-shimmer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 45%, rgba(0, 242, 254, 0.15) 50%, transparent 55%);
    animation: shimmer 4s infinite linear;
}

/* Sección de Packs */
.packs-section {
    padding: 100px 5%;
    text-align: center;
}

.section-title { font-size: 2.2rem; margin-bottom: 10px; }
.section-subtitle { color: var(--text-muted); margin-bottom: 50px; }

.packs-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pack-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 30px;
    width: 350px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: transform 0.3s;
}

.pack-card:hover { transform: translateY(-5px); }

.pack-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.05);
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
}

.pack-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.price { font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.currency { font-size: 1rem; font-weight: 400; color: var(--text-main); }
.pack-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 25px; }

.pack-card ul { list-style: none; margin-bottom: 30px; }
.pack-card li { margin-bottom: 12px; font-size: 0.95rem; color: #cbd5e1; }

.btn-pack, .btn-pack-featured {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.btn-pack { border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text-main); }
.btn-pack-featured { background: var(--accent); color: var(--bg-dark); }

/* Formulario */
.contact-section { padding: 100px 5%; background: rgba(30, 41, 59, 0.3); }
.contact-container { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-container h2 { margin-bottom: 15px; }
.contact-container p { color: var(--text-muted); margin-bottom: 40px; }

#install-form { text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 1rem;
}
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

/* --- ANIMACIONES --- */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

/* Animaciones de Entrada (Controladas por JS o CSS base) */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
