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


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --primary: #12bdff;
    --primary-hover: #55d0ff;

    --background: #0e1318;
    --background-light: #151b22;
    --background-lighter: #1c232c;

    --text: #f2f4f6;
    --text-secondary: #a7b0bb;

    --border: #2b3540;

    --success: #4bd18b;

    --content-width: 1200px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    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.7;
}


img {
    max-width: 100%;
}


a {
    color: inherit;

    text-decoration: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding:
        20px
        max(5%, calc((100% - var(--content-width)) / 2));

    background:
        rgba(14, 19, 24, 0.94);

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

    backdrop-filter:
        blur(12px);
}


.logo {
    color: var(--primary);

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: 1px;
}


.site-header ul {
    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;
}


.site-header a {
    font-size: 0.9rem;

    font-weight: 500;
}


.site-header nav a {
    color: var(--text-secondary);

    transition: color 0.2s ease;
}


.site-header nav a:hover {
    color: var(--primary);
}


/* =========================================================
   COMMON
   ========================================================= */

section {
    padding:
        100px
        max(5%, calc((100% - var(--content-width)) / 2));
}


.eyebrow {
    margin-bottom: 15px;

    color: var(--primary);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 0.76rem;

    font-weight: 600;

    letter-spacing: 2px;
}


.section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}


.section-heading h2 {
    margin-bottom: 15px;

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height: 1.15;
}


.section-heading > p:last-child {
    color: var(--text-secondary);

    font-size: 1.02rem;
}


.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding:
        0 22px;

    border-radius: 5px;

    font-size: 0.9rem;

    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


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


.button-primary {
    background: var(--primary);

    color: #071016;
}


.button-primary:hover {
    background: var(--primary-hover);
}


.button-outline {
    border:
        1px solid var(--border);

    background:
        var(--background-light);

    color: var(--text);
}


.button-outline:hover {
    border-color: var(--primary);

    color: var(--primary);
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    min-height:
        calc(100vh - 70px);

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 70px;

    padding-top: 80px;

    padding-bottom: 80px;
}


.hero-content {
    max-width: 650px;
}


.hero-content h1 {
    margin-bottom: 25px;

    font-size:
        clamp(3rem, 5vw, 5.5rem);

    line-height: 1.03;

    letter-spacing: -3px;
}


.hero-content h1 span {
    color: var(--primary);
}


.hero-description {
    max-width: 640px;

    margin-bottom: 30px;

    color: var(--text-secondary);

    font-size: 1.07rem;
}


.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 30px;
}


.hero-status {
    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--text-secondary);

    font-size: 0.87rem;
}


.hero-status strong {
    color: var(--text);
}


.status-dot {
    width: 9px;

    height: 9px;

    flex-shrink: 0;

    background: var(--success);

    border-radius: 50%;

    box-shadow:
        0 0 12px
        rgba(75, 209, 139, 0.65);
}


.hero-project-image {
    position: relative;

    overflow: hidden;

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

    border-radius: 10px;

    background:
        var(--background-light);
}


.hero-project-image img {
    display: block;

    width: 100%;

    min-height: 500px;

    object-fit: cover;
}


.image-label {
    position: absolute;

    left: 20px;

    bottom: 20px;

    padding:
        10px 14px;

    background:
        rgba(7, 11, 15, 0.87);

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius: 4px;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 0.72rem;

    backdrop-filter:
        blur(8px);
}


/* =========================================================
   CURRENT PROJECT
   ========================================================= */

.current-project-section {
    background:
        var(--background-light);

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

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


.project-layout {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: start;
}


.project-description h3 {
    margin-bottom: 20px;

    font-size: 1.7rem;
}


.project-description p {
    margin-bottom: 20px;

    color: var(--text-secondary);
}


.tech-list,
.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 30px;
}


.tech-list span,
.project-tech span {
    padding:
        6px 10px;

    background:
        var(--background);

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

    border-radius: 4px;

    color: var(--text-secondary);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 0.72rem;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.progress-card {
    padding: 30px;

    background:
        var(--background);

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

    border-radius: 8px;
}


.progress-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}


.progress-header h3 {
    font-size: 1.05rem;
}


.progress-header span {
    color: var(--text-secondary);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 0.68rem;
}


.progress-list {
    list-style: none;
}


.progress-list li {
    display: flex;

    align-items: center;

    gap: 15px;

    padding:
        13px 0;

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


.progress-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 25px;

    height: 25px;

    flex-shrink: 0;

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

    border-radius: 50%;

    color: var(--text-secondary);

    font-size: 0.78rem;
}


.progress-list .complete .progress-icon {
    border-color:
        rgba(75, 209, 139, 0.45);

    color: var(--success);
}


.progress-list .active .progress-icon {
    border-color: var(--primary);

    color: var(--primary);
}


.progress-list strong {
    display: block;

    font-size: 0.86rem;

    font-weight: 600;
}


.progress-list small {
    display: block;

    margin-top: 2px;

    color: var(--text-secondary);

    font-size: 0.72rem;
}


/* =========================================================
   FEATURED BLOG
   ========================================================= */

.latest-post-section {
    background:
        var(--background);
}


.featured-post {
    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    overflow: hidden;

    background:
        var(--background-light);

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

    border-radius: 10px;
}


.featured-post-media {
    position: relative;

    min-height: 550px;
}


.featured-post-media img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.post-tag {
    position: absolute;

    top: 20px;

    left: 20px;

    padding:
        7px 11px;

    background:
        rgba(7, 11, 15, 0.88);

    border-radius: 3px;

    color: var(--primary);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 0.68rem;

    letter-spacing: 1px;
}


.featured-post-content {
    padding:
        50px;
}


.post-date {
    margin-bottom: 12px;

    color: var(--text-secondary);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 0.73rem;
}


.featured-post-content h3 {
    margin-bottom: 22px;

    font-size: 2rem;

    line-height: 1.25;
}


.featured-post-content > p {
    margin-bottom: 18px;

    color: var(--text-secondary);
}


/* =========================================================
   CODE PREVIEW
   ========================================================= */

.featured-code {
    overflow: hidden;

    margin:
        30px 0;

    background:
        #090d11;

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

    border-radius: 5px;
}


.code-header {
    padding:
        8px 15px;

    background:
        #10161c;

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

    color: var(--text-secondary);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 0.68rem;
}


.featured-code pre {
    overflow-x: auto;

    padding: 20px;
}


.featured-code code {
    color: #d7dee7;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 0.78rem;
}


.post-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 25px;
}


.text-link {
    color: var(--primary);

    font-size: 0.88rem;

    font-weight: 600;
}


.text-link span {
    margin-left: 5px;
}


.github-link {
    color: var(--text-secondary);

    font-size: 0.84rem;
}


.github-link:hover {
    color: var(--text);
}


/* =========================================================
   PROJECT GRID
   ========================================================= */

.projects-section {
    background:
        var(--background-light);

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

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


.project-grid {
    display: grid;

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

    gap: 20px;
}


.project-card {
    min-height: 330px;

    padding: 30px;

    background:
        var(--background);

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

    border-radius: 7px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.project-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(18, 189, 255, 0.5);
}


.project-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 50px;

    height: 50px;

    margin-bottom: 25px;

    background:
        rgba(18, 189, 255, 0.08);

    border:
        1px solid rgba(18, 189, 255, 0.24);

    border-radius: 5px;

    color: var(--primary);

    font-size: 1.25rem;
}


.project-card h3 {
    margin-bottom: 15px;

    font-size: 1.2rem;
}


.project-card p {
    color: var(--text-secondary);

    font-size: 0.88rem;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    display: grid;

    grid-template-columns:
        300px 1fr;

    gap: 70px;

    align-items: center;
}


.about-image img {
    width: 280px;

    height: 280px;

    object-fit: cover;

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

    border-radius: 8px;
}


.about-content {
    max-width: 700px;
}


.about-content h2 {
    margin-bottom: 25px;

    font-size:
        clamp(2rem, 3vw, 3rem);

    line-height: 1.2;
}


.about-content h2 span {
    color: var(--primary);
}


.about-content > p {
    margin-bottom: 18px;

    color: var(--text-secondary);
}


.about-actions {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;
}


.social-link {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    background:
        var(--background-light);

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

    border-radius: 5px;

    font-size: 1.15rem;
}


.social-link:hover {
    border-color: var(--primary);

    color: var(--primary);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    padding:
        45px
        max(5%, calc((100% - var(--content-width)) / 2));

    background:
        #090d11;

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

    color: var(--text-secondary);

    font-size: 0.8rem;
}


footer strong {
    color: var(--text);
}


footer > div:last-child {
    display: flex;

    gap: 25px;
}


footer a:hover {
    color: var(--primary);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .hero-section {
        grid-template-columns:
            1fr;

        min-height: auto;
    }


    .hero-project-image img {
        min-height: 400px;
    }


    .project-layout {
        grid-template-columns:
            1fr;
    }


    .featured-post {
        grid-template-columns:
            1fr;
    }


    .featured-post-media {
        min-height: 450px;
    }


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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .site-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;

        padding:
            16px 5%;
    }


    .site-header nav {
        width: 100%;

        overflow-x: auto;
    }


    .site-header ul {
        gap: 18px;

        width: max-content;
    }


    .site-header nav a {
        font-size: 0.77rem;
    }


    section {
        padding:
            70px 5%;
    }


    .hero-content h1 {
        font-size: 3rem;

        letter-spacing: -2px;
    }


    .hero-project-image img {
        min-height: 300px;
    }


    .image-label {
        right: 15px;

        left: 15px;

        bottom: 15px;
    }


    .featured-post-media {
        min-height: 300px;
    }


    .featured-post-content {
        padding: 28px;
    }


    .featured-post-content h3 {
        font-size: 1.5rem;
    }


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


    .about-section {
        grid-template-columns:
            1fr;
    }


    .about-image img {
        width: 220px;

        height: 220px;
    }


    footer {
        align-items: flex-start;

        flex-direction: column;
    }

}