/* ===================== TOKENS ===================== */
:root {
  --bg: #0a0710;
  --bg-2: #0e0a18;
  --surface: #140e22;
  --surface-2: #1a1330;
  --card: rgba(28, 20, 48, 0.55);
  --line: rgba(150, 110, 255, 0.16);
  --line-strong: rgba(160, 120, 255, 0.35);
  --text: #f3effb;
  --muted: #a99fc4;
  --muted-2: #7c7398;
  --primary: #8b46ff;
  --primary-2: #b07bff;
  --primary-glow: rgba(139, 70, 255, 0.55);
  --gold: #ffc01e;
  --radius: 18px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --shadow: 0 30px 80px -30px rgba(98, 40, 200, 0.55);
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Sora", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 75% -5%, rgba(139, 70, 255, 0.22), transparent 60%),
    radial-gradient(50% 40% at 10% 0%, rgba(90, 50, 200, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #6d34d6 100%);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -10px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--ghost {
  background: rgba(139, 70, 255, 0.07);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--primary-2); background: rgba(139, 70, 255, 0.14); }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 7, 16, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #6d34d6);
  box-shadow: 0 6px 20px -6px var(--primary-glow);
  color: #fff;
}
.brand__mark svg { width: 20px; height: 20px; }
.brand .accent { color: var(--primary-2); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: 6px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: clamp(70px, 12vw, 130px) 0 clamp(60px, 8vw, 90px); overflow: hidden; }
.hero__glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 70, 255, 0.28), transparent 70%);
  filter: blur(20px);
}
.hero__inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(139, 70, 255, 0.08);
  font-size: 0.82rem; color: var(--muted); font-weight: 500; margin-bottom: 26px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #41e08a; box-shadow: 0 0 10px #41e08a; }
.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 35%, #cbbdf0 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__rotator {
  margin-top: 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.7vw, 1.6rem);
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: baseline;
}
.hero__rotator-prefix { color: var(--muted); }
.rotator { position: relative; display: inline-block; min-height: 1.4em; }
.rotator__text {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-2), #e3d4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
  will-change: opacity, transform;
}
/* wyjscie w gore */
.rotator__text.is-out {
  opacity: 0;
  transform: translateY(-12px);
  filter: blur(2px);
}
/* stan startowy wejscia (z dolu) – ustawiany bez animacji, potem zdejmowany */
.rotator__text.is-in {
  transition: none;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(2px);
}
@media (prefers-reduced-motion: reduce) {
  .rotator__text, .rotator__text.is-out, .rotator__text.is-in {
    transition: none; filter: none; transform: none;
  }
}
.hero__lead { margin: 26px auto 0; max-width: 660px; color: var(--muted); font-size: 1.05rem; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero__note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted-2); font-size: 0.88rem; }
.hero__note svg { width: 16px; height: 16px; color: var(--primary-2); }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(60px, 9vw, 100px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(20, 14, 34, 0.5), transparent); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary-2); margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.1;
}
.section__sub { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }

/* ===================== TRIAL ===================== */
.trial {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  padding: 22px 26px; margin-bottom: 26px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background:
    linear-gradient(120deg, rgba(139,70,255,0.10), rgba(139,70,255,0.02));
}
.trial__tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary-2); font-weight: 700; margin-bottom: 6px;
}
.trial__title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; }
.trial p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; max-width: 640px; }

/* ===================== PRICING ===================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; perspective: 1300px; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(8px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.plan::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(139,70,255,0.18), transparent 60%);
  opacity: 0; transition: opacity .3s ease; z-index: 0;
}
.plan:hover::before { opacity: 1; }
.plan > * { position: relative; z-index: 1; }
.plan { will-change: transform; transform-style: preserve-3d; }
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.plan--featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(139,70,255,0.16), rgba(28,20,48,0.55));
  box-shadow: 0 0 0 1px rgba(139,70,255,0.25), var(--shadow);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #6d34d6);
  color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px -6px var(--primary-glow);
}
.plan__name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.plan__desc { color: var(--muted); font-size: 0.92rem; margin-top: 8px; min-height: 44px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; flex-wrap: wrap; }
.plan__old { color: var(--muted-2); text-decoration: line-through; font-size: 1.05rem; font-weight: 600; }
.plan__amount { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.plan__cur { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--primary-2); }
.plan__per { color: var(--muted); font-size: 0.9rem; }
.plan__features { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan__features li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.93rem; color: var(--text); }
.plan__features li.is-muted { color: var(--muted-2); }
.ico-check, .ico-x { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; display: inline-block; position: relative; margin-top: 1px; }
.ico-check { background: rgba(65, 224, 138, 0.14); }
.ico-check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #41e08a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ico-x { background: rgba(255, 92, 92, 0.12); }
.ico-x::before, .ico-x::after { content: ""; position: absolute; left: 9px; top: 4px; width: 2px; height: 12px; background: #ff6b6b; }
.ico-x::before { transform: rotate(45deg); }
.ico-x::after { transform: rotate(-45deg); }
.plan__cta { width: 100%; margin-top: auto; }
.pricing-notes { margin-top: 24px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.pricing-notes p { color: var(--muted-2); font-size: 0.86rem; }

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1300px; }
.step {
  position: relative; padding: 34px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.step::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(139,70,255,0.16), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.step:hover { border-color: var(--line-strong); box-shadow: 0 26px 60px -34px rgba(120,60,230,0.6); }
.step:hover::before { opacity: 1; }
.step > * { position: relative; }
.step__num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-head); font-weight: 800; font-size: 3rem;
  color: rgba(139, 70, 255, 0.14);
}
.step__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(139, 70, 255, 0.12); border: 1px solid var(--line-strong);
  color: var(--primary-2); margin-bottom: 20px;
}
.step__icon svg { width: 26px; height: 26px; }
.step h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ===================== PORTFOLIO CAROUSEL ===================== */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius-lg); touch-action: pan-y; }
.carousel__track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.slide { min-width: 100%; padding: 26px 14px; perspective: 1400px; }

.pcard {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(420px circle at var(--mx, 30%) var(--my, 20%), rgba(139,70,255,0.20), transparent 45%),
    radial-gradient(120% 120% at 0% 0%, rgba(139,70,255,0.10), transparent 50%),
    linear-gradient(180deg, rgba(22,15,38,0.9), rgba(12,8,22,0.92));
  box-shadow: inset 0 0 0 1px rgba(139,70,255,0.06), 0 30px 70px -34px rgba(120,60,230,0.6);
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
.pcard.is-tilting:hover { border-color: var(--primary); box-shadow: inset 0 0 0 1px rgba(139,70,255,0.12), 0 28px 60px -34px rgba(139,70,255,0.6); }
.pcard__logo {
  position: relative;
  aspect-ratio: 1; width: 100%; max-width: 260px; margin: 0 auto;
  border-radius: 30px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #181024, #0c0816);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 60px -10px var(--primary-glow), inset 0 0 40px rgba(139,70,255,0.18);
}
.pcard__logo::after {
  content: ""; position: absolute; inset: -2px; border-radius: 32px;
  box-shadow: 0 0 40px var(--primary-glow); opacity: .5; pointer-events: none;
}
.pcard__mono {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.2rem);
  letter-spacing: -0.02em;
}
.pcard__img {
  width: 78%; height: 78%; object-fit: contain; border-radius: 18px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.5));
}
.pcard__logo--gold { box-shadow: 0 0 60px -10px rgba(255,192,30,0.55), inset 0 0 40px rgba(255,192,30,0.14); }
.pcard__logo--gold::after { box-shadow: 0 0 40px rgba(255,192,30,0.5); }
.pcard__logo--blue { box-shadow: 0 0 60px -10px rgba(74,123,255,0.6), inset 0 0 40px rgba(74,123,255,0.16); }
.pcard__logo--blue::after { box-shadow: 0 0 40px rgba(74,123,255,0.55); }
.pcard__logo--orange { box-shadow: 0 0 60px -10px rgba(255,140,50,0.6), inset 0 0 40px rgba(255,140,50,0.16); }
.pcard__logo--orange::after { box-shadow: 0 0 40px rgba(255,140,50,0.5); }

.pcard__body { min-width: 0; }
.pcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.pcard__chip {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; color: var(--primary-2);
  background: rgba(139,70,255,0.12); border: 1px solid var(--line-strong);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 10px;
}
.pcard__chip--alt { color: #ff9d3c; background: rgba(255,157,60,0.1); border-color: rgba(255,157,60,0.3); }
.pcard__name {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  letter-spacing: -0.01em; line-height: 1.05;
}
.pcard__handle { color: var(--muted-2); font-size: 0.9rem; }
.pcard__socials { display: flex; gap: 8px; flex-shrink: 0; }
.soc {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line); cursor: pointer; position: relative; text-decoration: none;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease, border-color .2s ease, background .2s ease;
  will-change: transform;
}
.soc svg { width: 20px; height: 20px; transition: transform .22s cubic-bezier(.34, 1.56, .64, 1); }
.soc--tiktok { background: #0d0d14; color: #fff; }
.soc--yt { background: #1a0f12; color: #ff3b3b; }
/* hover - lift + wiggle + poswiata w kolorze platformy */
.soc:hover { transform: translateY(-4px) scale(1.12) rotate(-4deg); }
.soc:hover svg { transform: scale(1.1); }
.soc--tiktok:hover { border-color: #25f4ee; box-shadow: 0 8px 22px -6px rgba(37, 244, 238, .55), -4px 4px 0 -1px rgba(254, 44, 85, .5); }
.soc--yt:hover { border-color: #ff3b3b; box-shadow: 0 8px 22px -6px rgba(255, 59, 59, .6); }
.soc:active { transform: scale(.88); }
/* "dopaminowy" pop po kliknieciu */
.soc.is-pop { animation: soc-pop .48s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes soc-pop {
  0% { transform: scale(1); }
  35% { transform: scale(.82) rotate(-6deg); }
  60% { transform: scale(1.22) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .soc, .soc svg { transition: none; }
  .soc.is-pop { animation: none; }
}

.pcard__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.pstat {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(139,70,255,0.06); border: 1px solid var(--line);
}
.pstat__ico {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center;
  background: rgba(139,70,255,0.14); color: var(--primary-2);
}
.pstat__ico svg { width: 20px; height: 20px; }
.pstat div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.pstat strong { font-family: var(--font-head); font-size: 1.05rem; }
.pstat span { font-size: 0.82rem; color: var(--muted); }
.pstat .muted { color: var(--muted-2); font-style: italic; }
.pill {
  font-style: normal; font-size: 0.68rem; font-weight: 700; color: #41e08a;
  background: rgba(65,224,138,0.12); border: 1px solid rgba(65,224,138,0.3);
  padding: 1px 8px; border-radius: 999px; margin-left: 5px;
}
.pcard__effect { font-size: 0.95rem; color: var(--text); margin-bottom: 14px; }
.pcard__effect .lbl { color: var(--primary-2); font-weight: 700; }
.pcard__quote {
  font-size: 0.92rem; color: var(--muted); font-style: italic;
  padding-left: 14px; border-left: 3px solid var(--line-strong);
}
.pcard__profile {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 18px; width: 100%;
  padding: 13px 22px; border-radius: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text);
  border: 1px solid var(--primary); background: rgba(139, 70, 255, 0.08);
  box-shadow: 0 0 22px -8px var(--primary-glow), inset 0 0 18px rgba(139, 70, 255, 0.12);
  transition: transform .2s ease, background .2s ease, box-shadow .25s ease;
}
.pcard__profile svg { width: 18px; height: 18px; color: var(--primary-2); }
.pcard__profile:hover {
  transform: translateY(-2px);
  background: rgba(139, 70, 255, 0.18);
  box-shadow: 0 8px 30px -8px var(--primary-glow), inset 0 0 22px rgba(139, 70, 255, 0.2);
}

/* CTA slide */
.pcard--cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.pcard__cta-inner { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pcard__cta-ico {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(139,70,255,0.14); border: 1px solid var(--line-strong); color: var(--primary-2);
  margin-bottom: 12px;
}
.pcard__cta-ico svg { width: 32px; height: 32px; }
.pcard--cta h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; }
.pcard--cta p { color: var(--muted); margin: 6px 0 22px; }

/* arrows + dots */
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; z-index: 5;
  background: rgba(20, 14, 34, 0.8); border: 1px solid var(--line-strong); color: var(--text);
  backdrop-filter: blur(6px); transition: .2s;
}
.carousel__arrow:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.06); }
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow--prev { left: 12px; }
.carousel__arrow--next { right: 12px; }
.carousel__dots { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.carousel__dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--line-strong); transition: .25s;
}
.carousel__dots button.is-active { width: 26px; border-radius: 999px; background: var(--primary); }

/* ===================== BIG CTA ===================== */
.bigcta {
  position: relative;
  margin-top: 60px; text-align: center;
  padding: clamp(36px, 6vw, 60px) 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(139,70,255,0.2), transparent 60%),
    linear-gradient(180deg, rgba(22,15,38,0.8), rgba(12,8,22,0.6));
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
.bigcta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(139,70,255,0.20), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.bigcta:hover { border-color: var(--primary); box-shadow: 0 30px 70px -34px rgba(139,70,255,0.6); }
.bigcta:hover::before { opacity: 1; }
.bigcta > * { position: relative; z-index: 1; }
.bigcta h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -0.02em; }
.bigcta p { color: var(--muted); margin: 12px 0 26px; font-size: 1.05rem; }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--line); padding-top: 56px; margin-top: 20px; background: rgba(10,7,16,0.6); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer__brand { max-width: 460px; }
.footer__tagline { color: var(--muted); margin-top: 16px; font-size: 0.96rem; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__label { font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.footer__mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; transition: color .2s; }
.footer__mail svg { width: 20px; height: 20px; color: var(--primary-2); }
.footer__mail:hover { color: var(--primary-2); }
.footer__legal-col { display: flex; flex-direction: column; gap: 10px; }
.footer__legal-col a { color: var(--muted); font-size: 0.95rem; transition: color .2s; }
.footer__legal-col a:hover { color: var(--primary-2); }
.footer__admin {
  padding: 14px 22px; border-top: 1px solid var(--line);
  color: var(--muted-2); font-size: 0.82rem;
}
.footer__admin strong { color: var(--muted); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 22px 22px; margin-top: 0; border-top: 1px solid var(--line);
  color: var(--muted-2); font-size: 0.85rem;
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal-links a { transition: color .2s; }
.footer__bottom a:hover { color: var(--text); }

/* ===================== COOKIE BANNER ===================== */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: 16px; transform: translateY(120%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.cookie.is-open { transform: translateY(0); pointer-events: auto; }
.cookie__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.cookie__text { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 260px; }
.cookie__text svg { width: 24px; height: 24px; color: var(--primary-2); flex-shrink: 0; margin-top: 2px; }
.cookie__text p { font-size: 0.88rem; color: var(--muted); }
.cookie__text a { color: var(--primary-2); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie__actions .btn { padding: 11px 20px; font-size: 0.9rem; }
body.cookie-open .chat { bottom: 116px; transition: bottom .4s ease; }

/* ===================== LEGAL PAGES ===================== */
.legal { padding: clamp(40px, 7vw, 80px) 0 60px; }
.legal__doc { max-width: 820px; margin: 0 auto; }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem;
  margin-bottom: 24px; transition: color .2s;
}
.legal__back:hover { color: var(--primary-2); }
.legal__back svg { width: 16px; height: 16px; }
.legal h1 {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.legal__updated { color: var(--muted-2); font-size: 0.85rem; margin-bottom: 36px; }
.legal h2 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  margin: 34px 0 12px; color: var(--text);
}
.legal h2 .num { color: var(--primary-2); margin-right: 8px; }
.legal p, .legal li { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }
.legal p { margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 14px 22px; display: flex; flex-direction: column; gap: 8px; }
.legal a { color: var(--primary-2); text-decoration: underline; }
.legal strong { color: var(--text); }
.legal__note {
  margin-top: 18px; padding: 16px 18px; border-radius: 14px;
  background: rgba(139,70,255,0.07); border: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}

/* ===================== MODAL ===================== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(5, 3, 10, 0.7); backdrop-filter: blur(6px); animation: fade .25s ease; }
.modal__dialog {
  position: relative; z-index: 1;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 48px); overflow-y: auto;
  margin: 24px auto; top: 50%; transform: translateY(-50%);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow); animation: pop .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(-46%) scale(.96); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
.modal__close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(139,70,255,0.1); border: 1px solid var(--line); color: var(--text); cursor: pointer;
  display: grid; place-items: center; transition: .2s;
}
.modal__close:hover { background: rgba(139,70,255,0.2); }
.modal__close svg { width: 18px; height: 18px; }
.modal__dialog h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; margin-top: 6px; }
.modal__lead { color: var(--muted); margin: 8px 0 24px; font-size: 0.96rem; }

/* form */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: rgba(10, 7, 16, 0.6); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font); font-size: 0.95rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,70,255,0.18);
}
.field select option { background: var(--surface); }
.form__note { font-size: 0.82rem; color: var(--muted-2); text-align: center; }
.form__note a { color: var(--primary-2); }

/* ===================== CHAT BUBBLE ===================== */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.chat__bubble {
  width: 60px; height: 60px; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #6d34d6); color: #fff;
  border: 0; display: grid; place-items: center; pointer-events: auto;
  box-shadow: 0 14px 36px -8px var(--primary-glow); transition: transform .2s;
}
.chat__bubble:hover { transform: scale(1.07); }
.chat__bubble svg { width: 26px; height: 26px; transition: opacity .2s, transform .2s; }
.chat__bubble-close { display: none; }
.chat.is-open .chat__bubble-open { display: none; }
.chat.is-open .chat__bubble-close { display: block; }
.chat__panel {
  width: min(330px, calc(100vw - 44px));
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  transform: translateY(16px) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .25s;
}
.chat.is-open .chat__panel { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat__header { display: flex; align-items: center; gap: 12px; padding: 18px; background: linear-gradient(135deg, rgba(139,70,255,0.25), rgba(109,52,214,0.12)); border-bottom: 1px solid var(--line); }
.chat__avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), #6d34d6); color: #fff; }
.chat__avatar svg { width: 22px; height: 22px; }
.chat__header strong { font-family: var(--font-head); display: block; font-size: 0.98rem; }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--muted); }
.chat__status .dot { width: 7px; height: 7px; }
.chat__body { padding: 18px; }
.chat__body p { font-size: 0.92rem; color: var(--muted); background: rgba(139,70,255,0.07); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.chat__actions { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.chat__btn {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 12px 14px; border-radius: 12px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  border: 1px solid var(--line); background: rgba(139,70,255,0.06); color: var(--text); transition: .2s;
}
.chat__btn:hover { border-color: var(--primary-2); background: rgba(139,70,255,0.14); transform: translateY(-1px); }
.chat__btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.chat__btn--discord { color: #c9b8ff; }
.chat__btn--order { background: linear-gradient(135deg, var(--primary), #6d34d6); color: #fff; border-color: transparent; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .pcard { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .pcard__logo { max-width: 180px; }
  .pcard__top { flex-direction: column; align-items: center; }
  .pcard__socials { justify-content: center; }
  .pcard__stats { grid-template-columns: 1fr; }
  .pstat { justify-content: center; text-align: left; }
  .pcard__effect, .pcard__quote { text-align: left; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 18px 22px; gap: 18px;
  }
  .field-row { grid-template-columns: 1fr; }
  .trial { flex-direction: column; align-items: flex-start; }
  /* Na telefonie chowamy strzalki (zeby nie nachodzily na karte) - dziala przesuwanie palcem */
  .carousel__arrow { display: none; }
  .carousel__dots { margin-top: 18px; gap: 12px; }
  .carousel__dots button { width: 11px; height: 11px; }
  .carousel__dots button.is-active { width: 30px; }
  .pcard__quote { text-align: center; border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) {
  .modal__dialog { padding: 26px 20px; }
  .pcard { padding: 24px 18px; }
}

/* ---------- Kolejnosc sekcji: Portfolio przed cennikiem ---------- */
body { display: flex; flex-direction: column; }
.nav { order: 0; }
.hero { order: 1; }
#portfolio { order: 2; }
#oferta { order: 3; }
#jak-dzialamy { order: 4; }
.footer { order: 5; }

/* ---------- Reveal przy scrollowaniu ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Honeypot (ukryte pole anty-bot) ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Status formularza ---------- */
.form__status {
  margin: 10px 0 0;
  font-size: 14px;
  min-height: 18px;
  text-align: center;
}
.form__status.is-loading { color: var(--muted); }
.form__status.is-success { color: #34d399; }
.form__status.is-error { color: #fb7185; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .05ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
