/* ============================================================
   eCommerceLAB landing v3 - "Aurora Lab"
   Ultra-nowoczesny dark theme: animowany gradient-mesh reagujacy
   na scroll i ruch myszki, glassmorphism, scroll-reveal, spotlight.
   Osobny arkusz - NIE dotyka styles.css (v1/v2/audyt bez zmian).
   ============================================================ */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #05060f;
  --bg-soft: #090b1a;
  --bg-card: rgba(17, 22, 43, .62);
  --bg-card-solid: #11162b;
  --bg-input: rgba(9, 11, 26, .85);
  --ink: #f1f3fb;
  --ink-soft: #c6ccdf;
  --muted: #8a92ab;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .17);
  --blue: #2f8bff;
  --violet: #6563ff;
  --magenta: #c46bff;
  --peach: #fed0b5;
  --cyan: #38e1ff;
  --ok: #34d399;
  --warn: #fbbf24;
  --grad: linear-gradient(110deg, #38e1ff 0%, #6563ff 34%, #c46bff 66%, #fed0b5 100%);
  --grad-btn: linear-gradient(120deg, #2f8bff, #6563ff 55%, #c46bff);
  --radius: 20px;
  --radius-sm: 13px;
  --pill: 999px;
  --maxw: 1180px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  /* zmienne sterowane przez v3.js */
  --mx: 0;        /* mysz X: -1..1 */
  --my: 0;        /* mysz Y: -1..1 */
  --scroll: 0;    /* postep scrolla strony: 0..1 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.025em; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.14rem; font-weight: 600; }
p { margin: 0; }

/* ===== Animowany gradient w tekscie ===== */
.grad {
  background: var(--grad);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradShift 7s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

/* ============================================================
   TLO: gradient-mesh - blob-y reaguja na mysz (--mx/--my)
   i na scroll (--scroll). `translate` (keyframes, dryf) sklada
   sie niezaleznie z `transform` (mysz + scroll).
   ============================================================ */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; filter: hue-rotate(calc(var(--scroll) * 55deg)); }
.bg-blob { position: absolute; border-radius: 50%; will-change: transform, translate; }
.bg-blob-1 {
  width: 62vmax; height: 62vmax; top: -24vmax; left: -14vmax;
  background: radial-gradient(circle, rgba(101, 99, 255, .34) 0%, rgba(101, 99, 255, .10) 45%, transparent 68%);
  transform: translate3d(calc(var(--mx) * 42px), calc(var(--my) * 42px + var(--scroll) * 14vh), 0);
  animation: drift1 26s ease-in-out infinite;
}
.bg-blob-2 {
  width: 50vmax; height: 50vmax; top: 4vmax; right: -18vmax;
  background: radial-gradient(circle, rgba(47, 139, 255, .26) 0%, rgba(56, 225, 255, .08) 48%, transparent 70%);
  transform: translate3d(calc(var(--mx) * -34px), calc(var(--my) * -26px + var(--scroll) * -10vh), 0);
  animation: drift2 32s ease-in-out infinite;
}
.bg-blob-3 {
  width: 46vmax; height: 46vmax; bottom: -20vmax; left: 22vw;
  background: radial-gradient(circle, rgba(196, 107, 255, .20) 0%, rgba(254, 208, 181, .07) 50%, transparent 72%);
  transform: translate3d(calc(var(--mx) * 24px), calc(var(--my) * 30px + var(--scroll) * -16vh), 0);
  animation: drift3 38s ease-in-out infinite;
}
@keyframes drift1 { 0%, 100% { translate: 0 0; } 50% { translate: 6vw 4vh; } }
@keyframes drift2 { 0%, 100% { translate: 0 0; } 50% { translate: -5vw 6vh; } }
@keyframes drift3 { 0%, 100% { translate: 0 0; } 50% { translate: 4vw -5vh; } }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 100%);
}
/* Babelki laboratoryjne (LAB): powolne, ledwo widoczne, transform-only */
.bg-bubbles { position: absolute; inset: 0; overflow: hidden; }
.bub {
  position: absolute; bottom: -48px; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(56, 225, 255, .5), rgba(56, 225, 255, .18) 55%, rgba(56, 225, 255, 0) 74%);
  box-shadow: inset 0 0 0 1px rgba(56, 225, 255, .12);
  opacity: 0;
  animation: bub-rise var(--t) linear infinite;
  animation-delay: var(--d);
  will-change: transform, opacity;
}
@keyframes bub-rise {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%  { opacity: var(--o, .38); }
  45%  { transform: translate3d(var(--dr, 22px), -48vh, 0); }
  72%  { transform: translate3d(calc(var(--dr, 22px) * -0.55), -78vh, 0); }
  88%  { opacity: var(--o, .38); }
  100% { transform: translate3d(0, -112vh, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bub { animation: none; opacity: 0; }
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll));
}

/* ===== Buttons ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; line-height: 1; font-family: inherit;
  padding: 16px 32px; border-radius: var(--pill); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; overflow: hidden;
  transition: transform .15s ease, box-shadow .3s ease, border-color .2s ease, color .2s ease, filter .2s ease;
}
.btn-sm { padding: 11px 22px; font-size: .92rem; }
.btn-block { width: 100%; padding: 17px 28px; }
.btn-primary {
  color: #fff; border: 0;
  background: var(--grad-btn);
  background-size: 180% 180%;
  box-shadow: 0 10px 34px rgba(101, 99, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
  animation: gradShift 6s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(101, 99, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
  filter: saturate(1.15);
}
.btn-ghost {
  background: rgba(255, 255, 255, .03); color: var(--ink-soft); border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: #fff; border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(47, 139, 255, .18); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled, .site-header.nav-open {
  background: rgba(5, 6, 15, .6);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 30px; width: auto; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--muted); font-weight: 500; font-size: .95rem; position: relative; transition: color .18s; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--grad); transition: right .25s ease; border-radius: 2px;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { right: 0; }
.header-inner .btn { margin-left: 8px; }
.btn-icon-login {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-left: 10px; border-radius: 50%;
  color: var(--muted); border: 1px solid var(--border); background: rgba(255, 255, 255, .03);
  transition: color .18s, border-color .18s;
}
.btn-icon-login:hover { color: #fff; border-color: rgba(101, 99, 255, .45); }

.nav-toggle {
  display: none; flex: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .03);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  margin-left: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(48px, 5vw, 76px) 0 clamp(48px, 5.5vw, 72px); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft); background: rgba(255, 255, 255, .045); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero-inner h1 { margin-bottom: 24px; max-width: 18.5ch; }
.lead-logo { height: 1.6em; vertical-align: -0.42em; display: inline-block; }
.hero-inner h1.hero-h1-wide { max-width: 34ch; }
.ai-reel {
  display: inline-flex;
  vertical-align: -.12em;
  max-width: min(100%, 7.6em);
  height: 1.04em;
  padding: 0 .04em;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}
.ai-reel-window {
  display: block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.ai-reel-track {
  display: flex;
  flex-direction: column;
  animation: aiReel 12s cubic-bezier(.16, .78, .18, 1) infinite;
  will-change: transform;
}
.ai-brand {
  display: inline-flex;
  align-items: center;
  gap: .14em;
  height: 1em;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 18px rgba(255,255,255,.16);
}
.ai-brand::after {
  content: attr(data-label);
}
.ai-mark {
  display: inline-block;
  width: .72em;
  height: .72em;
  border-radius: 0;
  padding: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@keyframes aiReel {
  0%, 9% { transform: translate3d(0, 0, 0); filter: blur(0); }
  12% { transform: translate3d(0, -6.35em, 0); filter: blur(.045em); }
  15%, 27% { transform: translate3d(0, -6em, 0); filter: blur(0); }
  30% { transform: translate3d(0, -12.35em, 0); filter: blur(.045em); }
  33%, 45% { transform: translate3d(0, -12em, 0); filter: blur(0); }
  48% { transform: translate3d(0, -18.35em, 0); filter: blur(.045em); }
  51%, 63% { transform: translate3d(0, -18em, 0); filter: blur(0); }
  66% { transform: translate3d(0, -24.35em, 0); filter: blur(.045em); }
  69%, 81% { transform: translate3d(0, -24em, 0); filter: blur(0); }
  84% { transform: translate3d(0, -30.35em, 0); filter: blur(.045em); }
  87%, 100% { transform: translate3d(0, -30em, 0); filter: blur(0); }
}
.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 62ch; margin-top: 20px; }
.lead strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; gap: 14px; margin: 34px 0 14px; flex-wrap: wrap; justify-content: center; }
.hero-note { font-size: .9rem; color: var(--muted); margin-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  .ai-reel-track { animation: none; }
}

/* KPI chips */
.kpi-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.kpi {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  font-size: .92rem; color: var(--muted); font-weight: 500;
}
.kpi strong {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em;
  background: var(--grad); background-size: 220% 220%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: gradShift 7s ease-in-out infinite;
}

/* Hero mock - panel skanu (tilt 3D od myszy, sterowany w v3.js) */
.hero-mock { margin-top: 56px; perspective: 1100px; width: 100%; display: flex; justify-content: center; }
.scan-panel {
  width: 100%; max-width: 470px; text-align: left;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 26px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg));
  transition: transform .18s ease-out;
  position: relative; overflow: hidden;
}
.scan-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad);
  background-size: 220% 220%; animation: gradShift 7s ease-in-out infinite;
}
.panel-row { display: flex; align-items: center; justify-content: space-between; }
.panel-head { font-weight: 700; font-size: .95rem; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; color: #fff; }
.dot-live { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.dot-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2.2s ease-out infinite; }
.panel-line { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-soft); padding: 9px 0; }
.tag { flex: none; min-width: 42px; text-align: center; font-weight: 700; font-size: .82rem; padding: 4px 9px; border-radius: 8px; }
.tag-warn { background: rgba(251, 191, 36, .14); color: var(--warn); }
.tag-ok { background: rgba(52, 211, 153, .14); color: var(--ok); }
.panel-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); margin: 16px 0 12px; overflow: hidden; }
.panel-bar span {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: var(--grad); background-size: 220% 220%;
  animation: gradShift 7s ease-in-out infinite;
  transition: width 1.6s cubic-bezier(.22, .8, .26, 1);
}
.in .panel-bar span, .panel-bar.in span { width: var(--w, 80%); }
.panel-foot { font-size: .86rem; color: var(--muted); font-weight: 500; }

/* Logos row */
.logos-row { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 44px; }
.tech-logo { height: 24px; width: auto; opacity: .55; transition: opacity .25s ease, transform .25s ease; }
.tech-logo:hover { opacity: 1; transform: translateY(-2px); }
.tech-link { display: inline-flex; }
.tech-link:hover .tech-logo { opacity: 1; transform: translateY(-2px); }
.logos-more { color: var(--muted); font-weight: 600; font-size: .95rem; font-style: italic; opacity: .85; }

/* ===== Sections ===== */
.section { padding: clamp(48px, 5.5vw, 72px) 0; position: relative; }
.section-alt { background: none; border-top: 0; border-bottom: 0; backdrop-filter: none; }
.section-eyebrow {
  display: block; text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--grad); background-size: 220% 220%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: gradShift 7s ease-in-out infinite;
}
.section h2 { max-width: 24ch; text-align: center; margin: 0 auto; }
.section-intro { color: var(--muted); font-size: 1.06rem; max-width: 66ch; margin: 18px auto 0; text-align: center; }
.section-intro strong { color: var(--ink-soft); }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.22, .8, .26, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Karty (glass + spotlight za kursorem) ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.cards-5 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.card, .prod-card, .track, .price-card, .why-card, .problem-row, .team-card, .steps li {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .22s ease, border-color .25s, box-shadow .3s;
  overflow: hidden;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at calc(var(--gx, 50) * 1%) calc(var(--gy, 50) * 1%), rgba(101, 99, 255, .16), transparent 65%);
  opacity: 0; transition: opacity .3s ease;
}
.spot:hover::after { opacity: 1; }
.card:hover, .prod-card:hover, .why-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); }
.card { padding: 30px 28px; }
.card-num {
  font-family: var(--font-display); font-size: .85rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.card h3 { margin-bottom: 8px; color: #fff; }
.card p { color: var(--muted); font-size: .97rem; }

/* ===== Tag pill ===== */
.prod-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #b9c8ff; background: rgba(101, 99, 255, .13); border: 1px solid rgba(101, 99, 255, .35);
  padding: 5px 13px; border-radius: 999px;
}

/* ===== Moduly produktowe ===== */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.prod-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; }
.prod-card .prod-tag { align-self: flex-start; }
.prod-card h3 { color: #fff; }
.prod-card > p { color: var(--muted); font-size: .95rem; }
.prod-card .points { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 9px; }
.prod-card .points li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.prod-card .points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.prod-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); color: var(--ink-soft); font-size: .88rem; font-weight: 500; }
.prod-card.lead-card { border-color: rgba(101, 99, 255, .45); box-shadow: 0 0 0 1px rgba(101, 99, 255, .25), 0 24px 60px rgba(101, 99, 255, .12); }
.prod-card.wide-card { grid-column: 1 / -1; }

/* Karty modulow: front (ikona + kod + tytul + zajawka) + panel hover ze szczegolami */
.mod-card { overflow: hidden; min-height: 320px; }
.mod-code {
  position: absolute; top: 16px; right: 20px;
  font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); opacity: .65; pointer-events: none; user-select: none;
}
.mod-front { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.mod-ico svg { width: 44px; height: 44px; display: block; }
.card-ico { display: block; margin-bottom: 12px; }
.mod-front h3 { color: #fff; margin: 6px 0 0; }
.mod-tagline { color: var(--muted); font-size: .95rem; }
.mod-detail {
  position: absolute; inset: 0; padding: 24px 24px 20px;
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(10, 13, 24, .96); backdrop-filter: blur(10px); border-radius: inherit;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mod-detail > p { color: var(--ink-soft); font-size: .9rem; }
.mod-detail .points li { font-size: .87rem; }
.mod-link { margin-top: auto; font-weight: 600; font-size: .9rem; color: #b9c8ff; transition: color .15s; }
.mod-link:hover { color: #fff; }
.mod-card:hover, .mod-card:focus-within { border-color: rgba(101, 99, 255, .5); }
.mod-card:hover .mod-detail, .mod-card:focus-within .mod-detail { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mod-span2 { grid-column: span 2; }
.mod-card-soon { border-style: dashed; }
.mod-soon {
  align-self: flex-start; display: inline-block;
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #b9c8ff; border: 1px dashed rgba(101, 99, 255, .55); border-radius: 999px; padding: 3px 11px;
}
@media (prefers-reduced-motion: reduce) {
  .mod-detail { transition: none; }
}
@media (max-width: 720px) {
  .mod-card { min-height: 0; }
  .mod-detail {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    padding: 12px 0 0; background: none; backdrop-filter: none;
    border-top: 1px solid var(--border); margin-top: 4px;
  }
}
.prod-card .geo-form-inline { margin-top: 10px; }
.prod-form-note { color: var(--muted); font-size: .85rem; margin: 0; }
.prod-form-note a { color: var(--ink-soft); }
.track-aside > .btn { margin-top: 18px; }

.prod-step { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 36px 0 -4px; max-width: 100%; }
.prod-step:first-child { margin-top: 0; }
.prod-step-num {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(101, 99, 255, .4); color: #b9c8ff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: .74rem; font-weight: 700;
}
.prod-step-label { flex: 1 1 auto; min-width: 0; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prod-step-line { flex: 1 1 32px; min-width: 24px; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }
@media (max-width: 480px) {
  .prod-step-label { flex-basis: 100%; }
  .prod-step-line { display: none; }
}

/* ===== Flagship / wizja (animowana ramka conic-gradient) ===== */
.flagship {
  position: relative; margin-top: 56px; border-radius: 24px; padding: 2px;
  background: conic-gradient(from var(--angle), rgba(56, 225, 255, .5), rgba(101, 99, 255, .6), rgba(196, 107, 255, .5), rgba(254, 208, 181, .45), rgba(56, 225, 255, .5));
  animation: spin 9s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }
.flagship-inner {
  border-radius: 22px; background: linear-gradient(180deg, #0c1024 0%, #090b1a 100%);
  padding: clamp(30px, 4.5vw, 50px); position: relative; overflow: hidden;
}
.flagship-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at calc(50% + var(--mx) * 12%) 0%, rgba(101, 99, 255, .16), transparent 70%);
}
.flagship-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; }
.flagship-head h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: #fff; }
.flagship-lead { color: var(--ink-soft); font-size: 1.03rem; margin-top: 16px; max-width: 70ch; position: relative; }
.flagship-lead strong { color: #fff; }
.flagship-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.flagship-points li {
  display: flex; flex-direction: column; gap: 5px; padding: 16px 18px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.flagship-points li strong { color: #fff; font-size: .98rem; font-weight: 600; }
.flagship-points li span { color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* Diagram przeplywu (SVG) */
.flow-wrap { margin-top: 34px; position: relative; }
.flow-svg { width: 100%; height: auto; }
.flow-dash { stroke-dasharray: 7 7; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -14; } }

/* ===== Kroki (kontrola) ===== */
.control-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; margin-top: 52px; align-items: stretch; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 18px; padding: 22px 24px; }
.step-n {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff;
  background: var(--grad-btn); background-size: 180% 180%; animation: gradShift 6s ease-in-out infinite;
  box-shadow: 0 8px 22px rgba(101, 99, 255, .35);
}
.steps h3 { margin-bottom: 4px; color: #fff; }
.steps p { color: var(--muted); font-size: .94rem; }
.steps.steps-solo { max-width: 860px; margin: 52px auto 0; }
#jak-dziala h2 { max-width: 34ch; }
#platforma h2, #wyniki h2 { max-width: 34ch; }
.problem-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; }
.problem-copy .section-eyebrow { text-align: left; }
.problem-copy h2 { text-align: left; margin: 0; max-width: none; }
.problem-copy .section-intro { text-align: left; margin: 18px 0 0; max-width: 46ch; }
.problem-list { display: grid; gap: 14px; }
.problem-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; }
.sec-ico { flex: none; width: 68px; align-self: center; display: grid; place-items: center; opacity: .75; pointer-events: none; }
.sec-ico svg { width: 44px; height: 44px; display: block; }
.row-label {
  position: absolute; top: 18px; right: 22px;
  font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); opacity: .7; pointer-events: none; user-select: none;
}
.problem-row-body h3 { color: #fff; margin: 2px 0 5px; font-size: 1.06rem; }
.problem-row-body p { color: var(--muted); font-size: .92rem; }
.statement.statement-wide { max-width: none; }

/* Pulpit akceptacji - mock */
.accept-panel {
  background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: var(--radius);
  backdrop-filter: blur(16px); padding: 24px; display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.accept-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 10px;
  border-bottom: 1px solid var(--border); font-size: .92rem; color: var(--ink-soft);
}
.accept-row:last-of-type { border-bottom: 0; }
.accept-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conf { flex: none; font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 8px; }
.conf-hi { background: rgba(52, 211, 153, .14); color: var(--ok); }
.conf-mid { background: rgba(251, 191, 36, .14); color: var(--warn); }
.accept-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.accept-foot .fake-btn {
  font-size: .85rem; font-weight: 700; color: #fff; padding: 9px 18px; border-radius: 999px;
  background: var(--grad-btn); background-size: 180% 180%; animation: gradShift 6s ease-in-out infinite;
}
.accept-foot span { color: var(--muted); font-size: .85rem; }

/* ===== Stats (count-up) ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.stat { text-align: center; padding: 26px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(12px); }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.05;
  background: var(--grad); background-size: 220% 220%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: gradShift 7s ease-in-out infinite;
}
.stat-num .stat-label { display: block; font-family: var(--font); font-size: 1rem; font-weight: 600; -webkit-text-fill-color: var(--ink); color: var(--ink); margin-top: 8px; letter-spacing: 0; }
.stat p { color: var(--muted); font-size: .92rem; margin-top: 12px; }
.disclaimer { color: var(--muted); font-size: .85rem; margin: 30px auto 0; max-width: 82ch; text-align: center; }

/* ===== Dlaczego teraz ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; }
.why-card { padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.why-card h3 { color: #fff; font-size: 1.25rem; }
.why-card p { color: var(--muted); font-size: .98rem; }
.why-card .prod-tag { align-self: flex-start; }
.statement {
  max-width: 800px; margin: 44px auto 0; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.statement p {
  font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.3;
  background: var(--grad); background-size: 220% 220%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: gradShift 7s ease-in-out infinite;
}
.statement span { display: block; margin-top: 16px; color: var(--ink-soft); font-size: 1.02rem; font-weight: 500; }

/* ===== Dla kogo - dwa tory ===== */
.tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.track { display: flex; flex-direction: column; gap: 14px; padding: 34px 30px; }
.track h3 { color: #fff; }
.track > p { color: var(--muted); font-size: .97rem; }
.track .prod-tag { align-self: flex-start; }
.check-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink-soft); font-size: .98rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(101, 99, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%23a5b4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(101, 99, 255, .4);
}
.track-aside {
  max-width: 780px; margin: 28px auto 0; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; backdrop-filter: blur(12px);
}
.aside-q {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.track-aside > p:not(.aside-q) { color: var(--muted); }
.track-aside .geo-form-inline { margin: 20px auto 0; }

/* ===== Integracje ===== */
.integrations-snapshot .section-intro { max-width: 74ch; }
.integration-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 30px;
  margin-top: 52px;
  align-items: stretch;
}
.integration-proof-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.integration-proof-copy h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  max-width: 18ch;
}
.integration-proof-copy p {
  color: var(--muted);
  font-size: .98rem;
  max-width: 62ch;
}
.integration-proof-copy .hero-cta {
  justify-content: flex-start;
  margin: 8px 0 0;
}
.integration-proof-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.integration-proof-panel img,
.integration-logo-tile {
  min-width: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  border: 1px solid rgba(218, 224, 235, .98);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 28px rgba(3, 7, 18, .16);
}
.integration-proof-panel img {
  width: 100%;
  height: 70px;
  padding: 16px;
  object-fit: contain;
}
.integration-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.integration-routes article,
.integration-category-card,
.integration-system {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.integration-routes article {
  padding: 22px 24px;
}
.integration-routes strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.integration-routes span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.integrations-page .hero-inner h1 {
  max-width: 15ch;
}
.integration-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.integration-hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
}
.integration-hero-stats strong {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.08rem;
}
.integration-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 960px;
  margin-top: 28px;
}
.integration-category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .035);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .9rem;
}
.integration-category-nav span {
  color: var(--cyan);
  font-family: var(--font-display);
}
.integration-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 46px;
}
.integration-flow div {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .035);
}
.integration-flow div::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 14px;
  height: 1px;
  background: var(--border-strong);
}
.integration-flow div:last-child::after {
  display: none;
}
.integration-flow strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.integration-flow span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.integration-kb-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .035);
}
.integration-kb-strip strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.integration-kb-strip span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.integration-featured-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.integration-logo-tile {
  display: grid;
  grid-template-rows: 62px auto;
  align-items: center;
  justify-items: center;
  gap: 8px;
  padding: 14px 12px;
  color: #293044;
  font-size: .76rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}
.integration-logo {
  width: 100%;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(3, 7, 18, .08));
}
.integration-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.integration-category-card {
  padding: 24px 22px;
}
.integration-category-card h3 {
  color: #fff;
  margin-top: 14px;
}
.integration-category-card p {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 8px;
}
.integration-list-section {
  padding-top: clamp(48px, 6vw, 78px);
}
.integration-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.integration-system {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}
.integration-system-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.integration-system-logo {
  flex: none;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid rgba(218, 224, 235, .98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 28px rgba(3, 7, 18, .18);
}
.integration-system-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.integration-system h3 {
  color: #fff;
  font-size: 1.02rem;
}
.integration-system-head span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}
.integration-system p {
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.5;
}
.integration-system .integration-scope {
  color: var(--ink-soft);
}
.integration-system-foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.integration-system-foot code {
  display: none;
}
.integration-system-foot a,
.integration-kb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(56, 225, 255, .32);
  background: rgba(56, 225, 255, .08);
  color: #dff9ff;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
}
.integration-system-foot a:hover,
.integration-kb-link:hover {
  border-color: rgba(52, 211, 153, .55);
  background: rgba(52, 211, 153, .12);
  color: #ffffff;
}
.integration-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.integration-faq article {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}
.integration-faq h3 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.integration-faq p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

/* ===== Cennik ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 14px; padding: 34px 30px; }
.price-card .prod-tag { align-self: flex-start; }
.price-amount { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.price-amount span { font-family: var(--font); font-size: .9rem; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.price-desc { color: var(--muted); font-size: .95rem; }
.price-list { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 10px; }
.price-list li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(101, 99, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%23a5b4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(101, 99, 255, .4);
}
.price-card .btn { margin-top: auto; }
.price-wrap-featured {
  border-radius: 22px; padding: 2px;
  background: conic-gradient(from var(--angle), rgba(56, 225, 255, .6), rgba(101, 99, 255, .7), rgba(196, 107, 255, .6), rgba(254, 208, 181, .5), rgba(56, 225, 255, .6));
  animation: spin 8s linear infinite;
}
.price-wrap-featured .price-card { border: 0; border-radius: 20px; height: 100%; background: linear-gradient(180deg, #0d1126, #090b1a); }

/* ===== Firma ===== */
.why-us { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.services-strip {
  margin-top: 30px; padding: 22px 28px; text-align: center;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--muted); font-size: .96rem; backdrop-filter: blur(8px);
}
.services-strip strong { color: var(--ink-soft); font-weight: 600; }

/* Zespol */
.team { margin-top: 56px; }
.team .trusted-label { text-align: center; margin-bottom: 26px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 520px)); gap: 22px; justify-content: center; }
.team-card { display: flex; gap: 24px; padding: 28px; align-items: flex-start; }
.team-card:hover, .team-card:focus-within { border-color: rgba(101, 99, 255, .5); }
.team-photo {
  flex: none; width: 148px; height: 148px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border-strong);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: filter .3s ease, transform .3s ease; }
.team-card:hover .team-photo img { filter: saturate(1.1); transform: scale(1.04); }
.team-photo-ph {
  display: grid; place-items: center;
  background: var(--grad-btn); background-size: 180% 180%; animation: gradShift 6s ease-in-out infinite;
}
.team-photo-ph span { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: #fff; }
.team-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.team-body h3 { color: #fff; font-size: 1.45rem; letter-spacing: -.01em; }
.team-bio { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.team-contact { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 9px; }
.team-contact a { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .92rem; font-weight: 500; transition: color .15s; min-width: 0; }
.team-contact a:hover { color: #fff; }
.team-contact svg { width: 17px; height: 17px; flex: none; }
.team-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-role {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #b9c8ff; background: rgba(101, 99, 255, .13); border: 1px solid rgba(101, 99, 255, .35);
  padding: 4px 11px; border-radius: 999px;
}
.team-body p { color: var(--muted); font-size: .92rem; line-height: 1.55; margin-top: 4px; }
.team-link { align-self: flex-start; margin-top: 6px; font-size: .9rem; font-weight: 600; color: var(--blue); }
.team-link:hover { text-decoration: underline; }
@media (max-width: 880px) { .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
@media (max-width: 480px) { .team-card { flex-direction: column; } }

/* Przelacznik jezyka w nav */
.site-nav .lang-link {
  font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 5px 12px; color: var(--ink-soft);
}
.site-nav .lang-link::after { display: none; }
.site-nav .lang-link:hover { border-color: var(--blue); color: #fff; }

/* Marquee logos */
.trusted { margin-top: 56px; text-align: center; }
.trusted-label { font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; align-items: center; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-logo { height: 46px; width: auto; opacity: .55; transition: opacity .25s; }
.client-logo:hover { opacity: 1; }

/* ===== CTA / formularz ===== */
.section-cta { position: relative; }
.cta-ring {
  max-width: 760px; margin: 0 auto; border-radius: 26px; padding: 2px;
  background: conic-gradient(from var(--angle), rgba(56, 225, 255, .45), rgba(101, 99, 255, .55), rgba(196, 107, 255, .45), rgba(254, 208, 181, .4), rgba(56, 225, 255, .45));
  animation: spin 10s linear infinite;
}
.cta-card {
  background: linear-gradient(180deg, #0d1126 0%, #090b1a 100%);
  border-radius: 24px; padding: clamp(30px, 4.5vw, 50px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
}
/* app.js przelacza [hidden] na kartach - ring (gradientowa ramka) znika razem z karta */
.cta-ring:has(> .cta-card[hidden]) { display: none; }
.cta-ring + .cta-ring { margin-top: 0; }
.cta-head { text-align: center; margin-bottom: 30px; }
.cta-head h2 { max-width: none; }

.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.field input {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-input); transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder { color: #5a6178; }
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(101, 99, 255, .25); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--violet); width: 17px; height: 17px; flex: none; }
.form-error { color: #fca5a5; font-size: .92rem; font-weight: 500; margin-top: -4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success + wideo (uzywane przez app.js) */
.success-card { text-align: center; }
.success-badge {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px;
  color: #06281c; background: linear-gradient(135deg, #34d399, #10b981); box-shadow: 0 10px 30px rgba(52, 211, 153, .4);
}
.success-card h2 { max-width: none; }
.success-card .section-intro { margin: 14px auto 26px; }
.video-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #05070f; border: 1px solid var(--border);
}
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center;
  color: #cbd2e6; background: radial-gradient(60% 60% at 50% 0%, rgba(101, 99, 255, .25), transparent 60%), #05070f;
}
.video-placeholder .play {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}
.video-placeholder strong { color: #fff; font-size: 1.05rem; }
.video-placeholder span { font-size: .9rem; color: #97a0bd; }
.success-foot { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.panel-cta { margin: 0 0 22px; }
.panel-cta-note { margin-top: 10px; color: var(--muted); font-size: .86rem; }
.panel-mail-status {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(52, 211, 153, .24);
  background: rgba(52, 211, 153, .075);
  color: var(--ink-soft);
}
.panel-mail-status strong { color: #fff; }
.form-ok {
  color: var(--ok, #34d399);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.45;
}
.account-section { padding-top: clamp(96px, 13vw, 150px); }
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}
.account-aside {
  padding-top: 14px;
}
.account-aside h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: .98;
  max-width: 9ch;
}
.account-aside .section-intro {
  margin: 22px 0 0;
  max-width: 44ch;
}
.account-steps {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}
.account-steps div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
}
.account-steps strong {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(56, 225, 255, .1);
  border: 1px solid rgba(56, 225, 255, .28);
  color: var(--cyan);
  font-family: var(--font-display);
}
.account-card {
  background: linear-gradient(180deg, #0d1126 0%, #090b1a 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .035);
}
.account-tab {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.account-tab.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.account-head {
  text-align: left;
  margin-bottom: 24px;
}
.account-head .section-intro {
  margin-top: 12px;
}
.account-panel[hidden] { display: none; }
.account-profile-form {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.account-profile-form[hidden] { display: none; }
.account-next-step {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(52, 211, 153, .24);
  background: rgba(52, 211, 153, .075);
  color: var(--ink-soft);
}
.account-next-step strong {
  color: #fff;
}
.account-inline-link {
  color: var(--cyan);
  font-weight: 800;
}

/* ===== Baza wiedzy ===== */
.kb-page .bg { opacity: .72; }
.kb-main { padding-top: 76px; }
.kb-shell {
  max-width: 1040px;
}
.kb-shell h1 {
  max-width: 12ch;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: .98;
  margin-top: 12px;
}
.kb-shell h2 {
  margin-top: 46px;
  color: #fff;
}
.kb-doc-grid,
.kb-category-list,
.kb-system-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.kb-doc-grid {
  grid-template-columns: repeat(3, 1fr);
}
.kb-doc-grid a,
.kb-category-list a,
.kb-system-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}
.kb-doc-grid a {
  display: grid;
  gap: 8px;
  padding: 20px;
}
.kb-doc-grid strong,
.kb-category-list span,
.kb-system-card h3 {
  color: #fff;
}
.kb-doc-grid span,
.kb-system-card p,
.kb-system-card dt,
.kb-system-card dd {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
.kb-category-list {
  grid-template-columns: repeat(2, 1fr);
}
.kb-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}
.kb-category-list strong {
  color: var(--cyan);
  font-family: var(--font-display);
}
.kb-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.kb-anchor-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .035);
  font-weight: 700;
  font-size: .88rem;
}
.kb-anchor-nav span {
  color: var(--cyan);
}
.kb-system-section {
  scroll-margin-top: 100px;
}
.kb-system-list {
  grid-template-columns: repeat(2, 1fr);
}
.kb-system-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 20px;
}
.kb-system-card h3 {
  font-size: 1.04rem;
}
.kb-system-card p {
  margin-top: 8px;
}
.kb-system-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.kb-system-card dt {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.kb-system-card dd {
  margin: 2px 0 0;
}
.kb-system-card code {
  color: var(--ink-soft);
  white-space: normal;
  overflow-wrap: anywhere;
}
.kb-system-card a {
  color: var(--cyan);
  font-weight: 800;
}
.kb-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(56, 225, 255, .28);
  background: rgba(56, 225, 255, .08);
  white-space: nowrap;
}

/* ===== Publiczna dokumentacja ===== */
.docs-page {
  margin: 0;
  background: #fff;
  color: #1f2328;
  font-family: var(--font);
}
.docs-page a {
  color: #0b57d0;
  text-decoration: none;
}
.docs-page a:hover {
  text-decoration: underline;
}
.docs-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}
.docs-brand {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
  background: #0b1020;
}
.docs-brand img {
  height: 26px;
  width: auto;
}
.docs-brand:hover {
  text-decoration: none;
}
.docs-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .93rem;
  font-weight: 700;
}
.docs-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 820px) 220px;
  gap: 44px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 36px 28px 80px;
}
.docs-sidebar,
.docs-toc {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow: auto;
}
.docs-sidebar {
  display: grid;
  gap: 3px;
  border-right: 1px solid #eceff3;
  padding-right: 18px;
}
.docs-sidebar span,
.docs-toc strong {
  color: #6b7280;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.docs-sidebar a,
.docs-toc a {
  border-radius: 8px;
  color: #4b5563;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.35;
}
.docs-sidebar a {
  padding: 9px 10px;
}
.docs-sidebar a[aria-current="page"],
.docs-sidebar a:hover {
  color: #111827;
  background: #f3f6fb;
  text-decoration: none;
}
.docs-toc {
  display: grid;
  gap: 8px;
  border-left: 1px solid #eceff3;
  padding-left: 18px;
}
.docs-toc a {
  padding: 3px 0;
}
.docs-content {
  min-width: 0;
  padding-bottom: 40px;
}
.docs-eyebrow {
  color: #0b57d0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.docs-content h1 {
  color: #111827;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
}
.docs-lead {
  max-width: 74ch;
  color: #4b5563;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 18px 0 0;
}
.docs-content section {
  scroll-margin-top: 92px;
  margin-top: 46px;
}
.docs-content h2 {
  color: #111827;
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0 0 14px;
}
.docs-content h3 {
  color: #111827;
  font-size: 1.04rem;
  line-height: 1.3;
  margin: 0 0 10px;
}
.docs-content p,
.docs-content li {
  color: #374151;
  font-size: .98rem;
  line-height: 1.75;
}
.docs-content code {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f6f8fa;
  color: #111827;
  font-size: .9em;
  padding: 2px 5px;
}
.docs-content pre {
  overflow: auto;
  border: 1px solid #d8dee4;
  border-radius: 8px;
  background: #f6f8fa;
  padding: 16px;
}
.docs-content pre code {
  border: 0;
  background: transparent;
  padding: 0;
  white-space: pre;
}
.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.docs-card-grid a,
.docs-system-item {
  border: 1px solid #d8dee4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.docs-card-grid a {
  display: grid;
  gap: 8px;
  padding: 18px;
}
.docs-card-grid strong {
  color: #111827;
}
.docs-card-grid span {
  color: #4b5563;
  font-size: .92rem;
  line-height: 1.55;
}
.docs-steps,
.docs-list,
.docs-checklist {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}
.docs-steps li strong {
  display: block;
  color: #111827;
}
.docs-steps li span {
  display: block;
  color: #4b5563;
}
.docs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d8dee4;
  border-radius: 8px;
  overflow: hidden;
  display: table;
}
.docs-table th,
.docs-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.docs-table th {
  width: 190px;
  color: #111827;
  background: #f6f8fa;
  font-weight: 800;
}
.docs-table td {
  color: #374151;
}
.docs-system-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.docs-system-item {
  padding: 18px;
}
.docs-system-item p {
  margin: 8px 0 0;
}
.docs-system-item a {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
}

/* ===== Footer ===== */
.site-footer { background: rgba(4, 5, 12, .85); color: #c7cee0; padding: 56px 0 40px; border-top: 1px solid var(--border); backdrop-filter: blur(10px); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-inner.footer-ecosystem {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.65fr);
  gap: clamp(30px, 5vw, 64px);
}
.footer-brand .brand-logo { height: 34px; }
.footer-brand p { color: #7e87a0; max-width: 46ch; margin-top: 12px; font-size: .94rem; }
.footer-brand .footer-claim { color: #fff; font-weight: 700; font-size: 1.02rem; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.footer-group { display: grid; align-content: start; gap: 9px; min-width: 0; }
.footer-group h3 {
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--font-display);
  font-size: .9rem;
  line-height: 1.2;
  letter-spacing: 0;
}
.footer-group a {
  color: #c7cee0;
  font-size: .9rem;
  line-height: 1.35;
  transition: color .15s;
}
.footer-group a:hover { color: #fff; }
.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: #5a6178;
  font-size: .86rem;
}
.footer-meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; font-size: .94rem; }
.footer-meta a { color: #c7cee0; transition: color .15s; }
.footer-meta a:hover { color: #fff; }
.footer-meta span { color: #5a6178; font-size: .86rem; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cards-3 { grid-template-columns: 1fr; }
  .cards-5 { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; gap: 28px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-proof { grid-template-columns: 1fr; }
  .integration-proof-panel { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .integration-routes { grid-template-columns: 1fr; }
  .integration-flow { grid-template-columns: repeat(2, 1fr); }
  .integration-flow div::after { display: none; }
  .integration-featured-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .integration-category-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-systems-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-faq { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .footer-inner.footer-ecosystem { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-aside h1 { max-width: 12ch; }
  .flagship-points { grid-template-columns: 1fr; }
  .control-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .tracks { grid-template-columns: 1fr; }
  .why-us { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    margin-left: 0;
    background: rgba(9, 11, 22, .98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-strong);
    padding: 6px 24px 6px;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .28s ease, opacity .2s ease;
  }
  .site-nav a { padding: 11px 0; width: 100%; }
  .site-header.nav-open .site-nav { max-height: 420px; opacity: 1; pointer-events: auto; padding-bottom: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-meta { align-items: flex-start; }
  .footer-links { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .mod-span2 { grid-column: auto; }
  .integration-proof-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .integration-featured-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integration-category-grid,
  .integration-systems-grid,
  .integration-flow { grid-template-columns: 1fr; }
  .account-card { padding: 22px; }
  .integration-proof-copy .hero-cta { width: 100%; }
  .integration-proof-copy .hero-cta .btn { width: 100%; }
  .integration-kb-strip { align-items: flex-start; flex-direction: column; }
  .kb-doc-grid,
  .kb-category-list,
  .kb-system-list,
  .kb-system-card { grid-template-columns: 1fr; }
  .docs-header { align-items: flex-start; flex-direction: column; padding: 14px 18px; }
  .docs-header nav { flex-wrap: wrap; gap: 12px; }
  .docs-layout { grid-template-columns: 1fr; gap: 22px; padding: 24px 18px 64px; }
  .docs-sidebar,
  .docs-toc { position: static; max-height: none; border: 0; padding: 0; }
  .docs-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-sidebar span { grid-column: 1 / -1; }
  .docs-toc { display: none; }
  .docs-card-grid { grid-template-columns: 1fr; }
  .docs-table { display: block; overflow-x: auto; }
  .kb-card-cta { justify-self: start; }
  .hero-inner h1 br { display: none; }
  .hero-inner .lead br { display: none; }
  #problem br, #jak-dziala br, #platforma h2 br, #platforma .section-intro br, #wyniki h2 br,
  #dlakogo .section-intro br, #integracje .section-intro br, #integracje .integration-proof-copy br,
  #o-nas h2 br, #o-nas .section-intro br { display: none; }
  .row-label { position: static; display: block; margin-bottom: 6px; }

  /* Karty ikona+tekst (.steps li, .problem-row): na mobile ikona nad tekstem,
     tak jak w sekcji #platforma (.mod-front), zamiast ikony po lewej. */
  .steps li, .problem-row { flex-direction: column; }
  .steps li .sec-ico, .problem-row .sec-ico { align-self: flex-start; width: auto; }

  /* CTA nie moze rozszerzac strony w poziomie, gdy etykieta jest dluzsza. */
  .btn { white-space: normal; text-align: center; overflow-wrap: break-word; }

  .accept-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .header-inner { gap: 8px; }
  .header-inner .btn { padding: 8px 14px; font-size: .82rem; margin-left: 0; }
  .kpi-row { gap: 8px; }
  .kpi { padding: 8px 14px; font-size: .85rem; }
  .integration-proof-panel { gap: 8px; padding: 12px; }
  .integration-proof-panel img { height: 58px; padding: 12px; }
  .account-tabs { grid-template-columns: 1fr; }
  .account-aside h1 { font-size: 2.2rem; }
  .integration-system { padding: 18px; }
  .integration-system-foot { align-items: flex-start; flex-direction: column; }
}

/* ===== Dostepnosc: ograniczony ruch ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg { filter: none; }
  .bg-blob, .grad, .btn-primary, .stat-num, .section-eyebrow, .kpi strong, .statement p,
  .flagship, .price-wrap-featured, .cta-ring, .marquee-track, .scan-panel::before,
  .panel-bar span, .step-n, .accept-foot .fake-btn, .eyebrow::before, .dot-live::before, .flow-dash {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scan-panel { transform: none; transition: none; }
  .panel-bar span { width: var(--w, 80%); transition: none; }
}

/* ============================================================
   v4 - Optymalizacje wydajnosci (bez zmian wizualnych)
   Strategia:
   1. isolation:isolate na elementach z backdrop-filter => GPU
      otrzymuje wlasna warstwe ktora moze cache'owac rasteryzacje
      blur zamiast przeliczac jej co klatke.
   2. CSS containment => izoluje paint/layout w obrebie boxa,
      animowane elementy nie powoduja repaintow w reszcie strony.
   3. content-visibility:auto => przegladarka pomija render sekcji
      poza viewportem (tnie First Paint / LCP).
   4. Pauza animacji w zakladce w tle (klasa z v4.js).
   ============================================================ */

/* 1. Izolacja warstw GPU dla elementow z backdrop-filter.
   isolation:isolate tworzy nowy stacking context bez kolizji
   z istniejacymi transform-ami (scan-panel, hover btn itd). */
.site-header,
.eyebrow,
.kpi,
.btn-ghost,
.scan-panel,
.accept-panel,
.statement,
.stat,
.track-aside,
.services-strip,
.section-alt,
.site-footer,
.card,
.prod-card,
.track,
.price-card,
.why-card,
.steps li {
  isolation: isolate;
}

/* 2. CSS containment - odcina propagacje paint/layout.
   Krytyczne dla 3 animowanych bg-blob i wszystkich kart z blur. */
.bg { contain: layout style paint; }
.bg-blob { contain: layout style paint; }
.marquee { contain: layout paint; }
.card,
.prod-card,
.track,
.price-card,
.why-card,
.integration-routes article,
.integration-category-card,
.integration-system,
.integration-faq article,
.steps li,
.scan-panel,
.accept-panel,
.statement,
.stat,
.track-aside,
.services-strip {
  contain: layout paint;
}
.flagship,
.price-wrap-featured,
.cta-ring {
  contain: layout paint;
}

/* 3. Pomijanie renderu sekcji poza viewportem.
   contain-intrinsic-size daje przegladarce orientacyjna wysokosc
   zeby scrollbar / scroll-position byly poprawne. Sekcje w viewport
   sa rysowane normalnie - to zerowy koszt wizualny. */
.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* Dev v6: sekcje mają być gotowe zanim użytkownik do nich dojedzie.
   Poprzednie content-visibility:auto oszczędzało render, ale dawało odczuwalne
   "dorysowywanie" przy scrollu na tej stronie sprzedażowej. */
.section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

/* 4. Pauza animacji gdy zakladka jest w tle. Klasa zarzadzana
   z v4.js przez visibilitychange. Oszczednosc CPU rzedu 100%
   gdy uzytkownik patrzy w inna karte. */
.tab-hidden *,
.tab-hidden *::before,
.tab-hidden *::after {
  animation-play-state: paused !important;
}

/* 5. Cleanup will-change po zakonczeniu reveal-a.
   Bez tego browser trzyma alokowana warstwe GPU forever. */
.reveal.in { will-change: auto; }

/* ============================================================
   v5 - Override warstwa (CPU-heavy redesign).
   Nadpisuje wszystkie problematyczne reguly z bazy v3/v4.
   Cel: zredukowac glowne zrodla zuzycia CPU w przegladarce klienta,
   bez utraty kluczowej estetyki (hero + przyciski + dynamiczne tlo).
   ============================================================ */

/* --- 1. .bg bez hue-rotate na scroll. ---
   filter:hue-rotate na fixed full-viewport elemencie wymusza repaint
   calej strony za kazdym pixelem scrolla. */
.bg { filter: none; }

/* --- 2. bg-blob: animation pauzowane domyslnie, transform bez scroll. ---
   Pelny ruch tylko gdy hero w viewporcie (klasa .hero-active sterowana w v5.js).
   Ruch jest pochodna tylko myszy (parallax), bez sciagania var(--scroll). */
.bg-blob { animation-play-state: paused; }
.hero-active .bg-blob { animation-play-state: running; }
.bg-blob-1 { transform: translate3d(calc(var(--mx) * 32px), calc(var(--my) * 32px), 0); }
.bg-blob-2 { transform: translate3d(calc(var(--mx) * -28px), calc(var(--my) * -22px), 0); }
.bg-blob-3 { transform: translate3d(calc(var(--mx) * 20px), calc(var(--my) * 24px), 0); }

/* --- 3. backdrop-filter blur ograniczony do 2 miejsc (header + hero panel). ---
   Blur to najdrozsza operacja w CSS. Zostawiamy tylko site-header i scan-panel.
   Reszta - czyste rgba background. */
.eyebrow,
.kpi,
.btn-ghost,
.accept-panel,
.statement,
.stat,
.track-aside,
.services-strip,
.section-alt,
.site-footer,
.card,
.prod-card,
.track,
.price-card,
.why-card,
.steps li,
.cta-card,
.aud-shop,
.aud-card,
.aud-check-col,
.aud-consult { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* --- 4. gradShift wylaczony wszedzie poza .grad i .btn-primary. ---
   gradShift animuje background-position na background-size:220% - to
   ciagly paint. Zostawione tam, gdzie ma znaczenie: tekst .grad (hero h1)
   i .btn-primary (CTA). Pozostalym wystarczy statyczny gradient. */
.kpi strong,
.stat-num,
.section-eyebrow,
.statement p,
.step-n,
.accept-foot .fake-btn,
.team-photo-ph,
.panel-bar span,
.scan-panel::before,
.aud-find-metric-num,
.aud-kpi-num { animation: none; }

/* --- 5. spin/conic-gradient ramki: spowolnione, jedna usunieta. --- */
.flagship { animation-duration: 30s; }
.cta-ring { animation-duration: 30s; }
.price-wrap-featured { animation: none; background: linear-gradient(120deg, rgba(56, 225, 255, .55), rgba(101, 99, 255, .65) 45%, rgba(196, 107, 255, .55)); }

/* --- 6. pulse na dot-live i eyebrow: spowolniony. --- */
.eyebrow::before,
.dot-live::before,
.aud-live::before { animation-duration: 3.2s; }

/* --- 7. flow-dash i marquee: spowolnione. --- */
.flow-dash { animation-duration: 2.4s; }
.marquee-track { animation-duration: 60s; }

/* --- Formularz audytu GEO w hero (self-serve lejek) ----------------------- */
.geo-form { width: min(560px, 100%); margin: 28px auto 0; }
.geo-form-row { display: flex; gap: 10px; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border-strong); backdrop-filter: blur(12px); }
.geo-form-row input,
.geo-form-row textarea { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 10px; border: 1px solid transparent; background: rgba(10, 12, 22, .65); color: var(--ink); font-size: 1rem; font-family: inherit; }
.geo-form-row textarea { min-height: 52px; resize: vertical; line-height: 1.35; }
.geo-form-row input:focus,
.geo-form-row textarea:focus { outline: none; border-color: var(--cyan, #38e1ff); }
.geo-form-row .btn { white-space: nowrap; }
.geo-form .form-error { margin-top: 10px; text-align: center; }
.geo-form-inline { width: min(720px, 100%); margin: 0; }
.statement-audit { align-items: stretch; }
.statement-audit > span { display: block; margin-top: 14px; }
.statement-audit .geo-form-inline { margin-top: 18px; }
@media (max-width: 560px) {
  .geo-form-row { flex-direction: column; }
  .geo-form-row .btn { width: 100%; }
  .ai-reel { max-width: 7.2em; }
  .steps,
  .steps li,
  .accept-panel {
    max-width: 100%;
    min-width: 0;
  }
  .marquee {
    max-width: 100%;
    overflow: hidden;
  }
}

/* --- Stopka: dane spolki + wieksza siatka linkow --------------------------- */
.footer-company { margin-top: 12px; font-size: .8rem; color: var(--muted); line-height: 1.6; }

/* Baner cookies jest wstrzykiwany przez app.js ze stylami inline
   (dziala tez na stronach bez v5.css: /en, platformowe, prawne). */

/* Tymczasowy widok produkcyjny: tylko "O nas" i formularz kontaktowy.
   Dev oraz GitHub zostaja na pelnej wersji strony. */
.temp-prod-lite main > section:not(#o-nas):not(#rejestracja) {
  display: none;
}

.temp-prod-lite #o-nas {
  padding-top: clamp(110px, 12vw, 150px);
}

.temp-prod-lite #rejestracja {
  padding-top: clamp(56px, 7vw, 90px);
}

.temp-prod-lite main .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.temp-prod-lite #video-wrap,
.temp-prod-lite #panel-cta,
.temp-prod-lite .footer-links .footer-group:nth-child(2),
.temp-prod-lite .footer-links .footer-group:nth-child(3) {
  display: none;
}

/* --- Strona-filar baza wiedzy (/czym-jest-geo) --------------------------- */
.article-hero { padding: clamp(120px, 15vh, 168px) 0 clamp(20px, 3vw, 40px); }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 24ch; margin: 14px 0 20px; }
.article-lead { color: var(--muted); font-size: 1.12rem; line-height: 1.65; max-width: 62ch; }
.article-lead strong { color: var(--ink-soft); }
.article-meta { margin-top: 18px; font-size: .9rem; color: var(--muted); opacity: .8; }
.dfn-quote { margin: 30px auto 0; padding: 26px 30px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255, 255, 255, .03); max-width: 780px; }
.dfn-quote p { font-size: 1.13rem; line-height: 1.62; color: var(--ink-soft); }
.article-cta { text-align: center; margin-top: 34px; }
@media (max-width: 719px) {
  .article-hero h1 br { display: none; }
}
