body {
  background: #0e1111;
  color: #f2f0ef;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.branding-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 20px 0;
}

.branding-logo {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.branding-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #f2f0ef;
  margin: 0;
  letter-spacing: 2px;
}

.motion-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.video-container video {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(49,133,252,0.15);
  background: #222;
  outline: none;
  transition: box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.video-container video:hover {
  box-shadow: 0 16px 48px rgba(49,133,252,0.25);
  transform: scale(1.03);
}

.branding-footer {
  text-align: center;
  padding: 30px 0 20px 0;
  color: #f2f0ef;
  font-size: 1em;
  background: none;
}

.motion-header-white {
  background: #fff;
  padding: 100px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.motion-logo-black {
  width: 120px;
  height: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(0);
}

.motion-title-black {
  font-size: 2.7em;
  font-weight: bold;
  color: #3185FC;
  margin: 0;
  letter-spacing: 2px;
  background: #fff;
  padding: 0 16px 8px 16px;
  border-radius: 8px;
  animation: h1Float 3.5s cubic-bezier(0.4,0,0.2,1) infinite alternate;
}

.motion-title-black span {
  display: inline-block;
  animation: floatLetter 2.2s cubic-bezier(0.4,0,0.2,1) infinite alternate;
}
.motion-title-black span:nth-child(2) { animation-delay: 0.1s; }
.motion-title-black span:nth-child(3) { animation-delay: 0.2s; }
.motion-title-black span:nth-child(4) { animation-delay: 0.3s; }
.motion-title-black span:nth-child(5) { animation-delay: 0.4s; }
.motion-title-black span:nth-child(6) { animation-delay: 0.5s; }
.motion-title-black span:nth-child(7) { animation-delay: 0.6s; }
.motion-title-black span:nth-child(8) { animation-delay: 0.7s; }
.motion-title-black span:nth-child(9) { animation-delay: 0.8s; }
.motion-title-black span:nth-child(10) { animation-delay: 0.9s; }
.motion-title-black span:nth-child(11) { animation-delay: 1.0s; }
.motion-title-black span:nth-child(12) { animation-delay: 1.1s; }
.motion-title-black span:nth-child(13) { animation-delay: 1.2s; }
.motion-title-black span:nth-child(14) { animation-delay: 1.3s; }
.motion-title-black span:nth-child(15) { animation-delay: 1.4s; }
.motion-title-black span:nth-child(16) { animation-delay: 1.5s; }
.motion-title-black span:nth-child(17) { animation-delay: 1.6s; }

@keyframes h1Float {
  0% {
    transform: translateY(0) scale(1);
    text-shadow: 0 2px 12px rgba(49,133,252,0.10);
  }
  50% {
    transform: translateY(-10px) scale(1.03);
    text-shadow: 0 8px 24px rgba(49,133,252,0.18);
  }
  100% {
    transform: translateY(0) scale(1);
    text-shadow: 0 2px 12px rgba(49,133,252,0.10);
  }
}

@keyframes floatLetter {
  0% {
    transform: translateY(0);
    text-shadow: 0 2px 12px rgba(49,133,252,0.10);
  }
  100% {
    transform: translateY(-14px);
    text-shadow: 0 8px 24px rgba(49,133,252,0.18);
  }
}

@media (max-width: 900px) {
  .video-container {
    flex-direction: column;
    gap: 24px;
    padding: 20px 5vw;
  }
  .video-container video {
    max-width: 100vw;
    max-height: 40vh;
  }
  .branding-title {
    font-size: 2em;
  }
  .motion-header-white {
    padding: 36px 0 24px 0;
  }
  .motion-title-black {
    font-size: 2em;
    padding: 0 8px 6px 8px;
  }
  .motion-logo-black {
    margin-bottom: 16px;
  }
}
