.network-hub {
    --hub-bg: #080c15;
    --hub-panel: #101725;
    --hub-panel-strong: #151e30;
    --hub-line: rgba(255, 255, 255, .1);
    --hub-copy: #f6f8ff;
    --hub-muted: #9ca9bd;
    --hub-cyan: #32d8f0;
    --hub-violet: #9a75ff;
    --hub-coral: #ff7d79;
    --hub-blue: #5d93ff;
    --hub-lime: #72e3ae;
    position: relative;
    max-width: 1440px;
    margin: -1.5rem auto 0;
    color: var(--hub-copy);
}

.network-hub::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 9% 12%, rgba(49, 216, 240, .09), transparent 28rem),
        radial-gradient(circle at 90% 20%, rgba(154, 117, 255, .1), transparent 30rem),
        var(--hub-bg);
    pointer-events: none;
}

.network-hub__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
    margin-bottom: 1.2rem;
    padding: .85rem 1rem;
    border: 1px solid var(--hub-line);
    border-radius: 18px;
    background: rgba(12, 18, 30, .8);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
}

.network-hub__identity {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
    color: var(--hub-copy);
    font-weight: 800;
    line-height: 1.05;
    text-decoration: none;
}

.network-hub__identity:hover {
    color: var(--hub-copy);
}

.network-hub__identity small {
    display: block;
    margin-top: .3rem;
    color: var(--hub-muted);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.network-hub__identity-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(49, 216, 240, .4);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(49, 216, 240, .22), rgba(154, 117, 255, .16));
    box-shadow: inset 0 0 20px rgba(49, 216, 240, .1);
}

.network-hub__identity-mark i {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hub-cyan);
    box-shadow: 0 0 12px rgba(49, 216, 240, .8);
}

.network-hub__identity-mark i:first-child {
    transform: translate(-9px, 6px);
}

.network-hub__identity-mark i:nth-child(2) {
    transform: translate(0, -7px);
    background: var(--hub-violet);
}

.network-hub__identity-mark i:last-child {
    transform: translate(9px, 6px);
    background: var(--hub-coral);
}

.network-hub__identity-mark::before,
.network-hub__identity-mark::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 1px;
    top: 22px;
    background: rgba(255, 255, 255, .55);
}

.network-hub__identity-mark::before {
    left: 9px;
    transform: rotate(-50deg);
}

.network-hub__identity-mark::after {
    right: 9px;
    transform: rotate(50deg);
}

.network-hub__top-actions,
.network-hub__hero-actions,
.network-hub__share-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
}

.network-hub__text-link {
    color: var(--hub-muted);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

.network-hub__text-link:hover {
    color: var(--hub-copy);
}

.network-hub__share-button,
.network-hub__primary-action,
.network-hub__secondary-action,
.network-hub__share-options a,
.network-hub__share-options button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 42px;
    padding: .72rem 1rem;
    border: 1px solid var(--hub-line);
    border-radius: 11px;
    color: var(--hub-copy);
    background: rgba(255, 255, 255, .045);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.network-hub__share-button:hover,
.network-hub__secondary-action:hover,
.network-hub__share-options a:hover,
.network-hub__share-options button:hover {
    border-color: rgba(49, 216, 240, .4);
    color: var(--hub-copy);
    background: rgba(49, 216, 240, .09);
    transform: translateY(-1px);
}

.network-hub__share-button svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.network-hub__hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
    min-height: 585px;
    overflow: hidden;
    border: 1px solid rgba(112, 148, 206, .18);
    border-radius: 30px;
    background:
        linear-gradient(100deg, rgba(10, 15, 26, .98) 2%, rgba(10, 15, 26, .9) 46%, rgba(10, 15, 26, .1) 76%),
        var(--hub-panel);
    box-shadow: 0 32px 90px rgba(0, 0, 0, .3);
}

.network-hub__hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: auto 8% 0 46%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(49, 216, 240, .65), transparent);
    box-shadow: 0 0 22px rgba(49, 216, 240, .55);
}

.network-hub__hero-copy {
    position: relative;
    z-index: 3;
    align-self: center;
    padding: clamp(2rem, 5vw, 5.3rem);
    padding-right: 0;
}

.network-hub__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.1rem;
    color: #a7b8ce;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.network-hub__eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hub-lime);
    box-shadow: 0 0 12px rgba(114, 227, 174, .8);
}

.network-hub__hero h1 {
    max-width: 700px;
    margin: 0 0 1.35rem;
    font-size: clamp(3rem, 6vw, 6.25rem);
    font-weight: 850;
    letter-spacing: -.065em;
    line-height: .91;
}

.network-hub__hero h1 em {
    color: transparent;
    background: linear-gradient(100deg, var(--hub-cyan), #8db3ff 48%, #be8cff);
    background-clip: text;
    font-style: normal;
    -webkit-background-clip: text;
}

.network-hub__hero-copy > p {
    max-width: 600px;
    margin-bottom: 1.8rem;
    color: var(--hub-muted);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
}

.network-hub__primary-action {
    border-color: transparent;
    color: #071018;
    background: linear-gradient(110deg, var(--hub-cyan), #72e3c0);
    box-shadow: 0 12px 32px rgba(49, 216, 240, .16);
}

.network-hub__primary-action:hover {
    color: #071018;
    transform: translateY(-2px);
}

.network-hub__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    margin-top: 2.1rem;
    color: #75849b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.network-hub__stats span {
    padding-right: 1.3rem;
    border-right: 1px solid var(--hub-line);
}

.network-hub__stats span:last-child {
    padding-right: 0;
    border: 0;
}

.network-hub__stats strong {
    margin-right: .3rem;
    color: var(--hub-copy);
    font-size: 1.05rem;
}

.network-hub__hero-art {
    position: absolute;
    z-index: 1;
    inset: 0 0 0 34%;
    margin: 0;
}

.network-hub__hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--hub-panel) 0%, rgba(16, 23, 37, .25) 32%, transparent 58%);
}

.network-hub__hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.network-hub__explore {
    padding: clamp(4.5rem, 9vw, 8rem) 0 3rem;
}

.network-hub__explore-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.network-hub__explore-heading .network-hub__eyebrow {
    margin-bottom: .65rem;
}

.network-hub__explore-heading h2,
.network-hub__share-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.045em;
}

.network-hub__search {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: min(100%, 340px);
    min-height: 48px;
    padding: 0 .8rem;
    border: 1px solid var(--hub-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .035);
}

.network-hub__search:focus-within {
    border-color: rgba(49, 216, 240, .55);
    box-shadow: 0 0 0 3px rgba(49, 216, 240, .08);
}

.network-hub__search svg {
    width: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: var(--hub-muted);
    stroke-width: 1.8;
}

.network-hub__search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--hub-copy);
    background: transparent;
}

.network-hub__search input::placeholder {
    color: #738096;
}

.network-hub__search kbd {
    padding: .15rem .4rem;
    border: 1px solid var(--hub-line);
    border-radius: 5px;
    color: #8491a5;
    background: rgba(255, 255, 255, .05);
    font-size: .7rem;
    font-family: inherit;
}

.network-hub__filters {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    margin-bottom: 4.5rem;
    padding-bottom: .5rem;
    scrollbar-width: thin;
}

.network-hub__filters button {
    flex: 0 0 auto;
    padding: .7rem .9rem;
    border: 1px solid var(--hub-line);
    border-radius: 999px;
    color: #91a0b5;
    background: transparent;
    font-size: .78rem;
    font-weight: 750;
}

.network-hub__filters button span {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    margin-left: .35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    font-size: .65rem;
}

.network-hub__filters button:hover,
.network-hub__filters button.is-active {
    border-color: rgba(49, 216, 240, .45);
    color: var(--hub-copy);
    background: rgba(49, 216, 240, .09);
}

.network-hub__section {
    display: grid;
    grid-template-columns: minmax(180px, .28fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-bottom: 5.5rem;
    scroll-margin-top: 2rem;
}

.network-hub__section[hidden],
.network-hub__card[hidden] {
    display: none !important;
}

.network-hub__section-heading {
    padding-top: .35rem;
}

.network-hub__section-heading > span {
    display: block;
    margin-bottom: 1rem;
    color: var(--hub-cyan);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.network-hub__section-heading h2 {
    margin-bottom: .8rem;
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.network-hub__section-heading p {
    max-width: 280px;
    margin: 0;
    color: var(--hub-muted);
    font-size: .86rem;
    line-height: 1.65;
}

.network-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.network-hub__card {
    --card-accent: var(--hub-cyan);
    position: relative;
    display: flex;
    min-height: 270px;
    overflow: hidden;
    flex-direction: column;
    padding: 1.3rem;
    border: 1px solid var(--hub-line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--card-accent) 10%, transparent), transparent 52%),
        linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.network-hub__card:hover {
    border-color: color-mix(in srgb, var(--card-accent) 43%, transparent);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
    transform: translateY(-4px);
}

.network-hub__card--violet { --card-accent: var(--hub-violet); }
.network-hub__card--coral { --card-accent: var(--hub-coral); }
.network-hub__card--blue { --card-accent: var(--hub-blue); }
.network-hub__card--lime { --card-accent: var(--hub-lime); }

.network-hub__card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.network-hub__card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid color-mix(in srgb, var(--card-accent) 32%, transparent);
    border-radius: 13px;
    color: var(--card-accent);
    background: color-mix(in srgb, var(--card-accent) 11%, transparent);
}

.network-hub__card-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.network-hub__card-arrow {
    color: #65738a;
    font-size: 1.05rem;
}

.network-hub__card h3 {
    margin: 0 0 .65rem;
    font-size: 1.08rem;
    font-weight: 800;
}

.network-hub__card-copy p {
    margin: 0;
    color: var(--hub-muted);
    font-size: .82rem;
    line-height: 1.6;
}

.network-hub__card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
    padding-top: 1.4rem;
}

.network-hub__card-footer > a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--card-accent);
    font-size: .76rem;
    font-weight: 850;
    text-decoration: none;
}

.network-hub__card-footer > a::before {
    content: "";
    position: absolute;
    inset: 0;
}

.network-hub__mini-links {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: .3rem;
}

.network-hub__mini-links a {
    padding: .24rem .4rem;
    border: 1px solid var(--hub-line);
    border-radius: 6px;
    color: var(--hub-muted);
    background: var(--hub-panel);
    font-size: .62rem;
    text-decoration: none;
}

.network-hub__empty {
    padding: 5rem 1rem;
    border: 1px dashed var(--hub-line);
    border-radius: 22px;
    text-align: center;
}

.network-hub__empty > span {
    color: var(--hub-cyan);
    font-size: 3rem;
}

.network-hub__empty h2 {
    margin: .6rem 0;
    font-size: 1.4rem;
}

.network-hub__empty p {
    color: var(--hub-muted);
}

.network-hub__empty button {
    padding: .65rem 1rem;
    border: 1px solid rgba(49, 216, 240, .4);
    border-radius: 10px;
    color: var(--hub-copy);
    background: rgba(49, 216, 240, .1);
}

.network-hub__share-panel {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(154, 117, 255, .25);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0, rgba(154, 117, 255, .2), transparent 42%),
        radial-gradient(circle at 0 100%, rgba(49, 216, 240, .1), transparent 45%),
        var(--hub-panel);
}

.network-hub__share-panel > div:first-child {
    max-width: 760px;
}

.network-hub__share-panel .network-hub__eyebrow {
    margin-bottom: .65rem;
}

.network-hub__share-panel p {
    max-width: 640px;
    margin: 1rem 0 0;
    color: var(--hub-muted);
    line-height: 1.6;
}

.network-hub__share-options {
    justify-content: end;
    flex: 0 0 auto;
}

.network-hub__share-options button {
    color: #071018;
    border-color: transparent;
    background: var(--hub-cyan);
}

@media (max-width: 1199.98px) {
    .network-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .network-hub__hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .network-hub__hero-art {
        inset: 0 0 0 28%;
        opacity: .82;
    }

    .network-hub__hero-copy {
        padding-right: clamp(2rem, 5vw, 5.3rem);
    }

    .network-hub__share-panel {
        align-items: start;
        flex-direction: column;
    }

    .network-hub__share-options {
        justify-content: start;
    }
}

@media (max-width: 767.98px) {
    .network-hub {
        margin-top: -.8rem;
    }

    .network-hub__topbar {
        min-height: 66px;
        border-radius: 14px;
    }

    .network-hub__text-link {
        display: none;
    }

    .network-hub__share-button {
        width: 42px;
        padding: 0;
        font-size: 0;
    }

    .network-hub__hero {
        min-height: 650px;
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(10, 15, 26, .82), rgba(10, 15, 26, .99) 58%), var(--hub-panel);
    }

    .network-hub__hero-copy {
        align-self: end;
        padding: 2rem 1.25rem;
    }

    .network-hub__hero h1 {
        font-size: clamp(2.8rem, 15vw, 4.6rem);
    }

    .network-hub__hero-art {
        inset: 0 0 42%;
        opacity: .72;
    }

    .network-hub__hero-art::after {
        background: linear-gradient(180deg, transparent 45%, var(--hub-panel));
    }

    .network-hub__stats {
        gap: .65rem 1rem;
    }

    .network-hub__stats span {
        padding-right: 1rem;
    }

    .network-hub__explore {
        padding-top: 5rem;
    }

    .network-hub__explore-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 1.3rem;
    }

    .network-hub__search {
        width: 100%;
    }

    .network-hub__filters {
        margin-right: -.75rem;
        margin-bottom: 3rem;
        padding-right: .75rem;
    }

    .network-hub__section {
        grid-template-columns: 1fr;
        margin-bottom: 4rem;
    }

    .network-hub__section-heading p {
        max-width: none;
    }

    .network-hub__grid {
        grid-template-columns: 1fr;
    }

    .network-hub__card {
        min-height: 235px;
    }

    .network-hub__share-panel {
        gap: 2rem;
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .network-hub *,
    .network-hub *::before,
    .network-hub *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
