/* Rich Damito-style scenes — Návštevio green/gold */

.slide-wide { width: min(1280px, 100%); }
.scene {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.35fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.scene.solo { grid-template-columns: 1fr; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 750;
}
.chip i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-soft);
  display: inline-block;
}
.chip.sk i { background: #2f8a4e; }
.chip.cz i { background: #1d4ed8; }
.chip.at i { background: #c2410c; }

.stage {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(420px 220px at 70% 20%, rgba(47,138,78,.18), transparent 60%),
    rgba(255,255,255,.035);
  overflow: hidden;
  padding: 18px;
}

/* --- Problem chaos --- */
.chaos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  height: 100%;
}
.chaos-card {
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(0,0,0,.22);
  padding: 14px;
  position: relative;
}
.chaos-card strong { display: block; margin-bottom: 8px; font-size: 14px; }
.chaos-card .lines { display: grid; gap: 6px; }
.chaos-card .lines span {
  display: block; height: 8px; border-radius: 99px;
  background: rgba(255,255,255,.12);
}
.chaos-card .lines span:nth-child(2) { width: 72%; }
.chaos-card .lines span:nth-child(3) { width: 54%; }
.chaos-x {
  position: absolute; right: 10px; top: 8px;
  color: #f87171; font-size: 18px; font-weight: 800;
}
.chaos-arrow {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(200,60,40,.25); border: 1px solid rgba(248,113,113,.35);
  color: #fecaca; font-size: 12px; font-weight: 750;
}

/* --- Pipeline / flow stage --- */
.pipe {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr;
  gap: 10px;
  height: 100%;
  align-items: stretch;
}
.pipe-col { display: grid; gap: 8px; align-content: center; }
.pipe-node {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px; font-weight: 750;
}
.pipe-node .dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(47,138,78,.35); color: #fff; font-size: 11px; font-weight: 800;
}
.pipe-hub {
  border-radius: 20px;
  border: 1px solid rgba(240,195,93,.35);
  background: linear-gradient(180deg, rgba(232,162,58,.18), rgba(47,138,78,.12));
  padding: 16px 14px;
  text-align: center;
  position: relative;
  min-height: 280px;
  display: grid;
  align-content: center;
  gap: 10px;
}
.pipe-hub strong {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -.02em;
}
.pipe-hub span { color: var(--muted); font-size: 13px; }
.pipe-status {
  display: flex; justify-content: center; gap: 6px; margin-top: 6px;
}
.pipe-status i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #2f8a4e;
  box-shadow: 0 0 10px rgba(47,138,78,.7);
  animation: blink 1.4s ease-in-out infinite;
}
.pipe-status i:nth-child(2) { background: #e8a23a; animation-delay: .2s; }
.pipe-status i:nth-child(3) { background: #60a5fa; animation-delay: .4s; }
@keyframes blink {
  0%, 100% { opacity: .35; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.1); }
}
.pipe-out {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2);
  padding: 12px;
}
.pipe-out h4 {
  margin: 0 0 8px; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); font-weight: 750;
}
.pipe-out .mini {
  display: grid; gap: 6px;
}
.pipe-out .bar {
  height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden;
}
.pipe-out .bar > i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #2f8a4e, #f0c35d);
  border-radius: inherit;
}
.pipe-out .row {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.8);
}
.play-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* floating particles on hub */
.pipe-hub::before,
.pipe-hub::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  background: #f0c35d;
  opacity: .7;
  animation: floatDot 2.8s ease-in-out infinite;
}
.pipe-hub::before { left: 18%; top: 22%; }
.pipe-hub::after { right: 16%; bottom: 24%; animation-delay: 1s; background: #2f8a4e; }
@keyframes floatDot {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(-10px); opacity: 1; }
}

/* --- Big metric --- */
.mega {
  display: grid;
  gap: 10px;
}
.mega b {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: -.05em;
  line-height: .95;
}
.mega span { color: var(--muted); font-size: 14px; }
.capacity {
  margin-top: 8px;
  height: 14px;
  border-radius: 99px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
  position: relative;
}
.capacity > i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #e8a23a, #f0c35d 40%, rgba(255,255,255,.55));
}
.capacity-labels {
  display: flex; justify-content: space-between;
  margin-top: 6px; font-size: 12px; color: var(--muted);
}
.capacity-labels em { color: #f0c35d; font-style: normal; font-weight: 800; }

/* --- Callout shot --- */
.shot-wrap { position: relative; }
.shot-wrap .shot { margin: 0; }
.callout {
  position: absolute;
  max-width: 180px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(13,36,22,.88);
  border: 1px solid rgba(240,195,93,.35);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  font-size: 12px;
  line-height: 1.35;
  z-index: 2;
}
.callout strong { display: block; color: #f0c35d; margin-bottom: 2px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.callout.c1 { top: 12%; left: -8px; }
.callout.c2 { bottom: 18%; right: -6px; }
.callout.c3 { top: 42%; right: -10px; }

/* --- AI ask demo --- */
.ai-demo {
  display: grid;
  gap: 10px;
  height: 100%;
  align-content: center;
}
.ai-q, .ai-a {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  padding: 14px;
}
.ai-q {
  border-color: rgba(240,195,93,.35);
  background: linear-gradient(180deg, rgba(232,162,58,.12), rgba(0,0,0,.18));
}
.ai-q label, .ai-a label {
  display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px; font-weight: 750;
}
.ai-q p, .ai-a p { margin: 0; font-size: 15px; line-height: 1.4; }
.ai-a .sparkline {
  margin-top: 10px; height: 48px;
  display: flex; align-items: flex-end; gap: 4px;
}
.ai-a .sparkline i {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #f0c35d, #2f8a4e);
  height: 20%;
  transform-origin: bottom;
}

/* --- Market dots --- */
.market-map {
  position: relative;
  height: 100%;
  min-height: 380px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 40%, rgba(47,138,78,.25), transparent 35%),
    radial-gradient(circle at 70% 55%, rgba(232,162,58,.18), transparent 30%),
    rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}
.market-map .pin {
  position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: #f0c35d;
  box-shadow: 0 0 0 6px rgba(240,195,93,.15);
  animation: pinPulse 2.2s ease-in-out infinite;
}
.market-map .pin.g { background: #2f8a4e; box-shadow: 0 0 0 6px rgba(47,138,78,.18); }
.market-map .legend {
  position: absolute; left: 14px; bottom: 14px;
  display: flex; gap: 10px; font-size: 12px; color: var(--muted);
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* --- Modules stack --- */
.mod-stack {
  display: grid;
  gap: 8px;
}
.mod {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.mod .ico {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(47,138,78,.35); font-weight: 800; font-size: 13px;
}
.mod.on .ico { background: linear-gradient(125deg, #fff1c2, #e8a23a); color: #2a2114; }
.mod strong { display: block; font-size: 14px; }
.mod span { color: var(--muted); font-size: 12px; }
.mod em {
  font-style: normal; font-size: 11px; font-weight: 800;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: var(--muted);
}
.mod.on em { background: rgba(240,195,93,.2); color: #f0c35d; }

/* --- Hook floating KPIs --- */
.hook-stage {
  display: grid;
  place-items: center;
  min-height: 380px;
  position: relative;
}
.hook-orb {
  position: absolute;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  text-align: center;
  animation: orbFloat 4s ease-in-out infinite;
}
.hook-orb b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -.03em;
}
.hook-orb span { font-size: 11px; color: var(--muted); }
.hook-orb.o1 { left: 8%; top: 18%; animation-delay: 0s; }
.hook-orb.o2 { right: 10%; top: 28%; animation-delay: .6s; }
.hook-orb.o3 { left: 18%; bottom: 16%; animation-delay: 1.1s; }
.hook-orb.o4 { right: 16%; bottom: 22%; animation-delay: 1.6s; }
.hook-core {
  width: min(70%, 280px);
  aspect-ratio: 1.4;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(160deg, rgba(47,138,78,.35), rgba(13,36,22,.2)),
    url("../assets/screen-dashboard.jpg") center/cover;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 960px) {
  .scene { grid-template-columns: 1fr; }
  .stage { min-height: 320px; }
  .pipe { grid-template-columns: 1fr; }
  .chaos { grid-template-columns: 1fr; }
  .callout.c1, .callout.c2, .callout.c3 { position: static; max-width: none; margin-top: 8px; }
  .shot-wrap { display: grid; gap: 8px; }
}
