@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    scroll-behavior: smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#09090f;
    color:#fff;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

#typing-id::after {
    content: "|";
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

header{
    position:fixed;
    width:100%;
    top:0;
    z-index:1000;
    backdrop-filter:blur(20px);
    background:rgba(9,9,15,.6);
}

nav{
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:24px;
}

.logo{
    font-weight:800;
    letter-spacing:2px;
}

nav ul{
    display:flex;
    gap:32px;
    list-style:none;
}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
    padding:0 24px;
}

.hero-content{
    max-width:900px;
    z-index:2;
}

.parent-content-title {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    gap: 100px;
    padding-bottom: 100px;
    align-items: center;
}

.content-wrapper-title { 
    grid-area: 1 / 1 / 2 / 2; 
}

.content-wrapper-image { 
    grid-area: 1 / 2 / 2 / 3; 
}

.content-wrapper-image img{ 
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
}

.badge{
    display:inline-block;
    padding:10px 18px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:999px;
    margin-bottom:30px;
    background:rgba(255,255,255,.05);
}

.hero h1{
    font-size: 60px;
    font-weight: 800;
}

.hero p{
    color:#bdbdc7;
    max-width:700px;
    margin:auto;
    font-size:1.1rem;
    line-height:1.8;
}

.hero-buttons{
    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary{
    background:linear-gradient(
        135deg,
        #8b5cf6,
        #c084fc
    );
    padding:16px 32px;
    border-radius:12px;
    font-weight:600;
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.15);
    padding:16px 32px;
    border-radius:12px;
}

.hero-glow{
    position:absolute;
    width:700px;
    height:700px;
    border-radius:50%;
    background:#8b5cf6;
    filter:blur(250px);
    opacity:.25;
}

.stats{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    padding:100px 24px;
}

.stat{
    text-align:center;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:40px;
}

.stat h2{
    font-size:3rem;
    margin-bottom:10px;
}

.projects,
.about,
.cta{
    max-width:1200px;
    margin:auto;
    padding:80px 24px;
}

.cta-text{
    color:#bdbdc7;
    margin-top:50px;
    line-height:1.9;
    text-align: center;
}

.section-title span{
    color:#a78bfa;
    text-transform:uppercase;
    letter-spacing:2px;
}

.section-title h2{
    font-size:3rem;
    margin-top:12px;
}

.project-grid{
    margin-top:60px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.card{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    overflow:hidden;
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.project-image{
    height:250px;
    background:linear-gradient(
        135deg,
        #6d28d9,
        #c084fc
    );
}

.card h3{
    padding:24px 24px 12px;
}

.card p{
    padding:0 24px 24px;
    color:#bdbdc7;
}

.about p{
    color:#bdbdc7;
    margin-top:30px;
    max-width:800px;
    line-height:1.9;
}

.cta{
    text-align:center;
}

.cta h2{
    font-size:4rem;
    max-width:900px;
    margin:auto;
}

.cta .btn-primary{
    display:inline-block;
    margin-top:40px;
}

footer{
    padding:40px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    color:#8f8f99;
}

@media(max-width:768px){

    nav ul{
        display:none;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:4rem;
    }

    .cta h2{
        font-size:2.5rem;
    }

    .parent-content-title {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(2, 2fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        gap: 40px;
        padding-bottom: 40px;
        align-items: center;
    }

    .content-wrapper-title { 
        grid-area: 2 / 1 / 3 / 2; 
    }

    .content-wrapper-image { 
        grid-area: 1 / 1 / 2 / 2; 
    }

}