

.demo-intro {
    text-align: center;
    padding: var(--spacing-xl);
    margin: var(--margin-xxl) auto;
    margin-bottom: 9rem;
    border-top: 2px solid var(--acc);
    border-bottom: 2px solid var(--acc);
}

.demo-intro p {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    margin-bottom: 0;
}

.section h3 {
    color: #6BBAB8;
}

.carousel-slide h3 {
    color: var(--acc);
}

.section {
    position: relative;
}

/* Subtle Alternating Backgrounds */
.section:nth-child(odd):not(:first-child) {
    background: rgba(241, 196, 15, 0.05);
    margin-bottom: 80px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#sectiontoggle {
    display: block;
    height: 100vh;
}

#desktop {
    display: none;
}

#xr {
    display: none;
}

.demo_container>p{
    width: 90%;
}

.btn_select {
    position: absolute;
    bottom: 20px;
    height: 50px;
    width: 300px;
    display: inline-block;
    color: var(--text-light);
    z-index: 20;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

#btn_return_DT, #btn_return_XR {
    left: 3%;
}

#btn_continue_DT, #btn_continue_XR {
    right: 15%;
}

.content-pair {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: var(--margin-xxl);
}

.content-text {
    flex: 1;
}

.content-video {
    flex: 1;
}

.content-video video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-video.portrait {
    max-width: 300px;
    margin: 0 auto;
}

.content-video.portrait video {
    aspect-ratio: 9/16;
    object-fit: cover;
}

.content-video.square {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-video.square video {
    aspect-ratio: 1/1;
    object-fit: cover;
    max-width: 400px;
    width: auto;
}

video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button {
    display: none;
}

video::-moz-media-controls-volume-slider,
video::-moz-media-controls-mute-button {
    display: none;
}

.content-video.square video::-webkit-media-controls-volume-slider,
.content-video.square video::-webkit-media-controls-mute-button {
    display: block;
}

.content-video.square video::-moz-media-controls-volume-slider,
.content-video.square video::-moz-media-controls-mute-button {
    display: block;
}

.content-interactive {
    flex: 1;
    position: relative;
}

.content-interactive object {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 1px solid var(--accent-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    filter: blur(3px);
    transition: filter var(--transition-normal);
}

.content-interactive object.active {
    filter: blur(0px);
}

.content-interactive.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh;
    z-index: 1000;
    background: var(--bg);
    margin: 0 !important;
}

.content-interactive.fullscreen object {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--acc);
    border: 2px solid var(--acc);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.btn-close:hover {
    background: var(--acc);
    color: var(--bg);
}



/* Section Dividers - Only for highlighted sections */
.section:nth-child(odd):not(:first-child) {
    position: relative;
    padding-top: 160px;
    margin-top: calc(-1 * var(--margin-lg));
}

.section:nth-child(odd):not(:first-child)::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--sec), var(--acc), var(--sec), transparent);
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.3);
}

.section:nth-child(odd):not(:first-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--acc);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.5);
}

.content-pair:not(:last-of-type) {
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 40px;
}

.video-carousel {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-medium);
    border-radius: 8px;
    padding: 30px;
    background: var(--overlay-subtle);
    margin-bottom: 40px;
}

.carousel-container {
    display: flex;
    transition: transform var(--transition-slow);
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 0 30px;
    box-sizing: border-box;
    filter: blur(2px);
    opacity: 0.6;
    transition: filter var(--transition-normal), opacity 0.3s ease;
}

.carousel-slide.active {
    filter: none;
    opacity: 1;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}



.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.indicator.active {
    background: var(--acc);
}

@media (max-width: 768px) {
    .content-pair {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .content-text,
    .content-video {
        flex: none;
        width: 100%;
    }
    
    .content-interactive {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .content-interactive object {
        margin: 0 auto;
    }
    
    .content-pair:not(:last-of-type) {
        padding-bottom: 30px;
    }
    
    .fullscreen-btn {
        padding: 16px 24px;
        font-size: 18px;
        border-radius: 8px;
    }
    
    .content-interactive object {
        height: 300px;
    }
    
    .btn-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .video-carousel {
        padding: 20px;
    }
    
    .carousel-slide {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .carousel-controls {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .carousel-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .fullscreen-btn {
        padding: 20px 30px;
        font-size: 20px;
        border-radius: 10px;
        min-width: 200px;
    }
    
    .content-interactive {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .content-interactive object {
        height: 250px;
    }
    
    .fullscreen-overlay object {
        width: 98vw;
        height: 98vh;
    }
    
    .close-fullscreen {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: auto;
        padding: 12px 18px;
        font-size: 16px;
    }
    
    .video-carousel {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .carousel-slide {
        padding: 0 10px;
    }
    
    .carousel-controls {
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .carousel-btn {
        padding: 8px 10px;
        font-size: 11px;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
    }
    
    .carousel-indicators {
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}
