@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* --- CUSTOM VARIABLES & THEME SYSTEM --- */
:root {
    --brand-copper: #c17544;
    --brand-copper-glow: rgba(193, 117, 68, 0.2);
    --brand-copper-border: rgba(193, 117, 68, 0.4);
    
    --brand-canvas: #0b0f17; /* Obsidian Slate */
    --brand-white: #111827; /* Dark Slate Surface */
    --brand-dark-900: #080c14; /* Pure Deep Obsidian */
    --brand-dark-800: #0f172a; /* Dark Slate 900 */
    --brand-dark-700: #1e293b; /* Dark Slate 800 */
    
    --text-primary: #f8fafc; /* White / Slate 50 */
    --text-secondary: #94a3b8; /* Soft Slate 400 */
    
    --brand-card: #111827;
    --brand-glass-border: rgba(255, 255, 255, 0.08);
    
    --font-display: 'Outfit', sans-serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* --- BASE STYLES --- */
body {
    background-color: var(--brand-canvas);
    font-family: var(--font-sans);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--brand-canvas);
}
::-webkit-scrollbar-thumb {
    background: #334155; /* Slate 700 */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-copper);
}

/* --- GLOW ORBS --- */
.glow-orb {
    filter: blur(140px);
    opacity: 0.12;
    will-change: transform;
    pointer-events: none;
    transition: transform 5s ease-in-out;
}

/* --- STICKY NAVIGATION --- */
.glass-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(11, 15, 23, 0.85);
    border-bottom: 1px solid var(--brand-glass-border);
}

/* --- DESIGN CARDS & MATRIX --- */
.catalog-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-glass-border);
    box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.5);
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-card:hover {
    border-color: var(--brand-copper-border);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px var(--brand-copper-glow);
}

/* --- SPECIFICATION PILLS --- */
.spec-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}
.spec-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

/* --- FILTER SIDEBAR --- */
.spec-filter-sidebar {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--brand-glass-border);
    box-shadow: 0 4px 24px -10px rgba(0, 0, 0, 0.5);
}

/* --- BUTTON TAB INTERACTIVE COB STATES --- */
.tab-btn {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.6);
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.18);
}
.tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(15, 23, 42, 0.15);
}
.tab-btn.active {
    background: var(--brand-copper);
    color: var(--brand-white);
    border-color: var(--brand-copper);
    box-shadow: 0 6px 20px -5px rgba(193, 117, 68, 0.4);
}

/* --- PREMIUM LIGHT MODAL OVERLAY --- */
.modal-overlay {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-container {
    background: var(--brand-white);
    border: 1px solid var(--brand-glass-border);
    box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.15);
    transform: translateY(40px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

/* --- CONFIGURATOR INTERACTIVE CONTROLS --- */
.cct-btn {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-secondary);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cct-btn:hover {
    border-color: rgba(15, 23, 42, 0.18);
    color: var(--text-primary);
}
.cct-btn.active[data-cct="3000K"] {
    background: #d97706; /* Amber 600 */
    color: #ffffff;
    border-color: #d97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}
.cct-btn.active[data-cct="4000K"] {
    background: #475569; /* Slate 600 */
    color: #ffffff;
    border-color: #475569;
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3);
}
.cct-btn.active[data-cct="6000K"] {
    background: #0284c7; /* Sky 600 */
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.wattage-btn {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}
.wattage-btn:hover {
    border-color: rgba(15, 23, 42, 0.18);
    color: var(--text-primary);
}
.wattage-btn.active {
    background: var(--brand-copper);
    color: #ffffff;
    border-color: var(--brand-copper);
    box-shadow: 0 4px 12px var(--brand-copper-glow);
}

.finish-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(15, 23, 42, 0.1);
}
.finish-swatch::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.finish-swatch:hover {
    transform: scale(1.15);
}
.finish-swatch.active::after {
    border-color: var(--brand-copper);
    border-width: 2px;
}

/* --- SHIMMER ACTION EFFECT --- */
.shimmer-btn {
    position: relative;
    overflow: hidden;
}
.shimmer-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.22);
    transform: rotate(30deg);
    transition: all 0.5s ease;
    opacity: 0;
}
.shimmer-btn:hover::after {
    left: 130%;
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- PRELOADER (LIGHT ACCENTS) --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-circle-outline {
    stroke-dasharray: 270;
    stroke-dashoffset: 270;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    animation: 
        circle-trace 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
        circle-glow-flash 0.5s ease-in-out 2.4s forwards;
}
@keyframes circle-trace {
    0% { stroke-dashoffset: 270; }
    100% { stroke-dashoffset: 0; }
}
@keyframes circle-glow-flash {
    0% {
        stroke: var(--brand-copper);
        filter: drop-shadow(0 0 2px var(--brand-copper));
    }
    50% {
        stroke: var(--brand-copper);
        filter: drop-shadow(0 0 25px var(--brand-copper)) drop-shadow(0 0 45px var(--brand-copper));
    }
    100% {
        stroke: var(--brand-copper);
        filter: drop-shadow(0 0 8px var(--brand-copper));
    }
}

.preloader-logo {
    opacity: 0.1;
    transform: scale(0.92);
    animation: 
        logo-fade-in 2.4s ease-in-out forwards,
        logo-glow-flash 0.5s ease-in-out 2.4s forwards;
}
@keyframes logo-fade-in {
    0% { opacity: 0.05; transform: scale(0.92); }
    100% { opacity: 0.8; transform: scale(1); }
}
@keyframes logo-glow-flash {
    0% { opacity: 0.8; filter: none; }
    50% { opacity: 1; filter: drop-shadow(0 0 20px var(--brand-copper-glow)) brightness(1.1); }
    100% { opacity: 1; filter: drop-shadow(0 0 5px var(--brand-copper-glow)); }
}

/* --- FLOAT SHADOW ANIMATION --- */
.hero-stats-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
    animation: float 4s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* --- SCROLL REVEAL --- */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SIMULATED LIGHT SWITCH CONTROLS --- */
.modal-overlay.dark-room {
    background: #000000 !important;
    backdrop-filter: blur(40px) !important;
    transition: background 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Radial light splash reflections based on source warmth */
.modal-overlay.dark-room.light-color-warm {
    background: radial-gradient(circle at 35% 50%, rgba(217, 119, 6, 0.35) 0%, rgba(0, 0, 0, 1) 75%) !important;
}
.modal-overlay.dark-room.light-color-neutral {
    background: radial-gradient(circle at 35% 50%, rgba(254, 253, 245, 0.28) 0%, rgba(0, 0, 0, 1) 75%) !important;
}
.modal-overlay.dark-room.light-color-cool {
    background: radial-gradient(circle at 35% 50%, rgba(14, 165, 233, 0.35) 0%, rgba(0, 0, 0, 1) 75%) !important;
}

.modal-container.light-is-on {
    background: #000000 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 100px -10px rgba(255, 255, 255, 0.05) !important;
    transition: background 0.8s ease, border-color 0.8s ease !important;
}

.modal-container.light-is-on #modal-details-content {
    opacity: 0.02;
    pointer-events: none;
    filter: blur(2px);
}

.modal-container.light-is-on #modal-image {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.modal-container.light-is-on #modal-anime-container {
    opacity: 1 !important;
    pointer-events: auto;
}

.modal-container.light-is-on #modal-lighting-effect {
    opacity: 1 !important;
}

/* Ambient glow overflow masks */
.light-ambient-glow-warm {
    background: radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.45) 0%, rgba(217, 119, 6, 0.1) 45%, transparent 75%);
    position: absolute;
    inset: 0;
    z-index: 1;
}
.light-ambient-glow-neutral {
    background: radial-gradient(circle at 50% 50%, rgba(254, 253, 245, 0.45) 0%, rgba(255, 255, 255, 0.1) 45%, transparent 75%);
    position: absolute;
    inset: 0;
    z-index: 1;
}
.light-ambient-glow-cool {
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.45) 0%, rgba(14, 165, 233, 0.1) 45%, transparent 75%);
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* --- TECHNICAL SCHEMATIC DRAWER ANIMS --- */
.anime-draw-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: anime-draw 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes anime-draw {
    to { stroke-dashoffset: 0; }
}

.anime-ray-vector {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: anime-rays 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
@keyframes anime-rays {
    0% { stroke-dashoffset: 200; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 0.8; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

.anime-wave-arc {
    transform-origin: 100px 75px;
    animation: anime-waves 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes anime-waves {
    0% { transform: scale(0.4); opacity: 0; }
    15% { opacity: 0.9; }
    75% { opacity: 0.3; }
    100% { transform: scale(1.3); opacity: 0; }
}

.anime-led-blink-1 { animation: anime-blink 1.2s infinite 0.1s; }
.anime-led-blink-2 { animation: anime-blink 1.2s infinite 0.3s; }
.anime-led-blink-3 { animation: anime-blink 1.2s infinite 0.5s; }
.anime-led-blink-4 { animation: anime-blink 1.2s infinite 0.7s; }
@keyframes anime-blink {
    0%, 100% { opacity: 0.35; fill: #444; }
    50% { opacity: 1; fill: #fff; filter: drop-shadow(0 0 3px rgba(255, 180, 20, 0.8)); }
}

.anime-spark-run {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: anime-spark 3s linear infinite;
}
@keyframes anime-spark {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}
.anime-electron-spark {
    animation: anime-electron 2.5s ease-in-out infinite;
}
@keyframes anime-electron {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(100px, 0); opacity: 0; }
}

.anime-glow-emitter {
    animation: anime-emitter-pulse 2s ease-in-out infinite alternate;
}
@keyframes anime-emitter-pulse {
    0% { opacity: 0.85; filter: drop-shadow(0 0 2px rgba(255,255,255,0.5)); }
    100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(255,255,255,0.9)); }
}

/* --- THEATRICAL VIEWPORT PROJECTORS --- */
#darkroom-viewport.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#darkroom-viewport.light-color-warm {
    background: radial-gradient(circle at 50% 80px, rgba(217, 119, 6, 0.25) 0%, #000000 80%) !important;
}
#darkroom-viewport.light-color-neutral {
    background: radial-gradient(circle at 50% 80px, rgba(254, 253, 245, 0.25) 0%, #000000 80%) !important;
}
#darkroom-viewport.light-color-cool {
    background: radial-gradient(circle at 50% 80px, rgba(14, 165, 233, 0.25) 0%, #000000 80%) !important;
}

/* Spotlight Cone washes (Viewport) */
.light-spotlight-beam-viewport-warm {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(50% 80px, 5% 100%, 95% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(217, 119, 6, 1) 12%, 
        rgba(217, 119, 6, 0.8) 45%, 
        rgba(217, 119, 6, 0.25) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 3s ease-in-out infinite alternate;
}
.light-spotlight-beam-viewport-neutral {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(50% 80px, 5% 100%, 95% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(254, 253, 245, 1) 12%, 
        rgba(226, 232, 240, 0.8) 45%, 
        rgba(148, 163, 184, 0.2) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 3s ease-in-out infinite alternate;
}
.light-spotlight-beam-viewport-cool {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(50% 80px, 5% 100%, 95% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(14, 165, 233, 1) 12%, 
        rgba(14, 165, 233, 0.8) 45%, 
        rgba(14, 165, 233, 0.2) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 3s ease-in-out infinite alternate;
}

/* Ambient Panel washes in darkroom viewport */
.light-ambient-beam-viewport-warm {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(50% 80px, -30% 100%, 130% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(217, 119, 6, 1) 12%, 
        rgba(217, 119, 6, 0.8) 45%, 
        rgba(217, 119, 6, 0.2) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 3.5s ease-in-out infinite alternate;
}
.light-ambient-beam-viewport-neutral {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(50% 80px, -30% 100%, 130% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(254, 253, 245, 1) 12%, 
        rgba(226, 232, 240, 0.8) 45%, 
        rgba(148, 163, 184, 0.15) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 3.5s ease-in-out infinite alternate;
}
.light-ambient-beam-viewport-cool {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(50% 80px, -30% 100%, 130% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(14, 165, 233, 1) 12%, 
        rgba(14, 165, 233, 0.8) 45%, 
        rgba(14, 165, 233, 0.2) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 3.5s ease-in-out infinite alternate;
}

/* Outdoor Flood washes in viewport */
.light-flood-beam-viewport-warm {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(50% 80px, -20% 100%, 120% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(217, 119, 6, 1) 12%, 
        rgba(217, 119, 6, 0.8) 45%, 
        rgba(217, 119, 6, 0.2) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 2.5s ease-in-out infinite alternate;
}
.light-flood-beam-viewport-neutral {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(50% 80px, -20% 100%, 120% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(254, 253, 245, 1) 12%, 
        rgba(226, 232, 240, 0.8) 45%, 
        rgba(148, 163, 184, 0.15) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 2.5s ease-in-out infinite alternate;
}
.light-flood-beam-viewport-cool {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(50% 80px, -20% 100%, 120% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(14, 165, 233, 1) 12%, 
        rgba(14, 165, 233, 0.8) 45%, 
        rgba(14, 165, 233, 0.2) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 2.5s ease-in-out infinite alternate;
}

/* Linear Track washes in viewport */
.light-linear-beam-viewport-warm {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(30% 80px, 70% 80px, 94% 100%, 6% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(217, 119, 6, 1) 12%, 
        rgba(217, 119, 6, 0.8) 45%, 
        rgba(217, 119, 6, 0.2) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 4s ease-in-out infinite alternate;
}
.light-linear-beam-viewport-neutral {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(30% 80px, 70% 80px, 94% 100%, 6% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(254, 253, 245, 1) 12%, 
        rgba(226, 232, 240, 0.8) 45%, 
        rgba(148, 163, 184, 0.15) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 4s ease-in-out infinite alternate;
}
.light-linear-beam-viewport-cool {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: polygon(30% 80px, 70% 80px, 94% 100%, 6% 100%);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(14, 165, 233, 1) 12%, 
        rgba(14, 165, 233, 0.8) 45%, 
        rgba(14, 165, 233, 0.2) 80%, 
        transparent 98%);
    transform-origin: 50% 80px;
    animation: light-beam-stable-viewport 4s ease-in-out infinite alternate;
}

/* Fullscreen electrical current waves */
.light-electrical-beam-viewport-warm {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: radial-gradient(circle at 50% 80px, 
        rgba(255, 255, 255, 1) 0%,
        rgba(217, 119, 6, 1) 15%, 
        rgba(217, 119, 6, 0.85) 40%, 
        rgba(217, 119, 6, 0.2) 65%, 
        transparent 85%);
    animation: light-electrical-stable-viewport 2s ease-in-out infinite alternate;
}
.light-electrical-beam-viewport-neutral {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: radial-gradient(circle at 50% 80px, 
        rgba(255, 255, 255, 1) 0%,
        rgba(254, 253, 245, 1) 15%, 
        rgba(226, 232, 240, 0.85) 40%, 
        rgba(148, 163, 184, 0.15) 65%, 
        transparent 85%);
    animation: light-electrical-stable-viewport 2s ease-in-out infinite alternate;
}
.light-electrical-beam-viewport-cool {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: radial-gradient(circle at 50% 80px, 
        rgba(255, 255, 255, 1) 0%,
        rgba(14, 165, 233, 1) 15%, 
        rgba(14, 165, 233, 0.85) 40%, 
        rgba(14, 165, 233, 0.2) 65%, 
        transparent 85%);
    animation: light-electrical-stable-viewport 2s ease-in-out infinite alternate;
}

@keyframes light-beam-stable-viewport {
    0% { opacity: 0.97; transform: scaleX(0.99) scaleY(1); }
    100% { opacity: 1; transform: scaleX(1.01) scaleY(1.005); }
}

@keyframes light-electrical-stable-viewport {
    0% { opacity: 0.92; transform: scale(0.985); }
    100% { opacity: 1; transform: scale(1.015); }
}

/* --- BODY FINISH REAL-TIME COLORED SHADERS --- */
.product-finish-White {
    filter: drop-shadow(0 10px 15px rgba(15, 23, 42, 0.08)) brightness(1.04) contrast(1.02);
    transition: filter 0.4s ease;
}

.product-finish-Black {
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.5)) brightness(0.38) contrast(1.45) saturate(0.1);
    transition: filter 0.4s ease;
}

.product-finish-RoseGold, .product-finish-Copper {
    filter: drop-shadow(0 12px 25px rgba(193, 117, 68, 0.35)) sepia(0.85) hue-rotate(-22deg) saturate(2.1) brightness(0.92);
    transition: filter 0.4s ease;
}

.product-finish-Gold {
    filter: drop-shadow(0 12px 25px rgba(217, 119, 6, 0.35)) sepia(0.95) hue-rotate(8deg) saturate(2.5) brightness(1.02);
    transition: filter 0.4s ease;
}

.product-finish-Chrome, .product-finish-Silver {
    filter: drop-shadow(0 12px 25px rgba(148, 163, 184, 0.35)) grayscale(1) brightness(1.22) contrast(1.35);
    transition: filter 0.4s ease;
}

/* --- LIGHT STRENGTH DIMMER SLIDER --- */
.dimmer-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #cbd5e1;
    outline: none;
    transition: background 0.3s ease;
}
.dimmer-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-copper);
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(193, 117, 68, 0.4);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.dimmer-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #d48153;
}

/* --- PRELOADER DARK BACKGROUND --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #070a11 !important; /* Deep dark loading background */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-circle-outline {
    stroke-dasharray: 260;
    stroke-dashoffset: 0;
    transform-origin: center;
}

/* --- MOBILE SPECIFIC FIT & NO-ZOOM RESPONSIVE OVERRIDES --- */
@media (max-width: 640px) {
    /* Prevent modal from being zoomed-in or overflowing mobile viewport */
    .modal-overlay {
        padding: 0.5rem !important;
        align-items: flex-start !important;
    }
    .modal-container {
        padding: 1.25rem 1rem !important;
        border-radius: 1.25rem !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        margin-top: 1.25rem !important;
        margin-bottom: 1.25rem !important;
        width: 100% !important;
    }
    /* Modal Left Image Card height on mobile */
    .modal-container .h-80,
    .modal-container .sm\:h-96 {
        height: 12.5rem !important;
        padding: 1rem !important;
        border-radius: 1.25rem !important;
    }
    .modal-container img#modal-image {
        max-height: 10rem !important;
    }
    /* Modal Title on mobile */
    .modal-container h2#modal-title {
        font-size: 1.35rem !important;
        line-height: 1.75rem !important;
        margin-top: 0.5rem !important;
    }
    /* Modal close button positioning */
    #modal-close {
        top: 0.75rem !important;
        right: 0.75rem !important;
        width: 2.25rem !important;
        height: 2.25rem !important;
    }
    
    /* Header nav bar height on mobile to remove extra top space */
    .glass-nav .h-28 {
        height: 4.5rem !important;
    }
    .glass-nav img {
        height: 2.8rem !important;
    }

    /* Reduce unnecessary blank space in section paddings on mobile */
    section.py-24 {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    section.pt-36 {
        padding-top: 5.5rem !important;
        padding-bottom: 2rem !important;
    }
    section.py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Mobile slide-out drawer width */
    #mobile-menu {
        width: 82vw !important;
        max-width: 20rem !important;
        padding-top: 5rem !important;
    }
}