/* /eter-iordanashvili/assets/css/platform.css
   Visual blocks for bespoke platform presentations (stats, bars, compare,
   quote, fomo). Additive — only used by sections that carry these blocks. */

:root { --pv-accent: #0891b2; }

/* ── big stat numbers ── */
.pv-stats{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;margin:22px 0;
}
.pv-stat{
  background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.09);border-left:3px solid var(--pv-accent);
  border-radius:14px;padding:18px 18px 16px;
}
.pv-stat__num{
  font-size:2.1rem;font-weight:800;line-height:1.05;letter-spacing:-.5px;
  color:#fff;
  background:linear-gradient(120deg,#fff, var(--pv-accent));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.pv-stat__label{font-weight:700;font-size:.95rem;margin-top:6px;color:#eef0fb}
.pv-stat__sub{font-size:.82rem;color:#9a9cb8;margin-top:3px;line-height:1.4}

/* ── horizontal scales / bars ── */
.pv-bars{margin:22px 0;display:flex;flex-direction:column;gap:16px}
.pv-bars__title{font-size:.78rem;text-transform:uppercase;letter-spacing:1.5px;color:#9a9cb8;margin:0 0 2px;font-weight:800}
.pv-bar__head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:7px}
.pv-bar__label{font-weight:700;color:#eef0fb;font-size:.95rem}
.pv-bar__value{font-weight:800;color:var(--pv-accent);font-size:1rem}
.pv-bar__track{height:12px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}
.pv-bar__fill{
  height:100%;width:0;border-radius:99px;
  background:linear-gradient(90deg,var(--pv-accent),#fff6);
  box-shadow:0 0 18px -3px var(--pv-accent);
  animation:pvfill 1.4s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes pvfill{ to { width:var(--pct,0%); } }
.pv-bar__note{font-size:.8rem;color:#9a9cb8;margin-top:5px}

/* ── with / without comparison ── */
.pv-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}
@media(max-width:640px){.pv-compare{grid-template-columns:1fr}}
.pv-compare__col{border-radius:16px;padding:18px 18px 14px;border:1px solid rgba(255,255,255,.09)}
.pv-compare__col h6{font-size:1rem;font-weight:800;margin:0 0 12px;display:flex;align-items:center;gap:8px}
.pv-compare__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.pv-compare__col li{position:relative;padding-left:24px;font-size:.92rem;line-height:1.45;color:#dfe1f3}
.pv-compare__col li::before{position:absolute;left:0;top:0;font-weight:900}
.pv-compare__col--bad{background:linear-gradient(160deg,rgba(244,63,94,.10),transparent);border-color:rgba(244,63,94,.30)}
.pv-compare__col--bad h6{color:#fb7185}
.pv-compare__col--bad li::before{content:"\2715";color:#fb7185}
.pv-compare__col--good{background:linear-gradient(160deg,rgba(16,185,129,.12),transparent);border-color:rgba(16,185,129,.32)}
.pv-compare__col--good h6{color:#34d399}
.pv-compare__col--good li::before{content:"\2713";color:#34d399}

/* ── pull quote ── */
.pv-quote{
  margin:24px 0;padding:22px 26px;position:relative;
  border-left:4px solid var(--pv-accent);
  background:linear-gradient(120deg,rgba(255,255,255,.05),transparent);
  border-radius:0 14px 14px 0;
}
.pv-quote__mark{position:absolute;top:-6px;left:14px;font-size:3rem;color:var(--pv-accent);opacity:.4;font-family:Georgia,serif}
.pv-quote p{font-size:1.2rem;font-weight:700;line-height:1.5;color:#fff;margin:0}
.pv-quote cite{display:block;margin-top:8px;font-style:normal;color:var(--pv-accent);font-weight:700;font-size:.9rem}

/* ── FOMO / what you lose ── */
.pv-fomo{
  margin:24px 0;padding:20px 22px;border-radius:16px;
  background:linear-gradient(160deg,rgba(244,63,94,.13),rgba(244,63,94,.03));
  border:1px solid rgba(244,63,94,.35);
}
.pv-fomo__title{font-size:1.05rem;font-weight:800;color:#fb7185;margin:0 0 12px;display:flex;align-items:center;gap:8px}
.pv-fomo__title::before{content:"\26A0";}
.pv-fomo ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.pv-fomo li{position:relative;padding-left:22px;color:#f3d6da;line-height:1.45;font-size:.95rem}
.pv-fomo li::before{content:"\2192";position:absolute;left:0;color:#fb7185;font-weight:900}

/* ── 3D agent gallery (model-viewer) ── */
.ei-3d{max-width:1120px;margin:8px auto 0;padding:34px 20px 10px}
.ei-3d__head{text-align:center;margin-bottom:26px}
.ei-3d__kicker{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--pv-accent);border:1px solid color-mix(in srgb,var(--pv-accent) 45%,transparent);padding:5px 14px;border-radius:99px}
.ei-3d__title{font-size:1.7rem;font-weight:800;margin:12px 0 4px;color:#fff}
.ei-3d__sub{color:#9a9cb8;font-size:.92rem}
.ei-3d__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}
.ei-3d__cell{position:relative;border:1px solid rgba(255,255,255,.09);border-radius:20px;padding:8px 8px 16px;text-align:center;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.01));overflow:hidden;transition:.25s}
.ei-3d__cell:hover{transform:translateY(-4px);border-color:var(--c);box-shadow:0 18px 40px -20px var(--c)}
.ei-3d__halo{position:absolute;top:6%;left:50%;transform:translateX(-50%);width:75%;height:55%;border-radius:50%;background:radial-gradient(circle,var(--c),transparent 68%);filter:blur(26px);opacity:.5;pointer-events:none;z-index:0}
.ei-3d__cell:hover .ei-3d__halo{opacity:.85}
.ei-3d__mv{width:100%;height:210px;background:transparent;--poster-color:transparent;position:relative;z-index:1}
.ei-3d__name{font-weight:800;color:#fff;font-size:1rem;margin-top:4px;position:relative;z-index:1}
.ei-3d__role{font-size:.78rem;color:var(--c);position:relative;z-index:1}
@media(max-width:520px){.ei-3d__grid{grid-template-columns:repeat(2,1fr)}.ei-3d__mv{height:170px}}

/* ── 2D animated agent mascots ── */
.ei-bots{max-width:1140px;margin:8px auto 0;padding:30px 20px 12px}
.ei-bots__grid{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.ei-bots__grid .bot-cell{flex:1 1 152px;max-width:190px}
.bot-cell{position:relative;border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:18px 12px 16px;text-align:center;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.01));transition:.25s;overflow:hidden}
.bot-cell::before{content:"";position:absolute;inset:0;border-radius:20px;background:radial-gradient(circle at 50% 26%,var(--c),transparent 62%);opacity:.16;transition:.25s;pointer-events:none}
.bot-cell:hover{transform:translateY(-4px);border-color:var(--c)}
.bot-cell:hover::before{opacity:.34}
.bot-cell--main{border-color:color-mix(in srgb,var(--c) 50%,transparent);background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02))}
/* director (main) — a touch larger mascot than the rest */
.bot-cell--main .botart,.bot-cell--main .bot{height:128px}
.bot-cell__role{font-size:.8rem;color:var(--c);font-weight:700;margin-top:2px;position:relative}
.bot{width:auto;max-width:100%;height:102px;display:block;overflow:visible;position:relative;transition:transform .28s cubic-bezier(.34,1.56,.64,1),filter .28s}
.bot-cell:hover .bot{transform:scale(1.07) translateY(-6px);filter:drop-shadow(0 6px 14px rgba(0,0,0,.45)) drop-shadow(0 0 14px var(--glow,var(--c)))}
/* GALLERY ground shadow — a SEPARATE non-floating element placed BEFORE .botart-wrap
   in the DOM (so the robot paints OVER it). The artwork's OWN baked shadow is hidden
   in the gallery (see the .botart-wrap [data-name] rule lower down), so this is the
   only ground shadow — and it stays pinned to the floor, counter-moving to the robot's
   float (synced via the cell's --fd/--dl, set inline in p/index.php): robot rises →
   shadow shrinks, fades and sinks. Fixes "the shadow follows the robot". */
.botart-floor{position:absolute;left:50%;top:130px;width:62px;height:12px;transform:translateX(-50%);
  border-radius:50%;pointer-events:none;z-index:0;
  background:radial-gradient(ellipse at center,rgba(184,192,212,.5),rgba(184,192,212,0) 70%);
  animation:botFloorA var(--fd,4.2s) ease-in-out infinite var(--dl,0s)}
.bot-cell--main .botart-floor{top:152px;width:74px}
@keyframes botFloorA{
  0%,100%{transform:translateX(-50%) translateY(0) scale(1);opacity:.5}
  50%    {transform:translateX(-50%) translateY(3px) scale(.6);opacity:.16}
}
.bot__name{fill:#fff;font-family:'Noto Sans Georgian','PT Sans',sans-serif;font-weight:800;font-size:11px;letter-spacing:-.3px}

/* idle float — three personalities, pivoted low */
.bot__inner{transform-box:view-box;transform-origin:100px 150px;animation:botFloatA var(--fd,4s) ease-in-out infinite var(--dl,0s)}
.bot--v1 .bot__inner{animation-name:botFloatB}
.bot--v2 .bot__inner{animation-name:botFloatC}
@keyframes botFloatA{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(calc(var(--sw,1)*1.6deg))}}
@keyframes botFloatB{0%,100%{transform:translateY(-2px) rotate(calc(var(--sw,1)*-3deg))}50%{transform:translateY(-6px) rotate(calc(var(--sw,1)*3deg))}}
@keyframes botFloatC{0%,100%{transform:translateY(0)}30%{transform:translateY(-10px)}50%{transform:translateY(-3px)}72%{transform:translateY(-8px)}}

/* blink — varied cadence per agent */
.bot__eyes{transform-box:view-box;transform-origin:100px 108px;animation:botBlink var(--bd,5s) ease-in-out infinite var(--dl,0s)}
@keyframes botBlink{0%,90%,100%{transform:scaleY(1)}94%{transform:scaleY(.10)}97%{transform:scaleY(1)}}

/* gentle ear sway */
.bot__ears{transform-box:view-box;transform-origin:100px 86px;animation:botEars var(--fd,4s) ease-in-out infinite var(--dl,0s)}
@keyframes botEars{0%,100%{transform:rotate(calc(var(--sw,1)*-1.4deg))}50%{transform:rotate(calc(var(--sw,1)*1.4deg))}}

/* smile appears + arm waves on hover */
.bot__smile{opacity:0;transition:opacity .25s}
.bot-cell:hover .bot__smile{opacity:1}
.bot__arm--r{transform-box:view-box;transform-origin:116px 162px}
.bot-cell:hover .bot__arm--r{animation:botWave .62s ease-in-out infinite}
@keyframes botWave{0%,100%{transform:rotate(0)}50%{transform:rotate(-22deg)}}
.bot__crown{transform-box:view-box;transform-origin:100px 30px;animation:botFloatA calc(var(--fd,4s)*.8) ease-in-out infinite}
/* ── hand-made agent art (strategi.svg / agentebi.svg) — animated SAFELY ──
   Float on the wrapper DIV, blink via OPACITY only. Never put CSS transform on
   inner layers: the artwork uses transform attributes for positioning and CSS
   transform would override them (content jumps out of the viewBox). */
.botart-wrap{display:flex;align-items:center;justify-content:center;height:130px;animation:botFloatA var(--fd,4.2s) ease-in-out infinite var(--dl,0s)}
.botart{height:102px;width:auto;max-width:100%;display:block;margin:0 auto;overflow:visible;
  transition:transform .28s cubic-bezier(.34,1.56,.64,1),filter .28s}
.bot-cell:hover .botart{transform:scale(1.06) translateY(-3px);filter:drop-shadow(0 8px 16px rgba(0,0,0,.5)) drop-shadow(0 0 18px var(--glow,var(--c)))}
.botart [id^="თვალი_მარცხენა"],.botart [id^="თვალი_მარჯვენა"]{animation:botBlinkOp var(--bd,5s) ease-in-out infinite var(--dl,0s)}
@keyframes botBlinkOp{0%,90%,100%{opacity:1}94%{opacity:.10}97%{opacity:1}}

@media(prefers-reduced-motion:reduce){.bot__inner,.bot__eyes,.bot__ears,.bot__crown,.botart-wrap,.botart [id^="თვალი"],.botart-floor,.chat-bot.is-on svg,.chat-bot.is-on::after,.chat-bot.is-assist{animation:none}}
@media(max-width:520px){.ei-bots__grid{grid-template-columns:repeat(3,1fr)}.bot{height:105px}}

/* ── active agent as a tasteful backdrop in the chat panel ── */
/* NB: do NOT set .ei-chatpanel position here. style.css already sets it per breakpoint
   (desktop ≥900px → position:fixed pinned right; mobile ≤899px → position:relative),
   and both establish the positioning context .chat-stage needs. Setting it unconditionally
   here loads AFTER style.css and clobbers the desktop `fixed` → panel falls to top-left. */
/* Always a small DOCKED agent avatar in a reserved bottom strip — never a big
   backdrop behind the text, so chat messages can NEVER overlap the agent. */
.chat-stage{position:absolute;left:16px;right:16px;bottom:84px;height:58px;z-index:2;display:flex;align-items:flex-end;justify-content:flex-start;gap:10px;overflow:visible;pointer-events:none}
.chat-bot{position:relative;display:none;height:54px;opacity:1;flex:0 0 auto;overflow:visible;transition:opacity .4s ease,height .4s ease}
.chat-bot svg{display:block;width:auto;height:100%}
/* GROUND shadow — a SEPARATE element pinned to the floor. It never rides up with
   the agent; it moves the OPPOSITE way: as the agent floats UP the shadow shrinks,
   fades and sinks; as the agent comes DOWN it grows back. (per user request) */
.chat-bot::after{content:"";position:absolute;left:50%;bottom:-6px;width:62%;height:9px;
  transform:translateX(-50%);transform-origin:center bottom;border-radius:50%;pointer-events:none;opacity:0;
  background:radial-gradient(ellipse at center,rgba(0,0,0,.6),rgba(0,0,0,0) 72%);
  transition:opacity .4s ease}
/* active agent: only the ART floats (a soft coloured GLOW travels with it — no dark
   body shadow), while the ground shadow underneath animates in counter-motion. */
.chat-bot.is-on{display:block;height:56px}
.chat-bot.is-on svg{animation:botFloatA 5s ease-in-out infinite;
  filter:drop-shadow(0 0 11px color-mix(in srgb,var(--ag-color) 60%,transparent))}
.chat-bot.is-on::after{opacity:1;animation:botShadowA 5s ease-in-out infinite}
/* KILL the art's OWN baked-in ground shadow inside the dock. The whole <svg> floats
   via botFloatA, so the shadow baked into the artwork (agentebi.svg
   [data-name="Ellipse 25"] / strategi.svg [data-name="ჩრდილი"]) rode UP with the
   robot — that was the "shadow still moves with the robot" bug. Hidden here so the
   ONLY ground shadow is the floor-pinned, counter-moving .chat-bot::after above.
   (eter_inline_svg namespaces id/url/href but NOT data-name, so these match every
   inlined instance.) Applied to BOTH the dock (.chat-bot) and the gallery (.botart-wrap);
   the gallery's ground shadow is the separate floor-pinned .botart-floor element (above). */
.chat-bot svg [data-name="Ellipse 25"],.chat-bot svg [data-name="ჩრდილი"],
.botart-wrap svg [data-name="Ellipse 25"],.botart-wrap svg [data-name="ჩრდილი"]{display:none}
/* assisting agents — no float, so a small steady ground shadow and no body shadow */
.chat-bot.is-assist{display:block;height:44px;opacity:.9;animation:assistIn .45s cubic-bezier(.32,.72,0,1) both}
.chat-bot.is-assist svg{filter:none}
.chat-bot.is-assist::after{opacity:.4;width:54%;height:7px}
/* agent rises (botFloatA → -7px at 50%); the shadow does the opposite, below it */
@keyframes botShadowA{
  0%,100%{transform:translateX(-50%) translateY(0) scale(1);opacity:.6}
  50%    {transform:translateX(-50%) translateY(4px) scale(.64);opacity:.22}
}
/* text + controls always sit clearly ABOVE the bot strip; thread reserves it */
.ei-chatpanel__head,.ei-chatpanel__intro,.ei-chatpanel__thread,.ei-chatpanel__form{position:relative;z-index:1}
.ei-chatpanel__thread{background:transparent;padding-bottom:74px}
.ei-chatpanel__lead,.ei-chatpanel__body{text-shadow:0 1px 8px rgba(6,6,20,.95),0 0 3px rgba(6,6,20,.95)}

/* NB: the bot is ALWAYS docked (see .chat-stage above), so no separate has-msgs
   layout is needed — the old has-msgs override (which made the dark shadow bob with
   the agent) was removed; the ground shadow now counter-moves instead. */
@keyframes assistIn{from{opacity:0;transform:translateY(10px) scale(.55)}to{opacity:.9;transform:none}}
/* reserve a clear strip at the bottom of the thread for the presence bar */
.ei-chatpanel.has-msgs .ei-chatpanel__thread{padding-bottom:78px}
/* per-agent remaining-limit line in the chat */
.ei-limit{align-self:flex-end;max-width:90%;font-size:.72rem;color:var(--ink-dim);font-weight:700;letter-spacing:.01em;padding:1px 8px;border-radius:8px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.ei-limit--out{color:#fca5a5;border-color:rgba(248,113,113,.35);background:rgba(248,113,113,.08)}
/* dynamic lock badge — appears only after an agent's visitor limit is used up */
.ei-dock__avatar,.ei-army__avatar,.ei-card__icon{position:relative}
.ei-dock__btn.is-locked .ei-dock__avatar::after,
.ei-army__cell.is-locked .ei-army__avatar::after,
.ei-card.is-locked .ei-card__icon::after{content:"🔒";position:absolute;bottom:-5px;right:-5px;font-size:11px;line-height:1;background:#0a0a18;border-radius:50%;padding:3px;box-shadow:0 0 0 2px #0a0a18}

/* ════════════════════════════════════════════════════════════════════
   Per-presentation access gate (p/index.php) + shared code-entry styles
   ════════════════════════════════════════════════════════════════════ */
.ei-gate-body{margin:0;min-height:100vh;background:
  radial-gradient(1100px 600px at 80% -10%, rgba(99,102,241,.18), transparent 60%),
  radial-gradient(900px 500px at 0% 110%, rgba(236,72,153,.14), transparent 55%),
  var(--bg-0);color:var(--ink);font-family:var(--font-ui);display:flex;flex-direction:column}
.ei-gate{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;padding:40px 20px;position:relative}
.ei-gate__home{position:absolute;top:24px;left:24px;display:inline-flex;align-items:center;gap:9px;color:var(--ink-mut);font-weight:700;font-size:.92rem;text-decoration:none;transition:color .15s}
.ei-gate__home:hover{color:var(--ink)}
.ei-gate__home svg{width:18px;height:18px}
.ei-gate__card{width:100%;max-width:440px;background:linear-gradient(180deg,rgba(22,23,46,.9),rgba(13,13,36,.92));border:1px solid var(--line-2);border-radius:var(--radius);padding:38px 30px 30px;text-align:center;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.ei-gate__lock{width:64px;height:64px;margin:0 auto 18px;border-radius:18px;display:grid;place-items:center;color:var(--brand);background:linear-gradient(135deg,rgba(99,102,241,.25),rgba(139,92,246,.1));border:1px solid rgba(99,102,241,.5);box-shadow:0 12px 30px -10px rgba(99,102,241,.6)}
.ei-gate__lock svg{width:30px;height:30px}
.ei-gate__title{font-family:var(--font-ui);font-size:1.5rem;font-weight:800;margin:0 0 8px;letter-spacing:-.01em}
.ei-gate__sub{color:var(--ink-mut);font-size:.95rem;line-height:1.55;margin:0 0 22px}
.ei-gate__form{display:flex;gap:10px}
.ei-gate__input{flex:1;min-width:0;padding:14px 16px;background:rgba(255,255,255,.05);border:1px solid var(--line-2);border-radius:13px;color:var(--ink);font:inherit;font-size:1.05rem;letter-spacing:.14em;text-align:center;text-transform:uppercase;outline:none;transition:border-color .15s,box-shadow .15s}
.ei-gate__input::placeholder{color:var(--ink-dim);letter-spacing:normal;text-transform:none}
.ei-gate__input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(99,102,241,.25)}
.ei-gate__btn{flex:none;padding:0 22px;border:0;border-radius:13px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;font:inherit;font-weight:800;cursor:pointer;transition:filter .15s,transform .15s}
.ei-gate__btn:hover{filter:brightness(1.1);transform:translateY(-1px)}
.ei-gate__err{margin-top:14px;color:#fca5a5;font-size:.9rem;font-weight:600}
.ei-gate__hint{margin-top:18px;color:var(--ink-dim);font-size:.84rem}
@media(max-width:520px){.ei-gate__form{flex-direction:column}.ei-gate__btn{padding:13px}}
