/* previews.css – the 6 self-contained live mini-app previews.
   Each fills its host (.cg-preview) and loops with CSS animations.
   All motion pauses when an ancestor .capsule has .is-paused (see capsules.css:
   `.capsule.is-paused .capsule__screen *` sets animation-play-state:paused).

   Colors come from --accent set on the capsule; a few previews hard-set their
   own brand hues where the product demands it. */

.cg-preview {
  position: absolute;
  inset: 0;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: var(--cg-text, #E8E8EC);
  overflow: hidden;
  --amber: #FFB800;
  --cyan: #00F0FF;
  --violet: #7B61FF;
  --muted: #B0C4DE;
}
.cg-preview * { box-sizing: border-box; }

/* =====================================================================
   1. NEXUS – premium SaaS analytics product (СФЕРА)
   layered: sidebar + header + KPI tiles + area chart + donut + list rows
   ===================================================================== */
.pv-nexus {
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(0,240,255,0.06) 0%, transparent 45%),
    radial-gradient(120% 110% at 0% 100%, rgba(255,184,0,0.07) 0%, transparent 50%),
    linear-gradient(150deg, #10141f 0%, #070a12 75%);
  display: grid;
  grid-template-columns: 7% 1fr;
}
/* thin sidebar sliver */
.pv-nexus__side {
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14%;
  padding: 10% 0;
}
.pv-nexus__side i {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(255,255,255,0.12);
}
.pv-nexus__side i.on {
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pv-nx-side 4s ease-in-out infinite;
}
@keyframes pv-nx-side { 0%,100%{ opacity: 0.7; } 50%{ opacity: 1; } }

.pv-nexus__main {
  min-width: 0;
  padding: 4.5% 5%;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 4%;
}

/* header: logo dot + title + avatar */
.pv-nexus__head { display: flex; align-items: center; justify-content: space-between; }
.pv-nexus__brand { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.pv-nexus__logo {
  color: var(--amber); font-size: clamp(9px, 2.4cqw, 16px); line-height: 1;
  text-shadow: 0 0 8px var(--amber);
}
.pv-nexus__ttl {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(7px, 1.9cqw, 13px); font-weight: 600; letter-spacing: 0.14em;
  color: var(--cg-text, #E8E8EC);
}
.pv-nexus__avatar {
  width: clamp(10px, 2.6cqw, 18px); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 8px -2px var(--cyan);
}

/* KPI tiles */
.pv-nexus__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.pv-nexus__kpi {
  border-radius: 7px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 6% 7%;
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.pv-nexus__kpitop { display: flex; align-items: baseline; gap: 4px; }
.pv-nexus__kpi .num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(11px, 2.9cqw, 22px); font-weight: 600; color: var(--amber);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.pv-nexus__kpi .trend { font-size: clamp(5px, 1.2cqw, 9px); line-height: 1; }
.pv-nexus__kpi .trend.up { color: #3ecf8e; }
.pv-nexus__kpi .trend.down { color: #ff6b6b; }
.pv-nexus__kpi .lbl { font-size: clamp(6px, 1.3cqw, 10px); color: var(--muted); }

/* chart + donut row */
.pv-nexus__bottom { display: grid; grid-template-columns: 1fr 32%; gap: 4%; min-height: 0; }
.pv-nexus__chart {
  border-radius: 7px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 5% 5% 0;
  display: flex; align-items: stretch; min-width: 0;
}
.pv-nexus__chart svg { width: 100%; height: 100%; overflow: visible; }
.pv-nexus__chart .area {
  fill: url(#pv-nexus-fill); stroke: none;
  opacity: 0; animation: pv-nx-area 5s ease-in-out infinite;
}
@keyframes pv-nx-area { 0%,35%{ opacity: 0; } 60%,90%{ opacity: 1; } 100%{ opacity: 0; } }
.pv-nexus__chart .line {
  fill: none; stroke: var(--amber); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px var(--amber));
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: pv-nx-draw 5s ease-in-out infinite;
}
@keyframes pv-nx-draw { 0%{ stroke-dashoffset: 340; } 55%,100%{ stroke-dashoffset: 0; } }

.pv-nexus__donut {
  align-self: center; justify-self: center;
  width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from -90deg, var(--amber) var(--don, 0%), var(--cyan) 0 calc(var(--don, 0%) + 14%), rgba(255,255,255,0.06) 0);
  animation: pv-donut 5s ease-in-out infinite;
  display: grid; place-items: center; position: relative;
}
.pv-nexus__donut::after {
  content: ""; position: absolute; inset: 26%; border-radius: 50%;
  background: #0a0e18; box-shadow: inset 0 0 16px -6px var(--amber);
}
.pv-nexus__donutval {
  position: relative; z-index: 1; width: 26%; height: 3px; border-radius: 3px;
  background: var(--amber); box-shadow: 0 0 6px var(--amber);
}
@property --don { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes pv-donut { 0%,10%{ --don: 8%; } 60%,100%{ --don: 64%; } }

/* shimmering list rows */
.pv-nexus__rows { display: flex; flex-direction: column; gap: 4px; }
.pv-nexus__row {
  display: grid; grid-template-columns: 1.6fr 1fr 0.5fr; gap: 6px; align-items: center;
}
.pv-nexus__row span { height: 4px; border-radius: 3px; background: rgba(255,255,255,0.08); }
.pv-nexus__row span.k { background: rgba(255,255,255,0.16); }
.pv-nexus__row span.t { background: color-mix(in srgb, var(--cyan) 55%, transparent); }
.pv-nexus__row {
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: pv-nx-shine 3.4s linear infinite;
}
.pv-nexus__row:nth-child(2) { animation-delay: 0.4s; }
.pv-nexus__row:nth-child(3) { animation-delay: 0.8s; }
@keyframes pv-nx-shine { 0%{ background-position: 130% 0; } 100%{ background-position: -130% 0; } }

/* =====================================================================
   2. PULSE – Telegram mini app storefront
   ===================================================================== */
.pv-pulse {
  --tg: #2AABEE;
  --tg2: #229ED9;
  --coffee: #C98A5E;
  --loop: 9s;                 /* master micro-story loop */
  position: relative;
  overflow: hidden;
  perspective: 620px;
  background:
    radial-gradient(70% 55% at 50% 4%, rgba(42,171,238,0.12), transparent 62%),
    radial-gradient(120% 95% at 50% 120%, rgba(0,240,255,0.06), transparent 55%),
    radial-gradient(140% 120% at 50% 55%, rgba(11,17,30,0), rgba(3,5,10,0.85) 100%),
    linear-gradient(165deg, #10182a 0%, #070a12 74%);
  display: grid;
  place-items: center;
}
/* soft studio backdrop glow behind the phone (breathing) */
.pv-pulse__glow {
  position: absolute;
  width: 52%; height: 84%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,171,238,0.5), rgba(0,240,255,0.14) 44%, transparent 70%);
  filter: blur(16px);
  animation: pv-pulse-breathe 6s ease-in-out infinite;
}
@keyframes pv-pulse-breathe {
  0%,100% { opacity: 0.5;  transform: scale(0.92); }
  50%     { opacity: 0.95; transform: scale(1.06); }
}
/* grain + vignette overlay for cinematic depth (static, no animation) */
.pv-pulse__vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background:
    radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(0,0,0,0.55) 100%),
    repeating-conic-gradient(rgba(255,255,255,0.018) 0deg 0.5deg, transparent 0.5deg 1deg);
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

/* floating depth chips with soft parallax drift */
.pv-pulse__chips { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.pv-pulse__chip {
  position: absolute;
  display: grid; place-items: center;
  width: 8.5%; aspect-ratio: 1; min-width: 16px;
  border-radius: 30%;
  font-size: clamp(7px, 1.9cqw, 12px);
  color: #eaf4ff;
  background: linear-gradient(150deg, rgba(30,42,68,0.8), rgba(14,20,36,0.72));
  border: 1px solid rgba(42,171,238,0.4);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.65), inset 0 1px 6px -2px rgba(255,255,255,0.25), inset 0 0 10px -3px rgba(42,171,238,0.55);
  backdrop-filter: blur(3px);
}
.pv-pulse__chip.star { top: 15%; left: 13%; color: var(--amber); animation: pv-pulse-driftA 7.5s ease-in-out infinite; }
.pv-pulse__chip.cart { top: 27%; right: 11%; animation: pv-pulse-driftB 8.5s ease-in-out -2s infinite; }
.pv-pulse__chip.rub  { bottom: 18%; left: 15%; color: var(--cyan); animation: pv-pulse-driftA 8s ease-in-out -1s infinite; }
@keyframes pv-pulse-driftA {
  0%,100% { transform: translate3d(0,0,0) rotate(-3deg); }
  50%     { transform: translate3d(4%,-15%,0) rotate(4deg); }
}
@keyframes pv-pulse-driftB {
  0%,100% { transform: translate3d(0,0,0) rotate(3deg); }
  50%     { transform: translate3d(-5%,-12%,0) rotate(-4deg); }
}

/* --- phone: floats + gentle 3D tilt --- */
.pv-pulse__phone {
  position: relative;
  height: 90%;
  aspect-ratio: 9 / 18.5;
  border-radius: 17px;
  background: linear-gradient(160deg, #0a0f1a, #05070d);
  padding: 4%;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow:
    0 22px 46px -14px rgba(0,0,0,0.9),
    0 0 40px -12px var(--tg),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  animation: pv-pulse-tilt 9s ease-in-out infinite;
}
@keyframes pv-pulse-tilt {
  0%,100% { transform: translateY(0.6%) rotateX(3deg) rotateY(-5deg) rotateZ(-0.5deg); }
  50%     { transform: translateY(-2.4%) rotateX(-2deg) rotateY(5deg) rotateZ(0.5deg); }
}
.pv-pulse__phone::before { /* glossy gradient rim (Telegram blue→cyan→violet) */
  content: ""; position: absolute; inset: 0; z-index: 6;
  border-radius: inherit; padding: 1.6px;
  background: linear-gradient(150deg, var(--tg), var(--cyan) 52%, var(--violet));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.pv-pulse__island {
  position: absolute; top: 3%; left: 50%; transform: translateX(-50%);
  width: 26%; height: 3.4%; min-height: 4px;
  border-radius: 999px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  z-index: 7;
}
.pv-pulse__scr {
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(42,171,238,0.14), transparent 55%),
    linear-gradient(180deg, #121b2c 0%, #0a0f1c 100%);
  display: flex; flex-direction: column;
  padding: 9% 6% 0;
}
/* periodic light sweep across the glass */
.pv-pulse__shine {
  position: absolute; top: -30%; left: -60%; z-index: 5;
  width: 55%; height: 160%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16) 45%, rgba(180,235,255,0.28) 50%, rgba(255,255,255,0.16) 55%, transparent);
  pointer-events: none; opacity: 0;
  animation: pv-pulse-shine var(--loop) ease-in-out infinite;
}
@keyframes pv-pulse-shine {
  0%, 6%    { transform: translateX(0) rotate(18deg); opacity: 0; }
  10%       { opacity: 0.9; }
  24%       { transform: translateX(360%) rotate(18deg); opacity: 0; }
  100%      { transform: translateX(360%) rotate(18deg); opacity: 0; }
}

/* header */
.pv-pulse__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 7%;
}
.pv-pulse__brand { display: flex; align-items: center; gap: 5px; }
.pv-pulse__mark {
  display: grid; place-items: center;
  width: 16px; height: 16px; border-radius: 5px;
  font-size: clamp(7px, 1.7cqw, 10px);
  background: linear-gradient(135deg, var(--tg), var(--cyan));
  box-shadow: 0 0 10px -2px var(--tg);
  animation: pv-pulse-markglow 3s ease-in-out infinite;
}
@keyframes pv-pulse-markglow {
  0%,100% { box-shadow: 0 0 8px -3px var(--tg); }
  50%     { box-shadow: 0 0 14px 0 var(--cyan); }
}
.pv-pulse__name { font-size: clamp(7px, 2cqw, 12px); font-weight: 700; color: #eaf3ff; letter-spacing: 0.02em; }
.pv-pulse__av {
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coffee), var(--amber));
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.14), 0 2px 6px -2px rgba(0,0,0,0.6);
}

/* product cards */
.pv-pulse__list { display: flex; flex-direction: column; gap: 6%; }
.pv-pulse__card {
  position: relative;
  display: flex; align-items: center; gap: 7px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  animation: pv-pulse-cardhi var(--loop) ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.2s);
}
/* only the hot (first) card gets the full highlight beat */
.pv-pulse__card.hot {
  animation: pv-pulse-hothi var(--loop) cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes pv-pulse-cardhi {
  0%,100% { transform: translateZ(0); opacity: 0.92; }
  50%     { opacity: 1; }
}
@keyframes pv-pulse-hothi {
  0%, 4%   { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.07); box-shadow: none; transform: scale(1); }
  9%, 20%  { background: rgba(42,171,238,0.16); border-color: rgba(42,171,238,0.6); box-shadow: 0 0 20px -6px var(--tg); transform: scale(1.03); }
  30%, 100%{ background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.07); box-shadow: none; transform: scale(1); }
}
.pv-pulse__photo {
  position: relative;
  width: 22%; aspect-ratio: 1; min-width: 22px;
  border-radius: 8px; flex: none; overflow: hidden;
  box-shadow: inset 0 -7px 14px -6px rgba(0,0,0,0.65), inset 0 1px 3px rgba(255,255,255,0.18);
}
.pv-pulse__photo::after { /* glossy sheen on the coffee "photo" */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(255,255,255,0.35), transparent 45%);
  mix-blend-mode: screen; opacity: 0.6;
}
.pv-pulse__photo.g1 { background: radial-gradient(120% 90% at 30% 20%, #eec49a, #d7a06a 40%, #6f3f1e 100%); }
.pv-pulse__photo.g2 { background: radial-gradient(120% 90% at 30% 20%, #dca878, #c98a5e 40%, #4f2d15 100%); }
.pv-pulse__photo.g3 { background: radial-gradient(120% 90% at 30% 20%, #f0cfa2, #e3b98c 40%, #8c5c30 100%); }
/* soft rising steam on the hot card only */
.pv-pulse__steam {
  position: absolute; left: 50%; top: 8%; z-index: 2;
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 65%);
  opacity: 0; filter: blur(1px);
}
.pv-pulse__card.hot .pv-pulse__steam { animation: pv-pulse-steam 3s ease-out infinite; }
@keyframes pv-pulse-steam {
  0%   { opacity: 0; transform: translate(-50%,0) scale(0.6); }
  30%  { opacity: 0.55; }
  100% { opacity: 0; transform: translate(-50%,-140%) scale(1.4); }
}
.pv-pulse__info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pv-pulse__info .nm { font-size: clamp(6px, 1.7cqw, 11px); font-weight: 600; color: #e8eef8; }
.pv-pulse__info .pr { font-size: clamp(6px, 1.5cqw, 10px); color: var(--cyan); font-weight: 600; }
.pv-pulse__add {
  display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  font-size: 12px; line-height: 1; color: #fff;
  background: linear-gradient(135deg, var(--tg), var(--tg2));
  box-shadow: 0 3px 8px -2px var(--tg), inset 0 1px 2px rgba(255,255,255,0.4);
}
.pv-pulse__card.hot .pv-pulse__add { animation: pv-pulse-addpop var(--loop) cubic-bezier(0.34,1.56,0.64,1) infinite; }
@keyframes pv-pulse-addpop {
  0%, 12%, 30%, 100% { transform: scale(1); box-shadow: 0 3px 8px -2px var(--tg), inset 0 1px 2px rgba(255,255,255,0.4); }
  18%                { transform: scale(1.32); box-shadow: 0 0 18px 2px var(--tg), inset 0 1px 2px rgba(255,255,255,0.5); }
}

/* the item that flies from the hot card toward the cart tab */
.pv-pulse__fly {
  position: absolute; left: 16%; top: 34%; z-index: 8;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #eec49a, #7c4a24);
  box-shadow: 0 0 10px -1px var(--tg), inset 0 1px 2px rgba(255,255,255,0.4);
  opacity: 0; pointer-events: none;
  animation: pv-pulse-fly var(--loop) cubic-bezier(0.5,0,0.2,1) infinite;
}
@keyframes pv-pulse-fly {
  0%, 18%  { opacity: 0; transform: translate(0,0) scale(1); }
  20%      { opacity: 1; transform: translate(0,0) scale(1); }
  30%      { opacity: 1; transform: translate(140%,-40%) scale(0.8); }
  38%      { opacity: 0; transform: translate(300%,260%) scale(0.35); }
  100%     { opacity: 0; transform: translate(300%,260%) scale(0.35); }
}

/* floating order-status pill */
.pv-pulse__pill {
  position: absolute; left: 6%; top: 45%; z-index: 6;
  display: flex; align-items: center; gap: 5px;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(10,16,28,0.92);
  border: 1px solid rgba(0,240,255,0.4);
  box-shadow: 0 10px 22px -8px rgba(0,0,0,0.75), inset 0 0 8px -3px rgba(0,240,255,0.4);
  backdrop-filter: blur(4px);
  font-size: clamp(5px, 1.4cqw, 9px); color: #dff6fb; white-space: nowrap;
  opacity: 0;
  animation: pv-pulse-pill var(--loop) ease-in-out infinite;
}
.pv-pulse__pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 6px var(--cyan);
  animation: pv-pulse-blink 1.3s ease-in-out infinite;
}
@keyframes pv-pulse-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes pv-pulse-pill {
  0%, 74%   { opacity: 0; transform: translateY(8px) scale(0.96); }
  80%, 94%  { opacity: 1; transform: translateY(0) scale(1); }
  100%      { opacity: 0; transform: translateY(8px) scale(0.96); }
}

/* bottom-sheet checkout that peeks up and settles */
.pv-pulse__sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  padding: 8px 6% 12%;
  border-radius: 16px 16px 12px 12px;
  background: linear-gradient(180deg, #18233e, #0d1424);
  border-top: 1px solid rgba(42,171,238,0.45);
  box-shadow: 0 -14px 34px -10px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(104%);
  animation: pv-pulse-sheet var(--loop) cubic-bezier(0.22,1,0.36,1) infinite;
}
.pv-pulse__grip {
  display: block; width: 28px; height: 3px; margin: 0 auto 8px;
  border-radius: 3px; background: rgba(255,255,255,0.28);
}
.pv-pulse__srow { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pv-pulse__srow .total { font-size: clamp(7px, 1.8cqw, 11px); font-weight: 700; color: #fff; white-space: nowrap; }
.pv-pulse__srow .pay {
  display: grid; place-items: center;
  width: 26px; height: 24px; border-radius: 8px; flex: none;
  font-size: clamp(9px, 2cqw, 13px); font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--tg), var(--tg2));
  box-shadow: 0 0 14px -3px var(--tg), inset 0 1px 2px rgba(255,255,255,0.4);
  animation: pv-pulse-payglow 2s ease-in-out infinite;
}
@keyframes pv-pulse-payglow {
  0%,100% { box-shadow: 0 0 4px -1px rgba(42,171,238,0.5), inset 0 1px 2px rgba(255,255,255,0.4); }
  50%     { box-shadow: 0 0 16px 2px rgba(42,171,238,0.9), inset 0 1px 2px rgba(255,255,255,0.5); }
}
@keyframes pv-pulse-sheet {
  0%, 40%   { transform: translateY(104%); }
  50%       { transform: translateY(-2%); }
  56%, 72%  { transform: translateY(0); }
  84%, 100% { transform: translateY(104%); }
}

/* bottom tab bar */
.pv-pulse__tabs {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-around;
  padding: 6px 0 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(6,10,18,0.65);
}
.pv-pulse__tab {
  position: relative;
  font-size: clamp(7px, 1.9cqw, 12px);
  color: rgba(255,255,255,0.32);
}
.pv-pulse__tab.on { color: var(--tg); text-shadow: 0 0 8px var(--tg); }
.pv-pulse__badge {
  position: absolute; top: -5px; right: -7px;
  display: grid; place-items: center;
  min-width: 10px; height: 10px; padding: 0 2px;
  border-radius: 999px;
  font-size: 6px; font-weight: 800; font-style: normal; color: #fff;
  background: #ff5470; box-shadow: 0 0 7px #ff5470;
  transform: scale(0); opacity: 0;
  animation: pv-pulse-badge var(--loop) cubic-bezier(0.34,1.56,0.64,1) infinite;
}
@keyframes pv-pulse-badge {
  0%, 34%   { transform: scale(0); opacity: 0; }
  40%       { transform: scale(1.5); opacity: 1; }
  46%, 100% { transform: scale(1); opacity: 1; }
}

/* =====================================================================
   3. ORACLE – AI chat assistant
   ===================================================================== */
.pv-oracle {
  --dur: 9s;                       /* master loop length */
  background:
    radial-gradient(120% 130% at 82% 8%, rgba(0,240,255,0.05) 0%, transparent 42%),
    linear-gradient(155deg, #0b0d1a 0%, #070a12 72%);
  overflow: hidden;
  isolation: isolate;
}

/* ---- ambient depth layers -------------------------------------------- */
.pv-oracle__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(123,97,255,0.16) 0.7px, transparent 0.8px);
  background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(120% 120% at 50% 45%, #000 55%, transparent 100%);
  opacity: 0.55;
}
.pv-oracle__glow {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 30% 70%, rgba(123,97,255,0.30) 0%, transparent 70%),
    radial-gradient(34% 40% at 74% 30%, rgba(0,240,255,0.22) 0%, transparent 72%);
  filter: blur(4px);
  animation: pv-or-breathe var(--dur) ease-in-out infinite;
}
@keyframes pv-or-breathe {
  0%,100% { opacity: 0.55; transform: scale(1) translate(0,0); }
  50%     { opacity: 0.9;  transform: scale(1.08) translate(1.5%, -1.5%); }
}
.pv-oracle__sweep {
  position: absolute; top: 0; left: -55%; width: 45%; height: 100%; z-index: 3;
  pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent, rgba(180,200,255,0.10), rgba(0,240,255,0.14), transparent);
  transform: skewX(-16deg);
  animation: pv-or-sweep var(--dur) ease-in-out infinite;
}
@keyframes pv-or-sweep { 0%,55%{ left:-55%; } 82%,100%{ left:135%; } }
.pv-oracle__vignette {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  box-shadow: inset 0 0 32px 8px rgba(0,0,0,0.55), inset 0 0 90px 20px rgba(0,0,0,0.35);
}
.pv-oracle__grain {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0.05;
  background-image: repeating-conic-gradient(#fff 0 0.0006turn, transparent 0 0.0012turn);
  background-size: 3px 3px; mix-blend-mode: overlay;
}

/* floating tokens (parallax drift) */
.pv-oracle__tokens { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pv-oracle__tok {
  position: absolute; font-family: "JetBrains Mono", monospace;
  font-size: clamp(9px, 2.2cqw, 15px); color: rgba(0,240,255,0.5);
  text-shadow: 0 0 8px rgba(0,240,255,0.45);
}
.pv-oracle__tok.t1 { left: 8%;  top: 20%; color: rgba(123,97,255,0.55); text-shadow: 0 0 9px rgba(123,97,255,0.5); animation: pv-or-drift1 calc(var(--dur) * 1.4) ease-in-out infinite; }
.pv-oracle__tok.t2 { right: 10%; top: 16%; animation: pv-or-drift2 calc(var(--dur) * 1.7) ease-in-out infinite; }
.pv-oracle__tok.t3 { right: 22%; bottom: 30%; animation: pv-or-drift1 calc(var(--dur) * 1.15) ease-in-out infinite reverse; }
@keyframes pv-or-drift1 { 0%,100%{ transform: translateY(0) translateX(0); opacity:.5; } 50%{ transform: translateY(-8%) translateX(3%); opacity:.85; } }
@keyframes pv-or-drift2 { 0%,100%{ transform: translateY(0); opacity:.4; } 50%{ transform: translateY(9%); opacity:.75; } }

/* ---- living cognition core (the AI avatar) --------------------------- */
.pv-oracle__core {
  position: absolute; left: 50%; top: 41%; transform: translate(-50%, -50%);
  height: clamp(84px, 80%, 240px); width: auto; aspect-ratio: 1; z-index: 2;
}
.pv-oracle__rings { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.pv-oracle__gouter, .pv-oracle__ginner, .pv-oracle__gwave, .pv-oracle__gcore {
  transform-box: view-box; transform-origin: 60px 60px;
}
.pv-oracle__gouter { animation: pv-or-spin 17s linear infinite; }
.pv-oracle__ginner { animation: pv-or-spin 12s linear infinite reverse; }
.pv-oracle__gwave  { animation: pv-or-spin 34s linear infinite; }
.pv-oracle__gcore  { animation: pv-or-corepulse 3.4s ease-in-out infinite; }
@keyframes pv-or-spin      { to { transform: rotate(360deg); } }
@keyframes pv-or-corepulse { 0%,100% { transform: scale(0.9); } 50% { transform: scale(1.09); } }

.pv-oracle__ringline { fill: none; stroke: rgba(123,97,255,0.5); stroke-width: 0.8; stroke-dasharray: 3 5; }
.pv-oracle__ringline.cy { stroke: rgba(0,240,255,0.45); stroke-dasharray: 2 6; }
.pv-oracle__wave { fill: none; stroke: rgba(0,240,255,0.32); stroke-width: 1; stroke-dasharray: 1 5; }
.pv-oracle__syn { stroke: rgba(150,130,255,0.26); stroke-width: 0.5; }
.pv-oracle__neuron { fill: #cfe9ff; filter: drop-shadow(0 0 3px var(--cyan)); animation: pv-or-tw 3s ease-in-out infinite; }
.pv-oracle__neuron.v { fill: #d8ccff; filter: drop-shadow(0 0 3px var(--violet)); animation-duration: 3.8s; }
@keyframes pv-or-tw { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

/* ---- data-answer flourish (emitted while "answering") ---------------- */
.pv-oracle__flourish {
  position: absolute; left: 50%; bottom: 27%; z-index: 3;
  opacity: 0; animation: pv-or-flour var(--dur) ease infinite;
}
@keyframes pv-or-flour {
  0%,52%   { opacity: 0; transform: translate(-50%, 6px); }
  60%,86%  { opacity: 1; transform: translate(-50%, 0); }
  94%,100% { opacity: 0; transform: translate(-50%, -4px); }
}
.pv-oracle__bars {
  position: relative; display: flex; align-items: flex-end; gap: 3px;
  height: clamp(22px, 12cqw, 48px); padding: 6px 9px 5px; border-radius: 9px;
  background: rgba(8,10,20,0.66); border: 1px solid rgba(123,97,255,0.34);
  box-shadow: 0 10px 26px -10px rgba(123,97,255,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.pv-oracle__bars i {
  width: clamp(5px, 1.7cqw, 9px); border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  box-shadow: 0 0 6px rgba(0,240,255,0.4);
  transform-origin: bottom; transform: scaleY(0.12);
  animation: pv-or-bar var(--dur) cubic-bezier(.2,.9,.3,1) infinite;
}
@keyframes pv-or-bar { 0%,58%{ transform: scaleY(0.12); } 68%,88%{ transform: scaleY(1); } 96%,100%{ transform: scaleY(0.12); } }
.pv-oracle__badge {
  position: absolute; top: -8px; right: -10px;
  font-family: "JetBrains Mono", monospace; font-weight: 700;
  font-size: clamp(6px, 1.5cqw, 10px); color: #080d14;
  padding: 1.5px 5px; border-radius: 20px;
  background: linear-gradient(135deg, var(--cyan), #58ffe6);
  box-shadow: 0 0 10px rgba(0,240,255,0.6); opacity: 0; transform: scale(0);
  animation: pv-or-badge var(--dur) cubic-bezier(.3,1.6,.5,1) infinite;
}
@keyframes pv-or-badge { 0%,80%{ opacity:0; transform:scale(0);} 85%{ opacity:1; transform:scale(1.25);} 90%,94%{ opacity:1; transform:scale(1);} 100%{ opacity:0; transform:scale(0.6);} }

/* ---- status chip («РАЗУМ анализирует…», during the think phase) ------- */
.pv-oracle__status {
  position: absolute; left: 50%; top: 71%; transform: translateX(-50%);
  z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 20px; white-space: nowrap;
  background: rgba(10,12,24,0.74); border: 1px solid rgba(123,97,255,0.34);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; animation: pv-or-status var(--dur) ease infinite;
}
@keyframes pv-or-status { 0%,34%{ opacity:0; } 40%,52%{ opacity:1; } 58%,100%{ opacity:0; } }
.pv-oracle__status .dg {
  width: clamp(7px, 1.9cqw, 11px); aspect-ratio: 1; transform: rotate(45deg); border-radius: 2px;
  background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: 0 0 7px var(--violet);
}
.pv-oracle__status .lb {
  font-family: "JetBrains Mono", monospace; font-size: clamp(6px, 1.5cqw, 10px); color: #cdd6ef;
}
.pv-oracle__dots { display: inline-flex; gap: 3px; }
.pv-oracle__dots i {
  width: 3.5px; height: 3.5px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 5px var(--cyan); animation: pv-typing 1.2s ease-in-out infinite;
}
.pv-oracle__dots i:nth-child(2) { animation-delay: 0.15s; }
.pv-oracle__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes pv-typing { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

/* ---- self-typing query line (bottom) --------------------------------- */
.pv-oracle__query {
  position: absolute; left: 7%; right: 7%; bottom: 7%; z-index: 3;
  display: flex; align-items: center; gap: 6px;
  font-family: "JetBrains Mono", monospace; font-size: clamp(6px, 1.5cqw, 11px); color: #b9b6cf;
}
.pv-oracle__query .qp { color: var(--violet); flex: 0 0 auto; }
.pv-oracle__query .qt {
  white-space: nowrap; overflow: hidden; width: 0;
  border-right: 1.4px solid var(--cyan);
  animation: pv-or-qtype var(--dur) steps(28, end) infinite, pv-or-blink 0.6s steps(1) infinite;
}
@keyframes pv-or-qtype { 0%,4%{ width:0; } 30%,52%{ width:100%; } 60%,100%{ width:0; } }
@keyframes pv-or-blink { 0%,100%{ border-color: var(--cyan); } 50%{ border-color: transparent; } }

/* =====================================================================
   4. AURA – motion / WebGL landing (pure CSS volumetric orb)
   ===================================================================== */
.pv-aura {
  overflow: hidden;
  background:
    radial-gradient(130% 100% at 50% 116%, #3a1c02 0%, transparent 55%),
    radial-gradient(120% 120% at 50% 44%, #17100a 0%, #0a0703 62%, #050302 100%);
}
/* live canvas tree of light */
.pv-aura__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
/* reflected floor glow — reads as a sculpture standing on a surface */
.pv-aura__ground {
  position: absolute; left: 50%; bottom: -5%; transform: translateX(-50%);
  width: 82%; height: 24%; z-index: 0; pointer-events: none;
  background: radial-gradient(62% 100% at 50% 0%, rgba(255,150,50,0.5) 0%, rgba(255,120,40,0.14) 42%, transparent 74%);
  filter: blur(7px); mix-blend-mode: screen;
  animation: pv-aura-glow 6s ease-in-out infinite;
}
@keyframes pv-aura-glow { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }
/* depth haze + vignette */
.pv-aura__haze {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(78% 68% at 50% 42%, transparent 52%, rgba(5,3,2,0.5) 100%);
  box-shadow: inset 0 0 80px 14px rgba(0,0,0,0.6);
}
.pv-aura__grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05;
  background-image: radial-gradient(rgba(255,255,255,0.6) 0.5px, transparent 0.6px);
  background-size: 3px 3px; mix-blend-mode: overlay;
}
/* product framing */
.pv-aura__brand { position: absolute; left: 6%; bottom: 7%; z-index: 3; }
.pv-aura__brand b {
  display: block; font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700;
  font-size: clamp(15px, 4.4cqw, 34px); letter-spacing: 0.16em; line-height: 1; color: transparent;
  background: linear-gradient(180deg, #fff 0%, #ffe4a2 55%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.pv-aura__brand span {
  display: block; margin-top: 5px; font-family: "JetBrains Mono", monospace;
  font-size: clamp(6px, 1.5cqw, 10px); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(230,210,180,0.72);
}
.pv-aura__url {
  position: absolute; right: 6%; top: 7%; z-index: 3;
  font-family: "JetBrains Mono", monospace; font-size: clamp(6px, 1.5cqw, 10px);
  letter-spacing: 0.2em; color: rgba(255,214,140,0.72);
}

/* =====================================================================
   5. VERTEX – «ВЕРШИНА» premium fragrance boutique storefront
   layered: top bar (brand + cart) · product hero (lit flacon + info) ·
   collection rail — reads as a luxury retail platform, not one product
   ===================================================================== */
.pv-vertex {
  overflow: hidden;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  background:
    radial-gradient(90% 80% at 30% 46%, rgba(233,163,58,.12), transparent 58%),
    radial-gradient(130% 120% at 50% 36%, #241a10 0%, #140f0a 46%, #0b0805 100%);
}
/* breathing spotlight behind the hero flacon (left half) */
.pv-vx-amb {
  position: absolute; left: 30%; top: 47%; transform: translate(-50%,-50%);
  width: 56%; height: 78%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(233,163,58,.5), rgba(233,163,58,.09) 44%, transparent 70%);
  filter: blur(9px); animation: pv-vx-breathe 6s ease-in-out infinite;
}
@keyframes pv-vx-breathe { 0%,100%{ opacity:.75; transform:translate(-50%,-50%) scale(1);} 50%{ opacity:1; transform:translate(-50%,-50%) scale(1.08);} }
.pv-vx-grain {
  position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: radial-gradient(#fff .5px, transparent .6px); background-size: 3px 3px;
}
.pv-vx-vig { position: absolute; inset: 0; z-index: 6; pointer-events: none;
  box-shadow: inset 0 0 66px 12px rgba(0,0,0,.6); }

/* top bar */
.pv-vx-top { position: absolute; left: 0; right: 0; top: 0; z-index: 4; display: flex; align-items: center;
  justify-content: space-between; padding: clamp(7px,2.4cqw,15px) clamp(9px,3cqw,22px); }
.pv-vx-logo { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; letter-spacing: .22em;
  font-size: clamp(9px,2.5cqw,18px); line-height: 1; color: transparent;
  background: linear-gradient(180deg, #fff, #ffe4a2 62%, #E9C77E); -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.pv-vx-logo i { display: block; font-style: normal; margin-top: 3px; font-family: "JetBrains Mono", monospace;
  font-size: clamp(5px,1.2cqw,8px); letter-spacing: .3em; color: rgba(230,210,180,.58);
  -webkit-text-fill-color: rgba(230,210,180,.58); }
.pv-vx-cart { display: inline-flex; align-items: center; gap: clamp(4px,1.2cqw,7px);
  padding: clamp(4px,1.4cqw,8px) clamp(7px,2cqw,13px); border-radius: 30px;
  border: 1px solid rgba(233,199,126,.3); background: rgba(233,199,126,.06); backdrop-filter: blur(6px); }
.pv-vx-cart svg { width: clamp(9px,2.4cqw,15px); height: auto; color: #E9C77E; }
.pv-vx-cart b { font-family: "JetBrains Mono", monospace; font-size: clamp(7px,1.7cqw,12px); color: #fff; line-height: 1; }

/* hero: lit stage + product info — inset between the top bar and the rail so
   nothing overlaps; the band has a definite height so the flacon can size in % */
.pv-vx-hero { position: absolute; left: 0; right: 0; top: clamp(40px,13cqw,58px); bottom: clamp(52px,17cqw,76px);
  z-index: 1; display: grid; grid-template-columns: 1fr .9fr; align-items: center; column-gap: clamp(4px,2cqw,16px);
  padding: 0 clamp(9px,3cqw,22px); }
.pv-vx-stage { position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; }
.pv-vx-floor { position: absolute; left: 50%; top: 58%; transform: translate(-50%,-50%);
  width: 72%; height: 15%; background: radial-gradient(ellipse, rgba(217,148,51,.5), transparent 70%); filter: blur(5px); }
.pv-vx-fl { height: clamp(60px,48%,150px); z-index: 1; animation: pv-vx-float 5s ease-in-out infinite;
  filter: drop-shadow(0 24px 24px rgba(0,0,0,.55)); }
.pv-vx-fl svg, .pv-vx-refl svg { height: 100%; width: auto; display: block; overflow: visible; }
@keyframes pv-vx-float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-7px);} }
.pv-vertex__glint { animation: pv-vx-sweep 5s ease-in-out infinite; }
@keyframes pv-vx-sweep { 0%,100%{ transform: translateX(0); opacity:.3;} 50%{ transform: translateX(34px); opacity:.5;} }
.pv-vx-refl { height: clamp(60px,48%,150px); margin-top: -6%; opacity: .14;
  -webkit-mask: linear-gradient(180deg, #000, transparent 60%); mask: linear-gradient(180deg, #000, transparent 60%); }
.pv-vx-refl svg { transform: scaleY(-1); }

/* rising gold motes around the stage */
.pv-vx-motes { position: absolute; left: 0; top: 0; width: 60%; height: 100%; z-index: 2; pointer-events: none; }
.pv-vx-mote { position: absolute; bottom: 22%; width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, #fff, #e9a33a 45%, transparent 72%); mix-blend-mode: screen; opacity: 0;
  animation: pv-vx-rise 6s ease-in infinite; }
.pv-vx-mote.m1 { left: 34%; animation-duration: 5.5s; animation-delay: 0s; }
.pv-vx-mote.m2 { left: 58%; animation-duration: 7s; animation-delay: 1.6s; }
.pv-vx-mote.m3 { left: 46%; animation-duration: 6.2s; animation-delay: 3.1s; width: 3px; height: 3px; }
.pv-vx-mote.m4 { left: 66%; animation-duration: 6.8s; animation-delay: 2.2s; width: 3px; height: 3px; }
.pv-vx-mote.m5 { left: 40%; animation-duration: 7.4s; animation-delay: 4s; }
.pv-vx-mote.m6 { left: 52%; animation-duration: 5.8s; animation-delay: .8s; width: 3px; height: 3px; }
@keyframes pv-vx-rise { 0%{ opacity:0; transform: translateY(0) scale(.6);} 15%{opacity:.9;} 70%{opacity:.6;} 100%{ opacity:0; transform: translateY(-160%) scale(1);} }

/* product info column */
.pv-vx-info { position: relative; z-index: 3; display: flex; flex-direction: column; gap: clamp(3px,1cqw,7px); }
.pv-vx-fam { font-family: "JetBrains Mono", monospace; font-size: clamp(5px,1.3cqw,9px); letter-spacing: .22em;
  text-transform: uppercase; color: #E9C77E; }
.pv-vx-name { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; line-height: .92;
  font-size: clamp(15px,4.8cqw,36px); letter-spacing: .03em; color: transparent;
  background: linear-gradient(180deg, #fff 6%, #f4e6c6 58%, #E9C77E); -webkit-background-clip: text; background-clip: text; }
.pv-vx-lat { font-family: "JetBrains Mono", monospace; font-size: clamp(5px,1.2cqw,8px); letter-spacing: .3em;
  color: rgba(230,210,180,.55); }
.pv-vx-stars { display: flex; gap: 2px; margin-top: 1px; color: #E9C77E; font-size: clamp(6px,1.5cqw,11px); line-height: 1; }
.pv-vx-buy { display: flex; align-items: center; gap: clamp(6px,2cqw,14px); margin-top: clamp(3px,1.4cqw,9px); }
.pv-vx-price { font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: clamp(10px,2.8cqw,20px); color: #fff; }
.pv-vx-add { font-size: clamp(6px,1.6cqw,12px); font-weight: 700; color: #1a1200; white-space: nowrap;
  padding: clamp(4px,1.5cqw,9px) clamp(8px,2.6cqw,18px); border-radius: 30px;
  background: linear-gradient(180deg, #fbeec6, #E9C77E); box-shadow: 0 8px 22px -6px rgba(233,199,126,.7);
  animation: pv-vx-pulse 2.6s ease-in-out infinite; }
@keyframes pv-vx-pulse { 0%,100%{ box-shadow: 0 8px 22px -6px rgba(233,199,126,.6);} 50%{ box-shadow: 0 8px 30px -4px rgba(233,199,126,.95), 0 0 0 5px rgba(233,199,126,.12);} }

/* collection rail */
.pv-vx-rail { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; gap: clamp(5px,1.6cqw,11px);
  padding: clamp(6px,2cqw,13px) clamp(9px,3cqw,22px); background: linear-gradient(0deg, rgba(11,8,5,.92), transparent); }
.pv-vx-mini { flex: 1; min-width: 0; display: flex; align-items: center; gap: clamp(3px,1.2cqw,8px);
  padding: clamp(4px,1.4cqw,9px); border-radius: clamp(6px,1.6cqw,12px); border: 1px solid rgba(233,199,126,.14);
  background: linear-gradient(180deg, rgba(30,22,14,.62), rgba(14,10,7,.42)); }
.pv-vx-mini__fl { height: clamp(22px,7cqw,52px); flex: 0 0 auto; filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); }
.pv-vx-mini__fl svg { height: 100%; width: auto; display: block; overflow: visible; }
.pv-vx-mini__meta { min-width: 0; }
.pv-vx-mini__n { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; letter-spacing: .05em;
  font-size: clamp(6px,1.6cqw,12px); color: #f3ece0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-vx-mini__p { font-family: "JetBrains Mono", monospace; font-size: clamp(5px,1.3cqw,9px); color: #E9C77E; margin-top: 2px; }

/* =====================================================================
   6. CITADEL – corporate portal
   ===================================================================== */
/* «CRM из будущего» — bright, ad-grade card: living orbit + bold pitch.
   Daylight palette (cobalt/mint/lilac) — deliberately unlike every dark case. */
.pv-citadel {
  overflow: hidden;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: #0B1230;
  background: radial-gradient(120% 100% at 16% 8%, #F3F6FF 0%, #EAF0FE 52%, #E4ECFB 100%);
}
.pv-ct-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pv-ct-aurora i { position: absolute; border-radius: 50%; filter: blur(26px); mix-blend-mode: multiply; }
.pv-ct-aurora .b1 { width: 55%; height: 70%; left: -12%; top: -14%; background: radial-gradient(circle, #c6d2ff, transparent 68%); animation: pv-ct-drift 12s ease-in-out infinite; }
.pv-ct-aurora .b2 { width: 46%; height: 60%; right: -8%; bottom: -16%; background: radial-gradient(circle, #bff3e2, transparent 68%); animation: pv-ct-drift 15s ease-in-out infinite reverse; }
.pv-ct-aurora .b3 { width: 40%; height: 50%; right: 18%; top: -12%; background: radial-gradient(circle, #e2d9ff, transparent 68%); animation: pv-ct-drift 18s ease-in-out infinite; }
@keyframes pv-ct-drift { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(4%,5%) scale(1.1);} }
.pv-ct-grain { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(59,91,255,.06) .5px, transparent .6px); background-size: 18px 18px; }

/* top bar */
.pv-ct-top { position: absolute; left: 0; right: 0; top: 0; z-index: 4; display: flex; align-items: center;
  justify-content: space-between; padding: clamp(8px,2.6cqw,16px) clamp(10px,3cqw,22px); }
.pv-ct-brand { display: inline-flex; align-items: center; gap: clamp(5px,1.6cqw,9px); }
.pv-ct-brand__m { width: clamp(18px,4.6cqw,30px); aspect-ratio: 1; border-radius: clamp(5px,1.4cqw,9px); position: relative;
  background: linear-gradient(140deg,#3B5BFF,#8B7BFF 58%,#12D9A0); box-shadow: 0 8px 18px -6px rgba(59,91,255,.6); flex: 0 0 auto; }
.pv-ct-brand__m::before { content: ""; position: absolute; inset: 26%; border-radius: 3px; background: #F3F6FF; box-shadow: inset 0 0 0 1.5px rgba(59,91,255,.4); }
.pv-ct-brand__t { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; letter-spacing: .14em; line-height: 1;
  font-size: clamp(9px,2.4cqw,16px); }
.pv-ct-brand__t span { color: #3B5BFF; }
.pv-ct-brand__t em { display: block; font-style: normal; font-family: "JetBrains Mono", monospace; font-weight: 400;
  font-size: clamp(5px,1.1cqw,8px); letter-spacing: .22em; color: #8A93B2; margin-top: 3px; }
.pv-ct-ai { display: inline-flex; align-items: center; gap: 6px; padding: clamp(4px,1.3cqw,7px) clamp(7px,2cqw,12px);
  border-radius: 30px; background: rgba(255,255,255,.7); border: 1px solid #dfe6f7; box-shadow: 0 8px 20px -12px rgba(28,44,110,.4);
  font-size: clamp(6px,1.5cqw,11px); font-weight: 700; color: #0B1230; }
.pv-ct-ai i { width: clamp(5px,1.3cqw,8px); aspect-ratio: 1; border-radius: 50%; background: #12D9A0;
  box-shadow: 0 0 9px #12D9A0; animation: pv-ct-blink 1.8s infinite; }
@keyframes pv-ct-blink { 0%,100%{ opacity:1;} 50%{ opacity:.25;} }

/* hero: orbit + pitch */
.pv-ct-hero { position: absolute; left: 0; right: 0; top: clamp(38px,12cqw,58px); bottom: clamp(40px,12cqw,60px);
  z-index: 2; display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(6px,2cqw,18px);
  padding: 0 clamp(10px,3cqw,22px); }
.pv-ct-orbit { position: relative; height: 100%; min-height: 0; }
.pv-ct-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  animation: pv-ct-spin 24s linear infinite; transform-origin: 50% 50%; }
@keyframes pv-ct-spin { to { transform: rotate(360deg);} }
.pv-ct-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: clamp(30px,12cqw,66px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 34%,#fff,#eaf0ff); border: 1px solid #d6e0ff;
  box-shadow: 0 0 0 clamp(4px,1.4cqw,8px) rgba(59,91,255,.07), 0 16px 32px -14px rgba(59,91,255,.6);
  font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; letter-spacing: .06em; font-size: clamp(7px,2cqw,13px); }
.pv-ct-hub span { color: #3B5BFF; }
.pv-ct-hub::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px solid rgba(59,91,255,.2);
  animation: pv-ct-ping 3s ease-out infinite; }
@keyframes pv-ct-ping { 0%{ transform: scale(1); opacity:.7;} 100%{ transform: scale(1.55); opacity:0;} }

/* pitch copy */
.pv-ct-pitch { position: relative; z-index: 3; display: flex; flex-direction: column; gap: clamp(4px,1.3cqw,9px); }
.pv-ct-kick { font-family: "JetBrains Mono", monospace; font-size: clamp(5px,1.3cqw,9px); letter-spacing: .24em;
  text-transform: uppercase; color: #3B5BFF; }
.pv-ct-h { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; line-height: .98;
  font-size: clamp(15px,4.9cqw,36px); letter-spacing: -.01em; color: #0B1230; }
.pv-ct-h span { background: linear-gradient(120deg,#3B5BFF,#12B8D9 55%,#12D9A0);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-ct-sub { font-size: clamp(6px,1.6cqw,12px); color: #5A6488; line-height: 1.45; max-width: 24ch; }
.pv-ct-metrics { display: flex; gap: clamp(5px,1.6cqw,10px); margin-top: clamp(2px,1cqw,6px); flex-wrap: wrap; }
.pv-ct-pill { display: inline-flex; align-items: center; gap: 5px; padding: clamp(4px,1.3cqw,8px) clamp(7px,2cqw,13px);
  border-radius: 30px; background: #fff; border: 1px solid #e2e9f7; box-shadow: 0 10px 22px -14px rgba(28,44,110,.5);
  font-size: clamp(6px,1.5cqw,11px); font-weight: 700; }
.pv-ct-pill b { font-family: "JetBrains Mono", monospace; color: #12A883; }
.pv-ct-pill.risk b { color: #FF7A45; }
.pv-ct-pill i { width: clamp(5px,1.2cqw,7px); aspect-ratio: 1; border-radius: 50%; background: #12D9A0; }
.pv-ct-pill.risk i { background: #FF9F45; }

/* bottom CTA */
.pv-ct-cta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: clamp(6px,2cqw,12px);
  padding: clamp(7px,2cqw,14px) clamp(10px,3cqw,22px); }
.pv-ct-cta__b { display: inline-flex; align-items: center; gap: 7px; padding: clamp(5px,1.6cqw,11px) clamp(10px,2.8cqw,20px);
  border-radius: 30px; font-weight: 700; font-size: clamp(6px,1.7cqw,13px); color: #fff;
  background: linear-gradient(180deg,#4d69ff,#3B5BFF); box-shadow: 0 12px 26px -10px rgba(59,91,255,.8); white-space: nowrap; }
.pv-ct-cta__g { font-size: clamp(6px,1.5cqw,11px); color: #5A6488; font-weight: 600; }
.pv-ct-cta__g u { text-decoration: none; color: #3B5BFF; }
.pv-ct-vig { position: absolute; inset: 0; z-index: 5; pointer-events: none;
  box-shadow: inset 0 0 60px 10px rgba(180,196,240,.35); }

/* accessibility: in reduced-motion the ambient preview loops must stop
   (flat/mobile shows several at once and the JS .is-paused hook is
   focus-driven, not reduced-motion-driven) */
@media (prefers-reduced-motion: reduce) {
  .cg-preview,
  .cg-preview * { animation: none !important; }
}
