/* ===== AI Marketing Section (maindiv5) ===== */

.aiMarketingDiv {
    background: linear-gradient(135deg, #0b0b1e 0%, #16213e 55%, #0f3460 100%);
    color: white;
    display: block;          /* override mainDiv flex — full-width centred layout */
    text-align: center;
    padding: 26px 30px 20px;
}

.aiMarketingInner {
    max-width: 860px;
    margin: 0 auto;
}

/* Badge */
.aiMarketingBadge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(90deg, #7c3aed, #2563eb);
    color: white;
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

/* Main title */
.aiMarketingTitle {
    font-size: 36px;
    font-weight: 900;
    margin: 0 0 10px 0;
    line-height: 1.1;
    background: linear-gradient(90deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.aiMarketingDesc {
    font-size: 14px;
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 18px auto;
    color: rgba(255, 255, 255, 0.78);
}

/* ── Step cards row ── */
.aiStepsRow {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin-bottom: 16px;
    width: 100%;
}

.aiStep {
    flex: 1 1 0;
    min-width: 120px;
    max-width: 185px;
    padding: 14px 12px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin: 0 5px;
    transition: background 0.2s, transform 0.2s;
    cursor: default;
}

.aiStep:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-3px);
}

/* Step number badge */
.aiStepNum {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    margin: 0 auto 8px auto;
}

/* Step icon */
.aiStepIcon {
    font-size: 22px;
    margin-bottom: 7px;
    color: #a5b4fc;
}

/* Step text */
.aiStepTitle {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.aiStepDesc {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.45;
}

/* Arrow between steps */
.aiStepArrow {
    display: flex;
    align-items: center;
    padding: 0 2px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 16px;
    flex-shrink: 0;
    align-self: center;
}

/* Tagline */
.aiTagline {
    font-size: 17px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

/* Formats sub-line */
.aiFormats {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0;
}

/* CTA button — uses existing .mainDivButton but with a specific override */
.aiMarketingDiv .mainDivButton {
    max-width: 220px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
}

/* ── RTL ── */
.aiMarketingDiv.rtl .aiMarketingTitle,
.aiMarketingDiv.rtl .aiMarketingDesc,
.aiMarketingDiv.rtl .aiTagline,
.aiMarketingDiv.rtl .aiFormats {
    direction: rtl;
}

.aiMarketingDiv.rtl .aiStepsRow {
    flex-direction: row-reverse;
}

.aiMarketingDiv.rtl .aiStepArrow i {
    transform: scaleX(-1);
    display: inline-block;
}

/* ── Responsive ── */
@media only screen and (max-width: 900px) {
    .aiMarketingDiv {
        padding: 20px 16px 16px;
    }

    .aiMarketingTitle {
        font-size: 26px;
    }

    .aiMarketingDesc {
        font-size: 13px;
    }

    .aiStepsRow {
        flex-direction: column;
        align-items: center;
    }

    .aiMarketingDiv.rtl .aiStepsRow {
        flex-direction: column;
    }

    .aiStep {
        width: 100%;
        max-width: 400px;
        margin: 6px 0;
    }

    .aiStepArrow {
        display: none;
    }
}
