:root {
    --primary-bg: #050505;
    --secondary-bg: #111111;
    --card-bg: #0a0a0a;
    --border-color: #222222;
    --text-primary: #EAEAEA;
    --text-secondary: #999999;
    --accent-color: #ffffff;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.font-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 0.05em;
}

/* Gradiente animado de fundo */
.gradient-bg {
    background: linear-gradient(135deg, #050505 0%, #0a0a0a 50%, #050505 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--secondary-bg) 100%);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px -10px rgba(255, 255, 255, 0.1),
                0 0 40px rgba(255, 255, 255, 0.05);
}

.card:hover::before {
    opacity: 1;
}

/* Botões melhorados */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Header com glassmorphism */
.header-glass {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Efeito parallax melhorado */
.parallax-container {
    position: relative;
    overflow: hidden;
}

/* Linha decorativa animada */
.animated-line {
    position: relative;
    display: inline-block;
}

.animated-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: width 0.6s ease;
}

.animated-line.visible::after {
    width: 60px;
}

/* Stats counter animation */
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Imagem com overlay gradiente */
.image-overlay {
    position: relative;
}

.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.9) 0%, transparent 50%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.image-overlay:hover::after {
    opacity: 0.5;
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Video overlay melhorado */
.video-overlay {
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

/* Formulário estilizado */
.form-input {
    background: rgba(28, 28, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-input:focus {
    background: rgba(28, 28, 28, 0.8);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Grid pattern background */
.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;
}

/* Texto simples e limpo */
.clean-text {
    color: #ffffff;
}

/* Smooth reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Cursor personalizado para links */
a {
    cursor: pointer;
}

/* Transição suave para seções */
section {
    scroll-margin-top: 80px;
}

/* Efeito sutil nos cards */
.shine-effect {
    position: relative;
    overflow: hidden;
}

/* Media queries para melhor responsividade */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

/* Melhoria no contraste para acessibilidade */
.high-contrast {
    color: #ffffff;
}

/* Success message style */
.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Modal de Vídeo */
#videoModal {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#videoModal video {
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.2);
}

/* Prévia de vídeo nos cards */
.card video {
    pointer-events: none;
}
