@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    background: #050505;

    color: white;

    font-family: "Inter", sans-serif;

    overflow-x: hidden;
}


/* BACKGROUND */

.background {
    position: fixed;

    inset: 0;

    z-index: -1;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(80, 80, 80, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(100, 100, 100, 0.08),
            transparent 35%
        );
}


/* HEADER */

header {
    height: 80px;

    padding: 0 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}


.logo {
    font-size: 15px;

    font-weight: 800;

    letter-spacing: 2px;
}


.logo span {
    color: #666;

    margin-left: 5px;
}


.status {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #777;

    font-size: 12px;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #aaa;

    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}


/* MAIN */

main {
    max-width: 1150px;

    margin: auto;

    padding: 100px 35px;
}


/* HERO */

.hero {
    margin-bottom: 70px;
}


.eyebrow {
    color: #666;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 22px;
}


.hero h1 {
    font-size: clamp(55px, 8vw, 100px);

    line-height: 0.92;

    letter-spacing: -5px;

    margin-bottom: 30px;
}


.hero h1 span {
    color: #555;
}


.subtitle {
    max-width: 520px;

    color: #777;

    font-size: 15px;

    line-height: 1.7;
}


/* PROJECTS */

.projects {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}


/* CARD */

.project-card {
    position: relative;

    min-height: 430px;

    padding: 35px;

    background: rgba(15,15,15,0.85);

    border: 1px solid #222;

    border-radius: 20px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
}


.project-card::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -120px;
    right: -100px;

    border-radius: 50%;

    background: rgba(255,255,255,0.04);

    filter: blur(20px);

    transition: 0.5s;
}


.project-card:hover {
    transform: translateY(-8px);

    border-color: #444;

    background: #111;
}


.project-card:hover::before {
    transform: scale(1.5);

    background: rgba(255,255,255,0.07);
}


/* CARD TOP */

.card-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 45px;
}


.number {
    color: #444;

    font-size: 12px;

    font-weight: 700;
}


.category {
    color: #555;

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 700;
}


/* ICON */

.icon {
    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #181818;

    border: 1px solid #292929;

    border-radius: 16px;

    font-size: 28px;

    margin-bottom: 30px;

    transition: 0.3s;
}


.project-card:hover .icon {
    transform: scale(1.08);

    background: #202020;
}


/* TEXT */

.project-card h2 {
    font-size: 29px;

    letter-spacing: -1.5px;

    margin-bottom: 14px;
}


.project-card > p {
    color: #777;

    font-size: 14px;

    line-height: 1.7;

    max-width: 470px;
}


/* FOOTER CARD */

.card-footer {
    margin-top: auto;

    padding-top: 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


/* TECHNOLOGIES */

.technologies {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


.technologies span {
    color: #666;

    border: 1px solid #282828;

    border-radius: 20px;

    padding: 6px 9px;

    font-size: 9px;

    font-weight: 600;
}


/* BUTTON */

button {
    flex-shrink: 0;

    border: 1px solid #333;

    background: white;

    color: black;

    border-radius: 9px;

    padding: 12px 16px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 15px;

    transition: 0.3s;
}


button span {
    font-size: 16px;
}


button:hover {
    background: #ccc;

    transform: translateY(-2px);
}


/* FOOTER */

footer {
    border-top: 1px solid #1b1b1b;

    padding: 30px 6%;

    display: flex;

    justify-content: space-between;

    color: #444;

    font-size: 11px;
}


/* MOBILE */

@media (max-width: 750px) {

    header {
        padding: 0 25px;
    }


    main {
        padding: 70px 20px;
    }


    .hero h1 {
        letter-spacing: -3px;
    }


    .projects {
        grid-template-columns: 1fr;
    }


    .project-card {
        min-height: 400px;
    }


    .card-footer {
        align-items: flex-end;
    }


    footer {
        padding: 25px;

        flex-direction: column;

        gap: 10px;
    }

}