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

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

.vto-nav { position: absolute; z-index: 100; }
.vto-nav .back-link, .vto-nav .logo, .vto-nav .live-badge { color: #fff; }
.pulse-light { background: #fff; }

/* Core Layout */
.vto-layout {
    position: relative; width: 100vw; height: 100vh;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5vw; padding-top: 80px; z-index: 10;
    pointer-events: none; 
}

/* Left Sidebar */
.vto-sidebar { width: 350px; pointer-events: auto; z-index: 20; margin-top: -5vh; }
.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;
}

/* Ghost Model Switcher */
.ghost-model {
    position: absolute; bottom: 0; left: 10%; height: 85%; z-index: 1;
    opacity: 0.3; filter: blur(3px) drop-shadow(0 0 20px rgba(0,229,255,0.4));
    cursor: none; pointer-events: auto;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}
.ghost-model:hover {
    opacity: 0.6; filter: blur(1px) drop-shadow(0 0 30px rgba(0,229,255,0.8));
    transform: scale(1.05) translateX(10px); z-index: 3;
}
.ghost-model img {
    height: 100%; width: auto; object-fit: contain; pointer-events: none;
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}
.ghost-label {
    position: absolute; bottom: 20%; font-family: var(--font-heading); font-size: 0.7rem;
    letter-spacing: 0.2em; text-transform: uppercase; background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px); padding: 0.5rem 1rem; border-radius: 20px;
    color: var(--text-main); opacity: 0; transition: opacity 0.3s;
    border: 1px solid rgba(0, 229, 255, 0.3); pointer-events: none;
}
.ghost-model:hover .ghost-label { opacity: 1; }

/* Center Stage */
.vto-center { flex: 1; height: 85vh; display: flex; justify-content: center; position: relative; pointer-events: none; }
.model-stage { position: relative; height: 100%; display: flex; justify-content: center; width: auto; }
.vto-hero-img {
    height: 100%; width: auto; object-fit: contain; pointer-events: none;
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
}
.result-layer { z-index: 2; }

/* Right Products */
.vto-products {
    width: 300px; display: flex; flex-direction: column; gap: 2rem; pointer-events: auto; z-index: 20;
    justify-content: center; height: 100%; margin-top: -5vh; align-items: center;
}
.vto-item {
    display: flex; flex-direction: column; align-items: center; cursor: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.vto-item:hover { transform: scale(1.15) translateX(-10px); }
.vto-item img {
    width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}
.vto-item span {
    font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-main); margin-top: 1rem;
    opacity: 0.6; transition: opacity 0.3s; text-align: center;
}
.vto-item:hover span { opacity: 1; }

/* Holographic AI Scanner */
.ai-scanner-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10; pointer-events: none; border-radius: 20px;
    background: rgba(247, 247, 248, 0.3);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.scan-laser {
    position: absolute; top: 0; left: -50%; width: 200%; height: 3px;
    background: #00e5ff; box-shadow: 0 0 20px #00e5ff, 0 0 40px #5e35b1;
    animation: scanLaser 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}
.scan-laser::after {
    content: ''; position: absolute; top: -100px; left: 0; width: 100%; height: 100px;
    background: linear-gradient(to top, rgba(0,229,255,0.3), transparent);
}
@keyframes scanLaser {
    0% { transform: translateY(-5vh); }
    100% { transform: translateY(85vh); }
}

.scan-ui {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(94, 53, 177, 0.2);
    padding: 2.5rem; border-radius: 24px; text-align: center; box-shadow: 0 30px 60px rgba(94, 53, 177, 0.15);
    width: 380px;
}
.scan-title { font-family: var(--font-heading); font-size: 0.8rem; line-height: 1.4; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 1.5rem; text-transform: uppercase; }
.scan-progress-bar { width: 100%; height: 2px; background: rgba(17,17,21,0.1); overflow: hidden; margin-bottom: 1rem; position: relative; }
.progress-fill { width: 0%; height: 100%; background: linear-gradient(90deg, #5e35b1, #00e5ff); transition: width 0.1s linear; }
.scan-percentage { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 300; color: var(--text-main); margin-bottom: 0.5rem; letter-spacing: -0.05em; }
.scan-step { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); height: 1.2em; transition: opacity 0.2s; }

.result-badge {
    position: absolute; top: 15%; right: 0;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 0.8rem 1.5rem;
    border-radius: 30px; font-size: 0.7rem; font-family: var(--font-heading); letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-main); display: flex; align-items: center; gap: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); border: 1px solid rgba(0, 229, 255, 0.2);
}

.pulse-cyan { width: 6px; height: 6px; background: #00e5ff; border-radius: 50%; box-shadow: 0 0 10px #00e5ff; animation: pulseCyan 2s infinite; }
@keyframes pulseCyan { 0% { box-shadow: 0 0 0 0 rgba(0,229,255,0.6); } 70% { box-shadow: 0 0 0 6px rgba(0,229,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); } }

/* Buttons */
.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; display: inline-block;
}
.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; margin-top: 1rem; }

/* Mobile Redesign */
@media (max-width: 768px) {
    .vto-nav { padding: 1.5rem 2rem; }
    .vto-layout { flex-direction: column; padding: 100px 0 0 0; justify-content: flex-start; height: 100dvh; overflow: hidden; }
    
    .vto-sidebar { width: 100%; text-align: center; margin: 0; padding: 0 2rem; }
    .display-title.sm { font-size: 2.5rem; }
    .vto-sidebar .description { font-size: 0.9rem; margin-bottom: 1rem; }
    .desktop-cta { display: none; }
    .model-switch-container { display: none; }
    
    .ghost-model { left: -10%; height: 80%; }
    .switch-label { margin-bottom: 0; }
    
    .vto-center { height: 45dvh; width: 100%; flex: none; margin-top: 1rem; }
    .vto-hero-img { height: 100%; }
    
    .vto-products {
        width: 100vw; height: auto; margin-top: 0; flex-direction: row; align-items: center; justify-content: flex-start;
        padding: 1.5rem 2rem 5rem 2rem; gap: 1.5rem; overflow-x: auto;
        background: linear-gradient(to top, rgba(247,247,248,1) 50%, rgba(247,247,248,0.8) 80%, transparent);
        position: absolute; bottom: 0; left: 0; z-index: 20;
    }
    .vto-products::-webkit-scrollbar { display: none; }
    .vto-item { flex-shrink: 0; width: 100px; }
    .vto-item img { width: 90px; height: 90px; }
    .vto-item:hover { transform: scale(1.1) translateY(-5px); }
    
    .mobile-sticky-cta {
        display: block !important; position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
        z-index: 100; width: max-content; padding: 1rem 3rem;
    }
    .mobile-sticky-cta:hover { transform: translateX(-50%) translateY(-2px); }
    
    .scan-ui { width: 85vw; padding: 1.5rem; }
    .scan-title { font-size: 0.7rem; }
    .result-badge { top: 5%; right: 5%; font-size: 0.6rem; padding: 0.5rem 1rem; }
}
