:root {
  --purple-dark: #3A1078;
  --purple-neon: #9D4EDD;
  --purple-light: #C77DFF;
  --black: #0D0D0D;
  --dark-gray: #1A1A1A;
  --gray-light: #E6E6E6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--black);
  color: var(--gray-light);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Neural network background effect */
.neural-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
  background-color: var(--black);
  background-image: 
    radial-gradient(var(--purple-neon) 1px, transparent 1px),
    radial-gradient(var(--purple-dark) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

/* Cursor effect */
.cursor-glow {
  position: fixed;
  pointer-events: none;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.1) 0%, rgba(157, 78, 221, 0) 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: screen;
}

/* Neural synapses */
.synapses {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 8%;
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(157, 78, 221, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

/* Ajuste para o novo logo SVG */
.logo svg {
  width: 48px;
  height: 48px;
  margin-right: 8px;
  filter: drop-shadow(0px 0px 3px rgba(157, 78, 221, 0.8));
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.logo:hover svg {
  transform: scale(1.05);
}

.logo-text {
  white-space: nowrap;
  display: inline-block;
  margin-left: 0.3rem;
  color: white; /* Garantir que o texto padrão seja branco */
  vertical-align: middle;
  font-size: 1.6rem;
}

/* Apenas o span dentro do logo-text (parte "lopes") será roxa */
.logo-text span {
  color: var(--purple-neon);
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 8%;
  overflow: hidden;
  flex: 1;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding-top: 2rem;
}

/* Floating elements animation */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  background: linear-gradient(135deg, rgba(58, 16, 120, 0.3), rgba(157, 78, 221, 0.2));
  border-radius: 50%;
  filter: blur(5px);
  opacity: 0.5;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
  }
}


.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 .highlight {
  background: linear-gradient(to right, var(--purple-neon), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--purple-neon), transparent);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Dynamic text effect */
.dynamic-text-container {
  min-height: 2.5rem;
  margin: 2rem 0;
  position: relative;
}

.dynamic-text {
  position: relative;
  display: inline-block;
  color: var(--purple-neon);
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dynamic-text::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 3px;
  height: 100%;
  background-color: var(--purple-neon);
  animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Tech Icons */
.tech-icons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.tech-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 16, 120, 0.3);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 15px;
  font-size: 1.5rem;
  color: var(--gray-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-icon::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  background: var(--purple-neon);
  filter: blur(15px);
  opacity: 0;
  transition: all 0.5s ease;
}

.tech-icon:hover {
  transform: translateY(-5px) scale(1.1);
  color: white;
  background: rgba(58, 16, 120, 0.6);
  border-color: var(--purple-neon);
  box-shadow: 0 5px 15px rgba(157, 78, 221, 0.4);
}

.tech-icon:hover::before {
  opacity: 1;
  animation: rotate-glow 3s infinite linear;
}

@keyframes rotate-glow {
  0% {
    transform: rotate(0deg) translateX(0) translateY(0);
  }
  100% {
    transform: rotate(360deg) translateX(55px) translateY(55px);
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(13, 13, 13, 0.9);
  border-top: 1px solid rgba(157, 78, 221, 0.2);
  font-size: 0.9rem;
  color: #777;
  position: relative;
  z-index: 5;
}

/* Footer Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-icon {
  color: var(--gray-light);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(58, 16, 120, 0.3);
  border: 1px solid rgba(157, 78, 221, 0.2);
}

.social-icon:hover {
  color: white;
  transform: translateY(-3px);
  background: rgba(157, 78, 221, 0.3);
  box-shadow: 0 3px 10px rgba(157, 78, 221, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 0 5%;
    justify-content: center;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .dynamic-text {
    font-size: 1.4rem;
  }
  
  .hero p {
    text-align: center;
    padding: 0 1rem;
  }
  
  .tech-icons {
    gap: 1rem;
    margin-top: 2.5rem;
  }
  
  .tech-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
}

@media (max-width: 480px) {
  nav {
    padding: 1rem 5%;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    padding: 0 0.5rem;
  }
  
  .hero p {
    font-size: 0.95rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
  }
  
  .dynamic-text {
    font-size: 1.1rem;
  }
  
  .dynamic-text-container {
    min-height: 1.5rem;
    margin: 1.5rem 0;
  }

  .tech-icons {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .tech-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
}