*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins', sans-serif;
  background:#0f172a;
  color:white;
  overflow-x:hidden;
}

body::before{
  content:'';
  position:fixed;
  width:500px;
  height:500px;
  background:#2563eb;
  filter:blur(180px);
  opacity:0.15;
  top:-100px;
  left:-100px;
  z-index:-1;
}

header{
  width:100%;
  padding:25px 10%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
  background:#0f172add;
  backdrop-filter:blur(10px);
  transition:0.3s;
}

.scroll-header{
  background:#0f172a;
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.logo{
  font-size:24px;
  font-weight:700;
  color:#3b82f6;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  transition:0.3s;
}

.logo:hover{
  transform:scale(1.05);
  text-shadow:0 0 18px rgba(59,130,246,0.6);
}

.logo span{
  font-size:20px;
  color:#93c5fd;
  animation:codePulse 1.5s infinite;
}

nav{
  display:flex;
  gap:25px;
}

nav a{
  color:white;
  text-decoration:none;
  transition:0.3s;
  padding:10px 14px;
  border-radius:999px;
  animation:floatNav 3s ease-in-out infinite;
}

nav a:nth-child(2){
  animation-delay:0.2s;
}

nav a:nth-child(3){
  animation-delay:0.4s;
}

nav a:nth-child(4){
  animation-delay:0.6s;
}

@keyframes floatNav{
  0%, 100%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-5px);
  }
}


nav a:hover{
  color:#3b82f6;
  background:#1e293b;
  transform:translateY(-4px);
  box-shadow:0 0 20px rgba(59,130,246,0.25);
}

.hero{
  min-height:100vh;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:130px 10% 80px;
  gap:60px;
}

.hero-text{
  max-width:600px;
}

.hero-text h1{
  font-size:58px;
  margin-bottom:18px;
  letter-spacing:-2px;
  line-height:1.12;
  max-width:680px;
}


.hero-text h2{
  color:#3b82f6;
  margin-bottom:20px;
  font-size:36px;
  line-height:1.4;
}

.hero-text p{
  color:#cbd5e1;
  line-height:1.8;
  margin-bottom:30px;
}

.buttons{
  display:flex;
  gap:20px;
}

.btn,
.btn-outline{
  padding:15px 30px;
  border-radius:12px;
  color:white;
  text-decoration:none;
  transition:0.3s;
  font-weight:600;
}

.btn{
  background:linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow:0 0 25px rgba(59,130,246,0.25);
}

.btn:hover{
  transform:translateY(-4px);
  box-shadow:0 0 35px rgba(59,130,246,0.45);
}

.btn-outline{
  border:1px solid #3b82f6;
  background:rgba(15,23,42,0.5);
}

.btn-outline:hover{
  background:#3b82f6;
  transform:translateY(-4px);
  box-shadow:0 0 30px rgba(59,130,246,0.35);
}

.hero-image{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

#matrix{
  position:absolute;
  width:520px;
  height:520px;
  border-radius:30px;
  opacity:0.25;
  z-index:0;
}

.hero-image img{
  position:relative;
  width:380px;
  border-radius:20px;
  box-shadow:0 0 40px rgba(59,130,246,0.25);
  z-index:2;
  transition:transform 0.15s ease, box-shadow 0.3s ease;
  transform-style:preserve-3d;
}
section{
  padding:120px 10%;
}

section h2{
  font-size:40px;
  margin-bottom:40px;
  color:#3b82f6;
}

.sobre-content{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:50px;
  align-items:center;
}

.section-tag{
  display:inline-block;
  margin-bottom:16px;
  color:#93c5fd;
  background:#1e293b;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
}

.sobre h2{
  font-size:44px;
  line-height:1.15;
  max-width:620px;
}

.sobre p{
  max-width:700px;
  line-height:1.8;
  color:#cbd5e1;
}

.sobre-cards{
  display:grid;
  gap:18px;
}

.sobre-cards div{
  background:#1e293b;
  padding:22px;
  border-radius:18px;
  border:1px solid #334155;
  transition:0.3s;
}

.sobre-cards div:hover{
  transform:translateX(8px);
  border-color:#3b82f6;
  box-shadow:0 0 25px rgba(59,130,246,0.18);
}

.sobre-cards strong{
  color:#3b82f6;
  font-size:18px;
}

.sobre-cards p{
  margin-top:8px;
  color:#cbd5e1;
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.card{
  background:#1e293b;
  border-radius:20px;
  overflow:hidden;
  transition:0.3s;
  cursor:pointer;
  border:1px solid transparent;
  height:100%;
}

.card:hover{
  transform:translateY(-12px) scale(1.02);
  box-shadow:0 0 30px rgba(59,130,246,0.25);
  border:1px solid #3b82f6;
}

.card img{
  width:100%;
  height:auto;
  max-height:220px;
  object-fit:contain;
  background:#0f172a;
}

.card-link{
  text-decoration:none;
  color:inherit;
  display:block;
}

.card h3{
  padding:20px 20px 10px;
}

.card p{
  padding:0 20px 20px;
  color:#cbd5e1;
}

.project-note{
  grid-column:1 / -1;
  margin-top:10px;
  padding:26px;
  border-radius:20px;
  background:linear-gradient(135deg, #1e293b, #0f172a);
  border:1px solid #334155;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:24px;
  box-shadow:0 0 25px rgba(59,130,246,0.08);
}

.project-note strong{
  color:#3b82f6;
  font-size:18px;
}

.project-note p{
  margin-top:8px;
  color:#cbd5e1;
  line-height:1.6;
}

.badge{
  display:inline-block;
  margin:0 20px 20px;
  padding:8px 14px;
  border-radius:999px;
  background:#334155;
  color:#93c5fd;
  font-size:14px;
}

.tech-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.tech-card{
  background:#1e293b;
  border-radius:20px;
  padding:28px;
  border:1px solid transparent;
  transition:0.3s;
}

.tech-card:hover{
  transform:translateY(-10px);
  border-color:#3b82f6;
  box-shadow:0 0 25px rgba(59,130,246,0.2);
}

.tech-card h3{
  color:#3b82f6;
  margin-bottom:12px;
}

.tech-card p{
  color:#cbd5e1;
  line-height:1.6;
}

.contato p{
  margin-bottom:20px;
}

.links{
  display:flex;
  gap:20px;
}

.links a{
  color:#3b82f6;
  text-decoration:none;
}

footer{
  padding:30px;
  text-align:center;
  border-top:1px solid #1e293b;
  color:#94a3b8;
}

.hidden{  
  opacity:0;  
  transform:translateY(40px);  
  transition:all 0.8s ease;  
}  
  
.show{  
  opacity:1;  
  transform:translateY(0);  
}

@media(max-width:900px){
  .hero{
    flex-direction:column;
    text-align:center;
    padding-top:150px;
  }

  .hero-text h1{
    font-size:50px;
  }

  .buttons{
    justify-content:center;
    flex-wrap:wrap;
  }

  .hero-image img{
    width:280px;
    margin-top:40px;
  }

  nav{
    display:none;
  }
}
.sobre-techs{
  margin-top:80px;
}

.contato-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.contato h2{
  font-size:52px;
  line-height:1.1;
  margin:18px 0;
}

.contato p{
  color:#cbd5e1;
  max-width:500px;
  line-height:1.8;
}

.contato-right{
  display:grid;
  gap:20px;
}

.contact-card{
  background:#1e293b;
  border:1px solid transparent;
  padding:24px;
  border-radius:18px;
  color:white;
  text-decoration:none;
  font-size:18px;
  transition:0.3s;
}

.contact-card:hover{
  transform:translateX(10px);
  border-color:#3b82f6;
  box-shadow:0 0 25px rgba(59,130,246,0.2);
}
.flip-card{
  background:transparent;
  height:180px;
  perspective:1000px;
}

.flip-card-inner{
  position:relative;
  width:100%;
  height:100%;
  transition:transform 0.8s;
  transform-style:preserve-3d;
}

.flip-card:hover .flip-card-inner{
  transform:rotateY(180deg);
}

.flip-card-front,
.flip-card-back{
  position:absolute;
  width:100%;
  height:100%;
  backface-visibility:hidden;

  background:#1e293b;
  border-radius:20px;
  padding:28px;
  border:1px solid transparent;

  display:flex;
  flex-direction:column;
  justify-content:center;
}

.flip-card-front{
  z-index:2;
}

.flip-card-back{
  transform:rotateY(180deg);
  border-color:#3b82f6;
  box-shadow:0 0 25px rgba(59,130,246,0.2);
}

.flip-card h3{
  color:#3b82f6;
  margin-bottom:12px;
}

.flip-card p{
  color:#cbd5e1;
  line-height:1.6;
}

@keyframes codePulse{
  0%,100%{
    opacity:1;
    transform:scale(1);
  }

  50%{
    opacity:0.6;
    transform:scale(1.15);
  }
}

.logo{
  position:relative;
  cursor:pointer;
}

.logo-particle{
  position:fixed;
  width:6px;
  height:6px;
  background:#3b82f6;
  border-radius:2px;
  pointer-events:none;
  z-index:9999;
  box-shadow:0 0 10px rgba(59,130,246,0.8);
  animation:particleFall 0.8s forwards;
}

@keyframes particleFall{
  to{
    transform:translate(var(--x), var(--y)) rotate(180deg);
    opacity:0;
  }
}