/* Global Styles */
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    background-color: #010402 !important; /* The Void */
    scrollbar-width: none;
    font-family: 'Inter', sans-serif;
}
::-webkit-scrollbar { display: none; }

/* Spatial Cursor */
.cursor-dot {
    position: fixed; top: 0; left: 0; width: 6px; height: 6px;
    background: #00ff88; border-radius: 50%; pointer-events: none;
    z-index: 999999; transition: transform 0.1s; transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #00ff88;
    opacity: 0;
}
.cursor-ring {
    position: fixed; top: 0; left: 0; width: 36px; height: 36px;
    border: 1px solid rgba(0, 255, 136, 0.4); border-radius: 50%;
    pointer-events: none; z-index: 999998;
    transition: transform 0.2s ease-out, width 0.2s, height 0.2s; 
    transform: translate(-50%, -50%);
    opacity: 0;
}

/* Master Glassmorphism Rules to Reveal the 3D World */
#canvas-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -10 !important;
    opacity: 1 !important;
    pointer-events: auto;
}

/* Cinematic HUD UI Container */
#app-ui {
    opacity: 0; /* Hidden during cinematic intro */
    pointer-events: none;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
}
#app-ui.active {
    opacity: 1;
    pointer-events: auto;
}

main {
    position: relative;
    z-index: 10;
    background: transparent !important;
    pointer-events: none;
}
  
.container, header, footer, .offer-btn-wrapper { pointer-events: auto; }

/* HUD Transparent styling */
header, section, footer, .stats-section, #quote {
    background: rgba(2, 8, 4, 0.1) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
  
.glass-card, .flip-card-front, .flip-card-back, .stat, #quote-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff; /* Adjusted for dark cinematic background */
}
/* Text color overrides for HUD mode */
h2, h3, h4, p, span { text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.text-gray-900, .text-gray-800, .text-gray-700, .text-gray-600 { color: #f0fdf4 !important; }
.bg-white\/60, .bg-white\/70, .bg-white\/80, .bg-white\/90 { background: rgba(10, 20, 15, 0.4) !important; border-color: rgba(0, 255, 136, 0.2) !important; }
input, textarea, select { background: rgba(0,0,0,0.5) !important; color: #fff !important; border-color: rgba(0,255,136,0.3) !important; }
   
.reveal-elem { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-elem.active { opacity: 1; transform: translateY(0); }
.zoom-in-elem { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.zoom-in-elem.active { opacity: 1; transform: scale(1); }

.mag-btn, button, a { transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease; }

@keyframes superPulse {
    0% { box-shadow: 0 0 0 0 rgba(9, 114, 65, 0.7); transform: scale(1); }
    50% { box-shadow: 0 0 0 20px rgba(9, 114, 65, 0); transform: scale(1.1); }
    100% { box-shadow: 0 0 0 0 rgba(9, 114, 65, 0); transform: scale(1); }
}
.offer-btn { animation: superPulse 2s infinite; }

/* Holographic UI Elements */
#ai-hologram-panel {
    background: rgba(2, 10, 5, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2), inset 0 0 20px rgba(0, 255, 136, 0.1);
    color: #EBF4DD;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
#ai-hologram-panel.active { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.holo-scanline {
    position: absolute; width: 100%; height: 2px; background: rgba(0, 255, 136, 0.5);
    top: 0; left: 0; animation: scan 3s linear infinite; z-index: 5; pointer-events: none;
}
@keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.card-hover-animate:hover { transform: translateY(-5px); box-shadow: 0 10px 30px -3px rgba(0, 255, 136, 0.2); border-color: rgba(0,255,136,0.5) !important; }
.page-content-section { position: absolute; opacity: 0; pointer-events: none; visibility: hidden; height: 0; overflow: hidden; }
.page-content-section.active { position: relative; opacity: 1; pointer-events: auto; visibility: visible; height: auto; overflow: visible; animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  
header nav ul li a.active-nav { color: #00ff88 !important; font-weight: 800 !important; text-shadow: 0 0 10px rgba(0,255,136,0.5); }
#mobile-menu a.active-nav { background-color: rgba(0,255,136,0.1) !important; color: #00ff88 !important; }
footer a.active-nav { color: #00ff88 !important; }

/* Flip Card */
.flip-card-container { background-color: transparent; height: 330px; width: 100%; max-width: 280px; perspective: 1000px; cursor: pointer; }
.flip-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1); transform-style: preserve-3d; }
@media (hover: hover) { .flip-card-container:hover .flip-card-inner { transform: rotateY(180deg); } }
.flip-card-inner.flipped { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.flip-card-back { transform: rotateY(180deg); border: 2px solid #00ff88; }
.flip-card-front img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #00ff88; margin-bottom: 15px; transition: transform 0.3s; }
.flip-card-container:hover .flip-card-front img { transform: scale(1.05); box-shadow: 0 0 20px rgba(0,255,136,0.4); }
.socials { display: flex; gap: 14px; margin-top: 15px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); transition: all 0.3s; }
.socials svg { width: 20px; height: 20px; fill: #00ff88; transition: fill 0.3s; }
.socials a:hover { transform: translateY(-6px) scale(1.12); box-shadow: 0 10px 18px rgba(0, 255, 136, 0.3); border-color: #00ff88; }

/* Chatbot styles */
.font-sans { font-family: 'Plus Jakarta Sans', sans-serif; }
.interactive { pointer-events: auto; }
.glass-hub { background: rgba(5, 15, 10, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(0,255,136,0.2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8); }
.chat-scroll::-webkit-scrollbar { width: 3px; }
.chat-scroll::-webkit-scrollbar-thumb { background: rgba(0,255,136,0.3); border-radius: 20px; }
.chat-scroll::-webkit-scrollbar-track { background: transparent; }
.text-provista-dark { color: #f0fdf4 !important; }
  
@keyframes slideInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.animate-slide-in-up { animation: slideInUp 1s ease-out; }
.timeline-container { display: flex; flex-direction: column; align-items: center; }
.timeline-content-area { width: 100%; background-color: rgba(10, 20, 15, 0.6); backdrop-filter: blur(10px); border-radius: 1rem; padding: 2rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); display: none; border: 1px solid rgba(0,255,136,0.2); }
.timeline-content-area.active { display: block; animation: fadeIn 0.5s ease-in-out; }
.timeline-month-item { padding: 0.5rem 1rem; border-radius: 9999px; cursor: pointer; transition: all 0.2s ease-in-out; background-color: rgba(0, 0, 0, 0.5); color: #00ff88; border: 1px solid rgba(0,255,136,0.3); min-width: 100px; text-align: center; }
.timeline-month-item:hover, .timeline-month-item.active { background-color: #097241; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3); border-color: #00ff88; }
.mic-active { animation: superPulse 1.5s infinite; color: #00ff88 !important; }

/* Mega Menu Styles */
.mega-panel {
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(0,255,136,0.05);
    transform-origin: top;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 50%; width: 0; height: 2px;
    background: #00ff88; transition: all 0.3s ease; transform: translateX(-50%);
}
.nav-link:hover::after { width: 80%; }
.service-link { transition: all 0.2s ease; }
.service-link:hover { padding-left: 8px; color: #ffffff; text-shadow: 0 0 8px rgba(0,255,136,0.4); border-left: 2px solid #00ff88; }
.glass-mega { background: rgba(5, 15, 10, 0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

/* Footer Links Style */
.f-link { display: flex; align-items: center; color: #9ca3af; font-size: 0.75rem; transition: all 0.3s ease; width: fit-content; padding-top: 0.25rem; padding-bottom: 0.25rem; }
.f-link .arrow { opacity: 0; margin-left: -0.5rem; margin-right: 0.5rem; color: #00ff88; transition: all 0.3s ease; font-family: monospace; font-size: 10px; }
.f-link .text-wrap { position: relative; transition: transform 0.3s ease; font-weight: 500; }
.f-link .underline-fx { position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background-color: #00ff88; transition: width 0.3s ease; box-shadow: 0 0 8px #00ff88; }
.f-link:hover { color: #ffffff; }
.f-link:hover .arrow { opacity: 1; margin-left: 0; }
.f-link:hover .text-wrap { transform: translateX(4px); }
.f-link:hover .underline-fx { width: 100%; }