/* ───────────── RESET + BASE ───────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    /* 2026-05-16: rebrand to blue + orange matching logo palette */
    --bg-deep: #0c1726;
    --bg: #142235;
    --bg-alt: #182942;
    --bg-card: #1e324f;
    --border: #284870;
    --border-light: #355a8a;
    --text: #eaf0fa;
    --text-muted: #a5b5cf;
    --text-dim: #7388a8;
    --accent: #3aa6ff;             /* logo blue */
    --accent-bright: #5cb8ff;
    --accent-dim: #2078cc;
    --accent-glow: rgba(58, 166, 255, 0.30);
    --accent-2: #ff7733;           /* logo orange */
    --accent-2-bright: #ff8f55;
    --accent-2-dim: #d65a1e;
    --accent-2-glow: rgba(255, 119, 51, 0.35);
    --warn: #ff7733;
    --max-w: 1180px;
    --pad: 24px;
}
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-bright); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.hidden { display: none !important; }

/* ───────────── BUTTONS ───────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: inherit; font-weight: 600; font-size: 15px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent-2);
    color: #0a1424;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 rgba(255, 119, 51, 0);
}
.btn-primary:hover {
    background: var(--accent-2-bright);
    color: #0a1424;
    box-shadow: 0 4px 24px var(--accent-2-glow);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--accent);
    border-color: var(--border-light);
}
.btn-ghost:hover {
    border-color: var(--accent);
    background: rgba(58, 166, 255, 0.05);
}
.btn-full { width: 100%; }

/* ───────────── NAV ───────────── */
.topnav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px var(--pad);
    background: rgba(10, 20, 16, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--text); font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 15px;
}
.brand:hover { color: var(--text); }
.brand-mark {
    color: var(--accent);
    font-size: 18px;
    text-shadow: 0 0 12px var(--accent-glow);
}
.brand-logo {
    height: 28px; width: auto;
    border-radius: 4px;
}
.footer-logo {
    height: 22px; width: auto; vertical-align: middle;
    margin-right: 6px; border-radius: 3px;
}
/* Add a hint glow on logo hover */
.brand:hover .brand-logo { filter: brightness(1.1); }
.nav-links {
    list-style: none; display: flex; gap: 28px; align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    padding: 8px 18px !important;
    border: 1px solid var(--accent) !important;
    border-radius: 3px;
    color: var(--accent) !important;
}
.nav-cta:hover { background: var(--accent); color: #0a1424 !important; }
.nav-toggle {
    display: none;
    background: transparent; border: 1px solid var(--border-light);
    color: var(--text); font-size: 22px; padding: 4px 12px;
    border-radius: 3px; cursor: pointer;
}

/* ───────────── HERO ───────────── */
.hero {
    position: relative;
    padding: 120px var(--pad) 110px;
    background: radial-gradient(ellipse at 50% 0%, rgba(58, 166, 255, 0.06), transparent 50%), var(--bg);
    overflow: hidden;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(58, 166, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 166, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 90%);
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 1;
    max-width: 920px; margin: 0 auto; text-align: center;
}
.hero-eyebrow {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; letter-spacing: 0.3em;
    margin-bottom: 24px;
}
.hero-headline {
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    color: var(--text);
}
.hero-sub {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--text-muted);
    max-width: 680px; margin: 0 auto 40px;
    line-height: 1.6;
}
.hero-cta-row {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-trust {
    display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; letter-spacing: 0.06em;
}
.trust-item { white-space: nowrap; }

/* ───────────── SECTIONS ───────────── */
.section { padding: 100px 0; border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.3em;
    margin-bottom: 18px;
}
.section-title {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    line-height: 1.15;
}
.section-lead {
    font-size: 17px; color: var(--text-muted); max-width: 760px; margin-bottom: 18px;
    line-height: 1.7;
}
.section-foot {
    color: var(--text-dim); font-style: italic; margin-top: 32px;
    font-size: 14px; text-align: center;
}

/* Pillars */
.pillar-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin-top: 56px;
}
.pillar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 32px 26px;
    transition: all 0.2s;
}
.pillar:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.pillar-icon {
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 16px;
    text-shadow: 0 0 12px var(--accent-glow);
}
.pillar h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.pillar p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* Stack */
.stack-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-top: 48px;
}
.stack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 36px 32px;
}
.stack-card-title {
    font-size: 22px; font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}
.stack-card-lead {
    color: var(--text-muted); margin-bottom: 24px; line-height: 1.6;
}
.cmd-list { list-style: none; margin-bottom: 24px; }
.cmd-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}
.cmd-list li:last-child { border-bottom: none; }
.cmd {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--accent);
    background: rgba(58, 166, 255, 0.10);
    padding: 2px 8px;
    border-radius: 2px;
    margin-right: 10px;
    min-width: 86px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.05em;
}
.tier {
    margin-bottom: 18px; padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: rgba(58, 166, 255, 0.04);
}
.tier-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
}
.tier-name { font-weight: 600; color: var(--text); font-size: 15px; }
.tier-price {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
}
.tier p { color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.stack-card-foot {
    color: var(--text-dim); font-size: 13px; font-style: italic; line-height: 1.5;
}

/* Demo */
.demo-frame {
    margin: 48px auto 56px;
    max-width: 920px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    background-image:
        linear-gradient(rgba(58, 166, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 166, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px, 32px 32px, auto;
}
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-placeholder {
    text-align: center;
    padding: 32px;
    max-width: 540px;
}
.demo-icon-wrap {
    margin: 0 auto 18px;
    width: 88px; height: 88px;
    border-radius: 50%;
    background: rgba(58, 166, 255, 0.08);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 32px var(--accent-glow);
}
.demo-status {
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}
.demo-sub {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}
.demo-moments {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin-top: 16px;
}
.moment {
    background: rgba(58, 166, 255, 0.04);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    padding: 22px 22px 20px;
}
.moment-num {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}
.moment-title {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}
.moment-text {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Use cases */
.usecase-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    margin-top: 48px;
}
.usecase {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px 24px;
    transition: all 0.2s;
}
.usecase:hover {
    border-color: var(--accent-dim);
    transform: translateY(-3px);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.4);
}
.usecase-icon {
    font-size: 28px; margin-bottom: 14px; display: block;
}
.usecase h3 {
    font-size: 16px; font-weight: 600; margin-bottom: 10px;
    color: var(--text);
    letter-spacing: 0.01em;
}
.usecase p {
    color: var(--text-muted); font-size: 14px; line-height: 1.6;
}

/* About */
.about-grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
    margin-top: 48px; align-items: start;
}
.about-text p {
    color: var(--text-muted); font-size: 16px; line-height: 1.75;
    margin-bottom: 18px;
}
.about-text strong { color: var(--text); font-weight: 600; }
.about-card {
    background: linear-gradient(180deg, rgba(58, 166, 255, 0.05), rgba(74, 229, 74, 0.01));
    border: 1px solid var(--accent-dim);
    border-radius: 6px;
    padding: 36px 30px;
}
.about-mission-eyebrow {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.3em;
    margin-bottom: 18px;
}
.about-mission {
    font-size: 19px; font-weight: 500; line-height: 1.55;
    color: var(--text);
}

/* Contact */
.contact-grid {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px;
    margin-top: 48px;
}
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 32px;
}
.field { margin-bottom: 18px; }
.field label {
    display: block;
    color: var(--text);
    font-size: 13px; font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-deep);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(58, 166, 255, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
    font-style: italic;
}
.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 32px;
}
.contact-info h3 {
    font-size: 16px;
    color: var(--accent);
    margin-bottom: 22px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}
.contact-info dl { display: grid; gap: 16px; }
.contact-info dt {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}
.contact-info dd {
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}
.contact-info dd a { color: var(--accent); }

/* Footer */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    color: var(--text-muted);
    font-size: 13px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
    margin-bottom: 40px;
}
.footer-brand {
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.footer-heading {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    color: var(--text-dim);
    font-size: 12px;
}

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 900px) {
    .pillar-grid,
    .stack-split,
    .usecase-grid,
    .about-grid,
    .contact-grid,
    .footer-grid,
    .demo-moments {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: var(--bg-deep);
        border-bottom: 1px solid var(--border);
        padding: 14px var(--pad);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-toggle { display: block; }
    .hero { padding: 80px var(--pad) 70px; }
    .section { padding: 70px 0; }
    .hero-trust { gap: 14px; font-size: 11px; }
}
@media (max-width: 480px) {
    :root { --pad: 18px; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .hero-cta-row { flex-direction: column; align-items: stretch; }
}
