@font-face {
  font-family: "TacticSans-Bld";
  src: url("./TacticSans-Bld.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "TacticSans-Med";
  src: url("./TacticSans-Med.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #18191B;
  font-family: Arial, sans-serif;
  color: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

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

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.menu {
  font-family: "TacticSans-Med";
  color: #FFF;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 6.4px;
  text-transform: uppercase;
}

.header img {
  width: 128px;
  height: 32px;
  aspect-ratio: 4/1;
  fill: white;
}

.main {
  display: grid;
  gap: 24px;
  flex: 1 0 0;
  align-self: stretch;
  grid-template-rows: repeat(1, minmax(0, 1fr));
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.block {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.block.left {
  position: relative;
  overflow: hidden;
  flex: 1 0 0;
  align-self: stretch;
  grid-row: 1 / span 1;
  grid-column: 1 / span 2;
  border-radius: 40px;
}

.block.right {
  position: relative;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.50);
}

.iphone-bgImage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  aspect-ratio: 343.36/847.58;
  opacity: 0.15;
  max-height: 92%;
  max-width: 64%;
}

.card {
  display: flex;
  width: 320px;
  height: 320px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.liquid-glass-effect {
  backdrop-filter: url(#liquid-glass) blur(5px);
}

.logo-box {
  display: flex;
  width: 128px;
  height: 128px;
  padding: 0 13.117px 0 13.569px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 34px;
  background: #F0E300;
}

.logo-box img {
  width: 101.314px;
  height: 25.329px;
  flex-shrink: 0;
  aspect-ratio: 101.31/25.33;
}

.lock-box {
  display: flex;
  width: 128px;
  height: 128px;
  padding: 36px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 34px;
  background: #3C3C3C;
}

.lock-box img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.btn-left {
  display: flex;
  background: transparent;
  height: 48px;
  padding: 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid #FFF;

  color: #FFF;
  font-family: "TacticSans-Bld";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-right {
  display: flex;
  background: transparent;
  height: 48px;
  padding: 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid #676767;
  
  font-family: "TacticSans-Med";

  color: #676767;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-left:hover {
  color: #131418;
  background: #FFF;
}

.btn-right:hover {
  color: #131418;
  background: #FFF;
}

@media (max-width: 1280px) {
  .main {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-template-columns: repeat(1, minmax(0, 1fr))
  }

  .block.left {
    flex: 1 0 0;
    align-self: stretch;
    grid-row: 1 / span 2;
    grid-column: 1 / span 1;
  }

  .block.right {
    flex: 1 0 0;
    align-self: stretch;
    grid-row: 3 / span 1;
    grid-column: 1 / span 1;
  }

  .iphone-bgImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    aspect-ratio: 293.51/724.94;
    opacity: 0.15;
    max-height: 724.937px;
  }
}

@media (max-width: 992px) {
  .main {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-template-columns: repeat(1, minmax(0, 1fr))
  }

  .block.left {
    flex: 1 0 0;
    align-self: stretch;
    grid-row: 1 / span 2;
    grid-column: 1 / span 1;
  }

  .block.right {
    flex: 1 0 0;
    align-self: stretch;
    grid-row: 3 / span 1;
    grid-column: 1 / span 1;
  }

  .iphone-bgImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    aspect-ratio: 293.51/724.94;
    opacity: 0.15;
    max-height: 724.937px;
  }
}

@media (max-width: 860px) {
  .iphone-bgImage {
    max-height: 600px;
  }
}

@media (max-width: 768px) {
  .iphone-bgImage {
    aspect-ratio: 223.86/552.92;
    max-height: 552.918px;
  }

  .card.phone {
    width: 256px;
    height: 256px;
  }
}

@media (max-width: 630px) {
  .iphone-bgImage {
    aspect-ratio: 223.86/552.92;
    max-height: 460px;
  }
}

@media (max-width: 540px) {
  .iphone-bgImage {
    aspect-ratio: 223.86/552.92;
    max-height: 420px;
  }
}

/* Phone Plus */

@media (max-width: 478px) {
  body {
    height: 1628px;
  }

  .main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
  }

  .block.left {
    height: 900px;
  }

  .block.right {
    height: 600px;
  }

  .iphone-bgImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    aspect-ratio: 343.36/847.58;
    opacity: 0.15;
    max-height: 92%;
    max-width: 64%
  }

  .card.phone {
    width: 320px;
    height: 320px;
    padding: 56px 64px;
  }
}

/* Phone */

@media (max-width: 360px) {
  body {
    height: 1408px;
  }

  .main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
  }

  .block.left {
    height: 680px;
    align-self: stretch;
  }
  
  .block.right {
    display: flex;
    height: 600px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
  }

  .iphone-bgImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    aspect-ratio: 343.36/847.58;
    opacity: 0.15;
    max-height: 92%;
    max-width: 64%
  }

  .card {
    width: 256px;
    height: 256px;
    padding: 56px 24px;
  }

  .card.phone {
    width: 256px;
    height: 256px;
    padding: 56px 24px;
  }

  .logo-box {
    width: 96px;
    height: 96px;
    padding: 0 9.837px 0 10.177px;
    border-radius: 24px;
  }

  .logo-box img {
    width: 75.986px;
    height: 18.996px;
  }

  .lock-box {
    width: 96px;
    height: 96px;
    padding: 27px;
    border-radius: 25.5px;
  }

  .lock-box img {
    width: 42px;
    height: 42px;
  }

  .btn-left {
    font-size: 13.9px;
  }

  .btn-right {
    font-size: 13.9px;
  }
}