body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

/* Global Interactive Transitions */
a, button, [role="button"], .nav-link, .material-symbols-outlined, .dropdown-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:active, button:active, [role="button"]:active {
    transform: scale(0.97);
}

.glassmorphism {
    background: rgba(2, 4, 18, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-glow {
    background: radial-gradient(circle at 50% 50%, rgba(0, 200, 255, 0.15) 0%, transparent 70%);
}
.mesh-grid {
    background-image: radial-gradient(rgba(0, 200, 255, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
}
.service-card-active {
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.15);
    border-color: rgba(0, 200, 255, 0.3);
    transform: translateY(0);
    opacity: 1;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary span.material-symbols-outlined {
    transform: rotate(180deg);
}
nav {
    transition: transform 0.4s ease-in-out;
}
.header-hidden {
    transform: translateY(-110%);
}

/* Dropdown Styles */
.dropdown-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    min-width: 320px;
    padding-top: 1rem;
}

.dropdown-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-content {
    background: #0a0a0a;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 0.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem;
    border-radius: 0.875rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(0, 200, 255, 0.05);
}

.dropdown-icon {
    background: rgba(0, 200, 255, 0.1);
    color: #00C8FF;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    flex-shrink: 0;
}

/* Page Transitions */
.page-main {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
    min-height: 100vh;
    position: relative;
    will-change: opacity, transform;
}

.page-exit {
    opacity: 0;
    transform: translateY(12px);
}

.page-enter {
    opacity: 0;
    transform: translateY(12px);
}

/* Full-screen transition overlay */
#page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #030510;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

#page-transition-overlay.overlay-in {
    opacity: 1;
    pointer-events: all;
}

#page-transition-overlay.overlay-out {
    opacity: 0;
    pointer-events: none;
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Mesh Gradient Backgrounds */
.mesh-gradient-top-right {
    background: radial-gradient(circle at top right, rgba(0, 200, 255, 0.1), transparent 40%);
}

.mesh-gradient-bottom-left {
    background: radial-gradient(circle at bottom left, rgba(0, 200, 255, 0.08), transparent 40%);
}

/* Dashboard Explorer Styles */
.explorer-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.explorer-nav-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #94a3b8;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.explorer-nav-item:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.explorer-nav-item.active {
    background: rgba(0, 200, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #00C8FF;
    border-color: rgba(0, 200, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.15);
    transform: translateY(0);
}

.explorer-display {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.explorer-content-fade {
    animation: contentFade 0.4s ease-out forwards;
}

@keyframes contentFade {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.chart-svg {
    filter: drop-shadow(0 0 15px rgba(0, 200, 255, 0.2));
}

/* Scroll Reveal - Standardized Visibility */
.reveal {
    opacity: 0;
}
.reveal.active {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Common Hero Structure */
.hero-standard {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 180px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Radial Graduate Background - Finale */
.bg-radial-blue {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

/* Landing Zone Architectural Lines */
.landing-zone-lines {
    background-image: 
        linear-gradient(rgba(0, 200, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

/* Pillar Card Specific Transition */
.pillar-card {
    perspective: 1000px;
}

.pillar-card > div {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pillar-card:hover > div {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 200, 255, 0.3);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 18px 36px -18px rgba(0, 200, 255, 0.2);
}

/* Parallax Utility */
.parallax {
    will-change: transform;
}

/* Solid Base with Blob Overlays */
.bg-base-dark {
    background-color: #030510;
}


/* Organic Faded Orbs Layer */
.glowing-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    animation: floatOrb 20s infinite ease-in-out alternate;
    z-index: 0;
}

/* Distinct Orbs */
.blob-blue {
    background: radial-gradient(circle, rgba(0,200,255,0.7) 0%, transparent 65%);
    width: 65vw;
    height: 65vh;
    top: -15%;
    left: -10%;
}

.blob-purple {
    background: radial-gradient(circle, rgba(168,85,247,0.7) 0%, transparent 65%);
    width: 55vw;
    height: 55vh;
    bottom: -15%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

/* Orbital Motion */
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(5%, 15%) scale(1.1) rotate(5deg); }
    66% { transform: translate(-10%, 5%) scale(0.9) rotate(-3deg); }
}

/* GCP Page Specific Styles */
.gcp-hero-section {
    position: relative;
    background: #020617;
    overflow: hidden;
}

.gcp-bg-video-wrapper {
    position: absolute;
    right: -2%; /* Cuts off the extreme right edge */
    top: 0;
    width: 82%; /* Extended slightly for better blending on large screens */
    height: 112%; /* Cuts off the bottom 12% to hide the Veo watermark */
    z-index: 0;
}

.gcp-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* Align right to show the important part of the video */
    opacity: 0.6;
    pointer-events: none;
}

.gcp-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(2,6,23,0) 0%,
        rgba(2,6,23,0.7) 50%,
        rgba(2,6,23,1) 100%
    );
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .gcp-bg-video-wrapper { width: 100%; }
}
@media (max-width: 768px) {
    .gcp-bg-video-wrapper { opacity: 0.3; }
}

.mask-image-b-gradient {
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/* Classe para aplicar no vídeo do Urso na Hero */
.domo-bear-glow {
    filter: drop-shadow(0 0 10px rgba(100, 150, 255, 0.5));
    animation: bearPulse 4s infinite ease-in-out;
    transition: transform 0.3s ease-out;
}

@keyframes bearPulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(0, 183, 255, 0.4));
        opacity: 0.9;
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(162, 0, 255, 0.7));
        opacity: 1;
    }
}

/* Efeito ao passar o mouse */
.domo-bear-glow:hover {
    transform: scale(1.02); /* Leve zoom suave */
}

/* Brand Gradient Buttons */
.btn-brand-gradient {
    display: inline-block;
    background: linear-gradient(135deg, #00C8FF 0%, #0066FF 100%);
    color: #ffffff;
    font-weight: 800;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 200, 255, 0.3);
    text-decoration: none;
}

.btn-brand-gradient:hover {
    background: linear-gradient(135deg, #33d4ff 0%, #2277ff 100%);
    box-shadow: 0 8px 30px rgba(0, 200, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    color: #ffffff;
}

.btn-brand-gradient:active {
    transform: translateY(0) scale(0.98);
}

.btn-brand-gradient-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00C8FF 0%, #0066FF 100%);
    color: #ffffff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 200, 255, 0.25);
    text-decoration: none;
}

.btn-brand-gradient-sm:hover {
    background: linear-gradient(135deg, #33d4ff 0%, #2277ff 100%);
    box-shadow: 0 4px 20px rgba(0, 200, 255, 0.4);
    transform: translateY(-1px) scale(1.02);
    color: #ffffff;
}
