/* przekonaj.ai , one page */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --off-white: #f7f7f8;
  --text: #161616;
  --text-soft: #4a4a4a;
  --line: #e4e4e7;
  --line-dark: #2a2a2e;
  --magenta: #e0218a;        /* jasna magenta, akcenty i podkreślenia */
  --magenta-dark: #9b1b5e;   /* ciemna magenta, linki */
  --magenta-soft: rgba(224, 33, 138, 0.16);
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- progress bar ---------- */

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: transparent;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--magenta);
  transition: width 0.1s linear;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--line-dark);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-dot { color: var(--magenta); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--magenta); }

.nav-links a.nav-cta {
  border: 1px solid var(--magenta);
  color: var(--white);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
}

.nav-links a.nav-cta:hover {
  background: var(--magenta);
  color: var(--white);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 35%, transparent 100%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.kicker {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--magenta);
}

.hero-sub {
  margin-top: 2rem;
  max-width: 56ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.scroll-hint span {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--magenta);
  animation: drop 2.2s ease-in-out infinite;
}

@keyframes drop {
  0% { top: -40%; }
  70%, 100% { top: 110%; }
}

/* ---------- przyciski ---------- */

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-magenta {
  background: var(--magenta);
  color: var(--white);
}

.btn-magenta:hover { background: #c61b79; }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover { border-color: var(--magenta); color: var(--magenta); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover { background: var(--magenta); }

/* ---------- sekcje ---------- */

.section {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}

.section-alt { background: var(--off-white); }

.section-dark {
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
  border-top-color: var(--line-dark);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 3.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.section-dark .section-head { border-bottom-color: var(--line-dark); }

.section-no {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--magenta);
  letter-spacing: 0.08em;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-dark .section-head h2 { color: var(--white); }

.section p { max-width: 64ch; }

.section p + p { margin-top: 1.4rem; }

.lead {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  font-weight: 500;
  font-family: var(--display);
  color: var(--text);
  margin-bottom: 1.6rem;
}

.section-dark .lead { color: var(--white); }

/* podkreślenia jasną magentą */
mark {
  background: linear-gradient(to top, var(--magenta-soft) 38%, transparent 38%);
  color: inherit;
  padding: 0 0.1em;
}

.section-dark mark {
  background: linear-gradient(to top, rgba(224, 33, 138, 0.35) 38%, transparent 38%);
}

/* linki ciemną magentą */
.section a:not(.btn):not(.path) {
  color: var(--magenta-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.section a:not(.btn):not(.path):hover { color: var(--magenta); }

.section-dark a:not(.btn):not(.path) { color: var(--magenta); }
.section-dark a:not(.btn):not(.path):hover { color: #ff5fb1; }

.cta-row { margin-top: 2.75rem; }

/* ---------- kontekst ---------- */

.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.scenario {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.75rem 1.5rem;
  background: var(--white);
}

.scenario-no {
  display: block;
  font-family: var(--mono);
  color: var(--magenta);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.scenario p { font-size: 0.98rem; color: var(--text-soft); }

.paths {
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.path {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.path:hover {
  padding-left: 1.25rem;
  background: var(--off-white);
}

.path-no {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--magenta);
}

.path-name {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.path-arrow {
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--line);
  transition: color 0.25s ease, transform 0.25s ease;
}

.path:hover .path-arrow {
  color: var(--magenta);
  transform: translateX(6px);
}

/* ---------- szkolenia otwarte / placeholder terminów ---------- */

.trainings {
  margin-top: 3rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  padding: 2rem;
}

.trainings[hidden] { display: none; }

.trainings-list {
  list-style: none;
}

.trainings-list li {
  display: grid;
  grid-template-columns: 16ch 1fr;
  column-gap: 1.5rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.trainings-list li:last-child { border-bottom: none; }

.training-date {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-soft);
}

@media (max-width: 560px) {
  .trainings-list li {
    grid-template-columns: 1fr;
    row-gap: 0.3rem;
  }
}

/* ---------- szkolenia dla firm ---------- */

.tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.tools-label {
  width: 100%;
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 0.2rem;
}

.tool {
  font-family: var(--mono);
  font-size: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.4rem 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tool:hover { border-color: var(--magenta); color: var(--magenta-dark); }

/* ---------- mentoring ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  padding: 1.75rem 1.5rem;
}

.stat-value {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--magenta);
}

.stat-label {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* ---------- listy ---------- */

.deliverables { margin: 2.25rem 0; }

.deliverables-label {
  font-weight: 600;
  margin-bottom: 1rem;
}

.list {
  list-style: none;
  max-width: 64ch;
}

.list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.9rem;
  border-bottom: 1px solid var(--line);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  background: var(--magenta);
}

.list-dark li { border-bottom-color: var(--line-dark); }

ul.list { margin-top: 1.4rem; }

/* ---------- o mnie ---------- */

.pill {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--magenta);
  border: 1px solid var(--magenta);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  white-space: nowrap;
  vertical-align: middle;
}

#o-mnie strong { font-weight: 600; }

.about-linkedin {
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: 0.95rem;
}

/* ---------- finał ---------- */

.finale {
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
}

.finale .container { position: relative; }

.finale-statement {
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 22ch;
}

.finale-statement em {
  font-style: normal;
  color: var(--magenta);
}

.finale-contact {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}

.finale-name {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.finale-mail {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--magenta);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.finale-mail:hover { border-bottom-color: var(--magenta); }

/* ---------- footer ---------- */

.footer {
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover { color: var(--magenta); }

/* ---------- animacje scrollowe ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
}

/* ---------- responsywność ---------- */

@media (max-width: 820px) {
  .section { padding: 5.5rem 0; }
  .scenarios, .stats { grid-template-columns: 1fr; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .finale { padding: 7rem 0; }
}
