/* HYPE & BYTE — Official Brandbook Compiled Stylesheet (Zero-JS-CDN, 100/100 PageSpeed) */
:root {
    --ink: #0E1116;
    --ink-light: #141922;
    --ink-border: #222936;
    --fog: #AAB4C0;
    --paper: #FFFFFF;
    --hype: #C6FF3D;
    --byte: #35E0FF;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--ink);
    color: var(--paper);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--hype);
    color: var(--ink);
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--fog); }

/* Dot Grid "Byte" Pattern (Brandbook p.12) */
.byte-grid-bg {
    background-image: radial-gradient(rgba(170, 180, 192, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Brand Cards (Brandbook Rounded Square & Strict Single-Accent Borders) */
.brand-card {
    border-radius: 14px;
    background-color: rgba(20, 25, 34, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card-hype {
    border: 1px solid rgba(198, 255, 61, 0.24);
}
.brand-card-hype:hover {
    border-color: var(--hype);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(198, 255, 61, 0.16);
}

.brand-card-byte {
    border: 1px solid rgba(53, 224, 255, 0.24);
}
.brand-card-byte:hover {
    border-color: var(--byte);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(53, 224, 255, 0.16);
}

.brand-card-neutral {
    border: 1px solid var(--ink-border);
}
.brand-card-neutral:hover {
    border-color: var(--fog);
    transform: translateY(-3px);
}

/* Layout Containers */
.container-xl {
    max-width: 80rem; /* 1280px */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.container-lg {
    max-width: 64rem; /* 1024px */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .container-xl, .container-lg { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .container-xl, .container-lg { padding-left: 2rem; padding-right: 2rem; }
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background-color: rgba(14, 17, 22, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ink-border);
}
.header-inner {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    color: var(--paper);
    flex-shrink: 0;
}
.logo-box {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background-color: var(--ink-light);
    border: 1px solid rgba(255,255,255,0.15);
    transition: border-color 0.2s;
}
.brand-logo:hover .logo-box {
    border-color: var(--hype);
}
.logo-title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    line-height: 1.2;
}
.logo-sub {
    font-size: 0.68rem;
    color: var(--fog);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 2px;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
@media (min-width: 1200px) {
    .desktop-nav { display: flex; }
}
.desktop-nav a {
    color: var(--fog);
    text-decoration: none;
    transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--paper); }
.desktop-nav a.nav-hype:hover { color: var(--hype); }
.desktop-nav a.nav-byte:hover { color: var(--byte); }
.desktop-nav a.nav-onsite { color: var(--hype); font-weight: 700; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Language / Region Switcher Pill */
.lang-pill {
    display: flex;
    align-items: center;
    background-color: var(--ink-light);
    border: 1px solid var(--ink-border);
    border-radius: 0.75rem;
    padding: 0.25rem;
    font-size: 0.6875rem;
    gap: 2px;
}
.lang-pill a, .lang-pill button {
    padding: 0.375rem 0.55rem;
    border-radius: 0.5rem;
    color: var(--fog);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.lang-pill a:hover, .lang-pill button:hover {
    color: var(--paper);
}
.lang-pill a.active, .lang-pill button.active {
    background-color: var(--paper);
    color: var(--ink);
    font-weight: 700;
}

.btn-header-cta {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.6rem 1rem;
    border-radius: 0.75rem;
    background-color: var(--hype);
    color: var(--ink);
    text-decoration: none;
    transition: filter 0.2s;
    box-shadow: 0 4px 14px rgba(198, 255, 61, 0.12);
}
.btn-header-cta:hover { filter: brightness(1.1); }
@media (min-width: 640px) {
    .btn-header-cta { display: inline-flex; }
}

.mobile-menu-btn {
    display: inline-flex;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--ink-border);
    background: transparent;
    color: var(--fog);
    cursor: pointer;
}
@media (min-width: 1200px) {
    .mobile-menu-btn { display: none; }
}

.mobile-drawer {
    background-color: var(--ink-light);
    border-bottom: 1px solid var(--ink-border);
    padding: 0.75rem 1rem 1.5rem;
}
.mobile-drawer a {
    display: block;
    padding: 0.6rem 0;
    color: var(--fog);
    text-decoration: none;
    font-size: 0.875rem;
}
.mobile-drawer a.cta-mob {
    margin-top: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    border-radius: 0.75rem;
    background-color: var(--hype);
    color: var(--ink);
    font-weight: 700;
}

/* Sections & Grid System */
.hero-sec {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--ink-border);
    overflow: hidden;
}
@media (min-width: 768px) {
    .hero-sec { padding-top: 10rem; padding-bottom: 7rem; }
}
.sec-pad {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    border-bottom: 1px solid var(--ink-border);
}
.glow-hype {
    pointer-events: none;
    position: absolute;
    top: -6rem; left: -6rem;
    width: 420px; height: 420px;
    border-radius: 9999px;
    background: rgba(198, 255, 61, 0.09);
    filter: blur(130px);
}
.glow-byte {
    pointer-events: none;
    position: absolute;
    top: 30%; right: -6rem;
    width: 420px; height: 420px;
    border-radius: 9999px;
    background: rgba(53, 224, 255, 0.09);
    filter: blur(130px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 7fr 5fr; }
}

.status-pill {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    background-color: rgba(20, 25, 34, 0.9);
    border: 1px solid var(--ink-border);
    font-size: 0.75rem;
    color: var(--fog);
    margin-bottom: 1.5rem;
}
.pulse-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    background-color: var(--hype);
    box-shadow: 0 0 10px var(--hype);
}

.hero-h1 {
    font-weight: 800;
    font-size: clamp(1.9rem, 4.5vw, 3.35rem);
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.text-hype { color: var(--hype); }
.text-byte { color: var(--byte); }
.text-fog { color: var(--fog); }
.text-paper { color: var(--paper); }

.hero-sub {
    color: var(--fog);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 42rem;
    margin-bottom: 1.75rem;
}

.cta-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
@media (min-width: 640px) {
    .cta-row { flex-direction: row; align-items: center; }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 0.75rem;
    background-color: var(--hype);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 10px 25px -5px rgba(198, 255, 61, 0.2);
    border: none;
    cursor: pointer;
}
.btn-primary:hover { filter: brightness(1.1); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 0.75rem;
    background-color: var(--ink-light);
    border: 2px solid var(--byte);
    color: var(--byte);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-secondary:hover { background-color: rgba(53, 224, 255, 0.1); }

.stats-grid {
    padding-top: 1.5rem;
    border-top: 1px solid var(--ink-border);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.sec-head {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .sec-head { flex-direction: row; align-items: flex-end; }
}

.sec-title {
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
}

.icon-box-hype {
    width: 2.75rem; height: 2.75rem;
    border-radius: 0.75rem;
    background-color: rgba(198, 255, 61, 0.1);
    border: 1px solid var(--hype);
    color: var(--hype);
    display: flex; align-items: center; justify-content: center;
}
.icon-box-byte {
    width: 2.75rem; height: 2.75rem;
    border-radius: 0.75rem;
    background-color: rgba(53, 224, 255, 0.1);
    border: 1px solid var(--byte);
    color: var(--byte);
    display: flex; align-items: center; justify-content: center;
}

.bullet-list {
    list-style: none;
    border-top: 1px solid var(--ink-border);
    padding-top: 1rem;
    margin-top: 1.5rem;
}
.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.filter-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background-color: var(--ink-light);
    padding: 0.375rem;
    border-radius: 0.75rem;
    border: 1px solid var(--ink-border);
}
.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--fog);
    transition: all 0.2s;
}
.filter-btn.active-all { background-color: var(--paper); color: var(--ink); font-weight: 700; }
.filter-btn.active-hype { background-color: var(--hype); color: var(--ink); font-weight: 700; }
.filter-btn.active-byte { background-color: var(--byte); color: var(--ink); font-weight: 700; }

/* Form Elements */
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: var(--ink);
    border: 1px solid var(--ink-border);
    color: var(--paper);
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--hype);
}
.tag-pill {
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    background-color: var(--ink);
    border: 1px solid var(--ink-border);
    color: var(--paper);
    font-size: 0.75rem;
}

.hidden { display: none !important; }


/* ================= MESSENGER BOTS & SOCIAL MEDIA LINKS (v7) ================= */
.hb-messengers-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.hb-bot-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: 0.55rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.73rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.hb-bot-btn-tg:hover {
    background-color: var(--byte) !important;
    color: var(--ink) !important;
    border-color: var(--byte) !important;
    transform: translateY(-2px);
}

.hb-bot-btn-wa:hover {
    background-color: var(--hype) !important;
    color: var(--ink) !important;
    border-color: var(--hype) !important;
    transform: translateY(-2px);
}

.hb-social-link:hover {
    color: var(--paper) !important;
    border-color: var(--hype) !important;
    background-color: rgba(198, 255, 61, 0.1) !important;
    transform: translateY(-2px);
}

.hb-footer-socials a:hover {
    color: var(--hype) !important;
    border-color: var(--hype) !important;
    transform: translateY(-2px);
}


/* ================= MOBILE HEADER & TURNSTILE FIXES (v14) ================= */
@media (max-width: 639px) {
    .container-xl, .container-lg {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .header-inner {
        height: 4.1rem;
        gap: 0.35rem;
    }
    .brand-logo {
        gap: 0.45rem;
        min-width: 0;
        flex-shrink: 1;
    }
    .logo-box {
        width: 2.15rem;
        height: 2.15rem;
        border-radius: 0.55rem;
        flex-shrink: 0;
    }
    .logo-box svg {
        width: 20px;
        height: 20px;
    }
    .logo-title {
        font-size: 0.82rem;
        letter-spacing: 0.1em;
        white-space: nowrap;
    }
    .logo-sub {
        display: none;
    }
    .header-actions {
        gap: 0.35rem;
        flex-shrink: 0;
    }
    .lang-pill {
        padding: 0.15rem;
        border-radius: 0.55rem;
        gap: 1px;
    }
    .lang-pill a, .lang-pill button {
        padding: 0.26rem 0.38rem;
        font-size: 0.62rem;
        border-radius: 0.4rem;
    }
    .mobile-menu-btn {
        padding: 0.38rem;
        border-radius: 0.45rem;
    }
    .mobile-menu-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 640px) and (max-width: 820px) {
    .logo-sub {
        font-size: 0.56rem;
        letter-spacing: 0.1em;
    }
    .logo-title {
        font-size: 0.92rem;
        letter-spacing: 0.15em;
    }
    .lang-pill a, .lang-pill button {
        padding: 0.3rem 0.45rem;
        font-size: 0.65rem;
    }
}

#cf-turnstile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 65px;
    margin: 0.25rem 0;
    overflow: hidden;
}
#cf-turnstile-container iframe {
    max-width: 100% !important;
}
