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

html,
body {
  overscroll-behavior: none;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: "Manrope", sans-serif;
  color: #02182f;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

.z-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.mobile-hamburger {
  display: none;
}

.layout {
  padding-block: 5rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin-inline: auto;
}
.layout.single-layout {
  grid-template-columns: 1fr;
}
.layout .sidebar-nav {
  position: sticky;
  top: 6rem;
  height: -moz-fit-content;
  height: fit-content;
  background-color: var(--color-primary-ligher);
  border-radius: 0.5rem;
  padding: 1.5rem;
}
.layout .sidebar-nav .title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(218, 25%, 15%);
}
.layout .sidebar-nav ul {
  list-style: none;
  padding: 0;
}
.layout .sidebar-nav ul li {
  margin-bottom: 0.5rem;
}
.layout .sidebar-nav ul li a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: hsl(218, 15%, 45%);
  text-decoration: none;
  border-radius: calc(0.5rem - 2px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.875rem;
}
.layout .sidebar-nav ul li a:hover {
  background-color: var(--color-secondary);
}
.layout .sidebar-nav ul li a.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.layout .content {
  flex: 1;
  scroll-margin-top: 6rem;
}
.layout .content section {
  padding-top: 2rem;
}
.layout .content section:first-of-type {
  margin-top: -2rem;
}
.layout .content .grid-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.layout .content .grid-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-white);
}
.layout .content .heading {
  color: var(--color-black);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.layout .content p {
  color: hsl(218, 15%, 45%);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.layout .content ul,
.layout .content ol {
  color: hsl(218, 15%, 45%);
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.layout .content li {
  margin-bottom: 0.5rem;
}
.layout .content strong {
  color: hsl(218, 25%, 15%);
  font-weight: 600;
}
.layout .content .subsection {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--color-primary-ligher);
  border: 1px solid var(--color-primary);
}
.layout .content .subsection h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(218, 25%, 15%);
}
.layout .content .rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.layout .content .rights-grid .right-item {
  border: 1px solid var(--color-primary);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--color-primary-ligher);
}
.layout .content .rights-grid .right-item h3 {
  color: var(--color-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.layout .content .rights-grid .right-item p {
  margin-bottom: 0;
}
.layout .content .rights-grid .right-item:hover {
  box-shadow: 0 10px 30px -10px hsla(224, 76%, 48%, 0.2);
  transform: translateY(-2px);
}

.link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  vertical-align: top;
  text-decoration: none;
  color: var(--color-primary);
}
.link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .layout:not(.single-layout) {
    padding-top: 0;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .layout .sidebar-nav {
    overflow-x: auto;
    top: 64px;
    margin-inline: -1rem;
    background-color: var(--color-white);
    border-radius: 0;
  }
  .layout .sidebar-nav::-webkit-scrollbar {
    display: none;
  }
  .layout .sidebar-nav .title {
    display: none;
  }
  .layout .sidebar-nav ul {
    white-space: nowrap;
  }
  .layout .sidebar-nav ul li {
    display: inline-block;
    margin-bottom: 0;
  }
  .layout .sidebar-nav ul li:last-child {
    margin-right: 1rem;
  }
  .layout .sidebar-nav ul li a {
    white-space: nowrap;
    background-color: var(--color-primary-light);
  }
}
/* header start */
.main-header {
  border-radius: 25px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  margin: 2.25rem auto;
  max-width: 42.625rem;
  padding: 0.6rem 0.7rem;
  position: fixed;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 997;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.main-header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-header .navbar .logo {
  flex-shrink: 0;
  width: 10.125rem;
  padding-left: 5px;
}
.main-header .navbar .logo a {
  display: table;
  padding: 0;
}
.main-header .navbar .nav-links-desktop {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex: 1;
}
.main-header .navbar .nav-links-desktop a {
  text-decoration: none;
  color: #333030;
  font-size: 0.892rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.28rem 0.68rem;
  position: relative;
}
.main-header .navbar .nav-links-desktop a.active {
  color: #4c7cab;
  font-weight: 700;
}
.main-header .navbar .nav-links-desktop a:not(.active):hover {
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.main-header .navbar .actions-desktop {
  display: flex;
  gap: 0.669rem;
  flex-shrink: 0;
  width: 10.125rem;
  justify-content: end;
}
.main-header a {
  text-decoration: none;
  padding: 0.435rem 0.869rem;
  border-radius: 25px;
  font-size: 0.781rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 140%;
}
.main-header a.btn-login {
  color: #fff;
  box-shadow: 0 0.569px 0.569px -0.892px rgba(0, 0, 0, 0.25);
  background: #1f2f41;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.781rem;
}
.main-header a.btn-login svg {
  width: 12px;
  margin-right: 6px;
  -webkit-transform: translateX(14px);
  -moz-transform: translateX(14px);
  -ms-transform: translateX(14px);
  -o-transform: translateX(14px);
  transform: translateX(14px);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
}
.main-header a.btn-login span {
  -webkit-transform: translateX(-10px);
  -moz-transform: translateX(-10px);
  -ms-transform: translateX(-10px);
  -o-transform: translateX(-10px);
  transform: translateX(-10px);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.main-header a.btn-login:hover {
  background: #115369;
}
.main-header a.btn-login:hover svg {
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.main-header a.btn-login:hover span {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.main-header .hamburger {
  -webkit-tap-highlight-color: transparent;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.main-header .hamburger span {
  width: 24px;
  height: 2px;
  background: #000;
}
.main-header .mobile-menu {
  display: none;
  flex-direction: column;
  gap: 20px;
  background: #f7f7f7;
  border-radius: 15px;
  margin-top: 12px;
  padding: 15px 20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
}
.main-header .nav-links-mobile {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.main-header .nav-links-mobile a {
  text-decoration: none;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
}
.main-header .actions-mobile {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.main-header .actions-mobile a {
  text-decoration: none;
  padding: 0.55rem 0.669rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 140%;
  font-size: 0.9rem;
  text-align: center;
  white-space: break-spaces;
}

@media (max-width: 768px) {
  .hamburger .line {
    fill: none;
    stroke: black;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .hamburger .line.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }
  .hamburger .line.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
  }
  .hamburger .line.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }
  body:has(.mobile-menu[style="display: flex;"]) {
    overflow: hidden;
  }
  body:has(.mobile-menu[style="display: flex;"])::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 997;
  }
  body:has(.mobile-menu[style="display: flex;"]) .hamburger .line.line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
  }
  body:has(.mobile-menu[style="display: flex;"]) .hamburger .line.line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
  }
  body:has(.mobile-menu[style="display: flex;"]) .hamburger .line.line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
  }
  .main-header {
    transition: all 0.35s;
    max-width: calc(100% - 40px);
    margin: 1.25rem auto;
    padding: 0.48rem 0.892rem;
  }
  .main-header .navbar .nav-links-desktop,
  .main-header .navbar .actions-desktop {
    display: none;
  }
  .main-header .hamburger {
    display: flex;
  }
  .main-header .mobile-menu {
    margin-bottom: 0.545rem;
  }
  .main-header:has(.hamburger[aria-expanded=true]) {
    border-radius: 14px;
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* header end */
#hero {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.layer {
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: -1;
}

#hero,
.layer {
  min-height: 80vw;
  margin: 0 auto;
  overflow: hidden;
}

.layer-1,
.layer-2,
.layer-3,
.layer-4 {
  margin-top: 50px;
  opacity: 0;
  animation: slideUpSmooth 0.7s ease-out forwards;
}

.layer-1 {
  animation-delay: 0.05s;
}

.layer-2 {
  animation-delay: 0.1s;
}

.layer-3 {
  animation-delay: 0.2s;
}

.layer-4 {
  animation-delay: 0.3s;
}

@keyframes slideUpSmooth {
  0% {
    margin-top: 50px;
    opacity: 0;
  }
  100% {
    margin-top: 0px;
    opacity: 1;
  }
}
.move-top {
  opacity: 0;
  transform: translateY(40px);
  animation: moveTopOpacity 1s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.5s;
}

@keyframes moveTopOpacity {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.footer {
  background-color: #0a0f14;
  padding: 60px 0 30px;
}
.footer .footer-top {
  display: flex;
  gap: 14px;
  margin-bottom: 50px;
}
.footer .footer-top .footer-column {
  flex: 1 1 15%;
}
.footer .footer-top .footer-column:first-of-type {
  min-width: 200px;
  margin-right: 4%;
}
.footer .footer-top .footer-column:last-of-type {
  flex: 1 1 40%;
}
.footer .footer-column h2 {
  font-weight: 700;
  margin-bottom: 16px;
  color: #e7e7e7;
  font-style: normal;
  font-size: 14px;
  line-height: 19px;
  text-transform: uppercase;
}
.footer .footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-column ul li:not(:last-of-type) {
  margin-bottom: 13px;
}
.footer .footer-column ul li a {
  text-decoration: none;
  font-size: 14px;
  color: #9fa0a1;
  transition: color 0.2s ease;
  display: block;
  font-weight: 400;
  line-height: 17px;
}
.footer .footer-column ul li a:hover {
  color: #ffffff;
}
.footer .store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer .store-buttons img {
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.2s ease;
  height: 42px;
}
.footer .store-buttons img:hover {
  transform: scale(1.03);
  opacity: 1;
}
.footer .app-legal {
  font-size: 11px;
  color: #848788;
  margin-top: 14px;
  line-height: 1.5;
  max-width: 400px;
}
.footer .footer-middle {
  border-top: 1px solid #1e1e1e;
  padding-top: 30px;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 11px;
  color: #848788;
}
.footer .footer-middle p:not(:last-of-type) {
  margin-bottom: 0.4rem;
}
.footer .footer-logo {
  margin-bottom: 20px;
}
.footer .footer-logo svg path {
  fill: #e7e7e7;
}
.footer .footer-logo p {
  font-size: 12px;
  color: #9fa0a1;
  margin: 19px 0 10px;
}
.footer .footer-logo p strong {
  font-weight: 500;
  font-size: 13px;
  color: #ababac;
}
.footer .footer-logo .footer-socials-wrapper {
  display: flex;
  margin-left: -5px;
}
.footer .footer-logo .footer-socials-wrapper a {
  width: 2rem;
  height: 2rem;
  transition: color 0.2s ease;
}
.footer .footer-logo .footer-socials-wrapper a:hover svg path {
  fill: #ffffff;
}
.footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #333;
  padding-block: 20px;
  font-size: 12px;
  color: #9fa0a1;
}
.footer .footer-bottom p {
  font-size: 13px;
}
.footer .footer-bottom .links {
  display: flex;
  gap: 25px;
}
.footer .footer-bottom .links a {
  text-decoration: none;
  color: #9fa0a1;
  transition: color 0.2s ease;
}
.footer .footer-bottom .links a:hover {
  color: #ffffff;
}
.footer .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
.footer .modal .modal-content {
  background: #84e2f0;
  padding: 32px 20px 40px;
  border-radius: 8px;
  position: relative;
  animation: scaleUp 0.3s ease;
  border: 1px solid #0ed8f6;
  min-width: 253px;
  text-align: center;
  box-shadow: inset 0 169px 0 rgb(255, 255, 255);
}
.footer .modal .modal-content h2 {
  margin-bottom: 30px;
  font-size: 20px;
  color: #1d3d42;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.footer .modal .modal-content img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  border: 5px solid #1d3d42;
  margin-left: auto;
  margin-right: auto;
}
.footer .modal .modal-content .note {
  font-size: 10px;
  color: rgba(67, 71, 71, 0.8);
  font-family: "inter", sans-serif;
  background-color: rgba(255, 255, 255, 0.38);
  display: table;
  margin: 26px auto auto;
  padding: 2px 12px;
  border-radius: 14px;
}
.footer .modal .modal-content .close {
  position: absolute;
  right: 3px;
  font-size: 28px;
  color: white;
  background-color: #1e2324;
  box-shadow: 0 0 36px #ffffff;
  cursor: pointer;
  transition: 0.2s;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translate(50%, -50%);
}
.footer .modal .modal-content .close:hover {
  background-color: #565656;
  box-shadow: 0 0 36px #000000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleUp {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}
@media (min-width: 1920px) {
  #hero,
  .layer {
    min-height: 72vw;
  }
  .footer .z-container {
    max-width: 102rem;
  }
}
@media (max-width: 992px) {
  .footer .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .footer .store-buttons {
    justify-content: center;
  }
  .footer .app-legal {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1607843137);
    padding-bottom: 30px;
    max-width: unset;
  }
  .footer .footer-column h2 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .footer .footer-column ul li:not(:last-of-type) a {
    font-size: 12px;
  }
  .footer .footer-column ul li:not(:last-of-type) {
    margin-bottom: 5px;
  }
  .footer .footer-top {
    margin-bottom: 7px;
    grid-template-columns: 1fr;
    flex-wrap: wrap;
    max-width: 600px;
  }
  .footer .footer-top .footer-column:last-of-type {
    text-align: center;
    min-width: 100%;
  }
  .footer .footer-top .footer-column:last-of-type h2 {
    font-size: 20px;
    margin-top: 28px;
    padding-bottom: 11px;
    border-top: 1px solid rgba(255, 255, 255, 0.1607843137);
    padding-top: 30px;
  }
  .footer .footer-top .footer-column .footer-logo svg {
    margin-left: auto;
    margin-right: auto;
  }
  .footer .footer-top .footer-column .footer-logo .footer-socials-wrapper {
    justify-content: center;
  }
  .footer .footer-top .footer-column .footer-logo .footer-socials-wrapper a {
    width: 3rem;
    height: 3rem;
  }
  .footer .footer-top .footer-column .footer-logo .footer-socials-wrapper a svg {
    width: 2.5rem;
    height: 2.5rem;
  }
  .footer .footer-top .footer-column:first-of-type {
    margin-right: 0;
    min-width: 100%;
    text-align: center;
  }
  .footer .footer-bottom {
    max-width: 600px;
    width: calc(100% - 40px);
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer .footer-bottom .links {
    gap: 18px;
  }
  .footer .footer-bottom p {
    font-size: 11px;
  }
  .footer .footer-middle {
    max-width: 600px;
    border-top: 0;
    padding-top: 30px;
    margin-bottom: 25px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .footer .footer-top .footer-column {
    margin-right: 0;
    min-width: 100%;
    text-align: center;
  }
  .footer .footer-top .footer-column:not(:last-of-type) {
    margin-bottom: 12px;
  }
  .footer .footer-bottom {
    width: 100%;
  }
  .footer .footer-bottom .links {
    gap: 10px;
    width: 100%;
    justify-content: space-around;
  }
}
