* {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
  color: #fff;
  overflow-x: hidden;
}

.hero {
  margin: 100px 0;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 20px;
  color: #a5b4fc;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.ai-visualization {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 70%
  );
  border-radius: 20px;
  overflow: hidden;
}

.molecule {
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(139, 92, 246, 0.3)
  );
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(5px);
}

.molecule::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
}

.molecule:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}
.molecule:nth-child(2) {
  top: 60%;
  left: 10%;
  animation-delay: 1s;
}
.molecule:nth-child(3) {
  top: 30%;
  right: 15%;
  animation-delay: 2s;
}
.molecule:nth-child(4) {
  bottom: 15%;
  right: 25%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.neural-network {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
}

.node {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.node::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.node:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}
.node:nth-child(2) {
  top: 40%;
  left: 0;
  animation-delay: 0.3s;
}
.node:nth-child(3) {
  top: 40%;
  right: 0;
  animation-delay: 0.6s;
}
.node:nth-child(4) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.9s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.features {
  padding: 80px 0;
  background: rgba(15, 23, 41, 0.5);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}

.feature-card p {
  color: #a5b4fc;
  line-height: 1.6;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.5);
}

.section-title {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 20px;
  color: #a5b4fc;
  max-width: 870px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 36px;
  }
}
