/* TCRM Cinematic Scroll v1 - self-contained, scoped to CRM pages only */
.tyz-film-story{--film-ink:#112b42;--film-gold:#ba842d;--film-dark:#102a40;position:relative;isolation:isolate;padding:86px 24px 78px;background:linear-gradient(180deg,#f6f9fb,#fffefa 40%,#eef5f9 100%);color:var(--film-ink);overflow:visible}
.tyz-film-story *{box-sizing:border-box}
.tyz-film-heading{text-align:center;margin:0 auto 46px;max-width:870px}
.tyz-film-eyebrow{color:#986a24;display:inline-flex;gap:10px;align-items:center;font-size:11px;letter-spacing:.12em;font-weight:900}
.tyz-film-eyebrow>span{font-size:17px;color:#cf9b4a}
.tyz-film-heading h2{color:#112b42!important;font-size:clamp(32px,4.1vw,57px)!important;line-height:1.34!important;font-weight:900!important;letter-spacing:-.035em!important;margin:14px 0!important;text-wrap:balance}
.tyz-film-heading h2 span{color:#b7812d!important}
.tyz-film-heading p{color:#50677b!important;font-size:clamp(14px,1.25vw,17px)!important;line-height:1.9!important;max-width:730px;margin:0 auto!important}
.tyz-film-stack{position:relative;margin-inline:auto;max-width:1320px;overflow:visible}
.tyz-film-panel{position:sticky;top:clamp(82px,12vh,120px);z-index:calc(3 + var(--film-index));width:100%;height:min(630px,calc(100svh - 148px));min-height:425px;overflow:hidden;display:grid;grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);align-items:center;gap:clamp(20px,4vw,64px);padding:clamp(25px,4.3vw,65px);margin:0 auto 15svh;border-radius:29px;border:1px solid #d4bc93;background:linear-gradient(128deg,#fffdfa 3%,#f2f5f7 95%);box-shadow:0 16px 50px #112e4540,0 0 0 5px #ffffffd6}
.tyz-film-panel:last-child{margin-bottom:0}
.tyz-film-panel-2{background:linear-gradient(130deg,#f0f8fc 0%,#dfebf4 100%);border-color:#b3ccde}
.tyz-film-panel-3{background:linear-gradient(132deg,#fff9eb 0%,#efdfbd 100%);border-color:#dcb976}
.tyz-film-copy{position:relative;z-index:2;min-width:0;text-align:start;display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.tyz-film-index{display:inline-block;color:#997035;border:1px solid #caa56e;border-radius:30px;background:#fff8ec;padding:9px 14px;font-size:11px;letter-spacing:.06em;font-weight:900}
.tyz-film-copy h3{color:#112b42!important;font-size:clamp(30px,3.6vw,55px)!important;line-height:1.25!important;font-weight:900!important;letter-spacing:-.035em!important;max-width:620px!important;margin:0!important;text-wrap:balance}
.tyz-film-copy p{max-width:540px;color:#405a70!important;font-size:clamp(14px,1.12vw,18px)!important;line-height:1.95!important;margin:0!important}
.tyz-film-chips{display:flex;gap:8px;flex-wrap:wrap}
.tyz-film-chips span{display:inline-flex;align-items:center;justify-content:center;background:#ffffffaa;border:1px solid #c8a56b;border-radius:10px;padding:9px 12px;color:#3c5366;font-size:11px;font-weight:800}
.tyz-film-buttons{display:flex;flex-wrap:wrap;gap:11px;margin-top:4px}
.tyz-film-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:49px;padding:12px 18px;border:1px solid #b88742;border-radius:12px;text-decoration:none!important;font-size:12px;font-weight:850;transition:transform .23s,background .23s,color .23s,box-shadow .23s}
.tyz-film-button-primary{background:linear-gradient(120deg,#f5d696,#dbab5e);color:#0c293e!important}
.tyz-film-button-secondary{background:#112e46;color:#fff!important;border-color:#112e46}
.tyz-film-button:hover{transform:translateY(-3px);box-shadow:0 10px 22px #20364b24}
.tyz-film-button-primary:hover{background:#132f46;color:#fff!important}
.tyz-film-button-secondary:hover{background:#e7b970;color:#112b42!important;border-color:#e7b970}
.tyz-film-media{position:relative;display:flex;min-width:0;aspect-ratio:1.45/1;align-items:stretch;justify-content:center;border-radius:20px;border:1px solid #cba464;background:#122e46;box-shadow:0 23px 50px #0d263a50,0 0 0 7px #e9c99135;overflow:visible;transform:perspective(1100px) rotateY(-3deg);transition:transform .5s ease}
.tyz-film-panel:hover .tyz-film-media{transform:perspective(1100px) rotateY(0deg) translateY(-3px)}
.tyz-film-art{width:100%;height:100%;display:block;border-radius:19px;background-color:#f6f8fc;background-size:contain;background-position:center;background-repeat:no-repeat}
.tyz-film-art-crm{background-image:url('/wp-content/uploads/tcrm/crm-dashboard.webp')}
.tyz-film-art-chat{background-image:url('/wp-content/uploads/tcrm/whatsapp-conversations-clean-v3.webp')}
.tyz-film-art-agents{background-image:url('/wp-content/uploads/tamiyouz-systems-features/rakan-ai-agent.webp')}
.tyz-film-media-bar{position:absolute;top:0;right:0;left:0;min-height:38px;border-radius:19px 19px 0 0;padding:9px 15px;display:flex;gap:9px;align-items:center;background:linear-gradient(120deg,#10263beb,#1b344be0);color:#fff;font-size:11px;font-weight:850;letter-spacing:.05em}
.tyz-film-led{width:7px;height:7px;background:#62cfa5;box-shadow:0 0 0 4px #62cfa527;border-radius:50%}
.tyz-film-media-label{margin-inline-start:auto;font-weight:750;color:#efd29e;letter-spacing:normal}
.tyz-film-floating{position:absolute;bottom:-14px;inset-inline-start:-12px;max-width:75%;display:inline-flex;align-items:center;gap:7px;color:#173147;background:#fff8ed;border:1px solid #d6b57a;border-radius:13px;padding:11px 16px;font-size:12px;font-weight:900;box-shadow:0 13px 25px #172d4440;animation:tyzFilmFloat 5.5s ease-in-out infinite}
.tyz-film-note{max-width:850px;margin:28px auto 0!important;text-align:center;color:#6a7c8c!important;font-size:11px!important;line-height:1.9!important}
.tyz-film-story a:focus-visible{outline:3px solid #b48333;outline-offset:3px}
@keyframes tyzFilmFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media(max-width:1100px){
 .tyz-film-story{padding:70px 20px}
 .tyz-film-panel{height:min(600px,calc(100svh - 135px));min-height:420px;gap:20px;padding:32px}
 .tyz-film-copy{gap:12px}
 .tyz-film-buttons{gap:8px}
}
@media(max-width:900px),(max-height:620px){
 .tyz-film-story{padding:65px 18px!important}
 .tyz-film-panel{position:relative!important;top:auto!important;height:auto!important;min-height:0!important;margin:0 auto 20px!important;grid-template-columns:1fr;gap:20px;padding:28px;box-shadow:0 15px 35px #12304428}
 .tyz-film-media{width:min(100%,650px);margin:auto;transform:none}
 .tyz-film-copy{gap:13px}
 .tyz-film-copy h3{font-size:clamp(30px,5vw,43px)!important}
}
@media(max-width:560px){
 .tyz-film-story{padding:50px 13px!important}
 .tyz-film-heading{margin-bottom:30px}
 .tyz-film-heading h2{font-size:32px!important}
 .tyz-film-panel{padding:20px 17px 26px;border-radius:20px}
 .tyz-film-copy h3{font-size:32px!important}
 .tyz-film-copy p{font-size:14px!important}
 .tyz-film-buttons{display:grid;grid-template-columns:1fr;width:100%;gap:9px}
 .tyz-film-button{width:100%;min-height:45px}
 .tyz-film-media{aspect-ratio:1.35/1}
 .tyz-film-floating{font-size:10px;padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){.tyz-film-story *{transition:none!important;animation:none!important;transform:none!important}.tyz-motion-ready .tyz-motion-target{opacity:1!important;translate:none!important}}
/* Shared gentle scroll reveal across both landing page languages. Content stays visible without JS. */
/* Never hide content while waiting for IntersectionObserver, especially under ad traffic. */
.tyz-motion-ready .tyz-motion-target{opacity:1;translate:none}
.tyz-motion-ready .tyz-motion-target.is-inview{animation:tyzMotionEnter .7s cubic-bezier(.15,.55,.2,1) both;animation-delay:var(--motion-delay,0ms)}
@keyframes tyzMotionEnter{from{opacity:.38;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

.tyz-tcrm .tc-center h2,.tyz9-page .tyz9-heading h2{letter-spacing:-.02em}
.tyz-tcrm .tc-grid>.tc-card,.tyz9-page .tyz9-deliver-grid>*,.tyz9-page .tyz9-steps>*{transition:transform .24s,box-shadow .24s}
@media(hover:hover){.tyz-tcrm .tc-grid>.tc-card:hover,.tyz9-page .tyz9-deliver-grid>*:hover,.tyz9-page .tyz9-steps>*:hover{transform:translateY(-4px);box-shadow:0 20px 38px #071d2b2b}}
.tyz-tcrm a.tc-button,.tyz9-page a.tyz9-button{transition:transform .22s,box-shadow .22s,filter .22s}
@media(hover:hover){.tyz-tcrm a.tc-button:hover,.tyz9-page a.tyz9-button:hover{transform:translateY(-3px);box-shadow:0 12px 28px #d4a4553b;filter:brightness(1.04)}}
@media(prefers-reduced-motion:reduce){.tyz-motion-ready .tyz-motion-target{opacity:1!important;translate:none!important;transition:none!important}}

/* Contrast guard against pre-existing dark-theme site rules (critical on mobile). */
html body main.tyz-tcrm .tyz-film-panel .tyz-film-copy h3,
html body main.tyz9-page .tyz-film-panel .tyz-film-copy h3{color:#0c2a42!important;opacity:1!important;text-shadow:none!important}
html body main.tyz-tcrm .tyz-film-panel .tyz-film-copy p,
html body main.tyz9-page .tyz-film-panel .tyz-film-copy p{color:#40596e!important;opacity:1!important;text-shadow:none!important}
html body main.tyz-tcrm .tyz-film-panel .tyz-film-index,
html body main.tyz9-page .tyz-film-panel .tyz-film-index{color:#855e27!important}
html body main.tyz-tcrm .tyz-film-panel .tyz-film-chips span,
html body main.tyz9-page .tyz-film-panel .tyz-film-chips span{color:#253f54!important}
html body main.tyz-tcrm .tyz-film-panel .tyz-film-button-primary,
html body main.tyz9-page .tyz-film-panel .tyz-film-button-primary{color:#0c293e!important}
html body main.tyz-tcrm .tyz-film-panel .tyz-film-button-primary:hover,
html body main.tyz9-page .tyz-film-panel .tyz-film-button-primary:hover{color:#fff!important}

/* Heading contrast guard for both Arabic and English on all theme modes. */
html body main.tyz-tcrm .tyz-film-story .tyz-film-heading h2,
html body main.tyz9-page .tyz-film-story .tyz-film-heading h2{color:#112b42!important;text-shadow:none!important}
html body main.tyz-tcrm .tyz-film-story .tyz-film-heading h2 span,
html body main.tyz9-page .tyz-film-story .tyz-film-heading h2 span{color:#b7812d!important}
html body main.tyz-tcrm .tyz-film-story .tyz-film-heading p,
html body main.tyz9-page .tyz-film-story .tyz-film-heading p{color:#40596e!important;opacity:1!important}

/* Two-line editorial headline for clarity in both languages. */
html body main.tyz-tcrm .tyz-film-heading h2 span,
html body main.tyz9-page .tyz-film-heading h2 span{display:block;margin-top:1px}


/* Premium navy backdrop for the CRM cinematic stack — AR + EN, 2026-11-02.
   Keep the cards bright, stacking and all CTAs unchanged. */
html body main.tyz-tcrm section.tyz-film-story,
html body main.tyz9-page section.tyz-film-story{
  background:
    radial-gradient(ellipse at 10% 18%,rgba(43,91,130,.34) 0%,transparent 42%),
    radial-gradient(ellipse at 88% 75%,rgba(218,165,82,.12) 0%,transparent 39%),
    linear-gradient(165deg,#07182b 0%,#0d293f 52%,#081c30 100%) !important;
  color:#edf3f9 !important;
}
html body main.tyz-tcrm .tyz-film-story .tyz-film-heading h2,
html body main.tyz9-page .tyz-film-story .tyz-film-heading h2{
  color:#f8fafc !important;text-shadow:none!important;
}
html body main.tyz-tcrm .tyz-film-story .tyz-film-heading h2 span,
html body main.tyz9-page .tyz-film-story .tyz-film-heading h2 span{
  color:#ebbf72 !important;
}
html body main.tyz-tcrm .tyz-film-story .tyz-film-heading p,
html body main.tyz9-page .tyz-film-story .tyz-film-heading p{
  color:#cbd9e6 !important;opacity:1!important;
}
html body main.tyz-tcrm .tyz-film-story .tyz-film-eyebrow,
html body main.tyz9-page .tyz-film-story .tyz-film-eyebrow{
  color:#f0cf97 !important;
}
html body main.tyz-tcrm .tyz-film-story .tyz-film-eyebrow>span,
html body main.tyz9-page .tyz-film-story .tyz-film-eyebrow>span{
  color:#e9bd73 !important;
}
html body main.tyz-tcrm .tyz-film-story .tyz-film-note,
html body main.tyz9-page .tyz-film-story .tyz-film-note{
  color:#b7c8d8 !important;
}
html body main.tyz-tcrm .tyz-film-story .tyz-film-panel,
html body main.tyz9-page .tyz-film-story .tyz-film-panel{
  box-shadow:0 25px 65px rgba(0,7,16,.47),0 0 0 1px rgba(245,214,166,.22);
  border-color:rgba(220,179,108,.66);
}
