/* =========================================
        MODULES
========================================= */

.modules-section{

    padding:120px 0;

    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #ffffff 100%
        );

}


/* HEADER */

.modules-header{

    text-align:center;

    max-width:800px;

    margin:0 auto 60px;

}

.modules-badge{

    display:inline-block;

    color:#2563EB;

    font-size:14px;

    font-weight:800;

    letter-spacing:2px;

    margin-bottom:18px;

}

.modules-header h2{

    font-size:52px;

    line-height:1.15;

    color:#111827;

    margin-bottom:20px;

}

.modules-header p{

    color:#64748B;

    font-size:18px;

    line-height:1.8;

}


/* GRID */

.modules-grid{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:24px;

}


/* CARD */

.module-card{

    background:#fff;

    border:1px solid #E8EEF7;

    border-radius:22px;

    padding:20px;

    box-shadow:
        0 12px 35px rgba(15,23,42,.06);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    overflow:hidden;

}

.module-card:hover{

    transform:translateY(-7px);

    box-shadow:
        0 25px 55px rgba(37,99,235,.13);

}


/* TOP */

.module-top{

    display:flex;

    gap:14px;

    align-items:flex-start;

    margin-bottom:20px;

}

.module-icon{

    width:52px;

    height:52px;

    min-width:52px;

    border-radius:15px;

    background:
        linear-gradient(
            135deg,
            #2563EB,
            #60A5FA
        );

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    box-shadow:
        0 8px 20px rgba(37,99,235,.20);

}

.module-card h3{

    font-size:18px;

    color:#111827;

    margin-bottom:7px;

}

.module-card p{

    font-size:13px;

    line-height:1.6;

    color:#64748B;

}


/* SCREEN */

.module-screen{

    width:100%;

    height:210px;

    object-fit:cover;

    object-position:top;

    display:block;

    border-radius:14px;

    border:1px solid #E5E7EB;

    background:#F8FAFC;

}


/* ANDROID */

.android-module{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    min-height:210px;

}

.android-module img{

    width:125px;

    max-height:200px;

    object-fit:contain;

}

.android-module ul{

    list-style:none;

    padding:0;

}

.android-module li{

    font-size:13px;

    margin:10px 0;

    color:#374151;

}

.android-module li::first-letter{

    color:#16A34A;

}


/* CLOUD */

.cloud-module{

    min-height:210px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:25px;

}

.cloud-icon{

    width:90px;

    height:90px;

    border-radius:30px;

    background:#EFF6FF;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:55px;

    color:#2563EB;

}

.cloud-devices{

    font-size:35px;

}


/* CTA */

.modules-cta{

    margin-top:35px;

    padding:28px 32px;

    border-radius:22px;

    background:
        linear-gradient(
            135deg,
            #EEF5FF,
            #F8FAFF
        );

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:30px;

}

.cta-left{

    display:flex;

    align-items:center;

    gap:18px;

}

.cta-icon{

    width:58px;

    height:58px;

    min-width:58px;

    border-radius:50%;

    background:#2563EB;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:26px;

}

.modules-cta h3{

    color:#173B82;

    font-size:22px;

    margin-bottom:6px;

}

.modules-cta p{

    color:#64748B;

    font-size:14px;

}

.modules-btn{

    white-space:nowrap;

    text-decoration:none;

    color:#fff;

    background:#2563EB;

    padding:16px 25px;

    border-radius:14px;

    font-weight:700;

    box-shadow:
        0 10px 25px rgba(37,99,235,.25);

    transition:.3s;

}

.modules-btn:hover{

    transform:translateY(-3px);

}


/* =========================================
        RESPONSIVE
========================================= */

@media(max-width:1100px){

    .modules-grid{

        grid-template-columns:
            repeat(2,1fr);

    }

}

@media(max-width:700px){

    .modules-section{

        padding:80px 0;

    }

    .modules-header h2{

        font-size:36px;

    }

    .modules-grid{

        grid-template-columns:1fr;

    }

    .modules-cta{

        flex-direction:column;

        align-items:flex-start;

    }

    .modules-btn{

        width:100%;

        text-align:center;

    }

}