/* =========================================================
   imPRESS Studio — strona produktowa
   Paleta inspirowana CMYK: cyan, magenta, yellow, key
   ========================================================= */

:root {
  --bg-0: #07090f;
  --bg-1: #0b0f1a;
  --bg-2: #111728;
  --bg-3: #161e33;
  --card: rgba(20, 27, 48, 0.7);
  --card-solid: #141b30;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #e8edf7;
  --text-soft: #c4cce0;
  --text-muted: #8892ad;

  --c: #00b7e4;          /* cyan */
  --m: #e91e73;          /* magenta */
  --y: #ffd600;          /* yellow */
  --k: #0e1424;          /* key/black */

  --accent: #4d8af0;
  --accent-2: #7b6cff;

  --grad-cmyk: linear-gradient(135deg, var(--c) 0%, #4d8af0 35%, var(--m) 70%, var(--y) 100%);
  --grad-cmy:  linear-gradient(135deg, var(--c) 0%, var(--m) 50%, var(--y) 100%);
  --grad-cm:   linear-gradient(135deg, var(--c), var(--m));
  --grad-blue: linear-gradient(135deg, #00b7e4 0%, #4d8af0 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 16px rgba(0,0,0,0.25);
  --shadow:    0 12px 40px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 60px rgba(77, 138, 240, 0.25);

  --maxw: 1200px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #7eaaf5; }

/* ---------- Animowane tło globalne ---------- */
.bg-mesh {
  position: fixed;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(800px 600px at 10% 0%, rgba(0, 183, 228, 0.18), transparent 60%),
    radial-gradient(900px 700px at 90% 10%, rgba(233, 30, 115, 0.16), transparent 60%),
    radial-gradient(700px 600px at 50% 100%, rgba(255, 214, 0, 0.10), transparent 60%),
    radial-gradient(1200px 800px at 50% 50%, rgba(77, 138, 240, 0.10), transparent 60%);
  filter: blur(20px);
  animation: meshFloat 24s ease-in-out infinite alternate;
}
@keyframes meshFloat {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-2%, 1%, 0) scale(1.04); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.02); }
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

/* ---------- Pływające kółka CMYK ---------- */
.floaters { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.floaters span {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(1px);
  animation: floatY 18s ease-in-out infinite;
}
.floaters span:nth-child(1) { left:  8%; top: 20%; background: var(--c); animation-delay:  0s; }
.floaters span:nth-child(2) { left: 92%; top: 30%; background: var(--m); animation-delay: -4s; width: 22px; height: 22px; }
.floaters span:nth-child(3) { left: 14%; top: 70%; background: var(--y); animation-delay: -8s; width: 12px; height: 12px; }
.floaters span:nth-child(4) { left: 84%; top: 78%; background: var(--accent); animation-delay: -12s; }
.floaters span:nth-child(5) { left: 50%; top: 12%; background: var(--accent-2); animation-delay: -2s; width: 10px; height: 10px; }
.floaters span:nth-child(6) { left: 30%; top: 88%; background: var(--c); animation-delay: -14s; width: 14px; height: 14px; }
@keyframes floatY {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  50%      { transform: translateY(-40px) rotate(180deg); }
}

/* ---------- Header / Nawigacja ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 9, 15, 0.6);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled { background: rgba(7, 9, 15, 0.85); }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.3px;
  font-size: 18px;
}
.nav .logo img { height: 32px; }
.nav .links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav .links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s;
}
.nav .links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.nav .cta {
  background: var(--grad-blue);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 10px;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(0, 183, 228, 0.35);
}
.nav .cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0, 183, 228, 0.5); }
.nav .burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 12px var(--pad) 18px; background: rgba(7, 9, 15, 0.96); border-bottom: 1px solid var(--border); }
  .nav .links.open { display: flex; }
  .nav .burger { display: block; margin-left: auto; }
}

/* ---------- Container ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 20px;
  background: rgba(255,255,255,0.03);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.hero h1 .grad {
  background: var(--grad-cmy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradMove 8s ease infinite;
}
@keyframes gradMove {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 183, 228, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0, 183, 228, 0.45); }
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn-cmyk {
  background: var(--grad-cmy);
  color: #fff;
  box-shadow: 0 10px 32px rgba(233, 30, 115, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-cmyk:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(233, 30, 115, 0.5); }

.btn-github {
  background: #1a1f2e;
  color: #fff;
  border: 1px solid var(--border-strong);
}
.btn-github:hover { background: #232a3d; transform: translateY(-2px); border-color: rgba(255,255,255,0.25); }
.btn-github svg { color: #fff; }

.nav .gh-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px !important;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text) !important;
}
.nav .gh-link:hover { background: rgba(255,255,255,0.06); }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats .stat .num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--grad-cm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats .stat .lbl {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero — wizualizacja po prawej */
.hero-visual {
  position: relative;
  perspective: 1400px;
}
.hero-visual .backdrop {
  position: absolute;
  inset: -10% -8% -10% -8%;
  background: var(--grad-cmy);
  filter: blur(80px);
  opacity: 0.35;
  border-radius: 50%;
  z-index: -1;
  animation: meshFloat 14s ease-in-out infinite alternate;
}
.hero-visual .screenshot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: rotateX(6deg) rotateY(-8deg);
  transition: transform 0.6s ease;
}
.hero-visual:hover .screenshot { transform: rotateX(2deg) rotateY(-3deg) translateY(-4px); }

.hero-visual .badge {
  position: absolute;
  background: rgba(20, 27, 48, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  box-shadow: var(--shadow);
  animation: bobble 5s ease-in-out infinite;
}
.hero-visual .badge .ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--grad-blue);
  display: grid; place-items: center;
  color: #fff;
}
.hero-visual .badge.b1 { top: 8%; left: -4%; }
.hero-visual .badge.b2 { bottom: 14%; right: -4%; animation-delay: -2s; }
.hero-visual .badge.b2 .ico { background: linear-gradient(135deg, var(--m), var(--y)); }
@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 700px) {
  .hero-visual .badge { display: none; }
}

/* ---------- Sekcja zwykła ---------- */
section.block {
  padding: clamp(70px, 9vw, 110px) 0;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 183, 228, 0.12);
  border: 1px solid rgba(0, 183, 228, 0.3);
  color: #5dd1f0;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
}
.section-head p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--text-soft);
  font-size: 17px;
}

/* ---------- Marquee z zastosowaniami ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; }
.marquee-track span::before {
  content: "•";
  color: var(--c);
  font-size: 18px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Cechy / funkcje ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 920px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  backdrop-filter: blur(8px);
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx,50%) var(--my,0%), rgba(0, 183, 228, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(20, 27, 48, 0.85);
}
.feature:hover::before { opacity: 1; }

.feature .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(0, 183, 228, 0.12);
  color: var(--c);
  border: 1px solid rgba(0, 183, 228, 0.25);
}
.feature:nth-child(2) .ico { background: rgba(233, 30, 115, 0.12); color: var(--m); border-color: rgba(233, 30, 115, 0.25); }
.feature:nth-child(3) .ico { background: rgba(255, 214, 0, 0.12);  color: var(--y); border-color: rgba(255, 214, 0, 0.25); }
.feature:nth-child(4) .ico { background: rgba(77, 138, 240, 0.12); color: var(--accent); border-color: rgba(77, 138, 240, 0.25); }
.feature:nth-child(5) .ico { background: rgba(123, 108, 255, 0.12); color: var(--accent-2); border-color: rgba(123, 108, 255, 0.25); }
.feature:nth-child(6) .ico { background: rgba(34, 197, 94, 0.12); color: #22c55e; border-color: rgba(34, 197, 94, 0.25); }

.feature h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Galeria zrzutów ekranu ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr; } }

.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-solid);
  cursor: zoom-in;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 183, 228, 0.4);
  border-color: rgba(0, 183, 228, 0.4);
}
.shot img {
  width: 100%;
  display: block;
  transition: transform 0.6s;
}
.shot:hover img { transform: scale(1.02); }
.shot .label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  background: rgba(7, 9, 15, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 4vh 4vw;
  cursor: zoom-out;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; animation: fadeIn 0.25s ease; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; box-shadow: var(--shadow); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 940px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.price-card {
  background: linear-gradient(180deg, rgba(20, 27, 48, 0.85) 0%, rgba(11, 15, 26, 0.85) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured {
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(233, 30, 115, 0.18), 0 0 0 1px rgba(233, 30, 115, 0.3);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }
@media (max-width: 940px) { .price-card.featured { transform: none; } .price-card.featured:hover { transform: translateY(-4px); } }

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: var(--grad-cmy);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.price-card.featured::before { opacity: 0.7; }
.price-card:hover::before { opacity: 0.4; }
.price-card .badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--grad-cm);
  border: none;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(233, 30, 115, 0.4);
}
.price-card h3 {
  margin: 8px 0 4px;
  font-size: 22px;
  font-weight: 800;
}
.price-card .sub {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.price-card .amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}
.price-card .amount .currency {
  font-size: 18px;
  color: var(--text-soft);
  font-weight: 600;
}
.price-card .amount .num {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  background: var(--grad-cmy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.price-card .amount .period {
  color: var(--text-muted);
  font-size: 14px;
}
.price-card .note {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 22px;
  min-height: 32px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  flex: 1;
}
.price-card li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 14px;
}
.price-card li:last-child { border-bottom: none; }
.price-card li svg { flex-shrink: 0; color: var(--c); margin-top: 2px; }
.price-card .btn { width: 100%; justify-content: center; }

.trial-box {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 183, 228, 0.10), rgba(233, 30, 115, 0.10) 60%, rgba(255, 214, 0, 0.08));
  border: 1px solid var(--border-strong);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .trial-box { grid-template-columns: 1fr; text-align: center; }
}
.trial-box .icon-big {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--grad-cm);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(233, 30, 115, 0.35);
  margin: 0 auto;
}
.trial-box h4 { margin: 0 0 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.4px; }
.trial-box p  { margin: 0; color: var(--text-soft); font-size: 15px; }

/* ---------- Pomoc — kafelki tematyczne ---------- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .help-grid { grid-template-columns: 1fr; } }

.help-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.help-tile:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: rgba(20, 27, 48, 0.9);
}
.help-tile .num {
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-cm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  flex-shrink: 0;
}
.help-tile h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.help-tile p  { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item[open] { border-color: rgba(0, 183, 228, 0.5); background: rgba(20, 27, 48, 0.85); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--c);
  transition: all 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::before {
  content: "−";
  background: var(--grad-blue);
  color: #fff;
  border-color: transparent;
}
.faq-item .answer {
  padding: 0 22px 20px 22px;
  color: var(--text-soft);
  font-size: 15px;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.faq-item .answer p:first-child { margin-top: 16px; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-row .ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(0, 183, 228, 0.12);
  color: var(--c);
  border: 1px solid rgba(0, 183, 228, 0.25);
  flex-shrink: 0;
}
.contact-row:nth-child(2) .ico { background: rgba(233, 30, 115, 0.12); color: var(--m); border-color: rgba(233, 30, 115, 0.25); }
.contact-row:nth-child(3) .ico { background: rgba(255, 214, 0, 0.12);  color: var(--y); border-color: rgba(255, 214, 0, 0.25); }
.contact-row .lbl { color: var(--text-muted); font-size: 13px; }
.contact-row .val { color: var(--text); font-weight: 600; font-size: 15px; word-break: break-all; }
.contact-row .val a { color: var(--text); }
.contact-row .val a:hover { color: var(--c); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.contact-form h3 { margin: 0 0 6px; font-size: 22px; }
.contact-form .desc { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 6px;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c);
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 0 4px rgba(0, 183, 228, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-muted);
  margin: 12px 0 16px;
}
.checkbox input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }

/* ---------- CTA pasek ---------- */
.cta-banner {
  margin: 0;
  padding: clamp(50px, 7vw, 80px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 12% 6%;
  background: var(--grad-cmy);
  filter: blur(80px);
  opacity: 0.25;
  border-radius: 50%;
  z-index: -1;
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; font-weight: 800; letter-spacing: -0.6px; }
.cta-banner p  { color: var(--text-soft); font-size: 17px; max-width: 600px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
footer.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(7, 9, 15, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 36px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 360px; }
.footer-col h5 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text); }
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  padding: 5px 0;
  text-decoration: none;
}
.footer-col a:hover { color: var(--c); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- Animacje wejścia ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Pomoc / FAQ — wspólne dla podstron ---------- */
.subhero {
  padding: clamp(60px, 8vw, 90px) 0 clamp(40px, 5vw, 60px);
  text-align: center;
}
.subhero h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
}
.subhero h1 .grad {
  background: var(--grad-cmy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subhero p { color: var(--text-soft); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* TOC */
.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 36px;
}
.toc h3 { margin: 0 0 12px; font-size: 13px; color: var(--c); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.toc ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 24px; }
@media (max-width: 700px) { .toc ul { columns: 1; } }
.toc li { margin: 6px 0; break-inside: avoid; }
.toc a { color: var(--text-soft); font-size: 14px; }
.toc a:hover { color: var(--c); }

article.doc-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 36px;
  margin-bottom: 18px;
  scroll-margin-top: 90px;
}
@media (max-width: 600px) { article.doc-section { padding: 22px; } }

article.doc-section .kicker {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 183, 228, 0.12);
  border: 1px solid rgba(0, 183, 228, 0.3);
  color: var(--c);
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
article.doc-section h2 { margin: 0 0 16px; font-size: 24px; font-weight: 700; letter-spacing: -0.3px; }
article.doc-section h3 { margin: 22px 0 10px; font-size: 17px; font-weight: 600; color: var(--text); }
article.doc-section p, article.doc-section li { color: var(--text-soft); }
article.doc-section ul, article.doc-section ol { padding-left: 20px; }
article.doc-section li { margin: 6px 0; }
article.doc-section strong { color: var(--text); }
article.doc-section code {
  font-family: "JetBrains Mono", Consolas, Menlo, monospace;
  font-size: 13px;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
article.doc-section pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 13px;
}
article.doc-section pre code { background: none; border: none; padding: 0; }
article.doc-section dl dt { color: var(--text); font-weight: 700; margin-top: 10px; }
article.doc-section dl dd { margin: 4px 0 0; color: var(--text-muted); }

kbd {
  display: inline-block;
  padding: 2px 8px;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: var(--text);
}

.callout {
  border-left: 3px solid var(--c);
  background: rgba(0, 183, 228, 0.08);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  color: var(--text-soft);
}
.callout.warning { border-color: var(--y); background: rgba(255, 214, 0, 0.08); }
.callout.success { border-color: #22c55e; background: rgba(34, 197, 94, 0.08); }
.callout strong { color: var(--text); }

/* ===== PL / EN language switcher ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}
.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  line-height: 1;
  cursor: pointer;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  color: #07111a;
  background: linear-gradient(135deg, #00b7e4, #e91e73);
  box-shadow: 0 0 18px rgba(0,183,228,.22);
}
#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover { display: none !important; }
body { top: 0 !important; }
body > .skiptranslate { display: none !important; }
@media (max-width: 860px) {
  .lang-switch { margin: 8px 0; align-self: flex-start; }
}
