/* CODE FLOW — Company Profile launcher (button + flipbook popup) */
.cfp-launch{position:fixed;bottom:96px;right:24px;left:auto;z-index:9990;display:flex;align-items:center;gap:12px;
  padding:8px 20px 8px 8px;padding-inline:8px 20px;border:0;border-radius:999px;cursor:pointer;color:#fff;
  font-family:"Outfit","Cairo",sans-serif;text-align:start;
  background:linear-gradient(120deg,#16699A 0%,#1E86C1 60%,#5FAFDC 100%);
  box-shadow:0 14px 30px rgba(15,53,80,.35),inset 0 1px 0 rgba(255,255,255,.35);
  transition:transform .25s ease,box-shadow .25s ease;animation:cfp-in .7s cubic-bezier(.2,.8,.2,1) .6s both}
html[lang^="ar"] .cfp-launch{font-family:"Cairo","Outfit",sans-serif}
.cfp-launch:hover{transform:translateY(-3px);box-shadow:0 20px 38px rgba(15,53,80,.42),inset 0 1px 0 rgba(255,255,255,.35)}
.cfp-launch:focus-visible{outline:3px solid #9CCBE6;outline-offset:3px}
.cfp-launch::before{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 rgba(30,134,193,.55);animation:cfp-pulse 2.6s ease-out infinite;pointer-events:none}
.cfp-ico{position:relative;width:48px;height:48px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 4px 12px rgba(15,53,80,.25)}
.cfp-ico svg{width:30px;height:30px;overflow:visible}
.cfp-page{transform-origin:16px 16px;animation:cfp-flip 3.2s ease-in-out infinite}
.cfp-launch:hover .cfp-page{animation-duration:1.2s}
.cfp-txt{display:flex;flex-direction:column;line-height:1.2}
.cfp-txt b{font-size:15.5px;font-weight:700;white-space:nowrap}
.cfp-txt small{font-size:12px;font-weight:500;opacity:.9;white-space:nowrap}
.cfp-badge{position:absolute;top:-4px;inset-inline-end:-4px;background:#fff;color:#16699A;font:700 10px/1 "Outfit",sans-serif;padding:4px 6px;border-radius:999px;box-shadow:0 2px 6px rgba(0,0,0,.2)}
@keyframes cfp-pulse{0%{box-shadow:0 0 0 0 rgba(30,134,193,.5)}70%{box-shadow:0 0 0 16px rgba(30,134,193,0)}100%{box-shadow:0 0 0 0 rgba(30,134,193,0)}}
@keyframes cfp-flip{0%,45%{transform:scaleX(1)}60%{transform:scaleX(-1)}85%,100%{transform:scaleX(-1);opacity:0}}
@keyframes cfp-in{from{opacity:0;transform:translateY(30px) scale(.9)}to{opacity:1;transform:none}}
/* popup */
.cfp-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px}
.cfp-modal[hidden]{display:none}
.cfp-backdrop{position:absolute;inset:0;background:rgba(11,22,34,.72);backdrop-filter:blur(6px);animation:cfp-fade .3s both}
.cfp-box{position:relative;display:flex;flex-direction:column;width:min(1440px,100%);height:min(940px,100%);border-radius:20px;overflow:hidden;background:#EAF4FB;box-shadow:0 30px 80px rgba(0,0,0,.45);animation:cfp-pop .4s cubic-bezier(.2,.8,.2,1) both}
.cfp-bar{display:flex;align-items:center;gap:10px;height:52px;padding-inline:20px 8px;background:#0F3550;color:#fff;font:600 15px/1 "Outfit","Cairo",sans-serif;flex-shrink:0}
html[lang^="ar"] .cfp-bar{font-family:"Cairo","Outfit",sans-serif}
.cfp-bar .cfp-sp{flex:1}
.cfp-stage{position:relative;flex:1;min-height:0}
.cfp-box iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.cfp-close{width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.cfp-close:hover{background:#1E86C1}
.cfp-close svg{width:20px;height:20px}
.cfp-stage{background:radial-gradient(ellipse at center,#ffffff 0%,#EBF5FB 100%)}
/* branded loader shown in the popup until the book is ready (same as the site preloader) */
.cfp-pre{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:radial-gradient(ellipse at center,#ffffff 0%,#EBF5FB 100%);transition:opacity .45s ease,visibility .45s ease}
.cfp-pre.is-done{opacity:0;visibility:hidden;pointer-events:none}
.cfp-pl-logo{position:relative;width:190px;max-width:60vw;transition:transform .45s cubic-bezier(.22,1,.36,1)}
.cfp-pre.is-done .cfp-pl-logo{transform:scale(1.08)}
.cfp-pl-logo::before{content:"";display:block;padding-top:88.528%}
.cfp-pl-logo img{position:absolute;height:auto;display:block}
.cfp-pl-l{left:0;top:0;width:45.889%;animation:cfpPlL .5s cubic-bezier(.22,1,.36,1) both}
.cfp-pl-r{left:56.453%;top:0;width:43.021%;animation:cfpPlR .5s cubic-bezier(.22,1,.36,1) .06s both}
.cfp-pl-name{left:3.25%;top:73.542%;width:96.718%;animation:cfpPlU .4s ease .35s both}
.cfp-pl-tag{left:7.122%;top:94.546%;width:88.273%;animation:cfpPlU .4s ease .5s both}
.cfp-pl-bar{width:110px;height:3px;border-radius:3px;background:rgba(30,134,193,.15);overflow:hidden}
.cfp-pl-bar span{display:block;height:100%;width:40%;border-radius:3px;background:linear-gradient(90deg,#5FAFDC,#1E86C1,#16699A);animation:cfpPlSlide 1.1s ease-in-out infinite}
@keyframes cfpPlL{from{opacity:0;transform:translateX(-38%)}to{opacity:1;transform:none}}
@keyframes cfpPlR{from{opacity:0;transform:translateX(38%)}to{opacity:1;transform:none}}
@keyframes cfpPlU{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes cfpPlSlide{0%{transform:translateX(-110%)}100%{transform:translateX(280%)}}
@media (prefers-reduced-motion:reduce){.cfp-pl-logo img,.cfp-pl-bar span{animation:none}}
@keyframes cfp-fade{from{opacity:0}}
@keyframes cfp-pop{from{opacity:0;transform:scale(.94) translateY(16px)}}
html.cfp-open{overflow:hidden}
@media (max-width:640px){
  .cfp-launch{bottom:84px;right:16px;left:auto;padding-inline:6px 14px;gap:9px}
  .cfp-ico{width:42px;height:42px}.cfp-ico svg{width:26px;height:26px}
  .cfp-txt b{font-size:14px}.cfp-txt small{display:none}
  .cfp-modal{padding:0}.cfp-box{border-radius:0;width:100%;height:100%}
}
@media (prefers-reduced-motion:reduce){.cfp-launch,.cfp-launch::before,.cfp-page{animation:none}}
@media print{.cfp-launch,.cfp-modal{display:none!important}}
