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

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    color: #e8e8e8;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

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

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid #1b1b1b;
}

.nav-container {
    height: 72px;

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

.logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo span {
    color: #6cff95;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #8f8f8f;
    font-size: 0.9rem;

    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-github {
    border: 1px solid #2a2a2a;

    padding: 8px 14px;

    border-radius: 6px;

    font-size: 0.85rem;

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

.nav-github:hover {
    border-color: #6cff95;
    background: #111;
}


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

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 72px;

    border-bottom: 1px solid #1b1b1b;
}

.hero-container {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 80px;

    align-items: center;
}

.eyebrow {
    color: #6cff95;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.16em;

    margin-bottom: 20px;
}

.hero h1 {
    max-width: 720px;

    font-size:
        clamp(
            3.5rem,
            7vw,
            6.5rem
        );

    line-height: 0.95;

    letter-spacing: -0.07em;
}

.hero h1 span {
    color: #6cff95;
}

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

    margin-top: 30px;

    color: #929292;

    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 36px;
}

.btn {
    padding: 12px 20px;

    border-radius: 6px;

    font-size: 0.9rem;
    font-weight: 600;
}

.btn-primary {
    background: #6cff95;
    color: #07100a;
}

.btn-primary:hover {
    background: #85ffa8;
}

.btn-secondary {
    border: 1px solid #303030;
}

.btn-secondary:hover {
    border-color: #6cff95;
}


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

.hero-terminal {
    border: 1px solid #252525;

    border-radius: 10px;

    overflow: hidden;

    background: #0e0e0e;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.45);
}

.terminal-header {
    height: 42px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 0 16px;

    border-bottom: 1px solid #202020;

    color: #777;

    font-size: 0.75rem;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #444;
}

.terminal-body {
    padding: 28px;

    font-family:
        "JetBrains Mono",
        "Fira Code",
        monospace;

    font-size: 0.82rem;
}

.terminal-body p {
    margin-bottom: 12px;
}

.green {
    color: #6cff95;
}

.output {
    color: #777;

    padding-left: 18px;
}

.cursor {
    color: #6cff95;

    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


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

.section {
    padding: 130px 0;
}

.section-alt {
    background: #0d0d0d;
}

.section-heading {
    margin-bottom: 60px;
}

.section-label {
    color: #6cff95;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    margin-bottom: 14px;
}

.section-heading h2 {
    font-size:
        clamp(
            2.3rem,
            5vw,
            4rem
        );

    line-height: 1;

    letter-spacing: -0.05em;
}

.section-heading h2 span {
    color: #6cff95;
}


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

.about-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;
}

.about-text {
    color: #9a9a9a;

    font-size: 1.05rem;
}

.about-text p {
    margin-bottom: 22px;
}

.about-principles {
    border-top: 1px solid #272727;
}

.principle {
    display: flex;

    gap: 30px;

    padding: 25px 0;

    border-bottom: 1px solid #272727;
}

.principle > span {
    color: #555;

    font-family: monospace;
}

.principle h3 {
    margin-bottom: 5px;
}

.principle p {
    color: #777;
}


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

.skills-grid {
    display: grid;

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

    gap: 16px;
}

.skill-card {
    min-height: 220px;

    padding: 26px;

    border: 1px solid #242424;

    background: #101010;

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

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

    border-color: #6cff95;
}

.skill-number {
    color: #555;

    font-family: monospace;

    font-size: 0.8rem;
}

.skill-card h3 {
    margin-top: 35px;

    margin-bottom: 20px;
}

.tags,
.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.tags span,
.project-tags span {
    padding: 5px 9px;

    border: 1px solid #292929;

    border-radius: 4px;

    color: #858585;

    font-size: 0.72rem;
}


/* =========================
   PROJECTS
========================= */

.project-card {
    display: grid;

    grid-template-columns: 1fr;

    gap: 40px;

    padding: 45px 0;

    border-top: 1px solid #282828;
}

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

.project-top {
    display: flex;

    justify-content: space-between;

    margin-bottom: 20px;
}

.project-type {
    color: #6cff95;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.12em;
}

.project-index {
    color: #555;

    font-family: monospace;
}

.project-info h3 {
    font-size: 2.2rem;

    letter-spacing: -0.04em;

    margin-bottom: 15px;
}

.project-info p {
    max-width: 650px;

    color: #888;

    margin-bottom: 24px;
}

.project-link {
    display: inline-block;

    margin-top: 28px;

    color: #ffffff;

    font-size: 0.85rem;

    border-bottom: 1px solid #555;

    padding-bottom: 4px;
}

.project-link:hover {
    color: #6cff95;

    border-color: #6cff95;
}

.project-code {
    display: flex;

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

    min-height: 230px;

    border: 1px solid #242424;

    background: #0d0d0d;

    border-radius: 8px;
}

.project-code pre {
    font-family:
        "JetBrains Mono",
        monospace;

    color: #777;

    font-size: 0.85rem;

    line-height: 1.8;
}


/* =========================
   EDUCATION
========================= */

.education {
    display: flex;

    justify-content: space-between;

    gap: 40px;

    padding: 35px 0;

    border-top: 1px solid #292929;
    border-bottom: 1px solid #292929;
}

.education-year {
    color: #6cff95;

    font-family: monospace;

    font-size: 0.75rem;

    margin-bottom: 12px;
}

.education h3 {
    font-size: 1.5rem;
}

.education p {
    color: #777;
}

.education-focus {
    max-width: 350px;
}

.education-focus span {
    color: #555;

    font-size: 0.75rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


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

.contact {
    padding: 150px 0;

    border-top: 1px solid #1b1b1b;
}

.contact-container {
    max-width: 900px;
}

.contact h2 {
    font-size:
        clamp(
            3rem,
            7vw,
            6rem
        );

    line-height: 0.95;

    letter-spacing: -0.06em;

    margin-bottom: 30px;
}

.contact h2 span {
    color: #6cff95;
}

.contact-container > p:not(.section-label) {
    max-width: 600px;

    color: #888;

    font-size: 1rem;
}

.contact-links {
    display: flex;

    gap: 30px;

    margin-top: 35px;
}

.contact-links a {
    color: #ffffff;

    border-bottom: 1px solid #555;

    padding-bottom: 5px;
}

.contact-links a:hover {
    color: #6cff95;

    border-color: #6cff95;
}


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

footer {
    border-top: 1px solid #1c1c1c;

    padding: 30px 0;
}

.footer-container {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #555;

    font-size: 0.75rem;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

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

        gap: 60px;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 80px;
    }

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

        gap: 60px;
    }

    .skills-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

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

}

@media (max-width: 600px) {

    .container {
        width: 88%;
    }

    .hero h1 {
        font-size: 3.4rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

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

    .section {
        padding: 90px 0;
    }

    .education {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
    }

    .nav-github {
        display: none;
    }

}
.hero-status {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 22px;

    color: #777;

    font-size: 0.78rem;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #6cff95;

    box-shadow: 0 0 10px rgba(108, 255, 149, 0.5);
}

.learning-list {
    border-top: 1px solid #292929;
}

.learning-item {
    display: grid;

    grid-template-columns: 60px 1fr 1fr;

    gap: 30px;

    padding: 28px 0;

    border-bottom: 1px solid #292929;

    align-items: center;
}

.learning-item > span {
    color: #555;

    font-family: monospace;
}

.learning-item h3 {
    font-size: 1rem;
}

.learning-item p {
    color: #777;

    font-size: 0.9rem;
}
