/* =========================================================
   BOOSTPME — LIVE CONVERSATIONS
   Keltoum Hôtel + Restaurant
========================================================= */

.boost-live-section {
    position: relative;
    overflow: hidden;

    padding: 125px 0;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(104, 117, 255, .10),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 65%,
            rgba(164, 93, 255, .08),
            transparent 30%
        ),
        #f6f6f9;

    color: #19191f;
}


/* =========================================================
   HEADING
========================================================= */

.boost-live-heading {
    max-width: 900px;

    margin-bottom: 80px;
}


.boost-live-heading > span {
    display: block;

    margin-bottom: 15px;

    color: #9696a1;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2px;
}


.boost-live-heading h2 {
    margin: 0;

    color: #17171d;

    font-size:
        clamp(
            48px,
            5.8vw,
            82px
        );

    line-height: .95;

    letter-spacing: -4px;

    font-weight: 500;
}


.boost-live-heading h2 em {
    display: block;

    font-style: normal;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #667cff,
            #9d61ff,
            #ee5d9c
        );

    -webkit-background-clip: text;
    background-clip: text;
}


.boost-live-heading > p {
    max-width: 650px;

    margin: 25px 0 0;

    color: #686873;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   STORY
========================================================= */

.boost-live-story {
    max-width: 940px;

    margin:
        0
        auto
        90px;
}


.boost-live-story-label {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 14px;
}


.boost-live-story-label > span {
    width: 33px;
    height: 33px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(30, 30, 40, .08);

    border-radius: 50%;

    background: #fff;

    color: #777782;

    font-size: 8px;

    font-weight: 800;
}


.boost-live-story-label > div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.boost-live-story-label small {
    color: #9a9aa5;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.boost-live-story-label strong {
    color: #282830;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   CONVERSATION WINDOW
========================================================= */

.boost-live-conversation {
    position: relative;

    padding: 28px;

    border:
        1px solid
        rgba(30, 30, 40, .07);

    border-radius: 27px;

    background:
        rgba(255, 255, 255, .86);

    box-shadow:
        0 30px 80px
        rgba(31, 28, 50, .07);

    backdrop-filter:
        blur(20px);
}


/* =========================================================
   ANIMATION
========================================================= */

.boost-live-section
.boost-sequence-message {
    opacity: 0;

    transform:
        translateY(17px)
        scale(.975);

    transition:
        opacity .45s ease,
        transform .45s ease;
}


.boost-live-section
.boost-sequence-message.is-sequence-visible {
    opacity: 1;

    transform: none;
}


/* =========================================================
   MESSAGE
========================================================= */

.live-user,
.live-ai {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 17px;
}


.live-user {
    justify-content: flex-end;
}


.live-user img {
    order: 2;
}


.live-user img,
.live-ai img {
    width: 35px;
    height: 35px;

    flex:
        0 0
        35px;

    border-radius: 50%;

    object-fit: cover;

    box-shadow:
        0 6px 18px
        rgba(20, 20, 30, .10);
}


.live-user > div,
.live-ai > div {
    max-width: 76%;

    padding:
        14px
        16px;
}


/* USER */

.live-user > div {
    border-radius:
        17px
        6px
        17px
        17px;

    background: #18191f;

    color: #f4f4f6;
}


/* KELTOUM */

.live-ai > div {
    border:
        1px solid
        rgba(100, 80, 190, .07);

    border-radius:
        6px
        17px
        17px
        17px;

    background:
        linear-gradient(
            145deg,
            #f2eff9,
            #ffffff
        );

    color: #29262f;

    box-shadow:
        0 10px 30px
        rgba(30, 20, 60, .06);
}


/* LABELS */

.live-user span,
.live-ai span {
    display: block;

    margin-bottom: 6px;

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;
}


.live-user span {
    color:
        rgba(255, 255, 255, .48);
}


.live-ai span {
    color: #8060c8;
}


/* TEXT */

.live-user p,
.live-ai p {
    margin: 0;

    font-size: 11px;

    line-height: 1.68;
}


.live-user p {
    color: #f2f2f5;
}


.live-ai p,
.live-ai .boost-sequence-text {
    color: #2e2a33;
}


/* =========================================================
   DATA
========================================================= */

.live-data {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 9px;

    margin:
        22px
        44px;
}


.live-data > div {
    padding: 15px;

    border:
        1px solid
        rgba(30, 30, 40, .06);

    border-radius: 13px;

    background: #f6f6f8;
}


.live-data small {
    display: block;

    color: #9b9ba5;

    font-size: 6px;

    font-weight: 800;

    letter-spacing: .8px;
}


.live-data strong {
    display: block;

    margin-top: 6px;

    color: #292930;

    font-size: 10px;
}


/* =========================================================
   ACTION
========================================================= */

.live-action {
    width: max-content;

    max-width: 100%;

    display: flex;

    align-items: center;

    gap: 7px;

    margin:
        22px
        auto
        4px;

    padding:
        9px
        12px;

    border:
        1px solid
        rgba(88, 155, 58, .13);

    border-radius: 999px;

    background:
        rgba(106, 184, 69, .07);

    color: #4e8735;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .6px;
}


.live-action i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #72bd4e;

    box-shadow:
        0 0 10px
        rgba(100, 190, 70, .35);
}


.live-action.warning {
    border-color:
        rgba(225, 125, 65, .15);

    background:
        rgba(225, 125, 65, .07);

    color: #a75c30;
}


.live-action.warning i {
    background: #dd814b;
}


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

.boost-live-bottom {
    max-width: 940px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 35px;

    margin: 10px auto 0;

    padding-top: 50px;

    border-top:
        1px solid
        rgba(30, 30, 40, .08);
}


.boost-live-bottom small {
    display: block;

    margin-bottom: 10px;

    color: #9999a3;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.boost-live-bottom h3 {
    max-width: 600px;

    margin: 0;

    color: #1d1d23;

    font-size:
        clamp(
            28px,
            3.5vw,
            48px
        );

    line-height: 1;

    letter-spacing: -2px;

    font-weight: 500;
}


.boost-live-bottom h3 em {
    display: block;

    font-style: normal;

    color: #795fe0;
}


.boost-live-bottom-actions {
    display: flex;

    flex-direction: column;

    gap: 8px;

    flex: 0 0 auto;
}


.boost-live-primary,
.boost-live-secondary {
    min-height: 45px;

    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 0 16px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 9px;

    font-weight: 800;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.boost-live-primary {
    background: #17181e;

    color: #f5f5f7;
}


.boost-live-secondary {
    border:
        1px solid
        rgba(30, 30, 40, .09);

    background: #fff;

    color: #25252c;
}


.boost-live-primary:hover,
.boost-live-secondary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(30, 30, 50, .08);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .boost-live-section {
        padding: 85px 0;
    }


    .boost-live-heading {
        margin-bottom: 55px;
    }


    .boost-live-heading h2 {
        letter-spacing: -2.5px;
    }


    .boost-live-story {
        margin-bottom: 60px;
    }


    .boost-live-conversation {
        padding: 18px;

        border-radius: 20px;
    }


    .live-user > div,
    .live-ai > div {
        max-width: 84%;
    }


    .live-data {
        grid-template-columns: 1fr;

        margin:
            20px
            0;
    }


    .boost-live-bottom {
        align-items: stretch;

        flex-direction: column;
    }


    .boost-live-bottom-actions {
        width: 100%;
    }


    .boost-live-primary,
    .boost-live-secondary {
        width: 100%;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .boost-live-section
    .boost-sequence-message {
        transition: none;
    }

}