/* ===================================
   GLOBAL STYLES
=================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    min-height: 100vh;

    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}


/* ===================================
   NAVBAR
=================================== */

.navbar {
    width: 100%;

    border-bottom: 1px solid #222;

    background-color: #050505;

    position: sticky;
    top: 0;

    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: auto;

    padding: 20px 30px;

    display: flex;

    justify-content: space-between;
    align-items: center;
}


/* BRAND */

.nav-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}

.logo-box {
    width: 42px;
    height: 42px;

    background: white;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box img {
    width: 27px;
    height: 27px;
}

.nav-brand h2 {
    font-size: 19px;
    font-weight: 700;

    letter-spacing: -0.5px;
}

.nav-brand h2 span {
    color: #888;
}


/* NAVIGATION LINKS */

.nav-links {
    display: flex;
    align-items: center;

    gap: 35px;
}

.nav-links a {
    font-size: 14px;

    color: #aaa;

    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}


/* ===================================
   MAIN CONTAINER
=================================== */

.main {
    max-width: 1100px;

    margin: auto;

    padding: 80px 25px;
}


/* ===================================
   HERO SECTION
=================================== */

.hero {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 40px 0 90px;
}


/* BADGE */

.hero-badge {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 8px 16px;

    border: 1px solid #303030;

    border-radius: 50px;

    background: #101010;

    color: #bbb;

    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 35px;
}

.status-dot {
    width: 8px;
    height: 8px;

    background: white;

    border-radius: 50%;

    box-shadow: 0 0 12px #ffffff80;
}


/* MAIN HEADING */

.hero h1 {
    font-size: clamp(40px, 6vw, 76px);

    font-weight: 800;

    letter-spacing: -3px;

    line-height: 1.12;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #777;
}


/* DESCRIPTION */

.hero-description {
    max-width: 550px;

    color: #999;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 45px;
}


/* ===================================
   SEARCH BAR
=================================== */

.search-container {
    display: flex;

    align-items: center;

    width: 100%;
    max-width: 680px;

    padding: 8px;

    background: #111;

    border: 1px solid #333;

    border-radius: 16px;

    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: #888;

    box-shadow: 0 0 25px #ffffff12;
}


/* INPUT WRAPPER */

.search-input-box {
    display: flex;

    align-items: center;

    flex: 1;

    gap: 15px;

    padding: 0 15px;

    min-width: 0;
}

.search-input-box svg {
    color: #777;

    flex-shrink: 0;
}


/* INPUT */

.search-input {
    flex: 1;

    min-width: 0;

    padding: 15px 0;

    background: transparent;

    border: none;
    outline: none;

    color: white;

    font-size: 15px;
}

.search-input::placeholder {
    color: #666;
}


/* SEARCH BUTTON */

.search-button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    padding: 15px 26px;

    background: white;

    color: black;

    border: none;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s ease;
}

.search-button:hover {
    background: #d6d6d6;

    transform: translateY(-2px);
}

.search-button span {
    font-size: 20px;
}


/* ===================================
   SEARCH SUGGESTIONS
=================================== */

.search-hint {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;
    align-items: center;

    gap: 15px;

    margin-top: 25px;
}

.search-hint > span {
    color: #666;

    font-size: 10px;

    letter-spacing: 1.5px;
}

.suggestions {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 10px;
}

.suggestions span {
    padding: 5px 12px;

    border: 1px solid #292929;

    border-radius: 6px;

    color: #aaa;

    font-size: 12px;

    transition: all 0.3s ease;
}

.suggestions span:hover {
    color: white;

    border-color: #777;
}


/* ===================================
   RESULTS SECTION
=================================== */

.results-section {
    width: 100%;
}

.section-heading {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}

.section-label {
    color: #777;

    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: 28px;

    letter-spacing: -1px;
}


/* RESULT STATUS */

.result-status {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #888;

    font-size: 12px;

    border: 1px solid #333;

    padding: 8px 14px;

    border-radius: 30px;
}

.small-dot {
    width: 7px;
    height: 7px;

    background: #888;

    border-radius: 50%;
}


/* ===================================
   PROFILE CARD
=================================== */

.profile-card {
    background: #0d0d0d;

    border: 1px solid #292929;

    border-radius: 20px;

    padding: 35px;

    transition: border-color 0.3s ease;
}

.profile-card:hover {
    border-color: #444;
}


/* PROFILE TOP */

.profile-top {
    display: flex;

    align-items: center;

    gap: 25px;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;

    background: #1a1a1a;

    border: 1px solid #333;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 40px;

    color: #555;

    flex-shrink: 0;
    overflow: hidden;

    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.avatar-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.avatar-placeholder:hover {
    border-color: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.avatar-placeholder:hover img {
    transform: scale(1.08);
}


/* PROFILE INFORMATION */

.profile-info h2 {
    font-size: 25px;

    margin-bottom: 3px;
}

.profile-info > p:nth-child(2) {
    color: #aaa;

    font-size: 14px;

    margin-bottom: 10px;
}

.profile-bio {
    color: #777;

    font-size: 14px;

    line-height: 1.7;
}


/* DIVIDER */

.divider {
    height: 1px;

    background: #292929;

    margin: 35px 0;
}


/* ===================================
   STATS GRID
=================================== */

.stats-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.stat-box {
    padding: 25px;

    background: #141414;

    border: 1px solid #252525;

    border-radius: 12px;

    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: #666;

    transform: translateY(-3px);
}

.stat-label {
    font-size: 11px;

    letter-spacing: 1px;

    color: #888;

    margin-bottom: 15px;
}

.stat-box h3 {
    font-size: 36px;

    margin-bottom: 5px;

    letter-spacing: -1px;
}

.stat-box span {
    font-size: 12px;

    color: #777;
}


/* ===================================
   PROFILE FOOTER
=================================== */

.profile-footer {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid #292929;
}

.profile-footer span {
    color: #666;

    font-size: 12px;
}

.github-link {
    color: white;

    font-size: 13px;

    font-weight: 600;

    transition: color 0.3s ease;
}

.github-link:hover {
    color: #aaa;
}


/* ===================================
   FOOTER
=================================== */

.footer {
    border-top: 1px solid #222;

    padding: 25px;
}

.footer-content {
    max-width: 1100px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-content p {
    font-size: 13px;

    font-weight: 600;
}

.footer-content span {
    font-size: 12px;

    color: #777;
}


/* ===================================
   RESPONSIVE DESIGN
=================================== */

@media (max-width: 768px) {

    .nav-container {
        padding: 15px 20px;
    }

    .nav-brand h2 {
        font-size: 16px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .main {
        padding: 50px 20px;
    }

    .hero {
        padding: 25px 0 65px;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 14px;
    }

    .search-container {
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 20px;
    }

    .profile-card {
        padding: 25px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 480px) {

    .nav-links a:nth-child(2) {
        display: none;
    }

    .nav-brand h2 {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .search-container {
        flex-direction: column;

        align-items: stretch;
    }

    .search-input-box {
        width: 100%;
    }

    .search-button {
        width: 100%;
    }

    .profile-top {
        flex-direction: column;

        align-items: flex-start;
    }


    .profile-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;

        text-align: center;
    }

}