@font-face {
  font-family: 'Futura PT';
  src: url('assets/fonts/futura-pt-book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Futura PT Demi';
  src: url('assets/fonts/futura-pt-demi.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Futura PT';
  src: url('assets/fonts/futura-pt-bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Termina';
  src: url('assets/fonts/termina-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Termina Demi';
  src: url('assets/fonts/termina-demi.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Termina';
  src: url('assets/fonts/termina-demi.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Futura PT', sans-serif;
  font-size: 18px;
  color: #262626;
}

.logo {
  cursor: pointer;
}

.btn-primary {
  background-color: #3300CC;
  color: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 22px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  font-family: "Futura PT Demi";
  position: relative;
  top: 0;
  left: 0;
}

.btn-primary:hover {
  text-decoration: none;
  background-color: #260096;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 0 rgba(51, 0, 204, 0.2);
  transition: all 0.2s ease-out;
}

.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 0 rgba(51, 0, 204, 0);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid rgba(51, 0, 204, 0.2);
  border-radius: 10px;
  padding: 10px 25px;
  color: #3300CC;
  font-family: "Futura PT Demi";
  font-size: 20px;
  text-decoration: none;
  transition: all .1s ease-in;
}
.btn-secondary:hover {
  text-decoration: none;
  background-color: #fff;
}

a:hover {
  text-decoration: underline;
}

.container {
  padding: 0 20px;
}

section {
  padding: 30px 0;
}

section h2 {
  font-size: 28px;
  font-family: 'Termina Demi', sans-serif;
  text-align: center;
  font-weight: normal;
  margin-bottom: 20px;
  line-height: 140%;
}

section h2.line {
  position: relative;
  display: block;
  padding-bottom: 7px;
}

section h2.line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3300CC;
  border-radius: 10px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

header {
  padding: 5px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 101;
  transition: all 0.3s ease;
  width: 100%;
}

header img {
  display: flex;
  max-height: 30px;
}

header .menu-btn {
  height: 100%;
  padding: 10px;
  transform: translateX(10px);
}

header .menu-btn img {
  display: flex;
}

header.expanded a.cta-link {
  order: 6;
  display: block;
  border: 2px solid rgba(51, 0, 204, 0.2);
  border-radius: 10px;
  padding: 10px 25px;
  color: #3300CC;
  font-family: "Futura PT Demi";
  font-size: 20px;
  text-decoration: none;
  margin: 0 auto;
}


header.expanded .logo {
  visibility: hidden;
}

header.sticky {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header nav {
  order: 5;
  width: 100%;
  padding: 0 30px 30px;
}

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

header > a:not(.menu-btn) {
  display: none;
}

header a {
  padding: 10px 0;
  text-decoration: none;
  color: #262626;
  font-size: 20px;
  display: block;
  font-family: 'Futura PT Demi', sans-serif;
  text-align: center;
}

header.expanded {
  background-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-bottom: 50px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.5);
}

header .menu-btn .close {
  display: none;
}

header.expanded nav {
  display: block;
}

header.expanded .menu-btn .close {
  display: flex;
}

header.expanded .menu-btn .open {
  display: none;
}

header a:hover {
  text-decoration: none;
}

.hero {
  padding: 0;
  display: flex;
  position: relative;
  background: linear-gradient(180deg, #F1F0EC 77%, #FFFFFF 100%);
  padding: 100px 0 25px;
}

.hero-inner {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  gap: 40px;
  padding: 0 15px;
  text-align: center;
}

.hero-inner h1 {
  font-family: 'Termina Demi', sans-serif;
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: normal;
}

.hero-inner p {
  font-size: 20px;
  margin-bottom: 25px;
  font-family: 'Futura PT', sans-serif;
  opacity: 0.7;
}

.hero .mosaic {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  text-align: left;
}

.mosaic-video {
  z-index: -1;
}

.mosaic-video span {
  display: block;
  text-align: center;
  opacity: 0.5;
  font-size: 16px;
  padding-bottom: 8px;
}

.mosaic-photos img + img {
  margin-top: 20px;
}
.mosaic-photos img {
  border-radius: 15px;
  object-fit: fill;
  display: flex;
}

.mosaic-photos img:first-child {
  width: 160px;
}

.mosaic-photos img:last-child {
  margin-top: 10px;
  width: 125px;
}

.hero .background-video {
  max-width: 100%;
  align-self: flex-end;
  display: flex;
  box-shadow: 0 0 50px 40px #fff;
}

.services {
  padding: 50px 0;
  text-align: center;
  background: linear-gradient(180deg, #FFF 0%, #F1F0EC 100%);
}

.products-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.products-grid p {
  font-size: 20px;
  opacity: 0.7;
}
.products-grid .title {
  font-size: 32px;
  opacity: 1;
  display: none;
}

.services .btn-secondary {
  margin-top: 20px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 22px;
  margin: 20px 0;
}

.tabs a {
  color: #6D6D6D;
  text-decoration: none;
  line-height: 120%;
}

.tabs a.active, .tabs a:hover {
  color: #000;
}

.tabs a.active {
  font-family: 'Futura PT Demi', sans-serif;
  border-bottom: 2px solid #000;
}

.tab-content p {
  font-size: 16px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 30px;
}

.use-cases {
  padding: 70px 0;
  /* background: linear-gradient(180deg, #F1F0EC 0%, #FFF 100%); */
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.grid p {
  font-family: 'Futura PT', sans-serif;
  font-size: 18px;
  text-align: center;
  margin: 20px 0;
  margin-top: 0;
  opacity: 0.7;
}

.grid p.title {
  font-family: 'Termina Demi', sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
  opacity: 1;
}

.grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
  padding-bottom: 30px;
  font-size: 16px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.controls li {
  border: 2px solid #262626;
  background-color: #fff;
  border-radius: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: absolute;
  cursor: pointer;
  transition: all .5s ease;
}

.controls li.disabled {
  pointer-events: none;
}

.controls li:hover {
  border-color: #3300CC;
}

.tiny-slider {
  position: relative;
}

.tiny-slider .tns-nav, .tiny-slider button {
  display: none;
}

.slider .category {
  display: block;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.05);
  margin: 20px 15px;
  overflow: hidden;
  text-align: left;
  font-size: 16px;
  text-decoration: none;
  color: #262626;
  min-height: 525px;
}

.slider img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  height: 360px;
  object-fit: cover;
}

.slider p {
  padding-left: 20px; 
  padding-right: 20px; 
  text-align: left;
}

.slider .product-title {
  font-family: 'Futura PT Demi', sans-serif;
  margin-bottom: 10px;
  font-size: 16px;
}

.slider .product-description {
  font-family: 'Futura PT', sans-serif;
  line-height: 110%;
  margin-bottom: 20px;
  padding-bottom: 0;
}

.controls { 
  text-align: center; 
  display: none; 
}

.controls li {
  display: flex;
  position: absolute;
  top: 50%;
  height: 40px;
  width: 40px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 6;
  border: 2px solid #262626;
  background-color: #fff;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
}

.controls li img { 
  display: inline-block; 
  vertical-align: middle; 
}

.controls .prev { 
  left: 35px; 
}

.controls .next { 
  right: 35px; 
  transform: rotate(180deg); 
}

.controls li:hover { 
  background: #f2f2f2; 
}

.persistent-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 15px;
  z-index: 102;
}

.persistent-cta-mobile .persistent {
  display: block;
  text-align: center;
  padding: 15px 20px;
}

.services .framebuilder-wrapper {
  height: 530px;
  background: rgb(235, 236, 237);
  border-radius: 5px;
  width: 100%;
  max-width: 800px;
  margin: 20px auto 0;
  border: 1px solid #d6d6d6;
  overflow: hidden;
}

.benefits {
  padding: 50px 0;
}
.benefits h2 {
  margin-top: 0;
  margin-bottom: 40px;
}
.benefits-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: #ddd;
  border-top: 1px solid #ddd;
  margin-top: 30px;
}
.benefits-items > div {
  text-align: center;
  background-color: #fff;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.benefits-items > div > strong {
  font-size: 40px;
  display: block;
}

/* demo */
section.demo {
  padding: 50px 0;
  background: radial-gradient(146.56% 254.67% at 98.97% 133.78%, #FFFFFF 0%, #F2F1ED 100%);
}

section.demo .row {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
section.demo .column {
  align-items: center;
  text-align: center;
  flex: 1;
}

section.demo h3 {
  font-size: 26px;
  font-family: "Termina Demi";
  margin-bottom: 30px;
  font-weight: normal;
}
section.demo p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* reviews */
section.reviews {
  background-color: #262626;
  padding: 70px 0;
  color: #fff;
  text-align: center;
}

section.reviews h2 {
  max-width: 380px;
  text-align: center;
  margin: 0 auto;
}

section.reviews .row > div {
  background-color: #fff;
  border-radius: 15px;
  color: #262626;
  padding: 25px;
  display: flex;
  text-align: left;
  flex-direction: column;
  justify-content: space-between;
  font-size: 22px;
}

section.reviews .row > div > p {
  line-height: 120%;
}

section.reviews .row strong {
  font-size: 18px;
  font-weight: normal;
  font-family: "Futura PT Demi";
}

section.reviews .row .author {
  font-size: 16px;
  display: flex;
  flex-direction: column;
  margin-top: 15px;
  margin-top: 30px;
}

section.reviews .row img {
  margin-bottom: 10px;
}

section.reviews .row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0 80px;
}

.whitelabel {
  max-width: 800px;
  text-align: center;
  padding: 0;
  margin: 0 auto 70px;
}

.whitelabel img {
  max-width: 160px;
}

.whitelabel .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.whitelabel p {
  font-size: 18px;
  margin: 20px 0;
  opacity: 0.7;
}

.whitelabel .title {
  font-size: 24px;
  font-family: "Termina Demi";
  opacity: 1;
}

@media screen and (min-width: 768px) {
  .btn-primary {
    font-size: 28px;
    padding: 18px 35px;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
    background-color: transparent;
    transition: background-color .5s ease;
    padding: 15px 30px;
  }

  header img {
    max-height: 34px;
  }

  header.expanded {
    box-shadow: none;
    padding-bottom: 15px;
  }

  header nav {
    display: block;
    order: 2;
    width: auto;
    padding: 0;
    margin: 0;
  }

  header nav ul {
    display: flex;
  }

  header ul a {
    padding: 10px 20px;
    font-family: 'Futura PT', sans-serif;
    border-radius: 10px;
    position: relative;
  }
  
  header ul a:hover::after {
    transition: all .2s ease-in;
  }
  
  header ul a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 3px;
    border-radius: 10px;
    background-color: rgba(51, 0, 204, 1);
    transition: width 0.3s ease;
    transform: translateX(-50%);
  }

  header ul a:hover::after {
    width: 50%;
  }

  header .menu-btn {
    display: none;
  }

  .hero .background-video {
    max-width: 300px;
  }

  .mosaic-photos img:first-child {
    width: 250px;
    height: 200px;
  }

  .hero .mosaic {
    gap: 20px;
    position: relative;
  }

  .hero .mosaic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -15%;
    width: 70%;
    height: 2px;
    background: linear-gradient(to right, 
      rgba(241, 240, 236, 0), 
      rgba(241, 240, 236, 1) 5%, 
      rgba(241, 240, 236, 1) 95%, 
      rgba(241, 240, 236, 0)
    );
  }
  
  .mosaic-photos img:last-child {
    width: 200px;
    height: 210px;
    margin-top: 20px;
  }

  header a.cta-link {
    display: block;
    order: 3;
    border: 2px solid rgba(51, 0, 204, 0.2);
    border-radius: 10px;
    padding: 10px 25px;
    color: #3300CC;
    font-family: "Futura PT Demi";
    font-size: 20px;
    text-decoration: none;
    transition: all .2s ease;
  }

  header a.cta-link:hover {
    background-color: #fff;
  }

  .persistent-cta-mobile {
    display: none;
  }
  
  section {
    padding: 50px 25px;
  }

  section.demo {
    padding: 80px 0;
  }

  section.demo h3 {
    font-size: 36px;
  }

  section.demo p {
    font-size: 22px;
    margin-bottom: 40px;
  }

  section.demo .column.demo-column {
    height: 600px;
  }

  .services {
    padding: 70px 0;
  }

  .products-grid {
    flex-direction: row;
    text-align: left;
    gap: 100px;
    max-width: 1100px;
    margin: 70px auto;
  }

  .products-grid div {
    flex: 1;
  }
  
  .products-grid p {
    font-size: 20px;
  }
  .products-grid .title {
    font-size: 32px;
    font-family: "Termina Demi";
    line-height: 130%;
    display: block;
  }

  .services .btn-secondary {
    margin-top: 40px;
  }

  .services h2 {
    margin-bottom: 40px;
  }

  .hero {
    min-height: 650px;
    padding-top: 80px;
    padding-bottom: 0;
  }

  .hero-inner {
    gap: 80px;
    flex-direction: row;
    text-align: left;
    padding-left: 20px; 
    padding-right: 20px;
  }

  .hero p {
    font-size: 30px;
  }

  .hero-inner h1 {
    font-size: 42px;
    margin-bottom: 20px;
  }

  .hero-inner p {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .content {
    padding-left: 0;
    padding-right: 0;
  }

  .tab-content p {
    font-size: 18px;
    margin-bottom: 50px;
  }

  .controls {
    display: block;
  }

  .use-cases {
    padding-bottom: 80px;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 50px;
  }

  .grid p {
    text-align: left;
    margin: 20px 0;
    font-size: 20px;
  }

  .grid p.title {
    font-size: 28px;
  }

  .slider a {
    margin: 20px 10px;
  }

  .footer {
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    padding: 40px 25px;
    font-size: 18px;
  }

  .services .framebuilder-wrapper {
    height: 650px;
  }

  /* benefits */
  .benefits {
    padding: 50px 0;
    padding-bottom: 100px;
  }
  .benefits h2 {
    margin-top: 0;
    margin-bottom: 40px;
  }
  .benefits-items {
    grid-template-columns: repeat(4, 1fr);
    border-top: 0;
    max-width: 900px;
    margin: 0 auto;
  }
  .benefits-items > div {
    text-align: center;
    background-color: #fff;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 22px;
  }
  .benefits-items > div > strong {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
    font-weight: normal;
    font-family: 'Futura PT Demi', sans-serif;
  }

  /* demo */
  section.demo .row {
    display: flex;
    flex-direction: row-reverse;
    gap: 80px;
    align-items: center;
  }
  section.demo .column {
    text-align: left;
  }
  section.demo .column:first-child {
    max-width: 400px;
  }

  /* reviews */
  section.reviews .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  section.reviews h2 {
    max-width: 450px;
  }

  section.reviews .row > div {
    padding: 30px;
  }

  section h2.line {
    font-size: 44px;
  }

  .whitelabel {
    text-align: left;
    margin: 30px auto 100px;
  }

  .whitelabel img {
    max-width: 230px;
  }
  
  .whitelabel .content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 70px;
  }
  
  .whitelabel p {
    font-size: 22px;
    margin: 20px 0;
    margin-bottom: 30px;
  }
  
  .whitelabel .title {
    font-size: 36px;
    font-family: "Termina Demi";
    margin-bottom: 20px;
  }
}
