/* ============================================================================
   SUPERVISÃO - Sistema de Controle de Acesso
   Design Profissional | Solução Enterprise
   ============================================================================ */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #ffffff;
    --color-secondary: #e0e0e0;
    --color-accent: #3b82f6;
    --color-dark: #0f172a;
    --color-darker: #020617;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

body {
    font-family: var(--font-sans);
    color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    background: #0f172a;
}

/* Background */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100%;
    background-image: url('/supervisao_background.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(20%);
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100%;
    background: transparent;
    /* Opacidade 0% - background totalmente visível */
}

/* Container */
.container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 var(--spacing-xl);
    display: flex;
    flex-direction: column;
}

/* Header - removido */

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-2xl) 0;
    width: 100%;
}

.hero-content {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    background: rgba(15, 23, 42, 0.85);
    padding: var(--spacing-2xl) var(--spacing-xl);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-title.digital {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 
        0 0 10px rgba(59, 130, 246, 0.8),
        0 0 20px rgba(59, 130, 246, 0.6),
        0 0 30px rgba(59, 130, 246, 0.4),
        0 2px 40px rgba(0, 0, 0, 0.8);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 10px rgba(59, 130, 246, 0.8),
            0 0 20px rgba(59, 130, 246, 0.6),
            0 0 30px rgba(59, 130, 246, 0.4),
            0 2px 40px rgba(0, 0, 0, 0.8);
    }
    to {
        text-shadow: 
            0 0 20px rgba(59, 130, 246, 1),
            0 0 30px rgba(59, 130, 246, 0.8),
            0 0 40px rgba(59, 130, 246, 0.6),
            0 2px 50px rgba(0, 0, 0, 0.9);
    }
}

.subtitle-digital {
    display: block;
    font-family: 'Orbitron', monospace;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.15em;
    color: #cbd5e1;
    margin-top: 0.5rem;
}

.highlight {
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-xl) auto;
    font-weight: 300;
    line-height: 1.8;
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    background: rgba(30, 41, 59, 0.9);
    padding: var(--spacing-lg);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.btn-outline {
    background: rgba(71, 85, 105, 0.95);
    color: white;
    border: 2px solid rgba(100, 116, 139, 0.8);
    backdrop-filter: none;
}

.btn-outline:hover {
    background: rgba(51, 65, 85, 1);
    border-color: rgba(148, 163, 184, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(51, 65, 85, 0.95);
    border: 1px solid rgba(100, 116, 139, 0.5);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
    backdrop-filter: none;
}

.feature-card:hover {
    background: rgba(71, 85, 105, 1);
    border-color: rgba(148, 163, 184, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    border: 2px solid rgba(59, 130, 246, 0.4);
}

.feature-icon svg {
    color: #60a5fa;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--color-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-text {
    color: var(--color-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-subtext {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.powered-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.powered-link:hover {
    color: #3b82f6;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: var(--spacing-lg);
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
    }

    .footer-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title.digital {
        font-size: 2rem;
    }
    
    .subtitle-digital {
        font-size: 1rem;
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-stats {
    animation-delay: 0.3s;
}

.hero-cta {
    animation-delay: 0.4s;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.5s; }
.feature-card:nth-child(2) { animation-delay: 0.6s; }
.feature-card:nth-child(3) { animation-delay: 0.7s; }
.feature-card:nth-child(4) { animation-delay: 0.8s; }

