/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================
    Base Styles
============================ */
body {
  height: 100%;
  background: #f5f5f5;
  overflow-x: hidden;
  font-family: 'Montserrat', Arial, sans-serif;
  background-image: url('./assets/Bg-Center.svg');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 85em;
}

/* Background Images */
.bg-images-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.bg-image {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
}

.bg-image.left-bottom {
  background-image: url('./assets/Bg-Left.svg');
  width: 80vw;
  aspect-ratio: 1/1;
  bottom: 0;
  left: 0;
}

.bg-image.right-bottom {
  background-image: url('./assets/Bg-Right.svg');
  width: 80vw;
  aspect-ratio: 1/1;
  bottom: 0;
  right: 0;
}

/* Content */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgb(255, 255, 255);
  border-radius: 16px;
  padding: 0.8rem 1.8rem;
  max-width: 1280px;
  height: 75px;
  margin: 20px auto;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: all 0.3s ease-in-out;
}

.nav-logo {
  background: #fff;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
}

.nav-logo img {
  max-height: 3em;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.nav-logo img:hover {
  transform: scale(1.05);
}

.logoTalrop {
  height: 3em;
}

.main-content {
  text-align: center;
  max-width: 1200px;
  margin: 0px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.main-image {
  margin-top: 90px;
}

.main-image img {
  max-width: 370px;
  width: 100%;
  height: auto;
  animation: 1s ease-out 0s 1 normal forwards running fadeUp;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.description p {
  font-size: 16px;
  color: black;
  margin: 30px auto;
  max-width: 75%;
  line-height: 1.5em;
  animation: 1s ease-out 0s 1 normal forwards running fadeUp;
}

.launch-heading {
  font-size: 83px;
  font-weight: 700;
  line-height: 1.2;
  background: radial-gradient(50% 75% at 50% 50%, #00274d 0%, #0067cf 52.7%, #00274d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================
   Blurry Circles Background
============================ */
.circles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
}

.circle {
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: #1288ff;
  border-radius: 50%;
  filter: blur(100px);
}

.top-left {
  width: 130px;
  height: 148px;
  top: 0;
  left: 0;
}

.center-middle {
  top: 55%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 220px;
  opacity: 85%;
  height: 220px;
  background-color: #1288ff;
}

.bottom-left {
  bottom: 0;
  left: 92px;
  width: 155px;
  height: 148px;
  opacity: 90%;
}

.right-center {
  top: 50%;
  right: -50px;
  width: 155px;
  height: 155px;
  opacity: 75%;
  transform: translateY(-50%);
}

/* ============================
        Responsive
============================ */

/* Tablets & small laptops */
@media (max-width: 1280px) and (min-width: 810px) {
  .launch-heading {
    font-size: 64px;
  }

  .main-image img {
    max-width: 300px;
  }

  .navbar {
    height: 65px;
    padding: 0.6rem 1.2rem;
    max-width: 450px;
  }

  .bg-image.left-bottom,
  .bg-image.right-bottom {
    width: 60vw;
  }

  .circle {
    filter: blur(80px);
  }
}

/* Tablets & large phones */
@media (max-width: 810px) and (min-width: 390px) {
  .bg-image.left-bottom,
  .bg-image.right-bottom {
    display: none;
  }
  .launch-heading {
    font-size: 46px;
    line-height: 1.1;
  }

  .description p {
    font-size: 14px;
    max-width: 90%;
  }

  .main-image img {
    max-width: 240px;
  }

  .navbar {
    height: 65px;
    padding: 0.6rem 1.2rem;
    max-width: 380px;
  }

  .nav-logo img {
    max-height: 2em;
  }

  .nav-logo {
    height: 50px;
    padding: 0.4rem 0.8rem;
  }

  .circle {
    width: 135px;
    height: 200px;
    filter: blur(100px);
  }

  .center-middle {
    width: 160px;
    height: 160px;
  }
  .bottom-left {
    display: none;
  }
}

/* Small phones */
@media (max-width: 390px) {
  body {
    background-size: 85em;
    background-position: center bottom;
  }

  .launch-heading {
    font-size: 1.7em;
  }

  .description p {
    font-size: 13px;
    margin: 20px auto;
    max-width: 90%;
  }

  .main-image img {
    max-width: 15em;
  }

  .navbar {
    height: 55px;
    width: 18em;
    padding: 0;
  }

  .nav-logo {
    height: 1.3em;
    padding: 0.3rem 0.6rem;
  }

  .nav-logo img {
    max-height: 1.3em;
  }
  .bg-image.left-bottom,
  .bg-image.right-bottom {
    display: none;
  }

  .circle {
    filter: blur(100px);
    width: 200px;
  }

  .center-middle {
    width: 120px;
    height: 120px;
  }
  .bottom-left {
    display: none;
  }
}

/* ============================
        Animations
============================ */

/* Base state */
.main-image img,
.launch-heading,
.description p {
  opacity: 0;
  transform: translateY(0);
}

/* Animations */
@keyframes fadeCenter {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bgReveal {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply Animations */
.launch-heading,
.description p {
  animation: fadeCenter 0.3s ease-out forwards;
  animation-delay: 0.3s;
}

.main-image img {
  animation: bgReveal 0.2s ease-in forwards;
  animation-delay: 0.1s;
}
