/* =========================================
   DESARROLLO DE SOFTWARE
========================================= */

:root {
    --primary: #0d62ad;
    --primary-dark: #073b72;
    --primary-light: #eaf4ff;
    --text-dark: #142033;
    --text-gray: #667085;
    --border: #e5eaf0;
}


/* =========================================
   HERO
========================================= */

.software-hero {
    position: relative;
    overflow: hidden;
    min-height: 850px;

    display: flex;
    align-items: center;

    padding: 140px 0 100px;

    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #ffffff 50%,
            #edf6ff 100%
        );
}


/* FONDO */

.software-hero-background {
    position: absolute;
    width: 650px;
    height: 650px;

    right: -180px;
    top: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(13, 98, 173, 0.15),
            transparent 70%
        );

    pointer-events: none;
}


.software-hero .container {
    position: relative;
    z-index: 2;
}


/* BADGE */

.software-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;

    margin-bottom: 25px;

    border-radius: 50px;

    background: #ffffff;

    border: 1px solid rgba(13, 98, 173, 0.12);

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.3px;

    box-shadow:
        0 10px 30px rgba(13, 98, 173, 0.08);
}


.badge-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 0 5px rgba(13, 98, 173, 0.12);
}


/* TITULO */

.software-hero h1 {
    font-size: clamp(3rem, 5vw, 5.4rem);

    line-height: 1.05;

    font-weight: 800;

    color: var(--text-dark);

    letter-spacing: -2px;

    margin-bottom: 28px;
}


.software-hero h1 span {
    display: block;

    color: var(--primary);
}


/* DESCRIPCION */

.software-hero-description {
    max-width: 600px;

    font-size: 18px;

    line-height: 1.8;

    color: var(--text-gray);

    margin-bottom: 35px;
}


/* BOTONES */

.software-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 45px;
}


.btn-software-primary {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    padding: 16px 25px;

    background: var(--primary);

    color: #ffffff;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;

    box-shadow:
        0 15px 35px rgba(13, 98, 173, 0.22);
}


.btn-software-primary:hover {
    background: var(--primary-dark);

    color: #ffffff;

    text-decoration: none;

    transform: translateY(-3px);

    box-shadow:
        0 20px 40px rgba(13, 98, 173, 0.3);
}


.btn-software-primary i {
    transition: transform 0.3s ease;
}


.btn-software-primary:hover i {
    transform: translateX(5px);
}


.btn-software-secondary {
    display: inline-flex;
    align-items: center;

    padding: 16px 25px;

    border: 1px solid var(--border);

    border-radius: 12px;

    color: var(--text-dark);

    background: #ffffff;

    font-size: 15px;

    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}


.btn-software-secondary:hover {
    color: var(--primary);

    border-color: var(--primary);

    text-decoration: none;

    transform: translateY(-3px);
}


/* MINI ESTADISTICAS */

.software-mini-stats {
    display: flex;

    flex-wrap: wrap;

    gap: 28px;
}


.mini-stat {
    display: flex;

    align-items: center;

    gap: 12px;
}


.mini-stat > i {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 18px;
}


.mini-stat div {
    display: flex;

    flex-direction: column;
}


.mini-stat strong {
    font-size: 13px;

    color: var(--text-dark);
}


.mini-stat span {
    font-size: 11px;

    color: var(--text-gray);

    margin-top: 2px;
}


/* =========================================
   VISUAL HERO
========================================= */

.software-visual {
    position: relative;

    min-height: 550px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* GLOW */

.visual-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(13, 98, 173, 0.2),
            transparent 70%
        );

    z-index: 0;
}


/* VENTANA */

.software-window {
    position: relative;

    width: 100%;

    max-width: 600px;

    border-radius: 20px;

    background: #ffffff;

    overflow: hidden;

    z-index: 2;

    box-shadow:
        0 30px 80px rgba(15, 50, 85, 0.15);

    border:
        1px solid rgba(13, 98, 173, 0.1);

    animation: floatWindow 5s ease-in-out infinite;
}


@keyframes floatWindow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* HEADER VENTANA */

.window-header {
    height: 58px;

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 0 22px;

    border-bottom: 1px solid #edf0f4;

    background: #fafcff;
}


.window-dots {
    display: flex;

    gap: 7px;
}


.window-dots span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #d5dbe3;
}


.window-dots span:nth-child(2) {
    background: #b8c8da;
}


.window-dots span:nth-child(3) {
    background: var(--primary);
}


.window-title {
    font-size: 12px;

    color: var(--text-gray);

    font-family: monospace;
}


/* CONTENIDO */

.window-content {
    display: flex;

    min-height: 420px;
}


/* SIDEBAR */

.code-sidebar {
    width: 75px;

    padding: 25px 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 22px;

    background: #f7faff;

    border-right: 1px solid #edf0f4;
}


.sidebar-logo {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--primary);

    color: #ffffff;
}


.code-sidebar > span {
    width: 26px;
    height: 4px;

    border-radius: 10px;

    background: #dce8f3;
}


/* CONTENIDO CENTRAL */

.code-main {
    flex: 1;

    padding: 30px;
}


.code-line {
    height: 8px;

    margin-bottom: 14px;

    border-radius: 10px;

    background: #edf2f7;
}


.code-line.long {
    width: 90%;
}


.code-line.medium {
    width: 65%;
}


.code-line.short {
    width: 45%;
}


/* CARDS */

.code-card-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin: 30px 0;
}


.mini-code-card {
    padding: 18px;

    display: flex;

    align-items: center;

    gap: 12px;

    border-radius: 14px;

    background: #f8fbff;

    border: 1px solid #edf2f7;
}


.mini-code-card i {
    color: var(--primary);

    font-size: 18px;
}


.mini-code-card span {
    font-size: 12px;

    font-weight: 700;

    color: var(--text-dark);
}


/* DASHBOARD */

.dashboard-preview {
    padding: 20px;

    border-radius: 15px;

    background: #ffffff;

    border: 1px solid #edf0f4;

    box-shadow:
        0 10px 30px rgba(15, 50, 85, 0.05);
}


.dashboard-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;
}


.dashboard-title {
    font-size: 13px;

    font-weight: 700;

    color: var(--text-dark);
}


.dashboard-title small {
    display: block;

    font-size: 10px;

    font-weight: 400;

    color: var(--text-gray);

    margin-top: 4px;
}


.status-online {
    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 10px;

    color: #268c5b;
}


.status-online span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #38b977;
}


/* GRAFICA */

.dashboard-chart {
    height: 130px;

    display: flex;

    align-items: flex-end;

    gap: 12px;

    padding-top: 20px;

    border-bottom: 1px solid #e8edf3;
}


.chart-bar {
    flex: 1;

    border-radius: 7px 7px 0 0;

    background:
        linear-gradient(
            180deg,
            #4d9fe5,
            var(--primary)
        );
}


.h40 {
    height: 40%;
}

.h55 {
    height: 55%;
}

.h65 {
    height: 65%;
}

.h70 {
    height: 70%;
}

.h80 {
    height: 80%;
}

.h90 {
    height: 90%;
}


/* FLOATING CARDS */

.floating-card {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 16px;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(10px);

    border-radius: 14px;

    box-shadow:
        0 20px 40px rgba(15, 50, 85, 0.12);

    z-index: 4;

    animation: floatCard 4s ease-in-out infinite;
}


@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


.floating-card > i {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--primary-light);

    color: var(--primary);
}


.floating-card strong {
    display: block;

    font-size: 11px;

    color: var(--text-dark);
}


.floating-card span {
    display: block;

    margin-top: 2px;

    font-size: 9px;

    color: var(--text-gray);
}


.card-users {
    left: -30px;

    top: 110px;
}


.card-cloud {
    right: -20px;

    bottom: 90px;

    animation-delay: 1.5s;
}


/* =========================================
   INTRO
========================================= */

.software-intro {
    padding: 120px 0;

    background: #ffffff;

    text-align: center;
}


.section-label-center {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-bottom: 20px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: var(--primary);
}


.section-label-center span {
    width: 35px;
    height: 2px;

    background: var(--primary);
}


.software-intro h2,
.process-header h2 {
    max-width: 800px;

    margin: 0 auto 22px;

    font-size: clamp(2.3rem, 4vw, 4rem);

    font-weight: 800;

    letter-spacing: -1.5px;

    line-height: 1.15;

    color: var(--text-dark);
}


.software-intro h2 strong,
.process-header h2 strong {
    display: block;

    color: var(--primary);
}


.section-description {
    max-width: 750px;

    margin: 0 auto;

    font-size: 17px;

    line-height: 1.8;

    color: var(--text-gray);
}


/* GRID */

.intro-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;

    margin-top: 70px;
}


.intro-card {
    position: relative;

    padding: 35px 28px;

    text-align: left;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid #edf1f5;

    transition: all 0.3s ease;
}


.intro-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(13, 98, 173, 0.3);

    box-shadow:
        0 25px 50px rgba(15, 50, 85, 0.08);
}


.intro-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 15px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 22px;
}


.intro-card h3 {
    font-size: 17px;

    font-weight: 700;

    color: var(--text-dark);

    margin-bottom: 12px;
}


.intro-card p {
    font-size: 14px;

    line-height: 1.7;

    color: var(--text-gray);

    margin: 0;
}


/* =========================================
   SOLUCIONES
========================================= */

.software-solutions {
    padding: 120px 0;

    background: #f7faff;
}


.section-label {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.section-label span {
    width: 35px;
    height: 2px;

    background: var(--primary);
}


.solutions-content h2,
.benefits-content h2 {
    font-size: clamp(2.3rem, 4vw, 4rem);

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1.5px;

    color: var(--text-dark);

    margin-bottom: 25px;
}


.solutions-content h2 strong,
.benefits-content h2 strong {
    display: block;

    color: var(--primary);
}


.solutions-content p,
.benefits-content > p {
    max-width: 520px;

    font-size: 16px;

    line-height: 1.8;

    color: var(--text-gray);

    margin-bottom: 30px;
}


.solutions-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 15px 23px;

    border-radius: 12px;

    background: var(--primary);

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition: 0.3s;
}


.solutions-button:hover {
    color: #ffffff;

    text-decoration: none;

    background: var(--primary-dark);

    transform: translateY(-3px);
}


/* GRID SOLUCIONES */

.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


.solution-card {
    padding: 30px;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid #e8edf3;

    transition: all 0.3s ease;
}


.solution-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(15, 50, 85, 0.08);
}


.solution-card.featured {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            #1b82d1
        );

    color: #ffffff;
}


.solution-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 20px;
}


.solution-card.featured .solution-icon {
    background: rgba(255, 255, 255, 0.15);

    color: #ffffff;
}


.solution-card h3 {
    font-size: 17px;

    font-weight: 700;

    color: var(--text-dark);

    margin-bottom: 10px;
}


.solution-card.featured h3 {
    color: #ffffff;
}


.solution-card p {
    font-size: 13px;

    line-height: 1.7;

    color: var(--text-gray);

    margin: 0;
}


.solution-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}


/* =========================================
   PROCESO
========================================= */

.development-process {
    padding: 120px 0;

    background: #ffffff;

    overflow: hidden;
}


.process-header {
    text-align: center;

    margin-bottom: 80px;
}


.process-timeline {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}


.process-line {
    position: absolute;

    top: 66px;

    left: 12%;

    width: 76%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #c8dff2,
            transparent
        );
}


.process-step {
    position: relative;

    z-index: 2;

    text-align: center;
}


.step-number {
    margin-bottom: 15px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;
}


.step-icon {
    width: 82px;
    height: 82px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    border: 1px solid #dce8f3;

    color: var(--primary);

    font-size: 25px;

    box-shadow:
        0 15px 30px rgba(15, 50, 85, 0.08);

    transition: 0.3s;
}


.process-step:hover .step-icon {
    background: var(--primary);

    color: #ffffff;

    transform: scale(1.08);
}


.process-step h3 {
    font-size: 17px;

    font-weight: 700;

    color: var(--text-dark);

    margin-bottom: 10px;
}


.process-step p {
    max-width: 200px;

    margin: auto;

    font-size: 13px;

    line-height: 1.7;

    color: var(--text-gray);
}


/* =========================================
   BENEFICIOS
========================================= */

.software-benefits {
    padding: 120px 0;

    background: #f7faff;
}


.benefits-visual {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.benefit-circle {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid rgba(13, 98, 173, 0.12);
}


.circle-1 {
    width: 420px;
    height: 420px;
}


.circle-2 {
    width: 300px;
    height: 300px;

    border-style: dashed;
}


/* CARD CENTRAL */

.benefit-main-card {
    position: relative;

    z-index: 3;

    width: 290px;

    padding: 45px 35px;

    border-radius: 24px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #197bd0
        );

    color: #ffffff;

    box-shadow:
        0 30px 70px rgba(13, 98, 173, 0.28);
}


.benefit-logo {
    width: 65px;
    height: 65px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.15);

    font-size: 25px;
}


.benefit-main-card h3 {
    font-size: 26px;

    font-weight: 700;

    line-height: 1.3;
}


.benefit-main-card p {
    margin: 15px 0 0;

    font-size: 13px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.75);
}


/* FLOATING BENEFITS */

.benefit-floating {
    position: absolute;

    z-index: 4;

    padding: 12px 17px;

    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 15px 35px rgba(15, 50, 85, 0.1);

    color: var(--text-dark);

    font-size: 11px;

    font-weight: 600;
}


.benefit-floating i {
    color: var(--primary);

    margin-right: 6px;
}


.b1 {
    top: 80px;
    left: 10px;
}


.b2 {
    right: 0;
    top: 200px;
}


.b3 {
    bottom: 80px;
    left: 50px;
}


/* LISTA */

.benefits-list {
    list-style: none;

    padding: 0;

    margin: 30px 0 0;
}


.benefits-list li {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;

    font-size: 14px;

    color: var(--text-dark);
}


.benefits-list i {
    color: var(--primary);

    font-size: 16px;
}


/* =========================================
   CTA FINAL
========================================= */

.software-cta {
    position: relative;

    overflow: hidden;

    padding: 120px 0;

    background:
        linear-gradient(
            135deg,
            #073b72,
            #0d62ad
        );

    text-align: center;

    color: #ffffff;
}


.cta-glow {
    position: absolute;

    width: 700px;
    height: 700px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.12),
            transparent 65%
        );
}


.software-cta-content {
    position: relative;

    z-index: 2;

    max-width: 800px;

    margin: auto;
}


.cta-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.12);

    font-size: 26px;
}


.software-cta h2 {
    font-size: clamp(2.3rem, 4vw, 4rem);

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -1.5px;

    margin-bottom: 20px;
}


.software-cta p {
    max-width: 600px;

    margin: 0 auto 35px;

    font-size: 17px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.75);
}


.cta-button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 17px 28px;

    border-radius: 12px;

    background: #ffffff;

    color: var(--primary);

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;

    transition: 0.3s;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);
}


.cta-button:hover {
    color: var(--primary-dark);

    text-decoration: none;

    transform: translateY(-4px);
}


.cta-button i {
    transition: transform 0.3s ease;
}


.cta-button:hover i {
    transform: translateX(5px);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199px) {

    .software-hero {
        min-height: auto;
    }


    .intro-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .process-timeline {
        grid-template-columns:
            repeat(2, 1fr);

        row-gap: 60px;
    }


    .process-line {
        display: none;
    }


    .card-users {
        left: 0;
    }


    .card-cloud {
        right: 0;
    }

}


@media (max-width: 991px) {

    .software-hero {
        padding:
            130px 0 80px;

        text-align: center;
    }


    .software-badge {
        margin-left: auto;
        margin-right: auto;
    }


    .software-hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .software-hero-buttons,
    .software-mini-stats {
        justify-content: center;
    }


    .software-visual {
        margin-top: 80px;
    }


    .solutions-content {
        margin-bottom: 60px;
    }


    .solutions-content {
        text-align: center;
    }


    .solutions-content .section-label {
        justify-content: center;
    }


    .solutions-content p {
        margin-left: auto;
        margin-right: auto;
    }


    .benefits-visual {
        margin-bottom: 80px;
    }


    .benefits-content {
        text-align: center;
    }


    .benefits-content .section-label {
        justify-content: center;
    }


    .benefits-content > p {
        margin-left: auto;
        margin-right: auto;
    }


    .benefits-list {
        display: inline-block;

        text-align: left;
    }

}


@media (max-width: 767px) {

    .software-hero {
        padding:
            120px 0 70px;
    }


    .software-hero h1 {
        font-size: 3rem;

        letter-spacing: -1px;
    }


    .software-hero-description {
        font-size: 16px;
    }


    .software-mini-stats {
        gap: 20px;

        align-items: flex-start;
    }


    .mini-stat {
        width: 100%;

        justify-content: center;
    }


    .software-window {
        transform: scale(0.9);
    }


    .floating-card {
        display: none;
    }


    .intro-grid {
        grid-template-columns: 1fr;
    }


    .solutions-grid {
        grid-template-columns: 1fr;
    }


    .process-timeline {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .software-intro,
    .software-solutions,
    .development-process,
    .software-benefits,
    .software-cta {
        padding: 80px 0;
    }


    .benefit-circle {
        transform: scale(0.8);
    }


    .benefit-floating {
        font-size: 9px;

        padding: 10px 12px;
    }


    .b1 {
        left: 0;
    }


    .b2 {
        right: 0;
    }


    .b3 {
        left: 10px;
    }

}


@media (max-width: 480px) {

    .software-hero h1 {
        font-size: 2.5rem;
    }


    .software-hero-buttons {
        flex-direction: column;

        width: 100%;
    }


    .btn-software-primary,
    .btn-software-secondary {
        width: 100%;

        justify-content: center;
    }


    .software-window {
        transform: scale(0.78);

        width: 128%;

        margin-left: -14%;
    }


    .benefit-main-card {
        width: 250px;

        padding: 35px 25px;
    }


    .benefit-floating {
        display: none;
    }


    .benefit-circle {
        display: none;
    }

}