/* =========================================================
   MALATI AI
   Malati IT Solutions
   ========================================================= */

:root {

    /* Malati brand language */

    --mai-red: #c41424;
    --mai-red-deep: #8f0d18;

    --mai-orange: #f28a00;
    --mai-orange-bright: #ffac2f;

    --mai-ink: #152d31;
    --mai-dark: #081113;
    --mai-dark-2: #0d191c;

    --mai-white: #ffffff;
    --mai-soft: #f5f6f6;

    --mai-muted: #9ca9ab;

    --mai-border:
        rgba(255, 255, 255, 0.10);

    --mai-shadow:
        0 30px 80px rgba(0, 0, 0, 0.32);

    --mai-radius: 28px;

    --mai-font:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
}



/* =========================================================
   LAUNCHER
   ========================================================= */

.malati-ai-launcher-wrap {

    position: fixed;

    left: 26px;
    bottom: 26px;

    z-index: 9997;

    display: flex;

    align-items: flex-start;
    flex-direction: column;

    gap: 9px;
}


.malati-ai-launcher {

    position: relative;

    min-width: 244px;

    display: flex;

    align-items: center;

    gap: 12px;

    border: 1px solid
        rgba(255,255,255,.16);

    border-radius: 999px;

    padding:
        8px
        12px
        8px
        8px;

    background:
        linear-gradient(
            110deg,
            #091214,
            #142529
        );

    box-shadow:
        0 14px 40px rgba(0,0,0,.27),
        0 0 0 1px rgba(255,255,255,.025) inset;

    color: #fff;

    cursor: pointer;

    overflow: hidden;

    font-family: var(--mai-font);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.malati-ai-launcher::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            100deg,
            transparent 20%,
            rgba(242,138,0,.14),
            rgba(196,20,36,.14),
            transparent 80%
        );

    transform:
        translateX(-110%);

    transition:
        transform .7s ease;
}


.malati-ai-launcher:hover::before {

    transform:
        translateX(110%);
}


.malati-ai-launcher:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(242,138,0,.35);

    box-shadow:
        0 20px 50px rgba(0,0,0,.33),
        0 0 30px rgba(242,138,0,.08);
}


.malati-ai-launcher-icon {

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    position: relative;

    background:
        conic-gradient(
            from 180deg,
            var(--mai-red),
            var(--mai-orange),
            var(--mai-orange-bright),
            var(--mai-red)
        );

    box-shadow:
        0 0 0 4px rgba(255,255,255,.05),
        0 0 26px rgba(242,138,0,.22);
}


.malati-ai-launcher-icon::before {

    content: "";

    position: absolute;

    inset: 4px;

    border-radius: inherit;

    background:
        radial-gradient(
            circle at 35% 25%,
            #273d41,
            #091214 70%
        );
}


.malati-ai-spark {

    position: relative;

    z-index: 2;

    color:
        var(--mai-orange-bright);

    font-size: 20px;

    animation:
        maiSpark 2.6s
        ease-in-out
        infinite;
}


@keyframes maiSpark {

    0%,
    100% {
        transform:
            scale(1)
            rotate(0deg);
    }

    50% {
        transform:
            scale(1.18)
            rotate(12deg);
    }
}


.malati-ai-launcher-copy {

    display: flex;

    flex-direction: column;

    text-align: left;

    position: relative;

    z-index: 2;
}


.malati-ai-launcher-copy strong {

    font-size: 14px;

    font-weight: 700;

    letter-spacing: -.01em;
}


.malati-ai-launcher-copy small {

    margin-top: 2px;

    color:
        rgba(255,255,255,.58);

    font-size: 10px;

    letter-spacing: .035em;
}


.malati-ai-launcher-arrow {

    position: relative;

    z-index: 2;

    margin-left: auto;

    color:
        var(--mai-orange);

    font-size: 17px;
}


.malati-ai-launcher-hint {

    margin-left: 12px;

    padding:
        7px
        11px;

    border:
        1px solid rgba(255,255,255,.10);

    border-radius: 10px;

    background:
        rgba(10,20,23,.92);

    backdrop-filter:
        blur(18px);

    color:
        rgba(255,255,255,.72);

    box-shadow:
        0 10px 35px rgba(0,0,0,.15);

    font:
        500 10px/1.2
        var(--mai-font);

    opacity: 0;

    transform:
        translateY(7px);

    animation:
        maiHint 10s
        4s
        infinite;
}


@keyframes maiHint {

    0%,
    8% {
        opacity: 0;

        transform:
            translateY(7px);
    }

    12%,
    35% {
        opacity: 1;

        transform:
            translateY(0);
    }

    43%,
    100% {
        opacity: 0;

        transform:
            translateY(7px);
    }
}



/* =========================================================
   OVERLAY
   ========================================================= */

.malati-ai-overlay {

    position: fixed;

    inset: 0;

    z-index: 9998;

    background:
        rgba(3,8,10,.46);

    backdrop-filter:
        blur(4px);

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .35s ease;
}


.malati-ai-overlay.is-open {

    opacity: 1;

    pointer-events: auto;
}



/* =========================================================
   PANEL
   ========================================================= */

.malati-ai-panel {

    position: fixed;

    left: 24px;
    bottom: 24px;

    z-index: 9999;

    width:
        min(440px, calc(100vw - 48px));

    height:
        min(720px, calc(100vh - 48px));

    display: flex;

    flex-direction: column;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius:
        var(--mai-radius);

    background:
        linear-gradient(
            165deg,
            #111f22 0%,
            #071012 63%,
            #0c1315 100%
        );

    box-shadow:
        var(--mai-shadow);

    overflow: hidden;

    opacity: 0;

    transform:
        translateY(35px)
        scale(.96);

    transform-origin:
        bottom left;

    pointer-events: none;

    transition:
        opacity .32s ease,
        transform .38s
        cubic-bezier(.2,.8,.2,1);
}


.malati-ai-panel.is-open {

    opacity: 1;

    transform:
        translateY(0)
        scale(1);

    pointer-events: auto;
}


.malati-ai-panel::before {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -170px;
    right: -120px;

    border-radius: 50%;

    background:
        rgba(196,20,36,.20);

    filter:
        blur(80px);

    pointer-events: none;
}


.malati-ai-panel::after {

    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    bottom: -180px;
    left: -100px;

    border-radius: 50%;

    background:
        rgba(242,138,0,.16);

    filter:
        blur(90px);

    pointer-events: none;
}



/* =========================================================
   HEADER
   ========================================================= */

.malati-ai-header {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    padding:
        18px
        19px;

    border-bottom:
        1px solid
        var(--mai-border);

    background:
        rgba(10,20,22,.64);

    backdrop-filter:
        blur(20px);
}


.malati-ai-identity {

    display: flex;

    align-items: center;

    gap: 11px;
}


.malati-ai-avatar {

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    position: relative;

    border-radius: 50%;

    background:
        conic-gradient(
            var(--mai-red),
            var(--mai-orange),
            var(--mai-red)
        );
}


.malati-ai-avatar::after {

    content: "";

    position: absolute;

    inset: 3px;

    border-radius: inherit;

    background:
        #0b1719;
}


.malati-ai-avatar-core {

    position: relative;

    z-index: 2;

    color:
        var(--mai-orange);

    font-size: 18px;
}


.malati-ai-name {

    display: flex;

    align-items: center;

    gap: 7px;

    color: #fff;

    font:
        700 14px/1.25
        var(--mai-font);
}


.malati-ai-role {

    margin-top: 3px;

    color:
        rgba(255,255,255,.5);

    font:
        500 10px/1.3
        var(--mai-font);

    letter-spacing: .035em;
}


.malati-ai-status {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--mai-orange);

    box-shadow:
        0 0 12px
        var(--mai-orange);
}


.malati-ai-close {

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(255,255,255,.10);

    border-radius: 50%;

    background:
        rgba(255,255,255,.045);

    color:
        rgba(255,255,255,.72);

    cursor: pointer;

    font-size: 24px;

    font-weight: 300;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.malati-ai-close:hover {

    background:
        rgba(255,255,255,.09);

    color: #fff;

    transform:
        rotate(6deg);
}



/* =========================================================
   CONVERSATION
   ========================================================= */

.malati-ai-conversation {

    position: relative;

    z-index: 2;

    flex: 1;

    overflow-y: auto;

    padding:
        24px
        18px
        20px;

    scroll-behavior:
        smooth;
}


.malati-ai-conversation::-webkit-scrollbar {

    width: 5px;
}


.malati-ai-conversation::-webkit-scrollbar-thumb {

    border-radius: 99px;

    background:
        rgba(255,255,255,.12);
}


.malati-ai-message {

    display: flex;

    gap: 9px;

    margin-bottom: 18px;

    animation:
        maiMessageIn .35s ease
        both;
}


@keyframes maiMessageIn {

    from {
        opacity: 0;

        transform:
            translateY(7px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


.malati-ai-message.user {

    justify-content:
        flex-end;

    padding-left: 52px;
}


.malati-ai-message.ai {

    padding-right: 20px;
}


.malati-ai-message-avatar {

    width: 26px;
    height: 26px;

    flex: 0 0 26px;

    display: grid;
    place-items: center;

    margin-top: 4px;

    border:
        1px solid
        rgba(242,138,0,.24);

    border-radius: 50%;

    background:
        rgba(242,138,0,.08);

    color:
        var(--mai-orange);

    font-size: 11px;
}


.malati-ai-bubble {

    font-family:
        var(--mai-font);
}


.malati-ai-message.ai
.malati-ai-bubble {

    color:
        rgba(255,255,255,.79);

    font-size: 13px;

    line-height: 1.65;
}


.malati-ai-message.user
.malati-ai-bubble {

    padding:
        12px
        15px;

    border-radius:
        18px
        18px
        5px
        18px;

    background:
        linear-gradient(
            135deg,
            var(--mai-red),
            #9f111e
        );

    color: #fff;

    box-shadow:
        0 12px 28px
        rgba(196,20,36,.18);

    font-size: 13px;

    line-height: 1.5;
}


.malati-ai-bubble p {

    margin:
        0 0 10px;
}


.malati-ai-bubble p:last-child {

    margin-bottom: 0;
}


.malati-ai-eyebrow {

    display: block;

    margin-bottom: 7px;

    color:
        var(--mai-orange);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .18em;
}


.malati-ai-bubble h3 {

    margin:
        0 0 8px;

    color: #fff;

    font-size: 21px;

    line-height: 1.22;

    letter-spacing: -.035em;
}


.malati-ai-response-label {

    display: inline-block;

    margin-bottom: 9px;

    color:
        var(--mai-orange);

    font-size: 9px;

    font-weight: 800;

    text-transform:
        uppercase;

    letter-spacing:
        .12em;
}


.malati-ai-response-content ul {

    list-style: none;

    padding: 0;

    margin:
        12px 0;
}


.malati-ai-response-content li {

    position: relative;

    padding-left: 18px;

    margin:
        6px 0;
}


.malati-ai-response-content li::before {

    content: "✦";

    position: absolute;

    left: 0;

    top: 1px;

    color:
        var(--mai-orange);

    font-size: 9px;
}



/* =========================================================
   SUGGESTIONS
   ========================================================= */

.malati-ai-suggestions {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin:
        4px
        0
        25px
        35px;
}


.malati-ai-suggestions button {

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius:
        999px;

    padding:
        9px
        12px;

    background:
        rgba(255,255,255,.035);

    color:
        rgba(255,255,255,.67);

    cursor: pointer;

    font:
        500 10px/1
        var(--mai-font);

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.malati-ai-suggestions button:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(242,138,0,.30);

    background:
        rgba(242,138,0,.08);

    color: #fff;
}



/* =========================================================
   INPUT
   ========================================================= */

.malati-ai-input-area {

    position: relative;

    z-index: 2;

    padding:
        13px
        15px
        14px;

    border-top:
        1px solid
        var(--mai-border);

    background:
        rgba(7,15,17,.83);

    backdrop-filter:
        blur(22px);
}


.malati-ai-input-wrap {

    display: flex;

    align-items:
        flex-end;

    gap: 8px;

    padding:
        7px
        7px
        7px
        14px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius:
        19px;

    background:
        rgba(255,255,255,.045);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.malati-ai-input-wrap:focus-within {

    border-color:
        rgba(242,138,0,.38);

    box-shadow:
        0 0 0 3px
        rgba(242,138,0,.05);
}


.malati-ai-input-wrap textarea {

    width: 100%;

    min-height: 34px;

    max-height: 130px;

    resize: none;

    padding:
        8px
        0;

    border: 0;

    outline: 0;

    background:
        transparent;

    color: #fff;

    font:
        500 13px/1.45
        var(--mai-font);
}


.malati-ai-input-wrap
textarea::placeholder {

    color:
        rgba(255,255,255,.36);
}


.malati-ai-send {

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--mai-orange-bright),
            var(--mai-orange)
        );

    color:
        #141414;

    cursor: pointer;

    font-size: 17px;

    font-weight: 800;

    box-shadow:
        0 8px 24px
        rgba(242,138,0,.20);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.malati-ai-send:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(242,138,0,.28);
}


.malati-ai-footer-note {

    margin-top: 8px;

    text-align: center;

    color:
        rgba(255,255,255,.30);

    font:
        500 8px/1.35
        var(--mai-font);

    letter-spacing:
        .02em;
}



/* =========================================================
   TYPING
   ========================================================= */

.malati-ai-typing {

    display: flex;

    gap: 4px;

    padding-top: 7px;
}


.malati-ai-typing span {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.5);

    animation:
        maiTyping 1.1s
        infinite;
}


.malati-ai-typing span:nth-child(2) {

    animation-delay: .12s;
}


.malati-ai-typing span:nth-child(3) {

    animation-delay: .24s;
}


@keyframes maiTyping {

    0%,
    60%,
    100% {

        opacity: .25;

        transform:
            translateY(0);
    }

    30% {

        opacity: 1;

        transform:
            translateY(-4px);
    }
}



/* =========================================================
   RESPONSE CTA
   ========================================================= */

.malati-ai-action-card {

    margin-top: 16px;

    padding: 13px;

    border:
        1px solid
        rgba(242,138,0,.17);

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            rgba(242,138,0,.08),
            rgba(196,20,36,.06)
        );
}


.malati-ai-action-card > div {

    margin-bottom: 11px;
}


.malati-ai-action-card strong {

    display: block;

    color: #fff;

    font-size: 11px;
}


.malati-ai-action-card span {

    display: block;

    margin-top: 3px;

    color:
        rgba(255,255,255,.50);

    font-size: 9px;
}


.malati-ai-action-card a {

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    padding:
        10px
        12px;

    border-radius: 10px;

    background:
        #fff;

    color:
        #101719;

    text-decoration: none;

    font:
        700 10px/1
        var(--mai-font);
}


.malati-ai-action-card a span {

    display: inline;

    margin: 0;

    color:
        var(--mai-red);

    font-size: 13px;
}



/* =========================================================
   BODY LOCK
   ========================================================= */

body.malati-ai-open {

    overflow: hidden;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .malati-ai-launcher-wrap {

        left: 14px;
        bottom: 14px;
    }


    .malati-ai-launcher {

        min-width: 0;

        padding-right: 15px;
    }


    .malati-ai-launcher-copy small {

        display: none;
    }


    .malati-ai-launcher-copy strong {

        font-size: 12px;
    }


    .malati-ai-launcher-arrow {

        display: none;
    }


    .malati-ai-launcher-icon {

        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    .malati-ai-launcher-hint {

        display: none;
    }


    .malati-ai-panel {

        left: 8px;
        right: 8px;
        bottom: 8px;

        width: auto;

        height:
            calc(100dvh - 16px);

        border-radius: 23px;

        transform-origin:
            bottom center;
    }


    .malati-ai-message.ai {

        padding-right: 5px;
    }


    .malati-ai-suggestions {

        margin-left: 34px;
    }

}




/* =========================================================
   MALATI AI — HOMEPAGE EXPERIENCE
   ========================================================= */

.malati-ai-experience {

    position: relative;

    overflow: hidden;

    margin: 0;

    padding:
        clamp(90px, 10vw, 150px)
        6%;

    background:
        radial-gradient(
            circle at 78% 50%,
            rgba(196,20,36,.14),
            transparent 31%
        ),
        radial-gradient(
            circle at 66% 76%,
            rgba(242,138,0,.10),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #071012 0%,
            #101d20 52%,
            #080e10 100%
        );

    color: white;

    isolation: isolate;
}


.malati-ai-experience::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: .17;

    background-image:
        linear-gradient(
            rgba(255,255,255,.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.055) 1px,
            transparent 1px
        );

    background-size:
        70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 20%,
            black 80%,
            transparent
        );

    z-index: -2;
}


.malati-ai-experience::after {

    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    right: -320px;
    top: -260px;

    border:
        1px solid
        rgba(242,138,0,.15);

    box-shadow:
        0 0 0 80px rgba(242,138,0,.012),
        0 0 0 160px rgba(196,20,36,.01);

    z-index: -1;
}


.malati-ai-experience-grid {

    width:
        min(1380px, 100%);

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, .95fr);

    align-items: center;

    gap:
        clamp(50px, 7vw, 115px);
}



/* COPY */

.malati-ai-kicker {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 22px;

    color:
        var(--mai-orange);

    font:
        800 11px/1
        var(--mai-font);

    letter-spacing: .18em;
}


.malati-ai-kicker span {

    font-size: 15px;
}


.malati-ai-experience-copy h2 {

    max-width: 760px;

    margin:
        0 0 24px;

    color: #fff;

    font:
        600 clamp(43px,5.2vw,76px)/.98
        var(--mai-font);

    letter-spacing:
        -.065em;
}


.malati-ai-experience-copy h2 span {

    display: block;

    margin-top: 10px;

    background:
        linear-gradient(
            95deg,
            #fff 0%,
            var(--mai-orange-bright) 44%,
            #ef5963 100%
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;
}


.malati-ai-lead {

    max-width: 690px;

    margin:
        0 0 32px;

    color:
        rgba(255,255,255,.60);

    font:
        400 clamp(15px,1.5vw,18px)/1.75
        var(--mai-font);
}


.malati-ai-experience-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    margin-bottom: 38px;
}


.malati-ai-primary-action {

    min-width: 190px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    padding:
        15px
        18px;

    border: 0;

    border-radius: 999px;

    background:
        linear-gradient(
            105deg,
            var(--mai-red),
            #de3a2f 48%,
            var(--mai-orange)
        );

    box-shadow:
        0 14px 35px
        rgba(196,20,36,.24);

    color: white;

    cursor: pointer;

    font:
        700 13px/1
        var(--mai-font);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.malati-ai-primary-action:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 48px
        rgba(196,20,36,.31);
}


.malati-ai-primary-action
.spark {

    color:
        #fff1c9;
}


.malati-ai-primary-action
.arrow {

    margin-left: 4px;

    font-size: 16px;
}


.malati-ai-action-note {

    max-width: 215px;

    color:
        rgba(255,255,255,.38);

    font:
        500 10px/1.45
        var(--mai-font);
}


.malati-ai-action-note strong {

    display: block;

    color:
        rgba(255,255,255,.68);
}



/* QUESTIONS */

.malati-ai-question-stream {

    max-width: 670px;

    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.malati-ai-question-stream button {

    padding:
        9px 12px;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius:
        999px;

    background:
        rgba(255,255,255,.025);

    color:
        rgba(255,255,255,.48);

    cursor: pointer;

    font:
        500 10px/1
        var(--mai-font);

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.malati-ai-question-stream button:hover {

    border-color:
        rgba(242,138,0,.28);

    background:
        rgba(242,138,0,.055);

    color:
        rgba(255,255,255,.88);
}



/* =========================================================
   AI VISUAL
   ========================================================= */

.malati-ai-visual {

    position: relative;

    min-height:
        610px;

    display: grid;

    place-items: center;
}


.malati-ai-energy {

    position: absolute;

    border-radius: 50%;

    filter:
        blur(70px);
}


.energy-red {

    width: 330px;
    height: 330px;

    background:
        rgba(196,20,36,.23);
}


.energy-orange {

    width: 200px;
    height: 200px;

    transform:
        translate(90px, 120px);

    background:
        rgba(242,138,0,.20);
}



/* ORBITS */

.malati-ai-orbit {

    position: absolute;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 50%;

    animation:
        maiOrbit 22s
        linear
        infinite;
}


.orbit-one {

    width: 420px;
    height: 420px;
}


.orbit-two {

    width: 505px;
    height: 505px;

    border-color:
        rgba(242,138,0,.11);

    animation-duration:
        31s;

    animation-direction:
        reverse;
}


.orbit-three {

    width: 575px;
    height: 575px;

    border-style:
        dashed;

    border-color:
        rgba(196,20,36,.11);

    animation-duration:
        44s;
}


.malati-ai-orbit::before {

    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    top: 49%;
    left: -4px;

    border-radius: 50%;

    background:
        var(--mai-orange);

    box-shadow:
        0 0 18px
        var(--mai-orange);
}


@keyframes maiOrbit {

    to {
        transform:
            rotate(360deg);
    }
}



/* =========================================================
   DIGITAL ADVISOR CHARACTER
   ========================================================= */

.malati-ai-digital-advisor {

    position: relative;

    z-index: 3;

    width: 290px;

    display: flex;

    flex-direction: column;

    align-items: center;

    filter:
        drop-shadow(
            0 28px 50px
            rgba(0,0,0,.46)
        );

    animation:
        maiFloat 5.5s
        ease-in-out
        infinite;
}


@keyframes maiFloat {

    0%,
    100% {

        transform:
            translateY(0);
    }

    50% {

        transform:
            translateY(-12px);
    }
}


.malati-ai-head {

    width: 190px;
    height: 180px;

    position: relative;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius:
        46% 46% 42% 42% /
        44% 44% 56% 56%;

    background:
        linear-gradient(
            145deg,
            #30464b,
            #101b1e 42%,
            #050b0c
        );

    box-shadow:
        inset 18px 15px 34px
        rgba(255,255,255,.045),
        inset -18px -20px 30px
        rgba(0,0,0,.30);
}


.malati-ai-head::before {

    content: "";

    position: absolute;

    width: 72%;

    height: 7px;

    left: 14%;

    top: 27px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--mai-red),
            var(--mai-orange),
            transparent
        );

    opacity: .75;

    filter:
        blur(.2px);

    box-shadow:
        0 0 19px
        rgba(242,138,0,.30);
}


.malati-ai-face {

    position: absolute;

    inset:
        52px
        27px
        31px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius:
        34px;

    background:
        linear-gradient(
            145deg,
            rgba(0,0,0,.25),
            rgba(255,255,255,.025)
        );

    box-shadow:
        inset 0 0 35px
        rgba(0,0,0,.25);
}


.malati-ai-eye {

    position: absolute;

    top: 35px;

    width: 30px;
    height: 8px;

    border-radius:
        99px;

    background:
        var(--mai-orange-bright);

    box-shadow:
        0 0 12px
        rgba(242,138,0,.65),
        0 0 28px
        rgba(242,138,0,.27);

    animation:
        maiBlink 5s
        infinite;
}


.eye-left {

    left: 24px;
}


.eye-right {

    right: 24px;
}


@keyframes maiBlink {

    0%,
    44%,
    48%,
    100% {

        transform:
            scaleY(1);
    }

    46% {

        transform:
            scaleY(.08);
    }
}


.malati-ai-face-line {

    position: absolute;

    width: 45px;
    height: 1px;

    bottom: 21px;
    left: 50%;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );
}


.malati-ai-neck {

    width: 70px;
    height: 30px;

    margin-top: -7px;

    background:
        linear-gradient(
            90deg,
            #071012,
            #2a3b3f,
            #071012
        );
}


.malati-ai-body {

    width: 250px;
    height: 220px;

    position: relative;

    margin-top: -4px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius:
        48px 48px 90px 90px;

    background:
        linear-gradient(
            145deg,
            #273b3f,
            #111c1f 45%,
            #060d0f
        );

    box-shadow:
        inset 20px 10px 35px
        rgba(255,255,255,.035);
}


.malati-ai-body::before {

    content: "";

    position: absolute;

    width: 75%;

    height: 1px;

    left: 12.5%;

    top: 40px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(196,20,36,.8),
            rgba(242,138,0,.8),
            transparent
        );

    box-shadow:
        0 0 14px
        rgba(242,138,0,.24);
}


.malati-ai-body-core {

    position: absolute;

    width: 86px;
    height: 86px;

    left: 50%;
    top: 78px;

    transform:
        translateX(-50%);

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(242,138,0,.26);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(242,138,0,.19),
            rgba(196,20,36,.08) 48%,
            transparent 68%
        );

    box-shadow:
        0 0 0 11px
        rgba(255,255,255,.015),
        0 0 40px
        rgba(242,138,0,.12);
}


.malati-ai-body-core span {

    color:
        var(--mai-orange-bright);

    font-size: 30px;

    text-shadow:
        0 0 20px
        rgba(242,138,0,.75);

    animation:
        maiCorePulse 2.5s
        ease-in-out
        infinite;
}


@keyframes maiCorePulse {

    50% {

        transform:
            scale(1.16);

        opacity:
            .72;
    }
}



/* =========================================================
   FLOATING TECHNOLOGY CARDS
   ========================================================= */

.malati-ai-floating-card {

    position: absolute;

    z-index: 5;

    min-width: 155px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        10px
        12px;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius:
        13px;

    background:
        rgba(12,24,27,.61);

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 14px 35px
        rgba(0,0,0,.18);

    animation:
        maiCardFloat 5s
        ease-in-out
        infinite;
}


.malati-ai-floating-card
.icon {

    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            rgba(196,20,36,.16),
            rgba(242,138,0,.12)
        );

    color:
        var(--mai-orange);

    font-size: 13px;
}


.malati-ai-floating-card
small {

    display: block;

    margin-bottom: 3px;

    color:
        rgba(255,255,255,.32);

    font:
        700 7px/1
        var(--mai-font);

    letter-spacing: .12em;
}


.malati-ai-floating-card
strong {

    display: block;

    color:
        rgba(255,255,255,.79);

    font:
        600 10px/1.2
        var(--mai-font);
}


.card-security {

    left: -10px;
    top: 135px;
}


.card-cloud {

    right: -5px;
    top: 190px;

    animation-delay:
        -1.1s;
}


.card-ai {

    left: 15px;
    bottom: 120px;

    animation-delay:
        -2.2s;
}


.card-license {

    right: 15px;
    bottom: 85px;

    animation-delay:
        -3.1s;
}


@keyframes maiCardFloat {

    0%,
    100% {

        transform:
            translateY(0);
    }

    50% {

        transform:
            translateY(-8px);
    }
}


.malati-ai-visual-caption {

    position: absolute;

    bottom: 8px;

    display: flex;

    align-items: center;

    gap: 7px;

    color:
        rgba(255,255,255,.28);

    font:
        700 8px/1
        var(--mai-font);

    letter-spacing:
        .17em;
}


.malati-ai-visual-caption
.pulse {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--mai-orange);

    box-shadow:
        0 0 10px
        var(--mai-orange);

    animation:
        maiStatusPulse 1.6s
        infinite;
}


@keyframes maiStatusPulse {

    50% {
        opacity: .35;
    }
}



/* =========================================================
   HOMEPAGE AI RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .malati-ai-experience-grid {

        grid-template-columns: 1fr;
    }


    .malati-ai-experience-copy {

        text-align: center;
    }


    .malati-ai-experience-copy h2,
    .malati-ai-lead {

        margin-left: auto;
        margin-right: auto;
    }


    .malati-ai-experience-actions,
    .malati-ai-question-stream {

        justify-content: center;

        margin-left: auto;
        margin-right: auto;
    }


    .malati-ai-visual {

        width:
            min(620px, 100%);

        margin:
            0 auto;
    }

}


@media (max-width: 620px) {

    .malati-ai-experience {

        padding:
            85px 20px;
    }


    .malati-ai-experience-copy h2 {

        font-size:
            clamp(39px, 12vw, 54px);
    }


    .malati-ai-lead {

        font-size: 14px;
    }


    .malati-ai-action-note {

        width: 100%;

        max-width: none;
    }


    .malati-ai-visual {

        min-height: 505px;

        transform:
            scale(.84);

        margin-top: -25px;
        margin-bottom: -50px;
    }


    .orbit-three {

        width: 500px;
        height: 500px;
    }


    .orbit-two {

        width: 445px;
        height: 445px;
    }


    .orbit-one {

        width: 380px;
        height: 380px;
    }


    .card-security {

        left: -45px;
    }


    .card-cloud {

        right: -55px;
    }


    .card-ai {

        left: -35px;
    }


    .card-license {

        right: -40px;
    }

}



/* =========================================================
   MALATI AI — OFFICIAL LOGO FACE
   ========================================================= */

.malati-ai-logo-icon {
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.malati-ai-logo-icon::before {
    display: none;
}

.malati-ai-face-icon {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;

    filter:
        drop-shadow(0 4px 8px rgba(0, 0, 0, .25))
        drop-shadow(0 0 9px rgba(242, 138, 0, .16));

    transition:
        transform .3s ease,
        filter .3s ease;
}

.malati-ai-launcher:hover .malati-ai-face-icon {
    transform: scale(1.08);

    filter:
        drop-shadow(0 5px 10px rgba(0, 0, 0, .3))
        drop-shadow(0 0 14px rgba(242, 138, 0, .28));
}


/* Homepage Ask Malati AI button */

.malati-ai-button-face {
    width: 31px;
    height: 31px;

    object-fit: contain;

    display: block;

    margin-right: 2px;

    filter:
        drop-shadow(0 2px 5px rgba(0, 0, 0, .18));
}

.malati-ai-primary-action:hover
.malati-ai-button-face {
    transform: scale(1.08);
}