/* PolicyChat Custom Styles */

/* Configuração da fonte Exo 2 */
* {
    font-family: 'Exo 2', sans-serif;
}

/* Ícone brilhante animado */
.glowing-icon {
    background: linear-gradient(45deg, #3B82F6, #06B6D4, #8B5CF6, #3B82F6);
    background-size: 400% 400%;
    animation: gradientShift 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.glowing-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

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

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Cores azuis vibrantes/neon */
:root {
    --neon-blue: #00D4FF;
    --cyber-blue: #0099CC;
    --electric-blue: #0066FF;
    --deep-blue: #001A33;
}

/* Barra de scroll customizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--cyber-blue));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--cyber-blue), var(--electric-blue));
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--neon-blue) #1a1a1a;
}

.gradient-text {
    background: linear-gradient(45deg, #22D3EE, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.neon-glow {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
}

.neon-glow:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.2);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

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

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    to {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    }
}

.hero-bg-overlay {
    background: linear-gradient(135deg, rgba(0, 26, 51, 0.9) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 26, 51, 0.7) 100%);
}

/* Central Orb Styles */
.central-orb {
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-particles {
    animation: orbRotate 40s linear infinite;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(34, 211, 238, 1), rgba(6, 182, 212, 0.8));
    border-radius: 50%;
    opacity: 0.9;
    animation: particleGlow 3s ease-in-out infinite;
}

/* Particle positions and sizes */
.particle-1 { width: 3px; height: 3px; top: 10%; left: 15%; animation-delay: 0s; }
.particle-2 { width: 4px; height: 4px; top: 20%; left: 35%; animation-delay: 0.2s; }
.particle-3 { width: 2px; height: 2px; top: 15%; left: 60%; animation-delay: 0.4s; }
.particle-4 { width: 3px; height: 3px; top: 25%; left: 80%; animation-delay: 0.6s; }
.particle-5 { width: 5px; height: 5px; top: 35%; left: 10%; animation-delay: 0.8s; }
.particle-6 { width: 3px; height: 3px; top: 40%; left: 45%; animation-delay: 1s; }
.particle-7 { width: 4px; height: 4px; top: 45%; left: 70%; animation-delay: 1.2s; }
.particle-8 { width: 2px; height: 2px; top: 50%; left: 25%; animation-delay: 1.4s; }
.particle-9 { width: 3px; height: 3px; top: 60%; left: 55%; animation-delay: 1.6s; }
.particle-10 { width: 4px; height: 4px; top: 65%; left: 85%; animation-delay: 1.8s; }
.particle-11 { width: 2px; height: 2px; top: 70%; left: 20%; animation-delay: 2s; }
.particle-12 { width: 5px; height: 5px; top: 75%; left: 40%; animation-delay: 2.2s; }
.particle-13 { width: 3px; height: 3px; top: 80%; left: 65%; animation-delay: 2.4s; }
.particle-14 { width: 4px; height: 4px; top: 85%; left: 30%; animation-delay: 2.6s; }
.particle-15 { width: 2px; height: 2px; top: 5%; left: 50%; animation-delay: 2.8s; }
.particle-16 { width: 3px; height: 3px; top: 30%; left: 90%; animation-delay: 3s; }
.particle-17 { width: 4px; height: 4px; top: 55%; left: 5%; animation-delay: 3.2s; }
.particle-18 { width: 2px; height: 2px; top: 90%; left: 75%; animation-delay: 3.4s; }
.particle-19 { width: 3px; height: 3px; top: 8%; left: 85%; animation-delay: 3.6s; }
.particle-20 { width: 5px; height: 5px; top: 95%; left: 50%; animation-delay: 3.8s; }

/* Animations */
@keyframes orbFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes orbRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes particleGlow {
    0%, 100% { 
        opacity: 0.9; 
        transform: scale(1);
        box-shadow: 0 0 0 rgba(34, 211, 238, 0);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
        box-shadow: 0 0 15px rgba(34, 211, 238, 0.8);
    }
}

/* Lottie Animation Styles */
lottie-player {
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.3));
    transition: all 0.3s ease;
}

lottie-player:hover {
    filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.5));
    transform: scale(1.02);
}

/* Floating Animation for Background Elements */
@keyframes floatGently {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(120deg);
    }
    66% {
        transform: translateY(5px) rotate(240deg);
    }
}

.floating-gentle {
    animation: floatGently 6s ease-in-out infinite;
}

/* Glow Animation */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.glow-effect {
    animation: glowPulse 4s ease-in-out infinite;
}

/* Tech Separator Animations */
.tech-ring {
    animation: techRotate 8s linear infinite;
}

.tech-ring-inner {
    animation: techRotateReverse 6s linear infinite;
}

.tech-dot {
    animation: techPulse 2s ease-in-out infinite;
}

.tech-particle {
    animation: techFloat 4s ease-in-out infinite;
}

@keyframes techRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes techRotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes techPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 rgba(34, 211, 238, 0);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.8);
    }
}

@keyframes techFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-8px) scale(1.1);
        opacity: 1;
    }
}

/* Grid Line Animation */
.grid-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: gridDraw 3s ease-in-out infinite;
}

@keyframes gridDraw {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Modern Break Section Styles */
.plan-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gradient-card {
    background: linear-gradient(135deg, #22D3EE 0%, #06B6D4 100%);
    position: relative;
    overflow: hidden;
}

.gradient-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.enterprise-card {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    position: relative;
    overflow: hidden;
}

.enterprise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

/* Floating Animation for Background Elements */
@keyframes floatSubtle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-subtle {
    animation: floatSubtle 6s ease-in-out infinite;
}

/* Button Hover Effects */
.btn-hover {
    position: relative;
    overflow: hidden;
}

.btn-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-hover:hover::before {
    left: 100%;
}

/* Animated Text Banner */
.animate-scroll {
    animation: scrollText 30s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.animate-scroll:hover {
    animation-play-state: paused;
}

/* Responsive text size */
@media (max-width: 768px) {
    .animate-scroll span {
        font-size: 1.125rem; /* text-lg */
    }
}

@media (max-width: 640px) {
    .animate-scroll span {
        font-size: 1rem; /* text-base */
    }
}

