/* Flipbook Company Profile: popup pratinjau dengan efek balik halaman.
   Dibuka dari tombol .cp-btn; markup diambil dari <template id="fb-tpl"> di halaman. */
.fb{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;color:#fff;font-family:'Poppins',sans-serif;opacity:0;transition:opacity .25s ease}
.fb.is-open{opacity:1}
.fb-backdrop{position:absolute;inset:0;background:radial-gradient(120% 90% at 50% 40%,#1d3a55 0%,#0b1b2b 70%,#06111c 100%)}
.fb-top,.fb-bar{position:relative;z-index:2;display:flex;align-items:center;gap:12px;padding:12px 20px}
.fb-top{justify-content:space-between}
.fb-title{font-size:15px;font-weight:600;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fb-actions{display:flex;align-items:center;gap:8px}
.fb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;min-width:40px;padding:0 10px;border:0;border-radius:8px;background:rgba(255,255,255,.1);color:#fff;font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;transition:background-color .2s ease}
.fb-btn:hover{background:rgba(255,255,255,.2)}
.fb-btn:focus-visible,.fb-nav:focus-visible,.fb-range:focus-visible{outline:2px solid #6cb4ff;outline-offset:2px}
.fb-btn svg{width:18px;height:18px;flex:none}
.fb-dl{background:#e6010f}
.fb-dl:hover{background:#c4000d}
.fb-btn[aria-pressed="true"]{background:rgba(255,255,255,.28)}
.fb-stage{position:relative;z-index:1;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;perspective:2400px;overflow:hidden}
.fb.is-zoom .fb-stage{overflow:auto;align-items:flex-start;justify-content:flex-start}
.fb-viewport{position:relative;margin:auto;flex:none}
.fb-book{position:absolute;left:0;top:0;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.645,.045,.355,1)}
.fb-leaf{position:absolute;top:0;left:50%;width:50%;height:100%;transform-origin:left center;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.645,.045,.355,1);cursor:pointer}
.fb-leaf.is-turned{transform:rotateY(-180deg)}
.fb-face{position:absolute;inset:0;overflow:hidden;background:#fff;backface-visibility:hidden;-webkit-backface-visibility:hidden;box-shadow:0 18px 40px -12px rgba(0,0,0,.55)}
.fb-face img{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}
.fb-face::after{content:"";position:absolute;inset:0;pointer-events:none}
.fb-front::after{background:linear-gradient(90deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,0) 7%)}
.fb-back{transform:rotateY(180deg)}
.fb-back::after{background:linear-gradient(270deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,0) 7%)}
.fb-face.is-blank{background:transparent;box-shadow:none}
/* Mode satu halaman (layar sempit) */
.fb-single{position:absolute;inset:0;transform-style:preserve-3d}
.fb-single .fb-face{cursor:pointer}
.fb-nav{position:absolute;top:50%;z-index:3;width:48px;height:48px;margin-top:-24px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease,opacity .2s ease}
.fb-nav:hover{background:rgba(255,255,255,.24)}
.fb-nav[disabled]{opacity:.25;cursor:default}
.fb-nav svg{width:22px;height:22px}
.fb-prev{left:16px}
.fb-next{right:16px}
.fb-bar{justify-content:center;gap:16px;padding-bottom:16px}
.fb-range{width:min(420px,50vw);accent-color:#e6010f}
.fb-count{min-width:84px;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;text-align:center}
.fb-hint{font-size:12px;color:rgba(255,255,255,.6)}
html.fb-lock,html.fb-lock body{overflow:hidden}
@media (max-width:767.98px){
  .fb-top{padding:10px 12px}
  .fb-dl span,.fb-hint{display:none}
  .fb-nav{width:40px;height:40px;margin-top:-20px;background:rgba(0,0,0,.35)}
  .fb-prev{left:6px}
  .fb-next{right:6px}
  .fb-range{width:52vw}
}
@media (prefers-reduced-motion:reduce){.fb,.fb-book,.fb-leaf{transition:none}}
