/* Lynx Executor — custom styles */

body {
    background-color: #0A0A0A;
    color: #F5F5F5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Soft white aurora behind the hero */
.lx-aurora {
    position: absolute;
    top: -1300px;
    left: 50%;
    transform: translateX(-50%);
    width: 2000px;
    height: 2000px;
    background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.05) 45%, rgba(255,255,255,0) 65%);
    pointer-events: none;
    z-index: 0;
}

/* Lattice grid overlay */
.lx-lattice {
    background-size: 120px 120px;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
    z-index: -1;
}

/* Floating navigation shell */
.lx-navshell {
    background-color: rgba(15, 15, 15, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Scroll nudge arrow */
.lx-nudge {
    animation: lx-nudge-loop 2s ease-in-out infinite;
}

@keyframes lx-nudge-loop {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* Primary CTA button — white body, dark text */
.lx-cta {
    background: linear-gradient(180deg, #FFFFFF 0%, #E8E8EA 100%);
    color: #0A0A0A;
    box-shadow: 0 2px 14px rgba(255,255,255,0.18), inset 0 1px 0 rgba(255,255,255,0.6);
}
.lx-cta:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, #F2F2F4 100%);
    box-shadow: 0 4px 22px rgba(255,255,255,0.28), inset 0 1px 0 rgba(255,255,255,0.7);
}

/* IntersectionObserver fade-in */
.lx-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lx-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ drawer */
.lx-drawer-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lx-drawer-arrow {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lx-drawer.is-open .lx-drawer-arrow {
    transform: rotate(180deg);
}

/* Telemetry widget keyframes */
@keyframes lx-bars {
    0%, 100% { height: 6px; }
    50%      { height: 20px; }
}
@keyframes lx-stripe {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes lx-halo {
    0%   { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Changelog scrollbars */
.lx-log-rail::-webkit-scrollbar,
.lx-log-body::-webkit-scrollbar { width: 4px; }
.lx-log-rail::-webkit-scrollbar-track,
.lx-log-body::-webkit-scrollbar-track { background: transparent; }
.lx-log-rail::-webkit-scrollbar-thumb,
.lx-log-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 99px;
}
.lx-log-rail::-webkit-scrollbar-thumb:hover,
.lx-log-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

.lx-log-mobile::-webkit-scrollbar { height: 0; display: none; }
.lx-log-mobile { -ms-overflow-style: none; scrollbar-width: none; }

/* Changelog tab states */
.lx-log-tab {
    background: transparent;
}
.lx-log-tab:hover {
    background: rgba(255,255,255,0.04);
}
.lx-log-tab.is-current {
    background: rgba(255,255,255,0.06);
    box-shadow: 0 1px 4px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
}
.lx-log-tab.is-current .lx-log-dot {
    background-color: #FFFFFF;
    box-shadow: 0 0 8px rgba(255,255,255,0.65);
}
.lx-log-tab.is-current .lx-log-label {
    color: #FFFFFF;
}

.lx-log-panel { animation: lx-panel-in 0.25s ease-out; }
@keyframes lx-panel-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile nav drawer */
.lx-mobile-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lx-mobile-nav.is-open {
    max-height: 400px;
}

/* Visually hidden, screen-reader accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}