:root {
  --purple: #5f2ffe;
  --blue: #00bcf1;
  --dark: #25282a;
  --card-width: 402px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #151515;
  font-family: "Poppins", Arial, sans-serif;
}

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

button {
  border: 0;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}

.lp {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background: #fff;
  color: #000;
}

.topbar {
  align-items: center;
  background: linear-gradient(180deg, rgba(47, 0, 201, 0.6) 0%, rgba(47, 0, 201, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  display: flex;
  justify-content: space-between;
  left: 50%;
  max-width: none;
  padding: 20px 10px 28px 20px;
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 10;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, padding 220ms ease, backdrop-filter 220ms ease;
}

.topbar::before {
  content: "";
  inset: 0;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity 220ms ease;
  width: 100vw;
  z-index: -1;
}

.topbar.is-scrolled {
  background: linear-gradient(180deg, rgba(47, 0, 201, 0.86) 0%, rgba(47, 0, 201, 0.56) 100%);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  padding-bottom: 14px;
  padding-top: 14px;
}

.topbar.is-scrolled::before {
  opacity: 0;
}

.brand {
  display: block;
  height: 44px;
  width: 138px;
}

.vcard {
  align-items: center;
  background: #637aea;
  border-radius: 40px;
  color: #fff;
  display: flex;
  font-size: 16px;
  gap: 5px;
  line-height: 1.3;
  padding: 10px 15px 10px 12px;
  white-space: nowrap;
}

.vcard img {
  height: 24px;
  width: 24px;
}

.hero {
  background: var(--purple);
  height: 619px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-video {
  height: 631px;
  left: -485px;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  position: absolute;
  top: -35px;
  width: 1202px;
}

.hero-copy {
  left: 20px;
  position: absolute;
  top: 327px;
  z-index: 2;
}

h1,
h2,
p {
  margin: 0;
}

.hero h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  color: #4fc7d9;
}

.primary-btn {
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 0 7px #2900b0;
  color: var(--purple);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 50px;
  padding: 14px 24px;
  white-space: nowrap;
}

.primary-btn,
.vcard,
.map-btn,
.play,
.actions button,
.demo-submit,
.demo-modal__close,
.video-modal__close {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.primary-btn:hover,
.vcard:hover,
.map-btn:hover,
.play:hover,
.actions button:hover,
.demo-submit:hover,
.demo-modal__close:hover,
.video-modal__close:hover {
  filter: brightness(1.04);
  transform: translateY(-2px) scale(1.015);
}

.primary-btn:active,
.vcard:active,
.map-btn:active,
.play:active,
.actions button:active,
.demo-submit:active,
.demo-modal__close:active,
.video-modal__close:active,
.is-active {
  filter: brightness(0.96);
  transform: translateY(1px) scale(0.985);
}

.logo-strip {
  align-items: center;
  background: var(--dark);
  display: flex;
  gap: 30px;
  height: 165px;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.logo-track {
  animation: logoMarquee 26s linear infinite;
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  min-width: max-content;
  opacity: 0.5;
}

.logo-track img {
  display: block;
  height: 42px;
  max-height: 46px;
  max-width: 208px;
  object-fit: contain;
  width: auto;
}

@keyframes logoMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 30px));
  }
}

.assistant-card {
  background: var(--purple);
  border-radius: 50px;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
  height: 456px;
  margin: 34px auto 30px;
  overflow: visible;
  position: relative;
  width: calc(100% - 40px);
}

.spark {
  height: 91px;
  position: absolute;
  right: 0;
  top: -34px;
  width: 91px;
  z-index: 3;
}

.orb {
  background: rgba(141, 89, 255, 0.86);
  border-radius: 999px;
  position: absolute;
  z-index: 1;
}

.orb-large {
  height: 204px;
  right: -42px;
  top: -42px;
  width: 204px;
}

.orb-small {
  bottom: -37px;
  height: 116px;
  right: 36px;
  width: 116px;
}

.card-content {
  color: #fff;
  padding: 30px 24px;
  position: relative;
  z-index: 4;
}

.eyebrow {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.assistant-card h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.body-copy {
  font-size: 20px;
  line-height: 1.4;
  margin-top: 20px;
  width: 312px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 50px;
}

.actions button {
  align-items: center;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 0 7px #2900b0;
  display: flex;
  font-size: 18px;
  gap: 8px;
  height: 51px;
  line-height: 1.3;
  padding: 8px 18px 8px 8px;
  width: 215px;
}

.actions img {
  height: 35px;
  width: 35px;
}

.demo-video {
  background: #000;
  height: 490px;
  position: relative;
}

.technology-video {
  display: block;
  height: 100%;
  inset: 0;
  opacity: 0.7;
  position: absolute;
  width: 100%;
}

.technology-video img,
.technology-video iframe {
  border: 0;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.demo-video::after {
  background: rgba(0, 0, 0, 0.15);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.demo-copy {
  color: #fff;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  z-index: 2;
}

.demo-copy h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.booth-line {
  align-items: flex-end;
  display: flex;
  justify-content: center;
  margin-top: -2px;
}

.booth-line img {
  height: auto;
  max-height: 62px;
  object-fit: contain;
  width: 213px;
}

.booth-line span {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin-left: -4px;
  white-space: nowrap;
}

.demo-copy p {
  font-size: 20px;
  line-height: 1.3;
}

.play {
  background: transparent;
  cursor: pointer;
  display: block;
  height: 80px;
  margin: 10px auto 0;
  padding: 0;
  width: 80px;
}

.play img {
  height: 100%;
  width: 100%;
}

.video-map-btn {
  margin-top: 14px;
}

.video-modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 100;
}

.demo-modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 110;
}

.demo-modal.is-open {
  align-items: center;
  display: flex;
  justify-content: center;
}

.demo-modal__backdrop {
  background: rgba(0, 0, 0, 0.86);
  inset: 0;
  position: absolute;
}

.demo-modal__wrap {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 402px;
  padding: 0 10px;
  position: relative;
  width: min(100vw, 402px);
  z-index: 1;
}

.demo-modal__close {
  background: transparent;
  cursor: pointer;
  height: 40px;
  padding: 0;
  width: 40px;
}

.demo-modal__close img {
  display: block;
  height: 100%;
  width: 100%;
}

.demo-form {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4), 0 22px 80px rgba(0, 255, 255, 0.25);
  padding: 0;
  width: 100%;
}

.demo-form__panel {
  padding: 30px 20px;
  width: 100%;
}

.demo-form__panel--form {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-form__panel--thanks {
  align-items: center;
  display: none;
  flex-direction: column;
  gap: 30px;
  min-height: 360px;
  justify-content: center;
}

.demo-form.is-thanks .demo-form__panel--form {
  display: none;
}

.demo-form.is-thanks .demo-form__panel--thanks {
  display: flex;
}

.demo-form__copy {
  line-height: 1.3;
  width: 100%;
}

.demo-form__copy h2 {
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.demo-form__copy p {
  color: #000;
  font-size: 16px;
  line-height: 1.3;
  margin-top: 6px;
}

.demo-field {
  height: 61px;
  position: relative;
  width: 100%;
}

.demo-field input {
  background: #fff;
  border: 1px solid var(--purple);
  border-radius: 20px;
  color: #000;
  font: 400 16px/1.3 "Poppins", Arial, sans-serif;
  height: 100%;
  outline: none;
  padding: 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 100%;
}

.demo-field span {
  color: #676767;
  font-size: 16px;
  left: 20px;
  line-height: 1.3;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 180ms ease, font-size 180ms ease, color 180ms ease, background-color 180ms ease, padding 180ms ease;
}

.demo-field strong {
  color: #ba0000;
  font-weight: 400;
}

.demo-field input:focus {
  border-color: #00bcf1;
  box-shadow: 0 0 0 3px rgba(0, 188, 241, 0.16);
}

.demo-field input:focus + span,
.demo-field input:not(:placeholder-shown) + span {
  background: #fff;
  color: var(--purple);
  font-size: 12px;
  padding: 0 6px;
  transform: translate(-6px, -38px);
}

.demo-submit {
  background: var(--purple);
  border-radius: 40px;
  box-shadow: 0 0 7px rgba(0, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  padding: 14px 24px;
  white-space: nowrap;
}

.thanks-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  width: 100%;
}

.thanks-spark {
  height: 91px;
  width: 91px;
}

.thanks-content h2 {
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 288px;
}

.thanks-content p {
  color: #000;
  font-size: 16px;
  line-height: 1.3;
  width: 100%;
}

.thanks-close {
  background: #fff;
  border: 1px solid var(--purple);
  border-radius: 40px;
  box-shadow: 0 0 7px rgba(0, 255, 255, 0.2);
  color: var(--purple);
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  padding: 14px 24px;
  position: relative;
  width: 180px;
}

.thanks-close::before {
  background: var(--purple);
  border-radius: 60px;
  content: "";
  inset: 0 100% 0 0;
  opacity: 0.2;
  position: absolute;
  transition: inset 220ms ease;
}

.thanks-close:hover::before {
  inset: 0;
}

.demo-modal.is-open .demo-modal__wrap,
.video-modal.is-open .video-modal__dialog {
  animation: modalIn 220ms ease-out both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.video-modal.is-open {
  align-items: center;
  display: flex;
  justify-content: center;
}

.video-modal__backdrop {
  background: rgba(0, 0, 0, 0.78);
  inset: 0;
  position: absolute;
}

.video-modal__dialog {
  background: #000;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
  max-width: 920px;
  position: relative;
  width: min(92vw, 920px);
  z-index: 1;
}

.video-modal__close {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: #000;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -14px;
  top: -14px;
  width: 40px;
  z-index: 2;
}

.video-modal__frame {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.video-modal__frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.video-fallback {
  align-items: center;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.video-fallback img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.45;
  position: absolute;
  width: 100%;
}

.video-fallback__content {
  padding: 28px;
  position: relative;
  z-index: 1;
}

.video-fallback__content a {
  align-items: center;
  background: #fff;
  border-radius: 40px;
  color: #000;
  display: inline-flex;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  padding: 12px 22px;
  transition: transform 180ms ease, filter 180ms ease;
}

.video-fallback__content a:hover {
  filter: brightness(1.05);
  transform: translateY(-2px) scale(1.015);
}

.video-fallback__play {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 14px;
  height: 30px;
  justify-content: center;
  line-height: 1;
  padding-left: 2px;
  width: 30px;
}

.visit {
  padding: 40px 30px;
}

.visit p {
  font-size: 20px;
  line-height: 1.4;
}

.map-btn {
  align-items: center;
  background: #000;
  border-radius: 40px;
  box-shadow: 0 0 7px rgba(0, 188, 241, 0.3);
  color: #fff;
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  gap: 8px;
  line-height: 1.3;
  margin-top: 20px;
  padding: 8px 25px 8px 10px;
}

.map-icon {
  align-items: center;
  display: flex;
  height: 39.6px;
  justify-content: center;
  transform: rotate(45deg);
  width: 39.6px;
}

.map-icon img {
  height: 28px;
  width: 28px;
}

.mini-logo {
  height: 16px;
  width: 100px;
}

footer {
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 30px 40px;
}

.footer-top,
.footer-bottom {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.footer-top {
  font-size: 16px;
  line-height: 1.4;
}

.footer-top img {
  height: 24px;
  width: 24px;
}

.linkedin-link {
  display: block;
  height: 24px;
  width: 24px;
}

.footer-bottom {
  font-size: 16px;
  line-height: 1.4;
  opacity: 0.5;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .vcard {
    font-size: 13px;
    padding-right: 12px;
  }

  .hero h1,
  .assistant-card h2,
  .demo-copy h2 {
    font-size: 34px;
  }

  .body-copy {
    width: 100%;
  }

  .booth-line img {
    width: 176px;
  }

  .booth-line span {
    font-size: 24px;
  }
}

@media (min-width: 768px) and (orientation: landscape) {
  :root {
    --card-width: 100vw;
  }

  body {
    background: #fff;
  }

  .lp {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    grid-template-areas:
      "hero hero"
      "logos logos"
      "assistant assistant"
      "video visit"
      "footer footer";
  }

  .topbar {
    padding-left: max(32px, calc((100vw - 1180px) / 2));
    padding-right: max(32px, calc((100vw - 1180px) / 2));
    width: 100vw;
  }

  .topbar.is-scrolled {
    padding-left: max(32px, calc((100vw - 1180px) / 2));
    padding-right: max(32px, calc((100vw - 1180px) / 2));
  }

  .hero {
    grid-area: hero;
    height: min(72vh, 656px);
    min-height: 520px;
  }

  .hero-video {
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 120%;
  }

  .hero-copy {
    left: max(56px, calc((100vw - 1180px) / 2));
    top: 38%;
    transform: translateY(-10%);
  }

  .hero h1 {
    font-size: clamp(44px, 5vw, 72px);
  }

  .primary-btn {
    margin-top: 32px;
  }

  .logo-strip {
    grid-area: logos;
  }

  .assistant-card {
    grid-area: assistant;
    height: 520px;
    justify-self: center;
    margin: 76px auto 72px;
    max-width: 860px;
    width: min(calc(100% - 96px), 860px);
  }

  .assistant-card .card-content {
    padding: 54px 64px;
  }

  .body-copy {
    max-width: 520px;
    width: 52%;
  }

  .actions {
    margin-top: 42px;
  }

  .assistant-card h2,
  .demo-copy h2 {
    font-size: 44px;
  }

  .demo-video {
    grid-area: video;
    height: 560px;
  }

  .visit {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    grid-area: visit;
    justify-content: center;
    padding: 56px 42px;
  }

  .visit p {
    font-size: 22px;
  }

  footer {
    grid-area: footer;
    padding-left: max(42px, calc((100vw - 1180px) / 2));
    padding-right: max(42px, calc((100vw - 1180px) / 2));
  }
}
