:root {
    --bg: #0b0d12;
    --fg: #ffffff;
    --muted: #b0b3c1;
    --accent: #4f8cff;
}

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


body {
    background: var(--bg);
    color: var(--fg);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11,13,18,.6), rgba(11,13,18,.95));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20vh 5vw;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

/* PROJECTS */
.projects {
    padding: 8rem 5vw;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
}

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

.project-card {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 2rem;
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

.project-card h3 {
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.project-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
}

.project-card li {
    font-size: .85rem;
    background: rgba(255,255,255,.06);
    padding: .4rem .7rem;
    border-radius: 6px;
}


/* HOME BUTTON */
.home-button {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;

    padding: 10px 18px;
    border-radius: 999px;

    background: rgba(11, 13, 18, 0.6);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;

    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);

    transition: background 0.3s ease, transform 0.2s ease;
}

.home-button:hover {
    background: rgba(79, 140, 255, 0.85);
    transform: translateY(-2px);
}



/* FOOTER */
.footer {
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}
