* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background: #050507;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}


/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;

    inset: 0;

    z-index: -1;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(90, 75, 255, 0.13),
            transparent 35%
        ),
        #050507;
}

.glow {
    position: absolute;

    width: 650px;
    height: 650px;

    left: 50%;
    top: 35%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(100, 90, 255, 0.12),
            transparent 65%
        );

    filter: blur(20px);

    animation: breathe 7s ease-in-out infinite;
}

.grid {
    position: absolute;

    inset: -100px;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 65px 65px;

    transform:
        perspective(500px)
        rotateX(55deg)
        scale(1.5);

    transform-origin:
        center bottom;

    mask-image:
        linear-gradient(
            to top,
            black,
            transparent 75%
        );

    -webkit-mask-image:
        linear-gradient(
            to top,
            black,
            transparent 75%
        );
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 85px;

    z-index: 100;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 7%;

    background:
        rgba(5,5,7,0.45);

    border-bottom:
        1px solid
        rgba(255,255,255,0.04);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);
}

.brand {
    color: white;

    text-decoration: none;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: -1px;
}

.brand span {
    color: #7068ff;
}

.navbar nav {
    display: flex;

    gap: 35px;
}

.navbar nav a {
    position: relative;

    color:
        rgba(255,255,255,0.45);

    text-decoration: none;

    font-size: 13px;

    transition: color 0.25s ease;
}

.navbar nav a:hover {
    color: white;
}

.navbar nav a.active {
    color: white;
}

.navbar nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -8px;

    height: 2px;

    background: #7068ff;

    border-radius: 10px;
}


/* =========================
   HOME HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    padding:
        120px 7% 80px;
}

.hero-content {
    max-width: 950px;

    animation:
        appear 1s ease forwards;
}

.eyebrow {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-bottom: 28px;

    color:
        rgba(255,255,255,0.4);

    font-size: 11px;

    letter-spacing: 6px;
}

.eyebrow::before,
.eyebrow::after {
    content: "";

    width: 25px;

    height: 1px;

    background:
        rgba(255,255,255,0.18);
}

.hero h1 {
    font-size:
        clamp(70px, 12vw, 170px);

    line-height: 0.85;

    letter-spacing: -8px;

    font-weight: 800;
}

.hero h1 span {
    color: #7068ff;
}

.hero p {
    max-width: 560px;

    margin: 35px auto;

    color:
        rgba(255,255,255,0.45);

    line-height: 1.8;

    font-size: 15px;
}


/* =========================
   BUTTONS
========================= */

.buttons {
    display: flex;

    justify-content: center;

    gap: 12px;
}

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-width: 145px;

    padding: 14px 22px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 13px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.primary {
    color: white;

    background: #7068ff;

    box-shadow:
        0 10px 35px
        rgba(112,104,255,0.2);
}

.primary:hover {
    background: #817aff;
}

.secondary {
    color: white;

    background:
        rgba(255,255,255,0.03);

    border:
        1px solid
        rgba(255,255,255,0.12);
}

.secondary:hover {
    background:
        rgba(255,255,255,0.07);
}


/* =========================
   HERO BOTTOM
========================= */

.scroll-indicator {
    position: absolute;

    bottom: 30px;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    color:
        rgba(255,255,255,0.25);

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 2px;
}

.scroll-indicator span {
    width: 1px;

    height: 35px;

    background:
        rgba(255,255,255,0.25);
}


/* =========================
   OTHER PAGES
========================= */

.page {
    min-height: 100vh;

    padding:
        150px 7% 100px;
}

.page-container {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;
}

.page-heading {
    margin-bottom: 70px;
}

.page-heading > span {
    color: #7068ff;

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 600;
}

.page-heading h1 {
    margin-top: 18px;

    font-size:
        clamp(50px, 8vw, 100px);

    letter-spacing: -6px;

    line-height: 0.9;
}

.page-heading p {
    max-width: 600px;

    margin-top: 25px;

    color:
        rgba(255,255,255,0.4);

    line-height: 1.8;
}


/* =========================
   PROJECT
========================= */

.project-card {
    display: grid;

    grid-template-columns:
        1.3fr 1fr;

    gap: 60px;

    align-items: center;
}

.project-image {
    width: 100%;

    height: 500px;

    overflow: hidden;

    border-radius: 16px;

    background: #0a0a0e;

    border:
        1px solid
        rgba(255,255,255,0.08);
}

.project-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.project-image:hover img {
    transform: scale(1.03);
}

.project-type {
    color: #7068ff;

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 600;
}

.project-info h2 {
    margin:
        15px 0 20px;

    font-size:
        clamp(45px, 6vw, 75px);

    letter-spacing: -5px;
}

.project-info p {
    max-width: 450px;

    margin-bottom: 25px;

    color:
        rgba(255,255,255,0.4);

    line-height: 1.8;
}

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 30px;
}

.tags span {
    padding: 8px 11px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius: 5px;

    color:
        rgba(255,255,255,0.5);

    font-size: 10px;
}

.text-button {
    color: white;

    text-decoration: none;

    font-size: 13px;
}

.text-button:hover {
    color: #817aff;
}


/* =========================
   ABOUT
========================= */

.about-content {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: start;
}

.about-text h2 {
    font-size:
        clamp(40px, 5vw, 65px);

    line-height: 1;

    letter-spacing: -4px;
}

.about-text h2 span {
    color:
        rgba(255,255,255,0.25);
}

.about-text p {
    max-width: 550px;

    margin-top: 30px;

    color:
        rgba(255,255,255,0.4);

    line-height: 1.8;
}

.skills {
    display: grid;

    gap: 12px;
}

.skill-card {
    padding: 25px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    background:
        rgba(255,255,255,0.02);

    border-radius: 10px;
}

.skill-card span {
    color: #7068ff;

    font-size: 10px;
}

.skill-card h3 {
    margin:
        10px 0;

    font-size: 20px;
}

.skill-card p {
    color:
        rgba(255,255,255,0.4);

    font-size: 13px;
}


/* =========================
   CONTACT
========================= */

.contact-page {
    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;
}

.contact-container {
    width: 100%;

    max-width: 850px;
}

.contact-label {
    color: #7068ff;

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 600;
}

.contact-container h1 {
    margin:
        25px 0;

    font-size:
        clamp(55px, 9vw, 110px);

    line-height: 0.9;

    letter-spacing: -7px;
}

.contact-container h1 span {
    color: #7068ff;
}

.contact-container > p {
    color:
        rgba(255,255,255,0.4);

    margin-bottom: 45px;
}

.contact-links {
    display: grid;

    gap: 10px;

    max-width: 600px;

    margin: 0 auto;
}

.contact-link {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 25px;

    color: white;

    text-decoration: none;

    border:
        1px solid
        rgba(255,255,255,0.08);

    background:
        rgba(255,255,255,0.02);

    border-radius: 10px;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.contact-link:hover {
    background:
        rgba(255,255,255,0.06);

    transform: translateY(-2px);
}

.contact-link div {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 5px;
}

.contact-link small {
    color:
        rgba(255,255,255,0.3);

    font-size: 9px;

    letter-spacing: 2px;
}

.contact-link strong {
    font-size: 14px;
}


/* =========================
   FOOTER
========================= */

footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        35px 7%;

    border-top:
        1px solid
        rgba(255,255,255,0.05);

    color:
        rgba(255,255,255,0.2);

    font-size: 11px;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes appear {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

@keyframes breathe {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            scale(1);
    }

    50% {
        transform:
            translate(-50%, -50%)
            scale(1.15);
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 750px) {

    .navbar {
        height: 75px;

        padding:
            0 25px;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        padding:
            110px 25px 80px;
    }

    .hero h1 {
        font-size: 18vw;

        letter-spacing: -5px;
    }

    .hero p {
        font-size: 13px;
    }

    .buttons {
        flex-direction: column;

        width: 100%;

        max-width: 300px;

        margin: 0 auto;
    }

    .button {
        width: 100%;
    }

    .page {
        padding:
            120px 25px 80px;
    }

    .project-card {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .project-image {
        height: 350px;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .contact-container h1 {
        font-size: 60px;

        letter-spacing: -4px;
    }

    footer {
        flex-direction: column;

        gap: 10px;

        text-align: center;
    }
}