body.is-intro-active {
  overflow: hidden;
}

body.is-intro-active .preview-screen {
  visibility: hidden;
}

body.is-preview-active .preview-screen {
  visibility: visible;
}

.preview-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  color: #fff;
  overflow-x: hidden;
}

.preview-screen__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 22, 68, 0.92) 0%,
      rgba(4, 22, 68, 0.55) 42%,
      rgba(4, 22, 68, 0.2) 100%
    ),
    url("../assets/photoes/background.webp") center / cover no-repeat;
}

.preview-screen__header {
  position: relative;
  z-index: 2;
  padding: 16px 16px 0;
}

.preview-screen__logo {
  display: block;
  width: 64px;
  height: auto;
  object-fit: contain;
}

.preview-screen__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  flex: 1;
  padding: 20px 16px 0px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-copy__header {
  flex-shrink: 0;
  margin-bottom: 16px;
}

.hero-embedded-quiz {
  flex: 1;
  min-height: 0;
  width: 100%;
}

@media (max-width: 1023px) {
  .hero-copy {
    padding: 20px 18px;
    border-radius: 16px;
    background: rgba(6, 28, 82, 0.58);
    border: 1px solid rgba(100, 160, 255, 0.18);
  }
}

.hero-copy__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 14px;
}

.hero-copy__title {
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-copy__title-accent {
  color: var(--accent-yellow);
}

.hero-copy__text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
  max-width: 36rem;
}

.hero-copy__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-copy__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

.hero-copy__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-yellow);
  flex-shrink: 0;
}

.hero-copy__cta {
  margin-bottom: 10px;
}

.hero-copy__note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  min-height: 54px;
  padding: 12px 20px 12px 24px;
  border-radius: 10px;
  background-color: var(--accent-yellow);
  background-image: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  background-position: 130% 0;
  animation: btn-cta-shine 4.5s ease-in-out infinite;
  color: #1a1a1a;
  font-weight: 900;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(251, 187, 0, 0.32);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.btn-cta__label {
  line-height: 1.2;
}

.btn-cta__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.btn-cta:hover:not(:disabled) {
  background-color: #ffd033;
  box-shadow:
    0 8px 32px rgba(251, 187, 0, 0.58),
    0 0 0 3px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-cta:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 16px rgba(251, 187, 0, 0.4);
}

@keyframes btn-cta-shine {
  0%,
  70% {
    background-position: 130% 0;
  }

  100% {
    background-position: -130% 0;
  }
}

.btn-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  overflow: visible;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(
    180deg,
    rgba(4, 22, 68, 0) 0%,
    rgba(4, 22, 68, 0.92) 30%
  );
}

.sticky-cta[hidden] {
  display: none;
}

.sticky-cta__btn {
  max-width: none;
  margin: 0 auto;
}

.land-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 8px 16px 24px;
}

.land-footer__text {
  color: rgba(255, 255, 255, 0.55);
}

.intro-layer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
}

.intro-layer.is-gone {
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0s 0.4s,
    opacity 0.4s ease;
}

.intro-layer__base {
  position: absolute;
  inset: 0;
  background: #fff;
  transition: opacity 0.5s ease;
}

.intro-layer.is-dissolving .intro-layer__base {
  opacity: 0;
}

.intro-clouds {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro-cloud {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  filter: blur(18px);
  opacity: 0.95;
}

.intro-cloud--1 {
  width: 55vw;
  height: 40vw;
  top: 8%;
  left: -10%;
}

.intro-cloud--2 {
  width: 50vw;
  height: 38vw;
  top: 20%;
  right: -12%;
}

.intro-cloud--3 {
  width: 70vw;
  height: 45vw;
  top: 38%;
  left: 15%;
}

.intro-cloud--4 {
  width: 48vw;
  height: 36vw;
  bottom: 18%;
  left: -8%;
}

.intro-cloud--5 {
  width: 52vw;
  height: 40vw;
  bottom: 10%;
  right: -10%;
}

.intro-cloud--6 {
  width: 80vw;
  height: 50vw;
  bottom: -15%;
  left: 10%;
}

.intro-layer.is-dissolving .intro-cloud--1 {
  animation: intro-cloud-drift 1.25s ease-in-out forwards;
  --tx: -18vw;
  --ty: -12vh;
}

.intro-layer.is-dissolving .intro-cloud--2 {
  animation: intro-cloud-drift 1.25s ease-in-out forwards;
  --tx: 20vw;
  --ty: -10vh;
}

.intro-layer.is-dissolving .intro-cloud--3 {
  animation: intro-cloud-drift 1.3s ease-in-out forwards;
  --tx: 0;
  --ty: -16vh;
}

.intro-layer.is-dissolving .intro-cloud--4 {
  animation: intro-cloud-drift 1.28s ease-in-out forwards;
  --tx: -16vw;
  --ty: 14vh;
}

.intro-layer.is-dissolving .intro-cloud--5 {
  animation: intro-cloud-drift 1.28s ease-in-out forwards;
  --tx: 18vw;
  --ty: 12vh;
}

.intro-layer.is-dissolving .intro-cloud--6 {
  animation: intro-cloud-drift 1.32s ease-in-out forwards;
  --tx: 0;
  --ty: 18vh;
}

@keyframes intro-cloud-drift {
  to {
    transform: translate(var(--tx), var(--ty)) scale(1.6);
    opacity: 0;
  }
}

.intro-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.intro-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-loader__ring {
  width: 38px;
  height: 38px;
  border: 3px solid #e8f1ff;
  border-top-color: var(--btn-primary);
  border-radius: 50%;
  animation: intro-spin 0.7s linear infinite;
}

@keyframes intro-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 1024px) {
  .preview-screen__header {
    padding: 20px 48px 0;
  }

  .preview-screen__logo {
    width: 88px;
  }

  .preview-screen__layout {
    display: grid;
    grid-template-columns: minmax(320px, 44%) minmax(0, 1fr);
    align-items: start;
    gap: 32px 36px;
    min-height: 0;
    padding: 32px 48px 24px;
  }

  .hero-copy {
    align-self: start;
    min-height: auto;
    justify-content: flex-start;
    max-width: 100%;
  }

  .hero-copy__header {
    margin-bottom: 20px;
  }

  .hero-copy__eyebrow {
    font-size: 0.875rem;
    margin-bottom: 14px;
  }

  .hero-copy__title {
    font-size: clamp(2.25rem, 3.2vw, 3.25rem);
    margin-bottom: 0;
  }

  .hero-copy__text {
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .hero-copy__badges {
    margin-bottom: 28px;
  }

  .hero-copy__badge {
    font-size: 0.8125rem;
    padding: 8px 14px;
  }

  .hero-copy__note {
    font-size: 0.875rem;
  }

  .btn-cta {
    max-width: 320px;
    min-height: 56px;
    font-size: 1rem;
    gap: 12px;
    padding: 12px 22px 12px 26px;
  }

  .btn-cta__icon {
    width: 32px;
    height: 32px;
  }

  .hero-showcase {
    min-height: auto;
  }

  .sticky-cta {
    display: none;
  }

  .land-footer {
    padding: 0 48px 24px;
  }
}

@media (min-width: 1600px) {
  .preview-screen__header {
    max-width: 1840px;
    margin-inline: auto;
    padding-inline: 64px;
  }

  .preview-screen__logo {
    width: 96px;
  }

  .preview-screen__layout {
    max-width: 1840px;
    margin-inline: auto;
    grid-template-columns: minmax(540px, 660px) minmax(0, 1fr);
    gap: 44px 64px;
    padding: 44px 64px 56px;
  }

  .hero-copy__eyebrow {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .hero-copy__title {
    font-size: 3.5rem;
    margin-bottom: 0;
  }

  .hero-copy__text {
    font-size: 1.25rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 36rem;
  }

  .hero-copy__badges {
    margin-bottom: 32px;
    gap: 12px;
  }

  .hero-copy__badge {
    font-size: 0.9375rem;
    padding: 10px 18px;
  }

  .hero-copy__note {
    font-size: 1rem;
  }

  .btn-cta {
    max-width: 440px;
    min-height: 64px;
    font-size: 1.125rem;
    border-radius: 12px;
    gap: 14px;
    padding: 14px 28px 14px 32px;
  }

  .btn-cta__icon {
    width: 36px;
    height: 36px;
  }

  .land-footer {
    max-width: 1840px;
    margin-inline: auto;
    padding-inline: 64px;
  }

  .land-footer__text {
    font-size: 0.8125rem;
  }
}

@media (min-width: 2000px) {
  .preview-screen__header {
    max-width: var(--layout-max);
    margin-inline: auto;
    padding: 28px 80px 0;
  }

  .preview-screen__logo {
    width: 120px;
  }

  .preview-screen__layout {
    max-width: var(--layout-max);
    margin-inline: auto;
    grid-template-columns: minmax(620px, 740px) minmax(0, 1fr);
    gap: 48px 80px;
    padding: 48px 80px 64px;
  }

  .hero-copy__eyebrow {
    font-size: 1.125rem;
    margin-bottom: 20px;
  }

  .hero-copy__title {
    font-size: 4.25rem;
    max-width: 12ch;
    margin-bottom: 0;
  }

  .hero-copy__text {
    font-size: 1.4375rem;
    max-width: 38rem;
    margin-bottom: 32px;
  }

  .hero-copy__badges {
    margin-bottom: 36px;
    gap: 14px;
  }

  .hero-copy__badge {
    font-size: 1.0625rem;
    padding: 11px 20px;
  }

  .hero-copy__badge-dot {
    width: 10px;
    height: 10px;
  }

  .hero-copy__note {
    font-size: 1.125rem;
  }

  .btn-cta {
    max-width: 480px;
    min-height: 72px;
    font-size: 1.3125rem;
    border-radius: 14px;
    gap: 16px;
    padding: 16px 32px 16px 36px;
  }

  .btn-cta__icon {
    width: 40px;
    height: 40px;
  }

  .land-footer {
    max-width: var(--layout-max);
    margin-inline: auto;
    padding: 0 80px 32px;
  }

  .land-footer__text {
    font-size: 0.875rem;
  }

  .preview-screen__bg {
    background:
      linear-gradient(
        90deg,
        rgba(4, 22, 68, 0.94) 0%,
        rgba(4, 22, 68, 0.58) 38%,
        rgba(4, 22, 68, 0.22) 58%,
        rgba(4, 22, 68, 0.35) 100%
      ),
      url("../assets/photoes/background.webp") center / cover no-repeat;
  }
}

@media (min-width: 2560px) {
  .preview-screen__header {
    max-width: var(--layout-max-xl);
    padding: 32px 96px 0;
  }

  .preview-screen__logo {
    width: 136px;
  }

  .preview-screen__layout {
    max-width: var(--layout-max-xl);
    grid-template-columns: minmax(700px, 860px) minmax(0, 1fr);
    gap: 56px 96px;
    padding: 56px 96px 72px;
  }

  .hero-copy__eyebrow {
    font-size: 1.25rem;
  }

  .hero-copy__title {
    font-size: 5rem;
    margin-bottom: 0;
  }

  .hero-copy__text {
    font-size: 1.625rem;
    max-width: 42rem;
    margin-bottom: 36px;
  }

  .hero-copy__badge {
    font-size: 1.1875rem;
    padding: 12px 22px;
  }

  .btn-cta {
    max-width: 520px;
    min-height: 80px;
    font-size: 1.4375rem;
    gap: 18px;
    padding: 18px 36px 18px 40px;
  }

  .btn-cta__icon {
    width: 44px;
    height: 44px;
  }

  .land-footer {
    max-width: var(--layout-max-xl);
    padding-inline: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta {
    animation: none;
    background-image: none;
  }

  .intro-loader__ring {
    animation: none;
  }

  .intro-layer.is-dissolving .intro-cloud {
    animation: none;
    opacity: 0;
  }

  .intro-layer.is-dissolving .intro-layer__base {
    opacity: 0;
    transition: none;
  }
}
