@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    --bg: #07090d;
    --panel: #0c1016;
    --panel-light: #11161e;
    --border: rgba(255,255,255,0.08);
    --text: #f2f5f8;
    --muted: #7f8998;
    --accent: #9c7cff;
    --accent-light: #c0adff;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 20%, rgba(111,76,255,0.10), transparent 32%),
        var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}


/* ARRIÈRE-PLAN */

.background-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.08;
}

.glow-one {
    background: #7c5cff;
    top: 10%;
    left: -250px;
}

.glow-two {
    background: #5c8cff;
    right: -250px;
    bottom: 5%;
}


/* HEADER */

.topbar {
    width: 100%;
    height: 76px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(7,9,13,0.78);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 16px;
}


/* LOGO ŒIL */

.logo-eye {
    width: 34px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-shape {
    width: 30px;
    height: 18px;
    border: 2px solid var(--accent-light);
    border-radius: 100% 0;
    transform: rotate(45deg);
    position: relative;
    box-shadow: 0 0 14px rgba(156,124,255,0.25);
}

.eye-pupil {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-light);
    top: 3px;
    left: 9px;
    box-shadow: 0 0 12px var(--accent);
}


/* NAVIGATION */

nav {
    display: flex;
    gap: 6px;
}

.nav-button {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    cursor: pointer;
    padding: 9px 16px;
    border-radius: 8px;
}

.nav-button:hover,
.nav-button.active {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}


/* CONNEXION / COMPTE */

.top-actions {
    display: flex;
    gap: 8px;
}

.account-button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    padding: 9px 14px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.account-button:hover {
    color: white;
    border-color: rgba(156,124,255,0.4);
}

.account-button.primary {
    background: white;
    color: #08090c;
    border-color: white;
}

.account-button.primary:hover {
    background: #e4ddff;
    border-color: #e4ddff;
}


/* HERO */

.hero {
    max-width: 1000px;
    margin: 0 auto;
    padding: 105px 20px 70px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    margin-bottom: 24px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #70d89a;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(112,216,154,0.8);
}

h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -4px;
    font-weight: 800;
}

h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #9c7cff, #c8b9ff);
    background-clip: text;
    -webkit-background-clip: text;
}

.subtitle {
    max-width: 600px;
    margin: 25px auto 40px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}


/* RECHERCHE */

.search-box {
    width: 100%;
    max-width: 820px;
    margin: auto;
    background: rgba(12,16,22,0.9);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 8px;
    box-shadow:
        0 25px 80px rgba(0,0,0,0.35),
        0 0 50px rgba(124,92,255,0.04);
}

.search-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
}

.search-icon {
    width: 35px;
    color: #7d8795;
    font-size: 25px;
}

.search-top input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    color: white;
    font-family: inherit;
    font-size: 14px;
}

.search-top input::placeholder {
    color: #586170;
}

.search-top button {
    border: 0;
    background: white;
    color: #08090c;
    padding: 12px 18px;
    border-radius: 9px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.search-top button:hover {
    background: #e4ddff;
}

.search-top button span {
    margin-left: 7px;
    opacity: 0.5;
}

.search-options {
    display: flex;
    gap: 6px;
    padding: 8px 5px 3px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.category {
    flex: 1;
    padding: 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.category:hover {
    color: white;
    background: rgba(255,255,255,0.04);
}

.category.active {
    background: rgba(156,124,255,0.13);
    color: var(--accent-light);
}


/* EXEMPLES */

.quick-searches {
    margin-top: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #596272;
}

.quick-searches button {
    border: 0;
    background: transparent;
    color: #737d8c;
    cursor: pointer;
}

.quick-searches button:hover {
    color: var(--accent-light);
}


/* CARTES */

.features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 90px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-card {
    display: flex;
    gap: 15px;
    padding: 22px;
    background: rgba(12,16,22,0.55);
    border: 1px solid var(--border);
    border-radius: 13px;
    text-align: left;
}

.feature-card:hover {
    border-color: rgba(156,124,255,0.22);
    transform: translateY(-2px);
    transition: 0.2s;
}

.feature-icon {
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(156,124,255,0.08);
    color: var(--accent-light);
}

.feature-card h3 {
    font-size: 13px;
    margin-bottom: 7px;
}

.feature-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}


/* RÉSULTATS */

.results {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.results.hidden {
    display: none;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 18px;
}

.results-label {
    color: var(--accent-light);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.results-header h2 {
    margin-top: 5px;
    font-size: 24px;
}

#clearButton {
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.result-content {
    border: 1px solid var(--border);
    background: rgba(12,16,22,0.65);
    border-radius: 13px;
    padding: 25px;
}

.result-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.result-item:last-child {
    border-bottom: 0;
}

.result-item small {
    color: var(--muted);
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: 1px;
}

.result-item strong {
    font-size: 14px;
}


/* FOOTER */

footer {
    border-top: 1px solid var(--border);
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    color: #4e5765;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 7px;
}


/* MOBILE */

@media (max-width: 700px) {

    .topbar {
        padding: 0 18px;
    }

    nav {
        display: none;
    }

    .top-actions {
        gap: 5px;
    }

    .account-button {
        padding: 8px 9px;
        font-size: 10px;
    }

    .hero {
        padding-top: 75px;
    }

    h1 {
        font-size: 49px;
        letter-spacing: -2.5px;
    }

    .subtitle {
        font-size: 13px;
    }

    .search-top {
        flex-wrap: wrap;
    }

    .search-icon {
        display: none;
    }

    .search-top input {
        width: 100%;
        flex-basis: 100%;
        padding: 12px 8px;
    }

    .search-top button {
        width: 100%;
    }

    .search-options {
        overflow-x: auto;
    }

    .category {
        min-width: 75px;
    }

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

    footer {
        padding: 22px 18px;
    }
}