:root {
    --bg: #080c12;
    --surface: #0d131d;
    --raised: #111b27;
    --hover: #142232;
    --border: #1f3044;
    --text: #e8edf3;
    --muted: #9eacbb;
    --faint: #718096;
    --blue: #48a9ff;
    --green: #63e6a5;
    --red: #ff7b72;
    --pad: 8%;
    --max: 1280px;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}
main {
    flex: 1;
}
.site-header {
    min-height: 76px;
    padding: 18px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}
.brand {
    color: var(--blue);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-nav a {
    padding: 9px 13px;
    color: #aab7c4;
    text-decoration: none;
    border-radius: 7px;
}
.site-nav a:hover,
.site-nav a.active {
    color: var(--blue);
    background: #102a42;
}
.nav-toggle {
    display: none;
    padding: 8px 11px;
    color: var(--text);
    background: var(--raised);
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 1.15rem;
}
.hero {
    padding: 80px var(--pad);
    background: radial-gradient(circle at 70% 25%, #123451 0%, transparent 38%), var(--bg);
}
.hero-inner,
.section-inner {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
}
.badge {
    display: inline-block;
    padding: 7px 15px;
    margin-bottom: 24px;
    color: var(--green);
    background: #0c241b;
    border: 1px solid #245f46;
    border-radius: 20px;
    font-size: 0.9rem;
}
.badge.error {
    color: var(--red);
    background: #291313;
    border-color: #6b2b2b;
}
.hero h1 {
    max-width: 900px;
    margin-bottom: 25px;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
}
.hero h1 span {
    color: var(--blue);
}
.hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.15rem;
}
.section {
    padding: 65px var(--pad);
}
.section.surface {
    background: var(--surface);
}
.section-heading {
    margin-bottom: 8px;
    font-size: 2rem;
}
.section-intro {
    max-width: 760px;
    margin-bottom: 32px;
    color: var(--muted);
}
.app-grid,
.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.app-card,
.metric-card {
    display: block;
    padding: 28px;
    color: inherit;
    background: var(--raised);
    border: 1px solid #223448;
    border-radius: 10px;
    text-decoration: none;
}
.app-card {
    min-height: 220px;
    transition: 0.2s;
}
.app-card:hover {
    transform: translateY(-4px);
    background: var(--hover);
    border-color: var(--blue);
}
.card-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background: #0b1622;
    border: 1px solid #28425d;
    border-radius: 14px;
    font-size: 1.8rem;
}
.app-card h3 {
    margin-bottom: 10px;
    color: var(--blue);
}
.app-card p,
.metric-detail {
    color: var(--muted);
}
.launch {
    display: inline-block;
    margin-top: 22px;
    color: var(--green);
    font-size: 0.9rem;
}
.metric-label {
    margin-bottom: 8px;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}
.metric-value {
    color: #fff;
    font-size: 1.55rem;
    font-weight: bold;
}
.metric-value.online {
    color: var(--green);
}
.metric-detail {
    margin-top: 8px;
    font-size: 0.9rem;
}
.load-list {
    margin-top: 14px;
}
.load-row {
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
}
.progress {
    width: 100%;
    height: 8px;
    margin-top: 18px;
    background: #0b121a;
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0;
    background: var(--blue);
    border-radius: inherit;
    transition: width 0.4s;
}
.info-panel {
    margin-top: 34px;
    padding: 24px;
    background: #0a1018;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.info-panel a {
    color: var(--blue);
}
.page-panel {
    width: min(900px, calc(100% - 40px));
    margin: 70px auto;
    padding: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.page-panel h1 {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: clamp(2.4rem, 7vw, 4.8rem);
}
.page-panel p {
    margin-bottom: 16px;
    color: var(--muted);
}
.site-footer {
    padding: 28px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--faint);
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.site-footer strong {
    display: block;
    color: var(--text);
}
.site-footer span {
    display: block;
    margin-top: 3px;
}
@media (max-width: 850px) {
    .nav-toggle {
        display: block;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        padding: 15px var(--pad);
        flex-direction: column;
        align-items: stretch;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
    }
    .site-nav.open {
        display: flex;
    }
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
