/* ============================================================
   PROGRAM PARTNERSKI — style własne strony
   (zmienne globalne --primary, --background itd. importowane
   z ../style.css, tu tylko to co specyficzne dla tej podstrony)
   ============================================================ */

/* ============================================================
   NAV — ACTIVE LINK
   ============================================================ */
.nav-links a.active {
  color: var(--primary);
  font-weight: 500;
}

/* ============================================================
   MAIN WRAPPER
   ============================================================ */
.pp-main {
  position: relative;
}

/* ============================================================
   NAGŁÓWEK STRONY
   ============================================================ */
.pp-header {
  padding: 100px 30px 64px;
  max-width: 760px;
}

.pp-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 8px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pp-badge .ti {
  font-size: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.pp-heading {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--foreground);
  margin-bottom: 20px;
}

.pp-meta {
  font-size: 17px;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 600px;
}

/* ============================================================
   SEKCJA HEADING (wspólny dla obu sekcji poniżej)
   ============================================================ */
.pp-section-heading {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 40px;
}

/* ============================================================
   JAK TO DZIAŁA — SEKCJA KROKÓW
   ============================================================ */
.pp-steps-section {
  background: var(--card);
  padding: 80px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pp-steps-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.pp-step {
  position: relative;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.pp-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: color-mix(in srgb, var(--primary) 55%, transparent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pp-step-icon {
  display: block;
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 14px;
}

.pp-step h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 8px;
}

.pp-step p {
  font-size: 13.5px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ============================================================
   WARUNKI PROGRAMU — SEKCJA DWUKOLUMNOWA
   ============================================================ */
.pp-terms-section {
  background: var(--background);
  padding: 80px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pp-terms-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pp-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 56px;
}

.pp-col-text {
  flex: 0 0 62%;
  max-width: 62%;
  min-width: 0;
}

.pp-col-visual {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-icon-accent {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.pp-icon-accent .ti {
  font-size: 56px;
  color: var(--primary);
  line-height: 1;
}

.pp-icon-accent-stat {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.pp-lead {
  font-size: 15px;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ============================================================
   LISTA WARUNKÓW
   ============================================================ */
.pp-terms-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pp-term-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pp-term-row .ti {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pp-term-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-term-row strong {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--foreground);
}

.pp-term-row span {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ============================================================
   CTA FINAL — wariant własny (bez formularza waitlisty)
   ============================================================ */
#pp-cta {
  background: var(--primary);
  padding: 100px 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.pp-cta-heading {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 500;
  color: var(--background);
  max-width: 680px;
  line-height: 1.25;
}

.pp-cta-sub {
  font-size: 15px;
  color: color-mix(in srgb, var(--background) 65%, transparent);
}

.pp-cta-btn {
  margin-top: 0.5rem;
}

/* ============================================================
   SITE FOOTER — kopiowany zgodnie z konwencją pozostałych podstron
   ============================================================ */
.site-footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-weight: 200;
  font-size: 16px;
  letter-spacing: 0.5em;
  color: var(--foreground);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--foreground);
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================================ */
@media (max-width: 960px) {
  .pp-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .pp-inner {
    gap: 36px;
  }

  .pp-col-visual {
    flex: 0 0 220px;
    max-width: 220px;
  }

  .pp-icon-accent {
    width: 140px;
    height: 140px;
  }

  .pp-icon-accent .ti {
    font-size: 42px;
  }

  .pp-icon-accent-stat {
    font-size: 20px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 720px)
   ============================================================ */
@media (max-width: 720px) {
  .pp-header {
    padding: 72px 30px 48px;
  }

  .pp-heading {
    font-size: clamp(24px, 7vw, 36px);
  }

  .pp-steps-section,
  .pp-terms-section {
    padding: 56px 0;
  }

  .pp-steps {
    grid-template-columns: 1fr;
  }

  .pp-inner {
    flex-direction: column;
    gap: 32px;
  }

  .pp-col-text {
    flex: none;
    max-width: 100%;
  }

  .pp-col-visual {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

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

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .pp-header {
    padding: 56px 30px 36px;
  }

  .pp-lead,
  .pp-step p {
    font-size: 13.5px;
  }

  .pp-term-row span {
    font-size: 12px;
  }
}
