
:root {
    /* ==========================================
       PREMIUM LIGHT PALETTE (same layout, new colors)
    ========================================== */
    --bg0: #f8fafc; /* page base */
    --bg1: #ffffff; /* elevated base */
    --card: rgba(255,255,255,.82); /* glass surface */
    --card2: rgba(248,250,252,.72); /* secondary glass */
    --line: rgb(232 180 60); /* navy-based borders */

    --line2: rgba(2,132,199,.22); /* accent border */
    --text: #0f172a; /* primary text */
    --muted: rgba(15,23,42,.66); /* secondary text */

    --cyan: #0284c7; /* premium blue */
    --violet: #4f46e5; /* deep indigo */
    --lime: #16a34a; /* green */
    --amber: #d97706; /* amber */
    --red: #dc2626; /* red */

    --shadow: 0 2px 20px rgba(15,23,42,.12);
    --radius: 8px;
    --radius2: 14px;
    --max: 1200px;
    /* Dark surfaces for terminal/code (kept for contrast) */
    --ink0: #0b1224;
    --ink1: #0f172a;
    --inkLine: rgba(255,255,255,.10);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    overflow-x: hidden; /* ✅ allow scroll */
}

a {
    color: inherit;
    text-decoration: none;
}

.mono {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ====== background grid dots ====== */
.bg-dots {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image: radial-gradient(rgba(15,23,42,.18) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(circle at 50% 20%, black 0%, transparent 70%);
    z-index: 0;
}

/* ====== matrix canvas ====== */
#matrix {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    filter: saturate(115%) contrast(105%);
}

/* ====== layout helpers ====== */
.wrap {
    width: min(var(--max), calc(100% - 44px));
    margin: 0 auto;
}

.wrap-wide {
    width: calc(100% - 48px);
    max-width: 1600px; /* or 100% if you want true edge-to-edge */
    margin: 0 auto;
}

.section {
    position: relative;
    z-index: 1;
    padding: 4px 0;
}

    .section.tight {
        padding: 64px 0;
    }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 650;
    color: rgba(15,23,42,.78);
    background: rgba(255,255,255,.75);
    border: 1px solid var(--line);
    padding: 8px 12px;
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.kdot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--lime);
    box-shadow: 0 0 16px rgba(22,163,74,.30);
}

.h1 {
    font-size: clamp(38px, 5.1vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 16px 0 14px;
}

.grad {
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 62ch;
}

/* ====== header ====== */
.topbar {
    position: fixed; /* ✅ FIX */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    background: rgb(249 249 249);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 90px rgba(15,23,42,0.10);
}

    .topbar::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--cyan), var(--violet), var(--cyan));
        opacity: 0.55;
    }

    .topbar.scrolled {
        box-shadow: 0 20px 60px rgba(15,23,42,0.14);
        background: rgba(255,255,255,0.86);
    }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

/* LOGO IMAGE */
.brand-logo {
    height: 34px; /* 🔧 adjust if needed */
    width: auto;
    display: block;
    /* Make light logo readable on light UI */
    filter: drop-shadow(0 1px 0 rgba(15,23,42,0.22)) drop-shadow(0 10px 18px rgba(2,132,199,0.18));
}

.mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(2,132,199,.35), transparent 60%), radial-gradient(circle at 70% 70%, rgba(79,70,229,.32), transparent 60%), rgba(15,23,42,.04);
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(15,23,42,.10);
    position: relative;
}

    .mark::after {
        content: "";
        position: absolute;
        inset: 9px;
        border-radius: 10px;
        border: 1px dashed rgba(2,132,199,.35);
        opacity: .9;
    }

.bname {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

    .bname strong {
        font-size: 13px;
        letter-spacing: .20em;
        color: rgba(2,132,199,.92);
    }

    .bname span {
        font-size: 11px;
        color: rgba(15,23,42,.55);
    }

.links {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .links a {
        font-size: 13px;
        color: rgba(15,23,42,.72);
        padding: 8px 10px;
        border-radius: 12px;
        transition: background .18s ease, color .18s ease, transform .18s ease;
    }

        .links a:hover {
            background: rgba(2,132,199,.06);
            color: rgba(15,23,42,.92);
            transform: translateY(-1px);
        }

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 750;
    padding: 10px 12px;
    border-radius: 6px;
    line-height: 100%;
    border: 1px solid var(--line);
    background: rgba(15,23,42,.04);
    color: rgba(15,23,42,.82);
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
    white-space: nowrap;
}

    .btn:hover {
        transform: translateY(-1px);
        background: rgba(15,23,42,.06);
        border-color: rgba(15,23,42,.16);
    }

    .btn.primary {
        background: linear-gradient(135deg, #0f172a, #111827);
        color: #ffffff;
        border: 1px solid rgba(15,23,42,0.20);
        border-radius: 6px;
        font-weight: 650;
        font-size: 13px;
        line-height: 100%;
        letter-spacing: 0.02em;
        padding: 10px 16px;
        box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 14px 34px rgba(15,23,42,0.18);
        transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
    }

        .btn.primary:hover {
            background: linear-gradient(135deg, #111827, #0f172a);
            border-color: rgba(2,132,199,0.35);
            transform: translateY(-1px);
            box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 18px 46px rgba(15,23,42,0.20);
        }

        .btn.primary:active {
            transform: translateY(0);
            background: #0b1224;
        }

.hamb {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(15,23,42,.04);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
}

    .hamb span {
        width: 18px;
        height: 2px;
        background: rgba(2,132,199,.90);
        display: block;
        border-radius: 999px;
    }

/* mobile drawer */
.drawer {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    z-index: 60;
}

    .drawer.open {
        opacity: 1;
        pointer-events: auto;
    }

.panel {
    position: absolute;
    right: 14px;
    top: 14px;
    width: min(420px, calc(100% - 28px));
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.14);
    backdrop-filter: blur(14px) saturate(120%);
    box-shadow: var(--shadow);
    padding: 16px;
    transform: translateY(-6px);
}

    .panel .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .panel .close {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: rgba(15,23,42,.04);
        color: rgba(15,23,42,.85);
        cursor: pointer;
        font-weight: 900;
    }

    .panel nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 8px 0 14px;
    }

        .panel nav a {
            padding: 12px 12px;
            border-radius: 14px;
            border: 1px solid rgba(15,23,42,.12);
            background: rgba(15,23,42,.03);
            color: rgba(15,23,42,.86);
            font-weight: 650;
        }

/* ====== hero ====== */
.hero {
    padding-top: 96px;
}

.heroGrid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 20px;
}

.heroCard {
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,250,252,.72));
    border: 1px solid rgba(15,23,42,.12);
    box-shadow: var(--shadow);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

    .heroCard::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(480px 220px at 20% 0%, rgba(56,189,248,.22), transparent 65%), radial-gradient(420px 220px at 100% 100%, rgba(11,31,58,.10), transparent 70%);
        pointer-events: none;
        opacity: .9;
    }


    .heroCard > * {
        position: relative;
        z-index: 1;
    }

.ctaRow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.miniRow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.mini {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(15,23,42,.12);
    color: rgba(15,23,42,.84);
    font-size: 12px;
}

    .mini b {
        color: rgba(15,23,42,.96);
    }

.pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(2,132,199,.26);
    color: rgba(2,132,199,.92);
    background: rgba(2,132,199,.08);
}

/* right demo */
.demoTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(15,23,42,.12);
}

.tab {
    cursor: pointer;
    user-select: none;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(15,23,42,.66);
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

    .tab.active {
        background: linear-gradient(135deg, rgba(2,132,199,.16), rgba(79,70,229,.12));
        color: rgba(15,23,42,.92);
        border: 1px solid rgba(2,132,199,.18);
    }

/* Keep terminal dark for premium contrast */
.terminal {
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,.14);
    background: rgba(11,18,36,.96);
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15,23,42,.18);
}

.termBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    gap: 12px;
}

.dots {
    display: flex;
    gap: 7px;
}

    .dots i {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        display: block;
        background: rgba(255,255,255,.18);
    }

        .dots i:nth-child(1) {
            background: rgba(239,68,68,.75);
        }

        .dots i:nth-child(2) {
            background: rgba(217,119,6,.85);
        }

        .dots i:nth-child(3) {
            background: rgba(22,163,74,.80);
        }

.termTitle {
    font-size: 12px;
    color: rgba(229,231,235,.78);
}

pre {
    margin: 0;
    padding: 14px 14px 16px;
    color: rgba(229,231,235,.92);
    font-size: 12px;
    line-height: 1.55;
    overflow: auto;
    max-height: 240px;
}

.hl1 {
    color: rgba(56,189,248,.95);
}

.hl2 {
    color: rgba(34,197,94,.95);
}

.hl3 {
    color: rgba(248,184,74,.95);
}

.resultGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.result {
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(255,255,255,.78);
    padding: 12px;
    min-height: 86px;
}

    .result .t {
        font-size: 11px;
        color: rgba(15,23,42,.60);
    }

    .result .v {
        margin-top: 6px;
        font-weight: 850;
        letter-spacing: -.02em;
        color: rgba(15,23,42,.95);
    }

    .result .s {
        margin-top: 6px;
        font-size: 12px;
        color: rgba(15,23,42,.65);
    }

/* logos */
.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    color: rgba(15,23,42,.58);
    font-size: 12px;
}

.logoChip {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(255,255,255,.70);
}

/* ====== section headings ====== */
.secHead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

    .secHead h2 {
        margin: 0;
        font-size: clamp(24px, 2.6vw, 36px);
        letter-spacing: -.02em;
        line-height: 1.12;
    }

    .secHead p {
        margin: 0;
        max-width: 60ch;
        color: var(--muted);
        line-height: 1.6;
    }

/* ====== cards & grids ====== */
.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.card {
    border-radius: var(--radius);
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(255,255,255,.78);
    box-shadow: 0 16px 50px rgba(15,23,42,.08);
    overflow: hidden;
}

    .card.pad {
        padding: 18px;
    }

    .card.soft {
        background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(248,250,252,.72));
    }

.feat {
    padding: 16px;
}

.featTop {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ico {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: rgba(2,132,199,.10);
    border: 1px solid rgba(2,132,199,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: rgba(2,132,199,.92);
}

.feat h3 {
    margin: 0;
    font-size: 14px;
    letter-spacing: -.01em;
}

.feat p {
    margin: 6px 0 0;
    color: rgba(15,23,42,.66);
    line-height: 1.55;
    font-size: 13px;
}

/* chart */
.chartWrap {
    padding: 16px;
}

.chartTop {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

    .chartTop .title {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .chartTop .title b {
            font-size: 14px;
        }

        .chartTop .title span {
            font-size: 12px;
            color: rgba(15,23,42,.60);
        }

.chartBadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(22,163,74,.20);
    background: rgba(22,163,74,.08);
    color: rgba(22,163,74,.92);
    font-weight: 850;
    font-size: 12px;
    white-space: nowrap;
}

#accChart {
    width: 100%;
    height: 220px;
    display: block;
    border-radius: 14px;
    background: radial-gradient(450px 160px at 20% 10%, rgba(2,132,199,.10), transparent 70%), rgba(255,255,255,.70);
    border: 1px solid rgba(15,23,42,.12);
}

/* use cases / testimonials */
.quote {
    padding: 16px;
}

    .quote p {
        margin: 0;
        color: rgba(15,23,42,.80);
        line-height: 1.6;
        font-size: 14px;
    }

.who {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    color: rgba(15,23,42,.56);
    font-size: 12px;
}

/* developer section */
.darkBand {
    background: radial-gradient(900px 520px at 20% 0%, rgba(2,132,199,.08), transparent 60%), radial-gradient(900px 520px at 80% 0%, rgba(79,70,229,.07), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.55), rgba(248,250,252,.60));
    border-top: 1px solid rgba(15,23,42,.10);
    border-bottom: 1px solid rgba(15,23,42,.10);
}

.codeCard {
    border-radius: var(--radius);
    border: 1px solid rgba(15,23,42,.14);
    background: rgba(11,18,36,.96);
    box-shadow: 0 22px 70px rgba(15,23,42,.18);
    overflow: hidden;
}

.codeBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
}

.lang {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: rgba(229,231,235,.80);
    cursor: pointer;
    user-select: none;
    font-weight: 800;
}

    .chip.active {
        background: linear-gradient(135deg, rgba(56,189,248,.22), rgba(99,102,241,.18));
        border-color: rgba(56,189,248,.18);
        color: rgba(255,255,255,.92);
    }

/* pricing */
.price {
    padding: 18px;
}

    .price h3 {
        margin: 0;
        font-size: 16px;
    }

    .price .subt {
        margin-top: 6px;
        color: rgba(15,23,42,.62);
        font-size: 13px;
        line-height: 1.55;
    }

.money {
    margin-top: 14px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

    .money b {
        font-size: 34px;
        letter-spacing: -.03em;
    }

    .money span {
        color: rgba(15,23,42,.62);
        font-size: 13px;
    }

.list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(15,23,42,.72);
    font-size: 13px;
}

    .list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

.tick {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(22,163,74,.10);
    border: 1px solid rgba(22,163,74,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(22,163,74,.92);
    font-weight: 900;
    flex: 0 0 auto;
    margin-top: 1px;
}

/* footer */
footer {
    padding: 46px 0 56px;
    color: rgba(15,23,42,.60);
    border-top: 1px solid rgba(15,23,42,.10);
    position: relative;
    z-index: 1;
}

.footGrid {
    display: grid;
    grid-template-columns: 2.3fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: start;
}

    .footGrid h4 {
        margin: 0 0 10px;
        color: rgba(15,23,42,.82);
        font-size: 13px;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .footGrid a {
        display: block;
        padding: 6px 0;
        color: rgba(15,23,42,.62);
        font-size: 13px;
        text-decoration: none;
        transition: color .18s ease, transform .18s ease, opacity .18s ease;
    }

        .footGrid a:hover {
            color: var(--cyan, #0284c7);
            transform: translateX(2px);
            opacity: 0.95;
          
        }

.smallprint {
    margin-top: 15px;
    font-size: 12px;
    color: rgba(15,23,42,.52);
}

/* ==========================================
   SOCIAL ICON HOVER (PREMIUM)
========================================== */
.social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #0f172a;
    background: transparent;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}

    .social-icon:hover {
        transform: translateY(-2px) scale(1.06);
        background: rgba(15, 23, 42, 0.06);
        box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12), inset 0 0 0 1px rgba(15, 23, 42, 0.08);
        color: #0284c7;
    }

    .social-icon:active {
        transform: translateY(0) scale(0.98);
    }


/* live feed */
.feed {
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(255,255,255,.78);
    overflow: hidden;
}

.feedTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(15,23,42,.10);
    background: rgba(15,23,42,.03);
    font-size: 12px;
    color: rgba(15,23,42,.68);
}

.feedBody {
    padding: 10px 12px 12px;
    max-height: 210px;
    overflow: auto;
}

.sig {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(15,23,42,.14);
    font-size: 12px;
    color: rgba(15,23,42,.78);
}

    .sig:last-child {
        border-bottom: 0;
    }

.good {
    color: rgba(22,163,74,.92);
    font-weight: 850;
}

.warn {
    color: rgba(217,119,6,.92);
    font-weight: 850;
}

.bad {
    color: rgba(220,38,38,.92);
    font-weight: 850;
}

/* responsive */
@media (max-width: 1024px) {
    .heroGrid {
        grid-template-columns: 1fr;
    }

    .grid4 {
        grid-template-columns: 1fr 1fr;
    }

    .grid3 {
        grid-template-columns: 1fr;
    }

    .grid2 {
        grid-template-columns: 1fr;
    }

    .links {
        display: none;
    }

    .hamb {
        display: flex;
    }

    .actions {
        min-width: auto;
    }

    .footGrid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .grid4 {
        grid-template-columns: 1fr;
    }

    .resultGrid {
        grid-template-columns: 1fr;
    }

    .footGrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .links {
        display: none !important;
    }

    .actions {
        gap: 8px;
    }

        .actions .btn {
            display: none; /* hide Login / Start free */
        }

    .hamb {
        display: flex;
    }
}

body.drawer-open {
    overflow: hidden;
    touch-action: none;
}



.links .navLink {
    font-size: 13px;
    color: rgba(15,23,42,.72);
    padding: 8px 10px;
    border-radius: 12px;
    transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .links .navLink.simple {
        border: 1px solid transparent;
    }

    .links .navLink:hover,
    .links .navLink:focus-visible {
        background: rgba(2,132,199,.06);
        color: rgba(15,23,42,.92);
        transform: translateY(-1px);
    }

.chev {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-right: 2px solid rgba(15,23,42,.45);
    border-bottom: 2px solid rgba(15,23,42,.45);
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform .18s ease, border-color .18s ease;
}

.navItem {
    position: relative;
}

    .navItem.open > .navLink .chev,
    .navItem:hover > .navLink .chev {
        border-color: rgba(2,132,199,.70);
        transform: rotate(225deg);
    }

/* Hide dropdown arrows */
.navLink .chev {
    display: none !important;
}

:root {
    --header-h: 72px; /* adjust if your header height changes */
}

/* dropdown panel */
.mega {
    position: fixed;
    top: calc(var(--header-h, 72px) - 2px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: min(980px, calc(100vw - 32px));
    padding: 14px;
    border-radius: 18px;
    /* 🔹 premium light glass dropdown */
    background: radial-gradient(900px 420px at 15% -10%, rgba(2,132,199,0.14), transparent 60%), radial-gradient(900px 420px at 85% -10%, rgba(79,70,229,0.12), transparent 60%), linear-gradient( 180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.94) );
    border: 1px solid rgba(15,23,42,0.14);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    box-shadow: 0 40px 110px rgba(15,23,42,0.16), 0 0 0 1px rgba(2,132,199,0.06), inset 0 1px 0 rgba(255,255,255,0.65);
    /* interaction */
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease-in-out, transform 240ms ease-in-out;
    z-index: 1200;
}

    .mega.wide {
        width: min(980px, calc(100vw - 44px));
    }

    .mega.small {
        width: min(360px, calc(100vw - 44px));
    }

    /* ===== Demo mega layout ===== */
    .mega.small {
        width: min(980px, calc(100vw - 44px));
    }

/* grid */
.demoGrid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}

/* left side */
.demoList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    .demoList .megaRow {
        padding: 12px 14px;
    }

/* third item full width */
.demoFull {
    grid-column: 1 / -1;
}

/* right side */
.demoAside {
    padding: 14px;
    border-radius: 16px;
    background: radial-gradient(300px 120px at 20% 10%, rgba(2,132,199,.10), transparent 60%), rgba(255,255,255,.70);
    border: 1px solid rgba(2,132,199,.18);
}

    .demoAside h4 {
        margin: 8px 0 6px;
        font-size: 14px;
        font-weight: 850;
        color: rgba(15,23,42,.92);
    }

    .demoAside p {
        font-size: 12.5px;
        line-height: 1.45;
        color: rgba(15,23,42,.68);
        margin-bottom: 12px;
    }

/* Open state */
.navItem.open > .mega {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%);
    transition: opacity 180ms ease-out;
}

.navItem:not(.open) > .mega {
    transition-delay: 40ms;
}

/* grid layout inside mega */
.megaGrid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
}

    .megaGrid.three {
        grid-template-columns: 1fr 1fr .85fr;
    }

.megaCol {
    border-radius: 16px;
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(15,23,42,.12);
    padding: 12px;
}

.megaHead {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(15,23,42,.55);
    margin: 2px 2px 10px;
}

.megaList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .megaList.compact {
        gap: 6px;
    }

.megaItem {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.72);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

    .megaItem:hover {
        transform: translateY(-1px);
        border-color: rgba(2,132,199,.18);
        background: rgba(255,255,255,.86);
    }

    .megaItem b {
        display: block;
        font-size: 13px;
        color: rgba(15,23,42,.92);
    }

    .megaItem small {
        display: block;
        margin-top: 2px;
        font-size: 12px;
        color: rgba(15,23,42,.62);
        line-height: 1.35;
    }

.mIco {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(15,23,42,.04);
    color: rgba(15,23,42,.82);
    flex: 0 0 auto;
}

    .mIco svg {
        width: 20px;
        height: 20px;
        color: currentColor;
    }

    .mIco.cyan {
        background: rgba(2,132,199,.10);
        border-color: rgba(2,132,199,.18);
        color: rgba(2,132,199,.92);
    }

    .mIco.violet {
        background: rgba(79,70,229,.10);
        border-color: rgba(79,70,229,.18);
        color: rgba(79,70,229,.92);
    }

    .mIco.lime {
        background: rgba(22,163,74,.10);
        border-color: rgba(22,163,74,.18);
        color: rgba(22,163,74,.92);
    }

    .mIco.amber {
        background: rgba(217,119,6,.10);
        border-color: rgba(217,119,6,.18);
        color: rgba(217,119,6,.95);
    }

/* row style links */
.megaRow {
    display: block;
    padding: 10px 10px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.70);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

    .megaRow:hover {
        transform: translateY(-1px);
        border-color: rgba(2,132,199,.18);
        background: rgba(255,255,255,.86);
    }

    .megaRow b {
        display: block;
        font-size: 13px;
        color: rgba(15,23,42,.92);
    }

    .megaRow small {
        display: block;
        margin-top: 2px;
        font-size: 12px;
        color: rgba(15,23,42,.62);
    }

.megaFoot {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(15,23,42,.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.megaCta {
    color: rgba(2,132,199,.92);
    font-weight: 850;
    font-size: 13px;
}

    .megaCta:hover {
        color: rgba(15,23,42,.92);
    }

.megaBadges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* callout */
.megaCallout {
    margin-top: 10px;
    border-radius: 16px;
    padding: 12px;
    background: radial-gradient(520px 220px at 15% 10%, rgba(2,132,199,.10), transparent 60%), radial-gradient(520px 220px at 85% 10%, rgba(79,70,229,.08), transparent 60%), rgba(255,255,255,.70);
    border: 1px solid rgba(2,132,199,.14);
}

.tag {
    display: inline-flex;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(15,23,42,.03);
    color: rgba(15,23,42,.62);
}

.callTitle {
    margin-top: 10px;
    font-weight: 900;
    letter-spacing: -.01em;
    color: rgba(15,23,42,.92);
}

.callText {
    margin-top: 6px;
    color: rgba(15,23,42,.66);
    font-size: 13px;
    line-height: 1.5;
}

.btn.tiny {
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
}

.btn.outline {
    background: rgba(2,132,199,.06);
    border-color: rgba(2,132,199,.22);
    color: rgba(2,132,199,.92);
}

    .btn.outline:hover {
        border-color: rgba(2,132,199,.34);
        background: rgba(2,132,199,.10);
    }

/* developers mini tiles */
.megaIconGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.miniTile {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(255,255,255,.72);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

    .miniTile:hover {
        transform: translateY(-1px);
        border-color: rgba(2,132,199,.18);
        background: rgba(255,255,255,.86);
    }

.tileIco {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(15,23,42,.04);
    border: 1px solid rgba(15,23,42,.10);
}

.miniTile b {
    display: block;
    font-size: 13px;
    color: rgba(15,23,42,.92);
}

.miniTile small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: rgba(15,23,42,.62);
}

/* status */
.megaStatus {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    border: 1px dashed rgba(15,23,42,.14);
    background: rgba(15,23,42,.03);
    color: rgba(15,23,42,.70);
    font-size: 12px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    display: inline-block;
}

    .dot.ok {
        background: rgba(22,163,74,.92);
        box-shadow: 0 0 16px rgba(22,163,74,.22);
    }

/* resources split + featured */
.megaSplit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.featuredCard {
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(217,119,6,.18);
    overflow: hidden;
    position: relative;
}

.featThumb {
    height: 108px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.12);
    background: radial-gradient(200px 120px at 20% 20%, rgba(217,119,6,.16), transparent 55%), radial-gradient(200px 120px at 80% 40%, rgba(2,132,199,.12), transparent 55%), linear-gradient(135deg, rgba(255,255,255,.70), rgba(248,250,252,.60));
    margin-bottom: 10px;
}

.featLink {
    display: inline-flex;
    margin-top: 10px;
    color: rgba(217,119,6,.92);
    font-weight: 900;
}

    .featLink:hover {
        color: rgba(15,23,42,.92);
    }

.megaBottomLink {
    display: inline-flex;
    margin-top: 10px;
    padding: 10px 10px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(255,255,255,.70);
    color: rgba(2,132,199,.92);
    font-weight: 900;
}

/* industry pills */
.megaPills {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .megaPills a {
        padding: 10px 10px;
        border-radius: 14px;
        border: 1px solid rgba(15,23,42,.12);
        background: rgba(255,255,255,.70);
        color: rgba(15,23,42,.78);
        font-weight: 800;
    }

        .megaPills a:hover {
            border-color: rgba(2,132,199,.18);
            background: rgba(255,255,255,.86);
            color: rgba(15,23,42,.92);
        }

/* ===== Mobile drawer accordion ===== */
.mnav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 14px;
}

    .mnav a {
        padding: 12px 12px;
        border-radius: 14px;
        border: 1px solid rgba(15,23,42,.12);
        background: rgba(15,23,42,.03);
        color: rgba(15,23,42,.86);
        font-weight: 650;
    }

.mGroupBtn {
    width: 100%;
    text-align: left;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(15,23,42,.03);
    color: rgba(15,23,42,.86);
    font-weight: 850;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mChev {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(15,23,42,.45);
    border-bottom: 2px solid rgba(15,23,42,.45);
    transform: rotate(45deg);
    transition: transform .18s ease, border-color .18s ease;
}

.mGroupBtn[aria-expanded="true"] .mChev {
    border-color: rgba(2,132,199,.70);
    transform: rotate(225deg);
}

.mGroup {
    display: none;
    padding: 6px 8px 2px;
    border-left: 1px dashed rgba(15,23,42,.16);
    margin-left: 10px;
}

    .mGroup.open {
        display: block;
    }

    .mGroup a {
        background: rgba(255,255,255,.72);
    }

.mActions {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* keep dropdowns desktop-only */
@media (max-width: 980px) {
    .mega {
        display: none !important;
    }
}



.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    width: 100%;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(15,23,42,.03);
    border: 1px solid rgba(15,23,42,.12);
    color: rgba(15,23,42,.90);
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

    .nav-item:hover {
        background: rgba(15,23,42,.05);
    }

    .nav-item.has-sub .chev {
        width: 10px;
        height: 10px;
        border-right: 2px solid rgba(2,132,199,.90);
        border-bottom: 2px solid rgba(2,132,199,.90);
        transform: rotate(45deg);
        transition: transform .2s ease;
    }

/* sub menu */
.sub {
    display: none;
    padding: 10px;
    margin-top: 8px;
    border-radius: 14px;
    background: rgba(255,255,255,.80);
    border: 1px solid rgba(15,23,42,.12);
    animation: fadeIn .2s ease;
}

    .sub a {
        display: block;
        padding: 14px 14px;
        margin-bottom: 8px;
        border-radius: 12px;
        color: rgba(15,23,42,.86);
        font-size: 14px;
    }

        .sub a:hover {
            background: rgba(2,132,199,.08);
        }

        .sub a:last-child {
            margin-bottom: 0; /* clean end */
        }

    /* open state */
    .sub.open {
        display: block;
    }

.nav-item.active .chev {
    transform: rotate(-135deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cyber-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(900px 420px at 12% 10%, rgba(13,110,253,.14), transparent 40%), radial-gradient(760px 380px at 85% 20%, rgba(111,66,193,.12), transparent 60%), radial-gradient(540px 300px at 55% 95%, rgba(25,135,84,.10), transparent 55%), linear-gradient(180deg, #f8fafc, #ffffff);
}

    .cyber-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(to right, rgba(15,23,42,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(15,23,42,.05) 1px, transparent 1px);
        background-size: 44px 44px;
        mask-image: radial-gradient(closest-side at 30% 20%, rgba(0,0,0,.9), transparent 75%);
        pointer-events: none;
    }

.soft-hover {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .soft-hover:hover {
        transform: translateY(-3px);
        box-shadow: 0 .75rem 2rem rgba(2,6,23,.10) !important;
        border-color: rgba(13,110,253,.25) !important;
    }

.terminal {
    background: radial-gradient(900px 500px at 25% 15%, rgba(13,110,253,.25), transparent 55%), radial-gradient(700px 420px at 85% 10%, rgba(111,66,193,.22), transparent 55%), linear-gradient(180deg, #0b1220, #050812);
    border: 1px solid rgba(255,255,255,.10);
}

    .terminal pre {
        margin: 0;
        white-space: pre-wrap;
    }

.glow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}


.cyber-footer {
   
    position: relative;
    overflow: hidden;
    /* Base foundation */

  

}

    /* Cyber grid + signal depth */
    .cyber-footer::before {
        z-index: -10;
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(to right, rgba(15,23,42,.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(15,23,42,.04) 1px, transparent 1px);
        background-size: 48px 48px;
        /* Fade grid upward, keep bottom dense */
        mask-image: linear-gradient( to top, rgba(0,0,0,.95), rgba(0,0,0,.65) 40%, transparent 80% );
        pointer-events: none;
    }

    /* Subtle horizon glow line */
    .cyber-footer::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(79,70,229,.35), rgba(2,132,199,.45), rgba(79,70,229,.35), transparent );
        opacity: .8;
    }

