:root {
  --background: #1a1a1a;
  --foreground: #ffffff;
  --primary: #9b87f5;
  --secondary: #7E69AB;
  --accent: #6E59A5;
}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--foreground);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.navbar {
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #D6BCFA;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 2.5rem;
  width: auto;
}

.connect-wallet {
  background: rgba(214, 188, 250, 0.1);
  color: #D6BCFA;
  border: 1px solid rgba(214, 188, 250, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1rem;
}

.connect-wallet:hover {
  background: rgba(214, 188, 250, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 188, 250, 0.2);
}

.hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #D6BCFA, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #E5DEFF;
}

.hero-image {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 50%;
  max-width: 600px;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.robot-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(214, 188, 250, 0.3));
}

.features {
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
}

.feature-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.feature-card {
  background: rgba(214, 188, 250, 0.1);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(214, 188, 250, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(214, 188, 250, 0.15);
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #D6BCFA;
  font-size: 1.5rem;
}

.feature-card p {
  color: #E5DEFF;
  font-size: 1.1rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@media (max-width: 1024px) {
  .hero-image {
    position: relative;
    right: 0;
    bottom: 0;
    width: 80%;
    margin: 2rem auto 0;
  }
  
  .hero {
    padding-top: 6rem;
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    width: 100%;
  }
}