/* Custom Styles - High Performance Flat Design */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for sticky navbar */
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: #0f172a;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

/* Infinite Smooth Marquee Animation (GPU accelerated) */
@keyframes scrollMarquee {
    0% {
        transform: translate3d(0%, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.animate-marquee {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: scrollMarquee 25s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

:root {
    --brand-primary: #2A7ADB;
    --brand-dark: #1d64c0;
    --brand-light: #dbebfb;
    --brand-soft: #eff6fc;
}

/* Crisp High-Performance UI Utilities */
.glass-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
}

.glass-panel-dark {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 1.5rem;
}

.glass-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
}

.subtle-mesh-bg {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(42, 122, 219, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(29, 100, 192, 0.06) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(239, 246, 252, 0.9) 0px, transparent 50%);
}

.dark-mesh-bg {
    background-color: #0b1320;
    background-image: 
        radial-gradient(at 0% 0%, rgba(42, 122, 219, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(19, 63, 128, 0.3) 0px, transparent 50%),
        radial-gradient(at 50% 0%, rgba(66, 142, 235, 0.15) 0px, transparent 50%);
}

/* Fast, Lightweight Transitions */
.transition-smooth {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.card-hover-lift {
    border-radius: 1.5rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-hover-lift:hover {
    border-color: #2A7ADB;
    transform: translateY(-2px);
}

.glow-effect {
    position: relative;
    border-radius: 1.5rem;
}

/* Brand Primary Button Accent */
.btn-brand {
    background-color: #2A7ADB;
    color: #ffffff;
    border-radius: 0.75rem;
    transition: background-color 0.15s ease;
}

.btn-brand:hover {
    background-color: #1d64c0;
}

.btn-brand-outline {
    background-color: transparent;
    color: #2A7ADB;
    border: 1.5px solid #2A7ADB;
    border-radius: 0.75rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-brand-outline:hover {
    background-color: #2A7ADB;
    color: #ffffff;
}

/* Rounded Bento Card Utilities */
.bento-card {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s ease;
}

.bento-card:hover {
    border-color: #2A7ADB;
}

.bento-card-dark {
    background: #0d1726;
    border-radius: 1.5rem;
    border: 1px solid #1e293b;
    transition: border-color 0.2s ease;
}

.bento-card-dark:hover {
    border-color: #2A7ADB;
}

.spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Custom Accordion Details Marker Reset */
details summary::-webkit-details-marker {
    display: none;
}
details summary {
    list-style: none;
}



