:root {

    --black: #07090d;

    --dark: #0c1017;

    --card: #10151d;

    --blue: #4d7cff;

    --bright-blue: #6f96ff;

    --white: #f4f7ff;

    --gray: #8d96a8;

    --line: rgba(255,255,255,0.1);

}


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--black);

    color: var(--white);

    font-family: "DM Sans", sans-serif;

    overflow-x: hidden;

}


a {

    text-decoration: none;

    color: inherit;

}


::selection {

    background: var(--blue);

    color: white;

}



/* ======================
   CURSOR
====================== */

.cursor {

    width: 12px;

    height: 12px;

    position: fixed;

    background: var(--blue);

    border-radius: 50%;

    pointer-events: none;

    z-index: 9999;

    transform: translate(-50%, -50%);

    box-shadow:

        0 0 20px var(--blue);

}



/* ======================
   BACKGROUND GRID
====================== */

.grid-background {

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: 0.035;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.5) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.5) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

}



/* ======================
   NAVBAR
====================== */

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    padding: 25px 7vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 100;

    backdrop-filter: blur(15px);

}


.logo {

    font-family: "Space Grotesk";

    font-weight: 700;

    font-size: 25px;

}


.logo span {

    color: var(--blue);

}


.nav-links {

    display: flex;

    gap: 35px;

}


.nav-links a {

    color: var(--gray);

    font-size: 12px;

    transition: 0.3s;

}


.nav-links a:hover {

    color: white;

}


.contact-nav {

    border: 1px solid var(--line);

    padding: 11px 18px;

    border-radius: 50px;

    font-size: 12px;

    transition: 0.3s;

}


.contact-nav:hover {

    background: var(--blue);

    border-color: var(--blue);

}



/* ======================
   HERO
====================== */

.hero {

    min-height: 100vh;

    padding: 160px 8vw 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

    gap: 80px;

}


.hero-left {

    max-width: 700px;

}


.availability {

    color: var(--gray);

    font-size: 10px;

    letter-spacing: 2px;

    display: flex;

    align-items: center;

    gap: 10px;

}


.status-dot {

    width: 7px;

    height: 7px;

    background: #4dff91;

    border-radius: 50%;

    box-shadow: 0 0 15px #4dff91;

}


.hero h1 {

    font-family: "Space Grotesk";

    font-size: clamp(75px, 11vw, 160px);

    line-height: 0.85;

    margin-top: 35px;

    letter-spacing: -7px;

}


.hero h1 span {

    display: block;

    color: var(--blue);

}


.hero-description {

    max-width: 480px;

    margin-top: 40px;

    color: var(--gray);

    line-height: 1.8;

    font-size: 16px;

}


.hero-buttons {

    display: flex;

    align-items: center;

    gap: 30px;

    margin-top: 40px;

}


.blue-button {

    padding: 16px 23px;

    background: var(--blue);

    border-radius: 50px;

    display: flex;

    gap: 20px;

    transition: 0.3s;

}


.blue-button:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(77,124,255,0.3);

}


.text-button {

    color: var(--gray);

}


.text-button:hover {

    color: white;

}



/* ======================
   TERMINAL
====================== */

.tech-window {

    width: 430px;

    min-width: 430px;

    background: var(--card);

    border: 1px solid var(--line);

    border-radius: 12px;

    overflow: hidden;

    box-shadow:

        0 30px 80px rgba(0,0,0,0.5),

        0 0 80px rgba(77,124,255,0.08);

    animation: float 5s ease-in-out infinite;

}


.window-top {

    height: 42px;

    border-bottom: 1px solid var(--line);

    display: flex;

    align-items: center;

    padding: 0 15px;

    gap: 15px;

}


.window-dots {

    display: flex;

    gap: 6px;

}


.window-dots span {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #3c4350;

}


.window-title {

    color: var(--gray);

    font-family: monospace;

    font-size: 11px;

}


.window-content {

    padding: 35px;

    font-family: "Space Mono", monospace;

    font-size: 12px;

    line-height: 2;

}


.terminal-line {

    color: var(--gray);

}


.blue {

    color: var(--blue);

}


.terminal-output {

    color: white;

    margin-bottom: 15px;

}


.active {

    color: #4dff91;

}


.typing-line {

    margin-top: 25px;

    color: var(--gray);

}


.cursor-blink {

    color: var(--blue);

    animation: blink 1s infinite;

}


.hero-scroll {

    position: absolute;

    bottom: 30px;

    left: 8vw;

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 9px;

    color: var(--gray);

}


.hero-scroll div {

    width: 60px;

    height: 1px;

    background: var(--blue);

}



/* ======================
   SECTIONS
====================== */

.section {

    padding: 150px 8vw;

    position: relative;

}


.section-label {

    color: var(--gray);

    font-size: 10px;

    letter-spacing: 2px;

    display: flex;

    gap: 15px;

    margin-bottom: 100px;

}


.section-label span {

    color: var(--blue);

}



/* ======================
   ABOUT
====================== */

.about {

    background: var(--dark);

}


.about-content {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 100px;

}


.about h2 {

    font-family: "Space Grotesk";

    font-size: clamp(50px, 6vw, 90px);

    line-height: 1;

    letter-spacing: -4px;

}


.about h2 span {

    color: var(--blue);

}


.about h2 strong {

    display: block;

}


.about-text {

    color: var(--gray);

    line-height: 1.8;

}


.about-text p {

    margin-bottom: 25px;

}


.about-signature {

    margin-top: 50px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

}


.about-signature > span {

    width: 100%;

    margin-bottom: 10px;

    color: white;

}


.interest-pill {

    border: 1px solid var(--line);

    border-radius: 50px;

    padding: 8px 15px;

    font-size: 11px;

    color: var(--blue);

}



/* ======================
   PROJECTS
====================== */

.projects-intro {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 100px;

}


.projects-intro h2 {

    font-family: "Space Grotesk";

    font-size: clamp(55px, 7vw, 110px);

    letter-spacing: -5px;

}


.projects-intro h2 span {

    color: var(--blue);

}


.projects-intro p {

    max-width: 300px;

    color: var(--gray);

    line-height: 1.7;

}


.project {

    min-height: 550px;

    padding: 60px;

    border: 1px solid var(--line);

    display: grid;

    grid-template-columns: 80px 1fr 400px;

    gap: 50px;

    align-items: center;

    margin-bottom: 25px;

    background: var(--card);

    transition: 0.4s;

}


.project:hover {

    border-color: rgba(77,124,255,0.5);

    transform: translateY(-5px);

}


.project-number {

    color: var(--blue);

    font-family: monospace;

}


.project-category {

    color: var(--blue);

    font-size: 9px;

    letter-spacing: 2px;

}


.project-info h3 {

    font-family: "Space Grotesk";

    font-size: clamp(45px, 5vw, 75px);

    margin-top: 20px;

    letter-spacing: -3px;

}


.project-info h3 span {

    display: block;

    color: var(--gray);

}


.project-info p {

    max-width: 500px;

    margin-top: 25px;

    color: var(--gray);

    line-height: 1.8;

}


.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 30px;

}


.tags span {

    border: 1px solid var(--line);

    border-radius: 50px;

    padding: 7px 12px;

    font-size: 9px;

    color: var(--gray);

}


.project-link {

    display: inline-block;

    margin-top: 30px;

    color: var(--blue);

    font-size: 12px;

}



/* ======================
   PROJECT ART
====================== */

.project-art {

    height: 330px;

    display: grid;

    place-items: center;

    position: relative;

}


.radar {

    width: 230px;

    height: 230px;

    border: 1px solid rgba(77,124,255,0.5);

    border-radius: 50%;

    position: relative;

    background:

        radial-gradient(
            circle,
            rgba(77,124,255,0.15),
            transparent 60%
        );

}


.radar::before,
.radar::after {

    content: "";

    position: absolute;

    background: rgba(77,124,255,0.3);

}


.radar::before {

    width: 100%;

    height: 1px;

    top: 50%;

}


.radar::after {

    width: 1px;

    height: 100%;

    left: 50%;

}


.radar-line {

    position: absolute;

    width: 50%;

    height: 1px;

    background: var(--blue);

    top: 50%;

    left: 50%;

    transform-origin: left;

    animation: radarSpin 3s linear infinite;

}


.radar-dot {

    position: absolute;

    width: 12px;

    height: 12px;

    background: var(--blue);

    border-radius: 50%;

    top: 25%;

    right: 20%;

    box-shadow: 0 0 20px var(--blue);

}


.dashboard {

    width: 280px;

    height: 200px;

    border: 1px solid var(--blue);

    padding: 15px;

    box-shadow: 0 0 50px rgba(77,124,255,0.15);

}


.dashboard-top {

    height: 10px;

    width: 40%;

    background: var(--blue);

}


.dashboard-body {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 30px;

}


.dashboard-body div {

    height: 55px;

    background: rgba(77,124,255,0.1);

    border: 1px solid rgba(77,124,255,0.3);

}


.rotor {

    width: 230px;

    height: 230px;

    border-radius: 50%;

    border: 1px dashed var(--blue);

    display: grid;

    place-items: center;

    animation: rotate 15s linear infinite;

}


.rotor::before,
.rotor::after {

    content: "";

    position: absolute;

    width: 150px;

    height: 1px;

    background: var(--blue);

}


.rotor::after {

    transform: rotate(90deg);

}


.rotor-center {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    background: var(--blue);

    color: white;

    display: grid;

    place-items: center;

    font-weight: bold;

    z-index: 2;

}



/* ======================
   SKILLS
====================== */

.skills {

    background: var(--dark);

}


.skills-layout {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

}


.skills-heading h2 {

    font-family: "Space Grotesk";

    font-size: clamp(60px, 8vw, 120px);

    line-height: 0.9;

    letter-spacing: -5px;

}


.skills-heading h2 span {

    color: var(--blue);

}


.skills-heading p {

    color: var(--gray);

    margin-top: 35px;

}


.skills-list {

    border-top: 1px solid var(--line);

}


.skill-item {

    padding: 25px 0;

    border-bottom: 1px solid var(--line);

    display: grid;

    grid-template-columns: 50px 1fr auto;

    align-items: center;

    transition: 0.3s;

}


.skill-item:hover {

    padding-left: 15px;

    color: var(--blue);

}


.skill-item span {

    color: var(--gray);

    font-size: 10px;

}


.skill-item strong {

    font-size: 20px;

}


.skill-item small {

    color: var(--gray);

}



/* ======================
   JOURNEY
====================== */

.journey h2 {

    font-family: "Space Grotesk";

    font-size: clamp(60px, 8vw, 120px);

    letter-spacing: -5px;

}


.journey h2 span {

    color: var(--blue);

}


.timeline {

    margin-top: 100px;

    border-top: 1px solid var(--line);

}


.timeline-item {

    display: grid;

    grid-template-columns: 100px 1fr;

    padding: 45px 0;

    border-bottom: 1px solid var(--line);

}


.timeline-number {

    color: var(--blue);

}


.timeline-item span {

    font-size: 9px;

    letter-spacing: 2px;

    color: var(--gray);

}


.timeline-item h3 {

    font-family: "Space Grotesk";

    font-size: 40px;

    margin-top: 15px;

}


.timeline-item p {

    color: var(--gray);

    margin-top: 5px;

}



/* ======================
   CONTACT
====================== */

.contact {

    min-height: 90vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    overflow: hidden;

}


.contact-grid {

    position: absolute;

    inset: 0;

    opacity: 0.1;

    background-image:

        linear-gradient(
            var(--blue) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            var(--blue) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image: radial-gradient(
        circle,
        black,
        transparent 70%
    );

}


.contact-label {

    color: var(--blue);

    font-size: 10px;

    letter-spacing: 3px;

}


.contact h2 {

    font-family: "Space Grotesk";

    font-size: clamp(60px, 9vw, 140px);

    line-height: 0.9;

    letter-spacing: -7px;

    margin-top: 30px;

    position: relative;

}


.contact h2 span {

    display: block;

    color: var(--blue);

}


.email-button {

    margin-top: 60px;

    background: var(--blue);

    padding: 17px 25px;

    border-radius: 50px;

    display: flex;

    gap: 20px;

    position: relative;

    transition: 0.3s;

}


.email-button:hover {

    transform: translateY(-5px);

    box-shadow: 0 20px 60px rgba(77,124,255,0.3);

}


.socials {

    display: flex;

    gap: 30px;

    margin-top: 50px;

    position: relative;

}


.socials a {

    color: var(--gray);

    font-size: 12px;

}


.socials a:hover {

    color: var(--blue);

}



/* ======================
   FOOTER
====================== */

footer {

    padding: 30px 8vw;

    border-top: 1px solid var(--line);

    display: flex;

    justify-content: space-between;

    color: var(--gray);

    font-size: 10px;

}



/* ======================
   ANIMATIONS
====================== */

@keyframes float {

    0%,100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-15px);

    }

}


@keyframes blink {

    50% {

        opacity: 0;

    }

}


@keyframes radarSpin {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}


@keyframes rotate {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}



/* ======================
   MOBILE
====================== */

@media(max-width: 1000px) {

    .nav-links {

        display: none;

    }


    .hero {

        flex-direction: column;

        align-items: flex-start;

    }


    .tech-window {

        width: 100%;

        min-width: 0;

    }


    .about-content,
    .skills-layout {

        grid-template-columns: 1fr;

    }


    .project {

        grid-template-columns: 50px 1fr;

    }


    .project-art {

        grid-column: 2;

    }

}


@media(max-width: 600px) {

    .hero {

        padding-left: 6vw;

        padding-right: 6vw;

    }


    .hero h1 {

        font-size: 75px;

        letter-spacing: -4px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

    }


    .section {

        padding: 100px 6vw;

    }


    .project {

        padding: 30px;

        grid-template-columns: 1fr;

    }


    .project-number {

        margin-bottom: 20px;

    }


    .project-art {

        grid-column: 1;

    }


    .projects-intro {

        flex-direction: column;

        align-items: flex-start;

        gap: 30px;

    }


    footer {

        flex-direction: column;

        gap: 10px;

    }

}