/* ====================================
   VigiaSafra Landing Page Styles
   Version: 1.0.0 - Production Ready
   ==================================== */

/* ====================================
   Base Styles
   ==================================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0f1c17;
    color: #ffffff;
}

/* ====================================
   Hero Section
   ==================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 28, 23, 0.92) 0%,
            rgba(15, 28, 23, 0.75) 50%,
            rgba(15, 28, 23, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Hero Background Slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* ====================================
   Text Slides
   ==================================== */
.hero-text-slider {
    position: relative;
    min-height: 320px;
}

.text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-in-out;
    pointer-events: none;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

/* Slide Navigation */
.slide-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    min-width: 100px;
}

.slide-nav-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.slide-nav-btn.active .slide-nav-label,
.slide-nav-btn:hover .slide-nav-label {
    color: white;
}

.slide-nav-progress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.slide-nav-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.slide-nav-btn.active .slide-nav-progress::after {
    width: 100%;
    animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* ====================================
   Buttons
   ==================================== */
.btn-yellow {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f1c17;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: #0f1c17;
    border-color: white;
}

/* ====================================
   Text Styles
   ==================================== */
.text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #fde047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====================================
   Dashboard Mockup
   ==================================== */
.dashboard-mockup {
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* ====================================
   Sections
   ==================================== */
.section-light {
    background: #faf6f1;
    color: #0f1c17;
}

/* ====================================
   Cards
   ==================================== */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-4px);
}

/* ====================================
   Header
   ==================================== */
.header-scrolled {
    background: rgba(15, 28, 23, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ====================================
   Status Badges
   ==================================== */
.status-ok {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-vetado {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ====================================
   Grid Pattern
   ==================================== */
.grid-pattern {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ====================================
   Animations
   ==================================== */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}