/* =========================================================
   EVERFORGE — DEMOS PAGE
   DEMOS-SPECIFIC CSS ONLY
========================================================= */


/* =========================================================
   DEMOS PAGE
========================================================= */

body.demos-page {

    width: 100%;

    margin: 0;

    overflow-x: hidden;

    background: #ffffff;
}


/* =========================================================
   DEMOS MAIN
========================================================= */

.demos-page-main {

    width: 100%;

    margin: 0;

    padding: 0;

    background: #ffffff;
}


/* =========================================================
   DEMOS PAGE
========================================================= */

body.demos-page {

    margin: 0;

    background: #ffffff;

    overflow-x: hidden;
}


/* =========================================================
   DEMOS MAIN
========================================================= */

.demos-page-main {

    width: 100%;

    background: #ffffff;
}


/* =========================================================
   DEMOS HERO
========================================================= */

.demos-hero {

    width: 100%;

    min-height: calc(100vh - 80px);

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

    padding: 90px 10.5vw 100px;

    box-sizing: border-box;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.demos-hero-content {

    max-width: 530px;

    padding-left: 5px;
    transform: translateY(50px);
}


.demos-hero-content h1 {

    margin: 0;

font-size: clamp(50px, 4vw, 64px);
    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -4px;

    color: #444444;
}


.demos-hero-content p {

    max-width: 430px;

    margin: 26px 0 0;

    font-size: 16px;

    line-height: 1.38;

    font-weight: 400;

    color: #222222;
}


/* =========================================================
   BUTTON
========================================================= */

.demos-hero-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 22px;

    padding: 11px 18px;

    border-radius: 999px;

    background: #111111;

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.demos-hero-button:hover {

    background: #000000;

    transform: translateY(-2px);
}


/* =========================================================
   RIGHT IMAGE
========================================================= */

.demos-hero-visual {

    width: 100%;

    max-width: 540px;

    justify-self: end;

    overflow: hidden;

    border-radius: 11px;

    background: #eeeeee;

aspect-ratio: 1 / 1;
    transform: translateY(25px);
}


.demos-hero-visual img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .demos-hero {

        grid-template-columns: 1fr;

        gap: 55px;

        padding: 80px 7vw 90px;
    }


    .demos-hero-content {

        max-width: 650px;

        padding-left: 0;
    }


    .demos-hero-content h1 {

        font-size: 68px;
    }


    .demos-hero-visual {

        max-width: 750px;

        justify-self: start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .demos-hero {

        gap: 45px;

        padding: 70px 22px 80px;
    }


    .demos-hero-content h1 {

        font-size: 52px;

        letter-spacing: -2.8px;
    }


    .demos-hero-content p {

        max-width: 100%;

        margin-top: 22px;

        font-size: 15px;
    }


    .demos-hero-button {

        margin-top: 22px;

        padding: 12px 19px;

        font-size: 13px;
    }


    .demos-hero-visual {

    width: 90;

    margin-left: auto;
    margin-right: auto;

    aspect-ratio: 1 / 1;
}


}

/* =========================================================
   DEMOS — FEATURE SHOWCASE
========================================================= */

.demos-features {

    width: 100%;

    padding: 90px 10.5vw 150px;

    background: #ffffff;
}


/* =========================================================
   FEATURE ROW
========================================================= */

.demos-features-title {

    width: 100%;

    margin-bottom: 90px;

    text-align: center;
}


.demos-features-title h2 {

    margin: 0;

font-size: clamp(34px, 3.4vw, 58px);
    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -3px;

    color: #444444;
}

.demos-feature {

    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 90px;

    margin-bottom: 50px;

}


.demos-feature:last-child {

    margin-bottom: 0;
}


/* =========================================================
   FEATURE CONTENT
========================================================= */

.demos-feature-content {

    max-width: 520px;
}


.demos-feature-content h2 {

    margin: 0;

    font-size: clamp(22px, 1.8vw, 32px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: 0px;

    color: #444444;
}


.demos-feature-content p {

    max-width: 470px;

    margin: 25px 0 0;

    font-size: 16px;

    line-height: 1.5;

    color: #555555;
}


/* =========================================================
   FEATURE MEDIA
========================================================= */

.demos-feature-media {

    width: 91%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 10px;

    background: #eeeeee;
}


.demos-feature-media img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .demos-features {

        padding: 100px 7vw 120px;
    }


    .demos-feature {

        gap: 55px;

        margin-bottom: 110px;
    }


    .demos-feature-content h2 {

        font-size: 48px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .demos-features {

        padding: 80px 22px 90px;
    }


    .demos-feature {

        display: flex;

        flex-direction: column;

        gap: 35px;

        margin-bottom: 85px;
    }


    .demos-feature-content {

        max-width: 100%;
    }


    .demos-feature-content h2 {

        font-size: 42px;

        letter-spacing: -2px;
    }


    .demos-feature-content p {

        margin-top: 20px;

        font-size: 15px;
    }


    .demos-feature-media {

        width: 100%;

        aspect-ratio: 1 / 0.82;
    }

}

/* =========================================================
   DEMOS — FEATURED DEMOS
========================================================= */

.demos-featured {

    width: 100%;

    padding: 90px 10.5vw 150px;

    background: #ffffff;
}


/* =========================================================
   HEADER
========================================================= */

.demos-featured-header {

    max-width: 700px;

    margin: 0 auto 65px;

    text-align: center;
}


.demos-featured-header h2 {

    margin: 0;

    font-size: clamp(34px, 3.4vw, 54px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -1px;

    color: #444444;
}


.demos-featured-header p {

    max-width: 520px;

    margin: 22px auto 0;

    font-size: 16px;

    line-height: 1.5;

    color: #666666;
}


/* =========================================================
   DEMO GRID
========================================================= */

.demos-featured-grid {

    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}


/* =========================================================
   DEMO ITEM
========================================================= */

.demos-demo-item {

    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 1 / 0.65;

    overflow: hidden;

    border-radius: 10px;

    background: #eeeeee;

    text-decoration: none;
}


/* =========================================================
   MEDIA
========================================================= */

.demos-demo-media {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}


.demos-demo-media img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.5s ease;
}


/* =========================================================
   OVERLAY
========================================================= */

.demos-demo-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.18) 48%,
            rgba(0, 0, 0, 0) 75%
        );

    pointer-events: none;
}


/* =========================================================
   CONTENT
========================================================= */

.demos-demo-content {

    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 22px;

    z-index: 2;
}


.demos-demo-content span {

    display: block;

    margin-bottom: 7px;

    font-size: 11px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: 0.4px;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.68);
}


.demos-demo-content h3 {

    margin: 0;

    font-size: 25px;

    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -1px;

    color: #ffffff;
}


/* =========================================================
   HOVER
========================================================= */

.demos-demo-item:hover .demos-demo-media img {

    transform: scale(1.035);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .demos-featured {

        padding: 100px 7vw 120px;
    }


    .demos-featured-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .demos-featured {

        padding: 80px 22px 90px;
    }


    .demos-featured-header {

        margin-bottom: 45px;
    }


    .demos-featured-header h2 {

        font-size: 42px;

        letter-spacing: -2px;
    }


    .demos-featured-header p {

        margin-top: 18px;

        font-size: 15px;
    }


    .demos-featured-grid {

        grid-template-columns: 1fr;

        gap: 14px;
    }


    .demos-demo-item {

        aspect-ratio: 1.15 / 1;
    }


    .demos-demo-content {

        left: 20px;
        right: 20px;
        bottom: 19px;
    }


    .demos-demo-content h3 {

        font-size: 23px;
    }

}

/* =========================================================
   DEMOS — WORKFLOW SECTION
========================================================= */

.demos-workflow {

    width: 100%;

    padding: 110px 10.5vw 150px;

    background: #ffffff;
}


/* =========================================================
   HEADER
========================================================= */

.demos-workflow-header {

    width: 100%;

    margin-bottom: 90px;

    text-align: center;
}


.demos-workflow-header h2 {

    margin: 0;

    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 1;

    font-weight: 500;

    letter-spacing: -2px;

    color: #444444;
}


/* =========================================================
   TABLE
========================================================= */

.demos-workflow-table {

    width: 100%;

    max-width: 930px;

    margin: 0 auto;
}


/* =========================================================
   ROW
========================================================= */

.demos-workflow-row {
    display: grid;

    grid-template-columns:
        1.05fr
        1.45fr
        1.55fr;

    column-gap: 55px;

    padding: 42px 0;

    border-bottom: 1px solid #e5e5e5;
}


.demos-workflow-row:last-child {
    border-bottom: none;
}


.demos-workflow-row:first-child {

    padding-top: 0;
}


/* =========================================================
   TITLE
========================================================= */

.demos-workflow-title h3 {

    margin: 0;

    font-size: 20px;

    line-height: 1.15;

    font-weight: 500;

    letter-spacing: -0.7px;

    color: #222222;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.demos-workflow-description p {

    margin: 0;

    max-width: 310px;

    font-size: 16px;

    line-height: 1.42;

    color: #333333;
}


/* =========================================================
   DETAILS
========================================================= */

.demos-workflow-details {

    display: grid;

    grid-template-columns: 1.45fr 0.7fr;

    column-gap: 28px;

    align-items: start;
}


.demos-workflow-detail-group {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.demos-workflow-detail-group span {

    margin-bottom: 8px;

    font-size: 9px;
    font-weight: 400;

    line-height: 1;

    color: #999999;
}


.demos-workflow-detail-group strong {

    margin-bottom: 7px;

    font-size: 12px;

    line-height: 1.25;

    font-weight: 500;

    color: #222222;
}


.demos-workflow-detail-group strong:last-child {

    margin-bottom: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .demos-workflow {

        padding: 100px 7vw 120px;
    }


    .demos-workflow-header {

        margin-bottom: 70px;
    }


    .demos-workflow-row {

        grid-template-columns:
            0.9fr
            1.2fr
            1.5fr;

        column-gap: 35px;
    }


    .demos-workflow-details {

        grid-template-columns: 1fr;
        
        row-gap: 22px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .demos-workflow {

        padding: 80px 22px 90px;
    }


    .demos-workflow-header {

        margin-bottom: 55px;
    }


    .demos-workflow-header h2 {

        font-size: 42px;

        letter-spacing: -2.5px;
    }


    .demos-workflow-row {

        display: flex;

        flex-direction: column;

        gap: 25px;

        padding: 35px 0;
    }


    .demos-workflow-row:first-child {

        padding-top: 0;
    }


    .demos-workflow-title h3 {

        font-size: 22px;
    }


    .demos-workflow-description p {

        max-width: 100%;

        font-size: 15px;
    }


    .demos-workflow-details {

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 25px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .demos-workflow-details {

        grid-template-columns: 1fr;
    }

}


/* =========================================================
   FAQ
========================================================= */

.ai-agents-faq {

    width: 100%;

    padding: 10px 7vw 140px;

    background: #ffffff;

}


.ai-agents-faq-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.65fr 1fr;

    gap: 55px;

    align-items: start;
}

/* =========================================================
   FAQ HEADING
========================================================= */

.ai-agents-faq-heading {
    padding-top: 5px;
    padding-left: 240px;
}

.ai-agents-faq-heading h2 {
    margin: 0;
    font-size: 35px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -1.2px;
    color: #111111;
}

/* =========================================================
   FAQ LIST
========================================================= */

.ai-agents-faq-list {
    width: 100%;
}

/* =========================================================
   FAQ ITEM
========================================================= */

.ai-agents-faq-item {
    width: 100%;
    border-top: 1px solid #d8d8d8;
}

.ai-agents-faq-item:last-child {
    border-bottom: 1px solid #d8d8d8;
}

/* =========================================================
   QUESTION
========================================================= */

.ai-agents-faq-question {
    width: 100%;
    min-height: 70px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: none;
    outline: none;
    background: transparent;
    color: #3a3a3a;
    font-family: inherit;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.ai-agents-faq-question:hover {
    color: #333333;
}

/* =========================================================
   CHEVRON
========================================================= */

.ai-agents-faq-icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.ai-agents-faq-icon span {
    position: absolute;
    top: 8px;
    width: 9px;
    height: 1px;
    background: #c8c8c8;
    transition:
        transform 0.3s ease;
}

.ai-agents-faq-icon span:first-child {
    left: 1px;
    transform: rotate(45deg);
}

.ai-agents-faq-icon span:last-child {
    right: 1px;
    transform: rotate(-45deg);
}

/* =========================================================
   ANSWER
========================================================= */

.ai-agents-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition:
        grid-template-rows 0.35s ease;
}

.ai-agents-faq-answer p {
    min-height: 0;
    overflow: hidden;
    max-width: 600px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #777777;
    transition:
        padding 0.35s ease;
}

/* =========================================================
   OPEN STATE
========================================================= */

.ai-agents-faq-item.active
.ai-agents-faq-answer {
    grid-template-rows: 1fr;

}

.ai-agents-faq-item.active
.ai-agents-faq-answer p {
    padding: 0 45px 28px 0;
}


.ai-agents-faq-item.active
.ai-agents-faq-icon span:first-child {
    transform: rotate(-45deg);
}

.ai-agents-faq-item.active
.ai-agents-faq-icon span:last-child {
    transform: rotate(45deg);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .ai-agents-faq {

        padding:
            80px
            20px
            100px;

    }


    .ai-agents-faq-inner {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .ai-agents-faq-heading {

    padding-left: 0;

}

.ai-agents-faq-heading h2 {

    font-size: 36px;

}


    .ai-agents-faq-question {

        min-height: 82px;

        font-size: 18px;

    }


    .ai-agents-faq-item.active
    .ai-agents-faq-answer p {

        padding:
            0 25px 24px 0;

        font-size: 14px;

    }

}

/* =========================================================
   DEMOS — CTA MEDIA BANNER
========================================================= */

.demos-cta-media {

    width: 100%;

    padding: 0 18px 0px;

    background: #ffffff;
        margin-bottom: -70px;

}


/* =========================================================
   MEDIA FRAME
========================================================= */

.demos-cta-media-frame {

    position: relative;

    width: 128%;
    margin-left: -13.3%;

    height: 500px;

    overflow: hidden;

    border-radius: 7px;

    background: #222222;
}


/* =========================================================
   IMAGE
========================================================= */

.demos-cta-media-image {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   OVERLAY
========================================================= */

.demos-cta-media-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.30);

    pointer-events: none;
}


/* =========================================================
   CONTENT
========================================================= */

.demos-cta-media-content {

    position: absolute;

    inset: 0;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 30px;

    text-align: center;
}


/* =========================================================
   TITLE
========================================================= */

.demos-cta-media-content h2 {

    max-width: 900px;

    margin: 0;

    font-size: clamp(36px, 4vw, 62px);

    line-height: 1.02;

    font-weight: 500;

    letter-spacing: -3px;

    color: #ffffff;
}


/* =========================================================
   BUTTON
========================================================= */

.demos-cta-media-button {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 28px;

    padding: 14px 24px;

    border: 1px solid rgba(255, 255, 255, 0.65);

    border-radius: 6px;

    background: transparent;

    color: #ffffff;

    font-size: 16px;

    line-height: 1;

    font-weight: 500;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.demos-cta-media-button:hover {

    background: #ffffff;

    border-color: #ffffff;

    color: #111111;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .demos-cta-media {

        padding: 0 14px 110px;
    }


    .demos-cta-media-frame {

        height: 350px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .demos-cta-media {

        padding: 0 12px 90px;
    }


    .demos-cta-media-frame {

        height: 330px;

        border-radius: 6px;
    }


    .demos-cta-media-content {

        padding: 25px 20px;
    }


    .demos-cta-media-content h2 {

        font-size: 36px;

        letter-spacing: -2px;
    }


    .demos-cta-media-button {

        margin-top: 22px;

        padding: 10px 14px;

        font-size: 11px;
    }

}

/* =========================================================
   DEMOS — MEGA MENU POSITION
========================================================= */

body.demos-page .mega-menu {
    top: 80px;
}

