
:root{
    --bg:#0f172a;
    --card:#1e293b;
    --text:#f8fafc;
    --muted:#94a3b8;
    --accent:#38bdf8;
    --border:#334155;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
}

.container{
    width:min(1100px,90%);
    margin:auto;
}

nav{
    position:sticky;
    top:0;
    backdrop-filter:blur(10px);
    background:rgba(15,23,42,.85);
    border-bottom:1px solid var(--border);
    z-index:100;
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    font-weight:700;
    font-size:1.2rem;
}

nav ul{
    display:flex;
    gap:24px;
    list-style:none;
}

nav a{
    color:var(--text);
    text-decoration:none;
}

.hero{
    min-height:85vh;
    display:flex;
    align-items:center;
}

.subtitle{
    color:var(--accent);
    font-weight:600;
    margin-bottom:10px;
}

.hero h1{
    font-size:clamp(2.5rem,7vw,5rem);
    line-height:1.1;
    margin-bottom:20px;
}

.hero-text{
    max-width:700px;
    color:var(--muted);
    margin-bottom:35px;
}

.buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.btn{
    padding:14px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

.primary{
    background:var(--accent);
    color:#001018;
}

.secondary{
    border:1px solid var(--border);
    color:white;
}

.btn:hover{
    transform:translateY(-2px);
}

section{
    padding:90px 0;
}

h2{
    margin-bottom:30px;
    font-size:2rem;
}

.card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:20px;
    padding:25px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.grid .card h3{
    margin-bottom:10px;
}

.skills{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.skill span{
    display:block;
    margin-bottom:8px;
}

.bar{
    height:12px;
    background:#111827;
    border-radius:999px;
    overflow:hidden;
}

.bar div{
    height:100%;
    background:var(--accent);
}

.center{
    text-align:center;
}

footer{
    padding:30px 0;
    text-align:center;
    color:var(--muted);
    border-top:1px solid var(--border);
}

@media (max-width:768px){

    nav ul{
        gap:12px;
        font-size:.9rem;
    }

    .hero{
        min-height:70vh;
    }

    .buttons{
        flex-direction:column;
    }

    .btn{
        text-align:center;
    }
}