/* Light Spatial Demo Styles */
.demo-light {
    background-color: var(--bg-color); /* #f7f7f8 */
    color: var(--text-main);
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
}

#demo-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.demo-nav {
    position: absolute;
    top: 0; left: 0; width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.back-link:hover { opacity: 1; }

.logo {
    color: #fff;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: #fff;
    opacity: 0.7;
}

.pulse-light {
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulseLight 2s infinite;
}

@keyframes pulseLight {
    0% { box-shadow: 0 0 0 0 rgba(17,17,21, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(17,17,21, 0); }
    100% { box-shadow: 0 0 0 0 rgba(17,17,21, 0); }
}

.spatial-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

model-viewer {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 10;
    --poster-color: transparent;
}

.floating-ui {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 8vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 20;
}

.product-info-minimal {
    max-width: 450px;
    pointer-events: auto;
}

.text-dark {
    color: var(--text-main);
}

.tag-accent {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.price-minimal {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent);
    letter-spacing: -0.02em;
    pointer-events: auto;
}

/* Minimal Carousel */
.minimal-carousel-container {
    position: absolute;
    bottom: 6rem;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
}

.carousel-track-minimal {
    display: flex;
    gap: 2.5rem;
    pointer-events: auto;
    overflow-x: auto;
    padding: 1rem 5vw;
    scrollbar-width: none;
}
.carousel-track-minimal::-webkit-scrollbar { display: none; }

.menu-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: none;
    opacity: 0.5;
    transition: all 0.4s ease;
    white-space: nowrap;
    position: relative;
    padding-bottom: 8px;
}

.menu-label::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%; height: 1px;
    background: var(--text-main);
    transition: transform 0.4s ease;
}

.menu-label:hover, .menu-label.active {
    opacity: 1;
    color: var(--text-main);
}

.menu-label.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Footer */
.conversion-footer {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 1.5rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(17, 17, 21, 0.05);
    z-index: 20;
    background: rgba(247, 247, 248, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.divider {
    width: 1px; height: 15px;
    background: rgba(17, 17, 21, 0.2);
}

.text-accent {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.pill-btn {
    border-radius: 50px;
    padding: 1rem 2.5rem;
    background: var(--text-main);
    color: var(--bg-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    pointer-events: auto;
}
.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.sm-pill {
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
}

.ar-launch-btn {
    position: absolute;
    bottom: 7rem;
    right: 5vw;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Hotspots - Elegant Light Theme */
.hotspot-dot {
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(94, 53, 177, 0.4);
    cursor: none;
    position: relative;
    transition: transform 0.3s;
}
.hotspot-dot:hover { transform: scale(1.3); }

.hotspot-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(17, 17, 21, 0.05);
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-main);
    position: absolute;
    top: 20px; left: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.hotspot-dot:hover .hotspot-card {
    opacity: 1; transform: translateY(0);
}

/* Mobile Responsiveness - Mobile First Layout */
@media (max-width: 768px) {
    .demo-nav { padding: 1.5rem 2rem; }
    
    .floating-ui {
        top: 60%;
        transform: translateY(-50%);
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 2rem;
    }
    
    .product-info-minimal { margin-bottom: 1rem; }
    .price-minimal { font-size: 2rem; }
    .description { font-size: 1rem; margin-bottom: 0; }
    
    model-viewer {
        height: 55vh; /* Keep model prominent at top */
        top: 5vh;
    }
    
    .ar-launch-btn {
        bottom: 20rem; /* Push up above UI */
        right: 50%;
        transform: translateX(50%);
        width: max-content;
    }
    
    .minimal-carousel-container { bottom: 5rem; }
    .carousel-track-minimal { gap: 1.5rem; padding: 1rem 2rem; }
    
    .conversion-footer { flex-direction: column; gap: 1rem; padding: 1rem; text-align: center; }
    .stats-row { justify-content: center; width: 100%; }
}
