.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 10%;
    min-height: 85vh;
    gap: 50px;
}

.hero-text h1 {
    font-size: 3rem;
    margin: 0;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-top: 10px;
}

.typewrite {
    color: var(--accent);
    font-weight: bold;
}

.typewrite::after {
    content: "|";
    animation: blink 0.7s step-start infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.bio {
    margin: 20px 0;
    font-size: 1.2rem;
    max-width: 500px;
}

/* Buttons */
.buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    margin-right: 10px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid var(--accent);
    transition: 0.3s ease;
    font-weight: bold;
}

.buttons i {
    margin-right: 8px;
    font-size: 18px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}


.resume-btn {
    background: var(--accent);
    color: white;
}
.resume-btn:hover { transform: scale(1.07); }

.outline-btn {
    color: var(--accent);
    background: transparent;
}
.outline-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.07);
}

/* Hero image + matrix */
.hero-image {
    position: relative;
    width: 350px;
    height: 350px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: 0.4s;
    box-shadow: var(--shadow);
}
.hero-image img:hover { transform: scale(1.05); }

#matrix-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .buttons a {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }
}
