:root {
    --bg: #070812;
    --bg-elevated: #0d1020;
    --bg-card: #12162b;
    --bg-card-hover: #181d38;

    --border: #292652;
    --border-soft: #1b1d36;

    --text-primary: #f2edff;
    --text-secondary: #a7a1c4;
    --text-dim: #686383;

    --primary: #b56cff;
    --primary-soft: rgba(181, 108, 255, .15);

    --secondary: #00d9ff;
    --secondary-soft: rgba(0, 217, 255, .12);

    --danger: #ff5470;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --header-h: 70px;

    --font-display: 'Chakra Petch', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    background:
        radial-gradient(circle at top left, rgba(181, 108, 255, .15), transparent 35%),
        radial-gradient(circle at top right, rgba(0, 217, 255, .12), transparent 30%),
        var(--bg);

    color: var(--text-primary);

    font-family: var(--font-body);

    overflow-x: hidden;
}



body.menu-open {
    overflow: hidden;
}



a {
    color: inherit;
    text-decoration: none;
}


img {
    max-width: 100%;
    display: block;
}



button {
    font-family: inherit;
    cursor: pointer;
}



.container {
    max-width: 1240px;
    margin: auto;
    padding: 0 24px;
}





::selection {
    background: var(--primary);
    color: #fff;
}





/* GRID CYBER */

.scan-texture {

    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: 1;

    background-image:

        linear-gradient(rgba(181, 108, 255, .035) 1px,
            transparent 1px),

        linear-gradient(90deg,
            rgba(0, 217, 255, .035) 1px,
            transparent 1px);


    background-size: 45px 45px;

    mask-image:
        radial-gradient(ellipse 80% 60% at 50% 0%,
            black,
            transparent);

}




/* HEADER */


.site-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: var(--header-h);

    z-index: 100;

    background: rgba(7, 8, 18, .8);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border-soft);

    transition: .3s;

}


.site-header.scrolled {

    background: rgba(7, 8, 18, .95);

    border-color: var(--border);

}




.header-inner {

    height: 100%;

    display: flex;

    align-items: center;

    gap: 16px;

}



.hamburger-btn,
.icon-btn {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: transparent;

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);

    transition: .2s;

}


.hamburger-btn svg,
.icon-btn svg {

    width: 20px;
    height: 20px;

    stroke: var(--text-primary);

}



.hamburger-btn:hover,
.icon-btn:hover {

    border-color: var(--secondary);

    background: var(--secondary-soft);

}



.hamburger-btn:hover svg,
.icon-btn:hover svg {

    stroke: var(--secondary);

}





.brand {

    display: flex;

    align-items: center;

    gap: 10px;

}



.brand-mark {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.brand-mark svg {

    width: 100%;
    height: 100%;

}



.brand-mark circle,
.brand-mark line {

    stroke: var(--secondary);

}





.brand-mark circle:last-of-type {

    fill: var(--primary);

}



.brand-title {

    font-family: var(--font-display);

    font-size: 20px;

    font-weight: 700;

    letter-spacing: .04em;

}


.brand-title span {

    color: var(--primary);

    text-shadow:
        0 0 15px rgba(181, 108, 255, .8);

}



.header-spacer {

    flex: 1;

}



.header-socials {
    display: flex;
    gap: 8px;
    align-items: center;
}


.header-socials a {

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 8px;

    transition: .2s;

}


.header-socials svg {

    width: 18px;
    height: 18px;

    stroke: var(--text-primary);

}


.header-socials a:hover {

    border-color: var(--secondary);

    background: var(--secondary-soft);

}


@media(max-width:850px) {

    .header-socials {
        display: none;
    }

}

/* ==========================
   MENU LATERAL
========================== */


.menu-overlay {

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .65);

    opacity: 0;

    pointer-events: none;

    z-index: 150;

    transition: .3s;

}



.menu-overlay.open {

    opacity: 1;

    pointer-events: auto;

}





.menu-panel {

    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    width: min(340px, 85vw);

    background: var(--bg-elevated);

    border-right: 1px solid var(--border);

    z-index: 151;

    transform: translateX(-100%);

    transition: .35s;

    padding: 22px;

    display: flex;

    flex-direction: column;

}



.menu-panel.open {

    transform: translateX(0);

}




.menu-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 30px;

}



.menu-close {

    width: 38px;
    height: 38px;

    background: transparent;

    border: 1px solid var(--border);

    border-radius: 8px;

}



.menu-close svg {

    width: 18px;

    stroke: var(--text-secondary);

}



.menu-label {

    font-family: var(--font-mono);

    font-size: 11px;

    letter-spacing: .15em;

    color: var(--text-dim);

    text-transform: uppercase;

}



.menu-list {

    list-style: none;

    padding: 0;

    margin: 0 0 30px;

}



.menu-list a {

    display: flex;

    justify-content: space-between;

    padding: 12px;

    border-radius: 8px;

    font-family: var(--font-display);

    font-weight: 600;

    transition: .2s;

}



.menu-list a:hover,
.menu-list a.active {

    background: var(--primary-soft);

    color: var(--primary);

    padding-left: 18px;

}




.menu-socials {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

}



.menu-socials a {

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

}



.menu-footer-note {

    margin-top: auto;

    font-family: var(--font-mono);

    font-size: 11px;

    color: var(--text-dim);

    border-top: 1px solid var(--border-soft);

    padding-top: 20px;

}





/* ==========================
   HERO
========================== */


.hero {

    padding:

        calc(var(--header-h) + 70px) 0 70px;

    border-bottom: 1px solid var(--border-soft);

}



.hero-inner {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 50px;

}



@media(max-width:850px) {

    .hero-inner {

        grid-template-columns: 1fr;

    }

}





.eyebrow {

    font-family: var(--font-mono);

    font-size: 12px;

    color: var(--secondary);

    letter-spacing: .15em;

    text-transform: uppercase;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 18px;

}



.eyebrow:before {

    content: "";

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--secondary);

    box-shadow:
        0 0 12px var(--secondary);

}



.hero h1 {

    font-family: var(--font-display);

    font-size: clamp(34px, 5vw, 54px);

    line-height: 1.1;

    margin: 0 0 18px;

}



.hero h1 em {

    font-style: normal;

    color: var(--primary);

    text-shadow:
        0 0 25px rgba(181, 108, 255, .7);

}



.hero p {

    color: var(--text-secondary);

    max-width: 480px;

}




.hero-ctas {

    display: flex;

    gap: 14px;

    margin-top: 28px;

    flex-wrap: wrap;

}





.btn {

    padding: 13px 24px;

    border-radius: 8px;

    font-family: var(--font-display);

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    transition: .2s;

}



.btn-primary {

    background: linear-gradient(90deg,
            var(--primary),
            var(--secondary));

    color: #05050c;

}



.btn-primary:hover {

    box-shadow:
        0 0 25px rgba(181, 108, 255, .6);

    transform: translateY(-2px);

}




.btn-ghost {

    border: 1px solid var(--border);

}



.btn-ghost:hover {

    border-color: var(--secondary);

    color: var(--secondary);

}





/* BANNER */


.hero-banner {

    height: 360px;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid var(--border);

    background:

        linear-gradient(135deg,
            rgba(181, 108, 255, .15),
            rgba(0, 217, 255, .1));


    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow:

        0 0 35px rgba(181, 108, 255, .15);

}



.hero-banner img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



@media(max-width:850px) {

    .hero-banner {

        height: 260px;

    }

}

/* ==========================
   BUSCA
========================== */


.search-section {

    padding: 40px 0 10px;

}



.search-panel {

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 22px;

    display: flex;

    gap: 12px;

    align-items: center;

    flex-wrap: wrap;

}



.search-field {

    flex: 1 1 320px;

    position: relative;

}



.search-field svg {

    position: absolute;

    left: 14px;

    top: 50%;

    transform: translateY(-50%);

    width: 18px;

    stroke: var(--text-dim);

}



.search-field input {

    width: 100%;

    padding: 14px 14px 14px 42px;

    background: var(--bg-elevated);

    border: 1px solid var(--border);

    border-radius: 8px;

    color: white;

    outline: none;

}



.search-field input:focus {

    border-color: var(--secondary);

    box-shadow:
        0 0 15px rgba(0, 217, 255, .15);

}





.category-select select {

    background: var(--bg-elevated);

    border: 1px solid var(--border);

    color: white;

    padding: 14px;

    border-radius: 8px;

    min-width: 190px;

}




.results-meta {

    font-family: var(--font-mono);

    font-size: 12px;

    color: var(--text-dim);

}




.results-meta strong {

    color: var(--secondary);

}





/* ==========================
   PRODUTOS
========================== */


.products-section {

    padding: 40px 0 90px;

}



.category-block {

    margin-bottom: 50px;

}



.category-heading {

    display: flex;

    align-items: center;

    gap: 12px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--border-soft);

    margin-bottom: 20px;

}



.category-heading h2 {

    font-family: var(--font-display);

    text-transform: uppercase;

    font-size: 22px;

}



.category-heading .tag {

    color: var(--secondary);

    font-family: var(--font-mono);

}



.category-heading .count {

    margin-left: auto;

    font-family: var(--font-mono);

    font-size: 12px;

    color: var(--text-dim);

}

.product-price {
    margin-top: 14px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.product-price span {
    font-size: 13px;
    color: #888;
}

.product-price strong {
    font-family: "Chakra Petch", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffd600;
    line-height: 1;
}



.products-grid {

    display: grid;

    grid-template-columns:

        repeat(auto-fill, minmax(220px, 1fr));

    gap: 18px;

}





.product-card {

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    transition: .25s;

}



.product-card:hover {

    transform: translateY(-5px);

    border-color: var(--primary);

    box-shadow:

        0 0 25px rgba(181, 108, 255, .2);

}





.product-image {

    aspect-ratio: 1;

    background: #080916;

    overflow: hidden;

}



.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .3s;

}



.product-card:hover img {

    transform: scale(1.06);

}





.product-body {

    padding: 15px;

    display: flex;

    flex-direction: column;

    gap: 4px;

}



.product-name {

    font-size: 14px;

    margin: 0;

    min-height: 38px;

}



.product-id {

    font-family: var(--font-mono);

    font-size: 11px;

    color: var(--text-dim);

    margin-top: -4px;

}




.product-btn {

    margin-top: auto;

    text-align: center;

    padding: 11px;

    border-radius: 8px;

    background:

        rgba(0, 217, 255, .12);

    border: 1px solid rgba(0, 217, 255, .35);

    color: var(--secondary);

    font-family: var(--font-display);

    font-weight: 700;

    text-transform: uppercase;

    font-size: 12px;

    transition: .2s;

}



.product-btn:hover {

    background: var(--secondary);

    color: #061018;

    box-shadow:

        0 0 20px rgba(0, 217, 255, .5);

}





/* ==========================
   LOADING / ERRO
========================== */


.state-block {

    text-align: center;

    padding: 70px 20px;

    color: var(--text-secondary);

}



.spinner-radar {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    border: 3px solid var(--border);

    border-top-color: var(--primary);

    margin: auto auto 20px;

    animation: spin 1s linear infinite;

}



@keyframes spin {

    to {

        transform: rotate(360deg);

    }

}





/* ==========================
   VOLTAR AO TOPO
========================== */


.back-to-top {

    position: fixed;

    right: 22px;

    bottom: 22px;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    background: var(--bg-card);

    border: 1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    pointer-events: none;

    transition: .3s;

    z-index: 90;

}



.back-to-top.visible {

    opacity: 1;

    pointer-events: auto;

}



.back-to-top svg {

    width: 20px;

    stroke: var(--secondary);

}





/* ==========================
   FOOTER
========================== */


.site-footer {

    border-top: 1px solid var(--border-soft);

    padding: 28px;

    text-align: center;

}



.site-footer p {

    margin: 0;

    font-family: var(--font-mono);

    font-size: 12px;

    color: var(--text-dim);

}





/* MOBILE */


@media(max-width:600px) {


    .container {

        padding: 0 16px;

    }


    .products-grid {

        grid-template-columns:

            repeat(2, 1fr);

        gap: 12px;

    }



    .hero h1 {

        font-size: 34px;

    }



    .category-heading h2 {

        font-size: 18px;

    }


}

/* ==========================
   RADAR INFO
========================== */


.radar-info {

    padding: 70px 0;

    border-top: 1px solid var(--border-soft);

    background:
        radial-gradient(circle at center,
            rgba(181, 108, 255, .08),
            transparent 60%);

}




.radar-info-header {

    text-align: center;

    max-width: 650px;

    margin: 0 auto 40px;

}



.radar-info-header h2 {

    font-family: var(--font-display);

    font-size: 32px;

    margin: 10px 0;

}



.radar-info-header h2 em {

    font-style: normal;

    color: var(--primary);

    text-shadow:
        0 0 20px rgba(181, 108, 255, .7);

}



.radar-info-header p {

    color: var(--text-secondary);

    line-height: 1.6;

}





.radar-info-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}




.radar-box {

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 28px 22px;

    text-align: center;

    transition: .25s;

}



.radar-box:hover {

    transform: translateY(-5px);

    border-color: var(--secondary);

    box-shadow:

        0 0 25px rgba(0, 217, 255, .15);

}




.radar-icon {

    font-size: 34px;

    margin-bottom: 18px;

}




.radar-box h3 {

    font-family: var(--font-display);

    font-size: 18px;

    margin: 0 0 12px;

}




.radar-box p {

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.6;

    margin: 0;

}




@media(max-width:850px) {


    .radar-info-grid {

        grid-template-columns: 1fr;

    }


}