/* =========================================================
   EVERFORGE — AI AGENTS PAGE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.ai-agents-page {

    width: 100%;

    overflow: hidden;

}


/* =========================================================
   HERO
========================================================= */

.ai-agents-hero {

    position: relative;

    width: 100%;

    min-height: 760px;

    padding: 125px 6vw 85px;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 70px;

    background: #ffffff;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.ai-agents-hero-content {
    position: relative;

    z-index: 2;

    max-width: 600px;

transform: translateX(100px) translateY(-55px);
}


.ai-agents-eyebrow {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    margin-bottom: 24px;

    padding: 0 13px;

    border: 1px solid #e5e5e5;

    border-radius: 20px;

    background: #ffffff;

    font-size: 11px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    color: #555555;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.04);
}


.ai-agents-eyebrow::before {
    content: "";

    width: 7px;

    height: 7px;

    margin-right: 8px;

    border-radius: 50%;

    background: #e21b2d;

    flex-shrink: 0;
}


.ai-agents-hero h1 {
    margin: 0;

    max-width: 600px;

    font-size: clamp(48px, 4.7vw, 72px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -3.5px;

    color: #111111;
}


.ai-agents-hero-description {
    margin: 27px 0 0;

    max-width: 470px;

    font-size: 14px;

    line-height: 1.55;

    font-weight: 400;

    color: #777777;
}


/* =========================================================
   EMAIL FORM
========================================================= */

.ai-agents-email-form {
    width: 100%;

    max-width: 470px;

    margin-top: 30px;

    padding: 0;

    display: flex;

    align-items: center;

    gap:8px;

    border: none;

    background: transparent;

    box-shadow: none;
}


.ai-agents-email-form input {
    flex: 0 1 310px;

    min-width: 0;

    height: 48px;

    padding: 0 14px;

    border: 1px solid #dddddd;

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    font-family: inherit;

    font-size: 13px;

    color: #111111;
}


.ai-agents-email-form input::placeholder {
    color: #999999;
}


.ai-agents-email-form button {
    height: 48px;

    flex: 1;

    padding: 0 30px;

    border: none;

    border-radius: 24px;

    background: #D94A32;


    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.ai-agents-email-form button:hover {
    transform: translateY(-1px);

    background: #c91627;
}


.ai-agents-email-form button:hover {

    transform: translateY(-1px);

    background: #2b2b2b;

}


/* =========================================================
   HERO NOTE
========================================================= */

.ai-agents-hero-note {

    margin-top: 17px;

    font-size: 12px;

    line-height: 1.4;

    color: #999999;

}


/* =========================================================
   HERO VISUAL
========================================================= */

.ai-agents-hero-visual {
    position: relative;

    width: 84%;

    max-width: 555px;

    height: 520px;

    justify-self: end;
    transform: translateX(-80px) translateY(-70px);
}


/* =========================================================
   MAIN IMAGE
========================================================= */

.ai-agents-main-image {

    position: absolute;

    inset: 0;

    overflow: hidden;

    border-radius: 20px;

    background: #eeeeee;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.12);

}


.ai-agents-main-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

}


/* =========================================================
   FLOATING INFORMATION CARD
========================================================= */

.ai-agents-info-card {
    position: absolute;

    left: -45px;

    bottom: 5px;

    z-index: 5;

    width: 330px;

    padding: 16px 18px 15px;

    border-radius: 17px;

    background: rgba(255, 255, 255, 0.97);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.16);

}


.ai-agents-info-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.ai-agents-info-label {

    display: inline-flex;

    align-items: center;

    min-height: 28px;

    padding: 0 11px;

    border-radius: 20px;

    background: #f1f1f1;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.7px;

    color: #555555;

}


.ai-agents-info-status {

    font-size: 12px;

    color: #777777;

}

.ai-agents-info-card h3 {
    margin: 11px 0 4px;

    font-size: 17px;

    line-height: 1.2;

    font-weight: 600;

    letter-spacing: -0.5px;

    color: #111111;

}


.ai-agents-info-card p {

    margin: 0;

    font-size: 12px;

    line-height: 1.45;

    color: #777777;

}


.ai-agents-info-bottom {

    margin-top: 18px;

    padding-top: 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top: 1px dashed #dddddd;

    font-size: 12px;

    color: #777777;

}


/* =========================================================
   SLIDER CONTROLS
========================================================= */

.ai-agents-slider-controls {

    position: absolute;

    left: 0;

    right: 0;

    bottom: -58px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.ai-agents-slide-count {

    font-size: 13px;

    color: #888888;

}


.ai-agents-slide-count strong {

    color: #111111;

    font-weight: 600;

}


.ai-agents-dots {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-left: auto;

    margin-right: 22px;

}


.ai-agents-dots span {

    display: block;

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #999999;

}


.ai-agents-dots span.active {

    width: 24px;

    border-radius: 20px;

    background: #111111;

}


.ai-agents-next {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #dddddd;

    border-radius: 12px;

    background: #ffffff;

    color: #111111;

    font-family: inherit;

    font-size: 18px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease;

}


.ai-agents-next:hover {

    transform: translateX(2px);

    background: #f3f3f3;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .ai-agents-hero {

        min-height: 700px;

        padding:
            130px
            5vw
            80px;

        grid-template-columns:
            1fr
            1fr;

        gap: 40px;

    }


    .ai-agents-hero h1 {

        font-size:
            clamp(52px, 6vw, 72px);

    }


    .ai-agents-hero-visual {

        height: 520px;

    }


    .ai-agents-info-card {

        left: -25px;

        width: 350px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .ai-agents-hero {

        min-height: auto;

        padding:
            120px
            20px
            100px;

        display: block;

    }


   .ai-agents-hero-content {

    max-width: none;

    transform: translateX(12px) translateY(-55px);

}



    .ai-agents-hero h1 {

        font-size: 40px;

        line-height: 0.98;

        letter-spacing: -2.8px;

    }


    .ai-agents-hero-description {

        margin-top: 24px;

        font-size: 15px;

    }


    .ai-agents-email-form {

    max-width: 320px;

    margin-top: 27px;

    flex-direction: column;

    align-items: stretch;

    gap: 8px;

}


.ai-agents-email-form input {

    flex: none;

    width: 100%;

    height: 44px;

}



.ai-agents-email-form button {

    flex: none;

    width: 100%;

    height: 44px;

}



        .ai-agents-hero-visual {

        width: 100%;

        height: 350px;

        margin-top: 65px;

        transform: none;

    }



    .ai-agents-main-image {

        border-radius: 16px;

    }


    .ai-agents-info-card {

        left: 15px;

        right: 15px;

        bottom: 30px;

        width: auto;

        padding: 16px;

    }


    .ai-agents-info-card h3 {

        font-size: 17px;

    }


    .ai-agents-info-card p {

        font-size: 12px;

    }


    .ai-agents-slider-controls {

        bottom: -52px;

    }


    .ai-agents-dots {

        gap: 10px;

        margin-right: 12px;

    }


    .ai-agents-next {

        width: 38px;

        height: 38px;

    }

}

/* =========================================================
   AI AGENTS — FEATURES
========================================================= */

.ai-agents-features {

    width: 100%;

    padding: 70px 7vw 10px;

    background: #ffffff;

}


/* =========================================================
   SECTION INTRO
========================================================= */

.ai-agents-features-intro {

    max-width: 760px;

    margin: 0 auto 130px;

    text-align: center;

}


.ai-agents-section-label {

    display: inline-flex;

    align-items: center;

    margin-bottom: 22px;

    font-size: 11px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: #777777;

}


.ai-agents-section-label::before {

    content: "";

    width: 6px;

    height: 6px;

    margin-right: 8px;

    border-radius: 50%;

    background: #D94A32;

}


.ai-agents-features-intro h2 {

    margin: 0;

    font-size: clamp(42px, 5vw, 70px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -3px;

    color: #111111;

}


.ai-agents-features-intro p {

    max-width: 560px;

    margin: 28px auto 0;

    font-size: 15px;

    line-height: 1.6;

    color: #777777;

}


/* =========================================================
   FEATURE ROW
========================================================= */

.ai-agent-feature-row {

    width: 100%;

    max-width: 1200px;

    min-height: 510px;

    margin: 0 auto 2px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 45px;

}


.ai-agent-feature-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.ai-agent-feature-row.reverse .ai-agent-feature-content {
    grid-column: 2;
    grid-row: 1;
}

.ai-agent-feature-row.reverse .ai-agent-feature-visual {
    grid-column: 1;
    grid-row: 1;

    justify-self: start;
}


/* =========================================================
   FEATURE CONTENT
========================================================= */

.ai-agent-feature-content {

    max-width: 430px;
        transform: translateX(35px);


}


.ai-agent-feature-number {

    display: block;

    margin-bottom: 24px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;

    color: #999999;

}


.ai-agent-feature-content h3 {

    margin: 0;

    font-size: clamp(28px, 2.8vw, 40px);
    line-height: 1;

    font-weight: 500;

    letter-spacing: -2.2px;

    color: #111111;

}


.ai-agent-feature-content p {

    max-width: 390px;

    margin: 25px 0 0;

    font-size: 16px;

    line-height: 1.6;

    color: #777777;

}


/* =========================================================
   FEATURE VISUAL
========================================================= */

.ai-agent-feature-visual {

    width: 102%;

    height: 320px;

}

.ai-agent-feature-row:not(.reverse) .ai-agent-feature-visual {
    justify-self: end;

    transform: translateX(-20px);
}


.ai-agent-feature-row.reverse .ai-agent-feature-visual {
    justify-self: start;
}

.ai-agent-media-placeholder {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 24px;

    background: #f2f2f2;

}

.ai-agent-media-placeholder img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.ai-agent-media-placeholder span {

    font-size: 12px;

    letter-spacing: 0.5px;

    color: #999999;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .ai-agents-features {

        padding:
            100px
            20px
            100px;

    }


    .ai-agents-features-intro {

        margin-bottom: 80px;

    }


    .ai-agents-features-intro h2 {

        font-size: 42px;

        letter-spacing: -2px;

    }


    .ai-agent-feature-row,
    .ai-agent-feature-row.reverse {

        display: flex;

        flex-direction: column;

        gap: 45px;

        min-height: auto;

        margin-bottom: 100px;

    }


    .ai-agent-feature-content {

        width: 100%;

        max-width: none;

    }

    .ai-agent-feature-content h3 {

    font-size: 34px;

    max-width: 280px;

}


    .ai-agent-feature-content p {

        max-width: 320px;

        font-size: 16px;

    }



    .ai-agent-feature-visual {

        width: 100%;

        height: 360px;

    }

.ai-agent-feature-row:nth-of-type(2) .ai-agent-feature-visual {
    transform: none;
}

}

/* =========================================================
   AI AGENTS — CAPABILITIES SHOWCASE
========================================================= */

.ai-agents-showcase {

    width: 100%;

    padding: 120px 7vw 20px;

    background: #ffffff;

}


/* =========================================================
   SHOWCASE INTRO
========================================================= */

.ai-agents-showcase-intro {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto 45px;

    text-align: left;

}


.ai-agents-showcase-intro h2 {

    margin: 0;

    font-size: 24px;

    line-height: 1.15;

    font-weight: 500;

    letter-spacing: -0.8px;

    color: #111111;

}.ai-agents-showcase-intro h2 {

    margin: 0;

    font-size: 40px;

    line-height: 1.15;

    font-weight: 500;

    letter-spacing: -0.8px;

    color: #111111;

}


.ai-agents-showcase-intro p {

    max-width: 1000px;

    margin: 10px 0 0;

    font-size: 18px;

    line-height: 1.45;

    color: #777777;

}


/* =========================================================
   SHOWCASE GRID
========================================================= */

.ai-agents-showcase-grid {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 25px;
    row-gap: 27px;
}

/* =========================================================
   SHOWCASE CARD
========================================================= */

.ai-agent-showcase-card {

    width: 100%;

    overflow: hidden;

    border: 1px solid #e7e7e7;

    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.06);

}


/* =========================================================
   MEDIA
========================================================= */

.ai-agent-showcase-media {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f2f2f2;
}

.ai-agent-showcase-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.ai-agent-showcase-media span {

    font-size: 12px;

    letter-spacing: 0.5px;

    color: #999999;

}


/* =========================================================
   CARD INFORMATION
========================================================= */

.ai-agent-showcase-info {

    min-height: 145px;

    padding: 22px 24px 24px;

    background: #ffffff;

}


.ai-agent-showcase-label {

    display: block;

    margin-bottom: 10px;

    font-size: 10px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 1.2px;

    color: #999999;

}


.ai-agent-showcase-info h3 {

    margin: 0;

    font-size: 22px;

    line-height: 1.15;

    font-weight: 600;

    letter-spacing: -0.7px;

    color: #111111;

}


.ai-agent-showcase-info p {

    max-width: 430px;

    margin: 9px 0 0;

    font-size: 13px;

    line-height: 1.5;

    color: #777777;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .ai-agents-showcase {

        padding:
            90px
            20px
            100px;

    }


    .ai-agents-showcase-intro {

        margin-bottom: 60px;

    }


    .ai-agents-showcase-intro h2 {

        font-size: 42px;

        letter-spacing: -2px;

    }


    .ai-agents-showcase-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .ai-agent-showcase-media {

        height: 280px;

    }


    .ai-agent-showcase-info {

        min-height: auto;

        padding: 20px;

    }

}

/* =========================================================
   FAQ
========================================================= */

.ai-agents-faq {

    width: 100%;

    padding: 110px 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: 72%;
}

/* =========================================================
   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-list {

    width: 100%;

}


    .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;

    }

}

/* =========================================================
   FULL WIDTH VIDEO CTA
========================================================= */

.ai-agents-video-cta {

    position: relative;

    width: 100%;

    height: 435px;

    overflow: hidden;

    background: #111111;

}


/* =========================================================
   VIDEO
========================================================= */

.ai-agents-video-cta-media {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

}


.ai-agents-video-cta-media video {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================================================
   DARK OVERLAY
========================================================= */

.ai-agents-video-cta-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.42);

}


/* =========================================================
   CONTENT
========================================================= */

.ai-agents-video-cta-content {

    position: relative;

    z-index: 2;

    width: 100%;

    height: 100%;

    padding: 40px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

}


.ai-agents-video-cta-content h2 {

    margin: 0;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -3px;

    color: #ffffff;

}


.ai-agents-video-cta-content p {

    margin: 18px 0 0;

    font-size: 17px;

    line-height: 1.4;

    color: rgba(255, 255, 255, 0.82);

}


/* =========================================================
   CTA BUTTON
========================================================= */

.ai-agents-video-cta-button {

    margin-top: 30px;

    padding: 13px 25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    background: #d94a32;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 500;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease;

}


.ai-agents-video-cta-button:hover {

    transform: translateY(-2px);

    background: #c63f2a;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .ai-agents-video-cta {

        height: 430px;

    }


    .ai-agents-video-cta-content {

        padding: 25px;

    }


   .ai-agents-video-cta-content h2 {

    font-size: 34px;

    letter-spacing: -2px;

}



    .ai-agents-video-cta-content p {

        font-size: 12px;

    }

}

/* =========================================================
   AI AGENTS — MEGA MENU POSITION
========================================================= */

.mega-menu {
    top: 80px;
    left: 1.5%;
    right: 1.5%;
    width: auto;
}

body.ai-agents-page .mega-panel {
    max-height: none;
}

body.ai-agents-page .mega-columns {
    min-height: 0;
}

