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

:root {
    --bg: #050a0f;
    --bg-soft: #081119;
    --panel: #0b151e;
    --panel-hover: #0f1c26;

    --text: #edf4f7;
    --muted: #8ea2ae;
    --muted-2: #657983;

    --red: #e21b23;
    --red-light: #ff4249;

    --border: rgba(255,255,255,.08);
    --border-strong: rgba(255,255,255,.14);

    --green: #31d58b;

    --max: 1240px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(226,27,35,.08),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}

a {
    color: inherit;
}

button {
    font: inherit;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 76px;

    padding: 12px max(24px, calc((100vw - var(--max)) / 2));

    background: rgba(5,10,15,.88);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #f02b33,
            #b90e15
        );

    color: white;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;

    box-shadow:
        0 8px 25px rgba(226,27,35,.22);
}

.brand-text strong {
    display: block;

    color: white;

    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.brand-text span {
    display: block;

    margin-top: 2px;

    color: var(--muted-2);

    font-size: 10px;
    letter-spacing: .4px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.desktop-nav a {
    position: relative;

    color: #aebec7;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color .2s ease;
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: -7px;

    height: 2px;

    background: var(--red);

    transition:
        right .2s ease;
}

.desktop-nav a:hover {
    color: white;
}

.desktop-nav a:hover::after {
    right: 0;
}

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border-strong);
    border-radius: 10px;

    background: var(--panel);

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 19px;
    height: 2px;

    margin: 4px auto;

    background: white;

    transition: .2s;
}

.mobile-menu {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 690px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(226,27,35,.15),
            transparent 28%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(15,100,140,.12),
            transparent 32%
        );
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: .22;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );
}

.hero-grid {
    position: relative;
    z-index: 2;

    width: min(var(--max), calc(100% - 48px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    align-items: center;

    gap: 70px;
}

.hero-content {
    max-width: 720px;
}

.network-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 12px;

    border: 1px solid rgba(226,27,35,.3);
    border-radius: 999px;

    background: rgba(226,27,35,.07);

    color: #ff6268;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pulse {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 5px rgba(49,213,139,.08),
        0 0 14px rgba(49,213,139,.7);

    animation:
        pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .45;
    }
}

.hero h1 {
    margin-top: 25px;

    max-width: 780px;

    font-size:
        clamp(48px, 6.2vw, 82px);

    line-height: .99;

    letter-spacing: -3px;
}

.hero h1 span {
    display: block;

    color: var(--red-light);
}

.hero-description {
    max-width: 660px;

    margin-top: 27px;

    color: #9cafba;

    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 20px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            #ed252d,
            #bd1118
        );

    color: white;

    box-shadow:
        0 12px 30px rgba(226,27,35,.2);
}

.btn-primary:hover {
    box-shadow:
        0 16px 35px rgba(226,27,35,.3);
}

.btn-secondary {
    border: 1px solid var(--border-strong);

    background: rgba(255,255,255,.025);

    color: white;
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,.28);
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;

    margin-top: 25px;
}

.hero-links a,
.text-link {
    color: #aebec7;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: color .2s ease;
}

.hero-links a:hover,
.text-link:hover {
    color: white;
}


/* =========================================================
   RADAR VISUAL
   ========================================================= */

.network-visual {
    min-height: 500px;

    display: grid;
    place-items: center;
}

.radar {
    position: relative;

    width: min(470px, 80vw);
    aspect-ratio: 1;

    border-radius: 50%;
}

.radar::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(226,27,35,.12),
            transparent 52%
        );

    filter: blur(10px);
}

.radar-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    border: 1px solid rgba(226,27,35,.22);
}

.ring-1 {
    width: 30%;
    height: 30%;
}

.ring-2 {
    width: 58%;
    height: 58%;
}

.ring-3 {
    width: 86%;
    height: 86%;
}

.radar-center {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 78px;
    height: 78px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #ef343b,
            #a70d14
        );

    border: 4px solid rgba(255,255,255,.08);

    color: white;

    font-weight: 900;

    box-shadow:
        0 0 40px rgba(226,27,35,.35);
}

.node {
    position: absolute;

    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 1px solid rgba(49,213,139,.5);

    background: #08141b;

    color: var(--green);

    font-size: 9px;
    font-weight: 800;

    box-shadow:
        0 0 20px rgba(49,213,139,.15);
}

.node-1 {
    top: 9%;
    left: 47%;
}

.node-2 {
    top: 38%;
    right: 4%;
}

.node-3 {
    bottom: 11%;
    right: 24%;
}

.node-4 {
    bottom: 15%;
    left: 17%;
}

.node-5 {
    top: 31%;
    left: 4%;
}

.connection {
    position: absolute;

    height: 1px;

    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            rgba(49,213,139,.6),
            rgba(49,213,139,0)
        );

    opacity: .55;
}

.c1 {
    width: 170px;
    left: 48%;
    top: 48%;
    transform: rotate(-90deg);
}

.c2 {
    width: 175px;
    left: 53%;
    top: 51%;
    transform: rotate(-5deg);
}

.c3 {
    width: 170px;
    left: 49%;
    top: 54%;
    transform: rotate(145deg);
}

.c4 {
    width: 180px;
    left: 47%;
    top: 50%;
    transform: rotate(200deg);
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
    width: min(var(--max), calc(100% - 48px));

    margin: -1px auto 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.stat {
    min-height: 110px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 20px 28px;

    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    font-size: 20px;
}

.stat span {
    margin-top: 3px;

    color: var(--muted-2);

    font-size: 12px;
}


/* =========================================================
   COMMON SECTIONS
   ========================================================= */

.maps-section,
.devices-section,
.guides-section {
    width: min(var(--max), calc(100% - 48px));

    margin: 0 auto;

    padding: 110px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 38px;
}

.eyebrow {
    color: #f0444b;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2.5px;
}

h2 {
    margin-top: 9px;

    font-size:
        clamp(32px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -1.5px;
}

.section-heading p {
    max-width: 620px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   MAP CARDS
   ========================================================= */

.map-cards {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.map-card {
    position: relative;

    min-height: 260px;

    display: flex;
    align-items: flex-start;

    gap: 24px;

    padding: 34px;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #0b151e,
            #071017
        );

    text-decoration: none;

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.map-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    bottom: -80px;

    border-radius: 50%;

    background:
        rgba(226,27,35,.13);

    filter: blur(30px);
}

.map-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(226,27,35,.35);
}

.map-card-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 14px;

    background: rgba(255,255,255,.045);

    font-size: 27px;
}

.map-label,
.device-card > span {
    color: #e64a51;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;
}

.map-card h3 {
    margin-top: 7px;

    font-size: 25px;
}

.map-card p {
    max-width: 400px;

    margin-top: 9px;

    color: var(--muted);

    font-size: 14px;
}

.map-card strong {
    display: block;

    margin-top: 23px;

    color: white;

    font-size: 12px;
}

.map-card.featured {
    border-color:
        rgba(226,27,35,.18);

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(226,27,35,.1),
            transparent 35%
        ),
        #0b151e;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    position: relative;

    width: 100%;

    padding: 115px max(24px, calc((100vw - var(--max)) / 2));

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    background:
        #081119;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-content {
    max-width: 600px;
}

.about-content h2 {
    font-size:
        clamp(38px, 5vw, 65px);
}

.about-content h2 span {
    color: var(--red-light);
}

.about-content p {
    margin-top: 22px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}

.about-content .text-link {
    display: inline-block;

    margin-top: 28px;
}

.about-terminal {
    align-self: center;

    border: 1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;

    background: #05090d;

    box-shadow:
        0 30px 70px rgba(0,0,0,.3);
}

.terminal-header {
    height: 40px;

    display: flex;
    align-items: center;

    gap: 6px;

    padding: 0 15px;

    border-bottom: 1px solid var(--border);

    background: #0b1116;
}

.terminal-header span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #33414a;
}

.terminal-body {
    padding: 30px;

    color: #93a6b0;

    font-family:
        "Courier New",
        monospace;

    font-size: 13px;

    line-height: 2.1;
}

.terminal-body i {
    color: #f05259;

    font-style: normal;
}

.terminal-online {
    margin-top: 15px;

    color: var(--green);
}


/* =========================================================
   DEVICES
   ========================================================= */

.device-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.device-card {
    min-height: 300px;

    padding: 28px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: var(--panel);

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.device-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(226,27,35,.35);
}

.device-icon {
    margin-bottom: 28px;

    font-size: 35px;
}

.device-card h3 {
    margin-top: 9px;

    font-size: 21px;
}

.device-card p {
    margin-top: 11px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   GUIDES
   ========================================================= */

.guides-section {
    padding-top: 40px;
}

.guide-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    margin-top: 35px;
}

.guide {
    display: flex;
    align-items: flex-start;

    gap: 22px;

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 13px;

    background: rgba(255,255,255,.018);

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.guide:hover {
    background: rgba(255,255,255,.035);

    border-color:
        rgba(226,27,35,.3);
}

.guide > span {
    color: #e0444b;

    font-family:
        "Courier New",
        monospace;

    font-size: 13px;
    font-weight: 900;
}

.guide h3 {
    font-size: 17px;
}

.guide p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    width: min(var(--max), calc(100% - 48px));

    margin: 35px auto 100px;

    padding: 55px 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    border: 1px solid rgba(226,27,35,.2);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(226,27,35,.15),
            transparent 35%
        ),
        #0b151e;
}

.cta-section h2 {
    margin-top: 8px;
}

.cta-section p {
    max-width: 600px;

    margin-top: 10px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 55px max(24px, calc((100vw - var(--max)) / 2)) 30px;

    border-top: 1px solid var(--border);

    background: #04080c;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}

.footer-brand strong {
    font-size: 14px;
    letter-spacing: 2px;
}

.footer-brand p {
    margin-top: 2px;

    color: var(--muted-2);

    font-size: 11px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 18px 25px;
}

.footer-links a {
    color: #7f929d;

    font-size: 12px;

    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid var(--border);

    color: #52636d;

    font-size: 10px;
}


/* =========================================================
   OTHER HTML PAGES
   ========================================================= */

.article-page {
    width: min(1000px, calc(100% - 48px));

    margin: 0 auto;

    padding: 120px 0 90px;
}

.article-page h1 {
    margin-top: 22px;

    font-size:
        clamp(42px, 6vw, 72px);

    line-height: 1;

    letter-spacing: -2px;
}

.article-page .lead {
    max-width: 850px;

    margin-top: 25px;

    color: #9cafba;

    font-size: 19px;
    line-height: 1.8;
}

.article-page .content-section {
    padding: 40px 0;

    border-top: 1px solid var(--border);
}

.article-page .content-section:first-of-type {
    margin-top: 55px;
}

.article-page .content-section h2 {
    margin-bottom: 15px;

    font-size: 28px;
}

.article-page .content-section p {
    color: #a2b1b9;

    font-size: 16px;
    line-height: 1.85;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 16px;
    }

    .hero-grid {
        grid-template-columns: 1fr .8fr;

        gap: 30px;
    }

    .device-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 850px) {

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        z-index: 999;

        top: 76px;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;

        padding: 12px 20px 20px;

        background:
            rgba(5,10,15,.97);

        border-bottom: 1px solid var(--border);

        transform:
            translateY(-120%);

        transition:
            transform .25s ease;

        pointer-events: none;
    }

    .mobile-menu.open {
        transform: translateY(0);

        pointer-events: auto;
    }

    .mobile-menu a {
        padding: 13px 5px;

        border-bottom: 1px solid var(--border);

        color: #b8c5cb;

        font-size: 14px;

        text-decoration: none;
    }

    .hero {
        min-height: auto;

        padding: 100px 0 80px;
    }

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

    .network-visual {
        min-height: 390px;
    }

    .stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .map-cards,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .cta-section {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .navbar {
        min-height: 68px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .mobile-menu {
        top: 68px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-grid,
    .maps-section,
    .devices-section,
    .guides-section {
        width: min(100% - 32px, var(--max));
    }

    .hero h1 {
        font-size: clamp(43px, 13vw, 62px);

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-links {
        flex-direction: column;

        gap: 12px;
    }

    .network-visual {
        min-height: 330px;
    }

    .radar {
        width: min(340px, 88vw);
    }

    .radar-center {
        width: 62px;
        height: 62px;
    }

    .node {
        width: 32px;
        height: 32px;
    }

    .stats {
        width: 100%;
    }

    .stat {
        padding: 18px 20px;
    }

    .maps-section,
    .devices-section,
    .guides-section {
        padding: 75px 0;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 28px;
    }

    h2 {
        font-size: 34px;
    }

    .map-card {
        padding: 25px;

        min-height: auto;
    }

    .about-section {
        padding: 80px 20px;
    }

    .about-content h2 {
        font-size: 42px;
    }

    .terminal-body {
        padding: 22px 18px;

        font-size: 11px;
    }

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

    .device-card {
        min-height: auto;
    }

    .cta-section {
        width: calc(100% - 32px);

        margin-bottom: 70px;

        padding: 35px 25px;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }

    .article-page {
        width: calc(100% - 32px);

        padding-top: 85px;
    }

}
