/* =============================================
   STABILITY4K - LANDING PAGE STYLES
   ============================================= */

/* Material Symbols Configuration */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =============================================
   GLOBAL STYLES
   ============================================= */
html {
    scroll-behavior: smooth;
}

/* =============================================
   CUSTOM SCROLLBAR
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #141414;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00e0b4;
}

/* =============================================
   TEXT EFFECTS
   ============================================= */
.text-glow {
    text-shadow: 0 0 20px rgba(0, 224, 180, 0.2);
}

/* =============================================
   MARQUEE / DEVICE CAROUSEL
   ============================================= */
.marquee-container {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.device-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin: 0 0.75rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 9999px;
    white-space: nowrap;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.device-item:hover {
    border-color: #00e0b4;
    color: #00e0b4;
    transform: scale(1.05);
}

.device-item .material-symbols-outlined {
    font-size: 1.25rem;
}

/* =============================================
   GLASS PANEL EFFECT
   ============================================= */
.glass-panel {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* =============================================
   LIVE BADGE ANIMATIONS
   ============================================= */
.live-badge {
    animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.live-dot {
    animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* =============================================
   LIVE CAROUSEL THUMBNAILS
   ============================================= */
.live-thumb {
    transition: all 0.3s ease;
    cursor: pointer;
}

.live-thumb:hover {
    transform: scale(1.05);
    border-color: #00e0b4;
}

.live-thumb.active {
    border-color: #00e0b4;
    box-shadow: 0 0 15px rgba(0, 224, 180, 0.4);
}

.live-thumb .thumb-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.live-thumb:hover .thumb-overlay {
    opacity: 1;
}

/* =============================================
   BACKGROUND IMAGE CAROUSEL
   ============================================= */

/* Tornar body transparente para ver o carrossel */
body {
    background: transparent !important;
}

.bg-carousel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
    background: #0a0a0a;
}

.bg-carousel-slide {
    position: absolute;
    top: -30px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    filter: blur(8px) brightness(0.4) saturate(1.3);
}

.bg-carousel-slide.active {
    opacity: 1;
}

/* Overlay escuro sobre o carrossel */
.bg-carousel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.3) 0%,
            rgba(10, 10, 10, 0.45) 30%,
            rgba(10, 10, 10, 0.65) 70%,
            rgba(10, 10, 10, 0.85) 100%);
    pointer-events: none;
}

/* Efeito de vinheta nas bordas */
.bg-carousel-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -8;
    box-shadow: inset 0 0 300px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

/* Tornar seções com fundo semi-transparente */
section {
    position: relative;
    z-index: 1;
}

/* Exceções para seções que precisam de background */
section.bg-black,
section.bg-background-dark,
section.bg-surface-dark {
    background-color: rgba(10, 10, 10, 0.7) !important;
}

section.bg-\[\\#0a0a0a\] {
    background-color: rgba(10, 10, 10, 0.6) !important;
}

/* =============================================
   FAQ ANIMATIONS
   ============================================= */
.faq-toggle .material-symbols-outlined {
    transition: transform 0.3s ease;
}

.rotate-180 {
    transform: rotate(180deg);
}