*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#050505;
    color:white;
    font-family:'Segoe UI',sans-serif;
    overflow-x:hidden;
}

body::before{
    content:'';
    position:fixed;
    inset:0;

    background:
    linear-gradient(rgba(0,255,136,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.05) 1px, transparent 1px);

    background-size:40px 40px;

    pointer-events:none;
    z-index:-1;
}

.navbar{
    position:fixed;
    width:100%;
    top:0;
    left:0;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px 8%;

    backdrop-filter:blur(10px);

    border-bottom:1px solid #111;

    z-index:999;
}

.logo{
    font-size:1.6rem;
    font-weight:700;
    color:#00ff88;
}

.navbar ul{
    display:flex;
    gap:40px;
    list-style:none;
}

.navbar a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.navbar a:hover{
    color:#00ff88;
}

.hero{
    min-height:100vh;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 8%;
}

.hero-left{
    max-width:600px;
}

.tag{
    color:#00ff88;
    letter-spacing:3px;
    font-size:.9rem;
}

.hero h1{
    margin-top:20px;
    font-size:7rem;
    line-height:1;
}

.hero h1 span{
    color:#00ff88;
}

.hero p{
    margin-top:25px;
    font-size:1.4rem;
    line-height:1.8;
    color:#ccc;
}

.btn{
    display:inline-block;
    margin-top:40px;
    padding:18px 40px;
    border:1px solid #00ff88;
    color:#00ff88;
    text-decoration:none;
    transition:.3s;
}

.btn:hover{
    background:#00ff88;
    color:black;
    box-shadow:0 0 30px #00ff88;
}

.logo-circle{
    width:320px;
    height:320px;

    border-radius:50%;
    border:2px solid #00ff88;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:5rem;
    font-weight:700;

    color:#00ff88;

    box-shadow:
    0 0 30px #00ff88,
    0 0 80px rgba(0,255,136,.4);
}

section{
    padding:120px 8%;
}

h2{
    color:#00ff88;
    margin-bottom:30px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.card{
    background:#0c0c0c;
    border:1px solid #1a1a1a;
    padding:30px;
    transition:.3s;
}

.card:hover{
    border-color:#00ff88;
    transform:translateY(-8px);
    box-shadow:0 0 20px rgba(0,255,136,.2);
}

.card h3{
    margin-bottom:15px;
    color:#00ff88;
}

.work-card{
    background:#0c0c0c;
    border:1px solid #1a1a1a;
    padding:40px;
    max-width:700px;
}

.work-card h3{
    color:#00ff88;
    margin-bottom:20px;
}

.screenshots{
    display:flex;
    gap:20px;
    overflow-x:auto;
    margin-top:30px;
    padding-bottom:15px;
}

.screenshots::-webkit-scrollbar{
    height:8px;
}

.screenshots::-webkit-scrollbar-thumb{
    background:#00ff88;
    border-radius:999px;
}

.screenshots img{
    height:350px;
    width:auto;

    border-radius:15px;
    border:1px solid #1a1a1a;

    background:#0c0c0c;

    cursor:pointer;

    transition:.3s;
}

.screenshots img:hover{
    transform:translateY(-8px);

    border-color:#00ff88;

    box-shadow:
    0 0 20px rgba(0,255,136,.3);
}

#contact p{
    margin-top:10px;
    color:#ddd;
}

.modal{
    display:none;

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.95);

    z-index:99999;

    justify-content:center;
    align-items:center;
}

.modal img{
    max-width:90%;
    max-height:90%;

    border-radius:20px;

    border:1px solid #00ff88;

    box-shadow:
    0 0 30px rgba(0,255,136,.5);
}

.close{
    position:absolute;

    top:20px;
    right:40px;

    color:white;

    font-size:50px;

    cursor:pointer;
}

@media(max-width:900px){

    .navbar{
        padding:15px 8%;
    }

    .logo{
        font-size:1.3rem;
    }

    .navbar ul{
        display:none;
    }

    .hero{
        flex-direction:column;
        justify-content:flex-start;

        text-align:center;

        min-height:auto;

        padding-top:180px;
        padding-bottom:80px;

        gap:40px;
    }

    .hero-left{
        max-width:100%;
    }

    .tag{
        font-size:.8rem;
        letter-spacing:2px;
    }

    .hero h1{
        font-size:3.5rem;
        margin-top:15px;
    }

    .hero p{
        font-size:1.1rem;
        line-height:1.7;
    }

    .btn{
        width:100%;
        max-width:320px;
    }

    .logo-circle{
        width:220px;
        height:220px;
        font-size:3rem;
    }

    section{
        padding:80px 8%;
    }

    .screenshots img{
        height:250px;
    }

    .close{
        top:10px;
        right:20px;
        font-size:40px;
    }
}
