/* ==========================================================================
   Matchtly landing
   Kierunek: pełny ATS (human first, AI enhanced), bliżej estetyki aplikacji.
   Gradient marki zarezerwowany dla elementów AI i agentowych.
   ========================================================================== */

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

/* Pola formularza dziedziczą typografię i nie mają ramki przeglądarki. Bez tego
   natywna ramka rysowała metaliczny wypukły obrys, obcy dla reszty strony.
   Warianty wyglądu dokładają własne tło i obrys cieniem wewnętrznym. */
button, input, select, textarea { font: inherit; color: inherit; }
button, input, select, textarea { background: none; border: 0; }
button { cursor: pointer; }

:root {
  /* Marka */
  --violet-950: #2e1065;
  --violet-900: #4c1d95;
  --violet-800: #5b21b6;
  --violet-700: #6d28d9;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-100: #ede9fe;
  --violet-50:  #f5f3ff;
  --fuchsia-600: #c026d3;
  --fuchsia-500: #d946ef;
  --fuchsia-400: #e879f9;

  /* Neutralne, skala ink z aplikacji */
  --ink-950: #12151d;
  --ink-900: #1b1f2a;
  --ink-800: #2a3040;
  --ink-700: #3d4453;
  --ink-600: #6b7280;
  --ink-500: #8b91a1;
  --ink-400: #c4c8d2;
  --ink-300: #e3e5ea;
  --ink-200: #ebedf1;
  --ink-100: #f2f3f6;
  --ink-50:  #f7f8fa;
  --white: #ffffff;

  /* Statusy w stylu soft pill z aplikacji */
  --st-blue-bg: #e6f0fe;   --st-blue-tx: #1d4ed8;
  --st-green-bg: #e4f7ec;  --st-green-tx: #15803d;
  --st-amber-bg: #fdf0dd;  --st-amber-tx: #b45309;
  --st-red-bg: #fdeaea;    --st-red-tx: #b91c1c;
  --st-violet-bg: #f0e9fe; --st-violet-tx: #6d28d9;

  --grad-brand: linear-gradient(135deg, #7c3aed, #d946ef);
  --grad-hero: linear-gradient(160deg, #2e1065 0%, #4c1d95 45%, #5b21b6 100%);
  --grad-soft: linear-gradient(135deg, #f5f3ff, #ede9fe);

  /* Aliasy dla sekcji przeniesionej ze starego landingu */
  --purple-900: #4c1d95; --purple-800: #5b21b6; --purple-700: #6d28d9;
  --purple-600: #7c3aed; --purple-500: #8b5cf6; --purple-400: #a78bfa;
  --purple-300: #c4b5fd; --purple-200: #ddd6fe; --purple-100: #ede9fe; --purple-50: #f5f3ff;
  --gray-900: #12151d; --gray-800: #2a3040; --gray-700: #3d4453; --gray-600: #6b7280;
  --gray-500: #8b91a1; --gray-400: #c4c8d2; --gray-300: #e3e5ea; --gray-200: #ebedf1;
  --gray-100: #f2f3f6; --gray-50: #f7f8fa;

  --radius-card: 14px;
  --radius-btn: 12px;
  --shadow-card: 0 1px 2px rgba(18,21,29,0.04), 0 8px 24px rgba(18,21,29,0.05);
  --shadow-lift: 0 12px 32px rgba(18,21,29,0.10);
  --shadow-window: 0 24px 60px rgba(18,21,29,0.18), 0 0 0 1px rgba(18,21,29,0.06);
  --maxw: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* ===== Typografia wspólna ===== */
.section { padding: 96px 0; }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
/* Sekcja z demem aplikacji potrzebuje więcej szerokości: tablica pipeline'u ma
   sześć kolumn, a pasek narzędzi zawijał się przy 1180 px. */
.showcase .section-inner { max-width: 1440px; }
.showcase .section-header, .showcase .demo-hint { max-width: 760px; margin-left: auto; margin-right: auto; }
.section-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-header.left { text-align: left; margin-left: 0; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--violet-50); color: var(--violet-700);
  box-shadow: inset 0 0 0 1px var(--violet-100);
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.tag svg { width: 16px; height: 16px; }
.tag.on-dark {
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
  color: var(--violet-100);
}
.tag.ai {
  background: var(--grad-brand); color: var(--white); box-shadow: none;
}

h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.15; }
.section-title { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--ink-600); line-height: 1.7; }
.on-dark .section-title, .dark .section-title { color: var(--white); }
.dark .section-sub { color: var(--violet-100); }

/* ===== Przyciski (jeden hover dla wszystkich wariantów) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: none; font-family: inherit;
  transition: box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--violet-600); color: var(--white); box-shadow: 0 4px 16px rgba(124,58,237,0.25); }
.btn-primary:hover { background: var(--violet-700); box-shadow: 0 8px 28px rgba(124,58,237,0.38); }

.btn-secondary { background: var(--white); color: var(--violet-700); box-shadow: inset 0 0 0 1.5px var(--ink-300); }
.btn-secondary:hover { background: var(--violet-50); box-shadow: inset 0 0 0 1.5px var(--violet-500), 0 8px 24px rgba(124,58,237,0.10); }

.btn-outline { background: rgba(255,255,255,0.08); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.26); }
.btn-outline:hover { background: rgba(255,255,255,0.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.45), 0 8px 24px rgba(0,0,0,0.18); }

.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }

/* ===== Nawigacja ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0; transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav-logo span { font-size: 19px; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-link { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.82); text-decoration: none; transition: color 0.25s; }
.nav-link:hover { color: var(--white); }
.nav-ctas { display: flex; align-items: center; gap: 10px; }
.nav .btn { padding: 9px 18px; font-size: 14px; border-radius: 10px; }

.nav.scrolled {
  background: rgba(255,255,255,0.94); backdrop-filter: blur(18px);
  border-bottom-color: var(--ink-200); padding: 10px 0;
}
.nav.scrolled .nav-logo span { color: var(--ink-900); }
.nav.scrolled .nav-link { color: var(--ink-700); }
.nav.scrolled .nav-link:hover { color: var(--violet-600); }
.nav.scrolled .btn-outline { background: var(--white); color: var(--violet-700); box-shadow: inset 0 0 0 1.5px var(--ink-300); }
.nav.scrolled .btn-outline:hover { background: var(--violet-50); box-shadow: inset 0 0 0 1.5px var(--violet-500); }

/* Dyskretny przełącznik języka. Język rozpoznaje się sam, to jest tylko
   korekta, więc nie konkuruje wizualnie z CTA. */
.lang-mini {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.62); padding: 6px 8px; border-radius: 8px;
  transition: color 0.22s ease, background 0.22s ease;
}
.lang-mini svg { width: 15px; height: 15px; opacity: 0.9; }
.lang-mini:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav.scrolled .lang-mini { color: var(--ink-500); }
.nav.scrolled .lang-mini:hover { color: var(--ink-900); background: var(--ink-100); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: #1a0740;
  padding: 124px 0 88px;
}

/* Płynące tło: dwie warstwy gradientów przesuwające się w przeciwnych fazach.
   Bez rozmytych kół, bo te rysowały widoczne krawędzie na ciemnym tle. */
.hero-flow { position: absolute; inset: 0; pointer-events: none; }
.hero-flow i {
  position: absolute; inset: -30%; display: block; will-change: transform, opacity;
}
.hero-flow i:nth-child(1) {
  background-image:
    radial-gradient(38% 44% at 22% 32%, rgba(139,92,246,1), transparent 72%),
    radial-gradient(34% 40% at 74% 22%, rgba(217,70,239,0.8), transparent 74%),
    radial-gradient(40% 46% at 58% 82%, rgba(88,28,175,0.95), transparent 76%);
  animation: flowA 24s ease-in-out infinite alternate;
}
.hero-flow i:nth-child(2) {
  background-image:
    radial-gradient(36% 42% at 78% 68%, rgba(232,121,249,0.62), transparent 74%),
    radial-gradient(42% 48% at 12% 74%, rgba(56,140,255,0.55), transparent 76%),
    radial-gradient(30% 36% at 46% 12%, rgba(167,139,250,0.7), transparent 76%);
  animation: flowB 31s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@keyframes flowA {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.05) rotate(0deg); }
  50%  { transform: translate3d(4%, 3%, 0) scale(1.18) rotate(6deg); }
  100% { transform: translate3d(-2%, 5%, 0) scale(1.08) rotate(-5deg); }
}
@keyframes flowB {
  0%   { transform: translate3d(2%, 4%, 0) scale(1.12) rotate(3deg); opacity: 0.85; }
  50%  { transform: translate3d(-5%, -3%, 0) scale(1.02) rotate(-6deg); opacity: 1; }
  100% { transform: translate3d(3%, -5%, 0) scale(1.2) rotate(4deg); opacity: 0.9; }
}
/* Przyciemnienie góry i dołu, żeby tekst i nawigacja zawsze miały kontrast */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,6,50,0.5) 0%, rgba(20,6,50,0.04) 45%, rgba(20,6,50,0.6) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-flow i { animation: none; }
}

/* Kolumna z demem dochodzi do prawej krawędzi ekranu i tam się urywa, więc
   lewe wcięcie liczymy tak, żeby tekst stał w tej samej osi co reszta strony,
   a aplikacja mogła wyjechać poza kontener. */
.hero-inner {
  position: relative; z-index: 2; max-width: none; margin: 0;
  padding: 0 0 0 max(32px, calc((100vw - var(--maxw)) / 2 + 32px));
  display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 136px); align-items: center;
}
.hero-copy { max-width: 520px; }
.hero h1 {
  font-size: clamp(34px, 3.9vw, 52px); font-weight: 900; color: var(--white);
  margin-bottom: 18px; line-height: 1.1;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--fuchsia-400), #f5d0fe 45%, #c4b5fd);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 17px; color: rgba(237,233,254,0.85); line-height: 1.6; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: rgba(196,181,253,0.78); }
.hero-note strong { color: var(--white); font-weight: 600; }

/* Okno aplikacji w hero: działające demo, nie zrzut ekranu */
.hero-visual { position: relative; min-width: 0; }
.hero-visual .window { max-width: none; }
.hero-demo-tabs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
}
.hero-demo-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(196,181,253,0.8); margin-right: 4px;
}
.hero-tab {
  font-size: 13px; font-weight: 600; color: var(--white);
  background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.26);
  border-radius: 100px; padding: 8px 16px;
  transition: box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.hero-tab:hover { background: rgba(255,255,255,0.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.45); }
.hero-tab.active { background: var(--white); color: var(--violet-700); box-shadow: none; }
/* Zaokrąglona jest tylko lewa strona. Prawa krawędź musi być płaska, żeby
   okno czytało się jako ucięte, a nie skończone. Selektor jest podwójny,
   bo ogólna reguła .window stoi w arkuszu niżej. */
.hero-visual .hero-window {
  border-radius: 14px 0 0 14px; margin: 0; max-width: none;
  box-shadow: -20px 30px 70px rgba(8,3,28,0.55);
}
/* Aplikacja renderuje się w szerokości biurkowej i jest przeskalowana, a nie
   ściśnięta. To, co nie mieści się w kolumnie, ucina prawa krawędź ekranu. */
.hero-stage { overflow: hidden; height: 561px; background: var(--ink-50); }
.hero-app { display: block; width: 1180px; height: 660px; border: 0; transform-origin: 0 0; }
.hero-float {
  position: absolute; left: -26px; bottom: -24px; z-index: 3;
  background: rgba(255,255,255,0.96); border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 18px 44px rgba(10,4,30,0.4); display: flex; align-items: center; gap: 12px;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-float .hf-icon {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.hero-float .hf-icon svg { width: 18px; height: 18px; }
.hero-float small { display: block; font-size: 11px; color: var(--ink-500); }
.hero-float b { font-size: 13.5px; color: var(--ink-900); font-weight: 700; }

/* Okno przeglądarki ze zrzutem aplikacji */
.window {
  border-radius: 14px 14px 0 0; overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-window); max-width: 1080px; margin: 0 auto;
}
.window.floating { border-radius: 14px; }
.window-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 16px;
  background: var(--ink-50); border-bottom: 1px solid var(--ink-200);
}
.window-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-300); }
.window-dot:nth-child(1) { background: #f5768a; }
.window-dot:nth-child(2) { background: #f7c366; }
.window-dot:nth-child(3) { background: #6fcf97; }
.window-url {
  flex: 1; margin-left: 10px; background: var(--white); border: 1px solid var(--ink-200);
  border-radius: 7px; padding: 5px 12px; font-size: 12px; color: var(--ink-500);
}
.window img { width: 100%; display: block; }


/* ===== Pasek zaufania ===== */
.trust { background: var(--white); border-bottom: 1px solid var(--ink-200); padding: 28px 0; }
.trust-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-600); }
.trust-item svg { width: 18px; height: 18px; color: var(--violet-600); }

/* ===== Wartość: karty korzyści ===== */
/* Układ elastyczny, a nie siatka, żeby niepełny rząd był wyśrodkowany
   zamiast wisieć przy lewej krawędzi. */
.value-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.value-grid > .value-card { flex: 1 1 300px; max-width: calc((100% - 44px) / 3); }
.value-card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-card);
  padding: 22px 22px 24px;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease, border-color 0.35s ease;
}
/* Poświata podążająca za kursorem */
.value-card::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124,58,237,0.16), transparent 60%);
  transition: opacity 0.4s ease;
}
/* Pasek gradientu wjeżdżający od lewej */
.value-card::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.value-card:hover { transform: translateY(-6px); border-color: var(--violet-100); box-shadow: 0 20px 48px rgba(76,29,149,0.14); }
.value-card:hover::before { opacity: 1; }
.value-card:hover::after { transform: scaleX(1); }

.value-icon {
  position: relative; width: 40px; height: 40px; border-radius: 11px; background: var(--violet-50);
  color: var(--violet-600); display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  transition: background 0.4s ease, color 0.4s ease, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.value-card:hover .value-icon { background: var(--grad-brand); color: var(--white); transform: rotate(-8deg) scale(1.08); }

.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; transition: color 0.3s ease; }
.value-card:hover h3 { color: var(--violet-700); }
.value-card p { font-size: 14px; color: var(--ink-600); line-height: 1.62; }
.value-metric {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-size: 12.5px; font-weight: 700; color: var(--violet-700);
  background: var(--violet-50); border-radius: 8px; padding: 5px 10px;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.value-metric::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--fuchsia-500);
  transition: transform 0.4s ease;
}
.value-card:hover .value-metric { background: var(--grad-brand); color: var(--white); box-shadow: 0 8px 20px rgba(124,58,237,0.28); }
.value-card:hover .value-metric::before { background: var(--white); transform: scale(1.3); }

/* Kafelek podsumowujący. Pokazuje od razu ten stan, który reszta kart dostaje
   dopiero pod kursorem, i celowo nie reaguje na najechanie: to nie jest kolejny
   punkt listy, tylko jej puenta. */
.value-sum { border-color: var(--violet-100); box-shadow: 0 20px 48px rgba(76,29,149,0.14); }
.value-sum::before {
  opacity: 1;
  background: radial-gradient(420px circle at 50% 0%, rgba(124,58,237,0.16), transparent 60%);
}
.value-sum::after { transform: scaleX(1); }
.value-sum .value-icon { background: var(--grad-brand); color: var(--white); }
.value-sum h3 { color: var(--violet-700); }
.value-sum .value-metric {
  background: var(--grad-brand); color: var(--white); box-shadow: 0 8px 20px rgba(124,58,237,0.28);
}
.value-sum .value-metric::before { background: var(--white); }
.value-sum:hover { transform: none; }
.value-sum:hover .value-icon { transform: none; }

/* ===== Metryki na ciemnym ===== */
.metrics { background: var(--grad-hero); padding: 88px 0; position: relative; overflow: hidden; }
.metrics::before {
  content: ''; position: absolute; top: -20%; right: -5%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(217,70,239,0.18), transparent 70%);
}
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.metric {
  text-align: center; padding: 30px 18px; border-radius: var(--radius-card);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); transition: background 0.3s, transform 0.3s;
}
.metric:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.metric-num {
  font-size: 46px; font-weight: 900; line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff, #ddd6fe);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.metric-label { font-size: 14px; font-weight: 600; color: var(--violet-100); }
.metric-sub { font-size: 12.5px; color: rgba(196,181,253,0.65); margin-top: 6px; line-height: 1.5; }
.metrics-source { text-align: center; font-size: 13px; color: rgba(196,181,253,0.7); margin-top: 28px; position: relative; z-index: 2; }

/* ===== Showcase produktu z zakładkami ===== */
.showcase { background: var(--ink-50); }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  border: 1px solid var(--ink-300); background: var(--white); color: var(--ink-700);
  padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.22s ease;
}
.tab svg { width: 16px; height: 16px; color: var(--ink-500); transition: color 0.22s; }
.tab:hover { border-color: var(--violet-500); color: var(--violet-700); }
.tab:hover svg { color: var(--violet-600); }
.tab.active { background: var(--violet-600); border-color: var(--violet-600); color: var(--white); box-shadow: 0 4px 14px rgba(124,58,237,0.24); }
.tab.active svg { color: var(--white); }

.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; animation: fade 0.35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-copy h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.tab-copy p { font-size: 15px; color: var(--ink-600); line-height: 1.7; margin-bottom: 18px; }
.tab-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.tab-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-700); line-height: 1.55; }
.tab-list svg { width: 17px; height: 17px; color: var(--violet-600); flex-shrink: 0; margin-top: 3px; }

/* ===== Sekcja agentowa (ciemna) ===== */
.agentic { background: var(--ink-950); color: var(--white); position: relative; overflow: hidden; }
.agentic::before {
  content: ''; position: absolute; top: -25%; left: 50%; width: 900px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(124,58,237,0.28), transparent 65%);
}
.agentic .section-inner { position: relative; z-index: 2; }
.agentic .section-title { color: var(--white); }
.agentic .section-sub { color: rgba(237,233,254,0.78); }
.agentic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.agentic-points { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.agentic-points li { display: flex; gap: 14px; }
.agentic-points .ap-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: var(--white);
}
.agentic-points h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 5px; color: var(--white); }
.agentic-points p { font-size: 14.5px; color: rgba(226,222,245,0.72); line-height: 1.65; }

/* Terminal agenta */
.agent-console {
  background: #16192280; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4); overflow: hidden; backdrop-filter: blur(10px);
}
.console-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; color: rgba(226,222,245,0.6);
}
.console-badge {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--grad-brand); color: var(--white); padding: 4px 9px; border-radius: 6px;
}
.console-body { padding: 20px; font-size: 13.5px; line-height: 1.75; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.console-line { display: flex; gap: 10px; margin-bottom: 14px; }
.console-line:last-child { margin-bottom: 0; }
.console-who { color: var(--violet-400, #a78bfa); flex-shrink: 0; }
.console-who.agent { color: var(--fuchsia-400); }
.console-text { color: rgba(232,229,245,0.88); }
.console-call {
  display: inline-block; background: rgba(124,58,237,0.18); border: 1px solid rgba(167,139,250,0.35);
  color: #ddd6fe; border-radius: 6px; padding: 2px 8px; font-size: 12.5px;
}
.console-ok { color: #6fcf97; }
.console-wait { color: #f7c366; }
.console-cursor { display: inline-block; width: 8px; height: 15px; background: var(--fuchsia-400); vertical-align: -2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* ===== Integracje ===== */
/* Pasek logo jest monochromatyczny: znaki marek w skali ink, żeby siedem
   różnych palet nie rozbiło sekcji. Kolor wchodzi dopiero na hover. */
.integrations { background: var(--ink-50); }
.int-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  /* Siedem znaków nie mieści się w jednym rzędzie na typowym laptopie, więc
     zawężamy pasek i wymuszamy równy podział na dwa wiersze zamiast sześć
     plus jeden osierocony. */
  max-width: 760px; margin: 0 auto 44px;
}
.int-logo {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 100px;
  box-shadow: inset 0 0 0 1px var(--ink-200);
  padding: 11px 20px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-800);
  transition: box-shadow .2s, color .2s;
}
.int-logo svg { width: 21px; height: 21px; color: var(--ink-500); flex-shrink: 0; transition: color .2s; }
.int-logo:hover { box-shadow: inset 0 0 0 1px var(--violet-100); color: var(--violet-700); }
.int-logo:hover svg { color: var(--violet-600); }
.int-soon {
  font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
  background: var(--st-violet-bg); color: var(--st-violet-tx);
  border-radius: 100px; padding: 3px 9px;
}

.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.int-card {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-card); padding: 28px;
}
.int-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.int-card p { font-size: 14.5px; color: var(--ink-600); line-height: 1.7; }

/* ===== Podział pracy człowiek / AI ===== */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { border-radius: var(--radius-card); padding: 32px; border: 1px solid var(--ink-200); background: var(--white); }
.split-card.ai { background: var(--grad-soft); border-color: var(--violet-100); }
.split-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.split-head .sh-icon {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: var(--ink-100); color: var(--ink-700);
}
.split-card.ai .sh-icon { background: var(--grad-brand); color: var(--white); }
.split-head h3 { font-size: 19px; font-weight: 800; }
.split-head span { font-size: 13px; color: var(--ink-500); font-weight: 500; display: block; margin-top: 2px; }
.split-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.split-list li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-700); line-height: 1.6; }
.split-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--ink-500); }
.split-card.ai .split-list svg { color: var(--violet-600); }
.split-banner {
  margin-top: 28px; padding: 22px 28px; border-radius: var(--radius-card); text-align: center;
  background: var(--ink-50); border: 1px solid var(--ink-200); font-size: 16px; color: var(--ink-800);
}
.split-banner strong { color: var(--violet-700); }

/* ===== Kroki jako oś czasu ===== */
.timeline-wrap { position: relative; padding-top: 8px; }
.timeline-rail {
  position: absolute; top: 34px; left: 8%; right: 8%; height: 3px; border-radius: 3px;
  background: var(--ink-200); overflow: hidden;
}
.timeline-rail i {
  display: block; height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--violet-600), var(--fuchsia-500));
  transition: width 1.6s cubic-bezier(0.16,1,0.3,1);
}
.timeline-wrap.filled .timeline-rail i { width: 100%; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; z-index: 2; }
.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--white); box-shadow: inset 0 0 0 3px var(--ink-200); color: var(--ink-500);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
  transition: background 0.55s cubic-bezier(0.16,1,0.3,1), color 0.55s ease, box-shadow 0.55s ease;
  position: relative;
}
.timeline-wrap.filled .step-num {
  background: var(--grad-brand); color: var(--white);
  box-shadow: 0 10px 26px rgba(124,58,237,0.32);
}
.timeline-wrap.filled .step:nth-child(2) .step-num { transition-delay: 0.35s; }
.timeline-wrap.filled .step:nth-child(3) .step-num { transition-delay: 0.7s; }
.step-num::after {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.25); opacity: 0; transition: opacity 0.5s ease;
}
.timeline-wrap.filled .step-num::after { opacity: 1; }
.step-who {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; padding: 4px 11px; border-radius: 100px;
  margin-bottom: 10px;
}
.step-who.ty { background: var(--white); border: 1px solid var(--ink-300); color: var(--ink-600); }
.step-who.system { background: var(--violet-50); color: var(--violet-700); }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-600); line-height: 1.7; max-width: 320px; margin: 0 auto; }

/* ===== Porównanie ===== */
/* Sekcja na przygaszonym tle, żeby biała tabela miała się od czego odbić */
.section-tint {
  background: linear-gradient(180deg, #f6f4fd 0%, #f1eefb 100%);
  border-top: 1px solid var(--violet-100);
  border-bottom: 1px solid var(--violet-100);
}

.compare-wrap {
  overflow-x: auto; border-radius: 16px; background: var(--white);
  box-shadow: var(--shadow-window);
}
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--ink-200); font-size: 14.5px; vertical-align: top; }
/* Wiersz tytułowy: czytelny kontrast zamiast szarości, wyrównanie w pionie,
   bo nagłówek trzeciej kolumny łamie się na dwie linie. */
table.compare thead th {
  padding-top: 18px; padding-bottom: 18px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink-900); background: var(--ink-100);
  vertical-align: middle; text-align: center;
  border-bottom: 1px solid var(--ink-200);
}
table.compare thead th:first-child { text-align: left; color: var(--ink-600); }
/* Kolumny porównawcze czytają się jako zestawienie, więc treść też idzie na środek */
table.compare tbody td:not(:first-child) { text-align: center; }
/* Kolumna Matchtly jest wyróżniona przez całą wysokość tabeli */
table.compare thead th.col-matchtly {
  color: var(--white); background: var(--grad-brand);
  font-size: 13.5px; letter-spacing: 0.04em;
}
table.compare td.col-matchtly {
  background: var(--violet-50);
  box-shadow: inset 1px 0 0 var(--violet-100), inset -1px 0 0 var(--violet-100);
}
table.compare tbody tr:hover td { background: rgba(18,21,29,0.02); }
table.compare tbody tr:hover td.col-matchtly { background: #efeafe; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td:first-child { font-weight: 600; color: var(--ink-800); width: 30%; }
.cell-detail { display: block; font-size: 12.5px; color: var(--ink-500); margin-top: 3px; line-height: 1.5; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.pill.yes { background: var(--st-green-bg); color: var(--st-green-tx); }
.pill.part { background: var(--st-amber-bg); color: var(--st-amber-tx); }
.pill.no { background: var(--ink-100); color: var(--ink-500); }

/* ===== Cennik ===== */
.pricing { background: var(--ink-50); }
/* Pasek nad cennikiem. Najważniejsza informacja o modelu, czyli że sam system
   nic nie kosztuje, nie może być przypisem pod kafelkami. */
.price-free {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 1000px; margin: 0 auto 26px; padding: 18px 22px;
  background: var(--violet-50); border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--violet-100);
  font-size: 14.5px; line-height: 1.6; color: var(--ink-700);
}
.price-free b { color: var(--ink-900); font-weight: 700; }
.pf-mark {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-brand); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.pf-mark svg { width: 15px; height: 15px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.price-card {
  background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-card);
  padding: 30px; display: flex; flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--violet-100); }
.price-card.featured { border: 2px solid var(--violet-600); box-shadow: 0 16px 40px rgba(124,58,237,0.14); position: relative; }
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: var(--white); font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 100px; white-space: nowrap;
}
.price-name { font-size: 17px; font-weight: 700; }
.price-desc { font-size: 13.5px; color: var(--ink-500); margin-bottom: 18px; }
.price-amount { font-size: 38px; font-weight: 900; letter-spacing: -0.03em; }
.price-unit { font-size: 14px; color: var(--ink-500); font-weight: 500; }
/* Doprecyzowanie jednostki, żeby kwota nie ciągnęła za sobą całego zdania */
.price-per { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-500); }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 22px 0 26px; }
.price-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-700); line-height: 1.55; }
.price-list svg { width: 17px; height: 17px; color: var(--violet-600); flex-shrink: 0; margin-top: 3px; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-note { text-align: center; font-size: 14px; color: var(--ink-600); margin-top: 26px; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--ink-200); border-radius: 12px; overflow: hidden; transition: border-color 0.25s; background: var(--white); }
.faq-item:hover { border-color: var(--violet-100); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-size: 15.5px; font-weight: 600; cursor: pointer; color: var(--ink-900);
  transition: background 0.25s;
}
.faq-q:hover { background: var(--ink-50); }
.faq-q svg { width: 18px; height: 18px; color: var(--ink-400); transition: transform 0.28s, color 0.28s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--violet-600); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-600); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 420px; }

/* ===== CTA końcowe ===== */
.final { background: var(--grad-hero); padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: ''; position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px; background: radial-gradient(ellipse, rgba(217,70,239,0.22), transparent 68%);
}
.final .section-inner { position: relative; z-index: 2; }
.final h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.final p { font-size: 17px; color: rgba(237,233,254,0.82); margin-bottom: 32px; }
/* .hero-ctas jest wyrównane do lewej, bo tak stoi w hero. W sekcji końcowej
   cała treść jest wyśrodkowana, więc przyciski też muszą być. */
.final .hero-ctas { justify-content: center; margin-bottom: 0; }
.final p { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ===== Stopka ===== */
.footer { background: var(--ink-950); color: var(--ink-500); padding: 56px 0 28px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-brand span { font-size: 18px; font-weight: 800; color: var(--white); }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-300); margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer a { color: var(--ink-500); text-decoration: none; font-size: 14px; transition: color 0.22s; }
.footer a:hover { color: var(--violet-400, #a78bfa); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}

/* ===== Responsywność ===== */
@media (max-width: 1024px) {
  .int-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .value-grid > .value-card { max-width: calc((100% - 22px) / 2); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .agentic-grid { grid-template-columns: 1fr; gap: 32px; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .price-free { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
}

/* Tabela porównawcza na telefonie. Cztery kolumny mieszczą się tam tylko
   w poziomym przewijaniu, a kolumna Matchtly, czyli cała pointa, zostaje wtedy
   poza ekranem. Dlatego każdy wiersz rozkłada się w kartę z podpisami z nagłówka. */
@media (max-width: 768px) {
  .int-strip { gap: 9px; }
  .int-logo { padding: 9px 15px; font-size: 13.5px; }
  .int-logo svg { width: 19px; height: 19px; }
  .compare-wrap { overflow-x: visible; background: none; box-shadow: none; }
  table.compare { min-width: 0; display: block; }
  table.compare thead { display: none; }
  table.compare tbody, table.compare tr, table.compare td { display: block; width: auto; }
  table.compare tbody tr {
    background: var(--white); border-radius: 14px; margin-bottom: 12px;
    box-shadow: var(--shadow-card, 0 6px 20px rgba(17,24,39,0.06));
    overflow: hidden;
  }
  table.compare tbody tr:hover td,
  table.compare tbody tr:hover td.col-matchtly { background: none; }

  table.compare td:first-child {
    width: auto; padding: 14px 16px 12px;
    font-size: 15px; font-weight: 700; color: var(--ink-900);
    background: var(--ink-50); border-bottom: 1px solid var(--ink-200);
  }
  table.compare tbody td:not(:first-child) {
    display: grid; grid-template-columns: 1fr auto; align-items: center;
    gap: 4px 12px; padding: 11px 16px; text-align: left;
    border-bottom: 1px solid var(--ink-100);
  }
  table.compare tbody td:not(:first-child)::before {
    content: attr(data-label);
    font-size: 12.5px; font-weight: 600; color: var(--ink-500);
  }
  table.compare tbody td:not(:first-child) .pill { justify-self: end; }
  table.compare tbody td .cell-detail {
    grid-column: 1 / -1; margin-top: 2px; font-size: 12px; line-height: 1.45;
  }
  table.compare tbody tr td:last-child { border-bottom: 0; }
  table.compare td.col-matchtly {
    background: var(--violet-50); box-shadow: none;
    padding-top: 13px; padding-bottom: 14px;
  }
  table.compare td.col-matchtly::before { color: var(--violet-700); font-weight: 700; }
}

@media (max-width: 768px) {
  .section-inner, .nav-inner, .hero-inner, .footer-inner, .trust-inner { padding-left: 20px; padding-right: 20px; }
  .window-bar { gap: 5px; padding: 9px 10px; }
  .window-dot { width: 9px; height: 9px; }
  .window-url {
    margin-left: 6px; padding: 4px 8px; font-size: 10.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
  }
  .hero { padding-top: 108px; }
  .hero-sub { font-size: 16px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .value-grid > .value-card { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn, .btn-lg { width: 100%; }
  .hero-ctas, .final .hero-ctas { flex-direction: column; }
  .nav-ctas .btn-outline { display: none; }
  .nav .btn { padding: 8px 14px; font-size: 13px; }
}

/* ========================================================================
   Pełna ścieżka kandydata, sekcja przeniesiona z pierwszej wersji landingu
   ======================================================================== */
/* overflow-x: clip, a nie hidden, bo hidden zrobilby z sekcji kontener
   przewijania i zabil position: sticky w srodku, czyli caly poziomy przesuw
   slajdow. Bez tego poswiata ::before wystaje 200 px w prawo i na telefonie
   rozpycha dokument, przez co przegladarka skaluje cala strone w dol. */
.process-section {
  background: linear-gradient(160deg, var(--purple-900), var(--purple-800), #4a1d96);
  padding: 0; position: relative; overflow-x: clip;
}
.process-section::before {
  content: ''; position: absolute; top: -300px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(217,70,239,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.process-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; overflow: hidden;
}
.process-header {
  text-align: center; padding: 88px 32px 0; flex-shrink: 0; position: relative; z-index: 5;
}
.process-header .section-tag {
  background: rgba(255,255,255,0.1); color: var(--purple-200); border-color: rgba(255,255,255,0.15);
}
.process-header .section-title { color: var(--white); }
.process-header .section-subtitle { color: var(--purple-200); }

/* Unified nav bar: pills + timeline */
.process-nav-bar {
  display: flex; justify-content: center; gap: 0;
  padding: 20px 32px 0; flex-shrink: 0; position: relative; z-index: 5;
}
.process-nav-col {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer; padding: 0 8px;
}
.process-step-pill {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.35);
  padding: 5px 12px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent; white-space: nowrap; pointer-events: none;
}
.process-nav-col:hover .process-step-pill {
  color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.15);
}
.process-step-pill.active {
  color: var(--white); background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
}
.process-step-pill.done {
  color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.12);
}

/* Timeline nodes */
.process-timeline-node {
  width: 28px; height: 28px; border-radius: 50%; overflow: visible;
  background: var(--purple-900); border: 2px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none;
  position: relative; z-index: 2; flex-shrink: 0;
}
.process-timeline-node span {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35);
  transition: color 0.3s; position: relative; z-index: 1;
}
.process-nav-col:hover .process-timeline-node {
  border-color: rgba(255,255,255,0.3); background: var(--purple-800);
}
.process-timeline-node.active {
  border-color: transparent;
  background: none;
  animation: nodePulse 2.5s ease-in-out infinite;
}
.process-timeline-node.active::before {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--fuchsia-500));
  z-index: 0;
}
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 14px rgba(139,92,246,0.5); transform: scale(1); }
  50% { box-shadow: 0 0 22px rgba(139,92,246,0.7); transform: scale(1.08); }
}
.process-timeline-node.active span { color: var(--white); }
.process-timeline-node.done {
  background: #4c2889; border-color: #6d38b8;
}
.process-timeline-node.done span { color: rgba(255,255,255,0.75); }

/* Timeline connecting line */
.process-timeline-line {
  position: absolute; bottom: 14px; left: 0; right: 0; height: 2px;
  border-radius: 2px; z-index: 1; margin: 0 40px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  background: rgba(255,255,255,0.08);
}
.process-timeline-fill {
  height: 100%; width: 0%; border-radius: 2px;
  background: linear-gradient(90deg, var(--purple-400), var(--fuchsia-400));
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Horizontal track */
.process-track-viewport {
  flex: 1; overflow: hidden; position: relative; min-height: 0;
}
.process-track {
  display: flex; align-items: stretch; height: 100%;
  will-change: transform; gap: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Individual slide */
.process-slide {
  min-width: 100vw; height: 100%; flex-shrink: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 32px 12vw 48px;
  gap: 48px; position: relative; box-sizing: border-box;
}

/* Left side: text content */
.process-slide-content {
  position: relative; z-index: 3;
  opacity: 0; transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-slide.active .process-slide-content {
  opacity: 1; transform: translateY(0);
}
.process-slide-step {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fuchsia-400); margin-bottom: 16px;
}
.process-slide-step .step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--fuchsia-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--white);
  box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}
.process-slide-title {
  font-size: clamp(24px, 2.5vw, 36px); font-weight: 800;
  color: var(--white); line-height: 1.2; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.process-slide-desc {
  font-size: 16px; color: var(--purple-200); line-height: 1.7;
  max-width: 440px; margin-bottom: 24px;
}
.process-slide-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.process-slide-tag {
  font-size: 12px; font-weight: 600; color: var(--purple-300);
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}

/* Right side: mockup */
.process-slide-mockup {
  position: relative; z-index: 3;
  opacity: 0; transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.process-slide.active .process-slide-mockup {
  opacity: 1; transform: translateX(0);
}

/* Mockup window frame */
.process-mockup-window {
  background: var(--white); border-radius: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden; max-width: 520px;
}
.process-mockup-toolbar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.process-mockup-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.process-mockup-dot:nth-child(1) { background: #ef4444; }
.process-mockup-dot:nth-child(2) { background: #f59e0b; }
.process-mockup-dot:nth-child(3) { background: #22c55e; }
.process-mockup-toolbar-title {
  flex: 1; text-align: center; font-size: 11px; font-weight: 600;
  color: var(--gray-500); margin-right: 30px;
}
.process-mockup-body {
  padding: 20px; min-height: 300px;
}

/* Mockup internal elements */
.pm-sidebar {
  display: flex; gap: 16px;
}
.pm-sidebar-nav {
  width: 48px; background: var(--gray-100); border-radius: 10px; padding: 12px 0;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.pm-sidebar-dot {
  width: 24px; height: 24px; border-radius: 6px; background: var(--gray-200);
}
.pm-sidebar-dot.active { background: linear-gradient(135deg, var(--purple-600), var(--fuchsia-500)); }
.pm-main { flex: 1; }

.pm-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--gray-100); margin-bottom: 8px;
  transition: all 0.3s;
}
.pm-row:hover { border-color: var(--gray-200); }
.pm-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
}
.pm-avatar.av-blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.pm-avatar.av-purple { background: linear-gradient(135deg, var(--purple-600), var(--fuchsia-500)); }
.pm-avatar.av-green { background: linear-gradient(135deg, #22c55e, #34d399); }
.pm-avatar.av-orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.pm-avatar.av-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.pm-name { font-size: 13px; font-weight: 600; color: var(--gray-800); flex: 1; }
.pm-role { font-size: 11px; color: var(--gray-500); flex: 1; }
.pm-score {
  font-size: 12px; font-weight: 700; padding: 3px 10px;
  border-radius: 100px; flex-shrink: 0;
}
.pm-score.high { background: rgba(34,197,94,0.1); color: #16a34a; }
.pm-score.mid { background: rgba(245,158,11,0.1); color: #d97706; }
.pm-score.low { background: rgba(239,68,68,0.1); color: #dc2626; }

.pm-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: 100px; margin-bottom: 10px;
}
.pm-badge.new {
  background: rgba(99,102,241,0.1); color: #6366f1;
}
.pm-badge.rec {
  background: rgba(34,197,94,0.1); color: #16a34a;
}
.pm-badge.ai {
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(217,70,239,0.1));
  color: var(--purple-600);
}
.pm-badge.live {
  background: rgba(239,68,68,0.1); color: #dc2626;
}

.pm-bar { height: 8px; border-radius: 4px; margin-bottom: 6px; }
.pm-bar-purple { background: linear-gradient(90deg, var(--purple-500), var(--fuchsia-400)); }
.pm-bar-gray { background: var(--gray-200); }
.pm-bar-green { background: linear-gradient(90deg, #22c55e, #34d399); }

.pm-text-sm { font-size: 11px; color: var(--gray-500); line-height: 1.5; }
.pm-text-md { font-size: 13px; color: var(--gray-700); line-height: 1.6; }
.pm-heading { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.pm-subheading { font-size: 12px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }

.pm-divider { height: 1px; background: var(--gray-100); margin: 12px 0; }

.pm-card {
  background: var(--gray-50); border-radius: 10px; padding: 14px; margin-bottom: 10px;
  border: 1px solid var(--gray-100);
}

.pm-chat-bubble {
  padding: 10px 14px; border-radius: 12px; font-size: 12px; line-height: 1.5;
  max-width: 80%; margin-bottom: 8px;
}
.pm-chat-bubble.ai {
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(217,70,239,0.06));
  color: var(--gray-800); border: 1px solid rgba(139,92,246,0.12);
}
.pm-chat-bubble.user {
  background: var(--gray-100); color: var(--gray-700);
  margin-left: auto;
}

/* Wskaznik petli na slajdzie */
.process-slide-loop {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--fuchsia-400);
  padding: 6px 16px; border-radius: 100px;
  background: rgba(217,70,239,0.1); border: 1px solid rgba(217,70,239,0.2);
  z-index: 5; margin-bottom: 12px;
}
.process-slide-loop svg { width: 14px; height: 14px; }

/* Fork cards inside mockup column */
.process-fork-cards {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 520px; width: 100%;
}
.process-fork-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 32px 24px; text-align: center;
  transition: all 0.3s;
}
.process-fork-card:hover {
  background: rgba(255,255,255,0.1); transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.process-fork-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.process-fork-icon.reject-icon { background: linear-gradient(135deg, #f97316, #ef4444); }
.process-fork-icon.hire-icon { background: linear-gradient(135deg, #22c55e, #10b981); }
.process-fork-icon svg { width: 24px; height: 24px; }
.process-fork-card h4 {
  font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px;
}
.process-fork-card p {
  font-size: 14px; color: var(--purple-200); line-height: 1.6;
}

/* Floating particles */
.process-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1;
}
.process-particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,70,239,0.3), transparent);
  animation: floatParticle 12s ease-in-out infinite;
}
.process-particle:nth-child(1) { width: 200px; height: 200px; top: 20%; left: -5%; animation-delay: 0s; }
.process-particle:nth-child(2) { width: 150px; height: 150px; top: 60%; left: 30%; animation-delay: -4s; }
.process-particle:nth-child(3) { width: 120px; height: 120px; top: 30%; right: 10%; animation-delay: -8s; }
@keyframes floatParticle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(40px, -30px) scale(1.1); opacity: 0.5; }
}


/* ===== Zgodność klas w sekcji ścieżki kandydata ===== */
.process-header .section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.process-header .section-title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; margin-bottom: 10px; }
.process-header .section-subtitle { font-size: 16px; line-height: 1.6; max-width: 620px; margin: 0 auto; }

/* ===== Responsywność dla nowego hero i przeniesionej sekcji ===== */
@media (max-width: 1024px) {
  .hero { padding: 108px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 0 32px; }
  .hero-copy { max-width: 640px; }
  /* Bez wychodzenia poza kadr: okno stoi w kolumnie i ma oba narożniki */
  .hero-visual .hero-window { border-radius: 14px; box-shadow: 0 24px 60px rgba(8,3,28,0.5); }
  .hero-visual .window { transform: none; }
  .hero-visual .window:hover { transform: none; }
  .hero-float { left: auto; right: 12px; bottom: -18px; }
  .timeline-rail { display: none; }
  .process-slide { grid-template-columns: 1fr; padding: 24px 40px 32px; gap: 24px; }
  .process-slide-mockup { display: none; }
  .process-slide-content { max-width: 100%; }
  .process-fork-cards { gap: 16px; }
  .process-nav-bar { padding: 16px 16px 0; }
  .process-nav-col { padding: 0 4px; }
  .process-step-pill { font-size: 10px; padding: 4px 8px; }
  .process-timeline-node { width: 24px; height: 24px; }
  .process-timeline-node span { font-size: 10px; }
}

@media (max-width: 768px) {
  .hero-float { display: none; }
  .process-section { height: auto !important; }
  .process-sticky { position: relative; height: auto; overflow: visible; }
  .process-particles { display: none; }
  .process-nav-bar { display: none; }
  .process-track-viewport { overflow: visible; }
  .process-track { display: flex; flex-direction: column; transform: none !important; transition: none; }
  .process-slide {
    min-width: 100%; display: block; padding: 32px 20px;
    opacity: 1; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .process-slide .process-slide-content { opacity: 1; transform: none; max-width: 100%; }
  .process-slide .process-slide-mockup { display: none; }
  .process-slide-step { display: none; }
  .process-slide-title { font-size: 22px; }
  .process-slide-desc { font-size: 14px; max-width: 100%; }
  .process-header { padding: 32px 20px 0; }
  .process-header .section-subtitle { font-size: 14px; }
  .process-fork-card { padding: 24px 20px; }
}
