:root {
    --bg: #0b1020;
    --panel: #111a33;
    --text: #e9eefc;
    --muted: #b8c2e0;
    --link: #9ad0ff;
    --border: rgba(255, 255, 255, 0.12);
    --accent: #7dd3fc;
    --good: #86efac;
    --warn: #fde68a;
    --bad: #fca5a5;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --radius: 18px;
    --max: 980px;
    --mono:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    --sans:
        ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
        Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    font-family: var(--sans);
    background:
        radial-gradient(
            1200px 800px at 20% -10%,
            rgba(125, 211, 252, 0.18),
            transparent 60%
        ),
        radial-gradient(
            900px 650px at 90% 10%,
            rgba(167, 139, 250, 0.16),
            transparent 55%
        ),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
}
a {
    color: var(--link);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px 18px;
}
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: linear-gradient(
        to bottom,
        rgba(11, 16, 32, 0.86),
        rgba(11, 16, 32, 0.62)
    );
    border-bottom: 1px solid var(--border);
}
.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
.brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
}
.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.nav a {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.03);
}
.nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}
.hero {
    padding: 28px 0 10px;
}
.hero h1 {
    font-size: clamp(28px, 3.2vw, 44px);
    margin: 0 0 10px;
}
.hero p {
    color: var(--muted);
    margin: 0 0 16px;
    font-size: 18px;
}
.cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
    margin: 18px 0 6px;
}
.card {
    grid-column: span 12;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}
@media (min-width: 860px) {
    .card.half {
        grid-column: span 6;
    }
}
.card h2 {
    margin: 0 0 8px;
    font-size: 20px;
}
.card p {
    margin: 0;
    color: var(--muted);
}
.kicker {
    font-family: var(--mono);
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 0.3px;
}
.breadcrumbs {
    color: var(--muted);
    font-size: 14px;
    margin: 6px 0 14px;
}
.breadcrumbs a {
    color: var(--muted);
}
.page {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}
.page h1 {
    margin: 0 0 12px;
    font-size: clamp(24px, 2.8vw, 38px);
}
.page h2 {
    margin-top: 22px;
}
.page h3 {
    margin-top: 18px;
}
.page p,
.page li {
    color: var(--text);
}
.page .muted {
    color: var(--muted);
}
.callout {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 14px 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    margin: 14px 0;
}
.callout.good {
    border-color: rgba(134, 239, 172, 0.35);
}
.callout.warn {
    border-color: rgba(253, 230, 138, 0.35);
}
.callout.bad {
    border-color: rgba(252, 165, 165, 0.35);
}
.callout .title {
    font-weight: 800;
    margin-bottom: 6px;
}
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 6px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border);
}
.table th,
.table td {
    padding: 10px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.table th {
    background: rgba(255, 255, 255, 0.05);
    text-align: left;
}
.footer {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}
.footer a {
    color: var(--muted);
}
.small {
    font-size: 13px;
}
code,
pre {
    font-family: var(--mono);
    font-size: 13px;
}
pre {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    overflow: auto;
}

/* Logo image */
/*.logo img{
  height:32px;
  width:auto;
}*/

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    color: #0b1020;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    white-space: nowrap;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 211, 252, 0.35);
    text-decoration: none;
}

/* Header layout with CTA */
.header .container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 60;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition:
        transform 0.3s,
        opacity 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 40;
    opacity: 0;
    transition: opacity 0.3s;
}
.nav-overlay.open {
    opacity: 1;
}

/* Mobile styles */
@media (max-width: 768px) {
    .badge {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-overlay {
        display: block;
        pointer-events: none;
    }
    .nav-overlay.open {
        pointer-events: auto;
    }

    .header-top {
        flex-wrap: wrap;
    }
    .brand {
        flex: 1;
    }
    .header-actions {
        flex-direction: column;
        width: 100%;
        order: 1;
    }
    .hamburger {
        order: -1;
        position: absolute;
        right: 18px;
        top: 24px;
    }
    .cta-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    .logo img {
        height: auto;
        max-height: 40px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--panel);
        padding: 70px 20px 20px;
        gap: 8px;
        margin-top: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 45;
        overflow-y: auto;
    }
    .nav.open {
        transform: translateX(0);
    }
    .nav a {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
    }

    body.menu-open {
        overflow: hidden;
    }
}
