/* Reset and Base Styles */
:root {
  --primary-font: "Montserrat", sans-serif;
  --text-dark: #000;
  --text-body: #111;
  --bg-navbar: rgba(255, 255, 255, 0.2);
  --shadow-navbar: 0 8px 20px rgba(0, 0, 0, 0.15);
  --gradient-text: radial-gradient(50% 75% at 50% 50%, #626263 0%, #080809 100%);
}

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

body {
  font-family: var(--primary-font);
  background: url("asset/background.png") center/cover no-repeat fixed;
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Navigation Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px) saturate(150%);
  background: var(--bg-navbar);
  border-radius: 20px;
  padding: 0.8rem 2rem;
  width: min(90%, 1200px);
  margin: 20px auto;
  box-shadow: var(--shadow-navbar);
  transition: transform 0.3s ease;
}

.nav-logo img {
  height: 45px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.05);
}

/* Restoalign Logo  */
.nav-logo.left img {
  height: 55px;
  max-width: 150px;
}

/* Talrop Logo  */
.nav-logo .right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #000;
}
.nav-logo .right span {
  display: inline-block;
  min-width: 130px;
  font-family: var(--primary-font); ;

}

/* Main Content Styles */
main {
  text-align: center;
  margin-top: 6em;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.main-image img {
  max-width: min(430px, 100%);
  margin-bottom: 30px;
}

.description {
  max-width: 792px;
  margin: 0 auto;
}

.description p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px auto;
  color: var(--text-body);
}

.launch-heading {
  font-size: clamp(1.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: zoomIn 1.5s ease forwards;
}

/* Floating Icons Animation */
.icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.icons .icon {
  position: absolute;
  width: 60px;
  height: 60px;
  user-select: none;
  cursor: grab;
  pointer-events: auto;
  transition: transform 0.2s ease;
  will-change: transform;
  animation: float 3s ease-in-out infinite;
}

.icons .icon:active {
  cursor: grabbing;
}

/* Animation Keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes zoomIn {
  0% { 
    transform: scale(0.8);
    opacity: 0;
  }
  50% { 
    transform: scale(1.05);
    opacity: 1;
  }
  100% { 
    transform: scale(1);
    opacity: 1;
  }
}

/* Icon Positioning */
.icons .icon:nth-child(1) { top: 506px; right: 18%; animation-delay: 2.5s; }
.icons .icon:nth-child(2) { top: 350px; right: 14%; animation-delay: 2s; }
.icons .icon:nth-child(3) { top: 355px; left: 15%; animation-delay: 0.5s; }
.icons .icon:nth-child(4) { top: 520px; left: 19%; animation-delay: 1s; }
.icons .icon:nth-child(5) { top: 260px; left: 23%; animation-delay: 0s; }
.icons .icon:nth-child(6) { top: 260px; right: 23%; animation-delay: 1.5s; }

/* Media Queries */
@media (max-width: 480px) {
  .icons .icon:nth-child(2),
  .icons .icon:nth-child(3),
  .icons .icon:nth-child(4),
  .icons .icon:nth-child(5) {
    display: none;
  }
  
  .icons .icon {
    width: 40px;
    height: 40px;
  }

  .main-image img { max-width: 200px; }
  .launch-heading { font-size: 1.8rem; }
  .description p { font-size: 0.85rem; }
  .nav-logo img { height: 32px; }
  .nav-logo.right {
    font-size: 0.7rem;
    span { min-width: 100px; }
  }
}

@media (max-width: 768px) {
  .nav-logo img { height: 40px; }
  .main-image img { max-width: 260px; }
  .launch-heading { font-size: 2.2rem; }
  .description p { font-size: 0.9rem; }
  .icons .icon {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 1024px) {
  .nav-logo img { height: 45px; }
  .main-image img { max-width: 300px; }
  .launch-heading { font-size: 2.6rem; }
  .description p { font-size: 0.95rem; }
  .icons .icon {
    width: 55px;
    height: 55px;
  }
}
