/* ═══════════════════════════════════════════════════════
   PBI Day III — site.css
   Rozszerzenia wielostronicowe i nowe sekcje (poza main.css).
   Korzysta ze zmiennych :root zdefiniowanych w main.css.
   ═══════════════════════════════════════════════════════ */

/* ── Nav: aktywny link ──────────────────────────────────── */
.site-nav__links a.is-active,
.nav-dropdown__toggle.is-active {
  color: var(--gold-2);
  background: rgba(255, 211, 107, .08);
}

/* ── Nav: dropdown "Poprzednie edycje" ──────────────────── */
.site-nav__links { position: relative; }
.nav-dropdown { position: relative; }
.nav-dropdown__toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  font-size: 13px; font-weight: 500; letter-spacing: .3px;
  color: rgba(240, 236, 230, .65);
  background: transparent; border: none; border-radius: 8px;
  cursor: pointer; font-family: inherit;
  transition: color .2s, background .2s;
}
.nav-dropdown__toggle:hover { color: var(--gold-2); background: rgba(255, 211, 107, .07); }
.nav-dropdown__caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s;
}
.nav-dropdown.is-open .nav-dropdown__caret { transform: rotate(-135deg) translateY(-1px); }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 200px; list-style: none; margin: 0; padding: 8px;
  background: rgba(7, 11, 20, .96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 50;
}
.nav-dropdown.is-open .nav-dropdown__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown__menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: rgba(240, 236, 230, .72);
  transition: color .2s, background .2s;
}
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a.is-active { color: var(--gold-2); background: rgba(255, 211, 107, .07); }

/* ── Nav: hamburger + menu mobilne ──────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: none; cursor: pointer;
  pointer-events: auto;
}
.nav-burger span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--gold-2);
  transition: transform .25s, opacity .2s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu { display: flex; align-items: center; gap: 0; pointer-events: auto; }

@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .site-nav { pointer-events: auto; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; top: 0;
    width: min(320px, 84vw); height: 100vh;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px;
    padding: 96px 24px 32px;
    background: rgba(4, 5, 10, .98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--glass-border);
    transform: translateX(100%); transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .site-nav__links { flex-direction: column; align-items: stretch; gap: 4px; margin: 0; }
  .site-nav__links a, .nav-dropdown__toggle { width: 100%; font-size: 15px; padding: 12px 14px; }
  .nav-dropdown__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(255, 255, 255, .03); margin: 4px 0 4px 12px;
    display: none;
  }
  .nav-dropdown.is-open .nav-dropdown__menu { display: block; }
  .site-nav__cta { width: 100%; margin-top: 12px; }
}

/* ── Generyczna sekcja ciemna (nowe sekcje) ─────────────── */
.sec {
  padding: var(--pad-section) 0;
  position: relative;
  background-image:
    url('../images/stars-sparse.svg'),
    linear-gradient(180deg, var(--dark-1) 0%, #060a12 50%, var(--dark-1) 100%);
  background-size: cover, cover;
  background-position: center;
  background-color: var(--dark-1);
}
.sec--alt {
  background-image:
    url('../images/stars-sparse.svg'),
    linear-gradient(180deg, var(--dark-2) 0%, #080d18 50%, var(--dark-2) 100%);
  background-color: var(--dark-2);
}

/* ── Lead magnet band ───────────────────────────────────── */
.leadband {
  padding: 28px 0;
  background: linear-gradient(180deg, var(--dark-2), var(--dark-1));
  border-top: 1px solid rgba(255, 211, 107, .10);
  border-bottom: 1px solid rgba(255, 211, 107, .10);
}
.leadband__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.leadband__text { display: flex; flex-direction: column; gap: 4px; }
.leadband__kicker {
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255, 211, 107, .70);
}
.leadband__title { font-size: clamp(16px, 2vw, 20px); font-weight: 700; color: var(--text-bright); }
.leadband__sub { font-size: 13px; color: var(--text-mid); }

/* ── Co nowego (tabela różnic) ──────────────────────────── */
.whatsnew-table {
  max-width: 820px; margin: 0 auto;
  width: 100%; border-collapse: collapse;
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
.whatsnew-table th, .whatsnew-table td {
  padding: 16px 20px; text-align: left; font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.whatsnew-table thead th {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255, 211, 107, .80);
}
.whatsnew-table tbody tr:last-child td { border-bottom: none; }
.whatsnew-table .wt-feature { font-weight: 600; color: var(--text-bright); width: 26%; }
.whatsnew-table .wt-ed2 { color: var(--text-faint); }
.whatsnew-table .wt-ed3 { color: var(--text-mid); font-weight: 500; }
.whatsnew-table .wt-ed3 strong { color: var(--gold-2); font-weight: 600; }
@media (max-width: 640px) {
  .whatsnew-table thead { display: none; }
  .whatsnew-table tbody tr {
    display: grid; grid-template-columns: 1fr; gap: 2px;
    padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .05);
  }
  .whatsnew-table td { border: none; padding: 2px 0; }
  .whatsnew-table .wt-feature { width: auto; }
  .whatsnew-table .wt-ed2::before { content: 'Edycja II: '; color: rgba(240,236,230,.3); }
  .whatsnew-table .wt-ed3::before { content: 'Edycja III: '; color: rgba(255,211,107,.5); }
}

/* ── Dla kogo (karty poziomów) ──────────────────────────── */
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.audience-card { padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.audience-card__promise { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.audience-card__benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.audience-card__benefits li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--text-mid); line-height: 1.55;
}
.audience-card__benefits li::before {
  content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px;
  background: radial-gradient(circle at 50% 50%, var(--gold-2), var(--gold-3));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8.2l2 2 4-4' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='8' r='7' stroke='white' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8.2l2 2 4-4' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='8' r='7' stroke='white' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}
.audience-card__note {
  margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 211, 107, .12);
  font-size: 12.5px; font-style: italic; color: rgba(255, 211, 107, .65); line-height: 1.6;
}
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ── Networking / advanced note w programie ─────────────── */
.program-note {
  max-width: 760px; margin: 28px auto 0; padding: 18px 24px;
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: var(--radius-sm);
  background: rgba(255, 211, 107, .04); border: 1px solid rgba(255, 211, 107, .14);
  font-size: 13.5px; color: var(--text-mid); line-height: 1.65;
}
.program-note strong { color: rgba(255, 211, 107, .85); }

/* ── Prelegenci teaser ──────────────────────────────────── */
.speakers-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px;
}
.speaker-card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.speaker-card__avatar {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #1a0f00;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
}
.speaker-card__name { font-size: 15px; font-weight: 700; color: var(--text-bright); }
.speaker-card__role { font-size: 12px; color: rgba(255, 211, 107, .65); }
.speaker-card__spec { font-size: 12.5px; color: var(--text-faint); line-height: 1.5; margin-top: 2px; }
.speaker-card--host { border-top-color: rgba(255, 211, 107, .35); }

/* ── B2B teaser ─────────────────────────────────────────── */
.b2b-teaser { padding: 44px 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.b2b-teaser__title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; color: var(--text-bright); margin-bottom: 10px; }
.b2b-teaser__desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; max-width: 540px; }
@media (max-width: 767px) { .b2b-teaser { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; } }

/* ── Sygnał cenowy (lewa kolumna formularza) ────────────── */
.ticket-signal { margin-top: 4px; padding-top: 24px; border-top: 1px solid rgba(255, 211, 107, .12); }
.ticket-signal__heading {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: rgba(255, 211, 107, .55); margin-bottom: 12px;
}
.ticket-signal__list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.ticket-signal__list li { font-size: 13.5px; color: var(--text-mid); display: flex; gap: 8px; }
.ticket-signal__list li::before { content: '·'; color: var(--gold-2); font-weight: 700; }
.ticket-signal__note { font-size: 12.5px; color: var(--text-faint); font-style: italic; line-height: 1.6; }

/* ── FAQ teaser / accordion ─────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); border: 1px solid var(--glass-border); background: var(--glass-bg); overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; text-align: left; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--text-bright);
  background: transparent; border: none; font-family: inherit;
}
.faq-item__icon { flex-shrink: 0; width: 14px; height: 14px; position: relative; }
.faq-item__icon::before, .faq-item__icon::after {
  content: ''; position: absolute; background: var(--gold-2); border-radius: 2px;
  transition: transform .2s;
}
.faq-item__icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-item__icon::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-item.is-open .faq-item__icon::after { transform: scaleY(0); }
.faq-item__a {
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  font-size: 14px; color: var(--text-mid); line-height: 1.7;
}
.faq-item__a-inner { padding: 0 24px 20px; }
.faq-item.is-open .faq-item__a { max-height: 320px; }

/* ── Footer: trzecia kolumna nawigacji ──────────────────── */
.footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
.footer__col-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: rgba(255, 211, 107, .38); margin-bottom: 14px;
}
.footer__nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer__nav-list a { font-size: 13px; color: var(--text-faint); transition: color .2s; }
.footer__nav-list a:hover { color: rgba(255, 211, 107, .7); }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr; gap: 36px; } }

/* ── Archiwum / podstrony: baner "zrealizowane" ─────────── */
.archive-badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--radius-pill);
  color: rgba(240, 236, 230, .6); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
