/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #000;
  color: #e7e7e7;
  min-height: 100vh;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Background */
.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;
  rotate: -30deg;
  z-index: -1;
}
.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: 10;
}
.logo img {
  height: 80px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 3rem;
}
nav a {
  font-size: 1.1rem;
  letter-spacing: 0.1rem;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
nav a:hover {
  color: #a7a7a7;
}

/* Language switch */
.lang-switch {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.lang-switch img {
  width: 36px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.lang-switch img:hover {
  transform: scale(1.3);
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  gap: 3rem;
}
.hero-left {
  flex: 1;
  max-width: 700px;
}
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tag-box {
  position: relative;
  width: 20rem;
  height: 3rem;
  border-radius: 50px;
  background: linear-gradient(to right, black, blue);
  background-size: 200%;
  animation: animationGradient 2.5s linear infinite;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}
@keyframes animationGradient {
  to {
    background-position: 200%;
  }
}
.tag-box .tag {
  position: absolute;
  inset: 4px;
  background-color: black;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.hero-left h1 {
  font-size: 5rem;
  font-weight: 700;
  margin: 1.5rem 0;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(128, 128, 128, 0.6);
}
.description {
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: #b5b5b5;
}
.buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.btn-get-started,
.btn-signing-main {
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-get-started {
  text-decoration: none;
  border: 1px solid #2a2a2a;
  padding: 1rem 2rem;
  color: inherit;
}
.btn-get-started:hover {
  background-color: #1a1a1a;
  transform: scale(1.05);
}
.btn-signing-main {
  text-decoration: none;
  background-color: lightgray;
  color: black;
  padding: 1rem 3rem;
}
.btn-signing-main:hover {
  background: gray;
  transform: scale(1.05);
}

/* Robot */
.robot {
  width: 100%;
  max-width: 950px;
  height: 500px;              /* fixed height */
  overflow: hidden;           /* crop edges */
  display: flex;
  align-items: center;        /* keep it centered horizontally */
  justify-content: center;
  position: relative;
}

.robot spline-viewer {
  width: 150%;                /* keep it large */
  height: 120%;               /* expand beyond container */
  object-fit: cover;
  pointer-events: auto;
  transform: translateY(-40px);  /* move only robot upwards */
}



/* Features */
.features {
  padding: 6rem 2rem;
  text-align: center;
}
.features h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: #111;
  padding: 2.5rem;
  border-radius: 14px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-12px);
  background: #1a1a1a;
}
.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
}
.feature-card p {
  color: #a7a7a7;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Contact */
.contact-form {
  padding: 6rem 2rem;
  text-align: center;
}
.contact-form h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.contact-form p {
  color: #aaa;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.contact-form form {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form input,
.contact-form textarea {
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-size: 1.1rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #777;
}
.contact-form button {
  background: lightgray;
  color: black;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}
.contact-form button:hover {
  background: gray;
}

/* Footer */
footer {
  background: #0d0d0d;
  padding: 2.5rem;
  text-align: center;
  color: #888;
}
footer .socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
footer .socials a {
  font-size: 2rem;
  color: #888;
  transition: color 0.3s ease, transform 0.3s ease;
}
footer .socials a:hover {
  transform: scale(1.25);
}
footer .socials a.instagram:hover {
  color: #E1306C;
}
footer .socials a.linkedin:hover {
  color: #0077b5;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 4rem 2rem;
  }
  .hero-right {
    display: none;
  }
  .buttons {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  header {
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 1rem;
  }
  nav {
    flex-direction: column;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 2.6rem;
  }
  .description {
    font-size: 1.1rem;
  }
  .btn-get-started,
  .btn-signing-main {
    font-size: 1.1rem;
    padding: 0.7rem 1.4rem;
  }
  .lang-switch img {
    width: 28px;
  }
}
