.onboarding {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: var(--ff-display);
  background: #000;
}


.onboarding__bg {
  position: absolute;
  inset: -10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.1);
  transition: transform 8s ease-out,
              background-image 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background-image;
  animation: subtleZoom 8s ease-out forwards;
}

@keyframes subtleZoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.05);
  }
}


.onboarding__overlay {
  position: absolute;
  inset: 0;
  transition: background 1s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}


.onboarding__logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 48px 32px 0;
  pointer-events: none;
}

.onboarding__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--c-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.onboarding__logo-letter {
  font-size: 22px;
  font-weight: 800;
  color: #000;
  line-height: 1;
}

.onboarding__wordmark {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1;
}

.onboarding__wordmark em {
  font-style: normal;
  color: var(--c-accent);
}


.onboarding__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 32px 40px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease,
              transform 0.35s ease;
}

.onboarding__content.in {
  opacity: 1;
  transform: translateY(0);
}

.onboarding__content.out {
  opacity: 0;
  transform: translateY(8px);
  transition-duration: 0.2s;
}


.onboarding__text-group {
  margin-bottom: 32px;
}


.onboarding__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}


.onboarding__title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 12px;
  white-space: pre-line;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}


.onboarding__body {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
}


.onboarding__controls {
  width: 100%;
}


.onboarding__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.onboarding__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}

.cta--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cta--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}


.dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.dot.active {
  width: 28px;
  background: var(--c-accent);
}

.dot:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}


.cta {
  width: 100%;
  padding: 16px 24px;
  background: var(--c-accent);
  color: #000;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.cta span {
  position: relative;
  z-index: 1;
}

.cta svg {
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta:hover svg {
  transform: translateX(4px);
}

.cta:active {
  transform: scale(0.98) translateY(0);
}

.cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}


@media (min-width: 768px) {
  .onboarding__logo {
    padding: 56px 48px 0;
  }

  .onboarding__logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .onboarding__logo-letter {
    font-size: 24px;
  }

  .onboarding__wordmark {
    font-size: 24px;
  }
  
  .onboarding__content {
    padding: 0 48px 48px;
  }
  
  .onboarding__text-group {
    max-width: 520px;
  }
  
  .onboarding__tag {
    font-size: 13px;
    padding: 7px 18px;
  }
  
  .onboarding__title {
    font-size: 36px;
    font-weight: 800;
  }
  
  .onboarding__body {
    font-size: 17px;
    max-width: 90%;
  }
  
  .cta {
    width: auto;
    min-width: 200px;
    padding: 16px 32px;
  }
  
  .onboarding__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .onboarding__dots {
    margin-bottom: 0;
  }
}


@media (min-width: 1024px) {
  .onboarding__logo {
    padding: 64px 64px 0;
  }
  
  .onboarding__content {
    padding: 0 64px 56px;
  }
  
  .onboarding__text-group {
    max-width: 560px;
  }
  
  .onboarding__title {
    font-size: 38px;
  }
  
  .cta {
    min-width: 220px;
    padding: 18px 36px;
    font-size: 17px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .onboarding__bg {
    animation: none;
    transition: background-image 0.3s ease;
  }
  
  .onboarding__overlay {
    transition: background 0.3s ease;
  }
  
  .onboarding__content,
  .onboarding__content.in,
  .onboarding__content.out {
    transition: opacity 0.15s ease;
  }
  
  .cta:hover svg {
    transform: none;
  }
}
.onboarding__buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.onboarding__buttons .cta {
  width: auto;
  min-width: 150px;
  padding: 18px 28px;
  font-size: 16px;
  white-space: nowrap;
  border-radius: 14px;
}

.cta--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}