/* Custom Styles for WA5 Business Intelligence */

body {
    margin: 0;
    padding: 0;
    background: radial-gradient(
            circle at 80% 40%,           /* posição do brilho */
            rgba(0, 255, 180, 0.25) 0%,  /* tom central (verde/azulado suave) */
            rgba(0, 150, 100, 0.15) 25%, 
            rgba(0, 80, 60, 0.08) 45%, 
            rgba(0, 30, 20, 0.03) 60%,
            rgba(0, 0, 0, 1) 100%        /* transição para preto */
        ),
        #000; /* fallback preto */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.min-h-screen {
        min-height: 90vh !important;
}

/* Hero Section Background */
.hero-section {
    background-image: url('background-wa5.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Particle Effect */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    animation: particleMove 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes particleMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 0%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 0% 100%;
    }
}

/* Logo Container Animation */
.logo-container {
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Glow Effect on Logo */
.logo-container > div {
    box-shadow: 
        0 0 60px rgba(16, 185, 129, 0.4),
        0 0 100px rgba(6, 182, 212, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
}

.logo-container > div:hover {
    box-shadow: 
        0 0 80px rgba(16, 185, 129, 0.6),
        0 0 120px rgba(6, 182, 212, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.2);
}

/* Service Cards Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(16, 185, 129, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.service-card:hover::before {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* WhatsApp Button Pulse */
.whatsapp-btn {
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.whatsapp-btn:hover::before {
    width: 300px;
    height: 300px;
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #10b981, #06b6d4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #059669, #0891b2);
}

/* Text Selection */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fff;
}

/* Fade In Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .logo-container > div {
        width: 150px;
        height: 150px;
    }
    
    .logo-container > div span {
        font-size: 3rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Strong Text Glow */
strong {
    text-shadow: 0 0 10px currentColor;
}