/**
 * IDC AI MarketScape campaign page.
 *
 * Loaded only for page-templates/template-idc-ai-marketscape.php, on top of the
 * shared theme styles, so the page keeps the site header, footer, and the
 * shared campaign FAQ/CTA treatment.
 */

:root {
    --ztidc-navy: #10131d;
    --ztidc-blue: #344c98;
    --ztidc-cyan: #3aceef;
    --ztidc-lime: #c3d534;
    --ztidc-ink: #1b1b2b;
    --ztidc-muted: #5c6373;
    --ztidc-line: #e4e6ec;
    --ztidc-surface: #f6f7f9;
}

body.ztidc-page {
    margin: 0;
    color: var(--ztidc-ink);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.ztidc-main *,
.ztidc-modal *,
.ztidc-main *::before,
.ztidc-main *::after {
    box-sizing: border-box;
}

.ztidc-main h1,
.ztidc-main h2,
.ztidc-main h3,
.ztidc-main p,
.ztidc-main blockquote,
.ztidc-modal p {
    margin: 0;
}

.ztidc-main button {
    appearance: none;
}

/* Reveal-on-scroll ------------------------------------------------------- */

.ztidc-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ztidc-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .ztidc-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Shared section furniture ----------------------------------------------- */

/* Campaign sections breathe more than the shared site default. */
body.ztidc-page .ztidc-main .padding-section {
    padding-block: clamp(64px, 7vw, 112px);
}

.ztidc-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
        background: -webkit-linear-gradient(275deg, #6FC7EA, #344C98);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ztidc-eyebrow--light {
    background: -webkit-linear-gradient(275deg, #edfb7f, var(--ztidc-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ztidc-section-head {
    max-width: 820px;
    margin-bottom: clamp(40px, 5vw, 68px);
}

.ztidc-section-head__intro {
    margin-top: 16px;
    color: var(--ztidc-muted);
    font-size: 18px;
    line-height: 1.65;
}

.ztidc-journey .ztidc-section-head__intro,
.ztidc-scale .ztidc-section-head__intro {
    color: rgba(255, 255, 255, 0.78);
}

.ztidc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.ztidc-btn-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hero -------------------------------------------------------------------- */

.ztidc-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 74vh, 760px);
    padding-block: clamp(128px, 14vw, 190px) clamp(80px, 10vw, 140px);
    overflow: hidden;
    background: var(--ztidc-navy);
    color: var(--color-white);
}

.ztidc-hero__media,
.ztidc-hero__media img {
    position: absolute;
    inset: 0;
}

.ztidc-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ztidc-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(9, 12, 22, 0.92) 0%, rgba(9, 12, 22, 0.72) 45%, rgba(9, 12, 22, 0.35) 100%);
}

.ztidc-hero .container {
    position: relative;
    z-index: 1;
}

.ztidc-hero__content {
    max-width: 760px;
}

.ztidc-hero__subtitle {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    line-height: 1.4;
}

.ztidc-hero__copy {
    max-width: 620px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}


/* Analyst perspective ----------------------------------------------------- */

.ztidc-analyst {
    background: var(--color-white);
}

.ztidc-analyst__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.ztidc-analyst__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    border-radius: 14px;
    background: var(--bg-section);
}

.ztidc-analyst__mark svg {
    width: 26px;
    height: auto;
    fill: var(--color-white);
}

.ztidc-analyst__quote {
    margin-top: 4px;
}

.ztidc-analyst__quote p {
    color: var(--ztidc-ink);
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    font-weight: 300;
    line-height: 1.45;
}

.ztidc-analyst__source {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--ztidc-line);
    color: var(--ztidc-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.ztidc-analyst__aside {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ztidc-analyst__figure {
    padding: 14px;
    border: 1px solid var(--ztidc-line);
    border-radius: 20px;
    background: var(--color-white);
    box-shadow: 0 28px 64px rgba(16, 19, 29, 0.12);
}

.ztidc-analyst__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ztidc-analyst__methodology {
    color: #4a4a5a;
    font-size: 16px;
    line-height: 1.15;
}

/* Journey ----------------------------------------------------------------- */

.ztidc-journey {
    position: relative;
    border-radius: var(--border-section) var(--border-section) 0 0;
    background: var(--bg-section);
    color: var(--color-white);
}

.ztidc-journey__track {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ztidc-journey__step {
    position: relative;
}

.ztidc-journey__number {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ztidc-cyan), var(--ztidc-lime));
    color: #0d1020;
    font-size: 20px;
    font-weight: 800;
}

.ztidc-journey__step h3 {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ztidc-journey__step p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    line-height: 1.7;
}

/*
 * Horizontal stepper: numbered nodes on a single rail, with the stage copy
 * centred underneath. Deliberately chrome-free — no cards — so the four stages
 * read as one progression.
 */
@media (min-width: 992px) {
    .ztidc-journey__track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 28px;
    }

    .ztidc-journey__step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ztidc-journey__number {
        margin-bottom: 34px;
        box-shadow: 0 0 0 9px rgba(111, 199, 234, 0.14);
    }

    /* Rail segment bridging this node and the next. */
    .ztidc-journey__step:not(:last-child)::before {
        content: '';
        position: absolute;
        top: 23px;
        inset-inline: calc(50% + 42px) calc(-50% + 42px);
        height: 1px;
        background: rgba(255, 255, 255, 0.22);
    }

    /* Reserve two lines so a wrapping stage title keeps the copy aligned. */
    .ztidc-journey__step h3 {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2.6em;
    }

    .ztidc-journey__step p {
        max-width: 34ch;
    }
}

/*
 * Below the four-across breakpoint the same rail turns vertical, so the stages
 * stay a numbered sequence instead of collapsing into a plain stack.
 */
@media (max-width: 991px) {
    .ztidc-journey__track {
        grid-template-columns: minmax(0, 1fr);
    }

    .ztidc-journey__step {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        column-gap: 20px;
        padding-bottom: 34px;
    }

    .ztidc-journey__step:last-child {
        padding-bottom: 0;
    }

    .ztidc-journey__step:not(:last-child)::before {
        content: '';
        position: absolute;
        top: 58px;
        bottom: 6px;
        inset-inline-start: 22px;
        width: 2px;
        background: linear-gradient(180deg, rgba(195, 213, 52, 0.6), rgba(111, 199, 234, 0.25));
    }

    .ztidc-journey__body {
        padding-top: 6px;
    }
}

/* Why ZainTECH leads ------------------------------------------------------ */

.ztidc-why {
    background: var(--color-white);
}

.ztidc-why__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ztidc-why__card {
    padding: 40px 34px;
    border: 1px solid var(--ztidc-line);
    border-radius: 18px;
    background: var(--color-white);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.ztidc-why__card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 22px 48px rgba(16, 19, 29, 0.12);
}

.ztidc-why__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: var(--ztidc-surface);
    transition: background 0.25s ease;
}

.ztidc-why__card:hover .ztidc-why__icon {
    background: rgba(52, 76, 152, 0.1);
}

.ztidc-why__icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.ztidc-why__card h3 {
    color: var(--ztidc-ink);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ztidc-why__card p {
    margin-top: 14px;
    color: var(--ztidc-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Industry-led AI --------------------------------------------------------- */

.ztidc-industries {
    background: var(--ztidc-surface);
}

.ztidc-industries__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ztidc-industry-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 36px;
    border: 1px solid var(--ztidc-line);
    border-radius: 18px;
    background: var(--color-white);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ztidc-industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(16, 19, 29, 0.12);
}

.ztidc-industry-card__icon img {
    display: block;
    width: 56px;
    height: auto;
    margin-bottom: 18px;
}

.ztidc-industry-card h3 {
    color: var(--ztidc-ink);
    font-size: 22px;
    font-weight: 800;
}

.ztidc-industry-card p {
    margin-top: 14px;
    color: var(--ztidc-muted);
    font-size: 16px;
    line-height: 1.7;
}

.ztidc-industry-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--ztidc-blue);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.ztidc-industry-card__link:hover {
    text-decoration: underline;
}

.ztidc-industry-card__link span {
    transition: transform 0.2s ease;
}

.ztidc-industry-card__link:hover span {
    transform: translateX(3px);
}

.ztidc-industries__action {
    display: flex;
    justify-content: center;
    margin-top: clamp(32px, 4vw, 48px);
}

/* Cross market delivery --------------------------------------------------- */

.ztidc-scale {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-section) var(--border-section) 0 0;
    background: var(--bg-section);
    color: var(--color-white);
}

/* Copy on one side, the delivery map shown as a real image on the other. */
.ztidc-scale__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    margin-bottom: clamp(40px, 5vw, 72px);
}

.ztidc-scale .ztidc-section-head {
    max-width: none;
    margin-bottom: 0;
}

.ztidc-scale__figure img {
    display: block;
    width: 100%;
    height: auto;
}

/* One continuous row of figures, split by hairlines rather than boxed cards. */
.ztidc-scale__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: clamp(28px, 4vw, 48px);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ztidc-stat {
    position: relative;
    padding-inline: clamp(16px, 3vw, 40px);
    text-align: center;
}

.ztidc-stat + .ztidc-stat::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    inset-inline-start: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.ztidc-stat__value {
    display: block;
    background: linear-gradient(90deg, #6fc7ea, #c3d534);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.ztidc-stat__value em {
    font-style: normal;
}

.ztidc-stat p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .ztidc-scale__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ztidc-scale__figure {
        max-width: 560px;
    }
}

@media (max-width: 767px) {
    .ztidc-scale__stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .ztidc-stat {
        padding-block: 28px;
    }

    .ztidc-stat + .ztidc-stat::before {
        top: 0;
        bottom: auto;
        inset-inline: 0;
        width: auto;
        height: 1px;
    }
}


/* Closing CTA + FAQ ------------------------------------------------------- */

body.ztidc-page .faq-top__title span,
body.ztidc-page .faq-top__title em {
    color: var(--ztidc-lime);
    font-style: normal;
    font-weight: 800;
}

body.ztidc-page .faq-top__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.6;
}

/* Form dialog ------------------------------------------------------------- */

.ztidc-modal {
    width: min(680px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}

.ztidc-modal::backdrop {
    background: rgba(9, 12, 22, 0.7);
}

.ztidc-modal__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: var(--ztidc-navy);
    color: var(--color-white);
}

.ztidc-modal__bar p {
    font-size: 17px;
    font-weight: 700;
}

.ztidc-modal__bar button {
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.ztidc-modal__loading {
    padding: 20px;
    color: var(--ztidc-muted);
    font-size: 15px;
    text-align: center;
}

.ztidc-modal iframe {
    display: block;
    width: 100%;
    height: min(70vh, 620px);
    border: 0;
}

.ztidc-modal.is-loaded .ztidc-modal__loading {
    display: none;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
    .ztidc-why__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ztidc-analyst__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ztidc-analyst__figure {
        max-width: 460px;
    }
}

@media (max-width: 767px) {
    .ztidc-hero {
        min-height: 0;
    }

    .ztidc-why__grid,
    .ztidc-industries__grid {
        grid-template-columns: minmax(0, 1fr);
    }

}




.zt__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-lime);
    color: #201547;
    border-radius: 4px;
    font-size: 0.9rem;
    padding-top: 4px;
    transition: transform 0.2s ease;
}


.section-hero__btn-icon--outline {
    background: transparent;
    color: #fff;
}

.ztidc-industries__action .zt__btn {
    color: #fff;
    background: #201547;
}

.ztidc-industries__action .zt__btn:hover {
    background: var(--color-lime, #C3D534);
    color: #201547;
}