/* =====================================================================
   TOKENY — "Ekran telefonu": duotone TikToka (cyjan + róż) na prawie
   czarnym ekranie. Świadomie jeden motyw (bez jasnego wariantu) —
   to ma wyglądać jak feed wideo, nie jak dashboard SaaS.
   ===================================================================== */
:root {
  --ink: #0a0a0d;          /* tło strony — "wyłączony" ekran */
  --surface: #17171d;      /* karty, bloki */
  --surface-2: #1e1e26;    /* karty podniesione / hover */
  --line: rgba(240, 238, 231, 0.09);
  --cyan: #2de2e6;         /* akcent zimny — TikTok aqua */
  --pink: #ff2d6a;         /* akcent ciepły — TikTok red, główne CTA */
  --paper: #f0eee7;        /* tekst podstawowy, ciepła biel */
  --muted: #92929c;        /* tekst drugorzędny */
  --muted-soft: #b7b6c0;

  --font-display: "Unbounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===================== RESET / BASE ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.55;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  text-wrap: balance;
  color: var(--paper);
}

h1 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 20px;
  text-shadow: 1.5px 0 0 rgba(45, 226, 230, 0.5), -1.5px 0 0 rgba(255, 45, 106, 0.5);
}

h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 24px; text-align: center; }
h3 { font-size: 18px; margin-bottom: 10px; font-weight: 600; }

p { margin-bottom: 14px; color: var(--muted-soft); }

.lead {
  text-align: center;
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}

a { color: inherit; }

/* ===================== PASEK POSTĘPU (scrubber wideo) ===================== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(240, 238, 231, 0.08);
  z-index: 200;
}

#progress-fill {
  position: relative;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

#progress-fill::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  transform: translateY(-50%);
  box-shadow: 0 0 8px 2px rgba(255, 45, 106, 0.7);
}

/* ===================== PODPOWIEDZI KIERUNKOWE ===================== */
.scroll-nudge {
  margin-top: 44px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nudge-arrow {
  display: block;
  margin: 6px auto 0;
  width: fit-content;
  color: var(--pink);
  font-size: 18px;
  animation: nudge-bounce 1.8s ease-in-out infinite;
}

@keyframes nudge-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 6px 1px rgba(255, 45, 106, 0.7);
}

/* ===================== ANIMACJA WEJŚCIA SEKCJI ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== PRZYCISKI ===================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 45, 106, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 45, 106, 0.45); }
.btn-primary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.btn-lg { padding: 16px 32px; font-size: 17px; }

@media (max-width: 480px) {
  .btn-lg { display: block; width: 100%; text-align: center; }
}

/* ===================== SEKCJA 1 — HERO ===================== */
.hero {
  text-align: center;
  padding-top: 56px;
  background:
    radial-gradient(circle at 22% 0%, rgba(45, 226, 230, 0.12), transparent 55%),
    radial-gradient(circle at 78% 10%, rgba(255, 45, 106, 0.14), transparent 55%);
}

.subhead {
  font-size: 18px;
  color: var(--muted-soft);
  max-width: 560px;
  margin: 0 auto 32px;
}

.vsl-glow { animation: vsl-pulse 2.8s ease-in-out infinite; }

@keyframes vsl-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 226, 230, 0.25), 0 0 0 0 rgba(255, 45, 106, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(45, 226, 230, 0), 0 0 0 16px rgba(255, 45, 106, 0); }
}

.vsl-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto 32px;
  aspect-ratio: 9 / 16;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.vsl-video { width: 100%; height: 100%; object-fit: cover; }

.vsl-placeholder {
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ===================== SEKCJA 2 — PROBLEM ===================== */
.problem { background: #0d0d11; }

.pain-points { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.pain {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--paper);
  padding: 20px 24px;
  background: var(--surface);
  border-left: 3px solid var(--pink);
  border-radius: 8px;
}

.transition {
  text-align: center;
  font-style: italic;
  color: var(--muted-soft);
  max-width: 520px;
  margin: 0 auto;
}

/* ===================== SEKCJA 3 — HISTORIA ===================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.timeline-block {
  padding: 24px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}

.timeline-block:hover { transform: translateY(-3px); border-color: rgba(255, 45, 106, 0.35); }

.timeline-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  margin-bottom: 8px;
}

.credibility-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.cred-block p { color: var(--muted-soft); }

.cred-img {
  margin-top: 12px;
  width: 100%;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--line);
  box-shadow: inset 0 2px 0 rgba(45, 226, 230, 0.5);
}

.content-proof { margin-top: 40px; }

.proof-wide {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
  margin-bottom: 12px;
  box-shadow: inset 0 2px 0 rgba(45, 226, 230, 0.5);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.proof-row img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: inset 0 2px 0 rgba(255, 45, 106, 0.55);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.stat span { font-size: 13px; color: var(--muted); }

/* ===================== SEKCJA 4 — PROGRAM ===================== */
.program { background: #0d0d11; }

.modules { display: flex; flex-direction: column; gap: 16px; }

.module {
  padding: 22px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}

.module:hover { transform: translateY(-3px); border-color: rgba(45, 226, 230, 0.4); }

.module-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(45, 226, 230, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.module-highlight {
  background: linear-gradient(135deg, rgba(255, 45, 106, 0.12), rgba(45, 226, 230, 0.08));
  border-color: rgba(255, 45, 106, 0.3);
}

.module-highlight .module-tag { color: var(--pink); background: rgba(255, 45, 106, 0.14); }

/* ===================== SEKCJA 5 — GWARANCJA ===================== */
.guarantee {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 45, 106, 0.08), rgba(45, 226, 230, 0.06));
}

.guarantee p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===================== SEKCJA 6 — DLA KOGO ===================== */
.fit-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.fit-col { padding: 24px; border-radius: 12px; transition: transform .2s ease; }
.fit-col:hover { transform: translateY(-3px); }

.fit-yes { background: rgba(45, 226, 230, 0.07); border: 1px solid rgba(45, 226, 230, 0.25); }
.fit-no { background: rgba(255, 45, 106, 0.05); border: 1px solid rgba(255, 45, 106, 0.18); }

.fit-col h3 { margin-bottom: 14px; }
.fit-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fit-col li { padding-left: 22px; position: relative; color: var(--muted-soft); }
.fit-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.fit-no li::before { content: "✕"; position: absolute; left: 0; color: var(--pink); font-weight: 800; }

@media (min-width: 640px) {
  .fit-columns { grid-template-columns: 1fr 1fr; }
}

/* ===================== SEKCJA 7 — QUIZ ===================== */
.quiz-section { background: #0d0d11; }

.quiz { max-width: 560px; margin: 0 auto; text-align: center; }

.quiz-progress { margin-bottom: 24px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.quiz-progress-bar {
  height: 6px;
  background: rgba(240, 238, 231, 0.08);
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
}

#quiz-progress-fill {
  height: 100%;
  width: 12.5%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: width .3s ease;
}

.quiz-question h3 { text-align: left; margin-bottom: 18px; font-size: 19px; font-weight: 700; }

.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }

.quiz-option {
  display: block;
  text-align: left;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--paper);
  transition: border-color .15s ease, background .15s ease;
}

.quiz-option:hover { border-color: rgba(45, 226, 230, 0.5); }

.quiz-option.selected {
  border-color: var(--pink);
  background: rgba(255, 45, 106, 0.1);
}

.quiz-option input { display: none; }

.quiz-nav { display: flex; justify-content: space-between; gap: 12px; }
.quiz-nav button:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted-soft);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
}

/* ===================== SEKCJA 8 — FAQ ===================== */
.accordion-item { border-bottom: 1px solid var(--line); }

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-trigger::after {
  content: "+";
  font-size: 22px;
  color: var(--pink);
  margin-left: 12px;
}

.accordion-item.open .accordion-trigger::after { content: "−"; color: var(--cyan); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.accordion-item.open .accordion-panel { max-height: 300px; }

.accordion-panel p { padding-bottom: 20px; color: var(--muted-soft); }

/* ===================== SEKCJA 9 — CLOSING ===================== */
.closing { text-align: center; }
.microcopy { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ===================== FOOTER ===================== */
.footer { padding: 32px 0 48px; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner a { text-decoration: none; color: inherit; }
.footer-inner a:hover { color: var(--paper); }

/* ===================== MODAL ===================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.modal-content {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  padding: 32px;
  max-width: 820px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  border: 1px solid var(--line);
}

#booking-embed {
  min-height: 200px;
  margin-top: 16px;
  padding: 18px;
  background: #fff;
  border-radius: 12px;
  color: #1a1a1a;
}

.modal-content h3 { font-family: var(--font-display); }

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted-soft);
  font-size: 24px;
  cursor: pointer;
}

/* ===================== PASEK CTA (STICKY) ===================== */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 160%);
  z-index: 90;
  width: min(560px, calc(100% - 32px));
  background: var(--surface-2);
  border: 1px solid rgba(255, 45, 106, 0.35);
  border-radius: 16px;
  padding: 18px 44px 18px 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  transition: transform .4s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sticky-cta.visible { transform: translate(-50%, 0); }

.sticky-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--paper);
  font-size: 14px;
  flex: 1 1 180px;
}

.sticky-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sticky-actions .btn { padding: 10px 18px; font-size: 14px; }

.sticky-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 480px) {
  .sticky-cta { padding: 16px 40px 16px 16px; }
  .sticky-actions { width: 100%; }
  .sticky-actions .btn { flex: 1; text-align: center; }
}
