:root {
    --background: #07101a;
    --background-soft: #0b1724;
    --surface: rgba(18, 34, 51, 0.76);
    --surface-solid: #112235;
    --surface-hover: #172c42;
    --text: #f5f8fc;
    --muted: #9aadc2;
    --muted-light: #c5d0dc;
    --accent: #6d9eff;
    --accent-light: #9abcff;
    --success: #45d694;
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.17);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --radius: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 85% -10%, rgba(63, 112, 221, 0.28), transparent 34rem),
        radial-gradient(circle at 5% 35%, rgba(25, 112, 142, 0.16), transparent 30rem),
        linear-gradient(180deg, var(--background), #08131f 55%, #07101a);
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    line-height: 1.5;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 16, 26, 0.78);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(145deg, var(--accent-light), var(--accent));
    box-shadow: 0 10px 30px rgba(64, 115, 225, 0.30);
    color: #06101d;
    font-weight: 900;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition:
        color .18s ease,
        background .18s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.header-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted-light);
    font-size: 13px;
    font-weight: 650;
}

.status-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 18px rgba(69, 214, 148, 0.85);
}

.hero {
    padding: 112px 0 88px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: center;
    gap: 68px;
}

.eyebrow {
    margin: 0 0 23px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(54px, 7vw, 88px);
    line-height: .98;
    letter-spacing: -.065em;
}

.hero-description {
    max-width: 690px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.75;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.button {
    min-height: 48px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 750;
    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}

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

.button-primary {
    background: var(--text);
    color: #07111d;
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.10);
}

.button-primary:hover {
    background: #dce8f5;
}

.button-secondary {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
    position: relative;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(27, 51, 76, 0.96), rgba(12, 27, 43, 0.92));
    box-shadow: var(--shadow);
}

.hero-panel::before {
    position: absolute;
    width: 220px;
    height: 220px;
    top: -90px;
    right: -60px;
    content: "";
    border-radius: 50%;
    background: rgba(92, 141, 255, 0.20);
    filter: blur(2px);
}

.panel-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.panel-label {
    color: var(--muted);
    font-size: 13px;
}

.panel-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b9f6d9;
    font-size: 13px;
    font-weight: 700;
}

.network-map {
    position: relative;
    min-height: 230px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 19px;
    background:
        radial-gradient(circle at 52% 47%, rgba(90, 139, 255, .25), transparent 28%),
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
        rgba(5, 15, 26, .58);
    background-size:
        auto,
        28px 28px,
        28px 28px,
        auto;
}

.map-line {
    position: absolute;
    height: 1px;
    left: 16%;
    right: 16%;
    top: 50%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(128, 168, 255, .9),
        transparent
    );
    transform: rotate(-12deg);
    box-shadow: 0 0 17px rgba(100, 149, 255, .55);
}

.map-node {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 3px solid rgba(6, 15, 26, .9);
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 22px rgba(111, 158, 255, .9);
}

.map-node-a {
    left: 19%;
    bottom: 30%;
}

.map-node-b {
    top: 31%;
    right: 20%;
}

.panel-metrics {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.metric {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
}

.metric strong {
    display: block;
    font-size: 17px;
    letter-spacing: -.02em;
}

.metric span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.section {
    padding: 90px 0;
}

.section-sm {
    padding: 65px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-kicker {
    margin: 0 0 12px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.section-description {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.card {
    position: relative;
    min-height: 275px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(23, 45, 68, .86), rgba(13, 29, 45, .82));
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 174, 255, .38);
    background:
        linear-gradient(145deg, rgba(29, 55, 82, .96), rgba(16, 34, 52, .92));
}

.card-number {
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}

.card h3 {
    margin: 65px 0 13px;
    font-size: 23px;
    letter-spacing: -.03em;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.feature-strip {
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--border);
    overflow: hidden;
}

.feature-item {
    min-height: 135px;
    padding: 23px;
    background: var(--background-soft);
}

.feature-item strong {
    display: block;
    font-size: 18px;
}

.feature-item span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.cta {
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    border: 1px solid rgba(126, 166, 255, .27);
    border-radius: 27px;
    background:
        radial-gradient(circle at 100% 0%, rgba(91, 138, 248, .22), transparent 24rem),
        linear-gradient(145deg, rgba(22, 44, 68, .93), rgba(12, 28, 44, .91));
    box-shadow: var(--shadow);
}

.cta h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -.04em;
}

.cta p {
    max-width: 650px;
    margin: 13px 0 0;
    color: var(--muted);
}

.page-hero {
    padding: 90px 0 65px;
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(48px, 7vw, 76px);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.info-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.info-card h2,
.info-card h3 {
    margin: 0 0 12px;
    letter-spacing: -.03em;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.info-card ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.info-card li {
    position: relative;
    margin: 11px 0;
    padding-left: 20px;
    color: var(--muted-light);
}

.info-card li::before {
    position: absolute;
    left: 0;
    top: .62em;
    width: 6px;
    height: 6px;
    content: "";
    border-radius: 50%;
    background: var(--accent);
}

.status-banner {
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid rgba(69, 214, 148, .26);
    border-radius: var(--radius);
    background: rgba(32, 99, 70, .16);
}

.status-main {
    display: flex;
    align-items: center;
    gap: 17px;
}

.status-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(69, 214, 148, .14);
}

.status-icon .status-dot {
    width: 13px;
    height: 13px;
}

.status-banner h2 {
    margin: 0;
    font-size: 22px;
}

.status-banner p {
    margin: 5px 0 0;
    color: var(--muted);
}

.status-time {
    color: var(--muted);
    font-size: 13px;
}

.component-list {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.component {
    padding: 21px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(14, 30, 46, .78);
}

.component + .component {
    border-top: 1px solid var(--border);
}

.component strong {
    display: block;
}

.component span {
    color: var(--muted);
    font-size: 13px;
}

.component-state {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #b8f2d5 !important;
    font-weight: 700;
}

.site-footer {
    margin-top: 90px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    min-height: 125px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-links a {
    color: var(--muted);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--text);
}

.error-page {
    min-height: calc(100vh - 204px);
    display: grid;
    place-items: center;
    text-align: center;
}

.error-code {
    margin: 0;
    color: var(--accent);
    font-size: 110px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.08em;
}

.error-page h1 {
    margin-top: 15px;
    font-size: 40px;
}

.error-page p {
    max-width: 520px;
    margin: 20px auto 30px;
    color: var(--muted);
}

@media (max-width: 960px) {
    .header-status {
        display: none;
    }

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

    .hero-panel {
        max-width: 680px;
    }

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

    .card {
        min-height: 225px;
    }

    .card h3 {
        margin-top: 40px;
    }

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

@media (max-width: 720px) {
    .container {
        width: min(100% - 26px, var(--container));
    }

    .header-inner {
        min-height: 70px;
    }

    .main-nav {
        gap: 1px;
    }

    .main-nav a {
        padding: 9px 8px;
        font-size: 12px;
    }

    .brand span:last-child {
        display: none;
    }

    .hero {
        padding: 75px 0 60px;
    }

    h1 {
        font-size: clamp(46px, 14vw, 67px);
    }

    .panel-metrics {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 65px 0;
    }

    .feature-strip,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .cta,
    .status-banner,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta {
        padding: 30px;
    }

    .component {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        padding: 35px 0;
    }
}
