:root {
    --primary-cyan: #00f0ff;
    --secondary-violet: #8a2be2;
    --bg-dark: #050510;
    --bg-panel: rgba(15, 18, 28, 0.78);
    --bg-panel-strong: rgba(20, 24, 38, 0.92);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-soft: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 240, 255, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    background: radial-gradient(circle at center, #171a26 0%, #04050b 100%);
}

.page-shell {
    position: relative;
    z-index: 1;
}

.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1240px, calc(100% - 32px));
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-radius: 24px;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(8, 10, 18, 0.88), rgba(8, 10, 18, 0.68));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.05;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-copy strong,
.hero-title,
.section-title,
.footer-brand strong,
.accordion-title,
.footer-copy strong {
    font-family: "Space Grotesk", sans-serif;
}

.brand-copy strong {
    display: block;
    font-size: 1.3rem;
    letter-spacing: -0.04em;
}

.brand-copy span {
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.15;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #d7dcea;
    font-size: 0.9rem;
    flex: 1;
    max-width: 520px;
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: #cbd5e1;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.mobile-nav a:hover {
    color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.22);
    transform: translateY(-1px);
}

.menu-toggle-glyph {
    font-size: 1.1rem;
    line-height: 1;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 86px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1240px, calc(100% - 32px));
    z-index: 99;
    padding: 12px;
    border-radius: 24px;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(8, 10, 18, 0.94), rgba(8, 10, 18, 0.84));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    color: #d7dcea;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.highlight-gradient {
    background: linear-gradient(90deg, var(--primary-cyan), #8b5cf6 65%, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.08);
    color: var(--primary-cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-header {
        top: 12px;
        width: calc(100% - 20px);
        padding: 14px 16px;
    }
}

@media (max-width: 560px) {
    .brand-copy span {
        display: none;
    }
}
