
/* =========================================
   LBS SOFTWARE — SERVICES SECTION
   ========================================= */

.lbs-services-section {
    position: relative;
    padding: 95px 0;
    background:
        radial-gradient(circle at top left, rgba(8,124,255,.08), transparent 22%),
        radial-gradient(circle at bottom right, rgba(167,139,250,.08), transparent 28%),
        #f7faff;
    color: #13233a;
    overflow: hidden;
}

/* Heading */
.lbs-services-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 40px;
}

.lbs-services-title {
    max-width: 800px;
}

.lbs-services-eyebrow {
    display: inline-block;
    color: #087cff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.lbs-services-title h2 {
    margin: 8px 0 12px;
    color: #0b2747;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.lbs-services-title p {
    max-width: 730px;
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}

.lbs-services-view-all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 17px;
    border: 1px solid #d5dfeb;
    border-radius: 9px;
    background: #fff;
    color: #0b2747;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}

.lbs-services-view-all:hover {
    color: #fff;
    background: #087cff;
    border-color: #087cff;
}

/* Grid */
.lbs-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Card */
.lbs-service-card {
    position: relative;
    min-height: 405px;
    padding: 23px 21px;
    overflow: hidden;
    border: 1px solid rgba(18,45,77,.08);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,249,255,.96));
    box-shadow: 0 14px 34px rgba(11,39,71,.06);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.lbs-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8,124,255,.38);
    box-shadow: 0 22px 52px rgba(11,39,71,.12);
}

.lbs-service-card.service-featured {
    border-color: rgba(8,124,255,.25);
    background:
        radial-gradient(
            circle at 80% 82%,
            rgba(8,124,255,.10),
            transparent 38%
        ),
        #fff;
}

/* Number */
.lbs-service-number {
    position: absolute;
    top: 20px;
    right: 21px;
    color: #c7d2df;
    font-size: 11px;
    font-weight: 800;
}

/* Icon */
.lbs-service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(8,124,255,.12), rgba(121,94,255,.1));
    color: #087cff;
    font-size: 17px;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.lbs-service-card:hover .lbs-service-icon {
    transform: translateY(-2px) rotate(-3deg);
    box-shadow: 0 10px 24px rgba(8,124,255,.14);
}

.icon-ai {
    background: #eaf4ff;
    color: #087cff;
}

.icon-cloud {
    background: #edf8ff;
    color: #0b72d8;
}

.icon-ecommerce {
    background: #fff6e7;
    color: #d88900;
}

.icon-mobile {
    background: #eef3ff;
    color: #596dff;
}

.icon-portal {
    background: #edfaff;
    color: #0096bd;
}

/* Text */
.lbs-service-card h3 {
    position: relative;
    z-index: 4;
    min-height: 58px;
    margin: 0 0 10px;
    color: #0b2747;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.lbs-service-card p {
    position: relative;
    z-index: 4;
    min-height: 74px;
    margin: 0 0 13px;
    color: #64748b;
    font-size: 11.5px;
    line-height: 1.65;
}

/* Tags */
.lbs-service-tags {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.lbs-service-tags span {
    padding: 5px 8px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #53657b;
    font-size: 9px;
    font-weight: 700;
}

/* Link */
.lbs-service-link {
    position: relative;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #087cff;
    font-size: 11px;
    font-weight: 800;
}

.lbs-service-link span {
    transition: transform .2s ease;
}

.lbs-service-link:hover span {
    transform: translateX(4px);
}

/* =========================================
   CARD ARTWORK
   ========================================= */

.service-art {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: .9;
}

/* Code */
.service-code-art {
    width: 135px;
    height: 100px;
    right: -25px;
    bottom: -12px;
    transform: rotate(-9deg);
}

.service-code-art i {
    display: block;
    height: 7px;
    margin: 12px 0;
    border-radius: 6px;
    background: #dbeeff;
}

.service-code-art i:nth-child(1) { width: 120px; }
.service-code-art i:nth-child(2) { width: 85px; margin-left: 18px; background:#a9d4ff; }
.service-code-art i:nth-child(3) { width: 110px; margin-left: 8px; }
.service-code-art i:nth-child(4) { width: 60px; margin-left: 30px; background:#a9d4ff; }

/* Browser */
.service-browser-art {
    right: -10px;
    bottom: -18px;
    width: 155px;
    height: 125px;
    border: 1px solid #cfe1f2;
    border-radius: 10px;
    background: #f5faff;
    transform: rotate(-5deg);
}

.browser-top {
    display: flex;
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid #dce7f1;
}

.browser-top b {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9fc6e8;
}

.browser-content {
    padding: 14px;
}

.browser-content i {
    display: block;
    width: 80%;
    height: 6px;
    margin-bottom: 9px;
    border-radius: 4px;
    background: #d7e8f7;
}

.browser-content i:nth-child(2) { width: 55%; }
.browser-content i:nth-child(3) { width: 70%; }

/* Portal */
.service-portal-art {
    width: 155px;
    height: 145px;
    right: -13px;
    bottom: -12px;
}

.portal-node {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid #a9dff0;
    border-radius: 50%;
    background: #effbff;
    color: #0087ac;
    font-size: 7px;
    font-weight: 800;
}

.portal-node.center {
    width: 62px;
    height: 62px;
    left: 45px;
    top: 40px;
    background: #087cff;
    color: #fff;
    border-color: #087cff;
    font-size: 13px;
}

.portal-node.n1 {
    width: 45px;
    height: 45px;
    left: 0;
    top: 0;
}

.portal-node.n2 {
    width: 48px;
    height: 48px;
    right: 0;
    top: 12px;
}

.portal-node.n3 {
    width: 45px;
    height: 45px;
    right: 15px;
    bottom: 0;
}

.service-portal-art::before,
.service-portal-art::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 1px;
    left: 57px;
    top: 68px;
    background: #b5ddec;
    transform: rotate(-155deg);
}

.service-portal-art::after {
    transform: rotate(18deg);
}

/* Mobile */
.service-mobile-art {
    right: 12px;
    bottom: -12px;
    transform: rotate(7deg);
}

.mini-phone {
    width: 78px;
    height: 142px;
    padding: 5px;
    border: 2px solid #bfd4e7;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(11,39,71,.12);
}

.mini-phone > div {
    width: 23px;
    height: 3px;
    margin: 2px auto 9px;
    border-radius: 5px;
    background: #d8e5ef;
}

.mini-phone i {
    display: block;
    height: 10px;
    margin: 8px 6px;
    border-radius: 5px;
    background: #e7f2fb;
}

.mini-phone i:nth-child(2) { background:#cde7ff; }
.mini-phone i:nth-child(3) { width:70%; background:#dcecff; }
.mini-phone i:nth-child(4) { width:85%; background:#cde7ff; }

/* Shop */
.service-shop-art {
    right: -5px;
    bottom: -14px;
    width: 145px;
    height: 115px;
}

.shop-bag {
    font-size: 70px;
    opacity: .12;
}

.service-shop-art > span {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    border: 1px solid #f0cf92;
    background: #fff8eb;
}

.service-shop-art > span:nth-child(2) {
    left: 15px;
    top: 47px;
}

.service-shop-art > span:nth-child(3) {
    left: 55px;
    top: 35px;
}

.service-shop-art > span:nth-child(4) {
    left: 95px;
    top: 52px;
}

/* AI */
.service-ai-art {
    right: -7px;
    bottom: -22px;
    width: 165px;
    height: 165px;
}

.ai-core {
    position: absolute;
    width: 78px;
    height: 78px;
    left: 43px;
    top: 42px;
    display: grid;
    place-items: center;
    border: 2px solid #087cff;
    border-radius: 50%;
    background: #edf6ff;
    color: #087cff;
    font-size: 19px;
    font-weight: 900;
    box-shadow: 0 0 35px rgba(8,124,255,.15);
}

.ai-orbit-a,
.ai-orbit-b {
    position: absolute;
    left: 10px;
    top: 56px;
    width: 145px;
    height: 50px;
    border: 1px solid #a9d4ff;
    border-radius: 50%;
}

.ai-orbit-a { transform: rotate(30deg); }
.ai-orbit-b { transform: rotate(-30deg); }

/* Cloud */
.service-cloud-art {
    width: 160px;
    height: 125px;
    right: -13px;
    bottom: -12px;
}

.cloud-shape {
    font-size: 78px;
    color: #ddecf9;
    opacity: .9;
}

.service-cloud-art i {
    position: absolute;
    width: 32px;
    height: 5px;
    border-radius: 5px;
    background: #b7d8f2;
}

.service-cloud-art i:nth-child(2) { left: 23px; top: 70px; }
.service-cloud-art i:nth-child(3) { left: 70px; top: 84px; }
.service-cloud-art i:nth-child(4) { left: 104px; top: 67px; }

/* =========================================
   BOTTOM CTA
   ========================================= */

.lbs-services-bottom {
    margin-top: 25px;
    padding: 22px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #e0e8f1;
    border-radius: 14px;
    background: #fff;
}

.lbs-services-bottom strong {
    display: block;
    color: #0b2747;
    font-size: 14px;
}

.lbs-services-bottom span {
    display: block;
    margin-top: 3px;
    color: #718096;
    font-size: 11px;
}

.lbs-services-bottom .btn {
    flex: 0 0 auto;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1100px) {
    .lbs-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .lbs-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lbs-services-heading {
        display: block;
    }

    .lbs-services-view-all {
        margin-top: 18px;
    }
}

@media (max-width: 580px) {
    .lbs-services-section {
        padding: 60px 0;
    }

    .lbs-services-grid {
        grid-template-columns: 1fr;
    }

    .lbs-service-card {
        min-height: 390px;
    }

    .lbs-services-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .lbs-services-bottom .btn {
        width: 100%;
    }
}
