﻿/* ============================================================
   Luvalia - demos.css
   Chat, Flow builder, CRM workspace, Showcase, Pricing
   ============================================================ */

/* ===== LIVE DEMO STORY SWITCHER ===== */
.demo-tab-shell {
  position: relative;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-elev) 78%, transparent);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.demo-tab-shell .demo-tab {
  position: relative;
  z-index: 1;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}
.demo-tab-shell .demo-tab::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}
.demo-tab-shell.is-timing .demo-tab.active::after {
  opacity: .42;
  animation: demoTabTimer var(--demo-autoplay-ms, 5200ms) linear both;
}
.demo-tab-shell.is-paused .demo-tab.active::after {
  animation-play-state: paused;
}
.demo-tab-shell .demo-tab:hover {
  border-color: transparent;
  background: color-mix(in srgb, var(--brand-50) 68%, transparent);
}
.demo-tab-shell .demo-tab.active {
  color: #fff;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.demo-tab-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--demo-tab-w, 0px);
  height: var(--demo-tab-h, 0px);
  transform: translate3d(var(--demo-tab-x, 4px), var(--demo-tab-y, 4px), 0);
  border-radius: 12px;
  background: var(--grad-brand);
  box-shadow: 0 16px 32px -16px rgba(99, 102, 241, .82);
  transition:
    transform .36s cubic-bezier(.22, 1, .36, 1),
    width .36s cubic-bezier(.22, 1, .36, 1),
    height .36s cubic-bezier(.22, 1, .36, 1);
  z-index: 0;
}
.demo-tab-indicator::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.42), transparent 42%);
  opacity: .7;
  pointer-events: none;
}
.demo-stage {
  position: relative;
  max-width: 1180px;
  margin: 34px auto 0;
  overflow: hidden;
  perspective: 1200px;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.demo-panel {
  transform-origin: 50% 50%;
  will-change: opacity, transform;
  transform-style: preserve-3d;
}
.demo-panel .surface {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}
.demo-panel.is-panel-entering .surface {
  animation: demoPanelReveal .52s cubic-bezier(.22, 1, .36, 1) both;
}
.demo-pop {
  animation: demoPop .44s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes demoPanelReveal {
  from { opacity: .86; transform: translateY(8px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes demoPop {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}


/* ===== CHAT DEMO ===== */
.typing span {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--faint); margin: 0 1px; animation: blink 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.chat-msg-user {
  margin-left: auto;
  background: var(--grad-brand); color: #fff;
  border-radius: 16px 16px 4px 16px;
  padding: 10px 14px; font-size: 13px;
  width: fit-content; max-width: 85%;
  box-shadow: var(--shadow-sm);
}
.chat-msg-bot {
  background: var(--bg-elev); border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 14px; font-size: 13px;
  width: fit-content; max-width: 85%;
  box-shadow: var(--shadow-sm);
}

.chat-input {
  flex: 1;
  background: var(--bg-soft); border-radius: 12px;
  padding: 10px 16px; font-size: 13px;
  border: 1px solid transparent; outline: none;
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.chat-input:focus { border-color: var(--brand-400); background: var(--bg-elev); }
.chat-input::placeholder { color: var(--faint); }

.chat-chip {
  font-size: 11.5px; padding: 4px 10px; border-radius: 8px;
  background: var(--bg-elev); border: 1px solid var(--line);
  color: var(--muted); transition: all .2s;
}
.chat-chip:hover { border-color: var(--brand-200); color: var(--ink); }

/* task card on kanban */
.task-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .2s;
}
.task-card.show { opacity: 1; transform: translateY(0); }
.task-card:hover { box-shadow: var(--shadow-sm); }

/* ===== FLOW BUILDER ===== */
.fnode {
  position: absolute; cursor: grab; user-select: none;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; width: 180px;
  transition: box-shadow .2s, border-color .2s;
  box-shadow: var(--shadow-sm);
}
.fnode:active { cursor: grabbing; }
.fnode.dragging {
  z-index: 30;
  box-shadow: 0 0 0 1px var(--brand-400), 0 18px 40px -10px rgba(67, 56, 202, .35);
}
.fnode.running {
  border-color: var(--sky-400) !important;
  box-shadow: 0 0 0 1px var(--sky-400), 0 0 24px -4px rgba(14, 165, 233, .4);
}
.fnode-icon {
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center; font-size: 12px;
}
.fnode-icon.brand { background: var(--brand-50); color: var(--brand-600); }
.fnode-icon.sky { background: #e0f2fe; color: var(--sky-600); }
.fnode-icon.violet { background: #ede9fe; color: var(--violet-600); }
[data-theme="dark"] .fnode-icon.brand { background: rgba(99, 102, 241, .12); color: var(--brand-400); }
[data-theme="dark"] .fnode-icon.sky { background: rgba(14, 165, 233, .12); color: var(--sky-400); }
[data-theme="dark"] .fnode-icon.violet { background: rgba(139, 92, 246, .12); color: var(--violet-500); }

.edge { fill: none; stroke: var(--line-strong); stroke-width: 1.8; transition: stroke .2s; }
.edge-active { stroke: var(--sky-500); stroke-width: 2.2; }

/* Node palette */
.flow-palette { gap: 6px; }
.palette-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 7px 9px;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 9px; font-size: 12px; color: var(--muted);
  transition: all .2s; text-align: left;
}
.palette-item:hover {
  border-color: var(--brand-300); color: var(--ink);
  transform: translateX(3px); background: var(--brand-50);
}
[data-theme="dark"] .palette-item:hover { background: rgba(99, 102, 241, .1); }
.palette-item .fnode-icon { width: 22px; height: 22px; font-size: 11px; }

/* Connect handle on node hover */
.fnode-handle {
  position: absolute; right: -8px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-elev); border: 2px solid var(--brand-400);
  opacity: 0; cursor: crosshair; transition: opacity .2s, transform .2s;
  display: grid; place-items: center; color: var(--brand-500);
  z-index: 5;
}
.fnode:hover .fnode-handle { opacity: 1; transform: translateY(-50%) scale(1.15); }
.fnode-handle::after { content: "+"; font-size: 12px; font-weight: 700; line-height: 1; }

/* node entrance */
.fnode { animation: nodeIn .35s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes nodeIn {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: scale(1); }
}

#flowCanvas {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.flow-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--grid-line) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ===== CRM WORKSPACE ===== */
.crm-nav {
  color: var(--muted); font-size: 12.5px;
  transition: background .15s, color .15s;
}
.crm-nav:hover { background: var(--bg-soft); color: var(--ink); }
.crm-nav.active {
  background: var(--brand-50); color: var(--brand-700); font-weight: 500;
}
[data-theme="dark"] .crm-nav.active {
  background: rgba(99, 102, 241, .12); color: var(--brand-300);
}

.bar { transition: height .9s cubic-bezier(.2, .7, .2, 1); }

/* ===== SELECTED WORK SHOWCASE ===== */
.work-outcrowd-card {
  --work-card-width: clamp(360px, 36vw, 520px);
  --work-gap: 0px;
  --work-accent: var(--brand-500);
  --work-duration: 4600ms;
  position: relative;
  width: min(100%, 100rem);
  margin: 0 auto;
  transform: none;
  overflow: visible;
}
.work-showcase-picker {
  position: relative;
  z-index: 12;
  display: flex;
  width: max-content;
  margin: 0 auto 2px;
  padding: 5px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 66%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  box-shadow: 0 18px 54px -44px color-mix(in srgb, var(--work-accent) 70%, #000);
  backdrop-filter: blur(18px);
}
.work-showcase-picker[hidden] {
  display: none !important;
}
.work-showcase-mode {
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -.01em;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.work-showcase-mode:hover,
.work-showcase-mode:focus-visible {
  color: var(--ink);
  outline: none;
}
.work-showcase-mode.is-active {
  background: linear-gradient(135deg, color-mix(in srgb, var(--work-accent) 18%, var(--bg-elev)), var(--bg-elev));
  color: var(--ink);
  box-shadow: 0 12px 32px -24px color-mix(in srgb, var(--work-accent) 72%, #000);
}
.work-showcase-controls {
  position: absolute;
  top: calc(50% + 18px);
  left: clamp(0px, 1vw, 18px);
  right: clamp(0px, 1vw, 18px);
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}
.work-showcase-button {
  display: grid;
  position: relative;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--work-accent) 24%, var(--line-strong));
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.82), transparent 42%),
    color-mix(in srgb, var(--bg-elev) 82%, transparent);
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,.82) inset,
    0 22px 58px -34px rgba(15, 23, 42, .34),
    0 0 0 8px color-mix(in srgb, var(--work-accent) 5%, transparent);
  pointer-events: auto;
  backdrop-filter: blur(18px);
  transition: transform .24s cubic-bezier(.22,1,.36,1), border-color .24s ease, background .24s ease, color .24s ease, box-shadow .24s ease;
}
.work-showcase-button svg {
  position: relative;
  z-index: 2;
  transition: transform .24s cubic-bezier(.22,1,.36,1);
}
.work-showcase-button-glow {
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: radial-gradient(circle, color-mix(in srgb, var(--work-accent) 32%, transparent), transparent 68%);
  opacity: 0;
  transform: scale(.72);
  transition: opacity .24s ease, transform .24s cubic-bezier(.22,1,.36,1);
}
.work-showcase-button:hover,
.work-showcase-button:focus-visible {
  border-color: color-mix(in srgb, var(--work-accent) 72%, var(--line));
  background: color-mix(in srgb, var(--work-accent) 13%, var(--bg-elev));
  color: color-mix(in srgb, var(--work-accent) 68%, var(--ink));
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 28px 72px -38px color-mix(in srgb, var(--work-accent) 66%, #000),
    0 0 0 10px color-mix(in srgb, var(--work-accent) 10%, transparent);
  transform: translateY(-2px) scale(1.08);
  outline: none;
}
.work-showcase-button:hover .work-showcase-button-glow,
.work-showcase-button:focus-visible .work-showcase-button-glow {
  opacity: 1;
  transform: scale(1);
}
.work-showcase-button[data-work-prev]:hover svg,
.work-showcase-button[data-work-prev]:focus-visible svg {
  transform: translateX(-3px);
}
.work-showcase-button[data-work-next]:hover svg,
.work-showcase-button[data-work-next]:focus-visible svg {
  transform: translateX(3px);
}
.work-lottie-stage {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  isolation: isolate;
  padding: 14px 0 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.work-lottie-stage::before,
.work-lottie-stage::after,
.work-lottie-block {
  display: none !important;
}
.work-lottie-shots {
  position: relative;
  z-index: 2;
  display: flex;
  width: max-content;
  gap: var(--work-gap);
  padding: 24px max(6vw, 86px) 34px;
  transform: translate3d(0, 0, 0);
  transition: transform .88s cubic-bezier(.18, .84, .22, 1);
  will-change: transform;
}
.work-lottie-shots.is-jump-reset {
  transition: none !important;
}
.work-lottie-shot-wrap {
  position: relative;
  flex: 0 0 var(--work-card-width);
  margin-inline: clamp(-34px, -2vw, -18px);
  overflow: visible;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  opacity: .48;
  transform: translate3d(0, 18px, 0) scale(.72);
  transform-origin: center center;
  transition:
    opacity .42s ease,
    transform .64s cubic-bezier(.22, 1, .36, 1),
    border-color .35s ease,
    box-shadow .35s ease,
    filter .35s ease;
  filter: saturate(.78) blur(.16px);
}
.work-lottie-shot-wrap::before { display: none; }
.work-lottie-shot-wrap.is-active,
.work-lottie-shot-wrap:hover,
.work-lottie-shot-wrap:focus-within {
  z-index: 8;
  opacity: 1;
  transform: translate3d(0, -6px, 0) scale(1.08);
  border: 0;
  box-shadow: none;
  filter: saturate(1.05) blur(0);
}
.work-lottie-shot-wrap.is-neighbor {
  z-index: 4;
  opacity: .8;
  transform: translate3d(0, 7px, 0) scale(.88);
  filter: saturate(.9) blur(0);
}
.work-card-flipper {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .72s cubic-bezier(.22, 1, .36, 1);
}
.work-lottie-shot-wrap.is-flipped .work-card-flipper {
  transform: rotateY(180deg);
}
.work-card-face {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line-strong) 54%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg-elev) 90%, transparent);
  box-shadow:
    0 1px 0 rgba(255,255,255,.82) inset,
    0 34px 98px -72px color-mix(in srgb, var(--card-accent, var(--work-accent)) 70%, #000);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.work-card-front {
  position: relative;
}
.work-card-back {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2.4vw, 28px);
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 18% 16%, color-mix(in srgb, var(--card-accent, var(--work-accent)) 18%, transparent), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-elev) 96%, transparent), color-mix(in srgb, var(--bg-soft) 90%, transparent));
}
.work-card-media {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #fff;
}
.work-lottie-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.002);
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1), object-position 3.8s ease;
}
.work-lottie-shot-wrap.is-active .work-lottie-shot,
.work-lottie-shot-wrap:hover .work-lottie-shot,
.work-lottie-shot-wrap:focus-within .work-lottie-shot {
  transform: scale(1.035);
  object-position: center 18%;
}
.work-card-type {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.work-card-title {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(1.48rem, 2.1vw, 1.95rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: .96;
}
.work-card-summary {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.work-card-tag {
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--work-accent)) 18%, var(--line));
  border-radius: 999px;
  padding: 6px 8px;
  background: color-mix(in srgb, var(--card-accent, var(--work-accent)) 7%, var(--bg-elev));
  color: color-mix(in srgb, var(--card-accent, var(--work-accent)) 62%, var(--muted));
  font-size: 10px;
  font-weight: 850;
}
.work-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin-top: clamp(14px, 1.8vw, 22px);
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--work-accent)) 46%, var(--line));
  border-radius: 999px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--card-accent, var(--work-accent)) 12%, var(--bg-elev));
  color: color-mix(in srgb, var(--card-accent, var(--work-accent)) 70%, var(--ink));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.work-card-cta:hover,
.work-card-cta:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent, var(--work-accent)) 70%, var(--line));
  background: color-mix(in srgb, var(--card-accent, var(--work-accent)) 18%, var(--bg-elev));
  transform: translateY(-1px);
  outline: none;
}
.work-showcase-dots {
  display: none;
}
.work-showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted-2) 42%, transparent);
  transition: width .25s ease, background .25s ease;
}
.work-showcase-dot.is-active {
  width: 30px;
  background: var(--work-accent);
}
.work-showcase-dot:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--work-accent) 58%, transparent);
  outline-offset: 3px;
}
.work-ticker-showcase[hidden],
.work-lottie-stage[hidden],
.work-showcase-controls[hidden] {
  display: none !important;
}
.work-ticker-showcase {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  left: 50%;
  width: min(calc(100vw - 72px), 82rem);
  transform: translateX(-50%);
}
.work-ticker-panel {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.work-ticker-panel::before,
.work-ticker-panel::after {
  display: none;
  content: none;
}
.work-ticker-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5.4vw, 86px);
  height: min(700px, 74vh);
  transform: rotate(.001deg);
}
.work-ticker-column {
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
}
.work-ticker-track {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 38px);
  animation: workTickerMove 24s linear infinite;
  will-change: transform;
}
.work-ticker-column-1 .work-ticker-track,
.work-ticker-column-3 .work-ticker-track {
  animation-direction: reverse;
  animation-duration: 30s;
}
.work-ticker-column-2 .work-ticker-track {
  animation-duration: 27s;
}
.work-ticker-column.is-column-paused .work-ticker-track,
.work-ticker-column:hover .work-ticker-track,
.work-ticker-column:has(.work-ticker-item:hover) .work-ticker-track,
.work-ticker-column:focus-within .work-ticker-track {
  animation-play-state: paused;
}
.work-ticker-item {
  position: relative;
  aspect-ratio: 16 / 8.7;
  min-height: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line-strong) 58%, transparent);
  border-radius: 26px;
  background: var(--bg-elev);
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 34px 88px -68px color-mix(in srgb, var(--card-accent, var(--work-accent)) 58%, #000);
  transition: transform .32s ease, border-color .32s ease, filter .32s ease, box-shadow .32s ease;
}
.work-ticker-item-1 { aspect-ratio: 16 / 8.4; }
.work-ticker-item-2 { aspect-ratio: 16 / 8.9; }
.work-ticker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.015);
  transition: transform 1.2s cubic-bezier(.22, 1, .36, 1), filter .32s ease;
}
.work-ticker-item span {
  position: absolute;
  left: 13px;
  bottom: 13px;
  z-index: 2;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--work-accent)) 24%, rgba(255,255,255,.68));
  border-radius: 999px;
  padding: 7px 10px;
  background: color-mix(in srgb, var(--bg-elev) 72%, transparent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: -.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(12px);
}
.work-ticker-item:hover,
.work-ticker-item:focus-within {
  z-index: 6;
  border-color: color-mix(in srgb, var(--card-accent, var(--work-accent)) 48%, var(--line));
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 40px 98px -62px color-mix(in srgb, var(--card-accent, var(--work-accent)) 72%, #000);
  transform: translateY(-5px) scale(1.018);
  filter: saturate(1.08);
}
.work-ticker-item:hover img,
.work-ticker-item:focus-within img {
  transform: scale(1.055);
}
.work-ticker-item:hover span,
.work-ticker-item:focus-within span {
  opacity: 1;
  transform: translateY(0);
}
@keyframes workTickerMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
@media (max-width: 900px) {
  .work-outcrowd-card { width: min(80vw, 900px); margin: 0 auto; }
  .work-showcase-controls { left: 18px; right: 18px; }
  .work-lottie-stage { min-height: 520px; }
  .work-lottie-shots { padding-inline: 34px; }
  .work-ticker-showcase { width: min(calc(100vw - 32px), 900px); }
  .work-ticker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 560px) {
  .demo-tab-shell {
    width: 100%;
  }
  .demo-tab-shell .demo-tab {
    flex: 1 1 100%;
    justify-content: center;
  }
  .work-outcrowd-card { --work-card-width: min(78vw, 316px); width: min(92vw, 560px); margin: 0 auto; }
  .work-showcase-picker { width: 100%; justify-content: center; }
  .work-showcase-mode { flex: 1; padding-inline: 10px; }
  .work-showcase-controls { position: relative; top: auto; left: auto; right: auto; width: max-content; gap: 12px; margin: 0 auto 8px; transform: none; pointer-events: auto; }
  .work-lottie-stage { min-height: 492px; }
  .work-lottie-shots { padding-inline: 14px; }
  .work-lottie-shot-wrap { margin-inline: -10px; }
  .work-lottie-shot-wrap.is-active,
  .work-lottie-shot-wrap:hover,
  .work-lottie-shot-wrap:focus-within { transform: translate3d(0, -2px, 0) scale(1.04); }
  .work-lottie-shot-wrap.is-neighbor { transform: translate3d(0, 8px, 0) scale(.82); }
  .work-ticker-showcase { width: min(calc(100vw - 20px), 560px); }
  .work-ticker-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-ticker-column-1 { display: none; }
  .work-ticker-grid { height: 620px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-tab-indicator,
  .demo-panel,
  .demo-panel .surface,
  .demo-pop,
  .work-lottie-shot,
  .work-lottie-block,
  .work-lottie-shots,
  .work-lottie-stage *,
  .work-ticker-track,
  .work-ticker-item {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== PRICING ===== */
.price-amount {
  font-family: var(--font-display);
  font-size: 2.25rem; font-weight: 700;
}

/* gradient text */
.text-glow {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}






