/* 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: #8F5626;
    --brand-dark: #74431d;
    --brand-light: #f6eee6;
    --brand-soft: #fbf8f5;
}

/* Crisp Flat High-Performance UI Utilities (No Blurs, No Heavy Shadows) */
.glass-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
}

.glass-panel-dark {
    background: #18120d;
    border: 1px solid #3d2210;
    border-radius: 0;
}

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

.subtle-mesh-bg {
    background-color: #fdfbf9;
    background-image: 
        radial-gradient(at 0% 0%, rgba(143, 86, 38, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(173, 115, 64, 0.06) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(251, 248, 245, 0.9) 0px, transparent 50%);
}

.dark-mesh-bg {
    background-color: #140e0a;
    background-image: 
        radial-gradient(at 0% 0%, rgba(143, 86, 38, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(78, 46, 23, 0.3) 0px, transparent 50%),
        radial-gradient(at 50% 0%, rgba(173, 115, 64, 0.15) 0px, transparent 50%);
}

/* Fast, Lightweight Transitions (No 3D Lifts, No Shadow Repaints) */
.transition-smooth {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.card-hover-lift {
    border-radius: 0;
    transition: border-color 0.15s ease;
}

.card-hover-lift:hover {
    border-color: #8F5626;
}

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

/* Brand Primary Button Accent - Flat & Sharp */
.btn-brand {
    background-color: #8F5626;
    color: #ffffff;
    border-radius: 0;
    transition: background-color 0.15s ease;
}

.btn-brand:hover {
    background-color: #74431d;
}

.btn-brand-outline {
    background-color: transparent;
    color: #8F5626;
    border: 1.5px solid #8F5626;
    border-radius: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-brand-outline:hover {
    background-color: #8F5626;
    color: #ffffff;
}

/* Flat Sharp Bento Card Utilities */
.bento-card {
    background: #ffffff;
    border-radius: 0;
    border: 1px solid #e2e8f0;
    transition: border-color 0.15s ease;
}

.bento-card:hover {
    border-color: #8F5626;
}

.bento-card-dark {
    background: #1e150f;
    border-radius: 0;
    border: 1px solid #4a2913;
    transition: border-color 0.15s ease;
}

.bento-card-dark:hover {
    border-color: #8F5626;
}

.spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0;
    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;
}



