@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Inter:wght@400;500;600;700&display=swap');


:root {

    --background: #0f1115;
    --surface: #151a20;
    --surface-light: #1b222b;

    --border: rgba(255,255,255,0.08);

    --text: #f7f7f5;
    --muted: #8b929c;

    --blue: #4aa8ff;
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--background);
    color: var(--text);

    font-family: "Inter", sans-serif;

    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6vw;

    border-bottom: 1px solid var(--border);

    background: rgba(15,17,21,0.8);

    backdrop-filter: blur(20px);

    z-index: 100;
}


.logo {

    font-family: "DM Mono", monospace;

    font-size: 14px;

    letter-spacing: 3px;
}


.logo span {
    color: var(--blue);
}


.navbar nav {

    display: flex;

    gap: 30px;
}


.navbar nav a {

    font-size: 13px;

    color: var(--muted);

    transition: .3s;
}


.navbar nav a:hover {
    color: var(--text);
}


/* HERO */


.hero {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    position: relative;

    padding: 160px 10vw 100px;

    overflow: hidden;
}


.hero::before {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    background: var(--blue);

    opacity: .08;

    filter: blur(150px);

    border-radius: 50%;

    right: -200px;
    top: 100px;
}


.eyebrow {

    font-family: "DM Mono", monospace;

    font-size: 11px;

    letter-spacing: 3px;

    color: var(--blue);

    margin-bottom: 20px;
}


.hero h1 {

    font-size: clamp(70px, 11vw, 160px);

    line-height: .9;

    letter-spacing: -7px;

    max-width: 1000px;
}


.hero h1 span {
    color: transparent;

    -webkit-text-stroke: 1px var(--text);
}


.description {

    max-width: 500px;

    margin-top: 45px;

    color: var(--muted);

    font-size: 18px;
}


.primary-button {

    display: inline-flex;

    align-items: center;

    gap: 25px;

    width: fit-content;

    margin-top: 40px;

    padding: 15px 22px;

    border: 1px solid var(--border);

    background: var(--surface);

    transition: .3s;
}


.primary-button:hover {

    border-color: var(--blue);

    transform: translateY(-3px);
}


.hero-status {

    position: absolute;

    bottom: 40px;

    right: 8vw;

    font-family: "DM Mono", monospace;

    font-size: 11px;

    color: var(--muted);
}


.status-dot {

    display: inline-block;

    width: 7px;
    height: 7px;

    background: var(--blue);

    border-radius: 50%;

    margin-right: 8px;

    box-shadow: 0 0 15px var(--blue);
}


/* SECTIONS */


.section {

    padding: 140px 10vw;

    border-top: 1px solid var(--border);
}


.section-header {

    display: flex;

    gap: 30px;

    margin-bottom: 100px;
}


.section-header > span {

    font-family: "DM Mono", monospace;

    color: var(--muted);

    font-size: 12px;
}


.section-header h2 {

    font-size: clamp(40px, 5vw, 70px);

    letter-spacing: -3px;
}


/* TIMELINE */


.timeline {

    max-width: 1000px;

    margin: auto;
}


.timeline-item {

    display: grid;

    grid-template-columns: 120px 30px 1fr;

    gap: 25px;

    min-height: 250px;

    position: relative;
}


.timeline-year {

    font-family: "DM Mono", monospace;

    color: var(--muted);

    font-size: 13px;

    padding-top: 5px;
}


.timeline-marker {

    width: 11px;
    height: 11px;

    border: 2px solid var(--blue);

    border-radius: 50%;

    position: relative;

    margin-top: 5px;

    background: var(--background);

    z-index: 2;
}


.timeline-item:not(:last-child) .timeline-marker::after {

    content: "";

    position: absolute;

    width: 1px;

    height: 260px;

    background: var(--border);

    left: 3px;

    top: 9px;
}


.timeline-content {

    padding-bottom: 80px;
}


.tag {

    font-family: "DM Mono", monospace;

    font-size: 10px;

    color: var(--blue);

    letter-spacing: 2px;
}


.timeline-content h3 {

    font-size: 32px;

    margin: 12px 0;
}


.timeline-content p {

    max-width: 550px;

    color: var(--muted);
}


.tech-list {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}


.tech-list span {

    padding: 5px 10px;

    border: 1px solid var(--border);

    color: var(--muted);

    font-family: "DM Mono", monospace;

    font-size: 10px;
}


/* PROJECTS */


.projects-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}


.project-card {

    min-height: 400px;

    border: 1px solid var(--border);

    background: var(--surface);

    position: relative;

    transition: .4s;
}


.project-card:hover {

    border-color: rgba(74,168,255,.5);

    transform: translateY(-5px);
}


.project-number {

    position: absolute;

    top: 25px;
    right: 25px;

    font-family: "DM Mono", monospace;

    color: var(--muted);

    font-size: 11px;
}


.project-body {

    padding: 60px 40px;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;
}


.project-category {

    font-family: "DM Mono", monospace;

    font-size: 10px;

    color: var(--blue);

    letter-spacing: 2px;
}


.project-body h3 {

    font-size: 36px;

    margin: 10px 0;
}


.project-body p {

    color: var(--muted);

    max-width: 500px;
}


.project-tech {

    margin-top: 25px;

    color: var(--muted);

    font-family: "DM Mono", monospace;

    font-size: 11px;
}


.project-body a {

    margin-top: 30px;

    color: var(--blue);

    font-size: 13px;
}


/* CERTIFICATES */


.certificate-list {

    max-width: 1000px;

    margin: auto;
}
.certificate {
    position: relative;

    display: grid;
    grid-template-columns: 55px 1fr auto;
    align-items: center;

    padding: 32px 0;

    border-bottom: 1px solid var(--border);

    transition: background .3s ease;
}


/* PREVIEW */

.certificate-preview {

    position: absolute;

    right: 170px;
    top: 50%;

    width: 420px;

    transform:
        translateY(-50%)
        translateX(20px)
        scale(.96);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    z-index: 50;

    transition:
        opacity .3s ease,
        transform .4s cubic-bezier(.16,1,.3,1);
}


/* DOCUMENT */

.certificate-preview img {

    display: block;

    width: 100%;
    height: auto;

    max-height: 520px;

    object-fit: contain;

    border-radius: 3px;

    border: 1px solid rgba(255,255,255,.12);

    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 0 40px rgba(74,168,255,.08);
}


/* HOVER */

.certificate:hover .certificate-preview {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0)
        scale(1);
}

.certificate-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    background: var(--surface);

    overflow: hidden;
}

.certificate-icon img {
    width: 70%;
    height: 70%;

    object-fit: contain;
}


/* LANGUAGES */

/* =========================================================
   LANGUAGES
========================================================= */

.languages-list {
    max-width: 1000px;
    margin: auto;
}


.language-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);

    transition: .3s ease;
}


.language-card:hover {
    padding-left: 15px;
}


.language-main {

    display: flex;

    align-items: center;

    gap: 25px;
}


.language-code {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    background: var(--surface);

    color: var(--blue);

    font-family: "DM Mono", monospace;

    font-size: 13px;

    flex-shrink: 0;
}


.language-info span {

    font-family: "DM Mono", monospace;

    font-size: 10px;

    letter-spacing: 2px;

    color: var(--blue);
}


.language-info h3 {

    margin-top: 5px;

    font-size: 24px;
}


.language-info p {

    margin-top: 5px;

    color: var(--muted);

    font-size: 13px;

    max-width: 600px;
}


.language-link {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--blue);

    font-family: "DM Mono", monospace;

    font-size: 11px;

    white-space: nowrap;
}


.language-link span {
    transition: .3s ease;
}


.language-link:hover span {
    transform: translate(4px, -4px);
}

/* TECHNOLOGIES */


.tech-cloud {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    max-width: 1000px;

    margin: auto;
}


.tech-cloud span {

    padding: 12px 18px;

    border: 1px solid var(--border);

    background: var(--surface);

    font-family: "DM Mono", monospace;

    font-size: 12px;

    transition: .3s;
}


.tech-cloud span:hover {

    border-color: var(--blue);

    color: var(--blue);
}


/* ABOUT */


.about {

    max-width: 1200px;

    margin: auto;
}


.about h2 {

    font-size: clamp(45px, 7vw, 90px);

    max-width: 1000px;

    line-height: 1;

    letter-spacing: -4px;
}


.about h2 span {

    color: transparent;

    -webkit-text-stroke: 1px var(--text);
}


.about > p:last-child {

    max-width: 600px;

    margin-top: 40px;

    color: var(--muted);

    font-size: 18px;
}


/* FOOTER */


footer {

    padding: 120px 10vw 40px;

    border-top: 1px solid var(--border);
}


footer h2 {

    font-size: clamp(50px, 8vw, 120px);

    letter-spacing: -5px;

    line-height: .9;
}


.footer-links {

    display: flex;

    gap: 30px;

    margin-top: 70px;

    font-family: "DM Mono", monospace;

    font-size: 12px;
}


.footer-links a:hover {

    color: var(--blue);
}


.copyright {

    margin-top: 100px;

    color: var(--muted);

    font-family: "DM Mono", monospace;

    font-size: 10px;
}


/* MOBILE */


@media (max-width: 700px) {

    .navbar nav {
        display: none;
    }

    .hero {
        padding: 140px 7vw 100px;
    }

    .hero h1 {
        font-size: 70px;
        letter-spacing: -4px;
    }

    .section {
        padding: 100px 7vw;
    }

    .timeline-item {
        grid-template-columns: 60px 20px 1fr;
        gap: 10px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .certificate {
        grid-template-columns: 45px 1fr;
    }

    .certificate > a {
        grid-column: 2;
    }

}