* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #080a0d;
    color: #edf1f5;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}


/* ================= GLOBAL ================= */

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

section {
    max-width: 1200px;
    margin: auto;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

p {
    color: #aab2bc;
}


/* ================= NAVBAR ================= */

.navbar {

    position: sticky;

    top: 0;

    z-index: 100;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 7%;

    background: rgba(8, 10, 13, 0.92);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid #20262d;
}


.logo {

    font-size: 26px;

    font-weight: 800;

    letter-spacing: -1px;
}


.logo span {

    color: #7cf0c0;
}


.navbar nav {

    display: flex;

    gap: 25px;

    color: #aab2bc;

    font-size: 14px;
}


.navbar nav a {

    transition: 0.2s;

}


.navbar nav a:hover {

    color: #ffffff;

}


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

.hero {

    min-height: 82vh;

    padding: 100px 7%;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 70px;

    align-items: center;

    border-bottom: 1px solid #1d2229;

    background:
        radial-gradient(
            circle at 85% 25%,
            #123127 0,
            transparent 35%
        );
}


.hero-content {

    max-width: 850px;

}
.profile-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-bottom: 25px;
}

.eyebrow {

    color: #7cf0c0;

    letter-spacing: 3px;

    font-size: 12px;

    font-weight: 800;

}


.hero h1 {

    font-size: clamp(
        45px,
        6vw,
        78px
    );

    line-height: 1.02;

    letter-spacing: -3px;

    margin: 15px 0 25px;

}


.hero-description {

    font-size: 18px;

    max-width: 650px;

}


.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 30px;

    flex-wrap: wrap;

}


/* ================= BUTTON ================= */

.btn {

    display: inline-block;

    padding: 11px 18px;

    border: 1px solid #343c46;

    border-radius: 8px;

    color: #dfe5eb;

    font-size: 14px;

    font-weight: 700;

    transition: 0.2s;

}


.btn:hover {

    transform: translateY(-2px);

    border-color: #7cf0c0;

}


.btn.primary {

    background: #7cf0c0;

    color: #07110d;

    border-color: #7cf0c0;

}


/* ================= TERMINAL ================= */

.terminal {

    background: #0d1116;

    border: 1px solid #29323b;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.35);
}


.terminal-header {

    padding: 12px 16px;

    border-bottom: 1px solid #29323b;

    color: #76808b;

    font-size: 12px;
}


.terminal-header span {

    display: inline-block;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #3b434d;

    margin-right: 6px;

}


.terminal-header label {

    margin-left: 10px;

}


.terminal pre {

    padding: 25px;

    margin: 0;

    color: #b9f5d8;

    font-size: 13px;

    overflow-x: auto;

}


/* ================= SECTIONS ================= */

.section {

    padding: 90px 7%;

    border-bottom: 1px solid #1d2229;

}


.section-number {

    color: #7cf0c0;

    font-size: 12px;

    font-weight: 800;

    margin-bottom: 8px;

}


.section h2 {

    font-size: 38px;

    margin-bottom: 35px;

}


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

.about-grid {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 60px;

}


.about-grid p {

    font-size: 18px;

}


.facts {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

}


.fact {

    padding: 20px;

    border: 1px solid #29323b;

    border-radius: 10px;

}


.fact strong {

    display: block;

    color: white;

}


.fact span {

    color: #89939e;

    font-size: 13px;

}


/* ================= SKILLS ================= */

.skills {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.skills span {

    padding: 9px 13px;

    border: 1px solid #303944;

    border-radius: 999px;

    color: #bdc6d0;

    font-size: 13px;

}


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

.project {

    padding: 30px;

    background: #0c1015;

    border: 1px solid #29323b;

    border-radius: 16px;

}


.project-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

}


.project h3 {

    font-size: 44px;

    margin-bottom: 5px;

}


.project-status {

    color: #7cf0c0;

    font-size: 12px;

}


.project-description {

    max-width: 900px;

}


.architecture {

    margin: 25px 0;

    padding: 18px;

    border: 1px dashed #3b4650;

    border-radius: 9px;

    color: #dce3e9;

    font-size: 13px;

    overflow-x: auto;

}


.architecture span {

    color: #7cf0c0;

    margin: 0 7px;

}


.project-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}


.project-tech span {

    padding: 8px 12px;

    border: 1px solid #29323b;

    border-radius: 999px;

    color: #b9c2cc;

    font-size: 13px;

}


/* ================= SCREENSHOTS ================= */

.screenshots {

    display: grid;

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

    gap: 13px;

    margin-top: 30px;

}


.screenshot {

    overflow: hidden;

    border: 1px solid #29323b;

    border-radius: 10px;

    background: #080a0d;

}


.screenshot img {

    width: 100%;

    height: 150px;

    object-fit: cover;

    display: block;

    background: #151a20;

}


.screenshot p {

    padding: 9px 11px;

    margin: 0;

    font-size: 12px;

}


/* ================= TIMELINE ================= */

.timeline {

    border-left: 1px solid #303944;

    padding-left: 35px;

}


.timeline-item {

    position: relative;

    margin-bottom: 45px;

}


.timeline-dot {

    position: absolute;

    left: -41px;

    top: 5px;

    width: 11px;

    height: 11px;

    border-radius: 50%;

    background: #7cf0c0;

}


.timeline-item h3 {

    margin-bottom: 5px;

}


.timeline-period {

    color: #7cf0c0;

    font-size: 13px;

}


/* ================= WORK ================= */

.work-grid {

    display: grid;

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

    gap: 15px;

}


.work-card {

    padding: 22px;

    border: 1px solid #29323b;

    border-radius: 12px;

}


.work-card h3 {

    margin-bottom: 10px;

}


.work-card p {

    font-size: 14px;

}


/* ================= CONTACT ================= */

.contact {

    text-align: center;

}


.contact h2 {

    font-size: 48px;

    margin-bottom: 15px;

}


.contact-buttons {

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 25px;

}


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

footer {

    text-align: center;

    padding: 30px;

    color: #69737e;

    font-size: 12px;

}


footer span {

    color: #7cf0c0;

    margin: 0 5px;

}


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

@media (max-width: 850px) {

    .navbar nav {

        display: none;

    } 


    .hero {

        grid-template-columns: 1fr;

        padding-top: 70px;

    }


    .about-grid {

        grid-template-columns: 1fr;

    }


    .work-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .screenshots {

        grid-template-columns:
            1fr 1fr;

    }

}


@media (max-width: 520px) {

    .section {

        padding: 65px 5%;

    }


    .hero {

        padding: 70px 5%;

    }


    .hero h1 {

        font-size: 45px;

    }


    .facts {

        grid-template-columns: 1fr;

    }


    .work-grid {

        grid-template-columns: 1fr;

    }


    .screenshots {

        grid-template-columns: 1fr;

    }


    .project-header {

        align-items: flex-start;

        flex-direction: column;

    }


    .contact h2 {

        font-size: 35px;

    }

}
