/* ============================================================
   Landing page — webinar „Firma, która działa bez Ciebie"
   12 sierpnia 2026 | Lideruj.pl
   ============================================================ */

/* RESET / BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1A2744;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: #0F1B33; line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.5px; color: #4A5874; }
p { margin: 0 0 1em; }
a { color: #0077B6; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-light { background: #F8F9FB; }
.section-intro { font-size: 1.1rem; color: #4A5874; margin-bottom: 32px; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #0F1B33 0%, #1A3050 100%);
  color: #E6ECF5;
  padding: 32px 0 96px;
}
.hero .brand { margin-bottom: 48px; }
.hero .logo { max-height: 100px; filter: brightness(0) invert(1); }
.hero h1 { color: #FFFFFF; font-size: 2.8rem; max-width: 860px; line-height: 1.15; }
.hero .lead { font-size: 1.2rem; max-width: 740px; color: #C7D3E8; margin-bottom: 28px; }
.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #C7D3E8;
  font-size: 1rem;
}
.hero-meta li strong { color: #FFFFFF; }
.badge-top {
  display: inline-block;
  background: #2E7D32;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero-countdown {
  display: inline-block;
  background: rgba(79,179,217,0.14);
  border: 1px solid rgba(79,179,217,0.4);
  color: #9BD4EA;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  margin: -8px 0 32px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  text-align: center;
}
.btn-primary { background: #0077B6; color: #FFFFFF; }
.btn-primary:hover { background: #005C91; text-decoration: none; }
.btn-large { padding: 16px 40px; font-size: 1.1rem; }
.btn-submit { width: 100%; margin-top: 8px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* CHECKLIST */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 12px 0 12px 40px;
  border-bottom: 1px solid #E1E7F0;
  font-size: 1.05rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  background: #0077B6;
  color: #FFFFFF;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  line-height: 26px;
  font-size: 0.85rem;
}

/* CTA SECTIONS */
.cta-section {
  text-align: center;
  padding: 48px 0;
  background: #FFFFFF;
}
.cta-section p {
  margin: 0 0 16px;
  color: #4A5874;
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* AGENDA */
.agenda-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.agenda-item {
  display: flex;
  gap: 20px;
  background: #FFFFFF;
  border: 1px solid #E1E7F0;
  border-radius: 10px;
  padding: 24px;
}
.agenda-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #0077B6;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2px;
}
.agenda-body h3 { margin-bottom: 6px; font-size: 1.15rem; }
.agenda-body p { margin: 0; color: #4A5874; }
.agenda-note {
  background: #F0F8FF;
  border-left: 4px solid #0077B6;
  border-radius: 4px;
  padding: 16px 20px;
}
.agenda-note p { margin: 0; color: #1A2744; font-size: 0.97rem; }

/* TRAINERS */
.trainers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.trainer-card {
  background: #FFFFFF;
  border: 1px solid #E1E7F0;
  border-radius: 12px;
  padding: 32px;
}
.trainer-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  background: #E1E7F0;
}
.trainer-card h3 { margin-bottom: 4px; }
.trainer-role { color: #4A5874; font-size: 0.95rem; margin-bottom: 12px; font-weight: 500; }
.trainer-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trainer-links a.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.trainer-links a.social-icon:hover { transform: translateY(-2px); opacity: 0.9; }
.trainer-links a.social-icon svg { width: 18px; height: 18px; display: block; }
.trainer-links a.social-linkedin { background: #0077B5; }
.trainer-links a.social-facebook { background: #1877F2; }
.trainer-links a.social-www { background: #4A5874; }

/* FORM */
.optional-label { font-size: 0.82rem; color: #8A95B0; font-weight: 400; }
.form-row { margin-bottom: 18px; }
.form-row-double { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #1A2744;
}
.req { color: #C0392B; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #C7D3E8;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: #0077B6;
  box-shadow: 0 0 0 3px rgba(0,119,182,0.18);
}
.form-row input.invalid { border-color: #C0392B; background: #FDF1F0; }
.error-msg { display: none; color: #C0392B; font-size: 0.88rem; margin: 6px 0 0; }
.error-msg.show { display: block; }
.error-help { font-size: 0.85rem; color: #6B7795; margin: 4px 0 0; }
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #C7D3E8;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.checkbox-option:hover { background: #F8F9FB; }
.checkbox-option input { margin: 4px 0 0; flex-shrink: 0; }
.checkbox-option span { font-size: 0.95rem; line-height: 1.5; }
.turnstile-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  min-height: 65px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status { margin-top: 12px; font-size: 0.95rem; color: #4A5874; text-align: center; }
.success-box, .info-box {
  background: #E8F5E9;
  border: 1px solid #2E7D32;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}
.success-box h3 { color: #1B5E20; margin-bottom: 10px; }
.info-box { background: #EAF5FB; border-color: #0077B6; }
.info-box h3 { color: #005C91; }
.calendar-note {
  margin: 20px 0 0;
  font-weight: 600;
  color: #1B5E20;
  font-size: 0.95rem;
}
.calendar-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.btn-cal {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #2E7D32;
  border-radius: 6px;
  color: #1B5E20;
  font-weight: 600;
  font-size: 0.92rem;
  background: #FFFFFF;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-cal:hover { background: #F1F8F1; text-decoration: none; }

/* FAQ */
.faq-list details {
  border: 1px solid #E1E7F0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 10px;
  background: #FFFFFF;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: #0F1B33;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: #0077B6;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] { background: #F8F9FB; }
.faq-list details p { margin: 12px 0 0; color: #4A5874; }

/* FOOTER */
.footer { background: #0F1B33; color: #C7D3E8; padding: 56px 0 32px; }
.footer h4 { color: #FFFFFF; }
.footer a { color: #4FB3D9; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.logo-footer { max-height: 36px; filter: brightness(0) invert(1); }
.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: #6B7795;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #2A3A55;
}
.footer-credit {
  text-align: center;
  font-size: 0.8rem;
  color: #8A95B0;
  margin: 12px 0 0;
}
.footer-credit .credit-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #6B7795;
  margin-right: 6px;
}
.footer-credit .credit-sep { margin: 0 8px; color: #4A5874; }
.footer-credit a { color: #B8C4DD; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.footer-credit a:hover { color: #FFFFFF; }

/* STICKY CTA mobile */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: #0077B6;
  color: #FFFFFF;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 50;
  text-decoration: none;
  font-family: inherit;
}
.sticky-cta:hover { background: #005C91; text-decoration: none; }

/* ============================================================
   DEMO — SCREEN SIMULATOR
   ============================================================ */

.demo-section {
  background: #0A1525;
  padding: 80px 0;
}
.demo-section h2 { color: #FFFFFF; text-align: center; }
.demo-intro { color: #7A8CA8; text-align: center; margin-bottom: 48px; }

/* Outer frame — macOS-style window */
.demo-screen {
  max-width: 820px;
  margin: 0 auto 32px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(0,119,182,0.15);
  background: #141E2E;
  animation: screenGlow 5s ease-in-out infinite;
}

@keyframes screenGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 40px 80px rgba(0,0,0,0.55), 0 0 60px rgba(0,119,182,0.12); }
  50%        { box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 40px 80px rgba(0,0,0,0.55), 0 0 80px rgba(0,119,182,0.28); }
}

/* Window title bar */
.demo-window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #1C2A3E;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  user-select: none;
}

.window-dots { display: flex; gap: 7px; }
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.window-title {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  color: #7A8CA8;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.window-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FF5F57;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF5F57;
  animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Screen body */
.demo-screen-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}

/* Individual blocks */
.demo-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 16px 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.demo-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.block-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}
.badge-new { background: rgba(0,119,182,0.25); color: #4FB3D9; border: 1px solid rgba(79,179,217,0.3); }
.badge-ok  { background: rgba(46,125,50,0.25);  color: #81C784; border: 1px solid rgba(129,199,132,0.3); }

.block-meta { font-size: 0.78rem; color: #56677E; }

/* Typewriter text */
.typewriter-text {
  font-size: 0.92rem;
  color: #C7D3E8;
  line-height: 1.6;
  white-space: pre-wrap;
  display: inline;
}
.response-text { color: #E2EAF6; }

/* Blinking cursor */
.cursor {
  display: inline-block;
  font-size: 0.85rem;
  color: #4FB3D9;
  opacity: 1;
  vertical-align: baseline;
}
.cursor.blink { animation: cursorBlink 0.9s step-end infinite; }
.cursor.hidden { opacity: 0; }

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Processing block rows */
.proc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.proc-row.visible { opacity: 1; transform: translateX(0); }

.proc-icon { font-size: 1.1rem; flex-shrink: 0; }
.proc-label { font-size: 0.88rem; color: #8A95B0; flex: 1; }
.proc-ok {
  font-size: 0.95rem;
  color: #81C784;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.proc-ok.visible { opacity: 1; }

/* Progress bar */
.proc-bar-wrap {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.proc-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0077B6, #4FB3D9);
  border-radius: 3px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Result block */
.demo-block-result { border-color: rgba(129,199,132,0.2); }

/* Action buttons */
.result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.result-actions.visible { opacity: 1; transform: translateY(0); }

.demo-action-btn {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.demo-action-btn:hover { transform: translateY(-1px); opacity: 0.88; }

.btn-send {
  background: #2E7D32;
  color: #FFFFFF;
}
.btn-edit {
  background: transparent;
  color: #8A95B0;
  border: 1px solid rgba(255,255,255,0.15);
}

.action-note {
  font-size: 0.8rem;
  color: #56677E;
  font-style: italic;
}

/* Demo caption */
.demo-caption {
  text-align: center;
  color: #56677E;
  font-size: 0.92rem;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   PROBLEM → ROZWIĄZANIE
   ============================================================ */
.pain-list { list-style: none; padding: 0; margin: 0 0 32px; }
.pain-list li {
  position: relative;
  padding: 12px 0 12px 40px;
  border-bottom: 1px solid #E1E7F0;
  font-size: 1.05rem;
}
.pain-list li:last-child { border-bottom: none; }
.pain-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  background: #FCEEDB;
  color: #C77700;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  line-height: 26px;
  font-size: 1rem;
}
.insight-box {
  background: #F0F8FF;
  border-left: 4px solid #0077B6;
  border-radius: 6px;
  padding: 24px 28px;
}
.insight-box p { margin: 0 0 14px; color: #1A2744; }
.insight-box p:last-child { margin-bottom: 0; }

/* ============================================================
   WIDEO (placeholder)
   ============================================================ */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0F1B33 0%, #1A3050 100%);
  border: 1px solid #E1E7F0;
}
.video-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #C7D3E8;
}
.video-soon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.25);
  font-size: 1.5rem;
  color: #FFFFFF;
  padding-left: 4px;
}
.video-soon p { margin: 0; font-size: 0.95rem; letter-spacing: 0.3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .trainers-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 24px; }
}

@media (max-width: 768px) {
  .demo-screen-body { padding: 16px 14px 20px; gap: 10px; }
  .block-header { flex-direction: column; align-items: flex-start; }
  .typewriter-text { font-size: 0.85rem; }
  .proc-label { font-size: 0.82rem; }
  .action-note { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 24px 0 64px; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1.05rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  .section { padding: 56px 0; }
  .form-row-double { grid-template-columns: 1fr; }
  .agenda-item { flex-direction: column; gap: 12px; }
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
  .demo-screen { border-radius: 10px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.7rem; }
  .btn-large { padding: 14px 28px; font-size: 1rem; }
}
