:root {
  --bg-color: #ffffff;
  --text-color: #2d3748;
  --gradient-1: #e77f67;
  --gradient-2: #63cdda;
  --gradient-3: #818cf8;
  --shadow-color: rgba(79, 70, 229, 0.1);
}

[data-theme="dark"] {
  --bg-color: #1a1c2e;
  --text-color: #e2e8f0;
  --gradient-1: #9f7aea;
  --gradient-2: #7ab8ea;
  --gradient-3: #7aeac5;
  --shadow-color: rgba(0, 0, 0, 0.2);
}

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

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: "Outfit", sans-serif;
  min-height: 100vh;
  display: flex;
  transition: all 0.3s ease;
}

a {
  color: var(--gradient-1);
  text-decoration: none;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  padding: 4rem;
  max-width: 1200px;
  margin: auto;
}

.theme-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: linear-gradient(45deg, var(--gradient-1), var(--gradient-2));
  border: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 20px var(--shadow-color);
}

h1 {
  font-family: "Syne", sans-serif;
  font-size: 6rem;
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.1;
  background: linear-gradient(
    90deg,
    var(--gradient-1),
    var(--gradient-2),
    var(--gradient-3)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: fadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    textShine 3s linear infinite;
  opacity: 0;
  transform: translateY(30px);
}

p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s;
}

.highlight {
  font-family: "Syne", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  background: linear-gradient(
    90deg,
    var(--gradient-2),
    var(--gradient-3),
    var(--gradient-1)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.4s,
    textShine 3s linear infinite;
}

.features {
  margin-top: 4rem;
  position: relative;
  height: 4rem;
}

.feature {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
}

.feature.active {
  opacity: 1;
  transform: translateX(0);
}

.feature span {
  background: linear-gradient(90deg, var(--gradient-3), var(--gradient-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: textShine 3s linear infinite;
  font-weight: 600;
}
.footer {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 2;
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.7;
  background: var(--bg-color);
}

@media (max-width: 768px) {
  .content {
    padding: 2rem;
  }
  h1 {
    font-size: 3rem;
  }
  .highlight {
    font-size: 2rem;
  }
  p {
    font-size: 1.25rem;
  }
}

@keyframes textShine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .content {
    padding: 2rem;
  }
  h1 {
    font-size: 3rem;
  }
  .highlight {
    font-size: 2rem;
  }
  p {
    font-size: 1.25rem;
  }
}
