/* GrabZilla Demo — engine styling (Tailwind handles the mock screens). */
:root{
  --gz-sky:#0ea5e9; --gz-indigo:#6366f1; --gz-ink:#0f172a; --gz-slate:#334155;
}
html,body{height:100%;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;}
#gz-stage{position:fixed;inset:0;overflow:hidden;background:#f8fafc;}

/* ---------- Launcher ---------- */
#gz-launcher{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#0ea5e9,#6366f1);padding:24px;overflow:auto;}
.gz-launcher-inner{max-width:880px;width:100%;text-align:center;color:#fff;}
.gz-logo{width:64px;height:64px;border-radius:16px;background:#fff;color:#0ea5e9;font-weight:800;font-size:34px;
  display:flex;align-items:center;justify-content:center;margin:0 auto 16px;box-shadow:0 10px 30px rgba(0,0,0,.2);
  object-fit:contain;}
.gz-launcher-head h1{font-size:34px;font-weight:800;margin:0;}
.gz-tagline{font-size:16px;font-weight:600;color:#e0f2fe;margin:6px 0 2px;}
.gz-sub{color:#dbeafe;margin:0 0 26px;font-size:14px;}
.gz-flow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;text-align:left;}
.gz-flow-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:14px;
  padding:16px;color:#fff;cursor:pointer;transition:transform .15s,background .15s;backdrop-filter:blur(4px);}
.gz-flow-card:hover{background:rgba(255,255,255,.22);transform:translateY(-2px);}
.gz-flow-icon{font-size:26px;}
.gz-flow-title{font-weight:700;margin-top:8px;}
.gz-flow-blurb{font-size:12.5px;color:#e0f2fe;margin-top:2px;}
.gz-foot{color:#dbeafe;font-size:12px;margin-top:24px;}
.gz-end h1{font-size:30px;font-weight:800;margin:4px 0;}
.gz-end-actions{display:flex;gap:12px;justify-content:center;margin:24px 0 14px;flex-wrap:wrap;}
.gz-cta-link{color:#fff;font-weight:600;text-decoration:underline;}

/* ---------- Overlay ---------- */
#gz-overlay{display:none;}
#gz-backdrop{position:fixed;inset:0;z-index:1000;background:transparent;}
#gz-spotlight{position:fixed;z-index:1001;border-radius:10px;pointer-events:none;
  box-shadow:0 0 0 9999px rgba(15,23,42,.62);outline:2px solid var(--gz-sky);
  transition:left .3s,top .3s,width .3s,height .3s;}
#gz-spotlight::after{content:"";position:absolute;inset:-4px;border-radius:12px;
  outline:3px solid rgba(14,165,233,.45);animation:gzpulse 1.6s ease-out infinite;}
@keyframes gzpulse{0%{opacity:.8;transform:scale(1)}100%{opacity:0;transform:scale(1.06)}}
#gz-hotspot{position:fixed;z-index:1002;cursor:pointer;border-radius:10px;}

/* Tooltip */
#gz-tooltip{position:fixed;z-index:1003;max-width:300px;background:#fff;color:var(--gz-ink);
  border-radius:12px;padding:14px 16px;box-shadow:0 12px 40px rgba(15,23,42,.28);font-size:14px;line-height:1.5;
  transition:left .25s,top .25s;}
.gz-tip-step{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--gz-sky);margin-bottom:4px;}
.gz-tip-text{color:var(--gz-slate);}
.gz-tip-cta{font-size:11.5px;color:#94a3b8;margin-top:10px;}
.gz-tip-arrow{position:absolute;width:12px;height:12px;background:#fff;transform:rotate(45deg);}
.gz-tip-top    .gz-tip-arrow{bottom:-6px;left:calc(50% - 6px);}
.gz-tip-bottom .gz-tip-arrow{top:-6px;left:calc(50% - 6px);}
.gz-tip-left   .gz-tip-arrow{right:-6px;top:calc(50% - 6px);}
.gz-tip-right  .gz-tip-arrow{left:-6px;top:calc(50% - 6px);}
.gz-tip-center .gz-tip-arrow{display:none;}
.gz-tip-center{max-width:420px;text-align:center;padding:22px 26px;}

/* Cursor */
#gz-cursor{position:fixed;z-index:1004;left:50%;top:50%;pointer-events:none;opacity:0;
  transform:translate(-2px,-2px);transition:left .75s cubic-bezier(.45,.05,.25,1),top .75s cubic-bezier(.45,.05,.25,1),opacity .2s;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.3));}
#gz-cursor .gz-ripple{position:absolute;left:2px;top:2px;width:18px;height:18px;border-radius:50%;
  background:rgba(14,165,233,.45);transform:scale(0);opacity:0;}
#gz-cursor.gz-cursor-click .gz-ripple{animation:gzclick .42s ease-out;}
@keyframes gzclick{0%{transform:scale(0);opacity:.7}100%{transform:scale(3.4);opacity:0}}

/* Controls */
#gz-controls{position:fixed;z-index:1005;left:50%;bottom:18px;transform:translateX(-50%);
  display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;
  padding:8px 12px;box-shadow:0 10px 30px rgba(15,23,42,.18);max-width:94vw;}
.gz-flowname{font-weight:700;color:var(--gz-ink);font-size:13px;padding-right:6px;}
.gz-spacer{width:8px;}
.gz-counter{font-size:12px;color:#64748b;min-width:42px;text-align:center;}
.gz-btn{border:1px solid #e2e8f0;background:#fff;border-radius:9px;padding:7px 12px;font-size:13px;font-weight:600;
  color:var(--gz-slate);cursor:pointer;transition:background .15s;}
.gz-btn:hover{background:#f1f5f9;}
.gz-btn-primary{background:var(--gz-sky);border-color:var(--gz-sky);color:#fff;}
.gz-btn-primary:hover{background:#0284c7;}
.gz-btn-ghost{background:#fff;}
.gz-btn-active{background:var(--gz-indigo);border-color:var(--gz-indigo);color:#fff;}
.gz-btn-lg{padding:11px 20px;font-size:15px;}

/* Embed mode (website hero): hide chrome so only the auto-playing tour shows */
body.gz-embed #gz-controls{display:none!important;}
body.gz-embed #gz-launcher{display:none!important;}

/* Responsive: slim the mock sidebar to icons on narrow screens */
@media (max-width:760px){
  .gz-sidebar{width:56px!important;}
  .gz-navlabel{display:none;}
  #gz-tooltip{max-width:260px;}
  #gz-controls{gap:6px;padding:7px 9px;}
  .gz-flowname{display:none;}
}
