@font-face {
  font-family: "Dustismo";
  src: url("/assets/fonts/Dustismo.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #050d18;
  --bg-alt: #08131f;
  --panel: #0c1a2b;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --text: #f2f6fb;
  --muted: #94a9c4;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --max: 1160px;

  /* Odstęp między nagłówkiem sekcji a treścią pod nim. Jedna zmienna, bo wcześniej każde miejsce
     miało własny margines i tekst wprowadzający siadał na kartach bez oddechu. */
  --gap-intro: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 108px 0 96px; text-align: center; overflow: hidden; }
/* Poświata za logo. Szeroka i miękka, żeby czytała się jako światło w tle, a nie jako plama:
   rozmiar w jednostkach okna, więc na dużym monitorze rośnie razem z nim.

   Puls jest CELOWO ledwo zauważalny - na tyle, żeby ekran nie wyglądał na zamrożony, i na tyle
   wolny, żeby nie ciągnął wzroku w bok od nagłówka. Animujemy wyłącznie transform i opacity, bo
   tylko te dwie własności przeglądarka rusza bez przeliczania układu strony. */
.hero::before {
  content: ""; position: absolute; top: -30vh; left: 50%;
  width: min(1900px, 150vw); height: min(1400px, 115vh);
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side,
                rgba(56,189,248,.22),
                rgba(99,142,246,.13) 42%,
                rgba(129,140,248,.06) 66%,
                transparent 78%);
  animation: glow 13s ease-in-out infinite alternate;
}
@keyframes glow {
  from { transform: translateX(-50%) scale(1);    opacity: .82; }
  to   { transform: translateX(-50%) scale(1.09); opacity: 1; }
}

/* Ten sam znak, który program pokazuje w pasku bocznym - biały delfin z podpisem. */
.hero-mark {
  width: 168px; height: auto; margin: 0 auto 34px;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
}

h1 {
  margin: 0 auto 34px; max-width: 15ch;
  font-size: clamp(30px, 8.4vw, 78px); line-height: 1.06;
  overflow-wrap: break-word;
  letter-spacing: -.035em; font-weight: 640;
  animation: rise .9s .08s cubic-bezier(.2,.7,.2,1) both;
}
h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Zapas na ogonki - patrz komentarz przy .copy-row niżej. */
  padding-bottom: .16em;
}

/* Rotacja nagłówka. Wszystkie warianty w JEDNEJ komórce siatki - pojemnik bierze wysokość
   najwyższego z nich, więc podmiana napisu nie rusza niczego pod spodem. */
h1.rotator { display: grid; padding-bottom: .14em; overflow: visible; }
h1.rotator > .line {
  grid-area: 1 / 1;
  display: grid;
  /* Więcej miejsca niż surowy line-height: ogonki ą, ę, g, j i przecinki nie mogą być
     przycinane przez granicę wiersza przy dużym rozmiarze fontu. */
  grid-template-rows: repeat(3, 1.34em);
  align-content: start;
  /* Ustępujący napis znika SZYBKO i bez opóźnienia, wchodzący czeka, aż tamten zejdzie. Bez tego
     rozsunięcia w czasie oba były przez chwilę widoczne naraz i nagłówek wyglądał jak podwójnie
     naświetlone zdjęcie - dwa napisy jeden na drugim. */
  opacity: 0; transform: translateY(12px);
  transition: none;
  /* Warianty niewidoczne nie mogą łapać zaznaczenia ani kliknięć - leżą przecież na wierzchu. */
  pointer-events: none; user-select: none;
}
/* Wiersz ma 1,34em wysokości siatki przy interlinii 1,15em - różnica to miejsce na ogonki,
   z którego korzysta przycięte do liter tło gradientu. Bez niej ą, ę i ć tracą sam dół. */
h1.rotator .copy-row { display: block; white-space: nowrap; line-height: 1.15; padding-bottom: .16em; }
h1.rotator > .line.on {
  opacity: 1; transform: none;
  transition: none;
  pointer-events: auto; user-select: auto;
}
h1.rotator.ready > .line { transition: opacity .28s ease, transform .28s ease; }
h1.rotator.ready > .line.on { transition: opacity .5s ease .26s, transform .5s cubic-bezier(.2,.7,.2,1) .26s; }

.lead {
  margin: 0 auto; max-width: 60ch; font-size: clamp(17px, 2.1vw, 21px); color: var(--muted);
  animation: rise .9s .16s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px;
  animation: rise .9s .24s cubic-bezier(.2,.7,.2,1) both;
}
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-size: 15.5px; font-weight: 560;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn-primary { background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #04121f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(56,189,248,.7); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); }

.hero-shot { margin: 80px auto 0; max-width: 1060px; }

/* ---------------------------------------------------------------- ciekawostki
   Pasek pod przyciskami. Treść pochodzi z tego samego miejsca, co karta „Czy wiesz, że?” w
   programie (serwer licencji), więc jedna poprawka u nas zmienia obie. Ta sama sztuczka co przy
   nagłówku: wpisy leżą jeden na drugim w siatce, żeby zmiana zdania nie przesuwała strony. */
/* Wąski pasek między sekcjami, nie pełnowymiarowa sekcja: to jest ciekawostka na marginesie
   zwiedzania strony, a nie kolejny rozdział do przeczytania. */
.tips {
  margin: 56px 0 0; padding: 24px 30px; border-radius: 18px; text-align: left;
  border: 1px solid var(--line);
  background:
    radial-gradient(closest-side at 6% 0%, rgba(56,189,248,.11), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}
/* Znaczek i podpis w JEDNYM wierszu, a treść pod nimi - inaczej kółko wisiało z boku
   wyśrodkowane względem całości i nie wiadomo było, do czego należy. */
.tips-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.tips-badge {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #04121f;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
}
/* Wysokość zarezerwowana z góry. Wpisy przychodzą z serwera już PO wyświetleniu strony, więc bez
   tej rezerwacji podmiana listy przesunęłaby zrzut ekranu pod spodem - a przesunięcie treści po
   wczytaniu psuje ocenę strony w wyszukiwarce. Obcięcie do czterech wierszy jest zabezpieczeniem
   na wypadek wpisu dłuższego, niż przewiduje filtr w skrypcie. */
.tips-body { flex: 1 1 auto; display: grid; min-width: 0; min-height: 44px; }
.tip-line {
  grid-area: 1 / 1; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted);
  /* To samo rozsunięcie w czasie co przy nagłówku - patrz komentarz tam. */
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.tip-line.on {
  opacity: 1; transform: none;
  transition: opacity .45s ease .24s, transform .45s cubic-bezier(.2,.7,.2,1) .24s;
}
.tips-label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #7d93b2; font-weight: 600; }

/* ---------------------------------------------------------------- sekcje */
section { padding: 104px 0; position: relative; }
section.alt { background: var(--bg-alt); }

h2 {
  margin: 0 0 20px; font-size: clamp(24px, 5.6vw, 47px); overflow-wrap: break-word;
  letter-spacing: -.03em; line-height: 1.1; font-weight: 630; max-width: 20ch;
}
h2.center { max-width: none; text-align: center; }

.section-lead { max-width: 62ch; color: var(--muted); font-size: 18px; margin: 0 0 var(--gap-intro); }
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Nagłówek bez tekstu wprowadzającego potrzebuje tego samego oddechu co z nim. */
.intro { margin-bottom: var(--gap-intro); }
.intro h2:last-child, .intro .section-lead:last-child { margin-bottom: 0; }

h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- zrzuty */
/* Sam obraz z zaokrąglonymi rogami - bez ramki i bez tła pod spodem.
   Same pliki PNG miały doklejoną przez Windows czarną obwódkę okna (11 px z każdej strony) i to
   JĄ zaokrąglał promień - stąd wrażenie czarnego tła i ledwo widocznego zaokrąglenia. Obwódka
   jest obcięta w plikach, więc promień działa teraz na treści zrzutu i może być wyraźny. */
.shot {
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
  cursor: zoom-in;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.shot:hover { transform: translateY(-6px); box-shadow: 0 52px 110px -40px rgba(0,0,0,1); }
.shot img { width: 100%; height: auto; }

/* ZDJĘCIE Z PRZEZROCZYSTOŚCIĄ.

   box-shadow rysuje cień pod PROSTOKĄTEM elementu, więc przy pliku z przezroczystym tłem widać
   ciemną ramkę dookoła pustego miejsca - zdjęcie wygląda jakby leżało na kwadratowej płycie.
   drop-shadow czyta kanał alfa i kładzie cień pod tym, co naprawdę jest na obrazku.

   Stąd też overflow: visible i brak tła: cień musi mieć gdzie wyjść poza krawędź kontenera. */
.shot--cutout {
  box-shadow: none; background: none; overflow: visible; border-radius: 0;
}
.shot--cutout img {
  border-radius: 18px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.75));
  transition: filter .5s ease;
}
.shot--cutout:hover { box-shadow: none; }
.shot--cutout:hover img { filter: drop-shadow(0 42px 80px rgba(0,0,0,.9)); }

/* Pas z jednym zdaniem - świadomie duży i osamotniony, bo to jest teza całej strony,
   a nie kolejny akapit w sekcji. */
.claim {
  margin: 96px auto 0; max-width: 900px; text-align: center;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text);
}
.claim-sub {
  margin: 18px auto 0; max-width: 620px; text-align: center;
  font-size: 17px; line-height: 1.65; color: var(--muted);
}

figure { margin: 0; }
figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- układy */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split.rev .split-text { order: 2; }
/* Kolumna z dwoma zrzutami jeden pod drugim - używana tam, gdzie lista obok jest na tyle długa,
   że jeden obrazek zostawiałby pustkę. Odstęp jak między akapitami, żeby podpis pierwszego nie
   sklejał się z ramką drugiego. */
.shots-stack { display: grid; gap: 28px; align-content: center; }
@media (max-width: 940px) { .split, .split.rev .split-text { grid-template-columns: 1fr; order: 0; gap: 40px; } }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  padding: 30px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, background .35s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(180deg, rgba(56,189,248,.07), rgba(255,255,255,.02)); }
.card p { font-size: 15px; color: var(--muted); }

/* Kafelek ikony: jednolity, ciemny, bez gradientu. Wcześniej świecił niebieskim gradientem mocniej
   niż treść karty i przyciągał wzrok do ozdoby zamiast do tekstu. */
.card .ico {
  width: 62px; height: 62px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: border-color .35s ease, background .35s ease;
}
.card:hover .ico { border-color: rgba(56,189,248,.35); background: rgba(56,189,248,.09); }

/* Wszystkie ikony jedną kreską, w jednym kolorze i jednej grubości - żaden kolorowy emotikon,
   który w każdym systemie wygląda inaczej i wybija się z reszty. */
.ico svg { width: 31px; height: 31px; stroke: currentColor; fill: none; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

.int-group { margin-bottom: 44px; }
.int-group:last-of-type { margin-bottom: 0; }
.int-title {
  font-size: 13px; letter-spacing: .13em; text-transform: uppercase; color: var(--accent);
  font-weight: 640; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.int-card .name { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
/* Przypis pod grupą kart - jedno zdanie, które dotyczy całej grupy, a nie pojedynczej karty. */
.int-note { margin: 16px 0 0; font-size: 14.5px; color: var(--muted); }

ul.ticks { list-style: none; margin: 0; padding: 0; }
ul.ticks li { position: relative; padding-left: 30px; margin-bottom: 13px; color: var(--muted); font-size: 16px; }
ul.ticks li:last-child { margin-bottom: 0; }
ul.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
ul.ticks strong { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- ujawnianie przy przewijaniu */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero-mark, h1, .lead, .cta-row { animation: none; }
  h1.rotator > .line, .tip-line { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- pytania */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: border-color .25s ease, background .25s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.faq details:hover { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; padding: 18px 52px 18px 22px; position: relative;
  font-size: 17px; font-weight: 560; color: var(--text); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
/* Krzyżyk obracany w plus - jeden znak zamiast dwóch ikon i bez zależności od czcionki. */
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
  margin-top: -6px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transform-origin: 60% 60%;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq p { margin: 0; padding: 0 24px 20px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ---------------------------------------------------------------- kontakt */
.contact {
  text-align: center; padding: 124px 0;
  background:
    radial-gradient(closest-side at 50% 0%, rgba(56,189,248,.16), transparent 70%),
    var(--bg-alt);
}
.mail {
  display: inline-block; margin-top: 6px;
  font-size: clamp(22px, 3.6vw, 36px); font-weight: 620; letter-spacing: -.025em;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .25s ease; overflow-wrap: break-word;
}
.mail:hover { opacity: .8; }

.note {
  max-width: 58ch; margin: 34px auto 0; color: var(--muted); font-size: 15.5px;
  padding: 22px 26px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,.02);
}

/* ---------------------------------------------------------------- lupka */
#zoom {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(3,8,15,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 32px; cursor: zoom-out;
}
#zoom.on { display: grid; place-items: center; animation: fade .3s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
#zoom img { max-width: 96vw; max-height: 92vh; border-radius: 14px; }

/* ---------------------------------------------------------------- telefony */
@media (max-width: 620px) {
  :root { --gap-intro: 48px; }
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 72px 0 64px; }
  /* Wąski ekran mieści mniej znaków w wierszu, więc ta sama ciekawostka zajmuje ich więcej -
     rezerwacja musi być większa, inaczej podmiana listy z serwera przesunęłaby stronę. */
  .tips { padding: 20px; }
  .tips-body { min-height: 116px; }
  .hero-mark { width: 124px; margin-bottom: 26px; }
  .hero-shot { margin-top: 52px; }
  section { padding: 68px 0; }
  .contact { padding: 84px 0; }
  .split { gap: 32px; }
  .card { padding: 24px; }
  .card .ico { width: 54px; height: 54px; border-radius: 15px; margin-bottom: 18px; }
  .ico svg { width: 27px; height: 27px; }
  .section-lead { font-size: 16.5px; }
  .btn { padding: 12px 20px; font-size: 15px; }
  figcaption { font-size: 13px; }
  .note { padding: 18px 20px; font-size: 15px; }
  .shot { border-radius: 18px; }
}

/* ---------------------------------------------------------------- strony modułów */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,13,24,.92); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.site-nav .wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-wordmark { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-size: 21px; font-weight: 720; letter-spacing: -.025em; }
.site-module { padding-left: 12px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 13px; font-weight: 620; letter-spacing: .08em; text-transform: uppercase; }
.site-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.site-links a:hover { color: var(--text); }
.nav-cta { padding: 9px 17px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); }
.nav-cta:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.28); }

.module-preview {
  border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 5vw, 58px);
  background: radial-gradient(circle at 100% 0, rgba(56,189,248,.09), transparent 42%),
              linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}
.module-preview .section-lead { margin-bottom: 28px; }
.module-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.module-preview-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: clamp(36px, 6vw, 74px); align-items: center; }
.module-preview-copy, .module-preview-image { min-width: 0; }
.module-preview-image .shot { transform: perspective(900px) rotateY(-2deg); }
.module-preview-image .shot:hover { transform: perspective(900px) rotateY(0) translateY(-5px); }
.module-kicker { color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 13px; }

.subhero { padding: 86px 0 88px; overflow: hidden; background: radial-gradient(circle at 78% 32%, rgba(56,189,248,.11), transparent 35%); }
.subhero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: clamp(42px, 6vw, 78px); align-items: center; }
.subhero-grid > * { min-width: 0; }
.subhero h1 { max-width: 11ch; margin: 0 0 28px; font-size: clamp(44px, 5.7vw, 72px); animation: none; }
.subhero .lead { margin: 0; animation: none; }
.subhero .cta-row { justify-content: flex-start; animation: none; }
.subhero .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Ta sama poprawka co w nagłówku głównym - tło przycięte do liter nie maluje ogonków
     wystających poza pudełko wiersza. */
  display: inline-block; padding-bottom: .12em; margin-bottom: -.12em;
}

.product-window, .feature-visual {
  border: 1px solid rgba(255,255,255,.13); border-radius: 24px; overflow: hidden;
  background: #0a1525; box-shadow: 0 42px 90px -36px rgba(0,0,0,.95), 0 0 80px -54px rgba(56,189,248,.8);
}
.product-window { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.window-top, .feature-visual-head { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.window-top > span:nth-child(2), .feature-visual-head > span:first-child { flex: 1; }
.window-dots { display: inline-flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #33445b; }
.window-dots i:first-child { background: #38bdf8; }
.status-pill, .period-chip { flex: none; padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(56,189,248,.22); background: rgba(56,189,248,.09); color: #9bdfff; font-size: 10px; font-weight: 650; letter-spacing: .04em; }

.wms-window { padding-bottom: 14px; }
.wms-terminal-head, .commerce-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 14px; }
.wms-terminal-head small, .commerce-head small { display: block; color: #667d99; font-size: 8px; letter-spacing: .14em; }
.wms-terminal-head strong, .commerce-head strong { display: block; margin-top: 2px; font-size: 14px; }
.terminal-nav { display: flex; gap: 5px; }
.terminal-nav span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; color: #879bb5; font-size: 8px; font-weight: 700; }
.terminal-nav .active { color: #ffb24a; border-color: rgba(255,159,28,.38); }
.task-card, .product-card, .scan-card, .metric-grid > div, .order-table { margin: 0 14px 10px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: #0e1c30; }
.task-row { display: flex; justify-content: space-between; gap: 16px; color: #8aa2c0; font-size: 9px; }
.task-card > strong { display: block; margin: 5px 0 9px; font-size: 12px; }
.progress { height: 4px; overflow: hidden; border-radius: 99px; background: #23344d; }
.progress i { display: block; width: 67%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.visual-label, .scan-card > span { display: block; color: #7f96b3; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.product-card > strong { display: block; margin-top: 2px; font-size: 20px; line-height: 1.2; }
.product-card > small { color: #7890ad; font-size: 9px; }
.product-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.product-meta div { padding: 9px; border-radius: 9px; background: #0a1627; }
.product-meta span { display: block; color: #6e86a5; font-size: 8px; }
.product-meta b { display: block; margin-top: 2px; font-size: 13px; }
.scan-input { display: flex; justify-content: space-between; align-items: center; height: 32px; margin: 6px 0 8px; padding: 0 10px; border: 1px solid #2a4260; border-radius: 8px; color: #9eb1c8; font-size: 9px; background: #071222; }
.scan-input i { width: 8px; height: 13px; border-right: 2px solid var(--accent); }
.visual-actions { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7px; }
.visual-actions button, .phone-preview button, .cms-canvas button { border: 0; border-radius: 8px; padding: 9px; background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #061120; font: inherit; font-size: 9px; font-weight: 750; }
.visual-actions .secondary { border: 1px solid var(--line); background: #17263c; color: var(--text); }

.commerce-window { padding-bottom: 14px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 14px 10px; }
.metric-grid > div { margin: 0; }
.metric-grid span { display: block; color: #7f96b3; font-size: 9px; }
.metric-grid b { display: block; margin: 4px 0 1px; font-size: 21px; line-height: 1.2; }
.metric-grid small { color: #68cea0; font-size: 8px; }
.table-title, .order-row { display: grid; grid-template-columns: .7fr 1.35fr 1fr .65fr; align-items: center; gap: 8px; }
.table-title { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 10px; }
.table-title span { color: var(--accent); }
.order-row { padding: 7px 0; border-top: 1px solid var(--line); font-size: 8px; }
.order-row > span { color: #7890ad; }
.order-row > strong { text-align: right; }
.order-row em { width: max-content; padding: 3px 6px; border-radius: 99px; font-style: normal; }
.order-row .paid { color: #78d9a6; background: rgba(57,201,126,.1); }
.order-row .processing { color: #f5c36e; background: rgba(245,180,65,.1); }
.order-row .sent { color: #85bcff; background: rgba(70,139,255,.1); }
.commerce-flow { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 14px; padding: 10px; border-radius: 11px; background: #071222; color: #97abc3; font-size: 8px; }
.commerce-flow i { width: 14px; height: 1px; background: linear-gradient(90deg, #2b4566, var(--accent)); }

.feature-visual { padding-bottom: 22px; }
.phone-preview { width: 58%; min-width: 260px; margin: 28px auto 4px; padding: 16px; border: 7px solid #18283d; border-radius: 26px; background: #07111e; box-shadow: 0 25px 55px -30px #000; }
.phone-bar { display: flex; justify-content: space-between; color: #9eb1c8; font-size: 9px; }
.phone-product { margin: 12px 0; padding: 13px; border-radius: 12px; background: #0f1d31; }
.phone-product small, .phone-product span { display: block; color: #7690ae; font-size: 8px; }
.phone-product b { display: block; margin: 4px 0; font-size: 14px; }
.phone-scan { margin-bottom: 8px; padding: 8px; border: 1px solid #2a4260; border-radius: 7px; color: #677e9b; font-size: 8px; }
.phone-preview button { width: 100%; }
.cms-layout { display: grid; grid-template-columns: 48px 1fr; min-height: 330px; }
.cms-tools { display: grid; align-content: start; justify-items: center; gap: 18px; padding-top: 25px; border-right: 1px solid var(--line); }
.cms-tools i { width: 18px; height: 18px; border: 1px solid #47607c; border-radius: 5px; }
.cms-canvas { margin: 20px; padding: 28px; border-radius: 14px; background: #f5f2eb; color: #18202b; }
.cms-navline { display: block; width: 72%; height: 5px; margin-bottom: 54px; border-radius: 99px; background: #d9d4c9; }
.cms-canvas > strong, .cms-canvas > small { display: block; }
.cms-canvas > strong { font-family: Georgia, serif; font-size: 26px; }
.cms-canvas > small { margin: 5px 0 16px; color: #606872; }
.cms-canvas button { background: #18202b; color: #fff; }
.cms-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
.cms-products i { height: 54px; border-radius: 8px; background: linear-gradient(145deg, #e0dbd0, #c9c0b1); }

.page-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.page-intro h2 { max-width: none; }
.page-intro .section-lead { margin-left: auto; margin-right: auto; }
.feature-list { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 28px; color: var(--muted); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .67em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.process-steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { counter-increment: steps; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); }
.process-step::before { content: counter(steps, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--accent); font-weight: 700; letter-spacing: .08em; }
.process-step p { color: var(--muted); font-size: 15px; }
.wms-resource-visual { overflow:hidden; border:1px solid rgba(255,255,255,.13); border-radius:22px; background:#091525; box-shadow:0 38px 85px -42px rgba(0,0,0,.95),0 0 72px -54px rgba(56,189,248,.8); }
.resource-head { display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:center; gap:13px; padding:20px; border-bottom:1px solid var(--line); }
.resource-photo { width:52px; height:52px; display:grid; place-items:center; border:1px solid rgba(56,189,248,.2); border-radius:14px; background:linear-gradient(145deg,rgba(56,189,248,.16),rgba(129,140,248,.08)); color:#8edcff; font-size:22px; font-weight:750; }
.resource-head small,.resource-head strong,.resource-head span { display:block; }.resource-head small { color:#617d9c; font-size:7px; letter-spacing:.14em; }.resource-head strong { margin:3px 0; font-size:15px; }.resource-head div > span { color:#7890ad; font-size:8px; }.resource-head > b { padding:5px 8px; border-radius:99px; background:rgba(74,222,128,.08); color:#70dca1; font-size:8px; }
.resource-stock { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; padding:14px 18px; }.resource-stock > div { padding:12px; border:1px solid var(--line); border-radius:11px; background:#0d1d31; }.resource-stock small,.resource-stock span { color:#7089a7; font-size:8px; }.resource-stock small { display:block; }.resource-stock strong { margin-right:4px; font-size:20px; }
.resource-locations { margin:0 18px; overflow:hidden; border:1px solid var(--line); border-radius:12px; }.resource-row { min-height:50px; display:grid; grid-template-columns:1.5fr .8fr .5fr; align-items:center; gap:9px; padding:8px 12px; border-bottom:1px solid var(--line); font-size:8px; }.resource-row:last-child { border-bottom:0; }.resource-row.head { min-height:34px; color:#607a99; background:#071321; }.resource-row > span { color:#8197b2; }.resource-row b,.resource-row small { display:block; }.resource-row b { color:#dce7f5; font-size:9px; }.resource-row small { margin-top:2px; color:#617a98; }.resource-row > strong { text-align:right; font-size:12px; }
.resource-tags { display:flex; flex-wrap:wrap; gap:6px; padding:14px 18px 18px; }.resource-tags span { padding:5px 8px; border:1px solid rgba(56,189,248,.16); border-radius:99px; background:rgba(56,189,248,.055); color:#7fa1c3; font-size:7px; }
.wms-label-visual { width:min(100%,470px); margin:0 auto; padding:26px; border-radius:18px; background:#f7f8fa; color:#111827; box-shadow:0 34px 75px -38px rgba(0,0,0,.95); transform:rotate(1deg); }
.label-top { display:flex; justify-content:space-between; align-items:center; padding-bottom:12px; border-bottom:3px solid #111827; font-size:9px; letter-spacing:.12em; }.label-top b { font-size:18px; letter-spacing:.05em; }
.label-route { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:15px 0; border-bottom:1px solid #a9afb8; }.label-route div { padding:9px; border:1px solid #c7ccd3; }.label-route small,.label-route strong { display:block; }.label-route small,.label-data small { color:#5d6672; font-size:7px; letter-spacing:.11em; }.label-route strong { margin-top:3px; font-size:11px; }
.label-data { display:grid; grid-template-columns:1.4fr .7fr .7fr; gap:10px; padding:13px 0; }.label-data span,.label-data small,.label-data b { display:block; }.label-data b { margin-top:3px; font-size:10px; }
.label-bars { height:76px; border-top:1px solid #111827; border-bottom:1px solid #111827; background:repeating-linear-gradient(90deg,#111827 0 2px,transparent 2px 4px,#111827 4px 7px,transparent 7px 10px,#111827 10px 11px,transparent 11px 15px); }
.label-number { display:block; margin-top:9px; text-align:center; font-family:monospace; font-size:12px; letter-spacing:.12em; }
.wms-responsibility-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.wms-responsibility { position:relative; padding:30px; overflow:hidden; border:1px solid var(--line); border-radius:20px; background:#0b1728; }.wms-responsibility::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:linear-gradient(180deg,var(--accent),var(--accent-2)); }.wms-responsibility.flow::before { background:linear-gradient(180deg,#818cf8,#a78bfa); }.wms-responsibility > span { color:#66c9f5; font-size:8px; font-weight:750; letter-spacing:.14em; }.wms-responsibility.flow > span { color:#a9aefc; }.wms-responsibility h3 { margin:8px 0 18px; }.wms-responsibility ul { display:grid; gap:10px; margin:0; padding-left:18px; color:var(--muted); }.wms-responsibility li { padding-left:4px; }
.cta-panel { padding: clamp(34px, 6vw, 70px); text-align: center; border: 1px solid var(--line-strong); border-radius: 28px; background: radial-gradient(circle at 50% 0, rgba(56,189,248,.14), transparent 58%), var(--panel); }
.cta-panel h2 { max-width: none; }
.cta-panel .section-lead { margin-left: auto; margin-right: auto; margin-bottom: 28px; }

@media (max-width: 940px) {
  .subhero-grid, .module-preview-grid { grid-template-columns: 1fr; gap: 44px; }
  .subhero h1 { max-width: 13ch; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .site-nav .wrap { min-height: 62px; gap: 12px; }
  .site-wordmark { font-size: 18px; gap: 8px; }
  .site-module { padding-left: 8px; font-size: 10px; }
  .site-links a:not(.nav-cta) { display: none; }
  .site-links { gap: 0; }
  .site-links .nav-cta { padding: 8px 11px; font-size: 11px; white-space: nowrap; }
  .subhero { padding: 58px 0 54px; }
  .subhero-grid { gap: 36px; }
  .subhero h1 { max-width: 100%; font-size: clamp(38px, 12vw, 54px); }
  .subhero .lead { max-width: 100%; }
  .subhero .cta-row { display: grid; grid-template-columns: 1fr; width: 100%; }
  .subhero .cta-row .btn { width: 100%; justify-content: center; }
  .product-window { width: 100%; transform: none; border-radius: 18px; }
  .terminal-nav { display: none; }
  .product-meta { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: .7fr 1.3fr .9fr; }
  .order-row > strong:last-child { display: none; }
  .commerce-flow { gap: 5px; }
  .commerce-flow i { width: 7px; }
  .feature-visual { border-radius: 18px; }
  .phone-preview { width: calc(100% - 28px); min-width: 0; }
  .cms-layout { grid-template-columns: 36px 1fr; min-height: 280px; }
  .cms-canvas { margin: 12px; padding: 18px; }
  .cms-navline { margin-bottom: 35px; }
  .cms-products i { height: 38px; }
  .process-steps { grid-template-columns: 1fr; }
  .resource-head { grid-template-columns:44px minmax(0,1fr); }.resource-photo { width:44px; height:44px; }.resource-head > b { display:none; }
  .resource-stock { grid-template-columns:1fr; }
  .resource-row { grid-template-columns:1.45fr .75fr .45fr; padding:8px; }
  .wms-label-visual { padding:18px; transform:none; }.label-route { grid-template-columns:1fr; gap:7px; }.label-data { grid-template-columns:1fr 1fr; }.label-data span:last-child { grid-column:1/-1; }
  .wms-responsibility-grid { grid-template-columns:1fr; }
  .wms-responsibility { padding:24px; }
  .module-preview { border-radius: 20px; }
  .module-preview-grid { padding: 24px; gap: 30px; }
  .module-preview-image .shot { transform: none; }
  .module-actions { display: grid; grid-template-columns: 1fr; }
  .module-actions .btn { justify-content: center; }
}

/* ---------------------------------------------------------------- dopracowana strona główna */
.site-wordmark > .brand-name {
  font-family: "Dustismo", "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: -.035em;
}
.home-nav .site-wordmark { font-size: 24px; }

.home-hero {
  padding: 92px 0 82px;
  text-align: left;
  background: radial-gradient(circle at 76% 36%, rgba(56,189,248,.13), transparent 34%);
}
.home-hero::before { left: 78%; top: -42vh; width: min(1450px, 105vw); opacity: .62; }
.home-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,.88fr) minmax(510px,1.12fr); gap: clamp(76px,7.5vw,120px); align-items: center; }
.home-hero-grid > * { min-width: 0; }
.home-hero-copy { position: relative; z-index: 2; container-type: inline-size; }
.home-hero h1 {
  max-width: 11ch; margin: 0 0 30px;
  font-size: clamp(48px,5.4vw,74px); /* zapas dla starszych przeglądarek */
  font-size: clamp(36px,12cqi,74px);  /* skala względem realnej szerokości lewej kolumny */
}
.home-hero .lead { max-width: 56ch; margin: 0; }
.home-hero .cta-row { justify-content: flex-start; margin-top: 34px; }
.app-window, .storefront-window {
  border: 1px solid rgba(255,255,255,.13); border-radius: 24px; overflow: hidden;
  background: #091525; box-shadow: 0 44px 100px -42px rgba(0,0,0,.95), 0 0 90px -62px rgba(56,189,248,.9);
}

/* Hero pokazuje sam przepływ, bez imitacji okna i bez płótna. Bloki unoszą się bezpośrednio w
   przestrzeni strony; poświaty są światłem, nie prostokątnym tłem makiety. */
.hero-flow-visual { position:relative; z-index:1; min-height:520px; isolation:isolate; }
.hero-flow-visual::before,.hero-flow-visual::after { content:""; position:absolute; z-index:-1; border-radius:50%; pointer-events:none; filter:blur(16px); }
.hero-flow-visual::before { width:320px; height:320px; right:2%; top:2%; background:radial-gradient(circle,rgba(56,189,248,.105),transparent 68%); }
.hero-flow-visual::after { width:300px; height:300px; left:14%; bottom:-2%; background:radial-gradient(circle,rgba(129,140,248,.09),transparent 70%); }
.flow-node {
  position:absolute; z-index:3; width:29%; min-height:116px; padding:16px;
  display:grid; grid-template-columns:34px minmax(0,1fr); align-items:start; gap:11px;
  border:1px solid rgba(122,158,199,.24); border-radius:15px;
  background:linear-gradient(145deg,rgba(17,37,62,.96),rgba(9,24,42,.94));
  box-shadow:0 24px 54px -28px rgba(0,0,0,.95),0 12px 28px -24px rgba(56,189,248,.8),inset 0 1px rgba(255,255,255,.035);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
}
.flow-node::before { content:""; position:absolute; left:14px; right:14px; top:0; height:1px; background:linear-gradient(90deg,transparent,rgba(113,205,255,.48),transparent); opacity:.75; }
.flow-node > div { min-width:0; }
.flow-node small { display:block; color:#617e9f; font-size:7px; line-height:1; letter-spacing:.14em; }
.flow-node strong { display:block; margin:6px 0 4px; color:#f2f6fb; font-size:11px; line-height:1.24; letter-spacing:-.012em; }
.flow-node > div > span { display:block; color:#7892b1; font-size:8px; }
.flow-icon { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(56,189,248,.2); border-radius:10px; background:rgba(56,189,248,.07); color:#53c7f8; }
.flow-icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.flow-node em { position:absolute; right:14px; bottom:12px; display:flex; align-items:center; gap:5px; color:#6f8aa8; font-size:7px; font-style:normal; }
.flow-node em i { width:5px; height:5px; border-radius:50%; background:#4ade80; box-shadow:0 0 8px rgba(74,222,128,.55); }
.node-port { position:absolute; z-index:5; display:block; width:9px; height:9px; border:2px solid #091827; border-radius:50%; background:#38bdf8; box-shadow:0 0 0 2px rgba(56,189,248,.14),0 0 12px rgba(56,189,248,.72); }
.node-port.port-left { left:-5px; top:50%; transform:translateY(-50%); }
.node-port.port-right { right:-5px; top:50%; transform:translateY(-50%); }
.node-port.port-top { left:50%; top:-5px; transform:translateX(-50%); }
.node-port.port-bottom { left:50%; bottom:-5px; transform:translateX(-50%); }
.port-source-out,.port-decision-out,.port-action-out,.port-warehouse-out { background:#818cf8; box-shadow:0 0 0 2px rgba(129,140,248,.14),0 0 12px rgba(129,140,248,.7); }
.flow-node.source { left:0; top:72px; }
.flow-node.decision { left:35.5%; top:112px; border-color:rgba(245,158,11,.34); }
.flow-node.decision::before { background:linear-gradient(90deg,transparent,rgba(245,158,11,.58),transparent); }
.flow-node.decision .flow-icon { color:#f5b84c; border-color:rgba(245,158,11,.2); background:rgba(245,158,11,.07); }
.flow-node.decision .node-port { background:#f59e0b; box-shadow:0 0 0 2px rgba(245,158,11,.12),0 0 12px rgba(245,158,11,.7); }
.flow-node.action { left:71%; top:62px; }
.flow-node.warehouse { left:71%; top:320px; }
.flow-node.courier { left:35.5%; top:366px; }
.flow-connections { position:absolute; inset:0; z-index:2; width:100%; height:100%; overflow:visible; pointer-events:none; }
.flow-connections path { fill:none; stroke:url(#flow-gradient); stroke-width:2; stroke-linecap:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 5px rgba(56,189,248,.58)); }
.flow-connections path[data-route="vertical"] { stroke:#55c6f8; }

/* Podstrona integracji: prawdziwy fragment przepływu w języku wizualnym Delfina. */
.integration-subhero { background:radial-gradient(circle at 75% 38%,rgba(56,189,248,.13),transparent 34%),radial-gradient(circle at 87% 71%,rgba(129,140,248,.08),transparent 28%); }
.integration-flow-hero { position:relative; min-height:470px; isolation:isolate; }
.integration-flow-hero::before { content:""; position:absolute; inset:10% 8%; z-index:-1; border-radius:50%; background:radial-gradient(circle,rgba(56,189,248,.105),transparent 68%); filter:blur(12px); }
.integration-flow-hero > svg { position:absolute; inset:0; z-index:1; width:100%; height:100%; overflow:visible; }
.integration-flow-hero > svg path { fill:none; stroke:url(#integration-flow-gradient); stroke-width:2; stroke-linecap:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 5px rgba(56,189,248,.55)); }
.integration-flow-node { position:absolute; z-index:2; min-height:112px; padding:15px; display:grid; grid-template-columns:34px minmax(0,1fr); align-items:start; gap:10px; border:1px solid rgba(122,158,199,.24); border-radius:15px; background:linear-gradient(145deg,rgba(17,37,62,.97),rgba(9,24,42,.95)); box-shadow:0 24px 54px -28px rgba(0,0,0,.95),0 12px 28px -24px rgba(56,189,248,.8),inset 0 1px rgba(255,255,255,.04); }
.integration-flow-node::before { content:""; position:absolute; left:14px; right:14px; top:0; height:1px; background:linear-gradient(90deg,transparent,rgba(113,205,255,.46),transparent); }
.integration-flow-node > div { min-width:0; }.integration-flow-node small,.integration-flow-node strong,.integration-flow-node > div > span { display:block; }
.integration-flow-node small { color:#617e9f; font-size:7px; line-height:1; letter-spacing:.14em; }.integration-flow-node strong { margin:6px 0 4px; color:#f2f6fb; font-size:10px; line-height:1.24; }.integration-flow-node > div > span { color:#7892b1; font-size:8px; }
.integration-flow-icon { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(56,189,248,.2); border-radius:10px; background:rgba(56,189,248,.07); color:#53c7f8; }.integration-flow-icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.integration-flow-node em { position:absolute; right:13px; bottom:11px; display:flex; align-items:center; gap:5px; color:#6f8aa8; font-size:7px; font-style:normal; }.integration-flow-node em i { width:5px; height:5px; border-radius:50%; background:#4ade80; box-shadow:0 0 8px rgba(74,222,128,.55); }
.flow-dot { position:absolute; width:9px; height:9px; top:50%; transform:translateY(-50%); border:2px solid #091827; border-radius:50%; background:#38bdf8; box-shadow:0 0 0 2px rgba(56,189,248,.13),0 0 12px rgba(56,189,248,.7); }.flow-dot.in { left:-5px; }.flow-dot.out { right:-5px; background:#818cf8; }
.integration-flow-node.source { left:0; top:179px; width:30%; }.integration-flow-node.transform { left:37%; top:179px; width:30%; border-color:rgba(129,140,248,.34); }.integration-flow-node.output { left:76%; width:24%; min-height:94px; padding:13px; grid-template-columns:30px minmax(0,1fr); }.integration-flow-node.output .integration-flow-icon { width:30px; height:30px; }.integration-flow-node.output.erp { top:47px; }.integration-flow-node.output.wms { top:187px; }.integration-flow-node.output.payment { top:327px; }
.integration-catalog .intro { margin-bottom:64px; }
.int-lead { max-width:70ch; margin:-10px 0 24px; color:var(--muted); }

.platform-strip { padding: 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#07111d; }
.platform-grid { display:grid; grid-template-columns:repeat(4,1fr); padding-top:0; padding-bottom:0; }
.platform-grid a { min-width:0; padding:24px 25px; border-right:1px solid var(--line); transition:background .25s ease; }
.platform-grid a:first-child { border-left:1px solid var(--line); }
.platform-grid a:hover { background:rgba(56,189,248,.055); }
.platform-grid span { display:block; margin-bottom:11px; color:#4c6581; font-size:10px; letter-spacing:.12em; }
.platform-grid strong { display:block; font-size:15px; }
.platform-grid small { display:block; margin-top:3px; color:#7189a6; font-size:11px; }

/* Stały oddech po intro: margines ostatniego akapitu nie może zapaść się do wnętrza rodzica. */
.page-intro { margin-bottom: var(--gap-intro); }
.page-intro .section-lead { margin-bottom: 0; }

/* ---------------------------------------------------------------- nowe makiety funkcji na stronie głównej */
.trigger-window { min-height: 570px; }
.trigger-summary { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:20px; padding:22px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(140deg,rgba(56,189,248,.08),rgba(129,140,248,.04)); }
.trigger-summary small { display:block; color:#66809e; font-size:8px; letter-spacing:.12em; }
.trigger-summary strong { display:block; margin-top:5px; font-size:25px; }
.trigger-summary span { color:#83a0c1; font-size:10px; }
.clock-ring { width:72px; height:72px; flex:none; display:grid; place-content:center; text-align:center; border-radius:50%; background:radial-gradient(circle at center,#0b192b 57%,transparent 59%),conic-gradient(var(--accent) 0 72%,#1c3048 72%); }
.clock-ring b { font-size:20px; line-height:1; }.clock-ring span { font-size:8px; }
.trigger-list { margin:0 20px; border:1px solid var(--line); border-radius:15px; overflow:hidden; }
.trigger-row { display:grid; grid-template-columns:34px minmax(0,1fr) auto 30px; align-items:center; gap:11px; min-height:68px; padding:9px 14px; border-bottom:1px solid var(--line); }
.trigger-row:last-child { border-bottom:0; }
.trigger-row > div strong,.trigger-row > div span { display:block; }.trigger-row > div strong { font-size:11px; }.trigger-row > div span { color:#7189a6; font-size:8px; }
.trigger-row em { color:#8da5c1; font-size:8px; font-style:normal; }
.trigger-ico { width:30px; height:30px; border-radius:9px; background:rgba(56,189,248,.08); border:1px solid rgba(56,189,248,.16); }
.switch { position:relative; width:27px; height:15px; border-radius:99px; background:#26384d; }.switch::after { content:""; position:absolute; top:3px; left:3px; width:9px; height:9px; border-radius:50%; background:#758ba5; }.switch.on { background:rgba(56,189,248,.28); }.switch.on::after { left:15px; background:#55c8fa; }
.trigger-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 20px; color:#738ba8; font-size:9px; }
.trigger-footer button { padding:8px 11px; border:1px solid #315071; border-radius:8px; background:#10233a; color:#dce9f8; font:inherit; font-weight:650; }

.history-window { padding-bottom:18px; }
.history-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin:18px; }
.history-metrics div { padding:15px; border:1px solid var(--line); border-radius:12px; background:#0e1d31; }
.history-metrics span { display:block; color:#7089a7; font-size:8px; }.history-metrics b { display:block; margin-top:3px; font-size:19px; }
.history-chart { height:112px; display:flex; align-items:end; gap:8px; margin:0 18px 16px; padding:14px 14px 10px; border-radius:13px; background:#071321; }
.history-chart i { flex:1; min-width:5px; border-radius:3px 3px 0 0; background:linear-gradient(180deg,#38bdf8,#5368e8); opacity:.75; }
.history-chart span { color:#526b88; font-size:7px; }
.history-table { margin:0 18px; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.history-row { display:grid; grid-template-columns:1.5fr .75fr .55fr .65fr; align-items:center; gap:8px; min-height:43px; padding:7px 11px; border-bottom:1px solid var(--line); font-size:8px; }
.history-row:last-child { border-bottom:0; }.history-row.head { min-height:31px; color:#607a99; background:#091726; }.history-row strong { font-size:9px; }.history-row > span { color:#8197b2; }
.history-row em { width:max-content; padding:3px 6px; border-radius:99px; font-style:normal; }.run-ok { color:#70dca1; background:rgba(74,222,128,.09); }.run-warn { color:#f5bf63; background:rgba(245,158,11,.09); }

.storefront-window { min-height:430px; background:#ede9e1; color:#192029; }
.storefront-nav { height:54px; display:flex; align-items:center; gap:24px; padding:0 22px; border-bottom:1px solid rgba(25,32,41,.1); }
.storefront-nav strong { font-family:Georgia,serif; font-size:22px; }.storefront-nav span { flex:1; text-align:center; color:#6a6c6e; font-size:8px; }.storefront-nav i { width:17px; height:17px; border:1px solid #333; border-radius:50%; }
.storefront-hero { min-height:208px; padding:36px 30px; background:linear-gradient(108deg,rgba(239,233,220,.96),rgba(230,223,209,.65)),radial-gradient(circle at 80% 50%,#cabfa9 0 16%,transparent 17%); }
.storefront-hero small { display:block; margin-bottom:9px; font-size:7px; letter-spacing:.16em; }.storefront-hero strong { display:block; font-family:Georgia,serif; font-size:36px; line-height:.94; font-weight:400; }.storefront-hero button { margin-top:17px; padding:8px 14px; border:0; background:#192029; color:#fff; font-size:8px; }
.storefront-products { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; padding:14px; background:#f8f6f1; }
.storefront-products div { font-size:8px; }.storefront-products span,.storefront-products b { display:block; padding-left:2px; }.storefront-products b { margin-top:2px; }
.product-shape { position:relative; display:block; height:82px; margin-bottom:7px; border-radius:7px; background:#dfd9cc; overflow:hidden; }.product-shape::after { content:""; position:absolute; left:50%; top:15px; transform:translateX(-50%); background:#969084; }.product-shape.one::after { width:38px; height:48px; border-radius:50% 50% 7px 7px; }.product-shape.two::after { width:45px; height:39px; top:25px; border-radius:12px 12px 4px 4px; }.product-shape.three::after { width:30px; height:52px; border-radius:40% 40% 25% 25%; }

.inventory-window { min-height:430px; }
.inventory-summary { display:grid; grid-template-columns:1fr 100px; align-items:center; gap:16px; margin:18px; padding:16px 18px; border:1px solid var(--line); border-radius:14px; background:#0d1d31; }
.inventory-summary span,.inventory-summary small { display:block; color:#738ba9; font-size:8px; }.inventory-summary b { display:block; margin:3px 0; font-size:25px; }.warehouse-donut { width:78px; height:78px; display:grid; place-content:center; text-align:center; border-radius:50%; background:radial-gradient(circle,#0d1d31 55%,transparent 57%),conic-gradient(#38bdf8 0 82%,#20334c 82%); }.warehouse-donut b { font-size:17px; }.warehouse-donut span { font-size:7px; }
.warehouse-map { margin:0 18px; padding:13px; border-radius:13px; background:#071321; }.aisle-title { display:flex; justify-content:space-between; margin:3px 0 7px; color:#8098b5; font-size:8px; }.aisle-title em { font-style:normal; color:#556f8d; }.bins { display:grid; grid-template-columns:repeat(6,1fr); gap:6px; margin-bottom:12px; }.bins i { height:28px; border-radius:5px; border:1px solid #29425f; background:#11243a; }.bins i.full { background:linear-gradient(180deg,rgba(56,189,248,.5),rgba(56,189,248,.14)); }.bins i.mid { background:linear-gradient(180deg,rgba(129,140,248,.38),rgba(129,140,248,.1)); }.bins i.low { background:#142338; }
.inventory-feed { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:12px 18px 18px; }.inventory-feed span { padding:8px 10px; border:1px solid var(--line); border-radius:9px; color:#7890ad; font-size:8px; }.inventory-feed i { display:inline-block; width:6px; height:6px; margin-right:5px; border-radius:50%; background:#4ade80; }

.payment-window { min-height:430px; }
.payment-total { margin:18px; padding:20px; text-align:center; border:1px solid var(--line); border-radius:14px; background:linear-gradient(145deg,rgba(56,189,248,.08),rgba(129,140,248,.04)); }.payment-total span,.payment-total small { display:block; color:#7890ad; font-size:8px; }.payment-total strong { display:block; margin:5px 0 3px; font-size:28px; }
.payment-timeline { margin:0 25px; }.payment-timeline > div { position:relative; display:grid; grid-template-columns:18px 1fr; gap:10px; min-height:47px; }.payment-timeline > div::before { content:""; position:absolute; left:7px; top:15px; bottom:-4px; width:1px; background:#263c57; }.payment-timeline > div:last-child::before { display:none; }.payment-timeline i { position:relative; z-index:1; width:15px; height:15px; border:3px solid #1b3048; border-radius:50%; background:#0b192b; }.payment-timeline .done i { border-color:rgba(74,222,128,.4); background:#4ade80; box-shadow:0 0 12px rgba(74,222,128,.25); }.payment-timeline b,.payment-timeline small { display:block; }.payment-timeline b { font-size:9px; }.payment-timeline small { color:#7189a7; font-size:8px; }
.payment-footer { display:flex; justify-content:space-between; gap:16px; margin:6px 18px 18px; padding:10px 12px; border-radius:9px; background:#071321; color:#7088a5; font-size:8px; }.payment-footer b { color:#a7bad0; letter-spacing:.06em; }

@media (max-width: 940px) {
  .home-hero-grid { grid-template-columns:minmax(0,1fr); }
  .home-hero h1 { max-width:12ch; }
  .hero-flow-visual { width:100%; max-width:720px; min-height:520px; margin:0 auto; }
  .platform-grid { grid-template-columns:repeat(2,1fr); }
  .platform-grid a { border-right:1px solid var(--line); }
  .trigger-window { min-height:0; }
  .integration-flow-hero { width:100%; max-width:720px; margin:0 auto; }
}

@media (max-width: 620px) {
  .home-nav .site-wordmark { font-size:21px; }
  .home-hero { padding:58px 0 54px; }
  .home-hero-grid { gap:42px; }
  .home-hero h1 { max-width:100%; font-size:clamp(34px,10.8vw,56px); }
  .home-hero .cta-row { display:grid; grid-template-columns:1fr; }
  .home-hero .btn { width:100%; justify-content:center; }
  .hero-flow-visual { min-height:430px; }
  .flow-node { width:30%; min-height:102px; padding:11px; grid-template-columns:1fr; gap:7px; }
  .flow-icon { width:27px; height:27px; border-radius:8px; }
  .flow-icon svg { width:15px; height:15px; }
  .flow-node strong { font-size:9px; }
  .flow-node > div > span { font-size:7px; }
  .flow-node em { display:none; }
  .flow-node.source { top:60px; }
  .flow-node.decision { left:35%; top:88px; }
  .flow-node.action { left:70%; top:53px; }
  .flow-node.warehouse { left:70%; top:280px; }
  .flow-node.courier { left:35%; top:314px; }
  .integration-flow-hero { min-height:470px; }
  .integration-flow-node { padding:10px; grid-template-columns:1fr; gap:7px; }
  .integration-flow-node .integration-flow-icon { width:27px; height:27px; border-radius:8px; }
  .integration-flow-node .integration-flow-icon svg { width:15px; height:15px; }
  .integration-flow-node strong { font-size:8px; }
  .integration-flow-node > div > span { font-size:7px; }
  .integration-flow-node em { display:none; }
  .platform-grid { grid-template-columns:1fr 1fr; }
  .platform-grid a { padding:18px; }.platform-grid strong { font-size:13px; }.platform-grid small { font-size:9px; }
  .page-intro { margin-bottom:48px; }
  .history-metrics { grid-template-columns:1fr; }.history-chart { gap:5px; }
  .history-row { grid-template-columns:1.3fr .7fr .7fr; }.history-row > :nth-child(3) { display:none; }
  .trigger-row { grid-template-columns:30px minmax(0,1fr) 28px; }.trigger-row em { display:none; }
  .storefront-window,.inventory-window,.payment-window { min-height:0; border-radius:17px; }
  .storefront-nav span { display:none; }.storefront-products { gap:6px; }.product-shape { height:65px; }
  .inventory-feed { grid-template-columns:1fr; }.bins { gap:4px; }.bins i { height:22px; }
}
