/* ============================================================
     HERO
     ============================================================ */
.hero {
  padding: 84px 0 32px;
  overflow: hidden;
  background: var(--hero-gradient);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 1;
}
.hero h1 span {
  font-size: clamp(16px, 4.6vw, 23px);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 300;
}
.hero h1 .hl {
  font-size: clamp(34px, 4.6vw, 60px);
  color: var(--text-special-heading);
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  margin-bottom: 28px;
}
.bullet-list {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.bullet-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--text-muted);
}
.bullet-list li strong {
  color: var(--text);
  font-weight: 600;
}
.bullet-list svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--accent);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.button-shine {
  padding: 0;
  border: none;
}

.button-shine span {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 14px 26px;
  border-radius: 6px;
}

.button-shine span {
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.button-shine span::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -120%;
  z-index: 1;
  width: 80px;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.15),
    transparent
  );
  pointer-events: none;
  transform: rotate(25deg);
  animation: shine 3.25s infinite;
}

.button-shine span::after {
  transition: 0.5s;
}

.button-shine:hover span::before {
  animation: none;
}

.button-shine:hover span::after {
  opacity: 0;
}

@keyframes shine {
  0% {
    left: -110%;
  }

  100% {
    left: 140%;
  }
}
.hero-micro {
  font-size: 13px;
  color: var(--text-faint);
}

/* --- stos urządzeń: mockup budowany w czystym CSS --- */
.device-stack {
  position: relative;
  z-index: 1;
  height: 380px;
}
.monitor-mock {
  position: absolute;
  top: 10px;
  right: 0;
  width: 88%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.monitor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.monitor-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.monitor-bar span:nth-child(1) {
  background: #ff6b6b;
}
.monitor-bar span:nth-child(2) {
  background: var(--accent);
}
.monitor-bar span:nth-child(3) {
  background: var(--status);
}
.monitor-body {
  padding: 22px;
}
.skel-line {
  height: 10px;
  border-radius: 5px;
  background: var(--surface-3);
  margin-bottom: 10px;
}
.skel-title {
  height: 20px;
  width: 60%;
  margin-bottom: 16px;
}
.skel-btn {
  height: 30px;
  width: 110px;
  border-radius: 20px;
  border: 1px solid var(--line);
  margin-top: 6px;
}
.skel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.skel-card {
  height: 54px;
  border-radius: 8px;
  background: var(--surface-3);
}

.phone-mock {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 150px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
  animation: drift2 3s ease-in-out infinite;
}
@keyframes drift2 {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}
.phone-notch {
  width: 36px;
  height: 5px;
  border-radius: 4px;
  background: var(--line);
  margin: 0 auto 10px;
}
.phone-mock .skel-line {
  height: 7px;
  margin-bottom: 7px;
}
.phone-mock .skel-title {
  height: 12px;
  width: 70%;
  margin-bottom: 10px;
}

.deco-shape {
  position: absolute;
  z-index: 2;
  border-radius: 6px;
  background: var(--accent);
  animation: spin-float 9s ease-in-out infinite;
}
.deco-1 {
  width: 26px;
  height: 26px;
  top: 36px;
  left: 20px;
  transform: rotate(20deg);
  animation-delay: 0.2s;
}
.deco-2 {
  width: 16px;
  height: 16px;
  bottom: 60px;
  right: -6px;
  background: var(--status);
  transform: rotate(45deg);
  animation-delay: 1.1s;
}
@keyframes spin-float {
  0%,
  100% {
    transform: translateY(0) rotate(20deg);
  }
  50% {
    transform: translateY(-14px) rotate(45deg);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-img {
    width: 720px;
    max-width: 100%;
  }
  .nav-cta .btn-glass {
    display: none;
  }
  .device-stack {
    height: 340px;
    width: 100%;
    max-width: 480px;
    margin: 0 0 0 auto;
  }
}

/* ============================================================
     SEKCJE OGÓLNE
     ============================================================ */
.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}
.band {
  padding: 100px 0;
}
.band.cooperation {
  padding: 164px 0 100px;
}
/* --- jasna współpraca --- */
.collab-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.editor-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16);
  transform: rotate(-1deg);
}
.editor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
}
.editor-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.editor-bar span:nth-child(1) {
  background: #ff6b6b;
}
.editor-bar span:nth-child(2) {
  background: var(--accent);
}
.editor-bar span:nth-child(3) {
  background: var(--status);
}
.editor-bar span:nth-child(4) {
  background: transparent;
  width: auto;
  height: auto;
}
.editor-bar .fname {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}
.editor-body {
  padding: 24px;
}
.editor-line {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  align-items: center;
}
.editor-line .ln {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  width: 14px;
}
.editor-line .bar {
  height: 11px;
  border-radius: 5px;
  background: var(--surface-3);
}
.editor-line.active .bar {
  background: var(--status-dim);
  border: 1px solid var(--status);
}
.editor-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--status);
}

.collab-list {
  display: grid;
  gap: 2px;
  margin-top: 24px;
}
.collab-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.collab-item .chk {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--status-dim);
  color: var(--status);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.collab-item .chk svg {
  width: 12px;
  height: 12px;
}
.collab-item h4 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 3px;
}
.collab-item p {
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .collab-grid {
    grid-template-columns: 1fr;
  }
  .editor-mock {
    transform: none;
  }
}

/* --- pasek statystyk --- */
.stats-card {
  margin-top: 64px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
}
.stat {
  text-align: center;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child {
  border-right: none;
}
.stat .n {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--accent);
  font-weight: 500;
}
.stat .l {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}
/* Czwarty "stat" bywa krótkim zdaniem zamiast liczby (np. "Bez
   pośredników") — ten sam rytm wizualny co licznik, ale bez
   przesadnie dużej czcionki dopasowanej do cyfr. */
.stat .stat-word {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.25;
  display: inline-block;
}
@media (max-width: 820px) {
  .stats-card {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(2) {
    border-right: none;
  }
}
@media (max-width: 480px) {
  .stats-card {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 16px;
  }
  .stat:last-child {
    border-bottom: none;
  }
}

/* --- manifest / pasmo ciemne z falami --- */
.manifesto {
  background: var(--surface);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
}
.wave.top {
  top: -1px;
}
.wave.bottom {
  bottom: -1px;
  transform: scaleY(-1);
}
.wave svg {
  width: 100%;
  height: 90px;
  display: block;
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.manifesto p {
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.5;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 500;
}
.manifesto p strong {
  color: var(--text);
  position: relative;
  background-color: var(--line-soft);
}

.manifesto p + p {
  margin-top: 28px;
}

/* --- oferta grid --- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.offer-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.offer-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}
.offer-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}
.offer-card:hover .offer-ico {
  transform: scale(1.1) rotate(-4deg);
}
.offer-ico svg {
  width: 21px;
  height: 21px;
}
.offer-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.offer-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.offer-card .go {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.offer-card .go svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}
.offer-card:hover .go svg {
  transform: translateX(4px);
}
@media (max-width: 980px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- baner cennika / CTA --- */
.price-banner {
  background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-l);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
.price-banner-inner {
  position: relative;
  z-index: 1;
}
.price-banner h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}
.price-banner p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 14px;
}
.price-tiers {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 28px 0 32px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
}
.price-tiers b {
  color: var(--text);
  font-size: 17px;
}
.price-banner-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- opinie (nowy układ 2-kolumnowy) --- */
.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.testimonials-layout .section-head {
  margin-bottom: 12px; /* Margines zmniejszony, bo układ sterowany jest teraz przez 'gap' */
  max-width: 100%;
}
.testimonials-layout .section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 16px;
}
.head-line {
  width: 64px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
}
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 36px 32px; /* Powiększony padding by pasował do zrzutu */
  transition: transform 0.25s ease;
}
.quote-card:hover {
  transform: translateY(-5px);
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
}
.quote-card p.q {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
}
.quote-who {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quote-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2); /* Kolor podkładowy zanim wczyta się zdjęcie */
  border: 1px solid var(--line);
}
.quote-who .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 900px) {
  .testimonials-layout {
    grid-template-columns: 1fr;
  }
  .testimonials-layout .section-head {
    margin-bottom: 0;
  }
}

/* --- final CTA, duży „wow” --- */
.final-cta {
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-image {
  width: 124px;
  margin: 0 auto 32px;
}
.final-cta h2 {
  font-size: clamp(32px, 6vw, 64px);
  margin-bottom: 26px;
}
.final-cta .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px) rotate(2deg);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.16, 0.8, 0.28, 1);
}
.final-cta.is-visible .word {
  opacity: 1;
  transform: translateY(0) rotate(0);
}
.final-cta p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 34px;
}
.final-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- blog / poradnik --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}
.blog-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.blog-thumb svg {
  width: 34px;
  height: 34px;
  color: var(--text-faint);
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-thumb svg {
  transform: scale(1.15) rotate(-6deg);
  color: var(--accent);
}
.blog-body {
  padding: 22px;
}
.blog-body h4 {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* --- kontakt --- */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
}
.cta-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
}
.cta-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 18px;
}
.cta-copy p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 440px;
}
.contact-alt {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.contact-alt a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.contact-alt a svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.form-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px; /* iOS Safari: <16px na inputach wywoluje auto-zoom przy fokusie */
}
@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}
