/* =========================
   LAYOUT / SHELL
========================= */

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.appMain {
  min-height: 60vh;
}

/* =========================
   TOPBAR / NAV
========================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(246, 195, 67, 0.45),
    transparent
  );
  opacity: 0.6;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: center;
}
.brand__name {
  font-weight: 1000;
  letter-spacing: -0.03em;
}
.brand__tag {
  font-size: 12px;
  color: var(--muted2);
}
/* Stylizacja ikony */
.brand__logo {
  height: 40px; /* Ustalona wysokość */
  width: auto;  /* Szerokość dopasuje się sama */
  display: block;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav__a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(246, 195, 67, 0.22);
  color: var(--text);
}
.nav__a.is-active {
  background: rgba(246, 195, 67, 0.12);
  border-color: rgba(246, 195, 67, 0.28);
  color: var(--text);
}

.topbar__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-weight: 900;
  font-size: 14px;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(246, 195, 67, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.btn--primary {
  border-color: rgba(246, 195, 67, 0.3);
  background: linear-gradient(
    135deg,
    rgba(246, 195, 67, 0.95),
    rgba(255, 223, 125, 0.78)
  );
  color: #18130a;
  box-shadow: 0 18px 60px rgba(246, 195, 67, 0.14);
}
.btn--ghost {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.14);
}

/* =========================
   SECTIONS / TYPO
========================= */

.section {
  padding: 54px 0;
}

.sectionHead {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.sectionTitle {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0;
}
.sectionLead {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 80ch;
}

/* =========================
   CARDS / GRIDS
========================= */

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}
.tag span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(246, 195, 67, 0.85);
  box-shadow: 0 0 0 5px rgba(246, 195, 67, 0.1);
}

/* =========================
   CTA BLOCK
========================= */

.cta {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(
      900px 520px at 20% 20%,
      rgba(246, 195, 67, 0.16),
      transparent 55%
    ),
    rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.cta__title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.cta__lead {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   FOOTER PRO (premium, spójny ze stroną)
========================= */

.footerPro {
  position: relative;
  margin-top: 56px;
  padding: 46px 0 28px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 12, 0.72);
  isolation: isolate;
}

.footerPro__bg {
  position: absolute;
  inset: -2px;
  background: radial-gradient(
        900px 420px at 50% 35%,
        rgba(140, 255, 190, 0.14),
        transparent 62%
      ),
    radial-gradient(
      1100px 700px at 80% 10%,
      rgba(246, 195, 67, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 15% 80%,
      rgba(120, 210, 255, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 70%);
  filter: saturate(1.08);
  z-index: -3;
  pointer-events: none;
}

.footerPro__hex {
  position: absolute;
  inset: -2px;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%23f6c343' stroke-opacity='0.35' stroke-width='1'%3E%3Cpath d='M30 2 L60 2 L75 28 L60 54 L30 54 L15 28 Z'/%3E%3Cpath d='M90 2 L120 2 L135 28 L120 54 L90 54 L75 28 Z'/%3E%3Cpath d='M60 50 L90 50 L105 76 L90 102 L60 102 L45 76 Z'/%3E%3Cpath d='M0 50 L30 50 L45 76 L30 102 L0 102 L-15 76 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 120px;
  background-position: center;
  filter: blur(0.2px);
  z-index: -2;
  pointer-events: none;
}

.footerPro__noise {
  position: absolute;
  inset: -2px;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: -1;
  pointer-events: none;
}

.footerPro__wrap {
  display: grid;
  gap: 16px;
}

.footerPro__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footerPro__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.footerPro__logo {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.16),
        transparent 45%
      ),
    linear-gradient(
      135deg,
      rgba(246, 195, 67, 0.3),
      rgba(140, 255, 190, 0.14)
    );
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45),
    0 0 0 7px rgba(246, 195, 67, 0.06);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.footerPro__logo:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 195, 67, 0.22);
}

.footerPro__logoMark {
  width: 22px;
  height: 22px;
  border-radius: 12px;
  background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.22),
        transparent 55%
      ),
    linear-gradient(
      135deg,
      rgba(246, 195, 67, 0.95),
      rgba(255, 223, 125, 0.65)
    );
  box-shadow: 0 0 22px rgba(246, 195, 67, 0.28);
}

.footerPro__name {
  font-weight: 1000;
  letter-spacing: -0.03em;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}
.footerPro__tag {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.35;
}

.footerPro__nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footerPro__nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  font-size: 13.5px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}
.footerPro__nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(140, 255, 190, 0.22);
  background: rgba(140, 255, 190, 0.08);
}

.footerPro__mid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footerPro__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
  max-width: 72ch;
}

.footerPro__pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Footer pills (unikalne – NIE kolidują z innymi) */
.footerPill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12.5px;
}
.footerPill--ok {
  border-color: rgba(140, 255, 190, 0.22);
  background: rgba(140, 255, 190, 0.08);
}
.footerPill__dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(140, 255, 190, 0.95);
  box-shadow: 0 0 0 6px rgba(140, 255, 190, 0.1);
  animation: footerPing 1.7s var(--ease) infinite;
}
@keyframes footerPing {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.85;
  }
}

.footerPro__made {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  margin-top: 6px;
}

.footerPro__heart {
  color: rgba(140, 255, 190, 0.95);
  text-shadow: 0 0 22px rgba(140, 255, 190, 0.35);
  transform: translateY(-0.5px);
}

.footerPro__madeLink {
  color: rgba(255, 223, 125, 0.88);
  text-decoration: none;
  font-weight: 1000;
}
.footerPro__madeLink:hover {
  text-decoration: underline;
}

.footerPro__bottom {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footerPro__contact {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.68);
}
.footerPro__contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 900;
}
.footerPro__contact a:hover {
  text-decoration: underline;
}
.footerPro__contact .sep {
  opacity: 0.35;
}

.footerPro__copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .grid3 {
    grid-template-columns: 1fr;
  }

  .topbar__cta {
    display: none;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footerPro__nav {
    justify-content: flex-start;
  }
  .footerPro__pills {
    justify-content: flex-start;
  }
  .footerPro__bottom {
    justify-content: center;
  }
}
/* =========================
   FOOTER PRO (premium, spójny ze stroną)
   Wklej na koniec layout.css
========================= */

/* drobny bezpiecznik: footer nie może "zniknąć" przez układ */
.appMain {
  min-height: 60vh;
  display: block;
}

.footerPro {
  position: relative;
  margin-top: 64px;
  padding: 46px 0 28px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 12, 0.72);
  isolation: isolate;
}

/* tło gradientowe */
.footerPro__bg {
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(900px 420px at 50% 35%, rgba(140, 255, 190, 0.14), transparent 62%),
    radial-gradient(1100px 700px at 80% 10%, rgba(246, 195, 67, 0.12), transparent 60%),
    radial-gradient(900px 600px at 15% 80%, rgba(120, 210, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 70%);
  filter: saturate(1.08);
  z-index: -3;
  pointer-events: none;
}

/* hex pattern */
.footerPro__hex {
  position: absolute;
  inset: -2px;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%23f6c343' stroke-opacity='0.35' stroke-width='1'%3E%3Cpath d='M30 2 L60 2 L75 28 L60 54 L30 54 L15 28 Z'/%3E%3Cpath d='M90 2 L120 2 L135 28 L120 54 L90 54 L75 28 Z'/%3E%3Cpath d='M60 50 L90 50 L105 76 L90 102 L60 102 L45 76 Z'/%3E%3Cpath d='M0 50 L30 50 L45 76 L30 102 L0 102 L-15 76 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 120px;
  background-position: center;
  filter: blur(0.2px);
  z-index: -2;
  pointer-events: none;
}

/* noise */
.footerPro__noise {
  position: absolute;
  inset: -2px;
  opacity: 0.10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: -1;
  pointer-events: none;
}

.footerPro__wrap {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* TOP */
.footerPro__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footerPro__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.footerPro__logo {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16), transparent 45%),
    linear-gradient(135deg, rgba(246, 195, 67, 0.30), rgba(140, 255, 190, 0.14));
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.45),
    0 0 0 7px rgba(246, 195, 67, 0.06);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.footerPro__logo:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 195, 67, 0.22);
}

.footerPro__logoMark {
  width: 22px;
  height: 22px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, rgba(246, 195, 67, 0.95), rgba(255, 223, 125, 0.65));
  box-shadow: 0 0 22px rgba(246, 195, 67, 0.28);
}

.footerPro__name {
  font-weight: 1000;
  letter-spacing: -0.03em;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.footerPro__tag {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.35;
}

/* NAV */
.footerPro__nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footerPro__nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  font-size: 13.5px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.footerPro__nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(140, 255, 190, 0.22);
  background: rgba(140, 255, 190, 0.08);
}

/* MID */
.footerPro__mid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footerPro__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
  max-width: 72ch;
}

.footerPro__pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Pills (w footerze używamy osobnej klasy, żeby nie mieszać z Twoimi .pill) */
.footerPill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12.5px;
}

.footerPill--ok {
  border-color: rgba(140, 255, 190, 0.22);
  background: rgba(140, 255, 190, 0.08);
}

.footerPill__dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(140, 255, 190, 0.95);
  box-shadow: 0 0 0 6px rgba(140, 255, 190, 0.10);
  animation: footerPing 1.7s var(--ease) infinite;
}

@keyframes footerPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.85; }
}

/* MADE */
.footerPro__made {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  margin-top: 6px;
}

.footerPro__heart {
  color: rgba(140, 255, 190, 0.95);
  text-shadow: 0 0 22px rgba(140, 255, 190, 0.35);
  transform: translateY(-0.5px);
}

.footerPro__madeLink {
  color: rgba(255, 223, 125, 0.88);
  text-decoration: none;
  font-weight: 1000;
}

.footerPro__madeLink:hover {
  text-decoration: underline;
}

/* BOTTOM */
.footerPro__bottom {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footerPro__contact {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.68);
}

.footerPro__contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 900;
}

.footerPro__contact a:hover {
  text-decoration: underline;
}

.footerPro__contact .sep {
  opacity: 0.35;
}

.footerPro__copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

@media (max-width: 980px) {
  .footerPro__nav { justify-content: flex-start; }
  .footerPro__pills { justify-content: flex-start; }
  .footerPro__bottom { justify-content: center; }
}