/* =========================================================
   Koncept B — Trzy światy
   Każda usługa ma własny świat. Przy przewijaniu jeden obiekt
   zmienia się: przeglądarka → telefon z aplikacją → plakat.
   ========================================================= */

:root {
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */

.hero-b {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + clamp(28px, 4vw, 56px)) 0 clamp(40px, 5vw, 64px);
}
.hero-b::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 100%, rgba(79, 123, 255, 0.16), transparent 70%),
    radial-gradient(40% 50% at 50% 100%, rgba(46, 240, 160, 0.11), transparent 70%),
    radial-gradient(40% 50% at 82% 100%, rgba(255, 74, 61, 0.14), transparent 70%);
}
.hero-b > .wrap { position: relative; }

.hero-b-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.hero-b-top .h1 { margin-top: 20px; font-size: clamp(44px, 6.2vw, 92px); }
.hero-b-side { display: grid; gap: 26px; padding-bottom: 10px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.tri { display: inline-flex; gap: 2px; }
.tri i { width: 4px; height: 12px; border-radius: 1px; }
.tri .b { background: var(--blue); }
.tri .g { background: var(--green); }
.tri .r { background: var(--red); }

.js .hero-in { opacity: 0; transform: translateY(18px); animation: heroIn 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0s) + 0.2s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Portale: trzy okna do trzech światów ---------- */

.portals { display: flex; gap: 14px; height: clamp(300px, 40vh, 440px); }
.portal {
  --c: var(--blue);
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  border-radius: 26px; border: 1px solid var(--line); background: #0b0b10;
  transition: flex-grow 0.8s var(--ease), border-color 0.4s;
}
.portal-app { --c: var(--green); }
.portal-gfx { --c: var(--red); }
@media (hover: hover) and (min-width: 861px) {
  .portals:hover .portal { flex-grow: 0.8; }
  .portals .portal:hover { flex-grow: 1.55; border-color: color-mix(in srgb, var(--c) 60%, transparent); }
}

.portal-scene { position: absolute; inset: 0; z-index: -1; }
.portal-info {
  position: absolute; inset: auto 0 0 0;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 16px;
  padding: 64px 24px 22px;
  background: linear-gradient(to top, rgba(7, 7, 10, 0.96) 35%, rgba(7, 7, 10, 0));
}
.portal-num { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--c); }
.portal-title { grid-column: 1; grid-row: 2; margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.portal-price { grid-column: 1; grid-row: 3; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.portal-go {
  grid-column: 2; grid-row: 2 / 4; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}
.portal-go svg { width: 18px; height: 18px; }
.portal:hover .portal-go { background: var(--c); border-color: transparent; color: #07070a; transform: rotate(-45deg); }

/* Portal: strony */
.portal-web .portal-scene {
  background:
    radial-gradient(90% 70% at 70% 0%, rgba(79, 123, 255, 0.3), transparent 65%),
    linear-gradient(rgba(79, 123, 255, 0.11) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(79, 123, 255, 0.11) 1px, transparent 1px) 0 0 / 28px 28px,
    #080a13;
}
.mini-browser {
  position: absolute; left: 50%; top: 12%; width: min(84%, 330px); aspect-ratio: 16 / 11;
  transform: translateX(-50%); border-radius: 12px; overflow: hidden;
  background: #0e1322; border: 1px solid rgba(79, 123, 255, 0.4); box-shadow: 0 30px 60px -20px rgba(79, 123, 255, 0.5);
}
.mb-bar { height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mb-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mb-bar span { width: 46%; height: 10px; margin-left: 14px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); }
.mb-body { height: calc(100% - 24px); padding: 13px; display: flex; flex-direction: column; gap: 12px; }
.mb-hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 12px; }
.mb-text { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.mb-text span { display: block; transform-origin: left center; }
.mb-h { height: 11px; border-radius: 3px; background: #e9edff; animation: mbBuild 7s var(--ease) infinite; }
.mb-h.short { width: 66%; animation-delay: 0.12s; }
.mb-p { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); animation: mbBuild 7s var(--ease) infinite 0.25s; }
.mb-p.s { width: 72%; }
.mb-text .mb-btn { width: 56px; height: 17px; margin-top: 5px; border-radius: 9px; background: var(--blue); animation: mbPop 7s var(--ease) infinite 0.45s; }
.mb-img { border-radius: 8px; background: radial-gradient(circle at 72% 30%, #ffd9c9 0 9%, transparent 10%), linear-gradient(150deg, #4f7bff, #7b61ff 55%, #ff4a3d); animation: mbPop 7s var(--ease) infinite 0.35s; }
.mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mb-cards span { height: 28px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); animation: mbPop 7s var(--ease) infinite 0.55s; }
.mb-cards span:nth-child(2) { animation-delay: 0.65s; }
.mb-cards span:nth-child(3) { animation-delay: 0.75s; }
.mb-cursor { position: absolute; left: 78%; top: 86%; width: 16px; height: 16px; fill: #fff; stroke: #0a0a10; stroke-width: 1.2; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); animation: mbCursor 7s var(--ease) infinite; }
@keyframes mbBuild { 0%, 5% { transform: scaleX(0); } 16%, 88% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes mbPop { 0%, 6% { opacity: 0; transform: scale(0.92); } 18%, 88% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: scale(0.96); } }
@keyframes mbCursor {
  0%, 26% { left: 78%; top: 86%; transform: scale(1); }
  42% { left: 13%; top: 60%; transform: scale(1); }
  45% { left: 13%; top: 60%; transform: scale(0.78); }
  49%, 76% { left: 13%; top: 60%; transform: scale(1); }
  92%, 100% { left: 78%; top: 86%; transform: scale(1); }
}

/* Portal: aplikacje */
.portal-app .portal-scene {
  background:
    radial-gradient(90% 70% at 30% 0%, rgba(46, 240, 160, 0.24), transparent 65%),
    radial-gradient(rgba(46, 240, 160, 0.22) 1px, transparent 1.6px) 0 0 / 18px 18px,
    #060f0b;
}
.mini-term {
  position: absolute; left: 50%; top: 12%; width: min(84%, 330px);
  transform: translateX(-50%); border-radius: 12px; overflow: hidden;
  background: #08130e; border: 1px solid rgba(46, 240, 160, 0.38); box-shadow: 0 30px 60px -20px rgba(46, 240, 160, 0.4);
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.55; color: #bdf5dc;
}
.mt-bar { position: relative; height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mt-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mt-bar span { position: absolute; left: 0; right: 0; text-align: center; font-size: 10.5px; color: rgba(255, 255, 255, 0.4); }
.mt-body { padding: 12px 14px 16px; display: grid; gap: 4px; }
.mt-line { white-space: nowrap; overflow: hidden; }
.mt-line b { font-weight: 500; color: var(--green); }
.mt-line.l1 { width: 0; animation: mtType 7s steps(32, end) infinite; }
.mt-line.l2 { opacity: 0; animation: mtShow2 7s steps(1, end) infinite; }
.mt-line.l3 { opacity: 0; animation: mtShow3 7s steps(1, end) infinite; }
.mt-progress { height: 5px; margin: 6px 0 4px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.mt-progress i { display: block; height: 100%; background: var(--green); transform-origin: left; animation: mtProg 7s var(--ease) infinite; }
.caret { display: inline-block; width: 7px; height: 13px; vertical-align: -2px; background: var(--green); animation: blink 1s steps(1, end) infinite; }
@keyframes mtType { 0%, 4% { width: 0; } 28%, 92% { width: 33ch; } 100% { width: 0; } }
@keyframes mtShow2 { 0%, 36% { opacity: 0; } 37%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mtShow3 { 0%, 70% { opacity: 0; } 71%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mtProg { 0%, 38% { transform: scaleX(0); } 68%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes blink { 50% { opacity: 0; } }

/* Portal: grafika */
.portal-gfx .portal-scene { background: radial-gradient(90% 70% at 50% 0%, rgba(255, 74, 61, 0.26), transparent 65%), #110908; }
.portal-gfx .portal-scene::after { content: ""; position: absolute; inset: 0; background-image: var(--grain-light); opacity: 0.45; mix-blend-mode: overlay; }
.mini-paper {
  position: absolute; left: 50%; top: 9%; width: min(40%, 160px); aspect-ratio: 1 / 1.414;
  transform: translateX(-50%) rotate(-5deg); border-radius: 2px; overflow: hidden;
  background: #f1ece2; color: #121212; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.75);
}
.mp-sun { position: absolute; right: -22%; top: 10%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.mp-kicker { position: absolute; left: 10%; top: 6%; font-family: var(--font-mono); font-size: 6px; letter-spacing: 0.14em; }
.mp-title { position: absolute; left: 10%; bottom: 17%; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(19px, 1.9vw, 26px); line-height: 0.92; }
.mp-title em { font-style: italic; }
.mp-rule { position: absolute; left: 10%; right: 10%; bottom: 9%; height: 1px; background: #121212; }
.mp-curve { position: absolute; left: 8%; top: 32%; width: 56%; overflow: visible; }
.mp-curve .path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 7s var(--ease) infinite; }
.mp-curve .hdl { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1; }
.mp-curve .knob { fill: #fff; }
.mp-curve .anchor { fill: #110908; stroke: #fff; stroke-width: 1.5; }
@keyframes draw { 0%, 8% { stroke-dashoffset: 260; } 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }

/* ---------- Światy: przyklejona scena sterowana przewijaniem ---------- */

.worlds { position: relative; height: 420vh; }
.worlds-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.env { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.env-web {
  background:
    radial-gradient(55% 60% at 74% 52%, rgba(79, 123, 255, 0.22), transparent 70%),
    linear-gradient(rgba(79, 123, 255, 0.08) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(79, 123, 255, 0.08) 1px, transparent 1px) 0 0 / 56px 56px,
    #06070e;
}
.env-app {
  background:
    radial-gradient(55% 60% at 74% 52%, rgba(46, 240, 160, 0.17), transparent 70%),
    radial-gradient(rgba(46, 240, 160, 0.2) 1px, transparent 1.6px) 0 0 / 24px 24px,
    #040a07;
}
.env-gfx { background: radial-gradient(55% 60% at 74% 48%, rgba(255, 74, 61, 0.22), transparent 70%), #0e0706; }
.env-gfx::after { content: ""; position: absolute; inset: 0; background-image: var(--grain-light); opacity: 0.5; mix-blend-mode: overlay; }
.cmyk i { position: absolute; width: 42vmin; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen; opacity: 0.13; }
.cmyk .c { right: 3%; top: 8%; background: #00b4ff; }
.cmyk .m { right: 13%; top: 30%; background: #ff2bd1; }
.cmyk .y { right: -2%; top: 40%; background: #ffe500; }

.tok { position: absolute; font-family: var(--font-mono); font-size: 13px; white-space: nowrap; animation: drift 8s ease-in-out infinite alternate; }
.tok:nth-child(2n) { animation-duration: 10s; animation-delay: -3s; }
.tok:nth-child(3n) { animation-duration: 12s; animation-delay: -6s; }
.env-web .tok { color: rgba(140, 168, 255, 0.42); }
.env-app .tok { color: rgba(46, 240, 160, 0.4); }
.env-gfx .tok { color: rgba(255, 175, 155, 0.42); }
@keyframes drift { from { transform: translate3d(0, -10px, 0); } to { transform: translate3d(0, 10px, 0); } }

.worlds-grid {
  position: relative; height: 100%;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 32px; align-items: center;
  padding-top: var(--nav-h); padding-bottom: 96px;
}
.worlds-copy { display: grid; }
.wcopy { grid-area: 1 / 1; align-content: center; gap: 22px; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.wcopy .h2 { font-size: clamp(34px, 3.8vw, 56px); }
.wcopy .lead { max-width: 42ch; }
.wcopy .svc-groups li { padding: 13px 16px; }

/* Niższe ekrany laptopów: zamiast pełnej listy krótkie podsumowanie */
@media (min-width: 861px) and (max-height: 820px) {
  .wcopy .svc-list, .wcopy .svc-groups { display: none; }
  .wcopy .svc-mini { display: block; max-width: 46ch; }
}

.worlds-stage { position: relative; height: 100%; min-height: 0; }
.stage-scale { position: absolute; left: 50%; top: 50%; width: 700px; height: 660px; transform: translate(-50%, -50%) scale(var(--s, 1)); }

/* Obiekt, który zmienia kształt; wymiary, kolory i obrót ustawia b.js */
.obj { position: absolute; left: 50%; top: 50%; z-index: 1; width: 560px; height: 380px; border-radius: 16px; overflow: hidden; border: 1px solid transparent; transform: translate(-50%, -50%); }
.layer { position: absolute; left: 50%; top: 50%; opacity: 0; visibility: hidden; transform: translate(-50%, -50%); }
.layer-web { width: 560px; height: 380px; }
.layer-app { width: 300px; height: 600px; }
.layer-gfx { width: 410px; height: 580px; }

/* W trakcie przemiany obiekt „przebudowuje się”: siatka i linia skanu w kolorze świata */
.obj-fx {
  position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none;
  background:
    linear-gradient(var(--fxl, transparent) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--fxl, transparent) 1px, transparent 1px) 0 0 / 24px 24px;
}
.obj-fx::after { content: ""; position: absolute; left: 0; right: 0; top: var(--scan, 0%); height: 2px; background: var(--fxs, #fff); box-shadow: 0 0 24px 3px var(--fxs, #fff); }

/* Znaczniki cięcia wokół plakatu */
.crop { position: absolute; left: 50%; top: 50%; z-index: 0; width: 410px; height: 580px; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) rotate(-4deg); }
.crop i { position: absolute; background: rgba(255, 255, 255, 0.6); }
.crop .h { width: 22px; height: 1px; }
.crop .v { width: 1px; height: 22px; }
.crop .tl.h { left: -34px; top: 0; }
.crop .tl.v { left: 0; top: -34px; }
.crop .tr.h { right: -34px; top: 0; }
.crop .tr.v { right: 0; top: -34px; }
.crop .bl.h { left: -34px; bottom: 0; }
.crop .bl.v { left: 0; bottom: -34px; }
.crop .br.h { right: -34px; bottom: 0; }
.crop .br.v { right: 0; bottom: -34px; }

/* Satelity: karty, które wlatują przy swoim świecie */
.sat {
  position: absolute; z-index: 2; opacity: 0; visibility: hidden;
  transform: translate3d(calc((1 - var(--o, 0)) * var(--dx, 0px)), calc((1 - var(--o, 0)) * var(--dy, 0px)), 0) rotate(var(--r, 0deg));
}
.sat-box {
  border-radius: 14px; background: rgba(14, 14, 20, 0.92); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
}

/* ---------- Świat 1: przeglądarka ---------- */

.layer-web { display: flex; flex-direction: column; color: #e9edff; }
.lw-bar { position: relative; flex: none; height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.025); }
.lw-bar > i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.lw-url {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.06); font-family: var(--font-mono); font-size: 11.5px; color: rgba(233, 237, 255, 0.72);
}
.lw-url svg { width: 11px; height: 11px; }
.lw-page { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 18px 22px 20px; }
.lw-nav { display: flex; align-items: center; gap: 14px; font-size: 11px; color: rgba(233, 237, 255, 0.6); }
.lw-logo { width: 18px; height: 18px; margin-right: auto; border-radius: 5px; background: var(--blue); }
.lw-nav span { width: 34px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.lw-nav em { font-style: normal; padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.18); }
.lw-hero { flex: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: stretch; }
.lw-text { display: flex; flex-direction: column; justify-content: center; }
.lw-text strong { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; color: #fff; }
.lw-text p { width: 92%; height: 6px; margin-top: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.lw-text p + p { width: 70%; margin-top: 7px; }
.lw-btn { position: relative; align-self: flex-start; display: inline-flex; margin-top: 16px; padding: 8px 14px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; }
.lw-btn::after { content: ""; position: absolute; inset: -5px; border-radius: 14px; border: 2px solid var(--blue); opacity: 0; animation: lwRipple 4.2s var(--ease) infinite; }
.lw-img { position: relative; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 72% 28%, #ffd9c9 0 8%, transparent 9%), linear-gradient(155deg, #4f7bff, #7b61ff 55%, #ff4a3d); }
.lw-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 58%; background: #0e1322; opacity: 0.85; clip-path: polygon(0 100%, 0 55%, 28% 18%, 48% 52%, 66% 30%, 100% 74%, 100% 100%); }
.lw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lw-cards span { position: relative; height: 52px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.lw-cards span::before { content: ""; position: absolute; left: 12px; top: 11px; width: 16px; height: 16px; border-radius: 5px; background: rgba(79, 123, 255, 0.55); }
.lw-cards span::after { content: ""; position: absolute; left: 12px; bottom: 11px; width: 62%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.lw-cursor { position: absolute; left: 0; top: 0; width: 20px; height: 20px; fill: #fff; stroke: #0a0a10; stroke-width: 1.2; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5)); animation: lwCursor 4.2s var(--ease) infinite; }
@keyframes lwCursor {
  0% { transform: translate(470px, 330px); }
  40% { transform: translate(84px, 250px); }
  46% { transform: translate(84px, 250px) scale(0.8); }
  52%, 70% { transform: translate(84px, 250px) scale(1); }
  100% { transform: translate(470px, 330px); }
}
@keyframes lwRipple { 0%, 42% { opacity: 0; transform: scale(0.9); } 47% { opacity: 0.9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.3); } }

.sat-code { left: 0; top: 436px; width: 290px; padding: 14px 16px; }
.sat-code pre { margin: 0; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.65; color: #cfd6ff; }
.sat-code .t { color: #7ea0ff; }
.sat-code .a { color: #ffb38a; }
.sat-code .s { color: var(--green); }
.sat-speed { left: 548px; top: 56px; width: 136px; padding: 16px 14px; text-align: center; }
.sat-speed svg { width: 64px; height: 64px; margin: 0 auto 8px; transform: rotate(-90deg); }
.sat-speed circle { fill: none; stroke-width: 6; }
.sat-speed .bg { stroke: rgba(255, 255, 255, 0.08); }
.sat-speed .fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 163; stroke-dashoffset: 26; }
.sat-speed strong { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.sat-speed small { font-size: 11px; color: var(--muted); }

/* ---------- Świat 2: telefon z aplikacją ---------- */

.layer-app { display: flex; flex-direction: column; gap: 12px; padding: 12px 18px 16px; color: #dcf8ec; }
.la-top { position: relative; flex: none; height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 12.5px; font-weight: 600; }
.la-island { position: absolute; left: 50%; top: 2px; width: 90px; height: 26px; border-radius: 14px; background: #000; transform: translateX(-50%); }
.la-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.la-sig i { width: 3px; border-radius: 1px; background: currentColor; }
.la-sig i:nth-child(1) { height: 4px; }
.la-sig i:nth-child(2) { height: 6px; }
.la-sig i:nth-child(3) { height: 8px; }
.la-sig i:nth-child(4) { height: 11px; }
.la-head { margin-top: 8px; }
.la-head small { display: block; font-size: 12px; color: rgba(220, 248, 236, 0.55); }
.la-head strong { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: #fff; }
.la-card { border-radius: 18px; padding: 14px 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.la-stat small { font-size: 11.5px; color: rgba(220, 248, 236, 0.55); }
.la-num { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 42px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: #fff; }
.la-num em { font-style: normal; font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--green); }
.la-spark { width: 100%; height: 46px; margin-top: 8px; overflow: visible; }
.la-spark .ln { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.la-spark .ar { fill: rgba(46, 240, 160, 0.12); }
.la-tasks { display: grid; gap: 8px; }
.la-tasks li { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; }
.la-tasks i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(46, 240, 160, 0.16); }
.la-tasks .done i::after { content: ""; position: absolute; left: 5px; top: 5px; width: 7px; height: 4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.la-tasks .run i { background: none; border: 2px solid rgba(46, 240, 160, 0.25); border-top-color: var(--green); animation: spin 1s linear infinite; }
.la-tasks em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: rgba(220, 248, 236, 0.5); }
.la-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.sw { position: relative; flex: none; width: 42px; height: 24px; border-radius: 12px; background: var(--green); }
.sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.la-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 6px 2px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.la-tab i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.12); }
.la-tab i.on { background: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }

.sat-term { left: 6px; top: 150px; width: 256px; padding: 14px 16px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.75; color: #bdf5dc; }
.sat-term b { font-weight: 500; color: var(--green); }
.sat-toast { left: 438px; top: 450px; width: 244px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.sat-toast i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(46, 240, 160, 0.16); color: var(--green); }
.sat-toast i svg { width: 16px; height: 16px; }
.sat-toast strong { display: block; font-size: 13.5px; }
.sat-toast small { font-size: 12px; color: var(--muted); }

/* ---------- Świat 3: plakat ---------- */

.layer-gfx { overflow: hidden; color: #121212; }
.layer-gfx::after { content: ""; position: absolute; inset: 0; background-image: var(--grain-dark); opacity: 0.32; mix-blend-mode: multiply; pointer-events: none; }
.lg-kicker { position: absolute; left: 30px; top: 30px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.lg-reg { position: absolute; right: 26px; top: 24px; width: 20px; height: 20px; border: 1px solid #121212; border-radius: 50%; }
.lg-reg::before, .lg-reg::after { content: ""; position: absolute; background: #121212; }
.lg-reg::before { left: 50%; top: -5px; bottom: -5px; width: 1px; }
.lg-reg::after { top: 50%; left: -5px; right: -5px; height: 1px; }
.lg-sun { position: absolute; right: -70px; top: 60px; width: 300px; height: 300px; border-radius: 50%; background: var(--red); }
.lg-dots {
  position: absolute; right: -70px; top: 60px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 18, 18, 0.9) 1.3px, transparent 1.7px) 0 0 / 9px 9px;
  -webkit-mask-image: linear-gradient(205deg, transparent 40%, #000 92%);
  mask-image: linear-gradient(205deg, transparent 40%, #000 92%);
}
.lg-title { position: absolute; left: 28px; bottom: 92px; margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 64px; line-height: 0.92; letter-spacing: -0.015em; }
.lg-title em { font-style: italic; }
.lg-rule { position: absolute; left: 28px; right: 28px; bottom: 62px; height: 1px; background: #121212; }
.lg-foot { position: absolute; left: 28px; right: 28px; bottom: 36px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; }

.sat-swatch { left: 508px; top: 104px; width: 180px; padding: 14px; }
.sat-swatch small { display: block; margin-bottom: 10px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sw-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sw-row span { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); }
.sw-row span::before { content: ""; height: 40px; border-radius: 8px; background: var(--sw); border: 1px solid rgba(255, 255, 255, 0.1); }
.sat-bcard {
  left: -30px; top: 196px; width: 224px; height: 128px; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: 10px; background: #121212; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.85); color: #f1ece2;
}
.sat-bcard .mk { width: 26px; height: 26px; border-radius: 50%; background: var(--red); }
.sat-bcard strong { display: block; font-family: "Instrument Serif", Georgia, serif; font-size: 22px; font-weight: 400; line-height: 1; }
.sat-bcard small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(241, 236, 226, 0.6); }

/* ---------- Pasek światów ---------- */

.rail {
  position: absolute; left: 50%; bottom: 24px; z-index: 5;
  display: flex; gap: 2px; padding: 5px; border-radius: 999px; transform: translateX(-50%);
  background: rgba(12, 12, 18, 0.72); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.rail button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color 0.3s;
}
.rail button span { font-family: var(--font-mono); font-size: 11.5px; opacity: 0.6; }
.rail button.is-active { color: #07070a; }
.rail-pill { position: absolute; z-index: 0; top: 5px; left: 0; width: 0; height: 38px; border-radius: 999px; background: var(--blue); }

/* ---------- Sekcje niżej ---------- */

.concept-b .why-card { border-top: 2px solid var(--ico, var(--line-strong)); }
.concept-b .contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(35% 45% at 70% 40%, rgba(79, 123, 255, 0.1), transparent 70%),
    radial-gradient(30% 40% at 85% 75%, rgba(255, 74, 61, 0.08), transparent 70%),
    radial-gradient(30% 40% at 20% 80%, rgba(46, 240, 160, 0.06), transparent 70%);
}
.concept-b .contact > .wrap { position: relative; }
.why-card:nth-child(1) { --ico: var(--blue); }
.why-card:nth-child(2) { --ico: var(--green); }
.why-card:nth-child(3) { --ico: var(--red); }

/* ---------- Telefon ---------- */

@media (max-width: 860px) {
  .hero-b { justify-content: flex-start; }
  .hero-b-top { grid-template-columns: 1fr; }
  .portals { flex-direction: column; height: auto; gap: 10px; }
  .portal { flex: none; height: 148px; }
  .portal-info {
    inset: 0 auto 0 0; width: 64%; align-content: end; padding: 18px 20px;
    background: linear-gradient(to right, rgba(7, 7, 10, 0.97) 55%, rgba(7, 7, 10, 0));
  }
  .portal-go { display: none; }
  .mini-browser, .mini-term { left: auto; right: -16%; top: 18px; width: 66%; transform: none; }
  .mini-paper { left: auto; right: 10%; top: 14px; width: 27%; transform: rotate(-5deg); }
  .mp-curve { display: none; }

  .worlds { height: 380vh; }
  .worlds-grid {
    grid-template-columns: 1fr; grid-template-rows: minmax(0, 42fr) minmax(0, 58fr);
    gap: 0; align-items: stretch;
    padding-top: calc(var(--nav-h) + 54px); padding-bottom: 16px;
  }
  .worlds-stage { grid-row: 1; }
  .worlds-copy { grid-row: 2; align-content: start; padding-top: 12px; }
  .wcopy { gap: 12px; }
  .wcopy .h2 { font-size: clamp(27px, 7.4vw, 34px); }
  .wcopy .lead { font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .wcopy .svc-list, .wcopy .svc-groups { display: none; }
  .wcopy .svc-mini { display: block; }
  .wcopy .svc-foot { margin-top: 0; padding-top: 14px; gap: 12px; }
  .wcopy .price strong { font-size: 24px; }
  .wcopy .btn { --h: 46px; padding: 0 18px; font-size: 15px; }
  .sat { display: none; }
  .env .tok:nth-of-type(n + 3) { display: none; }
  .rail { top: calc(var(--nav-h) + 8px); bottom: auto; }
  .rail button { height: 34px; padding: 0 13px; font-size: 13px; }
  .rail button span { display: none; }
  .rail-pill { height: 34px; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .wcopy .svc-mini { display: none; }
  .wcopy .lead { -webkit-line-clamp: 3; }
}
