@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050816;
    color:#fff;
    overflow-x:hidden;
}

.background-blur::before{
    content:'';
    position:fixed;
    top:-200px;
    right:-100px;
    width:500px;
    height:500px;
    background:#06b6d4;
    opacity:.15;
    filter:blur(180px);
    border-radius:50%;
    z-index:-1;
}

.background-blur::after{
    content:'';
    position:fixed;
    bottom:-200px;
    left:-100px;
    width:500px;
    height:500px;
    background:#7c3aed;
    opacity:.15;
    filter:blur(180px);
    border-radius:50%;
    z-index:-1;
}

header{
    width:100%;
    padding:22px 8%;
    position:fixed;
    top:0;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    backdrop-filter:blur(14px);
    background:rgba(0,0,0,.2);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#22d3ee;
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#22d3ee;
}

.menu-mobile{
    display:none;
}

.hero{
    min-height:100vh;
    padding:150px 8%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

.hero-text{
    flex:1;
}

.badge{
    display:inline-flex;
    padding:10px 18px;
    border-radius:50px;
    border:1px solid rgba(34,211,238,.3);
    background:rgba(34,211,238,.1);
    color:#67e8f9;
    margin-bottom:25px;
}

.hero h1{
    font-size:72px;
    line-height:1.1;
    margin-bottom:30px;
}

.hero p{
    color:#cbd5e1;
    line-height:1.8;
    max-width:620px;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn{
    padding:16px 30px;
    border-radius:18px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.primary{
    background:#22d3ee;
    color:#000;
}

.primary:hover{
    transform:translateY(-5px);
}

.secondary{
    border:1px solid rgba(255,255,255,.1);
    color:#fff;
    background:rgba(255,255,255,.04);
}

.hero-card{
    flex:1;
    display:flex;
    justify-content:center;
}

.glass-card{
    width:420px;
    border-radius:40px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(20px);
    padding:40px;
    box-shadow:0 20px 80px rgba(0,0,0,.4);
}

.card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.code-icon{
    width:60px;
    height:60px;
    border-radius:20px;
    background:#22d3ee;
    color:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.stack-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.stack-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px;
    border-radius:20px;
    background:rgba(0,0,0,.2);
    border:1px solid rgba(255,255,255,.05);
}

.dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#22d3ee;
}

section{
    padding:120px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    color:#22d3ee;
    text-transform:uppercase;
    letter-spacing:4px;
}

.section-title h2{
    font-size:54px;
    margin-top:15px;
}

.sobre-content{
    max-width:900px;
    margin:auto;
    text-align:center;
    color:#cbd5e1;
    line-height:2;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.project-card{
    border-radius:35px;
    overflow:hidden;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    transition:.4s;
}

.project-card:hover{
    transform:translateY(-12px);
}

.project-image{
    height:240px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, rgba(34,211,238,.2), rgba(124,58,237,.2));
    color:rgba(255,255,255,.15);
    font-size:48px;
    font-weight:700;
}

.project-content{
    padding:35px;
}

.project-content h3{
    font-size:28px;
    margin-bottom:18px;
}

.project-content p{
    color:#cbd5e1;
    line-height:1.8;
}

.tags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:30px 0;
}

.tags span{
    padding:10px 16px;
    border-radius:50px;
    background:rgba(34,211,238,.1);
    color:#67e8f9;
    border:1px solid rgba(34,211,238,.15);
    font-size:13px;
}

.project-btn{
    display:inline-block;
    width:100%;
    text-align:center;
    padding:16px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    text-decoration:none;
    color:#fff;
    transition:.3s;
}

.project-btn:hover{
    background:rgba(34,211,238,.1);
}

.timeline-container{
    max-width:900px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.timeline-item{
    padding:30px;
    border-radius:24px;
    background:rgba(255,255,255,.04);
    border-left:4px solid #22d3ee;
}

.timeline-item strong{
    color:#22d3ee;
}

.contact-box{
    max-width:1000px;
    margin:auto;
    text-align:center;
    padding:70px;
    border-radius:40px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
}

.contact-box span{
    color:#22d3ee;
    text-transform:uppercase;
    letter-spacing:4px;
}

.contact-box h2{
    font-size:54px;
    margin:25px 0;
}

.contact-box p{
    color:#cbd5e1;
    line-height:1.8;
    max-width:700px;
    margin:auto;
}

.social-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
    margin-top:40px;
}

.social-buttons a{
    padding:18px 30px;
    border-radius:18px;
    text-decoration:none;
    color:#fff;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
}

.social-buttons a:hover{
    background:#22d3ee;
    color:#000;
}

footer{
    padding:35px;
    text-align:center;
    color:#94a3b8;
    border-top:1px solid rgba(255,255,255,.05);
}

.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:1s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

@media(max-width:980px){

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero h1{
        font-size:48px;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    nav{
        position:fixed;
        top:90px;
        right:-100%;
        width:280px;
        height:320px;
        background:#0f172a;
        flex-direction:column;
        padding:40px;
        transition:.4s;
    }

    nav.active{
        right:0;
    }

    .menu-mobile{
        display:block;
        font-size:28px;
        cursor:pointer;
    }

    .glass-card{
        width:100%;
    }

    .section-title h2,
    .contact-box h2{
        font-size:38px;
    }

}
