/* Strona główna: hero (zdjęcie pod H1), pasek CTA rejestracji, karty narzędzi, sekcje korzyści */

.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); text-align: center;
  background: radial-gradient(1100px 380px at 50% -12%, var(--accent-soft), transparent 62%), var(--bg); }
.hero__eyebrow { display: inline-flex; margin-bottom: 1rem; }
.hero h1 { max-width: 20ch; margin: 0 auto .6em; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%); }

/* Hero z filmem YouTube (fasada → iframe po kliknięciu) */
.hero--video { padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.hero-video { position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #101114; }
.hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-video__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: clamp(.8rem, 2.5vw, 1.4rem);
  color: #fff; text-decoration: none; border-radius: inherit;
  background: radial-gradient(70% 60% at 50% 40%, rgba(254, 153, 35, .18), transparent 70%), #101114; }
.hero-video__logo { width: min(48vw, 340px); height: auto; }
.hero-video__icon { display: grid; place-items: center; width: clamp(56px, 9vw, 84px); aspect-ratio: 1; border-radius: 50%;
  background: #FE9923; color: #111; box-shadow: 0 8px 28px rgba(254, 153, 35, .35); transition: transform .2s ease, background-color .2s ease; }
.hero-video__icon svg { margin-left: 4px; }
.hero-video__label { font-family: var(--font-head); font-weight: 500; font-size: clamp(.95rem, .8rem + .5vw, 1.15rem); opacity: .9; }
.hero-video__play:hover .hero-video__icon, .hero-video__play:focus-visible .hero-video__icon { transform: scale(1.08); background: #E5841A; }
.hero-video__play:focus-visible { outline: 3px solid var(--focus); outline-offset: -6px; }
.hero-video__note { text-align: center; margin: .75rem auto 0; }
@media (prefers-reduced-motion: reduce) { .hero-video__icon { transition: none; } }

/* Zdjęcie bezpośrednio pod nagłówkiem H1 (poprzednia wersja hero — nieużywane) */
.hero__photo { position: relative; margin: 0 auto 1.75rem; max-width: 960px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #2B2F5B;
  container-type: inline-size; aspect-ratio: 16 / 8.4; }
.hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__photo-caption { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
/* Napis na zdjęciu — pokazuje efekt edytora: obrys, cień i podświetlenie */
.hero__photo-text { font-family: var(--font-head); font-weight: 700; font-size: 12cqw; line-height: 1; color: #fff; letter-spacing: -.01em;
  -webkit-text-stroke: .35cqw #15163A; paint-order: stroke fill; text-shadow: 0 .8cqw 2.2cqw rgba(21, 22, 58, .55);
  transform: rotate(-3deg); }
.hero__photo-text em { font-style: normal; color: var(--accent); }
.hero__photo-tag { position: absolute; left: 1.6cqw; bottom: 1.6cqw; background: rgba(17, 17, 17, .72); color: #fff;
  font-size: max(11px, 1.55cqw); padding: .35em .8em; border-radius: 999px; backdrop-filter: blur(4px); }

.hero__lead { margin: 0 auto 1.2rem; max-width: 40rem; font-size: 1.15rem; color: var(--muted); }
.hero__points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: center; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.hero__points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__points .icon { color: var(--accent-active); }
:root[data-theme="dark"] .hero__points .icon { color: var(--accent); }

/* Pasek CTA rejestracji — pod sekcją hero */
.cta-band { background: var(--accent); color: var(--on-accent); padding: clamp(1.8rem, 4vw, 2.8rem) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.cta-band h2 { color: var(--on-accent); margin: 0 0 .25em; font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); }
.cta-band p { margin: 0; max-width: 38rem; color: var(--on-accent); opacity: .92; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.cta-band .btn--dark { background: #111; color: #fff; border-color: #111; }
.cta-band .btn--dark:hover { background: #000; color: #fff; }
.cta-band .btn--outline { background: transparent; color: var(--on-accent); border-color: rgba(17, 17, 17, .55); }
.cta-band .btn--outline:hover { background: rgba(17, 17, 17, .08); border-color: #111; color: var(--on-accent); }
.cta-band__note { font-size: .85rem; opacity: .85; margin-top: .6rem; }
@media (max-width: 640px) { .cta-band__inner { flex-direction: column; align-items: stretch; text-align: center; } .cta-band__actions { justify-content: center; } }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto 2rem; }
.section-head p { color: var(--muted); }

.privacy-box { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; max-width: 54rem; margin: 0 auto; }
.privacy-box__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-active); }
:root[data-theme="dark"] .privacy-box__icon { color: var(--accent); }
@media (max-width: 560px) { .privacy-box { grid-template-columns: 1fr; } }
