/* =========================================
   1. CORE: VARIABLES & RESET (IA THEME 2026)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* --- PALETA DARK MODE --- */
    /* Fondo principal: No es negro puro, es "Void Blue" */
    --bg-main: #020617; 
    /* Fondo secundario (para secciones): Un poco más claro */
    --bg-secondary: #0f172a; 
    
    /* --- COLORES NEÓN --- */
    --primary: #6366f1; /* Indigo Eléctrico */
    --primary-glow: rgba(99, 102, 241, 0.6);
    --accent: #06b6d4; /* Cian Futuro (reemplaza al naranja) */
    --accent-glow: rgba(6, 182, 212, 0.6);
    
    /* --- TEXTOS --- */
    --text-heading: #f8fafc; /* Blanco Hielo */
    --text-body: #94a3b8;    /* Gris Metalizado */
    --text-muted: #64748b;   /* Gris Oscuro */
    
    /* --- CRISTAL (GLASSMORPHISM) --- */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;
    
    /* --- MEDIDAS --- */
    --radius: 24px;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset Suave */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    
    /* Efecto de luz ambiental de fondo (Aurora) */
    background-image: 
        radial-gradient(circle at 15% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Selección de texto color Neón */
::selection { background: var(--primary); color: white; }

/* Tipografía Moderna */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em; /* Tracking apretado estilo moderno */
    margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); } /* Más grande */
h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
p { font-size: 1.1rem; color: var(--text-body); max-width: 65ch; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Gradientes de Texto mejorados */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #818cf8 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

.highlight { color: var(--primary); text-shadow: 0 0 15px var(--primary-glow); }

/* =========================================
   2. NAVBAR (CRISTAL OSCURO)
   ========================================= */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 80px; z-index: 1000;
    
    /* Efecto Frosted Glass Dark */
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    display: flex; align-items: center;
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-size: 1.5rem; font-weight: 800; color: white; letter-spacing: -1px;
}

.nav-links { display: flex; gap: 32px; }

.nav-links a {
    color: var(--text-body); font-weight: 500; font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover { color: white; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* =========================================
   3. BOTONES "GLOW"
   ========================================= */
.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, #4f46e5 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 20px -5px var(--primary-glow);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
    border-color: rgba(255,255,255,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 14px 32px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    margin-left: 10px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: white;
}

.btn-submit {
    background: var(--accent);
    color: #000; /* Texto negro para contraste en cyan */
    width: 100%; padding: 18px; border: none; border-radius: 12px;
    font-weight: 800; cursor: pointer;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    margin-top: 15px;
    transition: 0.3s;
}
.btn-submit:hover {
    background: #22d3ee;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

/* Animación Pulse Mejorada (Ondas) */
.pulse { position: relative; overflow: hidden; }
.pulse::after {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0; transform: scale(0.5);
    animation: ripple 3s infinite;
}
@keyframes ripple { 0% { opacity: 0; transform: scale(0.5); } 50% { opacity: 1; } 100% { opacity: 0; transform: scale(1.2); } }

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    padding-top: 180px; padding-bottom: 120px;
    background: transparent; /* Usamos el body bg */
    position: relative;
}

.hero .container {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
}

.pill {
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 6px 16px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    display: inline-block; margin-bottom: 24px;
    box-shadow: 0 0 10px rgba(99,102,241, 0.2);
}

.hero-sub { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 40px; }

.social-proof-text {
    margin-top: 30px; font-size: 0.9rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 10px;
}
.social-proof-text i { color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }

/* UI Card en el Hero (Efecto Holograma) */
.ui-card {
    background: rgba(15, 23, 42, 0.6); /* Oscuro semi-transparente */
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    max-width: 450px; margin: 0 auto;
}
.ui-card:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02); }

.ui-header {
    background: rgba(255,255,255,0.02);
    padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
}
.dots span {
    height: 8px; width: 8px; border-radius: 50%;
    background: #334155; margin-right: 6px;
}
.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #eab308; }
.dots span:nth-child(3) { background: #22c55e; }

.ui-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.msg-in, .msg-out { padding: 14px 20px; border-radius: 16px; font-size: 0.9rem; max-width: 90%; }
.msg-in { background: #1e293b; color: white; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-out { 
    background: var(--primary); color: white; 
    align-self: flex-end; border-bottom-right-radius: 4px; 
    box-shadow: 0 5px 15px var(--primary-glow);
}
.notification {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 12px; border-radius: 8px; text-align: center;
    font-size: 0.85rem; font-weight: 600; margin-top: 10px;
}

/* =========================================
   5. LOGOS & SECTIONS
   ========================================= */
.logos-section {
    padding: 40px 0; border-bottom: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}
.logos-grid {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 50px;
    font-size: 2rem; color: #475569; margin-top: 20px;
}
.logos-grid i:hover { color: white; filter: drop-shadow(0 0 10px white); transform: scale(1.1); transition: 0.3s; }

.section-gray {
    /* Ya no es gris, es transparente/oscuro */
    background-color: transparent;
    padding: 120px 0;
    position: relative;
}

/* --- BENTO GRID SYSTEM --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

/* Tarjetas Estilo Cristal (Glass Cards) */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Efecto Hover Futurista */
.card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.card:hover::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.icon-box {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.05);
    color: white; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.1);
}
.icon-box.red { color: #f472b6; /* Rosa Neón en vez de rojo */ }

/* =========================================
   6. COMPARATIVA (ANTES vs AHORA)
   ========================================= */
.comparison-section { padding: 100px 0; }
.comparison-box {
    display: grid; grid-template-columns: 1fr 1fr;
    border-radius: 30px; overflow: hidden;
    border: 1px solid var(--glass-border);
}

.col { padding: 60px 40px; }
.old-way { 
    background: rgba(0,0,0,0.4); 
    color: #64748b; 
    border-right: 1px solid var(--glass-border);
}
.old-way h3 { color: #94a3b8; } /* Título apagado */

.new-way { 
    background: rgba(99, 102, 241, 0.05); /* Tinte Indigo muy suave */
    position: relative; 
}
.new-way h3 { color: var(--primary); text-shadow: 0 0 15px var(--primary-glow); }
.new-way ul li { color: white; }

.badge-float {
    position: absolute; top: 20px; right: 20px;
    background: var(--primary); color: white;
    padding: 6px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 800; letter-spacing: 1px;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* =========================================
   7. SERVICIOS & IMAGENES
   ========================================= */
.services-section { padding: 100px 0; }
.eyebrow {
    color: var(--accent); font-weight: 800; font-size: 0.85rem;
    letter-spacing: 3px; text-transform: uppercase;
    display: block; margin-bottom: 15px; text-shadow: 0 0 10px var(--accent-glow);
}

.service-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center; margin-top: 100px;
}
.service-img img {
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.1); /* Glow detrás de la imagen */
    transition: 0.5s;
    filter: grayscale(30%); /* Un poco desaturado para que se vea tech */
}
.service-row:hover .service-img img {
    filter: grayscale(0%);
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.2);
}

.tick-list li {
    position: relative; padding-left: 30px; margin-bottom: 12px;
    color: #e2e8f0;
}
.tick-list li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--accent); font-weight: 800;
    text-shadow: 0 0 10px var(--accent-glow);
}

/* =========================================
   8. TESTIMONIOS & FAQ
   ========================================= */
.testimonial-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    padding: 30px; border-radius: var(--radius);
    border: 1px solid var(--glass-border);
}
.stars { color: #fcd34d; margin-bottom: 15px; } /* Gold */
.author {
    margin-top: 20px; padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}
.author strong { color: white; }

/* Acordeón */
.small-container { max-width: 800px; margin: 0 auto; }
.accordion-item {
    border-bottom: 1px solid var(--glass-border); margin-bottom: 10px;
}
.accordion-item button {
    width: 100%; text-align: left; padding: 24px 0;
    background: none; border: none;
    font-size: 1.1rem; font-weight: 700; color: white;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.accordion-item button::after { color: var(--primary); }
.panel p { color: #94a3b8; padding-bottom: 20px; }

/* =========================================
   9. CTA FINAL (Formulario)
   ========================================= */
.cta-section { padding: 100px 0; }

.cta-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); /* Fondo Indigo Oscuro */
    border-radius: 30px; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 0 80px -20px rgba(79, 70, 229, 0.5); /* Gran Glow final */
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-content { padding: 80px 60px; position: relative; }
/* Mancha de luz decorativa */
.cta-content::before {
    content: ''; position: absolute; top: -50px; left: -50px;
    width: 200px; height: 200px; background: var(--primary);
    filter: blur(100px); opacity: 0.5;
}

.cta-content h2 { position: relative; z-index: 2; }
.cta-content p { color: #c7d2fe; position: relative; z-index: 2; }

.benefits-check i {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}

.cta-form-wrapper {
    background: rgba(0,0,0,0.3); /* Ligeramente más oscuro que el azul */
    backdrop-filter: blur(10px);
    padding: 60px;
}

.cta-form-wrapper label {
    color: #e2e8f0; font-size: 0.85rem; letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-form-wrapper input, .cta-form-wrapper select {
    background: rgba(255,255,255,0.05);
    color: white; border: 1px solid rgba(255,255,255,0.1);
    padding: 14px; border-radius: 8px; margin-bottom: 20px; width: 100%;
    font-size: 1rem;
}

.cta-form-wrapper input:focus, .cta-form-wrapper select:focus {
    outline: none; border-color: var(--accent);
    background: rgba(6, 182, 212, 0.05);
}

/* =========================================
   10. FOOTER
   ========================================= */
footer {
    background-color: #020617; /* Negro fondo */
    padding: 60px 0; border-top: 1px solid var(--glass-border);
}
.footer-col h4 { color: white; letter-spacing: 2px; }
.footer-col p, .footer-col a { color: #64748b; font-size: 0.9rem; }
.footer-col a:hover { color: var(--primary); }

/* =========================================
   11. MEDIA QUERIES
   ========================================= */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero { padding-top: 140px; }
    .nav-links { display: none; }
    .grid-3, .comparison-box, .service-row, .cta-card { grid-template-columns: 1fr; }
    .service-row.reverse .service-text { order: 1; }
    .cta-content, .cta-form-wrapper { padding: 40px 24px; }
    h1 { font-size: 2.5rem; }
}

/* =========================================
   12. NUEVAS SECCIONES
   ========================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}