:root {
  --bg-0: #0f2354;
  --bg-1: #16317a;
  --bg-2: #1c3a8f;
  --line: #2c4a9e;
  --mint: #3ddc97;
  --mint-dim: #2a9d6f;
  --gold: #e8b86d;
  --text-0: #ffffff;
  --text-1: #c7d3f0;
  --text-2: #8fa0d6;
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-0);
  color: var(--text-0);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: "Inter";
  src: local("Inter");
}

.display {
  font-family: "Söhne", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* background ambient grid */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(ellipse 700px 500px at 20% 0%, rgba(61, 220, 151, 0.1), transparent 60%),
    radial-gradient(ellipse 600px 600px at 100% 20%, rgba(232, 184, 109, 0.06), transparent 60%);
  background-color: var(--bg-0);
  background-image:
    linear-gradient(180deg, #0a1a40 0%, #16317a 55%, #1c3a8f 100%),
    radial-gradient(ellipse 700px 500px at 20% 0%, rgba(61, 220, 151, 0.08), transparent 60%);
  background-blend-mode: normal;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(61, 220, 151, 0.3);
  background: rgba(61, 220, 151, 0.07);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

h1 {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.2;
  margin-bottom: 22px;
  font-weight: 800;
}

h1 .accent {
  color: var(--text-0);
}

.hero-sub {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-0);
  max-width: 620px;
  margin: 0 auto 8px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mint);
  color: #06140e;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 8px 24px rgba(61, 220, 151, 0.25);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(61, 220, 151, 0.35);
}

/* VIDEO SECTION */
.video-section {
  padding: 24px 0 44px;
}

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-1);
  aspect-ratio: 16/9;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
}

.video-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
}

.watch-progress-wrap {
  margin-top: 18px;
}

.watch-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin-bottom: 8px;
}

.watch-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--mint);
  transition: width 0.3s ease;
}

.watch-progress-label {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-1);
}

.watch-progress-wrap.unlocked .watch-progress-label {
  color: var(--mint);
}

/* SECTION DIVIDER */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* QUIZ SECTION */
.quiz-section {
  padding: 44px 0 100px;
}

.quiz-head {
  text-align: center;
  margin-bottom: 48px;
}

.quiz-head h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 12px;
  color: var(--text-0);
}

.quiz-head p {
  color: var(--text-1);
  font-size: 16px;
}

.quiz-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.quiz-card.locked .quiz-content-inner {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.quiz-lock-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(2px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 24px;
}

.quiz-card.locked .quiz-lock-overlay {
  display: flex;
}

.quiz-lock-overlay p {
  color: #0f2354;
  font-weight: 600;
  font-size: 15px;
  max-width: 260px;
}

.progress-track {
  display: flex;
  gap: 6px;
  margin-bottom: 36px;
}

.progress-seg {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}

.progress-seg.done .progress-fill {
  width: 100%;
}

.progress-seg.active .progress-fill {
  width: 100%;
  transition: width 0.4s ease;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--mint);
}

.step-label {
  font-size: 13px;
  color: var(--mint-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.question {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 32px;
  max-width: 520px;
  color: #0f2354;
}

.options {
  display: grid;
  gap: 12px;
}

.option-btn {
  text-align: left;
  width: 100%;
  background: #f4f7ff;
  border: 1px solid #e1e8fa;
  color: #0f2354;
  font-size: 16px;
  font-family: inherit;
  padding: 18px 22px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.1s ease;
}

.option-btn:hover {
  border-color: var(--mint-dim);
  background: rgba(61, 220, 151, 0.08);
  transform: translateX(2px);
}

.option-btn .arrow {
  color: #9aa8cc;
  transition:
    transform 0.15s ease,
    color 0.15s ease;
}

.option-btn:hover .arrow {
  color: var(--mint-dim);
  transform: translateX(4px);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* THANK YOU / LEAD FORM STEP */
.thanks-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(61, 220, 151, 0.12);
  border: 1px solid rgba(61, 220, 151, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  gap: 14px;
  max-width: 440px;
  margin-top: 28px;
}

.form-grid input {
  background: #f4f7ff;
  border: 1px solid #e1e8fa;
  color: #0f2354;
  font-size: 15px;
  font-family: inherit;
  padding: 15px 18px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-grid input::placeholder {
  color: #9aa8cc;
}

.form-grid input:focus {
  border-color: var(--mint-dim);
}

.submit-btn {
  margin-top: 6px;
  background: var(--mint);
  color: #06140e;
  font-weight: 700;
  font-size: 16px;
  padding: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.submit-btn:hover {
  opacity: 0.92;
}

.disclaimer {
  font-size: 12.5px;
  color: #7a89b5;
  margin-top: 16px;
  max-width: 440px;
  line-height: 1.5;
}

.success-screen {
  text-align: center;
  padding: 24px 0;
}

.success-screen h3 {
  font-size: 24px;
  margin: 18px 0 10px;
  color: #0f2354;
}

.success-screen p {
  color: #5b6b9e;
  max-width: 380px;
  margin: 0 auto;
}

footer {
  text-align: center;
  padding: 40px 0 60px;
  background-color: #fff;
}

/* HEADER */
.site-header {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 24px;
  position: relative;
  z-index: 10;
}

@media (max-width: 575px) {
  .site-header {
    padding: 4px 12px;
  }
}

.burger {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #3a4660;
  border-radius: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #0f2354;
  letter-spacing: -0.01em;
}

.header-spacer {
  width: 24px;
}

.header-strip {
  height: 6px;
  background: linear-gradient(90deg, var(--bg-1), var(--bg-2));
}

@media (max-width: 640px) {
  .quiz-card {
    padding: 28px 22px;
  }

  .hero {
    padding: 64px 0 0px;
  }
}

.govpl__logotype {
  background-image: url(./assets/Herb_Polski.svg);
  background-size: contain;
  background-repeat: no-repeat;
  color: #1b1b1b;
  text-decoration: none;
  height: 2rem;
  margin-top: 0.875rem;
  margin-bottom: 0.625rem;
  margin-left: 0.5rem;
  margin-right: 1rem;
  padding-left: 2.0625rem;
  padding-top: 0.25rem;
  font-size: 1.18125rem;
  transform: translateX(1rem);
  display: inline-block;
  display: flex;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}

.brand img {
  width: 132px;
}

.footer {
  border-top: solid #d5233f 0.1875rem;
}
footer .main-container {
  padding-top: 1.6em;
  padding-bottom: 2.50006em;
}
@media (min-width: 43.75rem) {
  footer .links {
    margin-bottom: 1em;
  }
}
@media (min-width: 43.75rem) {
  footer .creative-commons {
    margin-bottom: 3.125rem;
    width: 100%;
  }
}
@media (min-width: 43.75rem) {
  footer .links .logo {
    clear: none;
    flex: 0 0 30em;
    order: 2;
    text-align: right;
    margin-bottom: 1em;
  }
}
footer .links .logo {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #1b1b1b;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1.6rem;
}
@media (min-width: 43.75rem) {
  footer .links ul li {
    margin-bottom: 1em;
    display: inline-block;
    margin-right: 1.25006em;
  }
}
footer .links ul li span {
  color: #1b1b1b;
  cursor: pointer;
}
@media (min-width: 43.75rem) {
  .video-section {
    padding: 24px 0 88px;
  }
  .quiz-section {
    padding: 88px 0 100px;
  }
}
