/* ========================================================
   Kreo Studio — custom styles (uzupełnienie Tailwind CDN)
   ======================================================== */

html { scroll-behavior: smooth; }
body { font-feature-settings: "ss01","cv11"; }

/* ============== CUSTOM SCROLLBAR ============== */
/* Firefox */
html { scrollbar-width: thin; scrollbar-color: #FF6A2B #0F100E; }
/* WebKit (Chrome / Edge / Safari) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track {
  background: #0F100E;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2A2C28 0%, #FF6A2B 80%);
  border-radius: 10px;
  border: 2px solid #0F100E;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6A2B;
  background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: #0F100E; }
/* Skróć szerokość na mobile (poza tym natywne paski są zwykle ukryte) */
@media (max-width: 768px) {
  ::-webkit-scrollbar { width: 6px; height: 6px; }
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ============== HEADER ============== */
#site-header {
  background: rgba(17,18,16,0);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
}
#site-header.scrolled {
  background: rgba(17,18,16,0.78);
  border-bottom-color: #2A2C28;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-link {
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}
.nav-link:hover { color: #F4F3EE; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: #FF6A2B;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.mobile-link {
  padding: 10px 0;
  border-bottom: 1px solid #2A2C28;
}

/* ============== BUTTONS ============== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 14px 22px;
  background: #FF6A2B;
  color: #111210;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: background .25s ease, transform .25s ease, box-shadow .35s ease;
  will-change: transform;
  box-shadow: 0 6px 24px -10px rgba(255,106,43,0.55);
}
.btn-primary:hover {
  background: #E2551B;
  box-shadow: 0 14px 40px -10px rgba(255,106,43,0.7);
}
.btn-primary:focus-visible { outline: 2px solid #FF6A2B; outline-offset: 3px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: #F4F3EE;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 14px 6px;
  transition: color .25s ease;
}
.btn-ghost:hover { color: #FF6A2B; }
.underline-anim {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .35s cubic-bezier(.7,0,.2,1);
}
.btn-ghost:hover .underline-anim {
  background-size: 0% 1px;
  background-position: 100% 100%;
}

/* ============== HERO ============== */
.split-line { overflow: hidden; padding: 0 0 .04em 0; }
.split-line .char { display: inline-block; will-change: transform; }

/* H1 hero — żadnych dywizów / dzielenia wyrazów */
.hero-h1,
#hero h1 {
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  overflow-wrap: break-word; /* w razie ekstremalnie wąskiego viewportu — łam, nie wypychaj */
  word-break: normal;
  text-wrap: balance;
  max-width: 18ch;
}
.hero-h1-balance {
  text-wrap: balance;
  max-width: 18ch;
}
@media (min-width: 768px)  { .hero-h1, .hero-h1-balance { max-width: 20ch; } }
@media (min-width: 1280px) { .hero-h1, .hero-h1-balance { max-width: 22ch; } }
@media (max-width: 480px)  { .hero-h1, .hero-h1-balance { max-width: 14ch; } }
.hero-line { display: block; }
.hero-line-italic {
  color: rgba(244,243,238,0.55);
  font-style: italic;
  font-weight: 500;
  margin-top: 0.04em;
}

.stat-num {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(244,243,238,0.55);
  letter-spacing: 0.01em;
}

/* ============== HERO BACKGROUND (fade-clip — bez glitchów na krawędziach) ============== */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;          /* zatrzymaj wszystkie blur'y w obrębie hero */
}
.hero-bg-glow-1,
.hero-bg-glow-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-glow-1 {
  top: -180px; right: -180px;
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(255,106,43,0.28), rgba(255,106,43,0) 70%);
  filter: blur(20px);
}
.hero-bg-glow-2 {
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(255,106,43,0.10), rgba(255,106,43,0) 70%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 0 0;
  /* Vertical fade — siatka znika łagodnie u góry i u dołu (eliminuje twarde krawędzie/„kwadraty") */
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%, #000 12%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom,
    transparent 0%, #000 12%, #000 78%, transparent 100%);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
.scroll-cue-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, #FF6A2B);
  animation: scrollCue 2.2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============== DEMO PERKS — co dostajesz w demo (pod CTA) ============== */
.demo-perks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
}
.demo-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(244,243,238,0.72);
}
.demo-perks-check {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,106,43,0.15);
  color: #FF6A2B;
  margin-top: 2px;
}
.demo-perks-check svg { width: 11px; height: 11px; stroke-width: 2.6; }

.demo-microcopy {
  margin: 12px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(244,243,238,0.55);
  letter-spacing: 0.01em;
}
.demo-microcopy svg { width: 13px; height: 13px; color: #FF6A2B; }
.demo-microcopy-form { margin-top: 14px; }

/* ============== TRUST BAR (pod formularzem) ============== */
.trust-bar {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(244,243,238,0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  opacity: 0.85;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(244,243,238,0.65);
  letter-spacing: 0.01em;
}
.trust-item svg {
  width: 13px; height: 13px;
  color: #FF6A2B;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .trust-bar { gap: 6px 14px; }
  .trust-item { font-size: 11px; }
}

/* ============== KREO FLOW (gotowy premium SVG) ============== */
.kreo-flow {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  height: auto;
}
@media (min-width: 768px) {
  .kreo-flow {
    margin-left: auto;
    margin-right: 0;
  }
}
.kreo-flow > svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Mobile — uproszczona, mniejsza */
@media (max-width: 767px) {
  .kreo-flow {
    max-width: 360px;
    margin: 24px auto 0;
  }
}
/* Reduced motion — animacje SMIL pauzowane w main.js (.pauseAnimations()),
   + dodatkowo CSS-side wyłącz na wszelki wypadek */
@media (prefers-reduced-motion: reduce) {
  .kreo-flow svg * { animation: none !important; }
}

/* ============== HERO VIZ (v10 spec — native SMIL — zostawione jako dead-CSS) ============== */
.hero-viz {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.hero-viz-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 55%; height: 55%;
  background: radial-gradient(circle, rgba(255,106,43,0.30), rgba(255,106,43,0) 65%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
  animation: vizGlowPulse 4s ease-in-out infinite;
}
.hero-viz-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

/* prefers-reduced-motion: zatrzymujemy SMIL przez JS (patrz main.js); CSS — glow off */
@media (prefers-reduced-motion: reduce) {
  .hero-viz-glow { animation: none; }
}

/* DEAD: stare klasy viz-* (kompatybilność, nie używane) */
@keyframes vizGlowPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1;   }
}
.hero-viz-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

/* Ścieżki — rysują się przy pierwszym wejściu */
.viz-path {
  fill: none;
  stroke: rgba(255,106,43,0.42);
  stroke-width: 1.4;
  stroke-dasharray: 5 6;
  stroke-linecap: round;
  stroke-dashoffset: 100;
  opacity: 0;
  transition: opacity 1.4s ease, stroke-dashoffset 0s;
}
.hero-viz.is-in .viz-path {
  opacity: 1;
  animation: flowDash 9s linear infinite;
}
.hero-viz.is-in .viz-path:nth-child(1) { transition-delay: 0.1s; }
.hero-viz.is-in .viz-path:nth-child(2) { transition-delay: 0.25s; }
.hero-viz.is-in .viz-path:nth-child(3) { transition-delay: 0.4s; }
.hero-viz.is-in .viz-path:nth-child(4) { transition-delay: 0.55s; }
.hero-viz.is-in .viz-path:nth-child(5) { transition-delay: 0.7s; }

/* Sylwetki klientów — fade-in + delikatny float */
.viz-sil {
  opacity: 0;
  transition: opacity .8s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-viz.is-in .viz-sil-1 { opacity: 1; transition-delay: 0.3s; animation: vizSilFloat 4.2s ease-in-out 1.5s infinite; }
.hero-viz.is-in .viz-sil-2 { opacity: 1; transition-delay: 0.5s; animation: vizSilFloat 4.6s ease-in-out 1.8s infinite; }
.hero-viz.is-in .viz-sil-3 { opacity: 1; transition-delay: 0.7s; animation: vizSilFloat 5s   ease-in-out 2.1s infinite; }
.hero-viz.is-in .viz-sil-4 { opacity: 1; transition-delay: 0.9s; animation: vizSilFloat 4.4s ease-in-out 2.4s infinite; }
.hero-viz.is-in .viz-sil-5 { opacity: 1; transition-delay: 1.1s; animation: vizSilFloat 4.8s ease-in-out 2.7s infinite; }
@keyframes vizSilFloat {
  0%, 100% { transform: translateY(0)   scale(1);    }
  50%      { transform: translateY(-3px) scale(1.025); }
}
.viz-sil circle:first-child {
  animation: avatarBreath 4s ease-in-out infinite;
}

/* „Twoja firma" — dominanta, miękki puls */
.viz-firm-aura {
  fill: rgba(255,106,43,0.08);
  animation: vizFirmAura 3s ease-in-out infinite;
}
.viz-firm-mid {
  fill: rgba(255,106,43,0.15);
}
.viz-firm-core {
  filter: drop-shadow(0 0 24px rgba(255,106,43,0.55));
  animation: vizFirmCore 2.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.viz-firm-icon { opacity: 0; transition: opacity .8s ease 1.2s; }
.hero-viz.is-in .viz-firm-icon { opacity: 1; }
@keyframes vizFirmAura {
  0%, 100% { transform: scale(1);    opacity: 0.85; }
  50%      { transform: scale(1.08); opacity: 1;    }
}
@keyframes vizFirmCore {
  0%, 100% { transform: scale(1);    opacity: 0.92; }
  50%      { transform: scale(1.04); opacity: 1;    }
}
.viz-firm-aura,
.viz-firm-core {
  transform-box: fill-box;
  transform-origin: center;
}
.viz-firm-label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.32em;
  fill: rgba(244,243,238,0.7);
  opacity: 0;
  transition: opacity .8s ease 1.4s;
}
.hero-viz.is-in .viz-firm-label { opacity: 1; }

/* Świetliste kulki podróżujące po ścieżkach */
.viz-dot { fill: url(#viz-dot-grad); filter: drop-shadow(0 0 6px rgba(255,106,43,0.85)) drop-shadow(0 0 2px rgba(255,255,255,0.5)); opacity: 0; }
.hero-viz.is-in .viz-dot { opacity: 1; }
.viz-dot-1  { offset-path: path("M 80 90   C 180 110, 260 160, 360 280"); animation: flowMove 5s linear infinite; animation-delay: 1.8s; }
.viz-dot-1b { offset-path: path("M 80 90   C 180 110, 260 160, 360 280"); animation: flowMove 5s linear infinite; animation-delay: 4.0s; }
.viz-dot-2  { offset-path: path("M 50 245  C 160 240, 240 260, 350 295"); animation: flowMove 4.4s linear infinite; animation-delay: 2.2s; }
.viz-dot-3  { offset-path: path("M 80 460  C 180 440, 260 380, 355 320"); animation: flowMove 5.4s linear infinite; animation-delay: 2.6s; }
.viz-dot-4  { offset-path: path("M 240 535 C 260 460, 300 380, 360 320"); animation: flowMove 4.8s linear infinite; animation-delay: 3.0s; }
.viz-dot-5  { offset-path: path("M 290 70  C 320 130, 330 200, 360 275"); animation: flowMove 5.6s linear infinite; animation-delay: 3.4s; }

/* Etykietki źródeł (HTML pigułki nad SVG) */
.viz-src-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(20,22,18,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,106,43,0.22);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(244,243,238,0.85);
  white-space: nowrap;
  z-index: 2;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .6s ease, transform .6s ease;
}
.hero-viz.is-in .viz-src-label { opacity: 1; transform: translateY(0); }
.hero-viz.is-in .viz-src-1 { transition-delay: 0.6s; }
.hero-viz.is-in .viz-src-2 { transition-delay: 0.8s; }
.hero-viz.is-in .viz-src-3 { transition-delay: 1.0s; }
.hero-viz.is-in .viz-src-4 { transition-delay: 1.2s; }
.hero-viz.is-in .viz-src-5 { transition-delay: 1.4s; }
.viz-src-icon {
  width: 14px; height: 14px;
  display: inline-grid; place-items: center;
  color: #FF6A2B;
  font-size: 12px;
  font-weight: 700;
}
.viz-src-icon svg { width: 11px; height: 11px; stroke-width: 2; }
/* Pozycje etykiet — wyrównane do sylwetek (% kontenera 600×600) */
.viz-src-1 { top: 4%;   left: 18%; }
.viz-src-2 { top: 36%;  left: 0;   }
.viz-src-3 { bottom: 14%; left: 17%; }
.viz-src-4 { bottom: 2%;  left: 41%; }
.viz-src-5 { top: 18%;   left: 47%; }

/* Bańki rezultatów — JS dodaje dynamicznie */
.hero-viz-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.viz-bubble {
  position: absolute;
  top: 50%; left: 65%;
  --bx: 0px;
  --by: 0px;
  padding: 8px 14px;
  background: rgba(20,22,18,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,106,43,0.4);
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: #F4F3EE;
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(255,106,43,0.5);
  opacity: 0;
  animation: vizBubble 2.5s cubic-bezier(.3,.7,.3,1) forwards;
  pointer-events: none;
}
.viz-bubble strong { color: #FF6A2B; }
@keyframes vizBubble {
  0%   { opacity: 0; transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by) + 14px)) scale(0.85); }
  18%  { opacity: 1; transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(1); }
  72%  { opacity: 1; transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by) - 42px)) scale(0.95); }
}

/* Mobile / tablet: prościej, mniej elementów */
@media (max-width: 1023px) {
  .hero-viz {
    max-width: 480px;
    margin-top: 30px;
    aspect-ratio: 1 / 0.85;
  }
  .viz-sil-2, .viz-sil-4 { display: none; }
  .viz-path:nth-child(2),
  .viz-path:nth-child(4) { display: none; }
  .viz-dot-2, .viz-dot-4 { display: none; }
  .viz-src-2, .viz-src-4 { display: none; }
}

/* Reduced motion: bez kropek, bez pulsu, bez banek */
@media (prefers-reduced-motion: reduce) {
  .viz-dot, .viz-path, .viz-firm-aura, .viz-firm-core, .hero-viz-glow,
  .viz-sil, .viz-firm-icon { animation: none !important; }
  .viz-bubble { display: none !important; }
}

/* === DEAD CSS — stary single-mockup hero (kompatybilność) === */
.hero-solo {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  padding: 50px 30px 30px;
  perspective: 1800px;
}
.hero-solo-glow {
  position: absolute;
  inset: 8% -10% -10% -10%;
  background: radial-gradient(ellipse 55% 50% at 55% 50%, rgba(255,106,43,0.32), rgba(255,106,43,0) 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.hero-solo-browser {
  position: relative;
  background: #0d0e0c;
  border: 1px solid #2A2C28;
  border-radius: 16px;
  overflow: hidden;
  transform: perspective(1800px) rotateY(-5deg) rotateX(3deg);
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.7),
    0 20px 40px -15px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.03);
  z-index: 1;
  animation: floatY 7s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .5s ease;
}
.hero-solo:hover .hero-solo-browser {
  transform: perspective(1800px) rotateY(-3deg) rotateX(1.5deg) translateY(-6px);
}
.hero-solo-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #181a15, #131410);
  border-bottom: 1px solid #2A2C28;
}
.hero-solo-bar .hero-mockup-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.hero-solo-url {
  margin-left: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: rgba(244,243,238,0.5);
  letter-spacing: 0.01em;
}
.hero-solo-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #111;
}
.hero-solo-screen picture { display: block; position: absolute; inset: 0; }
.hero-solo-screen img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Plakietka — wyraźnie odsunięta od mockupu (lewy-górny narożnik aside, 60-80px od mockupu) */
.hero-solo-badge {
  position: absolute;
  top: -4px;
  left: -16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(20,22,18,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,106,43,0.25);
  border-radius: 16px;
  box-shadow: 0 20px 50px -14px rgba(0,0,0,0.75);
  white-space: nowrap;
  animation: floatY 6s ease-in-out -2s infinite;
}

@media (max-width: 1023px) {
  .hero-solo {
    max-width: 460px;
    margin: 36px auto 0;
    padding: 40px 20px 20px;
  }
  .hero-solo-browser { transform: perspective(1800px) rotateY(-3deg) rotateX(2deg); }
  .hero-solo-badge { top: 4px; left: 0; }
}

/* DEAD: stary 3D fan — zachowane CSS by nie psuły layoutu jeśli klasy gdzieś zostały */
.hero-fan {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: -40px;       /* delikatne wyjście poza kontener po prawej */
  aspect-ratio: 1 / 1.05;
  perspective: 1800px;
  perspective-origin: 50% 40%;
  --fan-rx: 0deg;
  --fan-ry: 0deg;
  transform-style: preserve-3d;
  overflow: visible;
}
.hero-fan-glow {
  position: absolute;
  inset: 4% -8% 8% -8%;
  background:
    radial-gradient(ellipse 60% 50% at 55% 50%, rgba(255,106,43,0.35), rgba(255,106,43,0) 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.hero-mock {
  position: absolute;
  background: #0d0e0c;
  border: 1px solid #2A2C28;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -25px rgba(0,0,0,0.7),
    0 12px 24px -8px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.025);
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.65s cubic-bezier(.2,.7,.2,1),
    box-shadow 0.5s ease,
    z-index 0s linear 0.25s;
}

/* Drewtex — środek-dół, największy, główny */
.hero-mock-front {
  width: 70%;
  aspect-ratio: 16 / 10;
  left: 15%;
  bottom: 6%;
  z-index: 3;
  transform: perspective(1600px) rotateY(calc(-3deg + var(--fan-ry))) rotateX(calc(2deg + var(--fan-rx))) translateZ(60px);
  animation: floatY 7s ease-in-out infinite;
}
/* ATG — prawa-góra, własny oddech, prawie nie nachodzi */
.hero-mock-side {
  width: 60%;
  aspect-ratio: 16 / 10;
  right: -8%;
  top: 0;
  z-index: 2;
  transform: perspective(1600px) rotateY(calc(-12deg + var(--fan-ry))) rotateX(calc(5deg + var(--fan-rx))) translateZ(0);
  opacity: 0.96;
  animation: floatY 8.5s ease-in-out -2.5s infinite;
}
/* Culinarum — lewa-góra, własny oddech */
.hero-mock-back {
  width: 58%;
  aspect-ratio: 16 / 10;
  left: -8%;
  top: 24%;
  z-index: 1;
  transform: perspective(1600px) rotateY(calc(14deg + var(--fan-ry))) rotateX(calc(-2deg + var(--fan-rx))) translateZ(-30px);
  opacity: 0.92;
  filter: brightness(0.95);
  animation: floatY 9.5s ease-in-out -4.5s infinite;
}

/* Hover: ten wybrany — reszta lekko gaśnie */
.hero-fan:has(.hero-mock:hover) .hero-mock:not(:hover) {
  opacity: 0.55 !important;
  filter: brightness(0.7) !important;
  transition: opacity .4s ease, filter .4s ease;
}

/* Hover spread — scale 1.04 + z-index lift */
.hero-mock-front:hover,
.hero-fan:hover .hero-mock-front {
  transform: perspective(1600px) rotateY(calc(-1.5deg + var(--fan-ry))) rotateX(calc(0.5deg + var(--fan-rx))) translateZ(90px) scale(1.04);
  z-index: 5;
}
.hero-mock-side:hover {
  transform: perspective(1600px) rotateY(calc(-8deg + var(--fan-ry))) rotateX(calc(2.5deg + var(--fan-rx))) translateZ(60px) scale(1.04) !important;
  opacity: 1 !important;
  z-index: 5 !important;
  box-shadow:
    0 50px 100px -25px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,106,43,0.3) inset;
}
.hero-mock-back:hover {
  transform: perspective(1600px) rotateY(calc(6deg + var(--fan-ry))) rotateX(calc(-1deg + var(--fan-rx))) translateZ(60px) scale(1.04) !important;
  opacity: 1 !important;
  filter: brightness(1) !important;
  z-index: 5 !important;
  box-shadow:
    0 50px 100px -25px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,106,43,0.3) inset;
}

/* ============== FLOW CUSTOMERS (świetliste kulki) ============== */
.hero-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.flow-path {
  fill: none;
  stroke: url(#flow-grad-a);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
  opacity: 0;
  stroke-dashoffset: 50;
  transition: opacity 1.2s ease, stroke-dashoffset 2s ease;
}
.hero-fan.is-in .flow-path { opacity: 1; stroke-dashoffset: 0; animation: flowDash 8s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -100; } }

/* Sylwetki klientów (line-art, premium) — używają inline transform="translate(...)" */
.flow-avatar {
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-fan.is-in .flow-avatar-1 { opacity: 1; transition-delay: 0.6s; }
.hero-fan.is-in .flow-avatar-2 { opacity: 1; transition-delay: 0.9s; }
.hero-fan.is-in .flow-avatar-3 { opacity: 1; transition-delay: 1.2s; }
.flow-avatar circle:first-child {
  animation: avatarBreath 4s ease-in-out infinite;
  transform-origin: 20px 25px;
  transform-box: fill-box;
}
@keyframes avatarBreath {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1;   }
}

/* Lecące kulki — offset-path (łańcuchowe ścieżki) */
.flow-dot {
  fill: url(#flow-dot-grad);
  filter: drop-shadow(0 0 6px rgba(255,106,43,0.85)) drop-shadow(0 0 2px rgba(255,255,255,0.6));
  opacity: 0;
}
.hero-fan.is-in .flow-dot { opacity: 1; }

/* Ścieżka 1: klient lewo-góra → Culinarum */
.flow-dot-1  { offset-path: path("M 60 110 C 110 160, 150 220, 180 280"); animation: flowMove 3.8s linear infinite; animation-delay: 1.5s; }
.flow-dot-1b { offset-path: path("M 60 110 C 110 160, 150 220, 180 280"); animation: flowMove 3.8s linear infinite; animation-delay: 3.4s; }
/* Ścieżka 2: Culinarum → Drewtex (środek) */
.flow-dot-2  { offset-path: path("M 200 290 C 280 360, 360 480, 420 560"); animation: flowMove 4.6s linear infinite; animation-delay: 2.0s; }
.flow-dot-2b { offset-path: path("M 200 290 C 280 360, 360 480, 420 560"); animation: flowMove 4.6s linear infinite; animation-delay: 4.3s; }
/* Ścieżka 3: Drewtex → ATG */
.flow-dot-3  { offset-path: path("M 460 540 C 540 460, 600 360, 620 240"); animation: flowMove 4.2s linear infinite; animation-delay: 2.5s; }
/* Ścieżka 4: ATG → klient prawo-góra */
.flow-dot-4  { offset-path: path("M 600 200 C 540 130, 460 90, 380 90"); animation: flowMove 3.4s linear infinite; animation-delay: 3.0s; }
/* Ścieżka 5: klient dół-lewo → na bok */
.flow-dot-5  { offset-path: path("M 80 600 C 180 580, 280 560, 360 540"); animation: flowMove 4s linear infinite; animation-delay: 2.2s; }

@keyframes flowMove {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Etykiety przy awatarach */
.flow-label {
  position: absolute;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.7);
  background: rgba(20,22,18,0.7);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,106,43,0.25);
  white-space: nowrap;
  z-index: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .5s ease, transform .5s ease;
}
.hero-fan.is-in .flow-label { opacity: 1; transform: translateY(0); }
.flow-label-1 { top: 4%;     left: 12%;  transition-delay: 0.7s; }
.flow-label-2 { bottom: 14%; left: 12%;  transition-delay: 1.0s; color: #FF8B53; border-color: rgba(255,106,43,0.45); }
.flow-label-3 { top: 18%;    right: 4%; transition-delay: 1.3s; }

.hero-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #181a15, #131410);
  border-bottom: 1px solid #2A2C28;
}
.hero-mock-bar .hero-mockup-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.hero-mock-url {
  margin-left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: rgba(244,243,238,0.5);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-mock-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.1;
  background: #111;
}
.hero-mock-screen picture {
  display: block;
  position: absolute;
  inset: 0;
}
.hero-mock-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Mobile / tablet — uprość do jednego mockupu */
@media (max-width: 1023px) {
  .hero-fan { max-width: 540px; margin: 30px auto 0; aspect-ratio: 16 / 11; }
  .hero-mock-side, .hero-mock-back { display: none; }
  .hero-mock-front {
    width: 100%;
    left: 0;
    top: 0;
    transform: none;
    animation: floatY 7s ease-in-out infinite;
  }
  .hero-flow, .flow-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-dot, .flow-path { animation: none !important; }
}

/* Stary CSS dla single mockup — nieużywane, ale ostawiam ścieżki klas dla kompatybilności */
.hero-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  margin-right: -8px;
  padding: 24px 28px;
  animation: floatY 7s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-mockup-glow {
  position: absolute;
  inset: -40px -30px -40px -30px;
  background: radial-gradient(closest-side, rgba(255,106,43,0.35), rgba(255,106,43,0) 70%);
  filter: blur(20px);
  z-index: -1;
}
.hero-mockup-browser {
  background: #0d0e0c;
  border: 1px solid #2A2C28;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 100px -25px rgba(0,0,0,0.7),
    0 14px 30px -10px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.025) inset;
}
.hero-mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #181a15, #131410);
  border-bottom: 1px solid #2A2C28;
}
.hero-mockup-dot {
  display: inline-block;
  width: 11px; height: 11px; border-radius: 50%;
}
.hero-mockup-url {
  margin-left: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(244,243,238,0.55);
  letter-spacing: 0.01em;
}
.hero-mockup-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111;
}
.hero-mockup-screen picture { display: block; width: 100%; height: 100%; }
.hero-mockup-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* (telefon w mockupie hero — usunięty, mniej = lepiej) */
@media (max-width: 1023px) {
  .hero-mockup-wrap {
    margin: 30px auto 0;
    max-width: 540px;
  }
}

/* ----- Hero result badges (2 czyste, oddychające) ----- */
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(20,22,18,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(244,243,238,0.12);
  border-radius: 16px;
  box-shadow: 0 20px 50px -14px rgba(0,0,0,0.75);
  z-index: 3;
  white-space: nowrap;
  animation: floatY 6s ease-in-out infinite;
}
.hero-badge-rating { top: -4px;     right: -16px; animation-delay: -1s; }
.hero-badge-mobile { bottom: 8px;   left: -22px;  animation-delay: -3.5s; }

/* Plakietki w wachlarzu — daleko od mockupów, czysty oddech */
.hero-fan-badge-rating {
  position: absolute;
  top: 2%;
  right: -4%;
  z-index: 6;
  animation: floatY 6s ease-in-out -1s infinite;
}
.hero-fan-badge-mobile {
  position: absolute;
  bottom: 0;
  left: -8%;
  z-index: 6;
  animation: floatY 6s ease-in-out -3.5s infinite;
}
@media (max-width: 1279px) {
  .hero-fan-badge-rating { right: 2%; }
  .hero-fan-badge-mobile { left: 0; }
}

.hero-badge-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255,106,43,0.16);
  color: #FF6A2B;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-badge-icon-accent {
  background: #FF6A2B;
  color: #111210;
}
.hero-badge-icon svg { width: 16px; height: 16px; }
.hero-badge > svg { flex-shrink: 0; }
.hero-badge-content { line-height: 1.15; }
.hero-badge-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #F4F3EE;
  letter-spacing: -0.005em;
}
.hero-badge-sub {
  font-size: 11.5px;
  color: rgba(244,243,238,0.6);
  letter-spacing: 0.01em;
  margin-top: 2px;
}

@media (max-width: 1023px) {
  .hero-badge-rating { top: 0;        right: -6px; }
  .hero-badge-mobile { bottom: 12px;  left: -10px; }
}

/* ============== CURSOR ============== */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 18px; height: 18px;
  border: 1px solid rgba(244,243,238,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background-color .25s ease, border-color .25s ease;
  will-change: transform;
}
.cursor.is-hover {
  width: 44px; height: 44px;
  background: rgba(255,106,43,0.18);
  border-color: rgba(255,106,43,0.7);
}
@media (hover: none) { .cursor { display: none !important; } }

/* ============== REVEAL ============== */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }

/* ============== BEFORE / AFTER ============== */
/* tabs — wyśrodkowany pill toggle */
.ba-tabs {
  display: inline-flex;
  margin: 0 auto 28px;
  padding: 6px;
  gap: 4px;
  border-radius: 999px;
  background: #131410;
  border: 1px solid #2A2C28;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.ba-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.ba-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(244,243,238,0.65);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color .25s ease, background-color .25s ease, transform .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.ba-tab:hover { color: #F4F3EE; }
.ba-tab.active {
  background: #FF6A2B;
  color: #111210;
  font-weight: 600;
  box-shadow: 0 8px 24px -10px rgba(255,106,43,0.5);
}
.ba-tab-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}
.ba-tab.active .ba-tab-dot { opacity: 1; background: #111210; }

@media (max-width: 480px) {
  .ba-tabs { width: 100%; }
  .ba-tab { flex: 1; justify-content: center; padding: 11px 12px; font-size: 13px; }
}

.ba-wrap[data-active="false"] { display: none; }

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #0d0e0c;
  border: 1px solid #2A2C28;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.65);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  will-change: width;
}
.ba-before-wrap .ba-before {
  width: calc(100vw); /* base; actual width comes from CSS var below */
  min-width: 100%;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #FF6A2B;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
}
.ba-handle-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,106,43,0), #FF6A2B 20%, #FF6A2B 80%, rgba(255,106,43,0));
}
.ba-handle-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: #FF6A2B;
  color: #111210;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(255,106,43,0.7), 0 0 0 6px rgba(255,106,43,0.12);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}
.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17,18,16,0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244,243,238,0.12);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F4F3EE;
  z-index: 4;
}
.ba-label-before { left: 16px; }
.ba-label-after  { right: 16px; color: #FF6A2B; border-color: rgba(255,106,43,0.4); }

@media (max-width: 640px) {
  .ba-slider { aspect-ratio: 4 / 3; border-radius: 14px; }
  .ba-handle-knob { width: 42px; height: 42px; }
  .ba-label { font-size: 10px; padding: 4px 10px; }
}

/* ============== REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .scroll-cue-line { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cursor { display: none !important; }
}

/* ============== PROJECT CARDS ============== */
.project {
  background: linear-gradient(180deg, #171814 0%, #131410 100%);
  border: 1px solid #2A2C28;
  border-radius: 28px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .4s ease, box-shadow .4s ease;
}
.project:hover {
  border-color: rgba(255,106,43,0.35);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,106,43,0.08);
}
.project-link {
  display: block;
  padding: clamp(28px, 4vw, 56px);
  color: inherit;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .project-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .project-grid-reverse { grid-template-columns: 1fr 1.15fr; }
  .project-grid-reverse .project-media { order: 2; }
}
.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  perspective: 1200px;
}
.project-num {
  display: inline-block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 13px;
  color: #FF6A2B;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.project-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.project-meta {
  font-size: 13px;
  color: rgba(244,243,238,0.5);
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.project-desc {
  color: rgba(244,243,238,0.72);
  font-size: 16px;
  line-height: 1.65;
  max-width: 50ch;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 28px;
}
.project-tags span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #2A2C28;
  color: rgba(244,243,238,0.6);
}
.project-cta-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.project-cta {
  display: inline-flex;
  align-items: center;
  color: #FF6A2B;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.project-link:hover .project-cta { color: #E2551B; }
.project-old {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: rgba(244,243,238,0.55);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.project-old-arrow { color: rgba(244,243,238,0.55); }
.project-old:hover { color: rgba(244,243,238,0.8); }
.project-old:hover .project-old-arrow { color: #FF6A2B; }

/* Device mockups */
.device-laptop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.device-laptop-screen {
  flex: 1;
  background: #0d0e0c;
  border: 2px solid #2A2C28;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 12px 12px 0;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.device-laptop-screen::before {
  content: "";
  position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 4px; border-radius: 0 0 6px 6px;
  background: #2A2C28;
}
.device-laptop-screen img,
.device-laptop-screen picture { width: 100%; height: 100%; display: block; }
.device-laptop-screen picture img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px 6px 0 0;
}
.device-laptop-screen > img {
  object-fit: cover;
  object-position: top center;
  border-radius: 6px 6px 0 0;
}
.device-laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #2A2C28 0%, #1a1c18 100%);
  border-radius: 0 0 16px 16px;
  position: relative;
  margin: 0 -18px;
  box-shadow: 0 16px 30px -8px rgba(0,0,0,0.5);
}
.device-laptop-base::after {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 70px; height: 4px;
  background: #131410;
  border-radius: 0 0 8px 8px;
}
.device-phone {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: 28%;
  aspect-ratio: 9 / 19.5;
  background: #0d0e0c;
  border: 2px solid #2A2C28;
  border-radius: 22px;
  padding: 6px;
  overflow: hidden;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,0.6);
}
.device-phone::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 12px;
  background: #131410;
  border-radius: 999px;
  z-index: 2;
}
.device-phone img,
.device-phone picture { width: 100%; height: 100%; display: block; }
.device-phone picture img {
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}
.device-phone > img {
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}
/* ============== SECTION CHAPTERS (eyebrow + duża cyfra) ============== */
/* Domyślny eyebrow flex items-center gap-3 mb-5 — wzmocnienie via dodatkową klasą */
.chapter-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.chapter-num {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: #FF6A2B;
  letter-spacing: 0.02em;
  line-height: 1;
}
.chapter-slash {
  color: rgba(255,106,43,0.4);
  margin: 0 6px;
  font-weight: 400;
}
.chapter-name {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.55);
  font-weight: 500;
}

/* ============== SECTION QUOTE (intro każdej sekcji) ============== */
.feature-quote,
.section-quote {
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid #FF6A2B;
  position: relative;
}
.feature-quote p,
.section-quote p {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  color: #F4F3EE;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
}
.feature-quote strong,
.section-quote strong { color: #FF6A2B; font-weight: 600; }
.feature-quote a,
.section-quote a { color: #FF6A2B; }
.feature-quote-sig,
.section-quote-sig {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244,243,238,0.55);
  display: block;
  margin-top: 4px;
}
.feature-quote-sig span,
.section-quote-sig span { color: rgba(244,243,238,0.5); } /* WCAG AA: 4.94 */

/* Wariant wycentrowany dla sekcji „Kontakt" */
.section-quote-center {
  border-left: 0;
  padding-left: 0;
  text-align: center;
  position: relative;
  padding-top: 18px;
}
.section-quote-center::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: #FF6A2B;
}
/* Kontakt — większy oddech między nagłówkiem a akapitem (nadpisuje utility mt-6) */
#kontakt .section-quote-center { margin-top: 2.75rem; }
@media (max-width: 640px) {
  #kontakt .section-quote-center { margin-top: 1.75rem; }
}

/* ============== FEATURE CARDS (asymetryczna siatka) ============== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border-radius: 18px;
}
@media (min-width: 640px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 16px;
  }
  /* Asymetria: 2 / 2 / 2, ale druga karta (mobile/zaufanie) szersza i wyższa, plus karta-RODO niżej */
  .feature-grid > .feature-card:nth-child(1) { grid-column: span 3; }      /* Design — szerszy */
  .feature-grid > .feature-card:nth-child(2) { grid-column: span 3; }      /* Mobile */
  .feature-grid > .feature-card:nth-child(3) { grid-column: span 2; }      /* Szybkość */
  .feature-grid > .feature-card:nth-child(4) { grid-column: span 2; }      /* Google */
  .feature-grid > .feature-card:nth-child(5) { grid-column: span 2; }      /* Formularz */
  .feature-grid > .feature-card:nth-child(6) { grid-column: span 6; }      /* RODO — full width */
}
.feature-card {
  position: relative;
  background: linear-gradient(180deg, #161714 0%, #121310 100%);
  border: 1px solid #2A2C28;
  border-radius: 16px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: background .35s ease, transform .35s ease, border-color .35s ease, opacity .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(255,106,43,0.18), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.feature-card:hover {
  background: linear-gradient(180deg, #1a1c18 0%, #14150f 100%);
  border-color: rgba(255,106,43,0.4);
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(255,106,43,0.25);
}
.feature-card:hover::after { opacity: 1; }
/* Focus innych kart przy hover (przytłumienie pozostałych) */
.feature-grid:hover > .feature-card:not(:hover) { opacity: 0.55; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,106,43,0.1);
  color: #FF6A2B;
  margin-bottom: 24px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #F4F3EE;
}
.feature-desc {
  color: rgba(244,243,238,0.6);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}
.feature-effect {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,106,43,0.18);
  font-size: 13px;
  color: #FF6A2B;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ============== VISIBILITY (Google + AI) ============== */
.visibility-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 28px;
  border: 1px solid #2A2C28;
  border-radius: 20px;
  background: #131410;
  transition: border-color .35s ease, transform .35s ease;
}
.visibility-card:hover { border-color: #3a3d36; }
.visibility-card-featured {
  border-color: rgba(255,106,43,0.5);
  background:
    radial-gradient(ellipse at top right, rgba(255,106,43,0.20), transparent 60%),
    linear-gradient(180deg, #1a1814 0%, #131410 100%);
  box-shadow: 0 30px 80px -30px rgba(255,106,43,0.45);
  position: relative;
}
.visibility-card-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,106,43,0.55) 0%, rgba(255,106,43,0) 50%, rgba(255,106,43,0.4) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.visibility-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,106,43,0.10);
  color: #FF6A2B;
}
.visibility-icon svg { width: 24px; height: 24px; }
.visibility-icon-accent {
  background: #FF6A2B;
  color: #111210;
}
.visibility-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255,106,43,0.16);
  color: #FF6A2B;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.visibility-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #F4F3EE;
}
.visibility-desc { color: rgba(244,243,238,0.66); font-size: 15px; line-height: 1.6; }

@media (max-width: 640px) {
  .visibility-card { grid-template-columns: 1fr; padding: 24px; }
}

/* ----- Mechanism card (illustration) ----- */
.mech-card {
  position: relative;
  padding: 28px;
  border: 1px solid #2A2C28;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #15160f 0%, #121310 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ----- Customer flow (przepływ klientów w sekcji Widoczność) ----- */
.customer-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px;
  margin-bottom: 4px;
}
.customer-flow-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.5);
  font-weight: 500;
  text-align: center;
}
.customer-flow-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.cf-path {
  fill: none;
  stroke: rgba(255,106,43,0.4);
  stroke-width: 1.4;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 1s ease;
  animation: flowDash 8s linear infinite;
}
.customer-flow.is-in .cf-path { opacity: 1; }
.cf-avatar { opacity: 0; transition: opacity .7s ease; }
.customer-flow.is-in .cf-avatar-1 { opacity: 1; transition-delay: 0.3s; }
.customer-flow.is-in .cf-avatar-2 { opacity: 1; transition-delay: 0.5s; }
.customer-flow.is-in .cf-avatar-3 { opacity: 1; transition-delay: 0.7s; }
.cf-avatar circle:first-child {
  animation: avatarBreath 4s ease-in-out infinite;
}
.cf-target { opacity: 0; transition: opacity .7s ease; }
.customer-flow.is-in .cf-target {
  opacity: 1;
  transition-delay: 0.9s;
  filter: drop-shadow(0 0 12px rgba(255,106,43,0.5));
}
.cf-target-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  fill: #F4F3EE;
  letter-spacing: 0.03em;
  text-anchor: start;
  opacity: 0;
  transition: opacity .6s ease 1.1s;
}
.customer-flow.is-in .cf-target-label { opacity: 1; }
.cf-dot { fill: url(#cf-dot); filter: drop-shadow(0 0 5px rgba(255,106,43,0.85)); opacity: 0; }
.customer-flow.is-in .cf-dot { opacity: 1; }
.cf-dot-1  { offset-path: path("M 55 50 C 130 50, 180 80, 240 100");  animation: flowMove 3.6s linear infinite; animation-delay: 1.2s; }
.cf-dot-1b { offset-path: path("M 55 50 C 130 50, 180 80, 240 100");  animation: flowMove 3.6s linear infinite; animation-delay: 2.8s; }
.cf-dot-2  { offset-path: path("M 40 100 C 110 100, 180 100, 240 100"); animation: flowMove 3.2s linear infinite; animation-delay: 1.6s; }
.cf-dot-3  { offset-path: path("M 55 150 C 130 150, 180 120, 240 100"); animation: flowMove 4s linear infinite;   animation-delay: 1.9s; }

.customer-flow-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.cf-tag {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.6);
  background: rgba(20,22,18,0.7);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(244,243,238,0.10);
}
.cf-tag-accent {
  color: #FF8B53;
  border-color: rgba(255,106,43,0.4);
}

.mech-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #2A2C28 20%, #2A2C28 80%, transparent);
  margin: 10px 0 4px;
}
.mech-step {
  position: relative;
  padding: 16px 16px;
  border: 1px solid #232520;
  border-radius: 14px;
  background: #0f100d;
  transition: border-color .4s ease, box-shadow .4s ease;
}
.mech-step.is-active {
  border-color: rgba(255,106,43,0.55);
  box-shadow: 0 0 0 3px rgba(255,106,43,0.08), 0 12px 30px -10px rgba(255,106,43,0.3);
}
.mech-step-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,106,43,0.85);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mech-step-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,106,43,0.4);
  transition: background .3s ease, box-shadow .3s ease;
}
.mech-step.is-active .mech-step-eyebrow::before {
  background: #FF6A2B;
  box-shadow: 0 0 0 4px rgba(255,106,43,0.18);
}
.mech-query {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #1b1d18;
  border: 1px solid #2A2C28;
  font-size: 14px;
  color: rgba(244,243,238,0.85);
  position: relative;
}
.mech-query svg { color: rgba(244,243,238,0.5); }
.mech-cursor {
  display: inline-block;
  width: 1.5px; height: 14px;
  background: #FF6A2B;
  margin-left: auto;
  animation: caret 1.1s steps(2, end) infinite;
}
@keyframes caret { 0%, 100% { opacity: 1 } 50% { opacity: 0 } }

.mech-arrow {
  position: relative;
  width: 2px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(to bottom, rgba(255,106,43,0.0) 0%, rgba(255,106,43,0.5) 40%, rgba(255,106,43,0) 100%);
  background-size: 100% 200%;
  background-position: 0 -100%;
  animation: mechArrowFlow 2.4s ease-in-out infinite;
}
.mech-arrow::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px; height: 6px;
  border-right: 2px solid rgba(255,106,43,0.55);
  border-bottom: 2px solid rgba(255,106,43,0.55);
}
@keyframes mechArrowFlow {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0  200%; }
}

/* Map mock */
.mech-map {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0e0c;
  border: 1px solid #232520;
}
.mech-map-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 200px 60px at 30% 38%, rgba(255,255,255,0.06), transparent 70%),
    linear-gradient(120deg, transparent 49.6%, rgba(255,255,255,0.04) 49.6%, rgba(255,255,255,0.04) 50.4%, transparent 50.4%),
    linear-gradient(60deg, transparent 49.7%, rgba(255,255,255,0.03) 49.7%, rgba(255,255,255,0.03) 50.3%, transparent 50.3%),
    linear-gradient(180deg, #131410 0%, #0e0f0d 100%);
  background-size: auto, 80px 80px, 130px 130px, auto;
}
.mech-pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(244,243,238,0.7);
  background: transparent;
}
.mech-pin-1 { top: 28%; left: 22%; }
.mech-pin-2 { top: 52%; left: 36%; }
.mech-pin-3 { top: 36%; left: 56%; background: #FF6A2B; border-color: #FF6A2B; box-shadow: 0 0 0 6px rgba(255,106,43,0.18); }
.mech-pin-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,106,43,0.7);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.mech-map-list {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 42%;
  background: rgba(15,16,13,0.92);
  backdrop-filter: blur(4px);
  border: 1px solid #2A2C28;
  border-radius: 10px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.mech-map-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 8px;
  border-radius: 6px;
  background: rgba(244,243,238,0.03);
  min-height: 22px;
}
.mech-map-row span:first-child {
  display: inline-block;
  width: 55%; height: 6px;
  border-radius: 999px;
  background: rgba(244,243,238,0.18);
}
.mech-map-row span:last-child {
  display: inline-block;
  width: 22%; height: 6px;
  border-radius: 999px;
  background: rgba(244,243,238,0.10);
}
.mech-map-row-active {
  background: rgba(255,106,43,0.12);
  border: 1px solid rgba(255,106,43,0.35);
}
.mech-map-row-active span:first-child {
  width: auto; height: auto;
  background: none;
  color: #F4F3EE;
  font-size: 11px;
  font-weight: 500;
}
.mech-map-row-active span.mech-star {
  width: auto; height: auto;
  background: none;
  color: #FF6A2B;
  font-size: 10px;
  font-weight: 600;
}

/* AI mock */
.mech-ai {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 4px;
}
.mech-ai-row { display: flex; align-items: center; gap: 12px; }
.mech-ai-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(244,243,238,0.25);
  flex-shrink: 0;
}
.mech-ai-dot-active { background: #FF6A2B; box-shadow: 0 0 0 4px rgba(255,106,43,0.15); }
.mech-ai-line {
  height: 8px;
  background: rgba(244,243,238,0.10);
  border-radius: 999px;
}
.mech-ai-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,106,43,0.16);
  color: #FF6A2B;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.mech-caption {
  font-size: 11px;
  text-align: center;
  color: rgba(244,243,238,0.55); /* WCAG AA: 5.71 */
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* Tie do pakietów — duże, czytelne karty */
.visibility-tie {
  margin-top: 56px;
}
.visibility-tie-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(244,243,238,0.65);
  text-align: center;
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}
.visibility-tie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px) {
  .visibility-tie-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.vis-tie-card {
  padding: 24px 26px;
  background: linear-gradient(180deg, #181a15 0%, #131410 100%);
  border: 1px solid #2A2C28;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .3s ease, transform .3s ease;
}
.vis-tie-card:hover { border-color: #3a3d36; transform: translateY(-2px); }
.vis-tie-card-accent {
  border-color: rgba(255,106,43,0.45);
  background:
    radial-gradient(ellipse at top, rgba(255,106,43,0.10), transparent 60%),
    #131410;
  box-shadow: 0 20px 50px -20px rgba(255,106,43,0.25);
}
.vis-tie-pkg {
  display: inline-block;
  align-self: flex-start;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(244,243,238,0.06);
  color: #F4F3EE;
}
.vis-tie-pkg-accent {
  background: #FF6A2B;
  color: #111210;
}
.vis-tie-val {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vis-tie-val strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.35;
  color: #F4F3EE;
}
.vis-tie-val span {
  font-size: 13.5px;
  color: rgba(244,243,238,0.55);
  line-height: 1.45;
}

/* ============== MARKET FACTS (rynkowe, nie statystyki Kreo) ============== */
.market-facts {
  margin-top: 48px;
  padding: 28px;
  border: 1px solid #2A2C28;
  border-radius: 18px;
  background: #131410;
  display: grid;
  gap: 14px;
}
@media (min-width: 768px) {
  .market-facts { grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
  .market-facts-note { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .market-facts { grid-template-columns: repeat(4, 1fr); }
}
.market-fact {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: flex-start;
}
.market-fact-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,106,43,0.10);
  color: #FF6A2B;
  display: grid; place-items: center;
}
.market-fact-icon svg { width: 18px; height: 18px; }
.market-fact p {
  font-size: 13.5px;
  color: rgba(244,243,238,0.78);
  line-height: 1.5;
  margin: 5px 0 0;
}
.market-fact strong { color: #F4F3EE; font-weight: 600; }
.market-facts-note {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid #2A2C28;
  font-size: 12px;
  color: rgba(244,243,238,0.42);
  font-style: italic;
  text-align: center;
}

/* ============== INDUSTRIES (Dla kogo) ============== */
.industries {
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.industries-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.55);
  margin-right: 4px;
}
.industry-chip {
  display: inline-block;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #2A2C28;
  background: #131410;
  color: rgba(244,243,238,0.78);
  transition: border-color .25s ease, color .25s ease;
}
.industry-chip:hover { border-color: rgba(255,106,43,0.5); color: #F4F3EE; }
.industry-chip-more {
  background: rgba(255,106,43,0.08);
  border-color: rgba(255,106,43,0.4);
  color: #FF6A2B;
  font-weight: 500;
}

/* ============== TIMELINE (Jak to działa) — pozioma oś czasu ============== */
.timeline {
  position: relative;
  padding: 40px 0 10px;
}
.timeline-line {
  position: absolute;
  top: 68px;
  left: 0; right: 0;
  width: 100%;
  height: 4px;
  z-index: 0;
}
.timeline-line-fill {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.8s cubic-bezier(.4,.7,.3,1);
}
.timeline.is-drawn .timeline-line-fill { stroke-dashoffset: 0; }
@media (max-width: 767px) {
  .timeline-line { display: none; }
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .timeline-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.3,.8,.3,1);
}
.timeline-step.is-in { opacity: 1; transform: translateY(0); }
.timeline-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111210;
  border: 2px solid #FF6A2B;
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 18px;
  box-shadow: 0 0 0 8px #111210, 0 0 0 9px rgba(255,106,43,0.18);
  z-index: 1;
}
.timeline-marker-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #FF6A2B;
  letter-spacing: 0.01em;
}
.timeline-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.65);
  background: rgba(255,106,43,0.08);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,106,43,0.22);
  margin-bottom: 16px;
}
.timeline-clock svg { width: 12px; height: 12px; color: #FF6A2B; }
.timeline-card {
  background: linear-gradient(180deg, #171814 0%, #131410 100%);
  border: 1px solid #2A2C28;
  border-radius: 16px;
  padding: 24px 22px;
  width: 100%;
  max-width: 320px;
  transition: border-color .35s ease, transform .35s ease;
}
.timeline-card:hover {
  border-color: rgba(255,106,43,0.35);
  transform: translateY(-3px);
}
.timeline-icon {
  width: 40px; height: 40px;
  margin: 0 auto 14px;
  border-radius: 10px;
  background: rgba(255,106,43,0.12);
  color: #FF6A2B;
  display: grid; place-items: center;
}
.timeline-icon svg { width: 18px; height: 18px; }
.timeline-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #F4F3EE;
  margin-bottom: 10px;
}
.timeline-desc {
  color: rgba(244,243,238,0.62);
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 767px) {
  .timeline-list { gap: 24px; padding-left: 30px; position: relative; }
  .timeline-list::before {
    content: "";
    position: absolute;
    top: 8px; bottom: 8px; left: 14px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255,106,43,0) 0%, rgba(255,106,43,0.5) 8%, rgba(255,106,43,0.5) 92%, rgba(255,106,43,0) 100%);
  }
  .timeline-step { align-items: flex-start; text-align: left; }
  .timeline-marker { margin-left: -45px; margin-bottom: 12px; }
  .timeline-card { max-width: none; }
}

/* ============== PROCESS STEPS (stary — niewykorzystany) ============== */
.step {
  position: relative;
  padding: 36px 30px;
  border: 1px solid #2A2C28;
  border-radius: 20px;
  background: linear-gradient(180deg, #171814 0%, #131410 100%);
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(closest-side, rgba(255,106,43,0.16), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
}
.step:hover::before { opacity: 1; }
.step-num {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FF6A2B, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 24px;
}
.step-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
}
.step-desc {
  color: rgba(244,243,238,0.62);
  font-size: 15px;
  line-height: 1.6;
}
.step-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #2A2C28;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,106,43,0.85);
}

/* ============== ROADMAP (Dlaczego Kreo) ============== */
.roadmap {
  position: relative;
  padding-top: 20px;
}
.roadmap-path {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 0;
}
.roadmap-path-line {
  stroke-dashoffset: 1500;
  stroke-dasharray: 1500;
  transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1);
}
.roadmap.is-drawn .roadmap-path-line { stroke-dashoffset: 0; }
@media (max-width: 1023px) { .roadmap-path { display: none; } }

.roadmap-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
@media (min-width: 1024px) {
  .roadmap-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
  /* zig-zag offset */
  .roadmap-node[data-step="2"] { transform: translateY(40px); }
  .roadmap-node[data-step="4"] { transform: translateY(40px); }
  .roadmap-node[data-step="3"] { transform: translateY(-20px); }
}

.roadmap-node {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.roadmap-node.is-in { opacity: 1; transform: translateY(0); }
@media (min-width: 1024px) {
  .roadmap-node[data-step="2"].is-in { transform: translateY(40px); }
  .roadmap-node[data-step="4"].is-in { transform: translateY(40px); }
  .roadmap-node[data-step="3"].is-in { transform: translateY(-20px); }
}

.roadmap-num {
  position: absolute;
  top: -14px; left: -8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #111210;
  background: #FF6A2B;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(255,106,43,0.45);
  z-index: 2;
}

.roadmap-card {
  padding: 28px 22px 24px;
  background: linear-gradient(180deg, #171814 0%, #131410 100%);
  border: 1px solid #2A2C28;
  border-radius: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.roadmap-card:hover {
  border-color: rgba(255,106,43,0.4);
  box-shadow: 0 24px 60px -24px rgba(255,106,43,0.25);
  transform: translateY(-4px);
}
.roadmap-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,106,43,0.12);
  color: #FF6A2B;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.roadmap-icon svg { width: 20px; height: 20px; }
.roadmap-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #F4F3EE;
}
.roadmap-desc {
  color: rgba(244,243,238,0.6);
  font-size: 14px;
  line-height: 1.55;
}

/* mobile: pionowa linia po lewej */
@media (max-width: 1023px) {
  .roadmap-list { padding-left: 32px; }
  .roadmap-list::before {
    content: "";
    position: absolute;
    top: 12px; bottom: 12px; left: 14px;
    width: 1.5px;
    background: linear-gradient(to bottom,
      rgba(255,106,43,0) 0%, rgba(255,106,43,0.6) 8%,
      rgba(255,106,43,0.6) 92%, rgba(255,106,43,0) 100%);
  }
  .roadmap-node::before {
    content: "";
    position: absolute;
    top: 28px; left: -25px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #FF6A2B;
    box-shadow: 0 0 0 5px rgba(255,106,43,0.18);
    z-index: 2;
  }
  .roadmap-num {
    top: -10px; left: 10px;
  }
}

/* ============== ABOUT ME ============== */
.about-photo {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}
.about-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1c18 0%, #131410 100%);
  border: 1px solid #2A2C28;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.6);
}
.about-photo-frame::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px dashed rgba(255,106,43,0.2);
  border-radius: 16px;
  pointer-events: none;
}
.about-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo-frame-brand {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at center, rgba(255,106,43,0.12), transparent 60%),
    #131410;
  border-color: rgba(255,106,43,0.25);
  box-shadow:
    0 40px 100px -40px rgba(255,106,43,0.35),
    0 40px 100px -40px rgba(0,0,0,0.6);
}
.about-photo-frame-brand::before {
  border-color: rgba(255,106,43,0.32);
}
.about-photo-frame-brand img {
  object-fit: contain;
  padding: 0;
}
.about-photo-placeholder {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
}
.about-photo-placeholder svg {
  width: 64px; height: 64px;
  color: rgba(255,106,43,0.45);
}
.about-photo-placeholder span {
  display: block;
  font-size: 12px;
  color: rgba(244,243,238,0.55);
  letter-spacing: 0.05em;
  margin-top: 18px;
}
.about-sig {
  position: absolute;
  bottom: -18px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #131410;
  border: 1px solid #2A2C28;
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
}
.about-sig-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FF6A2B;
  box-shadow: 0 0 0 4px rgba(255,106,43,0.18);
}
.about-sig-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244,243,238,0.75);
}
.about-text {
  margin-top: 30px;
  color: rgba(244,243,238,0.72);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 60ch;
}
.about-text p { margin: 0 0 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: #F4F3EE; font-weight: 600; }
.about-cta-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.about-signature {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  color: rgba(244,243,238,0.55);
  letter-spacing: 0.01em;
}

/* (legacy — niewykorzystane mini-karty) */
.about-points {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}
@media (min-width: 640px) {
  .about-points { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.about-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid #2A2C28;
  border-radius: 14px;
  background: #131410;
  transition: border-color .3s ease, transform .3s ease;
}
.about-point:hover { border-color: #3a3d36; }
.about-point-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,106,43,0.12);
  color: #FF6A2B;
  display: grid; place-items: center;
}
.about-point-icon svg { width: 20px; height: 20px; }
.about-point-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: #F4F3EE;
  margin-bottom: 4px;
}
.about-point-desc {
  font-size: 13px;
  color: rgba(244,243,238,0.58);
  line-height: 1.5;
}

/* ============== PLANS ============== */
.plan {
  position: relative;
  padding: 36px 32px;
  background: linear-gradient(180deg, #171814 0%, #131410 100%);
  border: 1px solid #2A2C28;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  transition: border-color .35s ease, transform .35s ease;
}
.plan:hover { border-color: #3a3d36; }
.plan-featured {
  border-color: #FF6A2B;
  background:
    radial-gradient(ellipse at top right, rgba(255,106,43,0.18), transparent 60%),
    linear-gradient(180deg, #1c1a16 0%, #15140f 100%);
  box-shadow: 0 30px 80px -30px rgba(255,106,43,0.4);
  transform: translateY(-6px);
}
.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: #FF6A2B;
  color: #111210;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.55);
  margin-bottom: 18px;
}
.plan-price {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.plan-tag { color: rgba(244,243,238,0.55); font-size: 14px; margin-bottom: 26px; }
.plan-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.plan-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(244,243,238,0.78);
}
.plan-list li strong {
  color: #F4F3EE;
  font-weight: 600;
}
.plan-list li .plan-incl {
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  color: #FF6A2B;
  font-size: 13.5px;
  letter-spacing: 0.005em;
}
.plan-list li > span:not(.plan-check) {
  flex: 1;
  min-width: 0;
}
.plan-check {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,106,43,0.15);
  color: #FF6A2B;
  margin-top: 1px;
  flex-shrink: 0;
}
.plan-check svg { width: 11px; height: 11px; stroke-width: 2.4; }
.plan-featured .plan-check,
.plan-premium  .plan-check {
  background: #FF6A2B;
  color: #111210;
}

/* Pomoc w wyborze */
.plan-guide {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-bottom: 22px;
  text-align: center;
}
.plan-guide-pill {
  display: inline-block;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #131410;
  border: 1px solid #2A2C28;
  color: rgba(244,243,238,0.65);
}
.plan-guide-pill strong { color: #F4F3EE; font-weight: 600; }
.plan-guide-pill-accent {
  border-color: rgba(255,106,43,0.45);
  background:
    radial-gradient(ellipse at center, rgba(255,106,43,0.10), transparent 60%),
    #131410;
}
.plan-guide-pill-accent strong { color: #FF6A2B; }

/* Premium card */
.plan-premium {
  position: relative;
  border-color: rgba(255,106,43,0.5);
  background:
    radial-gradient(ellipse at top, rgba(255,106,43,0.18), transparent 55%),
    linear-gradient(180deg, #1c1a16 0%, #15140f 100%);
  box-shadow:
    0 30px 80px -30px rgba(255,106,43,0.45),
    inset 0 1px 0 rgba(255,255,255,0.03);
}
.plan-premium::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background:
    linear-gradient(135deg,
      rgba(255,106,43,0.5) 0%,
      rgba(255,106,43,0.0) 35%,
      rgba(255,106,43,0.0) 65%,
      rgba(255,106,43,0.4) 100%);
  z-index: -1;
  filter: blur(8px);
  opacity: 0.6;
}
.plan-badge-premium {
  background: linear-gradient(135deg, #FF6A2B 0%, #E2551B 100%);
  color: #111210;
  letter-spacing: 0.18em;
}
.plan-cta-premium {
  background: linear-gradient(135deg, #FF6A2B 0%, #E2551B 100%);
  color: #111210;
  border: 1px solid #FF6A2B;
  font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(255,106,43,0.45);
}
.plan-cta-premium:hover {
  background: linear-gradient(135deg, #FF7A40 0%, #E2551B 100%);
  color: #111210;
  border-color: #E2551B;
}

.plan-amount {
  display: inline-block;
}
.plan-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid #2A2C28;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: #F4F3EE;
  transition: all .25s ease;
}
.plan-cta:hover { border-color: #FF6A2B; color: #FF6A2B; }
.plan-cta-primary {
  background: #FF6A2B;
  color: #111210;
  border-color: #FF6A2B;
}
.plan-cta-primary:hover { background: #E2551B; border-color: #E2551B; color: #111210; }

/* ============== PLAN MATRIX (porównanie 3 pakietów side-by-side) ============== */
.plan-matrix-wrap {
  margin-top: 36px;
  padding: 28px;
  background: linear-gradient(180deg, #171814 0%, #131410 100%);
  border: 1px solid #2A2C28;
  border-radius: 20px;
}
.plan-matrix-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: #F4F3EE;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

/* ============== PLAN MATRIX (CSS Grid — idealnie równe linie) ============== */
.plan-matrix {
  position: relative;
  padding-top: 36px;     /* miejsce na badge'y wystające ponad karty */
}

/* === Karty kolumn (tła) — pozycjonowane absolutnie ZA siatką === */
.pm-cards {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, 1fr);
  column-gap: 14px;            /* ramki kart się nie stykają */
  pointer-events: none;
  padding-top: 36px;           /* sync z plan-matrix padding-top */
}
.pm-card {
  grid-column: auto;
  border-radius: 16px;
  margin: 6px 0;
  pointer-events: none;
  position: relative;
}
.pm-card-wiz {
  grid-column: 2;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;  /* żeby było tej samej grubości co Std/Prm, zachowuje wyrównanie wewnętrzne */
}
.pm-card-std {
  grid-column: 3;
  background: rgba(255,106,43,0.10);
  border: 1.5px solid #FF6A2B;
  margin: -14px 0 6px;            /* uniesiona względem Wiz/Prm, ale bez ujemnych marginesów bocznych (gap robi separację) */
  box-shadow:
    0 22px 50px -20px rgba(255,106,43,0.45),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.pm-card-prm {
  grid-column: 4;
  background:
    linear-gradient(180deg,
      rgba(255,106,43,0.12) 0%,
      rgba(255,106,43,0.06) 45%,
      rgba(255,106,43,0.03) 100%);
  border: 1.5px solid rgba(255,106,43,0.55);
  box-shadow:
    0 0 30px rgba(255,106,43,0.18),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Badge nad kartami */
.pm-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}
/* Standard — wypełniony pomarańczowy badge */
.pm-card-badge-std {
  background: linear-gradient(135deg, #FF6A2B 0%, #E2551B 100%);
  color: #111210;
  box-shadow: 0 8px 22px -6px rgba(255,106,43,0.55);
}
/* Premium — outlined badge (inny charakter) */
.pm-card-badge-prm {
  background: rgba(15,16,14,0.9);
  color: #FF6A2B;
  border: 1.5px solid rgba(255,106,43,0.6);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(255,106,43,0.25);
}

/* === Siatka === */
.pm-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-rows: minmax(56px, auto);
}
.pm-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, 1fr);
  column-gap: 14px;            /* identyczny gap jak w .pm-cards — wyrównanie linii pionowych */
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pm-row:last-child { border-bottom: 0; }
.pm-cell {
  padding: 14px 16px;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-cell-feat {
  justify-content: flex-start;
  text-align: left;
  color: #F4F3EE;
  font-weight: 500;
  font-size: 15px;
  gap: 8px;
}
.pm-cell-feat svg { width: 16px; height: 16px; color: #FF6A2B; flex-shrink: 0; }

/* === Header row === */
.pm-row-head {
  min-height: 110px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.pm-row-head .pm-cell-feat {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.42);
  align-items: flex-end;     /* funkcja-eyebrow równa się z dnem cen pakietów */
  padding-bottom: 22px;
}
.pm-cell-pkg {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-top: 32px;
  padding-bottom: 20px;
}
.pm-pkg-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: #F4F3EE;
  line-height: 1.0;
}
.pm-pkg-price {
  font-size: 16px;
  font-weight: 500;
  color: rgba(244,243,238,0.55);
  letter-spacing: 0.005em;
}
.pm-cell-std .pm-pkg-name { color: #FF6A2B; }
.pm-cell-std .pm-pkg-price { color: rgba(255,106,43,0.95); font-weight: 600; }
.pm-cell-prm .pm-pkg-name { color: #FF6A2B; }
.pm-cell-prm .pm-pkg-price { color: rgba(255,106,43,0.85); font-weight: 600; }

/* === Footer row (CTAs) === */
.pm-row-foot {
  min-height: 78px;
  border-bottom: 0;
  padding-top: 8px;
}
.pm-row-foot .pm-cell { padding: 18px 12px; }

/* === Ikony / pigułki === */
.pm-yes {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #FF6A2B;
  color: #111210;
  box-shadow: 0 3px 10px -3px rgba(255,106,43,0.45);
}
.pm-yes svg { width: 14px; height: 14px; stroke-width: 3; }
.pm-no {
  display: inline-block;
  color: #8A8C84;
  opacity: 0.4;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}
.pm-tag {
  display: inline-block;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: transparent;
  color: rgba(244,243,238,0.7);
  border: 1px solid rgba(244,243,238,0.18);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}
.pm-tag-accent {
  background: transparent;
  color: #FF6A2B;
  border-color: rgba(255,106,43,0.55);
  font-weight: 600;
}

/* === CTA pod kolumnami === */
.pm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid #2A2C28;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #F4F3EE;
  background: transparent;
  transition: all .25s ease;
  white-space: nowrap;
  min-height: 44px;
}
.pm-cta:hover { border-color: #FF6A2B; color: #FF6A2B; }
/* Standard = pełny akcent (gwiazda) */
.pm-cta-primary {
  background: linear-gradient(135deg, #FF6A2B 0%, #E2551B 100%);
  color: #111210;
  border-color: #FF6A2B;
  box-shadow: 0 8px 22px -8px rgba(255,106,43,0.5);
}
.pm-cta-primary:hover {
  background: linear-gradient(135deg, #FF7A40 0%, #E2551B 100%);
  color: #111210;
}
/* Premium = outline akcent */
.pm-cta-outline {
  border-color: rgba(255,106,43,0.55);
  color: #FF6A2B;
}
.pm-cta-outline:hover {
  background: rgba(255,106,43,0.08);
  border-color: #FF6A2B;
  color: #FF6A2B;
}

/* DEAD: stara <table> + .pm-premium-badge — selektory pozostają jako dead-code */
.pm-premium-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  z-index: 3;
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, #FF6A2B 0%, #E2551B 100%);
  color: #111210;
  border-radius: 999px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 22px -6px rgba(255,106,43,0.55);
}

.plan-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
.plan-matrix-table th,
.plan-matrix-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
}

/* === Header === */
.plan-matrix-table thead th {
  padding-top: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #2A2C28;
  text-align: center;
  vertical-align: bottom;
}
.plan-matrix-table thead th.pm-feat {
  color: rgba(244,243,238,0.55);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  text-align: left;
  vertical-align: bottom;
  padding-bottom: 22px;
}
.pm-pkg-name {
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #F4F3EE;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.pm-pkg-price {
  display: block;
  font-size: 12.5px;
  color: rgba(244,243,238,0.5);
  letter-spacing: 0.01em;
  font-weight: 500;
}
.plan-matrix-table thead th.pm-pkg-premium .pm-pkg-name {
  color: #FF6A2B;
}
.plan-matrix-table thead th.pm-pkg-premium .pm-pkg-price {
  color: rgba(255,106,43,0.8);
  font-weight: 600;
}

/* === Body === */
.plan-matrix-table tbody th {
  font-weight: 500;
  color: rgba(244,243,238,0.85);
  border-bottom: 1px solid rgba(244,243,238,0.05);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.plan-matrix-table tbody th svg { width: 14px; height: 14px; color: #FF6A2B; }
.plan-matrix-table tbody td {
  text-align: center;
  border-bottom: 1px solid rgba(244,243,238,0.05);
  transition: background-color .2s ease;
}
/* Zebra (delikatna, naprzemiennie) */
.plan-matrix-table tbody tr:nth-child(even) th,
.plan-matrix-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
/* Hover wiersza — podświetlenie całego */
.plan-matrix-table tbody tr:hover th,
.plan-matrix-table tbody tr:hover td:not(.pm-premium-cell) { background: rgba(255,106,43,0.05); }
.plan-matrix-table tbody tr:last-child th,
.plan-matrix-table tbody tr:last-child td { border-bottom: 0; }
.plan-matrix-table .pm-row-security th {
  color: #F4F3EE;
  font-weight: 600;
}

/* === Premium kolumna jako „karta" === */
.plan-matrix-table thead th.pm-pkg-premium,
.plan-matrix-table tbody td:last-child,
.plan-matrix-table tfoot td:last-child {
  background: rgba(255,106,43,0.06);
  position: relative;
}
/* Zebra nie nadpisuje Premium */
.plan-matrix-table tbody tr:nth-child(even) td:last-child {
  background: rgba(255,106,43,0.09);
}
.plan-matrix-table tbody tr:hover td:last-child {
  background: rgba(255,106,43,0.12);
}
/* Lewy/prawy obrys Premium (przez box-shadow inset, żeby działało z border-collapse: separate) */
.plan-matrix-table thead th.pm-pkg-premium {
  box-shadow:
    inset 1.5px 0 0 rgba(255,106,43,0.6),
    inset -1.5px 0 0 rgba(255,106,43,0.6),
    inset 0 1.5px 0 rgba(255,106,43,0.6);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom: 0;
  padding-top: 28px;
}
.plan-matrix-table tbody td:last-child {
  box-shadow:
    inset 1.5px 0 0 rgba(255,106,43,0.6),
    inset -1.5px 0 0 rgba(255,106,43,0.6);
}
.plan-matrix-table tfoot td:last-child {
  box-shadow:
    inset 1.5px 0 0 rgba(255,106,43,0.6),
    inset -1.5px 0 0 rgba(255,106,43,0.6),
    inset 0 -1.5px 0 rgba(255,106,43,0.6);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

/* === Ikony ✓ / — === */
.pm-yes {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #FF6A2B;
  color: #111210;
  box-shadow: 0 2px 8px -2px rgba(255,106,43,0.4);
}
.pm-yes svg { width: 13px; height: 13px; stroke-width: 3; }
.pm-no {
  display: inline-block;
  color: #8A8C84;
  opacity: 0.5;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}
.pm-tag {
  display: inline-block;
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: transparent;
  color: rgba(244,243,238,0.65);
  border: 1px solid rgba(244,243,238,0.18);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pm-tag-accent {
  background: transparent;
  color: #FF6A2B;
  border-color: rgba(255,106,43,0.55);
  font-weight: 600;
}

/* === Footer / CTAs === */
.plan-matrix-table tfoot td {
  padding: 22px 12px 24px;
  text-align: center;
}
.plan-matrix-table tfoot th { padding: 22px 0; }
.pm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #2A2C28;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #F4F3EE;
  background: transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.pm-cta:hover { border-color: #FF6A2B; color: #FF6A2B; }
.pm-cta-primary {
  background: linear-gradient(135deg, #FF6A2B 0%, #E2551B 100%);
  color: #111210;
  border-color: #FF6A2B;
  box-shadow: 0 8px 22px -8px rgba(255,106,43,0.5);
}
.pm-cta-primary:hover { background: linear-gradient(135deg, #FF7A40 0%, #E2551B 100%); color: #111210; }

/* ===== Mobile (do 720px) — taby pakietów + lista funkcji aktywnego ===== */
@media (max-width: 720px) {
  .plan-matrix-wrap { padding: 18px; }
  .plan-matrix-title { font-size: 1rem; margin-bottom: 14px; }

  /* Wyłączamy karty kolumn (i ich badge) — zastępujemy tabami */
  .pm-cards { display: none; }
  .pm-card-badge { display: none; }

  .plan-matrix { padding-top: 0; }
  .pm-grid { display: block; }

  /* Wyłączamy column-gap z grid rows na mobile — mobile używa flex/block */
  .pm-row { column-gap: 0; }

  /* HEADER → 3-tabowy pill toggle */
  .pm-row-head {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: #131410;
    border: 1px solid #2A2C28;
    border-radius: 14px;
    min-height: 0;
    border-bottom: 0;
    margin-bottom: 18px;
  }
  .pm-row-head .pm-cell-feat { display: none; }
  .pm-row-head .pm-cell-pkg {
    flex: 1;
    padding: 10px 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s ease;
    text-align: center;
    min-height: 56px;
  }
  .pm-row-head .pm-cell-pkg .pm-pkg-name {
    font-size: 14px;
    color: rgba(244,243,238,0.7);
  }
  .pm-row-head .pm-cell-pkg .pm-pkg-price {
    font-size: 11px;
    color: rgba(244,243,238,0.55);
  }
  /* Aktywny tab — sterowany przez JS poprzez data-active na .plan-matrix */
  .plan-matrix[data-active="0"] .pm-row-head .pm-cell-pkg:nth-of-type(2),
  .plan-matrix[data-active="1"] .pm-row-head .pm-cell-pkg:nth-of-type(3),
  .plan-matrix[data-active="2"] .pm-row-head .pm-cell-pkg:nth-of-type(4) {
    background: #FF6A2B;
  }
  .plan-matrix[data-active="0"] .pm-row-head .pm-cell-pkg:nth-of-type(2) .pm-pkg-name,
  .plan-matrix[data-active="1"] .pm-row-head .pm-cell-pkg:nth-of-type(3) .pm-pkg-name,
  .plan-matrix[data-active="2"] .pm-row-head .pm-cell-pkg:nth-of-type(4) .pm-pkg-name { color: #111210; }
  .plan-matrix[data-active="0"] .pm-row-head .pm-cell-pkg:nth-of-type(2) .pm-pkg-price,
  .plan-matrix[data-active="1"] .pm-row-head .pm-cell-pkg:nth-of-type(3) .pm-pkg-price,
  .plan-matrix[data-active="2"] .pm-row-head .pm-cell-pkg:nth-of-type(4) .pm-pkg-price { color: rgba(17,18,16,0.7); }

  /* Pozostałe wiersze — tylko nazwa funkcji + wartość aktywnego pakietu */
  .pm-row:not(.pm-row-head):not(.pm-row-foot) {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 4px;
    border-bottom: 1px solid rgba(244,243,238,0.06);
    min-height: 0;
    column-gap: 14px;
  }
  .pm-row:not(.pm-row-head):not(.pm-row-foot) .pm-cell {
    padding: 12px 4px;
    justify-content: flex-end;
    display: none;
  }
  .pm-row:not(.pm-row-head):not(.pm-row-foot) .pm-cell-feat {
    display: flex !important;
    justify-content: flex-start;
    font-size: 14px;
    color: rgba(244,243,238,0.9);
  }
  .plan-matrix[data-active="0"] .pm-row:not(.pm-row-head):not(.pm-row-foot) .pm-cell:nth-of-type(2),
  .plan-matrix[data-active="1"] .pm-row:not(.pm-row-head):not(.pm-row-foot) .pm-cell:nth-of-type(3),
  .plan-matrix[data-active="2"] .pm-row:not(.pm-row-head):not(.pm-row-foot) .pm-cell:nth-of-type(4) { display: flex; }

  /* Footer — tylko CTA aktywnego, pełna szerokość */
  .pm-row-foot {
    display: block;
    padding-top: 16px;
    border-top: 1px solid rgba(244,243,238,0.06);
    margin-top: 8px;
    min-height: 0;
  }
  .pm-row-foot .pm-cell { display: none; padding: 0; }
  .pm-row-foot .pm-cell .pm-cta { width: 100%; padding: 14px 22px; font-size: 14px; }
  .plan-matrix[data-active="0"] .pm-row-foot .pm-cell:nth-of-type(2),
  .plan-matrix[data-active="1"] .pm-row-foot .pm-cell:nth-of-type(3),
  .plan-matrix[data-active="2"] .pm-row-foot .pm-cell:nth-of-type(4) { display: flex; }
  .pm-row-foot .pm-cell-feat { display: none !important; }
}

/* Promises row */
.plan-promises {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}
.plan-promise {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #2A2C28;
  background: #131410;
  color: rgba(244,243,238,0.78);
  font-size: 13px;
  font-weight: 500;
}
.plan-promise svg { color: #FF6A2B; }

/* ============== VS CARD (kotwica wartości — mocna karta) ============== */
.vs-card {
  margin-top: 48px;
  position: relative;
  padding: clamp(28px, 4vw, 56px);
  border: 2px solid rgba(255,106,43,0.55);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at top right, rgba(255,106,43,0.10), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(255,106,43,0.06), transparent 60%),
    linear-gradient(180deg, #15140f 0%, #121310 100%);
  box-shadow: 0 40px 100px -40px rgba(255,106,43,0.35);
  overflow: hidden;
}
.vs-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.vs-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FF6A2B;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(255,106,43,0.35);
  border-radius: 999px;
  background: rgba(255,106,43,0.08);
  margin-bottom: 22px;
}
.vs-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #F4F3EE;
  hyphens: none;
  word-break: keep-all;
}
.vs-strike {
  text-decoration: line-through;
  text-decoration-color: rgba(255,106,43,0.6);
  text-decoration-thickness: 3px;
  color: rgba(244,243,238,0.55);
  font-style: italic;
  font-weight: 500;
}
/* Filary */
.vs-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .vs-pillars { grid-template-columns: 1fr auto 1fr; gap: 24px; }
}
.vs-pillar {
  padding: 28px 26px;
  border-radius: 18px;
  display: flex; flex-direction: column; gap: 22px;
}
.vs-pillar-bad {
  background: linear-gradient(180deg, rgba(40,42,38,0.4) 0%, #0f100d 100%);
  border: 1px solid #2A2C28;
  /* "ucieka kasa" — animowany szum gradientu */
  position: relative;
  overflow: hidden;
}
.vs-pillar-bad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(244,243,238,0.03), transparent);
  background-size: 200% 100%;
  animation: vs-bad-leak 6s linear infinite;
  pointer-events: none;
}
@keyframes vs-bad-leak {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.vs-pillar-good {
  background:
    radial-gradient(ellipse at top, rgba(255,106,43,0.12), transparent 60%),
    #15140f;
  border: 1px solid rgba(255,106,43,0.45);
  box-shadow: 0 24px 60px -24px rgba(255,106,43,0.30);
}
.vs-pillar-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
}
.vs-pillar-bad  .vs-pillar-tag { background: rgba(244,243,238,0.06); color: rgba(244,243,238,0.55); border: 1px solid #2A2C28; }
.vs-pillar-good .vs-pillar-tag { background: #FF6A2B; color: #111210; }
.vs-pillar-head { display: flex; flex-direction: column; gap: 6px; }
.vs-pillar-amount {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.vs-pillar-amount span { font-size: 0.4em; opacity: 0.7; font-weight: 600; }
.vs-pillar-amount-bad { color: rgba(244,243,238,0.55); text-decoration: line-through; text-decoration-color: rgba(255,106,43,0.45); text-decoration-thickness: 2px; }
.vs-pillar-amount-good { color: #F4F3EE; }
.vs-pillar-amount-good span { color: #FF6A2B; opacity: 1; }
.vs-pillar-sub {
  font-size: 13px;
  color: rgba(244,243,238,0.5);
  letter-spacing: 0.01em;
}
.vs-pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* sztywno: każda pozycja = wiersz; ikona nie schodzi do nowej linii */
}
.vs-pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(244,243,238,0.62);
  /* tekst zawija się NATURALNIE — bez kolumn 22px/1fr które kompresowały */
}
.vs-pillar-list li > span:not(.vs-pillar-x):not(.vs-pillar-check) {
  flex: 1;
  min-width: 0; /* pozwól flex-elementowi się wąsko zawijać */
}
.vs-pillar-list strong { color: #F4F3EE; font-weight: 600; }
.vs-pillar-list-good li { color: rgba(244,243,238,0.85); }
.vs-pillar-x,
.vs-pillar-check {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  margin-top: 1px;
}
.vs-pillar-x {
  background: rgba(244,243,238,0.06);
  color: rgba(244,243,238,0.55);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.vs-pillar-check {
  background: #FF6A2B;
  color: #111210;
}
.vs-pillar-check svg { width: 13px; height: 13px; stroke-width: 2.6; }

.vs-pillar-divider {
  display: grid; place-items: center;
}
@media (max-width: 899px) { .vs-pillar-divider { display: none; } }

/* ----- Wykres kosztu w czasie ----- */
.cost-chart {
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(ellipse at top, rgba(255,106,43,0.06), transparent 60%),
    #15140f;
  border: 1px solid #2A2C28;
  border-radius: 18px;
}
.cost-chart-head { text-align: center; margin-bottom: 28px; }
.cost-chart-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #F4F3EE;
  margin-bottom: 6px;
}
.cost-chart-sub {
  font-size: 12.5px;
  color: rgba(244,243,238,0.5);
}
.cost-chart-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cost-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
}
@media (max-width: 600px) {
  .cost-row { grid-template-columns: 80px 1fr; gap: 12px; }
}
.cost-label {
  font-size: 13px;
  color: rgba(244,243,238,0.6);
  letter-spacing: 0.02em;
  text-align: right;
}
.cost-label strong { color: #F4F3EE; font-weight: 600; }
.cost-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cost-bar {
  position: relative;
  height: 26px;
  border-radius: 6px;
  background: rgba(244,243,238,0.04);
  overflow: visible;
}
.cost-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 6px;
  transition: width 1.4s cubic-bezier(.2,.7,.2,1);
}
.cost-bar-bad .cost-bar-fill {
  background: linear-gradient(90deg, #3a3d36 0%, rgba(244,243,238,0.3) 100%);
}
.cost-bar-good .cost-bar-fill {
  background: linear-gradient(90deg, #FF6A2B 0%, #E2551B 100%);
  box-shadow: 0 0 16px -2px rgba(255,106,43,0.5);
}
.cost-bar-val {
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: rgba(244,243,238,0.85);
  white-space: nowrap;
  z-index: 2;
}
.cost-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #2A2C28;
}
.cost-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(244,243,238,0.6);
}
.cost-legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.cost-legend-dot-bad  { background: rgba(244,243,238,0.3); }
.cost-legend-dot-good { background: #FF6A2B; box-shadow: 0 0 0 3px rgba(255,106,43,0.18); }

/* DEAD: keep old vs-grid for backwards safety (if used elsewhere) */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .vs-grid { grid-template-columns: 1fr auto 1fr; gap: 28px; }
}
.vs-col {
  border-radius: 18px;
  padding: 28px 26px;
  background: #131410;
  border: 1px solid #2A2C28;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vs-col-bad {
  background: linear-gradient(180deg, rgba(40,42,38,0.4) 0%, #0f100d 100%);
  border-color: #2A2C28;
}
.vs-col-good {
  background:
    radial-gradient(ellipse at top, rgba(255,106,43,0.10), transparent 60%),
    #15140f;
  border-color: rgba(255,106,43,0.40);
  box-shadow: 0 20px 50px -20px rgba(255,106,43,0.25);
}
.vs-col-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(244,243,238,0.06);
  padding-bottom: 18px;
}
.vs-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  align-self: flex-start;
}
.vs-tag-bad {
  background: rgba(244,243,238,0.06);
  color: rgba(244,243,238,0.55);
  border: 1px solid #2A2C28;
}
.vs-tag-good {
  background: #FF6A2B;
  color: #111210;
}
.vs-price-bad {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: rgba(244,243,238,0.55);
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-color: rgba(255,106,43,0.5);
  text-decoration-thickness: 2px;
}
.vs-price-bad span { font-size: 0.45em; opacity: 0.8; }
.vs-price-good {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: #F4F3EE;
  letter-spacing: -0.02em;
  line-height: 1;
}
.vs-price-good span { color: #FF6A2B; }
.vs-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.vs-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 14.5px;
  line-height: 1.4;
}
.vs-list li svg { width: 18px; height: 18px; }
.vs-col-bad .vs-list li {
  color: rgba(244,243,238,0.55);
}
.vs-col-bad .vs-list li svg {
  color: rgba(244,243,238,0.55);
  background: rgba(244,243,238,0.06);
  border-radius: 50%;
  padding: 3px;
  box-sizing: border-box;
}
.vs-col-good .vs-list li {
  color: rgba(244,243,238,0.85);
}
.vs-col-good .vs-list li svg {
  color: #111210;
  background: #FF6A2B;
  border-radius: 50%;
  padding: 3px;
  box-sizing: border-box;
}
.vs-list li strong { color: #F4F3EE; font-weight: 600; }
.vs-col-bad .vs-list li strong { color: rgba(244,243,238,0.7); }

/* VS divider circle (desktop) */
.vs-divider {
  display: grid; place-items: center;
}
.vs-divider-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #111210;
  border: 2px solid rgba(255,106,43,0.5);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #FF6A2B;
  letter-spacing: 0.05em;
}
@media (max-width: 899px) {
  .vs-divider { display: none; }
}

.vs-footer {
  margin-top: clamp(20px, 3vw, 32px);
  padding: 16px 20px;
  background: rgba(244,243,238,0.03);
  border: 1px dashed rgba(244,243,238,0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(244,243,238,0.68);
  font-size: 13.5px;
  line-height: 1.55;
}
.vs-footer svg {
  width: 20px; height: 20px;
  color: #FF6A2B;
  flex-shrink: 0;
}

/* ============== QUOTES (placeholders) ============== */
.quote {
  position: relative;
  padding: 36px 32px 32px;
  border: 1px dashed #2A2C28;
  border-radius: 20px;
  background: #131410;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 240px;
}
.quote-mark {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 64px;
  line-height: 0.5;
  color: rgba(255,106,43,0.35);
  margin-top: -8px;
}
.quote-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(244,243,238,0.55);
  font-style: italic;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2A2C28, #1a1c18);
  border: 1px dashed #2A2C28;
}
.quote-name { font-weight: 600; font-size: 14px; color: rgba(244,243,238,0.7); }
.quote-role { font-size: 12px; color: rgba(244,243,238,0.55); }

/* ============== FAQ ============== */
.faq-item {
  border-top: 1px solid #2A2C28;
  padding: 4px 0;
}
.faq-item:last-child { border-bottom: 1px solid #2A2C28; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 60px 22px 0;
  position: relative;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #F4F3EE;
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #FF6A2B; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 14px 1.5px, 1.5px 14px;
  background-position: center;
  background-repeat: no-repeat;
  color: rgba(244,243,238,0.6);
  transition: transform .35s cubic-bezier(.7,0,.2,1), background-size .35s ease;
}
.faq-item[open] summary::after {
  background-size: 14px 1.5px, 0 14px;
  transform: translateY(-50%) rotate(180deg);
  color: #FF6A2B;
}
.faq-body {
  padding: 0 30px 24px 0;
  color: rgba(244,243,238,0.62);
  font-size: 15px;
  line-height: 1.65;
  max-width: 60ch;
}

/* ============== FORM ============== */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.55);
}
.form-field input,
.form-field textarea {
  background: #131410;
  border: 1px solid #2A2C28;
  border-radius: 12px;
  padding: 14px 16px;
  color: #F4F3EE;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  resize: vertical;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(244,243,238,0.5); } /* WCAG AA: 4.94 */
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #FF6A2B;
  background: #16170f;
  box-shadow: 0 0 0 3px rgba(255,106,43,0.15);
}
.form-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(244,243,238,0.6);
  line-height: 1.5;
  cursor: pointer;
  margin: 6px 0 8px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #FF6A2B;
  margin-top: 2px;
}
.form-check a { color: #FF6A2B; }
.form-status {
  font-size: 14px;
  min-height: 22px;
  margin-top: 8px;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s ease, transform .3s ease;
  line-height: 1.5;
}
.form-status:not(:empty) { opacity: 1; transform: translateY(0); }
.form-status.ok   { color: #6dd49c; }
.form-status.err  { color: #ff7a6a; }
.form-status-success {
  padding: 14px 16px;
  background: rgba(109,212,156,0.08);
  border: 1px solid rgba(109,212,156,0.25);
  border-radius: 12px;
  animation: fadeUp .5s ease;
}
.form-status-sub {
  display: block;
  font-size: 13px;
  color: rgba(244,243,238,0.55);
  margin-top: 4px;
  font-weight: normal;
}
.form-status-sub a { color: #FF6A2B; text-decoration: underline; text-decoration-color: rgba(255,106,43,0.4); text-underline-offset: 2px; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Submit button spinner */
.btn-primary.is-loading {
  cursor: progress;
  opacity: 0.85;
}
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(17,18,16,0.25);
  border-top-color: #111210;
  border-radius: 50%;
  margin-right: 8px;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============== CONTACT ASIDE ============== */
.contact-aside {
  display: flex; flex-direction: column; gap: 22px;
  padding: 32px;
  background: #131410;
  border: 1px solid #2A2C28;
  border-radius: 22px;
}
.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
}
.contact-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,106,43,0.12);
  color: #FF6A2B;
  display: grid; place-items: center;
}
.contact-mark svg { width: 18px; height: 18px; }
.contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,243,238,0.55);
  margin-bottom: 4px;
}
.contact-value { color: #F4F3EE; font-size: 15px; transition: color .25s ease; position: relative; display: inline-block; }
a.contact-value {
  background-image: linear-gradient(#FF6A2B, #FF6A2B);
  background-size: 0 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: color .25s ease, background-size .35s cubic-bezier(.6,0,.3,1);
  padding-bottom: 2px;
}
a.contact-value:hover { color: #FF6A2B; background-size: 100% 1.5px; }
.contact-note {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid #2A2C28;
  font-size: 13px;
  color: rgba(244,243,238,0.55);
  line-height: 1.55;
}

/* ============== CLOSING CTA (przed stopką) ============== */
.closing-cta {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid #2A2C28;
  overflow: hidden;
}
.closing-cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 720px; height: 360px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,106,43,0.18), rgba(255,106,43,0) 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.closing-cta-title {
  position: relative; z-index: 1;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #F4F3EE;
  margin-bottom: 18px;
  hyphens: none;
}
.closing-cta-sub {
  position: relative; z-index: 1;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(244,243,238,0.65);
  margin-bottom: 28px;
}
.closing-cta-btn {
  position: relative; z-index: 1;
  font-size: 15px;
  padding: 16px 28px;
}

/* ============== FOOTER ============== */
.footer-h {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(244,243,238,0.55);
  margin-bottom: 18px;
}

/* ============== FAB (Speed Dial) ============== */
.fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 20px));
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
  z-index: 55;
  width: 60px;
  height: 60px;
}
.fab-main {
  position: absolute;
  inset: 0;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6A2B 0%, #E2551B 100%);
  color: #111210;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    0 16px 40px -8px rgba(255,106,43,0.55),
    0 6px 16px -4px rgba(0,0,0,0.4);
  transition: transform 0.45s cubic-bezier(.5,1.6,.5,1), box-shadow 0.3s ease;
  z-index: 2;
}
.fab-main:hover { transform: scale(1.06); }
.fab-main:focus-visible { outline: 3px solid #FF6A2B; outline-offset: 4px; }
.fab-main:active { transform: scale(0.96); }

.fab-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.45s cubic-bezier(.5,1.6,.5,1);
}
.fab[data-open="true"] .fab-icon-plus { transform: rotate(135deg); }

/* Puls — łagodna zachęta */
.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #FF6A2B;
  opacity: 0;
  z-index: -1;
  animation: fabPulse 2.6s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  70%  { transform: scale(1.6);  opacity: 0; }
  100% { transform: scale(1.6);  opacity: 0; }
}
.fab[data-open="true"] .fab-pulse { display: none; }

/* Akcje — początkowo schowane, rozwijają się w wachlarz */
.fab-action {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #181a15;
  border: 1px solid #2A2C28;
  color: #F4F3EE;
  display: grid;
  place-items: center;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.4) translateY(0);
  pointer-events: none;
  transition:
    transform 0.42s cubic-bezier(.4,1.6,.5,1),
    opacity 0.32s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.55);
  z-index: 1;
}
.fab-action svg { width: 20px; height: 20px; }
.fab-action:hover {
  background: #FF6A2B;
  color: #111210;
  border-color: #FF6A2B;
}

/* Tooltip */
.fab-action::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  background: rgba(17,18,16,0.92);
  border: 1px solid #2A2C28;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #F4F3EE;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(8px);
}
.fab-action:hover::before,
.fab-action:focus-visible::before { opacity: 1; }

/* Otwarte: akcje wjeżdżają w pion (góra) */
.fab[data-open="true"] .fab-action {
  opacity: 1;
  pointer-events: auto;
}
.fab[data-open="true"] .fab-action-1 {
  transform: scale(1) translateY(-70px);
  transition-delay: 0.06s;
}
.fab[data-open="true"] .fab-action-2 {
  transform: scale(1) translateY(-130px);
  transition-delay: 0.12s;
}
.fab[data-open="true"] .fab-action-3 {
  transform: scale(1) translateY(-190px);
  transition-delay: 0.18s;
}

/* Mobile: lekko mniejszy */
@media (max-width: 480px) {
  .fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .fab-main { width: 54px; height: 54px; }
  .fab-action { width: 44px; height: 44px; right: 5px; bottom: 5px; }
  .fab-action svg { width: 18px; height: 18px; }
  .fab[data-open="true"] .fab-action-1 { transform: scale(1) translateY(-62px); }
  .fab[data-open="true"] .fab-action-2 { transform: scale(1) translateY(-118px); }
  .fab[data-open="true"] .fab-action-3 { transform: scale(1) translateY(-174px); }
}

/* Reduced motion: prosty toggle bez wachlarza */
@media (prefers-reduced-motion: reduce) {
  .fab-pulse { animation: none; }
  .fab-action { transition: opacity 0.2s ease; }
  .fab[data-open="true"] .fab-action-1,
  .fab[data-open="true"] .fab-action-2,
  .fab[data-open="true"] .fab-action-3 {
    transition-delay: 0s;
  }
}

/* Print: ukryj FAB */
@media print {
  .fab { display: none !important; }
}

/* ============== COOKIES ============== */
.cookies {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(17,18,16,0.95);
  backdrop-filter: blur(14px);
  border: 1px solid #2A2C28;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  transform: translateY(120%);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  max-width: 720px;
  margin: 0 auto;
}
.cookies.is-visible { transform: translateY(0); }
.cookies-text { font-size: 13.5px; color: rgba(244,243,238,0.72); line-height: 1.55; }
.cookies-text a { color: #FF6A2B; }
.cookies-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookies-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all .25s ease;
  cursor: pointer;
}
.cookies-btn-ghost {
  border: 1px solid #2A2C28;
  background: transparent;
  color: rgba(244,243,238,0.7);
}
.cookies-btn-ghost:hover { color: #F4F3EE; border-color: #3a3d36; }
.cookies-btn-primary {
  background: #FF6A2B;
  color: #111210;
  border: 1px solid #FF6A2B;
}
.cookies-btn-primary:hover { background: #E2551B; border-color: #E2551B; }
@media (min-width: 720px) {
  .cookies { flex-direction: row; align-items: center; gap: 24px; }
  .cookies-text { flex: 1; }
}

/* ============== PROSE DOC (polityka prywatności) ============== */
.prose-doc { color: rgba(244,243,238,0.78); font-size: 16px; line-height: 1.7; }
.prose-doc h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #F4F3EE;
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
.prose-doc h2:first-child { margin-top: 0; }
.prose-doc p { margin: 0 0 16px; }
.prose-doc ul { list-style: none; padding: 0; margin: 0 0 20px; }
.prose-doc ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.prose-doc ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 1px;
  background: #FF6A2B;
}
.prose-doc a { color: #FF6A2B; }
.prose-doc a:hover { color: #E2551B; }
.prose-doc strong { color: #F4F3EE; font-weight: 600; }
.prose-doc hr {
  border: 0;
  border-top: 1px solid #2A2C28;
  margin: 36px 0 22px;
}

/* ============== MOBILE QA (finisz) ============== */
@media (max-width: 480px) {
  /* Body — gwarantowana czytelność */
  body { font-size: 15.5px; }
  /* Mniejsze sekcje pionowo, większy oddech między blokami */
  section { padding-top: 64px !important; padding-bottom: 64px !important; }
  /* FAQ — nieco większa czcionka pytań */
  .faq-item summary { font-size: 1rem; padding: 18px 50px 18px 0; }
  .faq-body { font-size: 14.5px; padding-right: 12px; padding-bottom: 18px; }
  /* CTA przyciski — gwarantowana wysokość ~46px (kciuk-friendly) */
  .btn-primary { padding: 14px 22px; min-height: 46px; }
  .btn-ghost { padding: 14px 4px; min-height: 46px; }
  /* CTA w stronie tworzonej (form submit) — pełna szerokość dla łatwego kliknięcia */
  #contact-form button[type="submit"] { width: 100%; justify-content: center; padding: 16px 22px; }
  /* Karty: mniejsze paddingi żeby treść miała oddech od krawędzi */
  .feature-card { padding: 24px 22px; }
  .timeline-card { padding: 20px 18px; }
  .vis-tie-card { padding: 20px 22px; }
  /* Cennik karty — większy oddech między */
  .plan { padding: 28px 24px; }
  .plan-list { gap: 12px; }
  .plan-list li { font-size: 14px; }
  /* Nav — burger zawsze ma co najmniej 44px hit area */
  #burger { padding: 10px; }
  /* FAB — żeby nie zasłaniał stopki, lekko mniejszy + przesunięty */
  .fab { right: 14px; bottom: 14px; }
  /* Cookies banner — większy odstęp od FAB */
  .cookies { right: 78px; bottom: 14px; left: 14px; }
}
@media (max-width: 380px) {
  /* Bardzo małe ekrany — jeszcze ciaśniej */
  .px-5 { padding-left: 1rem; padding-right: 1rem; }
  .feature-card { padding: 22px 18px; }
  .plan { padding: 24px 20px; }
}

/* Focus visibility */
:focus-visible { outline: 2px solid #FF6A2B; outline-offset: 2px; border-radius: 6px; }

/* Skip-link — niewidoczna domyślnie, pokazuje się na focus klawiatury */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 18px;
  background: #FF6A2B;
  color: #111210;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,0.5);
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 12px;
}
