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

body {
    font-family: 'Inter', sans-serif;
    background: #0b0b0f;
    color: #eaeaf0;
    line-height: 1.6;
}

.banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 320px;
    overflow: hidden;
    z-index: -1;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    to bottom,
    rgba(11,11,15,0) 0%,
    rgba(11,11,15,0.4) 40%,
    rgba(11,11,15,0.8) 70%,
    #0b0b0f 100%
    );
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
    position: relative;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: 0.2s ease;
}

.avatar:hover {
    transform: translateY(-2px);
}

nav a {
    margin-left: 1.5rem;
    color: #aaa;
    text-decoration: none;
    transition: 0.2s;
}

nav a:hover {
    color: white;
}

.hero {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    color: #aaa;
    max-width: 600px;
}

.buttons {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: white;
    color: black;
}

.btn-secondary {
    border: 1px solid #333;
    color: #ccc;
}

.section {
    margin-top: 5rem;
}

.section h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #111118;
    padding: 1.5rem;
    border-radius: 14px;
    transition: 0.2s;
    border: 1px solid #1c1c25;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #333;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    color: #999;
    font-size: 0.9rem;
}

footer {
    margin-top: 6rem;
    color: #777;
    font-size: 0.9rem;
    text-align: center;
}

.gradient {
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}