*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #1B2560;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #1B2560;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transform-origin: 60% center;
  animation: hero-zoom 24s ease-in-out infinite alternate;
  will-change: transform;
}

/* Powolne przybliżanie zdjęcia (efekt Ken Burns) */
@keyframes hero-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 37, 96, .55) 0%, rgba(27, 37, 96, 0) 28%, rgba(27, 37, 96, 0) 45%, rgba(27, 37, 96, .88) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 56px;
}

.hero__logo {
  align-self: flex-start;
  width: auto;
  height: 52px;
  filter: brightness(0) invert(1);
}

.hero__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  text-shadow: 0 2px 24px rgba(20, 30, 80, .35);

  @media (max-width: 760px) {
    br {
      display: none;
    }
  }
}

/* Szklany efekt — wspólny dla etykiety i drugiego przycisku */
.glass {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.badge {
  align-self: flex-start;
  margin: 0;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
}

/* Przyciski */
.btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 28px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(20, 30, 80, .25);
  transition: transform .25s, box-shadow .25s, background-color .25s;
}

.btn:hover,
.btn:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(20, 30, 80, .35);
}

.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.btn--primary {
  background: #742A85;
}

.btn--secondary {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(20, 30, 80, .15);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: rgba(255, 255, 255, .28);
}

.btn__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.btn__label {
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.3;
}

.btn__url {
  font-size: 14.5px;
  color: #EBD9F0;
}

.btn--secondary .btn__url {
  color: #E6F4FC;
}

.btn__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;

  @media (max-width: 760px) {
    width: 40px;
    height: 40px;
  }
}

.btn--primary .btn__icon {
  background: #fff;
  color: #742A85;
}

.btn--secondary .btn__icon {
  border: 2px solid #fff;
}

.btn__arrow {
  transition: transform .25s;
}

.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow {
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .hero__content {
    padding: 28px 20px 32px;
  }

  .btns {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg {
    animation: none;
  }

  .btn,
  .btn__arrow {
    transition: none;
  }

  .btn:hover,
  .btn:focus-visible,
  .btn:hover .btn__arrow,
  .btn:focus-visible .btn__arrow {
    transform: none;
  }
}
