*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;}

     
.image-gradient{
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}

.layer-blur{
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px white;
    rotate: -30deg;
    z-index: -1;}

.container{
    width:100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

header{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 5rem;
    z-index: 999;
}

header h1{
    margin: 0;
    font-size: 3rem;
    font-weight: 300}

nav{
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
}

nav a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit
}

nav a:hover {
    color: #a7a7a7;
    }

.btn-signing{
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.btn-signing:hover{
    background-color: white
}

main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh -6rem);
}

.content{
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
}

.tag-box{
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #ff6a00, #ee0979);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient{
    to{
        background-position: 200%;
    }
}

.tag-box .tag{
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover{
    color: #5300a0
}

.content h1{
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128,128,128, 0.418)

}

.description{
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: gray
}

.buttons{
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-get-started{
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-get-started:hover{
    background-color: #1a1a1a;

}

/* GRID DE CONTATO */
.contact-grid {
    display: flex;
    justify-content: center;
}

/* CARD DE CONTATO */
.contact-card {
    max-width: 600px;
    width: 100%;
}

/* FORMULÁRIO */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #7f5af0;
    box-shadow: 0 0 0 2px rgba(127, 90, 240, 0.2);
}

/* BOTÃO */
.contact-form button {
    margin-top: 0.5rem;
    align-self: flex-start;
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-card {
        max-width: 100%;
    }

    .contact-form button {
        width: 100%;
        text-align: center;
    }
}


.btn-signing-main{
    text-decoration: none;
    background-color: lightgray;
    color: black;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-signing-main:hover{
    background-color: gray;
}                              

.robot-3d{
    position: absolute;
    top: 0;
    right: -20%;
}

/* =======================
   PROJECTS SECTION
======================= */

.projects-section{
    padding: 8rem 5rem;
    position: relative;
    z-index: 2;
}

.projects-title{
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 4rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* GRID */
.projects-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

/* CARD */
.project-card{
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.project-card:hover{
    transform: translateY(-10px);
}

/* GRADIENT BORDER */
.project-border{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        #ff6a00,
        #ee0979,
        #5300a0,
        #00c6ff
    );
    background-size: 300%;
    animation: animationGradient 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-border{
    opacity: 1;
}

/* INNER CONTENT */
.project-content{
    position: relative;
    background-color: black;
    border-radius: 22px;
    padding: 2rem;
    height: 100%;
    z-index: 1;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

/* TITLE */
.project-content h3{
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

/* DESCRIPTION */
.project-content p{
    color: gray;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* TAGS */
.project-tags{
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.project-tags span{
    border: 1px solid #2a2a2a;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: 0.3s ease;
}

.project-card:hover .project-tags span{
    border-color: #a7a7a7;
}

/* ACTIONS */
.project-actions{
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s ease;
}

.project-card:hover .project-actions{
    opacity: 1;
    transform: translateY(0);
}

.project-actions a{
    text-decoration: none;
    padding: 0.5rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.project-actions a:hover{
    background-color: white;
    color: black;
}

@media (max-width: 1300px){
    header{
        padding: 1rem 0.5rem;
    }

    .content{
        margin-top: 85%;
    }

    .robot-3d{
        scale: 0.8;
        top: -20%;
        right: 2%;
    }
}

@media (max-width: 768px){
    header{
        padding: 1rem 0.1rem;
    }

    nav{
        display: none;
    }

    header h1{
        font-size: 2rem;
    }
    .btn-signing{
        padding: 0.6rem 1.5rem;
    }

    .content{
        margin-top: 25rem;
    }

    .robot-3d{
        scale: 0.5;
        top: -25%;
        right: 0;
    }

    .content{
        max-width: 30rem;
        margin-left: 10%;
    }

    .tag-box{
        width: 12rem;

    }

    .content h1{
        font-size: 2.5rem;
    }

    .description{
        font-size: 1rem;

    }

    .btn-get-started{
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .btn-signing-main{
        font-size: 0.8rem;
        padding: 0.8rem 2rem;
    }

}