/* =========================================================
 * BASE STYLES
============================================================ */

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

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

body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* =========================================================
 * TYPOGRAPHY
============================================================ */

h1 {
  width: 100%;
  cursor: default;
  color: #fff;
  margin-bottom: 80px;
  text-align: left;
  font-size: calc(0.6vw + 26px);
}

h1 strong {
  font-weight: 800;
  color: #ed1845;
}

h2 {
  margin: 0.5em 0;
  color: #fff;
  font-size: calc(0.6vw + 26px);
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

h2 strong,
h2 a {
  font-weight: 800;
  color: #ed1845;
}

h2.large {
  font-size: calc(0.6vw + 36px);
}

p {
  margin: 0.2em 0;
  color: #fff;
  font-size: calc(0.5vw + 13px);
  font-weight: 400;
  line-height: 1.2;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}

p + p {
  margin-top: 1.2em;
}

li {
  list-style: none;
  margin: 0.65em 0;
  padding-left: 1.65em;
  background-image: url(../img/check.png);
  background-position: center left;
  background-repeat: no-repeat;
  background-size: auto 60%;
  color: #fff;
  font-size: calc(0.5vw + 13px);
  font-weight: 400;
  line-height: 1.2;
  font-family: "Open Sans", sans-serif;
}

ul.large li {
  font-size: calc(0.8vw + 13px);
}

label {
  margin: 0.2em 0;
  color: #fff;
  font-size: calc(0.6vw + 12px);
  font-weight: 400;
  line-height: 1.2;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #fff;
}

img {
  max-width: 100%;
}


/* =========================================================
 * HEADER
============================================================ */

nav {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5vh 8vw;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

nav ul {
  margin: 0;
  list-style-type: none;
}

.logo-header {
  width: 150px;
}


/* =========================================================
 * LAYOUT
============================================================ */

.row {
  display: flex;
}

.col {
  width: 100%;
  padding: 0 4vw;
}

ul {
  margin: 0;
  padding: 0;
}

input {
  outline: none;
  width: 100%;
  color: #fff;
  margin: 0.5vw 0;
  padding: 1vw;
  border: 3px solid #fff;
  background-color: transparent;
  font-weight: bold;
  font-size: calc(0.35vw + 16px);
  font-family: "Montserrat", sans-serif;
}

select {
  appearance: none;
  outline: none;
  width: 100%;
  color: #fff;
  margin: 0.5vw 0;
  padding: 1vw;
  border: 3px solid #fff;
  background-color: transparent;
  font-weight: bold;
  font-size: calc(0.35vw + 16px);
  font-family: "Montserrat", sans-serif;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

option {
  background-color: #000;
}

select:invalid {
  color: rgba(255, 255, 255, 0.5);
}

button[type="submit"] {
  position: relative;
  outline: none;
  color: #fff;
  margin: 0.5vw 0;
  padding: 1vw;
  border: 3px solid #fff;
  background-color: transparent;
  font-weight: bold;
  font-size: calc(0.35vw + 16px);
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

button[type="submit"]:hover {
  color: #000;
  background-color: #fff;
}

button[type="submit"]:hover .loading-circle:after {
  border-top-color: #000;
  border-bottom-color: #000;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 0.1em;
  display: inline-block;
}

 label {
  display: inline-block;
  margin-right: 1em;
  cursor: pointer;
}

section {
  position: relative;
  width: 100%;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .row {
    flex-direction: column;
  }

  .col {
    padding: 15vw 4vw;
  }

  input {
    margin: 1vw 0;
    padding: 3vw;
  }

  select {
    margin: 1vw 0;
    padding: 3vw;
  }
  
  button[type="submit"] {
    margin: 1vw 0;
    padding: 3vw;
  }
}


/* =========================================================
 * SECTION - HOME
============================================================ */

section#home {
  height: 120vh;
  padding: 8vh 8vw 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: #222;
  background: radial-gradient(circle, #444 0%, #222 100%);
}

.lang-switch {
  text-transform: uppercase;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  font-size: calc(0.2vw + 13px);
  text-decoration: none;
}

.browser-phone {
  position: relative;
  display: flex;
  width: 100%;
  flex-grow: 1;
  flex-direction: row;
  align-items: flex-end;
}

.browser.desktop-listing {
  margin-right: 5vw;
}

.phone.mobile-listing {
  position: absolute;
  bottom: -16vh;
  right: 0;
  width: 40vw;
  max-width: 550px;
}

.phone.mobile-listing .phone-iframe {
  height: 75%;
}

.phone.mobile-listing img {
  max-height: 120vh;
}

@media screen and (max-width: 100vh) {
  section#home {
    height: 120vw;
    min-height: 100vw;
  }
}

@media screen and (max-width: 100vh) {
  .browser.desktop-listing {
    position: absolute;
    width: 200%;
    height: 200%;
    margin: 0;
    transform: scale(0.5) translate3d(0, 0, 10px);
    transform-origin: bottom left;
  }

  .phone.mobile-listing {
    max-width: 84vw;
    bottom: -14.5vw;
    right: 0;
    transform: scale(0.5);
    transform-origin: bottom right;
  }
}

@media screen and (max-width: 768px) {
  .browser.desktop-listing {
    position: absolute;
    width: 400%;
    height: 400%;
    margin: 0;
    transform: scale(0.25) translate3d(0, 0, 10px);
    transform-origin: bottom left;
  }

  .phone.mobile-listing {
    max-width: 84vw;
    bottom: -14.5vw;
    right: 0;
    transform: scale(0.5);
    transform-origin: bottom right;
  }
}


/* =========================================================
 * SECTION - SELLING POINTS
============================================================ */

section#selling-points {
  padding: 0 4vw;
  background: linear-gradient(to top, #ff6600 0%, #f78b1d 100%);
}

.selling-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.selling-point-icon {
  max-width: 35vw;
}

.selling-point h2 strong {
  color: #fff;
}

.selling-point:nth-child(2) {
  background-color: rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 1024px) {
  section#selling-points {
    padding: 4vw 0;
  }
}


/* =========================================================
 * SECTION - HOW IT WORKS
============================================================ */

section#how-it-works {
  min-height: 0;
  padding: 8vw 15vw 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

section#how-it-works h2 {
  text-align: center;
}

.before-after {
  display: flex;
  position: relative;
  width: 100%;
  margin: 4vw 0;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
}

.before-after:before {
  content: "";
  position: absolute;
  width: 100vw;
  height: calc(100% - 4vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  opacity: 0.05;
}

.before-after:after {
  content: "";
  position: absolute;
  width: 3vw;
  height: 2vw;
  top: 50%;
  left: 50%;
  margin-left: -1vw;
  transform: translate(-50%, -50%);
  background-image: url("../img/right-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.before {
  width: 100%;
  padding: 2vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.after {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3vw;
  margin-left: 5vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background-color: #222;
  border-radius: 1.5vw;
}

.image-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #555;
  margin-bottom: 1vw;
}

.image-container img,
.image-container video,
.image-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.image-container iframe {
  width: 100%;
  height: 100%;
}

.technical-specs {
  opacity: 0.3;
  margin-top: 1em;
}

@media screen and (max-width: 1024px) {
  section#how-it-works {
    min-height: 0;
    padding: 8vw 8vw 0;
  }

  .before-after {
    margin: 15vw 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .before-after:before {
    display: none;
  }

  .after {
    margin-left: 0;
    margin-top: 60px;
  }
}


/* =========================================================
 * SECTION - HOW IT WORKS
============================================================ */

section#how-it-works h2.large {
  display: block;
}

section#how-it-works h2.large strong {
  font-size: calc(3vw + 40px);
}

body.fr section#how-it-works h2.large strong {
  font-size: calc(1.8vw + 40px);
}

.fine-prints {
  position: absolute;
  bottom: 20px;
  left: 8vw;
  color: #fff;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
}


/* =========================================================
 * SECTION - VIDEO
============================================================ */

section#video {
  flex-direction: column;
  padding: 8vw;
  min-height: 0;
  background-color: #000;
}


/* =========================================================
 * SECTION - APP
============================================================ */

section#app {
  min-height: 80vh;
  padding: 8vw;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle, #444 0%, #222 100%);
}

section#app h2 {
  margin-bottom: 3vw;
  text-align: left;
  font-weight: bold;
  color: #fff;
}

section#app h2 b {
  color: #ed1845;
  font-weight: 900;
}

section#app h2 strong {
  display: block;
  color: #fff;
  font-size: calc(3vw + 40px);
}

section#app h2 strong small {
  position: relative;
  top: -0.8em;
  color: #fff;
  vertical-align: super;
  font-size: calc(0.6vw + 16px);
}

section#app .phones {
  position: absolute;
  bottom: -6.8vh;
  right: 8vw;
  max-width: 40%;
}

.phone.motion-capture img {
  max-height: 65vh;
}

.phone.motion-gallery {
  position: relative;
  top: 7.5vh;
  margin-left: -3vh;
}

.phone.motion-gallery img {
  max-height: 85vh;
}

@media screen and (max-width: 1024px) {
  section#app {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .fine-prints {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 1em;
  }

  section#app .phones {
    position: relative;
    bottom: 0;
    right: 0;
    margin-bottom: -15.8vw;
    max-width: 100%;
  }
}


/* =========================================================
 * SECTION - CONTACT
============================================================ */

section#contact {
  align-items: flex-start;
  flex-direction: column;
  padding: 8vw 8vw 15vw;
  min-height: 0;
  background-color: #000;
}

section#contact h2,
section#contact p {
  text-align: left;
}

section#contact h2 {
  font-weight: bold;
}

section#contact h2 strong {
  display: block;
  font-size: calc(3vw + 40px);
}

body.fr section#contact h2 strong {
  display: block;
  font-size: calc(1.8vw + 40px);
}

section#contact .col {
  width: 40%;
  padding: 0;
}

section#contact .col:last-child {
  margin-left: 5vw;
  width: 60%;
}

section#contact .contact-form .row {
  width: 100%;
  align-items: flex-start;
}

section#contact .contact-form .col {
  width: 100%;
  padding: 0;
}

section#contact .contact-form .col:last-child {
  margin-left: 1vw;
  width: auto;
}

.form-section-title {
  display: block;
  font-size: calc(0.35vw + 16px);
  font-weight: bold;
  margin-top: 1vw;
  margin-bottom: 1vw;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.checkbox-wrapper {
  display: inline-block;
}

.error {
  color: #ed1845;
}

.success {
  color: #fff;
}

.loading .loading-circle {
  display: block;
}

.loading .submit-text {
  opacity: 0;
}

.loading-circle {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%,-50%);
}

.loading-circle:after {
  content: " ";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border-color: #fff transparent;
  border-style: solid;
  border-width: 3px;
  animation: loading 1.2s linear infinite;
}

@keyframes loading {
  0% {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(1turn)
  }
}

@media screen and (max-width: 1024px) {
  section#contact .col {
    width: 100%;
    padding: 0;
  }

  section#contact .col:last-child {
    width: 100%;
    margin: 8vw 0;
  }
}


/* =========================================================
 * BROWSER
============================================================ */

.browser {
  width: 100%;
  height: 100%;
  font-size: 0;
  overflow: hidden;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-size: contain;
  background-repeat: no-repeat;
}

.browser-header {
  width: 100%;
}

.browser-content {
  width: 100%;
}

.browser-iframe {
  width: 100%;
  height: 100%;
  overflow: hidden;
}


/* =========================================================
 * PHONES
============================================================ */

.phones {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
}

.phone {
  position: relative;
  overflow: hidden;
}

.phone-back {
  position: absolute;
  top: 51vh;
  right: 8vw;
  max-width: 400px;
  transform: translateX(-500px);
}

.phone-content {
  position: absolute;
  width: 88%;
  left: 6%;
  top: 12%;
}

.phone-iframe {
  position: absolute;
  width: 88%;
  height: 75%;
  left: 6%;
  top: 12%;
}


/* =========================================================
 * FOOTER
============================================================ */

.logo-footer {
  width: 100px;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

@media screen and (max-width: 1024px) {
  .logo-footer {
    position: absolute;
    bottom: 8vw;
    right: 8vw;
  }
}

