/* RESETEO Y CONFIGURACIÓN BASE */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: #f8fafc; 
    color: #1e293b; 
    line-height: 1.6; 
}

/* MENÚ DE NAVEGACIÓN */
.navbar { 
    background: #ffffff; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); 
    position: fixed; 
    width: 100%; 
    top: 0; 
    left: 0; 
    z-index: 50; 
}
.nav-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo { 
    font-size: 24px; 
    font-weight: 800; 
    color: #1e3a8a; 
    text-decoration: none; 
}
.logo-pos { 
    color: #16a34a; 
}
.nav-links { 
    display: flex; 
    gap: 24px; 
    align-items: center; 
}
.nav-links a { 
    text-decoration: none; 
    color: #475569; 
    font-weight: 600; 
    transition: color 0.2s; 
}
.nav-links a:hover { 
    color: #2563eb; 
}
.btn-app { 
    background: #1e3a8a; 
    color: #ffffff !important; 
    padding: 8px 20px; 
    border-radius: 6px; 
    font-weight: 700; 
}
.btn-app:hover { 
    background: #1d4ed8; 
}

/* SECCIÓN HÉROE CORPORATIVO */
.hero { 
    padding: 160px 20px 80px 20px; 
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 70%, #0f172a 100%); 
    color: #ffffff; 
    text-align: center;
}
.hero-container { 
    max-width: 800px; 
    margin: 0 auto; 
}
.badge { 
    background: rgba(34, 197, 94, 0.2); 
    color: #4ade80; 
    border: 1px solid rgba(74, 222, 128, 0.4);
    font-size: 12px; 
    font-weight: 700; 
    padding: 6px 16px; 
    border-radius: 9999px; 
    text-transform: uppercase; 
    display: inline-block; 
    margin-bottom: 20px; 
}
.hero h1 { 
    font-size: 46px; 
    font-weight: 900; 
    line-height: 1.2; 
    margin-bottom: 20px; 
}
.hero p { 
    font-size: 18px; 
    color: #94a3b8; 
    margin-bottom: 35px; 
}

/* NUESTRA FILOSOFÍA / PROPUESTA DE VALOR */
.section-intro {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
}
.section-title { 
    font-size: 32px; 
    font-weight: 800; 
    color: #0f172a; 
    margin-bottom: 15px; 
}
.section-subtitle { 
    color: #64748b; 
    font-size: 16px; 
    max-width: 600px;
    margin: 0 auto 50px auto; 
}

/* CATÁLOGO DE SISTEMAS (PRODUCTOS) */
.section-ecosystem {
    padding: 80px 20px;
    background: #f1f5f9;
}
.grid-ecosystem {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.product-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.product-icon {
    font-size: 40px;
    margin-bottom: 20px;
}
.product-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.product-card p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 25px;
    flex-grow: 1;
}
.product-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.product-features li {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
}
.product-features li::before {
    content: "⚡";
}
.btn-product {
    display: block;
    text-align: center;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
}
.btn-product.secondary {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}
.btn-product.subdomain {
    background: #16a34a;
}

/* SECCIÓN ALIANZA / DESARROLLO */
.section-custom {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
}
.custom-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(30,58,138,0.2);
}
.custom-box h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
}
.custom-box p {
    color: #93c5fd;
    margin-bottom: 30px;
    font-size: 15px;
}
.btn-custom {
    display: inline-block;
    background: #22c55e;
    color: #0f172a;
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 700;
}

/* PIE DE PÁGINA / FOOTER */
footer { 
    background: #0f172a; 
    color: #64748b; 
    padding: 60px 20px; 
    text-align: center; 
    border-top: 1px solid #1e293b;
}
footer h3 { 
    color: #fff; 
    font-size: 24px; 
    margin-bottom: 10px; 
}
.footer-links { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    margin-top: 25px; 
    font-family: monospace; 
    font-size: 16px; 
}
.footer-links a { 
    color: #4ade80; 
    text-decoration: none; 
    font-weight: bold; 
}


/* BOTÓN FLOTANTE DE WHATSAPP */
.btn-whatsapp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-whatsapp-flotante:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Icono simplificado en CSS para no depender de librerías externas */
.icon-wa::before {
    content: "💬"; 
    font-style: normal;
}
