@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700;800&display=swap');

/* Reset and Base Styles */
body {
    background-color: #051424; /* Mais escuro que o primary da marca para dar profundidade */
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 209, 255, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb:hover {
    background: #00D1FF;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
    background: rgba(15, 41, 77, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 209, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.2);
}

/* Neon utilities */
.neon-text {
    color: #00D1FF;
    text-shadow: 0 0 10px rgba(0, 209, 255, 0.5);
}

.neon-border {
    border: 1px solid #00D1FF;
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.3), inset 0 0 10px rgba(0, 209, 255, 0.3);
}

.neon-button {
    background: linear-gradient(135deg, #0066FF, #00D1FF);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
    transition: all 0.3s ease;
}

.neon-button:hover {
    box-shadow: 0 6px 25px rgba(0, 209, 255, 0.6);
    transform: translateY(-2px);
}

/* Background Gradients & Effects */
.bg-gradient-radial {
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.15) 0%, transparent 50%);
}

.mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 102, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 209, 255, 0.05) 0px, transparent 50%);
    z-index: -1;
}

/* Animações Flutuantes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

/* Tabs customização */
.tab-active {
    background-color: rgba(0, 102, 255, 0.2);
    border-bottom: 2px solid #00D1FF;
    color: white;
}

/* Loader */
#loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #051424;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: #00D1FF;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* CTA overlay effect */
.btn-outline-glow:hover {
    background: rgba(0, 209, 255, 0.1);
    border-color: #00D1FF;
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.3);
}
/* Glass Icon Container */
.glass-icon {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.glass-icon:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.05);
}

.glass-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 209, 255, 0.15), transparent);
    pointer-events: none;
}

/* Premium Browser Mockup */
.mockup-browser {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 209, 255, 0.1);
}

.mockup-header {
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-1 { background: #ff5f56; }
.dot-2 { background: #ffbd2e; }
.dot-3 { background: #27c93f; }

.mockup-content {
    position: relative;
    background: #000;
}

.mockup-content img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

.mockup-content:hover img {
    opacity: 1;
}

/* --- Rede de Confiança: Marquee & Badges --- */

.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-row {
    display: flex;
    white-space: nowrap;
    gap: 1.5rem;
    padding: 0.75rem 0;
}

.animate-marquee-left {
    animation: marquee-left 60s linear infinite;
    will-change: transform;
}

.animate-marquee-right {
    animation: marquee-right 75s linear infinite;
    will-change: transform;
}

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

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

.marquee-row:hover .animate-marquee-left,
.marquee-row:hover .animate-marquee-right {
    animation-play-state: paused;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: default;
}

.glass-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Badge Neon Accents by State */
.badge-pe { border-left: 3px solid #00D1FF; box-shadow: -5px 0 10px rgba(0, 209, 255, 0.1); }
.badge-se { border-left: 3px solid #C084FC; box-shadow: -5px 0 10px rgba(192, 132, 252, 0.1); }
.badge-pb { border-left: 3px solid #FFD700; box-shadow: -5px 0 10px rgba(255, 215, 0, 0.1); }
.badge-default { border-left: 3px solid rgba(255, 255, 255, 0.3); }

.state-label {
    font-weight: 800;
    font-size: 0.65rem;
    margin-right: 0.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-transform: uppercase;
}

.state-pe { color: #00D1FF; }
.state-se { color: #C084FC; }
.state-pb { color: #FFD700; }

/* --- Skeleton Loading & Image Transitions --- */
.shimmer-wrapper {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    min-height: 300px;
}

.shimmer-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.05) 20%,
        rgba(255, 255, 255, 0.1) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.img-loading {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.img-loaded {
    opacity: 1 !important;
}
