@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');


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

body {
    font-family: 'Poppins', sans-serif;
    background-color: black;
    color: white;
    min-height: 100vh;
    line-height: 1.5;
}
.image-gradient {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}
.layer-blur {
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px white;
}

/* Container css */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0.2rem;
    position: relative;
    overflow: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    position: relative; 
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 300;
}

header .try-demo {
  margin-left: 2rem; 
  z-index: 999;
}

/* Nav bar */
nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-right: -10%;

}
nav a {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.1rem;
    transition: none;
    text-decoration: none;
    color: inherit;
    z-index: 999;
}
nav a:hover {
    color: #9f7aea;
    font-size: 1rem;

}
.logo {
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.logo:hover {
  background: linear-gradient(to right, #b18bff, #9f7aea, #7a5fe0, #a59dff, #e1d7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  transition: background 0.4s ease;
  cursor: pointer;
}


/* Nav button */
.try-demo {
  background: linear-gradient(to right, #b18bff, #9f7aea, #7a5fe0, #a59dff, #e1d7ff);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease;
  background-size: 200% auto;
  background-position: left center;
}

.try-demo:hover {
  background-position: right center;
  transform: scale(1.08); 
  box-shadow: 0 8px 20px rgba(122, 95, 224, 0.4);
}

/* Main element */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

.content {
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
}

.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #9f7aea, #7a5fe0, #7a5fe0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
@keyframes animationGradient {
    to{
        background-position: 200%;
    }
}

.tag-box .tag {
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.5 ease;
}

.tag-box .tag:hover {
    color: #9f7aea;
}

.content h1 {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}
.description {
    font-size: 1rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: gray;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-see {
    text-decoration: none;
    border: 1px solid #656565;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}
.btn-see:hover {
    background-color: #1a1a1a;
}
.btn-try-demo {
    text-decoration: none;
    background-color: white;
    color: black;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
    align-items: center;
    justify-content: center;
}
.btn-try-demo:hover {
    background-color: gray;
}

.robot {
    position: absolute;
    top: 0;
    right: -25%;
    cursor: pointer;
}

/* Responsive ness */
@media (max-width: 1300px) {
  header {
    padding: 1rem 0.5rem;
  }

  .content {
    margin-top: 85%;
  }

  .robot {
    scale: 0.8;
    top: -20%;
    right: 2%;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  header h1 {
    font-size: 2rem;
  }
  .try-demo {
    padding: 0.6rem 1.5rem;
  }

  .content {
    margin-top: 25rem;
  }

  .robot {
    scale: 0.5;
    top: -25%;
    right: 0;
  }

  .content {
    max-width: 30rem;
    margin-left: 10%;
  }

  .content h1 {
    font-size: 1rem;

  }

  .btn-see {
    font-size: 0.8rem;
    padding: 0.8rem 1.2rem;
  }
  .btn-try-demo {
    font-size: 0.8rem;
    padding: 0.8rem 2rem;
  }
}