/* ==========================================================================
   MasterLabs — mockups/shared/mocks.css
   Maquetas SINTÉTICAS de las apps (BitRaw en tablet, Airnode en teléfono,
   LumaCore en escritorio). Se sustituyen por capturas reales.
   Compartidas por los mockups de la matriz.
   ========================================================================== */

:root {
  --gel-bitraw: #35c3ff;
  --gel-airnode: #8fb8dc;
  --gel-lumacore: #5a48ff;
  --label-stretch: 75%;
}

/* --- Maquetas sintéticas de las apps ------------------------------------- */

.device {
  position: relative;
  margin-inline: auto;
  background: #0b0f17;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.device--tablet { width: 86%; aspect-ratio: 16 / 10; border-radius: 14px; padding: 2.4%; }
.device--phone { width: 36%; aspect-ratio: 9 / 19; border-radius: 24px; padding: 2.8%; }
.device--phone .screen { font-size: clamp(6px, 0.6vw, 10px); }
.device--desktop { width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; padding: 0; overflow: hidden; }

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #11151d;
  border-radius: 6px;
  font-size: clamp(6px, 0.55vw, 9px);
  color: #cfd6e4;
  line-height: 1.2;
}
.device--phone .screen { border-radius: 18px; }
.device--desktop .screen { border-radius: 0; }

.ui-label {
  font-stretch: var(--label-stretch);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f8aa3;
}

/* BitRaw: editor RAW en tablet */
.raw {
  display: grid;
  grid-template-columns: 9% 1fr 26%;
  grid-template-rows: 7% 1fr 8%;
  height: 100%;
}
.raw__top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: 0.4em 1.4em;
  background: #0d1119;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.raw__top b { font-weight: 600; color: #e6ebf5; }
.raw__top .ui-label { margin-left: auto; }
.raw__strip {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  padding: 0.7em;
  background: #0d1119;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.raw__strip i {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 2px;
  background-image: url("../iconos-logos-web/bitraw/material/foto-demo-peyto.jpg");
  background-size: 300%;
  opacity: 0.75;
}
.raw__strip i:nth-child(1) { background-position: 0% 30%; opacity: 1; box-shadow: 0 0 0 1px var(--gel-bitraw); }
.raw__strip i:nth-child(2) { background-position: 60% 20%; }
.raw__strip i:nth-child(3) { background-position: 100% 70%; }
.raw__strip i:nth-child(4) { background-position: 30% 90%; }
.raw__strip i:nth-child(5) { background-image: url("../iconos-logos-web/bitraw/material/foto-demo-uyuni.jpg"); background-position: 50% 40%; }
.raw__canvas {
  position: relative;
  overflow: hidden;
  background: #05070b;
}
.raw__canvas img { width: 100%; height: 100%; object-fit: cover; }
.raw__split {
  position: absolute;
  inset: 0;
  width: 46%;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.85);
}
.raw__split img { width: 217.4%; max-width: none; height: 100%; object-fit: cover; filter: saturate(0.55) contrast(0.85) brightness(0.92); }
.raw__split::after {
  content: "ANTES";
  position: absolute;
  left: 1em;
  bottom: 1em;
  padding: 0.3em 0.6em;
  background: rgba(0, 0, 0, 0.55);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.9em;
  color: #fff;
}
.raw__after {
  position: absolute;
  right: 1em;
  bottom: 1em;
  padding: 0.3em 0.6em;
  background: rgba(0, 0, 0, 0.55);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.9em;
  color: #fff;
}
.raw__panel {
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  padding: 1em 1.2em;
  background: #0d1119;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.raw__hist { width: 100%; height: auto; }
.slider { display: grid; grid-template-columns: 1fr auto; gap: 0.3em 0.6em; font-size: 1em; }
.slider span:last-child { color: #e6ebf5; font-variant-numeric: tabular-nums; }
.slider i {
  grid-column: 1 / -1;
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}
.slider i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--v, 50%);
  width: 0.9em;
  height: 0.9em;
  translate: -50% -50%;
  border-radius: 50%;
  background: #e6ebf5;
}
.slider--temp i { background: linear-gradient(90deg, #3a7bff, rgba(255, 255, 255, 0.14) 50%, #ffb347); }
.slider--tint i { background: linear-gradient(90deg, #2ecc71, rgba(255, 255, 255, 0.14) 50%, #ff4fd8); }
.raw__tools {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2em;
  background: #0d1119;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.raw__tools svg { width: 1.7em; height: 1.7em; stroke: #9aa5bf; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.raw__tools svg.is-on { stroke: var(--gel-bitraw); }

/* Airnode: teléfono */
.air { display: flex; flex-direction: column; height: 100%; padding: 1.6em 1.4em; gap: 1.4em; background: linear-gradient(180deg, #0f1420, #0b0f17); }
.air__status { display: flex; justify-content: space-between; font-size: 0.95em; color: #9aa5bf; }
.air__head { display: flex; align-items: center; gap: 0.8em; }
.air__head svg { width: 2.4em; height: 2.4em; }
.air__head b { font-size: 1.5em; font-weight: 700; color: #f0f3f9; letter-spacing: -0.02em; }
.air__me { display: flex; flex-direction: column; gap: 0.25em; padding: 1em 1.2em; border-radius: 1em; background: rgba(143, 184, 220, 0.12); border: 1px solid rgba(143, 184, 220, 0.3); }
.air__me b { color: #f0f3f9; font-size: 1.15em; }
.air__list { display: flex; flex-direction: column; gap: 0.7em; }
.air__row { display: flex; align-items: center; gap: 0.9em; padding: 0.9em 1.1em; border-radius: 0.9em; background: rgba(255, 255, 255, 0.05); }
.air__row i { width: 0.7em; height: 0.7em; border-radius: 50%; background: #35ff9d; box-shadow: 0 0 0 0.35em rgba(53, 255, 157, 0.18); }
.air__row b { font-weight: 600; color: #f0f3f9; }
.air__row span { margin-left: auto; color: #9aa5bf; font-size: 0.9em; }
.air__xfer { margin-top: auto; padding: 1.1em 1.2em; border-radius: 1em; background: rgba(143, 184, 220, 0.14); border: 1px solid rgba(143, 184, 220, 0.3); }
.air__row--done i { background: #8fb8dc; box-shadow: none; }
.air__xfer b { display: block; color: #f0f3f9; margin-bottom: 0.5em; }
.air__bar { position: relative; height: 0.55em; border-radius: 1em; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.air__bar::after { content: ""; position: absolute; inset: 0; width: 41%; background: linear-gradient(90deg, #8fb8dc, #35c3ff); border-radius: 1em; }
.air__xfer span { display: block; margin-top: 0.5em; color: #9aa5bf; font-size: 0.9em; }

/* LumaCore: ventana de escritorio */
.dmx { display: grid; grid-template-columns: 22% 1fr; grid-template-rows: 7% 1fr 24% 6%; height: 100%; background: #0c0f16; }
.dmx__bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.6em; padding: 0.4em 1.2em; background: #151a25; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.dmx__bar i { width: 0.9em; height: 0.9em; border-radius: 50%; background: #3a4052; }
.dmx__bar i:nth-child(1) { background: #ff5f57; } .dmx__bar i:nth-child(2) { background: #febc2e; } .dmx__bar i:nth-child(3) { background: #28c840; }
.dmx__bar b { margin-left: 1em; font-weight: 600; color: #e6ebf5; }
.dmx__bar .ui-label { margin-left: auto; }
.dmx__scenes { grid-row: 2 / span 2; display: flex; flex-direction: column; gap: 0.35em; padding: 1em; background: #0f131c; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.dmx__scenes .ui-label { margin-bottom: 0.4em; }
.dmx__scenes span { padding: 0.6em 0.8em; border-radius: 0.4em; color: #c9d1e3; }
.dmx__scenes span.is-on { background: rgba(90, 72, 255, 0.28); color: #fff; box-shadow: inset 0 0 0 1px rgba(90, 72, 255, 0.6); }
.dmx__stage { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 100%, #1a1f33, #0c0f16 70%); }
.dmx__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 9% 12%; }
.beam { position: absolute; top: 8%; width: 3%; height: 92%; transform-origin: top center; background: linear-gradient(180deg, var(--b), transparent 90%); opacity: 0.55; filter: blur(2px); }
.beam::before { content: ""; position: absolute; top: -0.5em; left: 50%; width: 1.6em; height: 1.6em; translate: -50% 0; border-radius: 0.3em; background: #1d2333; box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 0 1.2em var(--b); }
.dmx__faders { display: flex; align-items: flex-end; gap: 0.6em; padding: 0.9em 1.2em; background: #0f131c; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.dmx__faders i { flex: 1; position: relative; height: 100%; border-radius: 2px; background: rgba(255, 255, 255, 0.08); }
.dmx__faders i::after { content: ""; position: absolute; inset: auto 0 0; height: var(--v); border-radius: 2px; background: linear-gradient(180deg, #5a48ff, #35c3ff); }
.dmx__status { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.6em; padding: 0.4em 1.2em; background: #151a25; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.95em; color: #9aa5bf; }
.dmx__status i { width: 0.7em; height: 0.7em; border-radius: 50%; background: #35ff9d; }

