﻿html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2937;
    background-color: #ffffff;
}

a {
    text-decoration: none;
}

section {
    scroll-margin-top: 90px;
}

/* NAVBAR */

.navbar {
    min-height: 72px;
    background: linear-gradient(180deg, #111827, #1f2937) !important;
}

.navbar-brand {
    font-size: 1.35rem;
    color: #ffffff !important;
}

.nav-link {
    font-weight: 500;
    color: #e5e7eb !important;
}

    .nav-link:hover {
        color: #ffffff !important;
    }

/* BOTONES */

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

    .btn-primary:hover {
        background-color: #2563eb;
        border-color: #2563eb;
    }

.btn-outline-primary {
    color: #3b82f6;
    border-color: #3b82f6;
}

    .btn-outline-primary:hover {
        background-color: #3b82f6;
        border-color: #3b82f6;
    }

/* HERO */

.hero-section {
    padding: 90px 0 80px;
    background: linear-gradient( 135deg, #eff6ff 0%, #ffffff 55%, #dbeafe 100% );
}

    .hero-section h1 {
        font-size: 3.2rem;
        line-height: 1.1;
        font-weight: 750;
        color: #111827;
    }

    .hero-section .lead {
        font-size: 1.2rem;
        line-height: 1.7;
        color: #5f6b7a;
        max-width: 650px;
    }

    .hero-section .badge {
        padding: 10px 16px;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 999px;
        background-color: #dbeafe !important;
        color: #1e3a8a !important;
    }

.hero-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12);
    border: 1px solid #e7edf7;
}

    .hero-card h4 {
        font-weight: 700;
        color: #111827;
    }

    .hero-card ul {
        padding-left: 0;
        list-style: none;
    }

    .hero-card li {
        padding: 9px 0;
        color: #4b5563;
    }

        .hero-card li::before {
            content: "✓";
            color: #198754;
            font-weight: 700;
            margin-right: 9px;
        }

/* TÍTULOS */

.section-title {
    font-weight: 750;
    color: #111827;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #6b7280;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* SECCIONES */

#caracteristicas,
#modulos {
    padding: 80px 0;
}

#modulos {
    background-color: #f8fafc;
}

/* COMUNICACIÓN CON LA APP */

.communication-section {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 55%, #dbeafe 100%);
}

.communication-card {
    padding: 34px;
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.1);
}

.communication-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    color: #ffffff;
    background: #3b82f6;
    border-radius: 16px;
    font-size: 1.8rem;
}

.communication-benefits {
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.communication-benefits li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    color: #4b5563;
}

.communication-benefits i {
    flex-shrink: 0;
    color: #198754;
}

.public-stats-section {
    background-color: #f8fafc;
}

.public-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 140px;
    padding: 24px 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .05);
}

.public-stat-card strong {
    color: #2563eb;
    font-size: 2rem;
    line-height: 1;
}

.public-stat-card span {
    color: #4b5563;
    font-weight: 600;
}

/* CARACTERÍSTICAS */

.feature-card {
    height: 100%;
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    }

    .feature-card h4 {
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .feature-card p {
        color: #6b7280;
        margin-bottom: 0;
    }

/* MÓDULOS */

.module-card {
    height: 100%;
    padding: 22px;
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

    .module-card:hover {
        border-color: #bfdbfe;
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.07);
    }

    .module-card h5 {
        font-weight: 700;
        margin-bottom: 8px;
    }

    .module-card p {
        color: #6b7280;
        font-size: 0.95rem;
        margin-bottom: 0;
    }

/* CAPTURAS DEL SISTEMA */

.system-section {
    background-color: #f8fafc;
}

.system-shot-card {
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .07);
}

.system-shot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.system-shot img {
    width: 100%;
    max-height: 330px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
}

.system-shot.image-missing::before {
    color: #1e3a8a;
    content: "Agrega aquí la captura del sistema";
    font-weight: 600;
    text-align: center;
}

.system-shot-body {
    padding: 22px;
}

.system-shot-body h5 {
    margin-bottom: 8px;
    font-weight: 700;
}

/* PLAN */

.pricing-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #dfe7f2;
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.08);
}

    .pricing-card h3 {
        font-weight: 750;
        margin-bottom: 18px;
    }

    .pricing-card p {
        color: #6b7280;
    }

/* CONTACTO */

.contact-section {
    padding: 80px 0;
    background: linear-gradient( 135deg, #111827 0%, #1f2937 100% );
    color: #ffffff;
}

    .contact-section h2 {
        font-weight: 750;
    }

    .contact-section p {
        color: rgba(255, 255, 255, 0.85);
    }

    .contact-section .btn-light {
        font-weight: 600;
        padding-left: 28px;
        padding-right: 28px;
    }

/* FOOTER */

footer {
    background-color: #ffffff;
    color: #6b7280;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .hero-section {
        padding: 65px 0;
    }

        .hero-section h1 {
            font-size: 2.6rem;
        }

    .hero-card {
        margin-top: 35px;
    }

    .navbar-collapse {
        padding-top: 15px;
        padding-bottom: 10px;
    }
}

@media (max-width: 767px) {

    .hero-section {
        padding: 50px 0;
        text-align: center;
    }

        .hero-section h1 {
            font-size: 2.15rem;
        }

        .hero-section .lead {
            font-size: 1.05rem;
        }

        .hero-section .btn {
            width: 100%;
            margin-bottom: 10px;
        }

    .hero-card {
        text-align: left;
        padding: 25px;
    }

    #caracteristicas,
    #modulos,
    #planes {
        padding: 55px 0;
    }

    .pricing-card {
        padding: 28px 22px;
    }

    .contact-section {
        padding: 55px 0;
    }
}
/* MOCKUP DEL ERP */

.hero-dashboard {
    background: #ffffff;
    margin-top: 25px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #dfe7f2;
    box-shadow: 0 25px 60px rgba(23, 78, 166, 0.16);
}

.dashboard-header {
    min-height: 70px;
    padding: 15px 22px;
    background: #174ea6;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .dashboard-header strong {
        display: block;
        font-size: 1.1rem;
    }

    .dashboard-header span {
        display: block;
        font-size: 0.75rem;
        opacity: 0.8;
    }

.dashboard-user {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    font-size: 0.75rem;
}

.dashboard-body {
    padding: 25px;
    background: #f8fafc;
}

.dashboard-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

    .dashboard-welcome small {
        color: #6b7280;
    }

    .dashboard-welcome h4 {
        margin: 3px 0 0;
        font-weight: 700;
        color: #111827;
    }

.dashboard-date {
    font-size: 0.8rem;
    color: #6b7280;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 6px 12px;
    border-radius: 8px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-stat {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

.dashboard-stat-warning {
    grid-column: 1 / -1;
    border-color: #f0c36d;
    background: #fff8e7;
}

.dashboard-stat-warning strong {
    color: #9a6700;
    font-size: 1rem;
}

.dashboard-stat-warning small {
    color: #9a6700;
}

    .dashboard-stat span {
        display: block;
        font-size: 0.75rem;
        color: #6b7280;
        margin-bottom: 6px;
    }

    .dashboard-stat strong {
        display: block;
        font-size: 1.25rem;
        color: #111827;
    }

    .dashboard-stat small {
        font-size: 0.7rem;
        color: #198754;
    }

.dashboard-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
}

.dashboard-panel-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

    .dashboard-panel-title strong {
        font-size: 0.95rem;
    }

    .dashboard-panel-title span {
        font-size: 0.75rem;
        color: #174ea6;
    }

.dashboard-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid #f0f2f5;
}

.dashboard-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #e8f0fe;
    color: #174ea6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.dashboard-row strong {
    display: block;
    font-size: 0.78rem;
}

.dashboard-row small {
    display: block;
    color: #9ca3af;
    font-size: 0.7rem;
    margin-top: 2px;
}

@media (max-width: 767px) {

    .dashboard-body {
        padding: 18px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-stat {
        padding: 13px;
    }
}
/* GRÁFICA DEL DASHBOARD */

.dashboard-chart-panel {
    margin-top: 18px;
}

.mini-chart {
    height: 125px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 10px;
    padding: 10px 5px 0;
    border-bottom: 1px solid #e5e7eb;
}

.chart-column {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.chart-bar {
    width: 65%;
    min-height: 15px;
    background-color: #174ea6;
    border-radius: 6px 6px 0 0;
}

.chart-column small {
    font-size: 0.65rem;
    color: #9ca3af;
}