/* ── How to Lead — shared design system ──────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --purple:      #8b3dff;
  --purple-dark: #6d2ee0;
  --purple-soft: rgba(139,61,255,0.08);
  --purple-mid:  rgba(139,61,255,0.15);
  --text:        #313131;
  --text-mid:    #434343;
  --text-dim:    #596068;
  --bg:          #ffffff;
  --bg-soft:     #f3f6fb;
  --bg-gray:     #f2f2f2;
  --border:      #e8e8f0;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 4px 24px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.10);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-mid);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Layout ───────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--gray { background: var(--bg-gray); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: inline-block; width: 20px; height: 2px;
  background: var(--purple); border-radius: 2px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800;
  color: var(--text); line-height: 1.2; letter-spacing: -0.02em;
}
.section-title sup { font-size: 0.45em; color: var(--purple); vertical-align: super; }
.section-subtitle {
  font-size: 1.05rem; color: var(--text-dim); max-width: 560px; margin-top: 14px;
}
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .section-subtitle { margin: 14px auto 0; }
.body-text { color: var(--text-dim); line-height: 1.75; }
.body-text strong { color: var(--text); }
.body-text + .body-text { margin-top: 14px; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn--primary {
  background: var(--purple); color: #fff;
  box-shadow: 0 4px 20px rgba(139,61,255,0.35);
}
.btn--primary:hover {
  background: var(--purple-dark); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,61,255,0.45);
}
.btn--ghost { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn--ghost:hover { background: var(--purple-soft); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--purple); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn--white:hover { background: #f3f0ff; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.btn--outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.btn--copy {
  position: relative; cursor: pointer;
}
.btn--copy::after {
  content: 'Skopiuj'; position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px); opacity: 0; pointer-events: none;
  background: #1a1a2e; color: #fff; font-size: 0.75rem; font-weight: 600;
  padding: 5px 12px; border-radius: 6px; white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.btn--copy:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.btn--copy.copied::after { content: 'Skopiowano!'; }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

/* ── Focus states (accessibility) ────────────────────────────── */
.btn:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 2px;
}
.btn--outline-white:focus-visible,
.btn--white:focus-visible {
  outline-color: #fff;
}
a:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 4px;
}

/* ── Inline-link style (body links with arrow) ───────────────── */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--purple); margin-top: 16px;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 10px; }

/* ── Utility: spacing ────────────────────────────────────────── */
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-note { font-size: 0.85rem; color: var(--text-dim); }

/* ── LinkedIn embeds ─────────────────────────────────────────── */
.linkedin-embed { overflow: hidden; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--border); }
.linkedin-embed iframe { width: 100%; min-height: 500px; border: none; display: block; }

/* ── Quote card dark check-list ──────────────────────────────── */
.check-list.check-list--light li { color: rgba(255,255,255,0.92); }
.check-list--light li::before {
  border-color: rgba(255,255,255,0.3);
  background-color: rgba(255,255,255,0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 50px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav__links a {
  padding: 8px 14px; border-radius: 8px; font-size: 0.9rem;
  font-weight: 500; color: var(--text-mid);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--purple); background: var(--purple-soft); }
.nav__cta { margin-left: 8px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.nav__item--drop { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav__dropdown::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav__item--drop:hover .nav__dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav__dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 0.88rem; color: var(--text-mid); }
.nav__dropdown a:hover { color: var(--purple); background: var(--purple-soft); }
.nav__mobile {
  position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(160deg, #1a0a2e 0%, #0f0a1a 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav__mobile.open { opacity: 1; pointer-events: all; }
.nav__mobile__logo {
  position: absolute; top: 28px; left: 24px;
}
.nav__mobile__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.nav__mobile a {
  font-size: 1.25rem; font-weight: 600; color: rgba(255,255,255,0.7);
  padding: 16px 32px; width: 100%; max-width: 300px; text-align: center;
  border-radius: 12px;
  transition: color 0.25s, background 0.25s, transform 0.25s;
  transform: translateY(10px); opacity: 0;
}
.nav__mobile.open a {
  transform: translateY(0); opacity: 1;
}
.nav__mobile.open a:nth-child(2) { transition-delay: 0.05s; }
.nav__mobile.open a:nth-child(3) { transition-delay: 0.1s; }
.nav__mobile.open a:nth-child(4) { transition-delay: 0.15s; }
.nav__mobile.open a:nth-child(5) { transition-delay: 0.2s; }
.nav__mobile.open a:nth-child(6) { transition-delay: 0.25s; }
.nav__mobile.open a:nth-child(7) { transition-delay: 0.3s; }
.nav__mobile a:hover { color: #fff; background: rgba(139,61,255,0.2); }
.nav__mobile__divider {
  width: 40px; height: 1px; background: rgba(255,255,255,0.1); margin: 8px auto;
}
.nav__mobile__cta {
  margin-top: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border-radius: 10px;
  background: var(--purple); color: #fff !important; font-weight: 600; font-size: 0.88rem;
  box-shadow: 0 4px 24px rgba(139,61,255,0.4);
  transition: background 0.25s, transform 0.25s, opacity 0.4s;
  transform: translateY(10px); opacity: 0;
  text-align: center; width: auto;
}
.nav__mobile.open .nav__mobile__cta {
  transform: translateY(0); opacity: 1; transition-delay: 0.35s;
}
.nav__mobile__cta:hover { background: var(--purple-dark); }
.nav__mobile-close {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.nav__mobile-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ── Hero (page hero) ─────────────────────────────────────────── */
.hero {
  padding: 100px 0 96px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -180px; right: -180px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(139,61,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero--center { text-align: center; }
.hero--center .hero__subtitle { margin: 20px auto 0; }
.hero--center .hero__actions { justify-content: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple-soft); border: 1px solid var(--purple-mid);
  color: var(--purple); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 12px; margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800;
  color: var(--text); line-height: 1.1; letter-spacing: -0.03em;
}
.hero__title sup { font-size: 0.4em; color: var(--purple); vertical-align: super; }
.hero__subtitle {
  font-size: 1.15rem; color: var(--text-dim); margin-top: 20px;
  max-width: 560px; line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ── Card variants ────────────────────────────────────────────── */
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-mid); }
.card__icon {
  color: var(--purple); margin-bottom: 20px;
}
.card__title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.card__text { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; }

/* ── Check list ───────────────────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.6;
}
.check-list li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  background: var(--purple-soft); border-radius: 50%;
  border: 2px solid var(--purple-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b3dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

/* ── Stat cards ───────────────────────────────────────────────── */
.stat-card {
  background: var(--purple-soft); border: 1px solid var(--purple-mid);
  border-radius: var(--radius); padding: 24px;
}
.stat-card__num { font-size: 2rem; font-weight: 800; color: var(--purple); line-height: 1; letter-spacing: -0.03em; }
.stat-card__label { font-size: 0.82rem; color: var(--text-dim); margin-top: 6px; }

/* ── Steps / Process ──────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: flex; gap: 24px; padding-bottom: 32px;
  position: relative;
}
.step-row:not(:last-child)::before {
  content: ''; position: absolute; left: 19px; top: 48px;
  width: 2px; bottom: 0; background: var(--purple-mid);
}
.step-row__num {
  flex-shrink: 0; width: 40px; height: 40px; background: var(--purple);
  color: #fff; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 0.9rem; font-weight: 800;
  box-shadow: 0 4px 16px rgba(139,61,255,0.35); position: relative; z-index: 1;
}
.step-row__title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-row__text { font-size: 0.9rem; color: var(--text-dim); line-height: 1.65; }

/* ── Pricing card ─────────────────────────────────────────────── */
.pricing-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.pricing-card--featured {
  background: var(--purple); border-color: transparent;
  box-shadow: 0 8px 40px rgba(139,61,255,0.35);
}
.pricing-card--featured .pricing-card__title,
.pricing-card--featured .pricing-card__price,
.pricing-card--featured .pricing-item { color: #fff; }
.pricing-card--featured .pricing-card__sub { color: rgba(255,255,255,0.7); }
.pricing-card__title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pricing-card__price { font-size: 2rem; font-weight: 800; color: var(--purple); letter-spacing: -0.03em; line-height: 1; margin: 12px 0 4px; }
.pricing-card__sub { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 20px; }
.pricing-item { font-size: 0.88rem; color: var(--text-dim); padding: 8px 0; border-top: 1px solid var(--border); }
.pricing-item:first-of-type { border-top: none; }

/* ── CTA section ──────────────────────────────────────────────── */
.cta {
  background:
    radial-gradient(ellipse at 30% 80%, rgba(255,255,255,0.06) 0%, transparent 50%),
    linear-gradient(135deg, #6d2ee0 0%, #8b3dff 50%, #a855f7 100%);
  padding: 96px 0; text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: -20px; right: 40px;
  width: 220px; height: 220px; background: rgba(255,255,255,0.06);
  border-radius: 24px; pointer-events: none;
  animation: driftA 17s ease-in-out infinite;
  box-shadow:
    -500px 120px 0 rgba(255,255,255,0.03),
    200px 200px 0 rgba(255,255,255,0.025);
}
.cta::after {
  content: ''; position: absolute; bottom: -15px; left: 30px;
  width: 180px; height: 180px; background: rgba(255,255,255,0.04);
  border-radius: 20px; pointer-events: none;
  animation: driftB 20.4s ease-in-out infinite 3s;
  box-shadow:
    600px -80px 0 rgba(255,255,255,0.035),
    300px -200px 0 rgba(255,255,255,0.02);
}
.cta__inner { position: relative; z-index: 1; }
.cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  color: #fff; letter-spacing: -0.02em; margin-bottom: 16px;
}
.cta__subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 36px; line-height: 1.7; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer { background: #0f0a1a; color: rgba(255,255,255,0.75); padding: 64px 0 32px; }
.footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand { margin-bottom: 12px; }
.footer__brand img { height: 50px; width: auto; filter: brightness(0) invert(1); }
.footer__tagline { font-size: 0.88rem; line-height: 1.65; max-width: 260px; }
.footer__social {
  display: inline-flex; margin-top: 16px;
  color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.footer__social:hover { color: var(--purple); }
.footer__col-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__links a:hover { color: var(--purple); }
.footer__links .footer__link-icon { display: inline-flex; align-items: center; gap: 6px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.8rem; }

/* ── Contact form ─────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: 'Inter', sans-serif;
  font-size: 0.95rem; color: var(--text); background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft);
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

/* ── Tag / badge ──────────────────────────────────────────────── */
.tag {
  font-size: 0.72rem; font-weight: 600; padding: 4px 10px;
  border-radius: 50px; background: var(--bg-soft); color: var(--text-dim);
  border: 1px solid var(--border); display: inline-block;
}
.tag--purple { background: var(--purple-soft); color: var(--purple); border-color: var(--purple-mid); }

/* ── Two-col grid helpers ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.align-center { align-items: center; }
.gap-lg { gap: 80px; }

/* ── Divider line ─────────────────────────────────────────────── */
.divider { width: 48px; height: 3px; background: var(--purple); border-radius: 2px; margin: 20px 0; }

/* ── Shared drift keyframes ───────────────────────────────────── */
@keyframes driftA {
  0%, 100% { transform: rotate(-10deg) translate(0, 0); }
  25% { transform: rotate(-7deg) translate(-15px, 20px); }
  50% { transform: rotate(-12deg) translate(10px, 32px); }
  75% { transform: rotate(-8deg) translate(-8px, 10px); }
}
@keyframes driftB {
  0%, 100% { transform: rotate(12deg) translate(0, 0); }
  25% { transform: rotate(15deg) translate(15px, -15px); }
  50% { transform: rotate(9deg) translate(-10px, -28px); }
  75% { transform: rotate(14deg) translate(10px, -10px); }
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gap-lg { gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 72px 0 64px; }
}
