/* AI Immersive Experience detail page. Scoped to this route only. */
.tai-immersive-page {
    --imm-ink: #15283f;
    --imm-muted: #68798d;
    --imm-line: #dce6f1;
    --imm-blue: #1769ff;
    --imm-cyan: #72dce9;
    background: #fff;
    color: var(--imm-ink);
}

.tai-immersive-video-hero {
    position: relative;
    min-height: clamp(620px, 78vh, 860px);
    overflow: hidden;
    display: grid;
    align-items: end;
    color: #fff;
    background: #061626;
}

.tai-immersive-video-hero__player,
.tai-immersive-video-hero__player .tai-video-slot,
.tai-immersive-video-hero__player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tai-immersive-video-hero__player video {
    display: block;
    max-width: none;
    object-fit: cover;
}

/* The MP4 slot text is a development placeholder and must not appear on the public page. */
.tai-immersive-video-hero .tai-video-slot__placeholder { display: none; }

.tai-immersive-video-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 18, 34, .62) 0%, rgba(3, 18, 34, .40) 44%, rgba(3, 18, 34, .10) 74%, rgba(3, 18, 34, .03) 100%),
        linear-gradient(0deg, rgba(3, 18, 34, .55) 0%, rgba(3, 18, 34, .14) 52%, rgba(3, 18, 34, .04) 100%);
}

.tai-immersive-video-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.tai-immersive-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: clamp(2rem, 5vw, 4.5rem);
    color: rgba(255,255,255,.82);
    font-weight: 700;
    text-decoration: none;
}

.tai-immersive-video-hero__copy { max-width: 790px; }
.tai-immersive-video-hero__meta {
    display: flex;
    gap: .8rem;
    margin-bottom: .9rem;
    color: #8be1ee;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .14em;
}
.tai-immersive-video-hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6.5vw, 6rem);
    font-weight: 880;
    line-height: 1.02;
    letter-spacing: -.05em;
}
.tai-immersive-video-hero__copy > p {
    max-width: 760px;
    margin: 1.35rem 0 0;
    color: #d4e1ed;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.9;
}
.tai-immersive-video-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 50px;
    margin-top: 1.65rem;
    padding: .75rem 1.2rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #1769ff, #3386ff);
    box-shadow: 0 14px 34px rgba(23,105,255,.28);
    font-weight: 850;
    text-decoration: none;
}

.tai-immersive-section { padding: clamp(4.2rem, 7.5vw, 7rem) 0; }
.tai-immersive-section--soft { background: #f5f8fc; }
.tai-immersive-section--dark {
    color: #fff;
    background: linear-gradient(135deg, #061725, #0a2f59);
}

.tai-immersive-kicker {
    margin: 0 0 .8rem;
    color: var(--imm-blue);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.tai-immersive-intro__grid,
.tai-immersive-split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.tai-immersive-intro__headline h2,
.tai-immersive-section-heading h2,
.tai-immersive-split__copy h2,
.tai-immersive-contact h2 {
    margin: 0;
    font-size: clamp(2rem, 4.3vw, 3.7rem);
    font-weight: 870;
    line-height: 1.15;
    letter-spacing: -.04em;
}
.tai-immersive-intro__body p,
.tai-immersive-section-heading > p:last-child,
.tai-immersive-split__copy > p:last-child { color: var(--imm-muted); line-height: 1.9; }
.tai-immersive-lead { margin: 0 0 1rem; font-size: 1.08rem; color: #40546d !important; }

.tai-immersive-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1rem;
    margin-top: clamp(2.2rem, 5vw, 4rem);
}
.tai-immersive-stat-card {
    padding: 1.3rem;
    border: 1px solid var(--imm-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 13px 34px rgba(17,47,80,.055);
}
.tai-immersive-stat-card i {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    color: var(--imm-blue);
    background: #edf5ff;
}
.tai-immersive-stat-card strong { display: block; margin-top: 1rem; font-size: 1.08rem; }
.tai-immersive-stat-card span { display: block; margin-top: .45rem; color: var(--imm-muted); }

.tai-immersive-section-heading { max-width: 850px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.tai-immersive-feature-grid,
.tai-immersive-usecase-grid,
.tai-immersive-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1rem;
}
.tai-immersive-feature-card,
.tai-immersive-process-grid > article {
    min-height: 100%;
    padding: 1.35rem;
    border: 1px solid var(--imm-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 13px 34px rgba(17,47,80,.055);
}
.tai-immersive-feature-card > span,
.tai-immersive-process-grid > article > span {
    color: #7890aa;
    font: 850 .72rem/1 ui-monospace, monospace;
    letter-spacing: .1em;
}
.tai-immersive-feature-card i {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-top: .9rem;
    border-radius: 13px;
    color: var(--imm-blue);
    background: #edf5ff;
}
.tai-immersive-feature-card h3,
.tai-immersive-process-grid h3 { margin: 1rem 0 .4rem; font-size: 1.1rem; font-weight: 850; }
.tai-immersive-feature-card p,
.tai-immersive-process-grid p { margin: 0; color: var(--imm-muted); line-height: 1.8; }

.tai-immersive-journey { display: grid; gap: .75rem; }
.tai-immersive-journey article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.05rem 1.1rem;
    border: 1px solid var(--imm-line);
    border-radius: 16px;
    background: #fff;
}
.tai-immersive-journey article > span { color: var(--imm-blue); font: 850 .72rem/1 ui-monospace, monospace; }
.tai-immersive-journey h3 { margin: 0; font-size: 1.05rem; font-weight: 850; }
.tai-immersive-journey p { margin: .35rem 0 0; color: var(--imm-muted); }

.tai-immersive-section-heading--light h2 { color: #fff; }
.tai-immersive-section-heading--light .tai-immersive-kicker { color: #78ddea; }
.tai-immersive-usecase-grid > article {
    padding: 1.3rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.05);
}
.tai-immersive-usecase-grid i {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    color: #a7eff6;
    background: rgba(255,255,255,.08);
}
.tai-immersive-usecase-grid h3 { margin: 1rem 0 .4rem; font-size: 1.08rem; font-weight: 850; }
.tai-immersive-usecase-grid p { margin: 0; color: #a9bccd; }

.tai-immersive-contact { padding: clamp(4rem, 7vw, 6rem) 0; background: #f5f8fc; }
.tai-immersive-contact__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #0a2443, #135ab2);
    box-shadow: 0 26px 65px rgba(13,58,128,.16);
}
.tai-immersive-contact__card > div { max-width: 780px; }
.tai-immersive-contact__card > div > p:last-child { margin: 1rem 0 0; color: #ccdbeb; }
.tai-immersive-contact__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    flex: 0 0 auto;
    min-height: 50px;
    padding: .75rem 1.2rem;
    border-radius: 999px;
    color: #173553;
    background: #fff;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .tai-immersive-intro__grid,
    .tai-immersive-split { grid-template-columns: 1fr; }
    .tai-immersive-stat-grid,
    .tai-immersive-feature-grid,
    .tai-immersive-process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767.98px) {
    .tai-immersive-video-hero { min-height: 600px; }
    .tai-immersive-stat-grid,
    .tai-immersive-feature-grid,
    .tai-immersive-usecase-grid,
    .tai-immersive-process-grid { grid-template-columns: 1fr; }
    .tai-immersive-contact__card { align-items: flex-start; flex-direction: column; }
}
