/* =========================================================================
   mikolajkubiak.pl — style
   Breakpointy (jak w oryginale z Framera):
     XL  ≥ 1440px        (bazowe style)
     L   1200–1439px     @media (max-width: 1439.98px)
     M   810–1199px      @media (max-width: 1199.98px)
     S   < 810px         @media (max-width: 809.98px)
   ========================================================================= */

/* ---------- Fonty ---------- */
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Zamiennik o tych samych metrykach — tekst nie "skacze" przy ładowaniu fontu */
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial");
  ascent-override: 94.36%;
  descent-override: 29.49%;
  line-gap-override: 0%;
  size-adjust: 105.13%;
}

/* ---------- Tokeny ---------- */
:root {
  --font: "DM Sans", "DM Sans Fallback", sans-serif;

  --black: #000;
  --card: #080808;
  --ink: #131313;
  --paper: #efeeec;
  --blue: #0055fe;

  --white: #fff;
  --white-60: #fff9;
  --white-50: #ffffff80;
  --white-20: #fff3;
  --white-15: #ffffff26;
  --white-10: #ffffff1a;
  --white-08: #ffffff14;
  --white-07: #ffffff12;
  --white-05: #ffffff0d;
  --white-02: #ffffff05;

  /* Linia "niebieskie światło" używana w tagach, kartach i zdjęciach */
  --blue-line: linear-gradient(90deg, rgba(0, 85, 255, 0) 0%, rgb(0, 85, 255) 50%, rgba(0, 85, 255, 0) 100%);

  /* Krzywe sprężyn (Framer Motion spring, masa 1) zapisane jako CSS linear() */
  --spring-200: linear(0, 0.1277, 0.2773, 0.4049, 0.5083, 0.5938, 0.6644, 0.7227, 0.7717, 0.8114, 0.8442, 0.8712, 0.8936, 0.9124, 0.9276, 0.9402, 0.9506, 0.9592, 0.9664, 0.9722, 0.9771, 0.9811, 0.9843, 0.9871, 0.9894, 0.9912, 0.9927, 0.994, 0.9951, 0.9959, 0.9966, 0.9972, 0.9977, 0.9981, 0.9984, 0.9987, 0.9989, 0.9991, 0.9993, 0.9994, 1);
  --spring-200-duration: 2.17s; /* stiffness 200, damping 60 */
  --spring-300: linear(0, 0.107, 0.2536, 0.3827, 0.4904, 0.5794, 0.6548, 0.7151, 0.7649, 0.8059, 0.8399, 0.8678, 0.8909, 0.91, 0.9257, 0.9387, 0.9497, 0.9585, 0.9657, 0.9717, 0.9767, 0.9807, 0.9841, 0.9869, 0.9892, 0.9911, 0.9927, 0.9939, 0.995, 0.9959, 0.9966, 0.9972, 0.9977, 0.9981, 0.9984, 0.9987, 0.9989, 0.9991, 0.9993, 0.9994, 1);
  --spring-300-duration: 1.4s;  /* stiffness 300, damping 60 */
  --spring-500: linear(0, 0.0786, 0.2018, 0.3321, 0.4476, 0.5409, 0.6229, 0.6906, 0.7437, 0.7898, 0.8277, 0.8573, 0.883, 0.904, 0.9205, 0.9348, 0.9466, 0.9558, 0.9637, 0.9703, 0.9756, 0.9798, 0.9834, 0.9864, 0.9888, 0.9908, 0.9924, 0.9937, 0.9949, 0.9958, 0.9965, 0.9971, 0.9977, 0.9981, 0.9984, 0.9987, 0.9989, 0.9991, 0.9993, 0.9994, 1);
  --spring-500-duration: 0.79s; /* stiffness 500, damping 60 */

  --pad: 120px;       /* boczny margines treści */

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html,
body { margin: 0; padding: 0; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
}

h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img, video, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }

/* Obramowanie rysowane "w środku" elementu (nie zmienia jego wymiarów) */
.bordered { position: relative; }
.bordered::after {
  content: "";
  position: absolute;
  inset: 0;
  border-style: solid;
  border-width: var(--border-width, 1px);
  border-color: var(--border-color, var(--white-07));
  border-radius: inherit;
  pointer-events: none;
}

/* Tekst wypełniony gradientem */
.text-fill {
  display: inline-block;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  padding: max(0em, calc((1.3em - var(--lh, 1.3em)) / 2));
  margin: min(0em, calc((1.3em - var(--lh, 1.3em)) / -2));
}

/* ---------- Typografia ---------- */
.text {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.2px;
  color: var(--white-60);
  overflow-wrap: break-word;
  word-break: break-word;
}
.text strong { font-weight: 700; }
.text--center { text-align: center; }

.title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 54px;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: -1.9px;
  color: var(--white);
  overflow-wrap: break-word;
  word-break: break-word;
}
.title__line { display: block; }
.title__line--muted { color: var(--white-60); }
.title--center { text-align: center; }

.divider {
  display: block;
  flex: none;
  width: 230px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
}

/* ---------- Przyciski ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.5px;
  white-space: nowrap;
  transition-property: box-shadow, color, opacity;
  transition-duration: var(--spring-200-duration);
  transition-timing-function: var(--spring-200);
}
.btn--blue {
  --border-color: var(--white-15);
  --border-width: 3px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 40px 0 rgba(0, 85, 255, 0.5), inset 0 0 10px 1px rgba(255, 255, 255, 0), 0 0 0 1px rgba(0, 85, 255, 0.12);
}
.btn--blue:hover {
  color: rgb(196, 196, 196);
  box-shadow: 0 8px 40px 0 rgba(0, 85, 255, 0.7), inset 0 0 10px 1px rgba(255, 255, 255, 0.3), 0 0 0 5px rgba(0, 85, 255, 0.2);
}
.btn--border-thin { --border-width: 1px; --border-color: rgba(255, 255, 255, 0.15); }
.btn--white { background: var(--paper); color: var(--ink); }
.btn--white:hover { opacity: 0.6; }

/* ---------- Tagi ---------- */
.tag {
  --border-color: var(--white-05);
  position: relative;
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 10px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
}
.tag__label {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--white);
  white-space: nowrap;
}
.tag .text-fill { --lh: 26px; background-image: linear-gradient(90deg, #fff 0%, rgba(153, 153, 153, 0) 350%); }

.tag--highlight {
  gap: 12px;
  padding: 6px 14px 6px 6px;
  background: linear-gradient(180deg, var(--white-07) -100%, var(--white-05) 100%);
}
.tag--dotted,
.tag--dotless { background: linear-gradient(0.0738deg, #0055fe14 0%, #9999991a 100%); }
.tag--dotless { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.tag--grey { background: linear-gradient(0deg, var(--white-05) 0%, #61616117 100%); }
.tag--grey .tag__label { color: var(--white-60); }

.tag__dot {
  --border-color: rgba(255, 255, 255, 0.5);
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 30px;
  background: var(--white);
}
/* Niebieska linia na górze tagu — pojawia się, gdy tag jest w widoku */
.tag__line {
  position: absolute;
  top: 0;
  left: calc(50.3937% - 31%);
  width: 62%;
  height: 1px;
  z-index: 1;
  background: var(--blue-line);
}
.tag--dotless .tag__line { left: calc(50.3937% - 32.5%); width: 65%; }

/* ---------- Struktura strony ---------- */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background: var(--black);
}
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.container { width: 100%; padding: 0 var(--pad); }

.section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  width: 100%;
  max-width: 1440px;
}
.section-line {
  display: block;
  flex: none;
  width: 100%;
  max-width: 1300px;
  height: 1px;
  background: linear-gradient(90deg, var(--white-02) 0%, var(--white-10) 50%, var(--white-02) 100%);
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
}
.section-head--center { align-items: center; }

/* ---------- Nawigacja ---------- */
.nav-bar {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 9;
  width: 100%;
  transform: translateX(-50%);
}
.nav {
  --border-color: var(--white-10);
  --border-width: 0 0 1px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 91px;
  overflow: hidden;
  background: linear-gradient(180deg, #0000 6.642384572072071%, #0000004d 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  will-change: transform;
}
.nav__inner {
  display: flex;
  flex: 1 0 0;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  padding: 0 var(--pad);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}
.nav__logo { display: block; flex: none; width: 52px; height: 20px; overflow: hidden; }
.nav__logo img { width: 100%; height: 100%; object-fit: cover; }
.nav__separator {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
}
.nav__line { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1440px;
  padding-top: 160px;
}
.hero__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  overflow: hidden;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 38px;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
}
.hero__text {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  overflow: hidden;
}
.hero__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
}
.hero__title {
  --lh: 90px;
  display: flex;
  flex-direction: column;
  font-size: 60px;
  font-weight: 400;
  line-height: 90px;
  letter-spacing: -3.8px;
  color: var(--white);
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero__title-line { position: relative; z-index: 1; display: block; }
.hero__title .text-fill { background-image: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.3) 350%); }
.hero__lead { max-width: 500px; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}
.hero__footer { width: 100%; max-width: 400px; overflow: hidden; }
.hero__divider {
  display: block;
  height: 1px;
  background: linear-gradient(270deg, #fff0 0%, var(--white-20) 50%, #fff0 100%);
}

/* Tło hero (wideo) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 810px;
  overflow: hidden;
}
.hero-bg__video,
.hero-bg__blur {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg__video video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg__blur { -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); overflow: hidden; }
.hero-bg__shade {
  position: relative;
  z-index: 7;
  flex: 1 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  -webkit-mask: linear-gradient(360deg, #000 0%, rgba(0, 0, 0, 0.5) 100%);
  mask: linear-gradient(360deg, #000 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* ---------- Karta ze zdjęciem (O mnie / Proces) ---------- */
.photo-card {
  position: relative;
  display: flex;
  flex: 1 0 0;
  width: 1px;
  max-width: 528px;
  height: 534px;
}
.photo-card__frame {
  --border-color: var(--white-05);
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 0 0;
  padding: 10px;
  border-radius: 30px;
  background: var(--card);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.photo-card__border {
  --border-color: var(--white-10);
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  width: 1px;
  padding: 1px;
  border-radius: 20px;
  overflow: hidden;
}
.photo-card__img {
  flex: 1 0 0;
  width: 100%;
  height: 1px;
  border-radius: 19px;
  object-fit: cover;
}
.photo-card__line {
  position: absolute;
  bottom: 0;
  left: calc(50% - 31.496062992125985% / 2);
  z-index: 1;
  width: 31%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 85, 255, 0) 0%, rgba(0, 85, 255, 1) 50%, rgba(0, 85, 255, 0) 100%);
}
.photo-card__glow {
  position: absolute;
  bottom: 8px;
  left: calc(50% - 142.5px);
  z-index: 1;
  width: 285px;
  height: 53px;
  border-radius: 100%;
  background: var(--blue);
  filter: blur(40px);
}

/* ---------- O mnie ---------- */
.about { padding-top: 120px; overflow: hidden; }
.about__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 84px;
}
.about__content {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 1px;
  max-width: 700px;
}
.about__body { width: 100%; max-width: 520px; }
.about__points {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  overflow: hidden;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 500px;
}
.checklist__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.2px;
  color: var(--white-60);
}
.checklist__item span { flex: 1 0 0; }
.checklist__icon { flex: none; width: 23px; height: 23px; }

/* ---------- Proces ---------- */
.process { padding-top: 40px; }
.process__container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 84px;
}
.process__content {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  width: 1px;
  max-width: 700px;
}
.process__intro {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}
.process__lead { max-width: 520px; }
.process__stages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  overflow: hidden;
}
.process__photo { position: sticky; top: 100px; z-index: 1; }

.stage-wrap { width: 100%; }
.stage-card {
  --border-color: var(--white-08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  border-radius: 20px;
  /* blur(0) ogranicza rozmycie warstwy .stage-card__blur do wnętrza karty */
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
}
.stage-card--last { overflow: hidden; }
.stage-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}
.stage-card__blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 20px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.stage-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.stage-card__icon {
  --border-color: rgba(0, 85, 255, 0.15);
  display: flex;
  padding: 14px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px 0 rgba(0, 85, 255, 0.25), inset 0 10px 10px -1px rgba(255, 255, 255, 0.08);
}
.stage-card__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 153, 255, 0.15) 0%, rgb(9, 9, 18) 100%);
  box-shadow: inset 0 10px 10px -1px rgba(0, 85, 255, 0.1);
}
.stage-card__icon svg { position: relative; width: 24px; height: 24px; fill: var(--white); }
.stage-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 650px;
  overflow: hidden;
}
.stage-card__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  overflow: hidden;
}
.stage-card__title,
.benefit-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--white);
  font-feature-settings: "blwf" on, "cv09" on, "cv03" on, "cv04" on, "cv11" on;
  overflow-wrap: break-word;
  word-break: break-word;
}
.stage-card__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  overflow: hidden;
}
/* 68px = odstęp 30px + 38px pustego miejsca pod opisem (jak w oryginale) */
.stage-card__text { position: relative; z-index: 1; color: var(--white-50); margin-bottom: 68px; }
.stage-card__action { padding-top: 10px; }
.stage-card--last .stage-card__body { z-index: 4; overflow: visible; }
.stage-card--last .stage-card__details { overflow: visible; }
.stage-card__star {
  position: absolute;
  right: -50px;
  bottom: -50px;
  z-index: 2;
  width: 200px;
  height: 200px;
  object-fit: cover;
}

/* ---------- Mierzalne rezultaty ---------- */
.results { padding-top: 100px; justify-content: center; overflow: hidden; }
.results__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  width: 100%;
  overflow: hidden;
}
.results__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.results__intro {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 1px;
  max-width: 1000px;
  padding-bottom: 76px; /* 30px odstępu + 46px pustego miejsca jak w oryginale */
}
.results__lead { max-width: 520px; padding-bottom: 42px; } /* dodatkowy pusty akapit z oryginału */
.results__deco {
  position: absolute;
  bottom: -47px;
  z-index: 1;
  width: 567px;
  height: 237px;
}
.results__deco--left { left: -83px; }
.results__deco--right { right: -83px; }

.results__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  grid-auto-rows: min-content;
  gap: 24px;
  width: 100%;
  padding: 0 120px;
  overflow: hidden;
}

.result-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  height: 100%;
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(0deg, #0055fe26 0%, #61616117 100%);
}
.result-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.result-card__icon {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  overflow: hidden;
  background: linear-gradient(0deg, rgba(0, 85, 255, 0.09) 0%, rgba(153, 153, 153, 0.09) 100%);
  box-shadow: 2px 4px 24px 0 rgba(0, 85, 255, 0.35);
}
.result-card__icon img { width: 100%; height: 100%; border-radius: 50px; object-fit: contain; }
.result-card__arrow { opacity: 0.2; transition: opacity var(--spring-200-duration) var(--spring-200); }
.result-card:hover .result-card__arrow { opacity: 1; }
.result-card__heading { display: flex; flex-direction: column; overflow: hidden; }
.result-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--white);
  overflow-wrap: break-word;
  word-break: break-word;
}
.result-card__text { position: relative; z-index: 1; color: var(--white-50); }
.result-card__highlight {
  position: absolute;
  top: 0;
  left: calc(50% - 85px);
  z-index: 1;
  width: 170px;
  height: 1px;
  background: var(--blue-line);
  transition: width var(--spring-200-duration) var(--spring-200), left var(--spring-200-duration) var(--spring-200);
}
.result-card:hover .result-card__highlight { left: calc(50% - 130px); width: 260px; }

/* ---------- Co możesz zyskać ---------- */
.benefits { padding-top: 100px; justify-content: center; overflow: hidden; }
.benefits__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  width: 100%;
  overflow: hidden;
}
.benefits__top { display: flex; align-items: center; overflow: hidden; }
.benefits__intro {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 1px;
  max-width: 860px;
}
.pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  overflow: hidden;
}
.pills__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.benefits__deco {
  position: absolute;
  top: 239px;
  right: -183px;
  z-index: 0;
  width: 1409px;
  height: 237px;
}
.benefits__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
}
.benefits__col {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 1px;
  overflow: hidden;
}
.benefits__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  overflow: hidden;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 20px 20px 40px;
  border-radius: 30px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.benefit-card--wide { width: 100%; }
.benefit-card--left { flex: 1 0 0; width: 1px; align-self: stretch; }
.benefit-card--right { flex: 1 0 0; width: 1px; }
.benefit-card__media {
  flex: none;
  width: 100%;
  height: 109px;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.benefit-card__media--tall { height: 296px; }
.benefit-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}
.benefit-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 0 12px;
}
.benefit-card__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  overflow: hidden;
}
.benefit-card__title { width: 100%; }
.benefit-card__title--nowrap { width: auto; white-space: nowrap; }
.benefit-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}
.benefit-card__body--wide { max-width: 580px; }
.benefit-card__text { position: relative; z-index: 1; width: 100%; color: var(--white-50); }
.benefit-card__actions { display: flex; align-items: center; gap: 10px; width: 100%; }
.benefit-card__glow {
  position: absolute;
  top: 215px;
  left: -260px;
  z-index: -1;
  width: 397px;
  aspect-ratio: 1;
  border-radius: 100%;
  background: var(--blue);
  filter: blur(327px);
}
.benefit-card__glow--wide { top: 389px; left: -74px; width: 407px; filter: blur(322px); }

/* ---------- FAQ ---------- */
.faq { padding-top: 40px; }
.faq__container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
}
.faq__intro {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 1px;
  max-width: 450px;
  overflow: hidden;
}
.faq__lead { max-width: 450px; }
.faq__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 1px;
  max-width: 700px;
}
.faq-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px;
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
  cursor: pointer;
}
.faq-item::after { transition: border-color 0.4s; }
.faq-item.is-open::after { border-color: rgba(255, 255, 255, 0.15); }
.faq-item__question {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.faq-item__question::before { content: ""; position: absolute; inset: 0; } /* cała karta klikalna */
.faq-item__q {
  flex: 1 0 0;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--white);
  overflow-wrap: break-word;
  word-break: break-word;
}
.faq-item__icon {
  flex: none;
  width: 24px;
  height: 24px;
  margin-bottom: 3px; /* oryginał: ikona inline — wiersz ma 27px */
  color: var(--white);
}
.faq-item__answer { padding-top: 17px; }
.faq-item__answer .text { color: var(--white-50); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 120px var(--pad) 0;
  overflow: hidden;
}
.cta__card {
  display: flex;
  flex: 1 0 0;
  align-items: center;
  justify-content: center;
  width: 1px;
  max-width: 1100px;
  padding: 50px;
  border-radius: 20px;
}
.cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 1px;
  max-width: 730px;
}
.cta__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}
.cta__body { width: 100%; max-width: 520px; overflow: hidden; }
.cta__actions { display: flex; flex-direction: column; align-items: center; width: 100%; }
.cta__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 20px;
  overflow: hidden;
}
.cta__video-inner { position: absolute; inset: 0; z-index: 1; }
.cta__video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stopka ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 36px;
  overflow: hidden;
}
.footer__inner {
  --border-color: var(--white-10);
  --border-width: 1px 0 0 0;
  position: relative;
  z-index: 9;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  gap: 90px;
  width: 1px;
  padding: 100px 0 24px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.footer__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer__blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  overflow: hidden;
}
.footer__line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
}
.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 120px;
  overflow: hidden;
}
.footer__copy {
  --lh: 26px;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  opacity: 0.6;
}
.footer__copy .text-fill { background-image: linear-gradient(90deg, #fff 0%, rgba(153, 153, 153, 0) 410%); }

/* ---------- Rozmycie przy dolnej krawędzi ekranu ---------- */
.bottom-blur {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8;
  height: 160px;
  overflow: hidden;
  pointer-events: none;
}
.bottom-blur i { position: absolute; inset: 0; }
.bottom-blur i:nth-child(1) { z-index: 1; -webkit-backdrop-filter: blur(0.078125px); backdrop-filter: blur(0.078125px); -webkit-mask: linear-gradient(#0000 0%, #000 12.5%, #000 25%, #0000 37.5%); mask: linear-gradient(#0000 0%, #000 12.5%, #000 25%, #0000 37.5%); }
.bottom-blur i:nth-child(2) { z-index: 2; -webkit-backdrop-filter: blur(0.15625px); backdrop-filter: blur(0.15625px); -webkit-mask: linear-gradient(#0000 12.5%, #000 25%, #000 37.5%, #0000 50%); mask: linear-gradient(#0000 12.5%, #000 25%, #000 37.5%, #0000 50%); }
.bottom-blur i:nth-child(3) { z-index: 3; -webkit-backdrop-filter: blur(0.3125px); backdrop-filter: blur(0.3125px); -webkit-mask: linear-gradient(#0000 25%, #000 37.5%, #000 50%, #0000 62.5%); mask: linear-gradient(#0000 25%, #000 37.5%, #000 50%, #0000 62.5%); }
.bottom-blur i:nth-child(4) { z-index: 4; -webkit-backdrop-filter: blur(0.625px); backdrop-filter: blur(0.625px); -webkit-mask: linear-gradient(#0000 37.5%, #000 50%, #000 62.5%, #0000 75%); mask: linear-gradient(#0000 37.5%, #000 50%, #000 62.5%, #0000 75%); }
.bottom-blur i:nth-child(5) { z-index: 5; -webkit-backdrop-filter: blur(1.25px); backdrop-filter: blur(1.25px); -webkit-mask: linear-gradient(#0000 50%, #000 62.5%, #000 75%, #0000 87.5%); mask: linear-gradient(#0000 50%, #000 62.5%, #000 75%, #0000 87.5%); }
.bottom-blur i:nth-child(6) { z-index: 6; -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px); -webkit-mask: linear-gradient(#0000 62.5%, #000 75%, #000 87.5%, #0000 100%); mask: linear-gradient(#0000 62.5%, #000 75%, #000 87.5%, #0000 100%); }
.bottom-blur i:nth-child(7) { z-index: 7; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); -webkit-mask: linear-gradient(#0000 75%, #000 87.5%, #000 100%); mask: linear-gradient(#0000 75%, #000 87.5%, #000 100%); }
.bottom-blur i:nth-child(8) { z-index: 8; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-mask: linear-gradient(#0000 87.5%, #000 100%); mask: linear-gradient(#0000 87.5%, #000 100%); }

/* ---------- Kursor-kropka ---------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 13;
  width: 14px;
  height: 14px;
  border-radius: 20px;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

/* ---------- Animacje (stany startowe działają tylko z JS) ---------- */
.js [data-appear] { opacity: 0.001; }

/* tekst dzielony na słowa: ukryty do momentu podziału, potem słowo po słowie
   (will-change + blur(0) jak w oryginale — identyczne renderowanie liter) */
.js [data-words]:not(.is-split) { opacity: 0; }
.word { display: inline-block; filter: blur(0); will-change: transform; }
.js .word:not(.is-in) { opacity: 0.001; filter: blur(10px); transform: translateY(10px); }

/* efekty powiązane z przewijaniem (sterowane z JS) — stany początkowe */
[data-appear],
[data-glow],
.tag__line,
.stage-wrap { will-change: transform; }
.js .tag__line { opacity: 0; transform: scale(0.3); }
.js .stage-wrap { transform: scale(0.9); }

/* poświata pod zdjęciami: wjeżdża raz, gdy jest w pełni widoczna */
.js [data-glow] {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity var(--spring-200-duration) var(--spring-200), transform var(--spring-200-duration) var(--spring-200);
}
.js [data-glow].is-inview { opacity: 1; transform: none; }

/* nawigacja chowa się przy przewijaniu w dół */
.nav { transition: transform var(--spring-300-duration) var(--spring-300); }
.nav.is-hidden { transform: translateY(-94px); }

/* FAQ: ikona plusa obraca się w "x" */
.faq-item__icon { transition: transform var(--spring-500-duration) var(--spring-500); }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

@media (prefers-reduced-motion: reduce) {
  .js [data-appear],
  .js [data-glow],
  .js .tag__line,
  .js .stage-wrap { opacity: 1; transform: none; transition: none; }
  .js [data-words]:not(.is-split) { opacity: 1; }
  .nav { transition: none; }
}

/* =========================================================================
   L: 1200–1439px
   ========================================================================= */
@media (max-width: 1439.98px) {
  :root { --pad: 70px; }

  .results__deco--left { left: -203px; }
  .results__deco--right { right: -203px; }

  /* tytuły kart nie łamią się (jak w oryginale — nadmiar jest ucinany) */
  .result-card__title { white-space: nowrap; }
  .result-card:hover .result-card__highlight { left: calc(50% - 85px); width: 170px; }

  .footer__content { padding: 0 70px; }
}

/* =========================================================================
   M: 810–1199px
   ========================================================================= */
@media (max-width: 1199.98px) {
  :root { --pad: 50px; }

  .hero__title { font-size: 86px; }

  .about__container { flex-direction: column; align-items: flex-start; }
  .photo-card { flex: none; order: 1; width: 100%; max-width: none; }
  .about__content { flex: none; order: 0; width: 100%; }

  .process__container { flex-direction: column; }
  .process__content { flex: none; order: 0; width: 100%; max-width: none; }

  .results__deco { bottom: -97px; width: 407px; height: 170px; }
  .results__deco--left { left: -160px; }
  .results__deco--right { right: -160px; }
  .results__grid { grid-template-columns: repeat(2, minmax(50px, 1fr)); padding: 0 50px; }

  .benefits__deco { display: none; }
  .benefits__grid { flex-direction: column; }
  .benefits__col { flex: none; width: 100%; }
  .benefit-card__body--wide { max-width: 600px; }
  .benefit-card__glow { top: 241px; }

  .faq__container { flex-direction: column; }
  .faq__intro { flex: none; order: 0; width: 100%; }
  .faq__list { flex: none; order: 1; width: 100%; max-width: none; }
}

/* =========================================================================
   S: < 810px
   ========================================================================= */
@media (max-width: 809.98px) {
  :root { --pad: 30px; }

  .title { gap: 3px; font-size: 35px; line-height: 32px; letter-spacing: -2px; }
  .cta .title { gap: 10px; }

  /* Nawigacja mobilna: logo + linia */
  .nav {
    flex-direction: column;
    justify-content: flex-start;
    height: 84px;
    background: linear-gradient(180deg, rgba(19, 19, 19, 0.5) 6.642384572072071%, rgba(0, 0, 0, 0.3) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
  .nav__inner {
    flex: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
    padding: 30px;
  }
  .nav__brand { justify-content: space-between; gap: 0; width: 100%; }
  .nav__separator,
  .nav__cta { display: none; }
  .nav__line {
    display: block;
    width: 100%;
    max-width: 1300px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
  }

  .hero__content { max-width: 460px; }
  .hero__title { --lh: 55px; font-size: 56px; line-height: 55px; letter-spacing: -3.4px; }
  .hero-bg { flex-direction: column; justify-content: flex-end; }
  .hero-bg__shade { flex: none; width: 100%; }

  .about { gap: 70px; padding-top: 20px; }
  .about__container { gap: 70px; }
  .photo-card { height: 340px; }
  .about__content { max-width: 460px; }

  .process { gap: 70px; }
  .process__container { gap: 70px; }
  .process__content { gap: 40px; }
  .process__intro { max-width: 460px; }
  .stage-card { padding: 30px; }

  .results,
  .benefits { gap: 70px; padding-top: 70px; }
  .results__container { gap: 60px; }
  .results__intro { max-width: 460px; }
  .results__lead { padding-bottom: 0; }
  .results__deco { bottom: -67px; width: 263px; height: 110px; }
  .results__deco--left { left: -143px; }
  .results__deco--right { right: -143px; }
  .results__grid { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 30px; }
  .result-card { width: 100%; height: auto; }

  .benefits__container { gap: 40px; }
  .pills__row--second { align-items: flex-start; }
  .benefits__row { flex-direction: column; }
  .benefit-card--left { display: none; }
  .benefit-card--right { flex: none; width: 100%; }
  .benefit-card__content { max-width: 500px; }
  .benefit-card__content--narrow { max-width: 500px; }
  .benefit-card__actions { flex-direction: column; align-items: flex-start; }
  .benefit-card__glow--wide { top: 415px; }

  .faq { gap: 70px; }
  .faq__container { gap: 40px; }
  .faq__intro { max-width: 460px; }

  .cta { padding: 80px 30px 0; }
  .cta__card { padding: 30px; }

  .footer { padding-top: 80px; }
  .footer__inner { gap: 50px; padding: 50px 0 24px; }
  .footer__content { flex-direction: column; justify-content: flex-start; gap: 10px; padding: 0 30px; }
}
