@charset "UTF-8";
/* ==========================================================================
   1. VARIABLES Y ESTILOS GLOBALES
   ========================================================================== */
:root {
    --navy-base: #060d1a;       
    --navy-surface: #0f192b;    
    --steel-gray: #475569;      
    --steel-light: #94a3b8;     
    --cyan-accent: #00e5ff;     
    --cyan-dark: #0097a7; /* Para textos sobre fondo claro */
    --verde-boton: #10B981;     
    --verde-hover: #059669;     
    --text-main: #0f192b; /* TEXTO OSCURO PARA FONDO CLARO */
    --text-muted: #475569; /* TEXTO GRIS PARA FONDO CLARO */
    --bg-light: #F8FAFC; /* NUEVO FONDO CLARO */
    --grid-color-light: rgba(15, 25, 43, 0.04); /* Cuadrícula oscura sutil */
}

* { 
    box-sizing: border-box; 
    margin: 0; padding: 0; 
    font-family: 'Inter', sans-serif; 
    scroll-behavior: smooth; 
}

/* NUEVO BODY: FONDO CLARO */
body { 
    background-color: var(--bg-light); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden;
    background-image: 
        linear-gradient(var(--grid-color-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color-light) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ==========================================================================
   2. CABECERA Y NAVEGACIÓN (SE MANTIENE OSCURA)
   ========================================================================== */
header {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    background: rgba(6, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--steel-gray);
    padding: 18px 5%;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; /* CORRECCIÓN: Permite envolver el menú en móviles */
    gap: 15px;
}

.logo { font-size: 24px; font-weight: 800; color: #ffffff; text-decoration: none; display: flex; align-items: center; gap: 15px; }
.logo span { color: var(--cyan-accent); }

nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

nav a { 
    text-decoration: none; color: var(--steel-light); font-weight: 600; 
    font-size: 13px; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; 
}

nav a:hover, nav a.active { color: var(--cyan-accent); }

nav .nav-login-btn {
    display: flex; align-items: center; gap: 8px; background: #0f192b; 
    border: 1px solid var(--cyan-accent); padding: 10px 20px; border-radius: 50px;
    color: var(--cyan-accent) !important; font-size: 13px; font-weight: 700; margin-left: 10px; 
}

nav .nav-login-btn:hover { background: var(--cyan-accent); color: var(--navy-base) !important; }

/* ==========================================================================
   3. SECCIÓN HERO Y FORMULARIOS (SE MANTIENEN OSCUROS)
   ========================================================================== */
.hero {
    position: relative; min-height: 100vh;
    background-color: var(--navy-base); 
    color: #ffffff;
    display: flex; align-items: center; justify-content: space-between;
    gap: 60px; padding: 140px 5% 80px 5%; 
    flex-wrap: wrap; /* CORRECCIÓN: Evita el colapso horizontal del formulario */
}

.imagen-fondo { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.25; }

.hero-text { flex: 1; min-width: 300px; z-index: 2; }
.hero h1 { font-size: 54px; font-weight: 900; line-height: 1.1; margin-bottom: 25px; color: #ffffff; }
.hero p { font-size: 18px; color: #cbd5e1; margin-bottom: 40px; }

.tech-badge {
    display: inline-block; padding: 6px 12px; background: var(--navy-surface); border: 1px solid var(--cyan-accent);
    color: var(--cyan-accent); border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 25px;
}

.form-card {
    background: var(--navy-surface); border: 1px solid var(--steel-gray); border-radius: 16px; padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); position: relative; z-index: 10;
    flex: 1; max-width: 480px; min-width: 300px; /* CORRECCIÓN: Límites flexibles */
}

.input-group { margin-bottom: 20px; width: 100%; }
.input-row { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; } /* CORRECCIÓN: Rompe filas en inputs de País/Estado */
.input-row .input-group { flex: 1; min-width: 140px; }

.input-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; color: #cbd5e1; }

.input-group input, .input-group textarea {
    width: 100%; padding: 15px 16px; background: #1e293b; border: 1px solid #94a3b8; 
    border-radius: 8px; color: #ffffff; font-size: 14px;
}

.input-group input::placeholder, .input-group textarea::placeholder { color: #94a3b8; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--cyan-accent); background: var(--navy-base); }

.btn-primary {
    width: 100%; padding: 16px; background: var(--verde-boton); color: #ffffff;
    border: none; border-radius: 8px; font-size: 15px; font-weight: 800; cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.btn-primary:hover { background: var(--verde-hover); }

/* ==========================================================================
   4. PÁGINAS SECUNDARIAS (ADAPTADAS AL FONDO CLARO)
   ========================================================================== */
.page-title { padding: 180px 5% 60px 5%; text-align: center; background: #ffffff; border-bottom: 1px solid #e2e8f0; }
.page-title h1 { font-size: 42px; font-weight: 900; letter-spacing: -1px; margin-bottom: 15px; color: var(--navy-base); }
.page-title p { color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; }

.tech-bar { background: #ffffff; padding: 30px 5%; display: flex; justify-content: center; gap: 50px; color: var(--steel-gray); font-weight: 700; text-transform: uppercase; font-size: 13px; border-bottom: 1px solid #e2e8f0; flex-wrap: wrap; }
.software-mockup { padding: 80px 5%; text-align: center; }
.software-mockup h2 { font-size: 32px; font-weight: 900; margin-bottom: 10px; color: var(--navy-base); }
.mockup-frame { max-width: 1200px; margin: 0 auto; border-radius: 16px; border: 1px solid #cbd5e1; padding: 5px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); background: #ffffff; }
.mockup-frame img { width: 100%; display: block; border-radius: 12px; height: auto; }

.features { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-header h2 { font-size: 36px; font-weight: 900; color: var(--navy-base); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }

/* Tarjetas de Módulos (Se mantienen oscuras para contraste) */
.feature-card { background: var(--navy-surface); padding: 40px; border-radius: 12px; border: 1px solid var(--steel-gray); transition: 0.4s; color: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.feature-card:hover { border-color: var(--cyan-accent); transform: translateY(-5px); }
.icon-wrapper { margin-bottom: 25px; display: flex; }
.icon-wrapper svg { width: 48px; height: 48px; stroke: var(--cyan-accent); stroke-width: 1.5; fill: none; }
.feature-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; color: #ffffff; }
.feature-card p { font-size: 15px; color: var(--steel-light); }

.content-section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.module-detail { 
    display: flex; align-items: center; gap: 60px; padding: 40px; 
    background: var(--navy-surface); border: 1px solid var(--steel-gray); border-radius: 16px; 
    color: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    flex-wrap: wrap; /* CORRECCIÓN: Módulos bajan la imagen en pantallas chicas */
}
.module-detail:nth-child(even) { flex-direction: row-reverse; }
.module-info { flex: 1; min-width: 280px; }
.module-image { flex: 1; min-width: 280px; width: 100%; }
.placeholder-tech { width: 100%; min-height: 280px; background-color: var(--navy-base); border: 1px solid var(--steel-gray); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--steel-light); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; padding: 10px; }
.placeholder-tech img { width: 100%; height: auto; display: block; border-radius: 6px; }

/* Textos Corporativos (Ajustados para leerse en fondo claro) */
.corp-reading-container { max-width: 850px; margin: 0 auto; padding: 80px 5%; }
.corp-reading-container h2 { color: var(--navy-base); font-size: 38px; font-weight: 900; line-height: 1.2; margin-bottom: 50px; text-align: left; letter-spacing: -0.5px; }
.corp-article-block { margin-bottom: 50px; padding-left: 20px; border-left: 3px solid var(--cyan-dark); }
.corp-article-block h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; color: var(--navy-base); }
.corp-article-block p { color: var(--text-muted); font-size: 16px; line-height: 1.8; margin-bottom: 20px; }

/* ==========================================================================
   5. ECOSISTEMA DE LICENCIAS (CYBER-METAL PRESERVED)
   ========================================================================== */
.pricing-section {
    background-color: var(--navy-base); 
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 80px 5% 120px 5%;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    color: #ffffff;
}

.cyber-grid { 
    display: flex; 
    align-items: stretch; 
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; 
    max-width: 1300px;
    margin: 0 auto;
}

.pricing-card { 
    flex: 1 1 260px; 
    background: linear-gradient(to bottom, #111827, #060d1a); 
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px; 
    padding: 45px 30px; 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.7); 
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.cyber-screw {
    position: absolute; width: 10px; height: 10px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #78909C, #1c2529);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8), 0 1px 1px rgba(255,255,255,0.1);
}
.screw-tl { top: 12px; left: 12px; }
.screw-tr { top: 12px; right: 12px; }
.screw-bl { bottom: 12px; left: 12px; }
.screw-br { bottom: 12px; right: 12px; }

.pricing-card:hover { transform: translateY(-8px); border-color: var(--cyan-accent); }

.pricing-card.featured { 
    border: 2px solid var(--cyan-accent); 
    transform: scale(1.03); 
    z-index: 2;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); 
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-8px); }

.card-header { margin-bottom: 25px; }

.plan-badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--cyan-accent); display: block; margin-bottom: 15px; }
.featured-badge { background: var(--cyan-accent); color: #060d1a; padding: 5px 12px; border-radius: 50px; display: inline-block; }
.plan-title { font-size: 28px; font-weight: 900; color: #ffffff; margin-bottom: 5px; text-transform: uppercase;}
.plan-title span { color: var(--cyan-accent); }

.plan-price { font-size: 38px; font-weight: 900; color: white; margin: 15px 0; }
.plan-price span { font-size: 14px; color: #cbd5e1; font-weight: 400; }
.pricing-card.featured .plan-price { font-size: 44px; }

.plan-profile { font-size: 14px; color: #cbd5e1; line-height: 1.5; min-height: 45px; }

.plan-features { 
    list-style: none; 
    padding: 0; 
    margin: 0 0 30px 0; 
    border-top: 1px solid rgba(148, 163, 184, 0.1); 
    padding-top: 25px; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.plan-features li { 
    font-size: 14px; color: #ffffff; margin-bottom: 18px; 
    display: flex; align-items: flex-start; gap: 12px; line-height: 1.4; 
}

.icon-check { width: 18px; height: 18px; stroke: var(--cyan-accent); stroke-width: 3; fill: none; flex-shrink: 0; margin-top: 2px; }

.ia-feature-premium { margin-top: 10px; }
.icon-ia { width: 20px; height: 20px; stroke: var(--cyan-accent); fill: none; flex-shrink: 0; }
.ia-feature-premium strong { color: var(--cyan-accent); font-weight: 800; text-shadow: 0 0 8px rgba(0, 229, 255, 0.8); }
.ia-feature-premium .ia-number { color: #ffffff; font-weight: 600; }

.btn-installer { 
    display: block; width: 100%; padding: 16px; text-align: center; text-decoration: none; 
    border-radius: 8px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; 
    margin-top: auto; 
    background: linear-gradient(to bottom, #1e262c, #11161a); 
    color: var(--steel-light);
    border: 1px solid #2a343c;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.6), 0 1px 1px rgba(255,255,255,0.05);
}

.btn-installer:hover { background: #11161a; color: #ffffff; border-color: var(--cyan-accent); }

.btn-neon { 
    background: var(--cyan-accent) !important; 
    color: #060d1a !important; 
    border: none !important;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5), inset 0 2px 2px rgba(255,255,255,0.5) !important;
}

.btn-neon:hover { 
    background: var(--cyan-dark) !important; 
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.8), inset 0 2px 2px rgba(255,255,255,0.5) !important;
}

/* ==========================================================================
   6. FOOTER Y AJUSTES DE REGIONES
   ========================================================================== */
footer { background: var(--navy-base); padding: 60px 5% 30px 5%; border-top: 1px solid var(--steel-gray); color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { color: var(--cyan-accent); margin-bottom: 20px; text-transform: uppercase; font-size: 14px; }
.footer-col p, .footer-col a { color: var(--steel-light); text-decoration: none; font-size: 14px; line-height: 1.7; }
.footer-col a:hover { color: #ffffff; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #1e293b; border: 1px solid var(--steel-gray); transition: 0.3s; }
.social-links a:hover { border-color: var(--cyan-accent); }
.social-links svg { width: 18px; height: 18px; stroke: var(--steel-light); fill: none; }
.social-links a:hover svg { stroke: var(--cyan-accent); }
.footer-bottom { border-top: 1px solid var(--steel-gray); margin-top: 50px; padding-top: 20px; text-align: center; font-size: 11px; color: var(--steel-light); }

/* ==========================================================================
   7. SECCIÓN CRÍTICA DE RESPONSIVIDAD (MEDIA QUERIES PARA CELULARES)
   ========================================================================== */
@media (max-width: 768px) {
    header { padding: 15px 5%; justify-content: center; }
    nav { width: 100%; justify-content: center; gap: 15px; margin-top: 10px; }
    nav a { font-size: 11px; }

    .hero { padding-top: 180px; text-align: center; justify-content: center; gap: 40px; }
    .hero h1 { font-size: 34px; }
    .hero-text { min-width: 100%; }
    
    .form-card { max-width: 100%; min-width: 100%; padding: 30px 20px; }
    .input-row { gap: 0; }
    .input-row .input-group { min-width: 100%; margin-bottom: 20px; }

    .page-title { padding-top: 200px; padding-bottom: 40px; }
    .page-title h1 { font-size: 30px; }
    
    .module-detail, .module-detail:nth-child(even) { 
        flex-direction: column !important; 
        padding: 25px 20px; 
        gap: 30px; 
    }
    .module-info, .module-image { min-width: 100%; }
    
    .pricing-container { flex-direction: column; align-items: center; }
    .pricing-card { width: 100%; max-width: 100%; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: scale(1); }
}