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

/* -------------------- BODY -------------------- */
body {
  height: 100%;
  background: #f5f5f5;
  overflow-x: hidden;
  font-family: "Montserrat", Arial, sans-serif;

  background-position: center bottom;
  background-repeat: no-repeat;
}

/* add reveal animation to page-wrapper so the page can paint immediately */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  opacity: 0;
  animation: bgReveal 0.45s ease-in forwards;
  animation-delay: 0.12s;
}

/* Background Images */
.bg-images-container {
  position: fixed;
  background: url(asset/bg-image.png);
  width: 100%;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.25; /* was 25% */
}

.main-container {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

#particles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  z-index: -1;
  opacity: 50%;
}

/* -------------------- WRAPPER -------------------- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  opacity: 0;
  animation: bgReveal 0.45s ease-in forwards;
  animation-delay: 0.12s;
}

/* -------------------- NAVBAR -------------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: 16px;
  padding: 0.8rem 1.8rem;
  max-width: 1200px;
  margin: 40px auto;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px;
  transition: all 0.3s ease-in-out;

  opacity: 0;
  animation: slideDown 0.5s ease-out forwards;
  animation-delay: 0.3s;
}

.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 -------------------- */

.main-content {
  text-align: center;
  padding: 0 1rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1 1 0%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-image {
  margin-bottom: 2rem;
}

.main-image img {
  max-width: 430px;
  width: 100%;
  height: auto;
  margin: 0;
  animation: fadeCenter 0.5s ease-out forwards;
  animation-delay: 0.3s;
}

.description p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 792px;
  margin: 10px auto;
  color: #111;
  animation: fadeCenter 0.5s ease-out forwards;
  animation-delay: 0.3s;
}

.launch-heading {
  font-family: "Montserrat", Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2rem;
  background: radial-gradient(50% 75% at 50% 50%, #105680 0%, #105680 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  animation: fadeCenter 0.5s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeCenter {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bgReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes particleFloatTL {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  to {
    transform: translate(40px, 60px) scale(1.1);
    opacity: 1;
  }
}

@keyframes particleFloatBR {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  to {
    transform: translate(-40px, -60px) scale(1.1);
    opacity: 1;
  }
}

@keyframes particleBlink {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* ============================ 
   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;
  opacity: 40%;
}

.bottom-left {
  bottom: 0;
  left: 264px;
  width: 200px;
  height: 76px;
  opacity: 70%;
}

.right-center {
  top: 50%;
  right: -50px;
  width: 155px;
  height: 155px;
  opacity: 60%;
  transform: translateY(-50%);
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 1024px) and (min-width: 600px) {
  .navbar {
    margin: 24px;
    padding: 0.6rem 1.2rem;
  }
  .nav-logo {
    height: 52px;
    padding: 0.4rem 0.8rem;
  }
  .main-content {
    margin-top: 2.5rem;
    padding: 0 1.5rem 5rem;
  }
  .main-image img {
    max-width: 480px;
  }
  .description p {
    font-size: 1.05rem;
    line-height: 1.45;
  }
  .launch-heading {
    font-size: clamp(60px, 5vw, 3.5rem);
  }
}

@media (max-width: 600px) and (min-width: 390px) {
  .navbar {
    margin: 18px;
    padding: 0.5rem 1rem;
  }
  .nav-logo {
    height: 48px;
  }
  .nav-logo img {
    max-height: 2em;
  }
  .main-image img {
    max-width: 320px;
  }
  .description p {
    font-size: 1rem;
    line-height: 1.4em;
  }
  .launch-heading {
    font-size: clamp(35px, 8vw, 3rem);
    margin-top: 1.2rem;
  }
}

@media (max-width: 390px) {
  .navbar {
    margin: 17px 16px;
    padding: 0.5rem 0.8rem;
    gap: 6px;
  }
  .nav-logo {
    height: 47px;
    padding: 0.3rem 0.6rem;
  }
  .nav-logo img {
    max-height: 1.9em;
    width: 100px;
  }
  .main-image img {
    max-width: 260px;
    margin: 1.2em;
  }
  .description p {
    font-size: 0.8rem;
    line-height: 1.3em;
    margin-bottom: 12px;
  }
  .launch-heading {
    font-size: 26px;
    margin-top: 1rem;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .page-wrapper,
  .navbar,
  .main-image img,
  .description p,
  .launch-heading {
    animation: none !important;
    transition: none !important;
  }
}
