body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(135deg, #000000, #3533CD);
  color: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}

.logo {
  height: 40px;
  object-fit: contain;
}

nav.centered-nav {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: clamp(0.8rem, 2vw, 1rem);
  margin: 0 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  color: #6584FF;
  transform: scale(1.1);
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.features-link {
  text-decoration: none;
  color: #ffffff;
  font-size: clamp(0.8rem, 2vw, 1rem);
  margin: 0 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  padding: 0.5rem 1rem;
}

.features-link:hover {
  color: #6584FF;
  transform: scale(1.1);
}

.features-dropdown {
  display: grid;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(23, 23, 30, 0.8);
  backdrop-filter: blur(16px);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  width: max-content;
  min-width: 600px;
  max-width: 90vw;
  z-index: 99;
  grid-template-columns: repeat(3, minmax(150px, 0.7fr));
  gap: 1.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-container:hover .features-dropdown,
.features-dropdown:hover {
  opacity: 1;
  pointer-events: auto;
}

.feature-box {
  background: rgba(35, 35, 50, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.feature-box:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(40, 40, 60, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.feature-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 0.25rem;
  filter: brightness(1.2);
}

.feature-box h4 {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 600;
  color: #ffffff;
}

.feature-box p {
  font-size: 0.75rem;
  color: #bbbbbb;
  margin: 0;
  line-height: 1.3;
}

.sign-in-btn {
  background: #ffffff;
  color: #000000;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  /* height: 20px; */
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  font-size: 0.9rem;
}

.sign-in-btn:hover {
  background: #6584FF;
  color: #ffffff;
  transform: scale(1.05);
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  height: 100vh;
  width: 100%;
  padding-left: 2rem;
  box-sizing: border-box;
  text-align: left;
  gap: 2rem;
}

.hero-image-stack {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  perspective: 1000px;
  padding-right: 9rem;
}

.floating-image {
  width: 270px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.img-1 {
  z-index: 1;
}

.img-2 {
  z-index: 2;
}

.img-3 {
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hero-text p {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: #d3d3d3;
}

.hero-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-start;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.hero-buttons a {
  text-decoration: none;
  background: #ffffff;
  color: #000000;
  padding: 0.6rem 1rem;
  font-weight: bold;
  border-radius: 0.5rem;
  transition: background 0.3s ease, transform 0.3s ease;
  font-size: 0.9rem;
}

.hero-buttons a:hover {
  background: #6584FF;
  color: #ffffff;
  transform: translateY(-3px);
}