:root {
    --bg-dark: #070708;
    --bg-surface: #121215;
    --bg-card: rgba(18, 18, 21, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --bambu-green: #00aa5b;
    
    /* Material Color Accents */
    --pla-color: #10b981;
    --petg-color: #3b82f6;
    --tpu-color: #f97316;
    --resin-color: #a855f7;
    --pu-color: #f43f5e;
    --molding-color: #eab308;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #232329;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2e2e36;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.glass-panel:hover {
    border-color: var(--border-hover);
}

/* Custom Animations */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(0, 170, 91, 0.2); }
    100% { box-shadow: 0 0 25px rgba(0, 170, 91, 0.5); }
}

.btn-bambu-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-bambu-glow:hover {
    box-shadow: 0 0 20px rgba(0, 170, 91, 0.4);
    transform: translateY(-1px);
}

/* Specification Tables (Bambu-Style Spec Sheets) */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.spec-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 10px 0;
}

.spec-table td.label {
    font-weight: 500;
    color: var(--text-primary);
}

.spec-table td.value {
    text-align: right;
    font-family: monospace;
}

/* Color Swatches Grid */
.swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    padding: 2px;
    background-clip: content-box;
}

.swatch:hover {
    transform: scale(1.15);
}

.swatch.active {
    border-color: var(--text-primary);
    transform: scale(1.1);
}

/* Property Chart / Meters */
.property-meter {
    margin-bottom: 16px;
}

.property-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.property-bar-bg {
    width: 100%;
    height: 6px;
    background: #1c1c21;
    border-radius: 3px;
    overflow: hidden;
}

.property-bar-fill {
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}



/* Marquee seamless scroll override */
.animate-marquee {
    animation: marquee 25s linear infinite;
}
.animate-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Utility layout custom overrides */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


