/* Global Styles */
body {
    background-color: #0a0a0a; /* Defaulting to darker bg from membro-fundador */
    color: #E0E0E0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif; /* Defaulting to Inter */
    letter-spacing: -0.01em;
}

html {
    scroll-behavior: smooth;
}

/* Typography Overrides for pages that need Montserrat */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Gradients */
.text-blood-gradient {
    background: linear-gradient(135deg, #dc2626, #991b1b, #dc2626);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 6s linear infinite;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37, #fff7b2, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Effects */
.glass-panel {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blood-glow {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.gold-glow {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Inputs */
.ink-input {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    color: #fff;
    transition: all 0.3s ease;
}

.ink-input:focus {
    border-color: #dc2626;
    outline: none;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

/* Badge pulsante */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.pulse-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

/* Counters */
.vacancy-counter {
    font-variant-numeric: tabular-nums;
}

/* Feature card hover */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 38, 38, 0.4);
}

/* Industrial texture */
.industrial-texture {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* ===== Grid de Diferenciais ===== */

/* Visual Card with background image */
.diff-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.75) 40%, rgba(0,0,0,0.4) 100%);
    transition: opacity 0.5s ease;
    z-index: 1;
}

.diff-card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.3) 100%);
}

.diff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(123, 17, 19, 0.25), 0 0 30px rgba(123, 17, 19, 0.1);
    border-color: rgba(220, 38, 38, 0.5) !important;
}

.diff-card .card-content {
    position: relative;
    z-index: 2;
}

.diff-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 17, 19, 0.4);
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.diff-card:hover .card-icon {
    background: rgba(123, 17, 19, 0.6);
    border-color: rgba(220, 38, 38, 0.6);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    transform: scale(1.1);
}

/* Gradient fallbacks (used when images are not available) */
.diff-card--gestao {
    background-image:
        radial-gradient(ellipse at 70% 20%, rgba(220, 38, 38, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
        linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f0f0f 100%);
}

.diff-card--financeiro {
    background-image:
        radial-gradient(ellipse at 50% 30%, rgba(220, 38, 38, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        linear-gradient(145deg, #1a0505 0%, #0f0f0f 50%, #1a1a1a 100%);
}

.diff-card--juridico {
    background-image:
        radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 40%),
        linear-gradient(145deg, #0f0f0f 0%, #1a1a2e 50%, #0a0a0a 100%);
}

/* Lifestyle Banner */
.lifestyle-banner {
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.lifestyle-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

/* Fallback gradient for lifestyle banner */
.lifestyle-banner--fallback {
    background-image:
        radial-gradient(ellipse at 80% 50%, rgba(220, 38, 38, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 40%, #121212 100%);
}

/* Mockup dashboard card */
.mockup-card {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.mockup-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 30%, rgba(10,10,10,0.5) 70%, rgba(10,10,10,0.95) 100%);
    z-index: 1;
}

/* Animated line for the diferenciais section */
@keyframes moveGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.diff-divider {
    position: relative;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.diff-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.5), transparent);
    animation: moveGlow 4s ease-in-out infinite;
}
