/* =====================================================
   MK LABS AI SERVICES
   Dark Navy + Purple + Subtle Game Atmosphere
===================================================== */


* {
    box-sizing: border-box;
}


/* =====================================================
   PAGE
===================================================== */

body {

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(123, 63, 220, 0.10),
            transparent 35%
        ),
        #070914;

    color: white;

}


/* =====================================================
   AI HERO
===================================================== */

.ai-hero {

    min-height: 680px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 100px 8% 80px;

    overflow: hidden;

}


.ai-hero::before {

    content: "";

    position: absolute;

    width: 700px;

    height: 700px;

    right: -180px;

    top: -220px;

    background:

        radial-gradient(
            circle,
            rgba(139, 92, 246, 0.18),
            transparent 65%
        );

    pointer-events: none;

}


.ai-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        radial-gradient(
            rgba(255,255,255,0.15) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    opacity: .12;

    pointer-events: none;

}


.ai-content {

    max-width: 700px;

    position: relative;

    z-index: 2;

}


.ai-label {

    color: #a98bea;

    font-size: 12px;

    letter-spacing: 3px;

    margin-bottom: 25px;

}


.ai-content h1 {

    font-size: clamp(
        52px,
        7vw,
        90px
    );

    line-height: .98;

    letter-spacing: -4px;

    margin: 0;

}


.ai-content h1 span {

    color: #8b5cf6;

}


.ai-description {

    max-width: 650px;

    margin-top: 30px;

    color: #aaaaba;

    font-size: 17px;

    line-height: 1.8;

}


/* =====================================================
   HERO IMAGE
===================================================== */

.ai-image {

    position: relative;

    z-index: 2;

    width: 420px;

    display: flex;

    justify-content: center;

}


.ai-image::before {

    content: "";

    position: absolute;

    width: 360px;

    height: 360px;

    background:

        radial-gradient(
            circle,
            rgba(139,92,246,.28),
            transparent 70%
        );

    filter: blur(20px);

}


.ai-image img {

    position: relative;

    width: 100%;

    max-width: 420px;

    object-fit: contain;

    filter:

        drop-shadow(
            0 20px 50px
            rgba(0,0,0,.6)
        );

}


/* =====================================================
   BUTTONS
===================================================== */

.buttons {

    display: flex;

    gap: 15px;

    margin-top: 35px;

}


.buttons a {

    text-decoration: none;

}


.primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 25px;

    border-radius: 10px;

    background: #8b5cf6;

    color: white;

    font-weight: 600;

    transition: .25s;

}


.primary:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px
        rgba(139,92,246,.35);

}


.secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 25px;

    border-radius: 10px;

    border: 1px solid
        rgba(255,255,255,.15);

    color: white;

    transition: .25s;

}


.secondary:hover {

    border-color:
        rgba(139,92,246,.5);

}


/* =====================================================
   SERVICES
===================================================== */

.ai-services {

    position: relative;

    padding: 100px 8% 130px;

}


.services-heading {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 60px;

}


.services-heading p {

    color: #8b5cf6;

    font-size: 12px;

    letter-spacing: 3px;

    margin-bottom: 15px;

}


.services-heading h2 {

    font-size: clamp(
        42px,
        5vw,
        65px
    );

    letter-spacing: -2px;

    margin-bottom: 15px;

}


.services-heading span {

    color: #9292a3;

    font-size: 15px;

    line-height: 1.7;

}


/* =====================================================
   AI GRID
===================================================== */

.ai-grid {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


/* =====================================================
   AI CARD
===================================================== */

.ai-card {

    min-height: 300px;

    padding: 28px;

    border-radius: 18px;

    background:

        linear-gradient(
            145deg,
            rgba(18,20,38,.94),
            rgba(10,12,26,.9)
        );

    border: 1px solid
        rgba(255,255,255,.08);

    position: relative;

    overflow: hidden;

    transition:

        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

}


.ai-card::before {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    right: -100px;

    bottom: -120px;

    background:

        radial-gradient(
            circle,
            rgba(139,92,246,.14),
            transparent 70%
        );

}


.ai-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(139,92,246,.4);

    box-shadow:

        0 20px 50px
        rgba(0,0,0,.3);

}


/* =====================================================
   FEATURED
===================================================== */

.ai-card.featured {

    border-color:
        rgba(139,92,246,.32);

}


.ai-card.gameforge-card {

    border-color:
        rgba(139,92,246,.42);

    background:

        linear-gradient(
            145deg,
            rgba(28,20,52,.96),
            rgba(10,12,26,.92)
        );

}


.ai-card.gameforge-card::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    right: -50px;

    top: -80px;

    background:

        radial-gradient(
            circle,
            rgba(139,92,246,.2),
            transparent 70%
        );

}


/* =====================================================
   CARD TOP
===================================================== */

.ai-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 30px;

}


.service-icon {

    width: 55px;

    height: 55px;

    border-radius: 14px;

    display: grid;

    place-items: center;

    font-size: 28px;

    background:

        rgba(139,92,246,.10);

    border: 1px solid
        rgba(139,92,246,.18);

}


.service-status {

    font-size: 9px;

    letter-spacing: 1.5px;

    color: #8f8d9c;

}


/* =====================================================
   CARD CONTENT
===================================================== */

.ai-card h3 {

    font-size: 25px;

    margin-bottom: 13px;

}


.ai-card p {

    color: #9696a6;

    font-size: 14px;

    line-height: 1.75;

    min-height: 75px;

}


.service-link {

    display: inline-block;

    margin-top: 25px;

    color: #9869ff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

}


.service-link:hover {

    color: #b394ff;

}


.service-link.disabled {

    color: #555564;

    cursor: default;

}


/* =====================================================
   FUTURE SECTION
===================================================== */

.ai-future {

    padding: 110px 8%;

    border-top:
        1px solid
        rgba(255,255,255,.06);

    background:

        radial-gradient(
            circle at center,
            rgba(139,92,246,.09),
            transparent 55%
        );

}


.ai-future > div {

    max-width: 900px;

    margin: auto;

    text-align: center;

}


.ai-future h2 {

    font-size: clamp(
        40px,
        6vw,
        70px
    );

    letter-spacing: -3px;

    line-height: 1;

    margin-bottom: 25px;

}


.ai-future > div > p:last-child {

    max-width: 550px;

    margin: auto;

    color: #858595;

    line-height: 1.7;

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .ai-hero {

        flex-direction: column;

        text-align: center;

        padding-top: 80px;

    }


    .ai-content {

        max-width: 700px;

    }


    .ai-description {

        margin-left: auto;

        margin-right: auto;

    }


    .buttons {

        justify-content: center;

    }


    .ai-image {

        width: 320px;

    }


    .ai-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 600px) {

    .ai-hero {

        padding:
            70px 20px
            60px;

    }


    .ai-content h1 {

        font-size: 48px;

        letter-spacing: -2px;

    }


    .buttons {

        flex-direction: column;

    }


    .buttons a {

        width: 100%;

    }


    .ai-image {

        width: 260px;

    }


    .ai-services {

        padding:
            75px 20px
            90px;

    }


    .ai-grid {

        grid-template-columns: 1fr;

    }


    .ai-card {

        min-height: auto;

    }


    .ai-future {

        padding:
            80px 20px;

    }

}