/*
Theme Name: pokazy24
Theme URI: https://pokazy24.pl
Author: onlyaura.pl
Description: Landing page rekrutacyjny pokazy24.pl
Version: 2.0
Text Domain: pokazy24
*/

/* ---------------------------------------------------
   Tokens. Light brand theme (white + near-black + red),
   matching onlyaura.pl. One deliberate dark color-block
   section for the animated platform demo (Section 4.11
   exception: a single intentional theme-switch moment).
--------------------------------------------------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f4;
  --ink: #1c1c1c;
  --ink-muted: #55565b;
  --ink-faint: #8b8c91;
  --red: #c90c0c;
  --red-dark: #a10a0a;
  --red-soft: rgba(201, 12, 12, 0.08);
  --red-soft-2: rgba(201, 12, 12, 0.14);
  --on-red: #ffffff;
  --border: rgba(28, 28, 28, 0.1);
  --border-strong: rgba(28, 28, 28, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px rgba(28, 28, 28, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1200px;

  /* dark color-block (demo section only) */
  --dark-bg: #141416;
  --dark-surface: #1c1c1f;
  --dark-border: rgba(255, 255, 255, 0.1);
  --dark-ink: #f3f2f0;
  --dark-ink-muted: #a3a3a8;
}

/* ---------------------------------------------------
   Fonts (self-hosted: Montserrat for display,
   Sacramento for the brand script flourish, system
   stack for body - matches onlyaura.pl's own setup)
--------------------------------------------------- */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sacramento";
  src: url("fonts/Sacramento-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------------------------------------------------
   Reset
--------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (min-width: 768px) { .wrap { padding-left: 40px; padding-right: 40px; } }

.icon { width: 1em; height: 1em; }
.font-display { font-family: "Montserrat", sans-serif; }

/* ---------------------------------------------------
   Typography scale (clamp everywhere)
--------------------------------------------------- */
.h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
.h1 em { font-style: normal; color: var(--red); }
.h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--ink);
}
.h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.lede { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-muted); line-height: 1.6; max-width: 46ch; }
.body-sm { font-size: clamp(0.92rem, 1vw, 0.98rem); color: var(--ink-muted); line-height: 1.6; }

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: var(--on-red); box-shadow: 0 14px 30px rgba(201, 12, 12, 0.28); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost .icon { color: var(--red); }
.btn-block { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

/* ---------------------------------------------------
   Nav
--------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-lockup { display: flex; align-items: center; gap: 10px; }
.brand {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
}
.brand .script {
  font-family: "Sacramento", cursive;
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--red);
  margin-left: 2px;
  line-height: 1;
  padding-bottom: 2px;
}
.brand-badge {
  display: none;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid rgba(201, 12, 12, 0.22);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  white-space: nowrap;
}
@media (min-width: 560px) { .brand-badge { display: inline-block; } }
.nav-cta { padding: 11px 20px; font-size: 0.8rem; }
@media (min-width: 640px) { .nav-cta { padding: 14px 26px; font-size: 0.88rem; } }

/* ---------------------------------------------------
   Hero
--------------------------------------------------- */
.hero { padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 0.85fr; gap: 64px; } }
.hero-content { max-width: 660px; }
.hero-content .h1 { margin-bottom: 20px; }
.hero-content .lede { margin-bottom: 32px; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 10, 0) 55%, rgba(20, 8, 8, 0.55) 100%);
  pointer-events: none;
}
.hero-visual-caption { position: absolute; left: 20px; bottom: 18px; right: 20px; font-size: 0.85rem; color: #fff; font-weight: 600; }

/* Credibility strip (borrowed authority from onlyaura.pl) */
.credibility { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.credibility .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
@media (min-width: 720px) { .credibility .wrap { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.82rem; color: var(--ink-muted); margin-top: 4px; }

/* ---------------------------------------------------
   Section scaffolding
--------------------------------------------------- */
section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.section-head { max-width: 580px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .h2 { margin-bottom: 14px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}

/* ---------------------------------------------------
   Jak to dziala
--------------------------------------------------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--bg); padding: 30px 26px; }
.step-index { font-family: "Montserrat", sans-serif; font-size: 0.85rem; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; margin-bottom: 20px; }
.step .h3 { margin-bottom: 10px; }
.step p { color: var(--ink-muted); font-size: 0.92rem; line-height: 1.55; }

/* ---------------------------------------------------
   WOW demo section (deliberate dark color-block)
--------------------------------------------------- */
.demo { background: var(--dark-bg); color: var(--dark-ink); position: relative; overflow: hidden; }
.demo-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 240px;
  background: radial-gradient(60% 100% at 20% 0%, rgba(201, 12, 12, 0.35), transparent 70%),
              radial-gradient(40% 100% at 80% 0%, rgba(201, 12, 12, 0.2), transparent 70%);
  pointer-events: none;
}
.demo .section-head { position: relative; }
.demo .eyebrow { color: #ff5a5a; }
.demo .h2 { color: var(--dark-ink); }
.demo .lede { color: var(--dark-ink-muted); }

.demo-grid { display: grid; grid-template-columns: 1fr; gap: 20px; position: relative; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } }

.demo-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.demo-card-label { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.05rem; padding: 0 6px; }
.demo-card-body { color: var(--dark-ink-muted); font-size: 0.9rem; padding: 0 6px; }

/* browser mockup */
.mockup { border-radius: 14px; overflow: hidden; border: 1px solid var(--dark-border); background: #0e0e10; min-height: 260px; }
.mockup-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #191a1d; border-bottom: 1px solid var(--dark-border); }
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-url {
  margin-left: 10px; font-size: 0.78rem; color: var(--dark-ink-muted);
  background: #101012; border: 1px solid var(--dark-border); border-radius: var(--radius-pill);
  padding: 4px 12px; display: flex; align-items: center; gap: 6px;
}
.mockup-url .icon { width: 0.85em; height: 0.85em; color: #6b6b70; }
.mockup-screen { position: relative; min-height: 220px; }
.mockup-state { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; opacity: 0; transition: opacity 0.6s var(--ease); padding: 24px; text-align: center; }
.mockup-state.is-active { opacity: 1; }
.mockup-loading-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulseDot 1.1s ease-in-out infinite; }
.mockup-loading-text { font-size: 0.82rem; color: var(--dark-ink-muted); }
.mockup-preview-brand { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.1rem; }
.mockup-preview-brand .script { font-family: "Sacramento", cursive; color: var(--red); font-size: 1.4rem; margin-left: 2px; }
.mockup-preview-tag { font-size: 0.86rem; color: var(--dark-ink-muted); max-width: 26ch; }
.mockup-preview-cta {
  margin-top: 4px; background: var(--red); color: #fff; font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; padding: 9px 18px; border-radius: var(--radius-pill);
}
@keyframes pulseDot { 0%, 100% { opacity: 0.3; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }

/* live notifications */
.ticker { position: relative; min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  background: #101012; border: 1px solid var(--dark-border); border-radius: 14px;
  padding: 14px 16px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(201, 12, 12, 0.16); color: #ff5a5a;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.toast-title { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dark-ink-muted); }
.toast-amount { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1rem; margin-top: 2px; }
.toast-check { margin-left: auto; color: #35d07f; }

@media (prefers-reduced-motion: reduce) {
  .mockup-state { transition: none; }
  .toast { transition: none; opacity: 1; transform: none; }
  .mockup-loading-dot { animation: none; }
}

/* ---------------------------------------------------
   Comparison table
--------------------------------------------------- */
.compare-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th {
  font-family: "Montserrat", sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--bg-soft); color: var(--ink-muted); font-weight: 700;
}
.compare-table thead th.col-us { color: var(--red); background: var(--red-soft); }
.compare-table td.col-area { font-weight: 700; font-family: "Montserrat", sans-serif; font-size: 0.94rem; width: 22%; }
.compare-table td.col-us { background: var(--red-soft); font-weight: 500; }
.compare-table .row-icon { display: flex; align-items: flex-start; gap: 10px; }
.compare-table .row-icon .icon { margin-top: 3px; flex-shrink: 0; }
.compare-table .icon-no { color: var(--ink-faint); }
.compare-table .icon-yes { color: var(--red); }
.compare-scroll { overflow-x: auto; border-radius: var(--radius); }
@media (max-width: 720px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr { border-bottom: 8px solid var(--bg-soft); padding-bottom: 4px; }
  .compare-table td { border-bottom: none; padding: 10px 20px; }
  .compare-table td.col-area { width: 100%; padding-top: 18px; padding-bottom: 4px; }
  .compare-table td.col-us { background: transparent; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); margin-bottom: 4px; }
}

/* ---------------------------------------------------
   Bento: co zapewniamy
--------------------------------------------------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.bento-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--bg); display: flex; flex-direction: column; gap: 16px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.bento-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--red-soft); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1.3rem; }
.bento-card .h3 { margin-bottom: 4px; }
.bento-card p { color: var(--ink-muted); font-size: 0.92rem; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .bento-card { transition: none; } .bento-card:hover { transform: none; } }

/* ---------------------------------------------------
   Statement (prowizja) - red color-block, echoes
   onlyaura.pl's red "Wyniki" panel device
--------------------------------------------------- */
.statement { background: var(--red); }
.statement .wrap { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); }
.statement blockquote {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.05rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.32;
  max-width: 820px; color: #fff;
}
.statement cite { display: block; margin-top: 22px; font-style: normal; font-size: 0.94rem; color: rgba(255, 255, 255, 0.78); }

/* ---------------------------------------------------
   Formularz
--------------------------------------------------- */
.apply { background: var(--bg-soft); }
.apply-panel { max-width: 620px; margin: 0 auto; background: var(--bg); border: 1px solid var(--border); border-radius: 22px; padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow); }
.apply-panel .section-head { margin: 0 0 32px; max-width: none; text-align: center; }
.apply-panel .section-head .lede { margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.field .optional { color: var(--ink-faint); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--ink); font-family: inherit; font-size: 0.98rem; transition: border-color 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.consent label { font-size: 0.86rem; color: var(--ink-muted); line-height: 1.5; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.apply-divider { display: flex; align-items: center; gap: 14px; margin: 28px 0; color: var(--ink-faint); font-size: 0.84rem; }
.apply-divider::before, .apply-divider::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.notice { border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.92rem; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.notice-ok { background: var(--red-soft); color: var(--red-dark); border: 1px solid rgba(201, 12, 12, 0.25); }
.notice-error { background: #fdeeee; color: #a10a0a; border: 1px solid rgba(201, 12, 12, 0.3); }

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 48px; padding-bottom: 40px; }
.footer-top { display: flex; flex-direction: column; gap: 28px; margin-bottom: 32px; }
@media (min-width: 720px) { .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-brand p { color: var(--ink-muted); font-size: 0.9rem; max-width: 38ch; margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--ink-muted); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--red); }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--ink-faint); font-size: 0.82rem; }
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------------------------------------------------
   Scroll reveal
--------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .reveal-stagger.is-visible { transition-delay: calc(var(--i, 0) * 90ms); }
}

/* ---------------------------------------------------
   Simple page template (privacy policy)
--------------------------------------------------- */
.simple-page { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(64px, 10vw, 120px); }
.simple-page .wrap { max-width: 780px; }
.simple-page h1 { margin-bottom: 32px; }
.simple-page h2 { font-family: "Montserrat", sans-serif; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; margin-top: 40px; margin-bottom: 14px; }
.simple-page p, .simple-page li { color: var(--ink-muted); font-size: 0.98rem; line-height: 1.7; margin-bottom: 14px; }
.simple-page ul { padding-left: 20px; list-style: disc; }
.simple-page a { color: var(--red); text-decoration: underline; }
