:root {
    --bg: #0b1220;
    --panel: rgba(255, 255, 255, .06);
    --panel2: rgba(255, 255, 255, .08);
    --border: rgba(255, 255, 255, .14);
    --text: #f8fafc;
    --muted: rgba(248, 250, 252, .72);
    --muted2: rgba(248, 250, 252, .55);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;

    /* Fundo contínuo */
    background:
        linear-gradient(180deg,
            rgba(34, 211, 238, 0.12) 0%,
            rgba(16, 185, 129, 0.10) 35%,
            rgba(11, 18, 32, 1) 70%),
        linear-gradient(120deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.0) 40%),
        #0b1220;

    background-attachment: fixed;
}

.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 18px 48px;
}

.topnav {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .05);
    border-radius: 16px;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.brandlink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brandmark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22d3ee, #10b981);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.18);
}

.brandname {
    font-size: 15px;
}

.brandtag {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    color: var(--muted);
    font-weight: 700;
}

.navtoggle {
    display: none;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
}

.navmenu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.navitem {
    text-decoration: none;
    color: rgba(248, 250, 252, .82);
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.navitem:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .10);
    transform: translateY(-1px);
}

.navitem.active {
    background: rgba(34, 211, 238, .15);
    border-color: rgba(34, 211, 238, .35);
    color: rgba(248, 250, 252, .95);
    font-weight: 700;
}

@media (max-width: 640px) {
    .navtoggle {
        display: inline-flex;
    }

    .navmenu {
        display: none;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .10);
    }

    .topnav {
        flex-wrap: wrap;
    }

    .topnav.open .navmenu {
        display: flex;
    }
}

.hero {
    margin-top: 18px;
    padding: 18px 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .05);
    border-radius: 18px;
}

h1 {
    margin: 0 0 8px;
    font-size: 34px;
    letter-spacing: -0.02em;
}

.lead {
    margin: 0;
    color: var(--muted);
}

.content {
    margin-top: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    border-radius: 18px;
    padding: 18px 18px;
}

.content h2 {
    margin: 18px 0 8px;
    font-size: 18px;
}

.content h2:first-child {
    margin-top: 0;
}

.content a {
    color: rgba(34, 211, 238, .95);
}

.footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    color: var(--muted2);
    font-size: 13px;
}