/* SCB Modernization - Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary: #b85490; /* SCB Rose */
    --primary-dark: #9c3c74;
    --secondary: #30C7B5; /* SCB Cyan */
    --secondary-dark: #00AC97;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    /* Light Mode Alternate Colors */
    --bg-light: #f8fafc;
    --bg-light-card: rgba(15, 23, 42, 0.03);
    --text-light-main: #0f172a;
    --text-light-muted: #475569;
    --border-light-glass: rgba(15, 23, 42, 0.08);
    
    /* Spacing */
    --container-max: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: initial;
    background: var(--bg-dark);
    font-size: 14px; /* Simulating 80% zoom (16 * 0.875, close to 80%) */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Glassmorphism */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(184, 84, 144, 0.3);
    transform: translateY(-5px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Typography Utilities */
.text-cyan { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.tracking-widest-plus { letter-spacing: 0.5em; }

/* Text Reveal Animation */
.reveal-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.reveal-item {
    display: inline-block;
    opacity: 0;
}

/* Hero 3D Container */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

/* Buttons */
.btn-primary {
    position: relative;
    background: linear-gradient(135deg, #f054b2 0%, #b85490 50%, #852261 100%);
    color: #ffffff !important;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(184, 84, 144, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ff75cb, #b85490, #9e2a76);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-30deg) translateX(-150%);
    transition: none;
    pointer-events: none;
    z-index: 2;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 30px rgba(184, 84, 144, 0.6), 
                inset 0 1px 2px rgba(255, 255, 255, 0.5),
                0 0 15px rgba(255, 117, 203, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover::after {
    animation: arena-shimmer-glow 1.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Moldura do Logo */
.logo-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    text-decoration: none;
}

.logo-pill:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: none;
    border-color: transparent;
}

/* Menu Dropdown de Cursos */
.dropdown-container {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    top: 100%;
    margin-top: 0.75rem;
    width: 14rem;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(184, 84, 144, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 150;
}

.dropdown-container:hover .dropdown-menu {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-item:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.5rem 0;
}

.dropdown-section-title {
    font-size: 0.55rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    display: block;
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 4rem;
    }
}

section {
    padding: 12rem 0;
    position: relative;
    z-index: 2;
}

/* Specific Sections */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    pointer-events: none; /* Let clicks pass to 3D if needed, but we'll manage buttons specifically */
}

.hero-content * {
    pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Custom Cursor */
.cursor-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(184, 84, 144, 0.3);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-follower::before, .cursor-follower::after {
    content: '';
    position: absolute;
    background: rgba(184, 84, 144, 0.2);
}

.cursor-follower::before { width: 100%; height: 1px; }
.cursor-follower::after { width: 1px; height: 100%; }

.cursor-label {
    position: absolute;
    top: 100%;
    left: 100%;
    margin-top: 10px;
    margin-left: 10px;
    font-size: 8px;
    font-family: monospace;
    color: var(--primary);
    opacity: 0.5;
    white-space: nowrap;
    letter-spacing: 1px;
}

/* Hover States */
.cursor-active .cursor-follower {
    width: 80px;
    height: 80px;
    border-color: var(--primary);
    background: rgba(184, 84, 144, 0.05);
}

.cursor-active .cursor-dot {
    transform: translate(-50%, -50%) scale(2);
}

/* Hide default cursor on desktop */
@media (min-width: 1024px) {
    body { cursor: none; }
    a, button, .btn-primary, [role="button"] { cursor: none; }
}

/* Marquee Animation */
.animate-marquee {
    display: flex;
    animation: marquee 60s linear infinite;
    width: max-content;
}

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



.animate-marquee img {
    filter: none !important;
    opacity: 1 !important;
    grayscale: 0 !important;
}

/* Scroll Animation */
@keyframes scroll-dot {
    0% { transform: translateY(0); opacity: 1; }
    50% { opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

.animate-scroll-dot {
    animation: scroll-dot 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

/* Color Utilities & Transitions */
.text-rose { color: var(--secondary); }
.bg-rose { background-color: var(--secondary); }
.border-rose { border-color: var(--secondary); }

/* Gradient utilities */
.text-gradient-primary-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan-rose {
    background: linear-gradient(90deg, #30C7B5 0%, #b85490 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Light Background Section Overrides */
.bg-light-section {
    background-color: var(--bg-light);
    color: var(--text-light-main);
}

.bg-light-section h1, 
.bg-light-section h2, 
.bg-light-section h3, 
.bg-light-section h4 {
    color: var(--text-light-main) !important;
}

.bg-light-section p,
.bg-light-section .text-white\/50,
.bg-light-section .text-white\/40,
.bg-light-section .text-white\/60 {
    color: var(--text-light-muted) !important;
}

.bg-light-section .glass {
    background: var(--bg-light-card);
    border-color: var(--border-light-glass);
}

.bg-light-section .glass-hover:hover {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(48, 199, 181, 0.3);
}

/* Blog Styles */
.blog-badge {
    background: rgba(48, 199, 181, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(48, 199, 181, 0.2);
}

/* 3D Arena Controls */
.hud-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hud-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(184, 84, 144, 0.4);
}

.hud-btn:hover:not(.active) {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Custom progress loader */
.cyber-loader {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.cyber-loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s ease;
}

/* Scroll overrides for pink */
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* --- Tour Virtual 360Â° Premium Section & Modal --- */
.tour-mockup-container {
    position: relative;
    overflow: hidden;
    border-radius: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-mockup-container:hover {
    border-color: rgba(184, 84, 144, 0.3);
    box-shadow: 0 0 50px rgba(184, 84, 144, 0.15);
    transform: translateY(-5px);
}

/* Slowly rotating tech grid/radar */
.tour-radar-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px dashed rgba(184, 84, 144, 0.25);
    border-radius: 50%;
    animation: tour-radar-spin 20s linear infinite;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-radar-ring::before {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(48, 199, 181, 0.15);
    border-radius: 50%;
    border-left-color: rgba(48, 199, 181, 0.6);
    animation: tour-radar-spin-reverse 10s linear infinite;
}

.tour-radar-ring::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(184, 84, 144, 0.08);
    border-radius: 50%;
}

@keyframes tour-radar-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes tour-radar-spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Redefined premium action button */
.tour-pulse-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 25px rgba(184, 84, 144, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    gap: 4px;
}

.tour-pulse-button iconify-icon {
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.tour-pulse-button span {
    font-size: 8px;
    font-family: monospace;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.8;
}

.tour-pulse-button:hover {
    background: var(--primary);
    color: #000;
    border-color: #ffffff;
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 35px rgba(184, 84, 144, 0.6);
}

.tour-pulse-button:hover span {
    color: #000;
    opacity: 1;
}


/* Modal Styling */
.tour-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
}

.tour-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.tour-modal-content {
    width: 100%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 60px rgba(184, 84, 144, 0.1);
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-modal.active .tour-modal-content {
    transform: scale(1);
}

.tour-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tour-modal-iframe-container {
    position: relative;
    width: 100%;
    height: 70vh;
    background: #000;
}

@media (max-height: 800px) {
    .tour-modal-iframe-container {
        height: 60vh;
    }
}

.tour-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Cyber Loading Screen inside Modal */
.tour-loader-overlay {
    position: absolute;
    inset: 0;
    background: #050505;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 30;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 1.5rem;
}

.tour-loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(184, 84, 144, 0.15);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: tour-spin 1s linear infinite;
}

@keyframes tour-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tour-loader-text {
    font-family: monospace;
    font-size: 10px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: tour-pulse-text 1.5s infinite ease-in-out;
}

@keyframes tour-pulse-text {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- High-End Sophisticated Arena 3D Button --- */
.btn-arena {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.6rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #f054b2 0%, #b85490 50%, #852261 100%);
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(184, 84, 144, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    text-decoration: none;
    z-index: 10;
}

/* Background glowing aura */
.btn-arena::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ff75cb, #b85490, #9e2a76);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.btn-arena:hover {
    transform: translateY(-2px) scale(1.06);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 30px rgba(184, 84, 144, 0.6), 
                inset 0 1px 2px rgba(255, 255, 255, 0.5),
                0 0 15px rgba(255, 117, 203, 0.4);
}

.btn-arena:hover::before {
    opacity: 1;
}

/* Premium Continuous Shimmer Effect */
.btn-arena-shimmer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-30deg) translateX(-150%);
    transition: none;
    pointer-events: none;
}

.btn-arena:hover .btn-arena-shimmer {
    animation: arena-shimmer-glow 1.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes arena-shimmer-glow {
    0% { transform: skewX(-30deg) translateX(-150%); }
    100% { transform: skewX(-30deg) translateX(150%); }
}

/* Continuous Elegant Pulse animation for the 3D Box Icon */
.btn-arena-icon {
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.4));
    animation: arena-icon-float 2.2s ease-in-out infinite;
}

@keyframes arena-icon-float {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.4));
    }
    50% { 
        transform: translateY(-2px) scale(1.18); 
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)); 
    }
}

/* Card 3D Overlay for high contrast text readability on 3D interactive sections */
.card-3d-overlay {
    background: rgba(10, 10, 10, 0.82) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 1.5rem 1.75rem !important;
    border-radius: 2rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    max-width: 320px !important;
    display: block !important;
}

/* Explicitly enforce white and white/70 text colors to bypass global light-section overrides */
.card-3d-overlay h3,
.card-3d-overlay .text-white {
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

.card-3d-overlay p,
.card-3d-overlay .text-white\/60 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Service Cards Text Overlays to bypass global light-section overrides and ensure high contrast */
.card-service-overlay {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2rem !important;
    border-radius: 2rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    display: block !important;
}

/* Retain high-contrast primary/secondary brand colors for titles and white for paragraph descriptions */
.card-service-overlay h3.text-cyan {
    color: var(--primary) !important;
}

.card-service-overlay h3.text-rose {
    color: var(--secondary) !important;
}

.card-service-overlay p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================
   MOBILE & PERFORMANCE REFINEMENTS
   ========================================== */

/* Mobile Menu Drawer Styling */
.mobile-menu-drawer {
    position: fixed;
    inset: 0;
    z-index: 250;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-drawer.active {
    pointer-events: auto;
}

.mobile-menu-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.active .mobile-menu-drawer-backdrop {
    opacity: 1;
}

.mobile-menu-drawer-content {
    position: relative;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.8);
}

.mobile-menu-drawer.active .mobile-menu-drawer-content {
    transform: translateX(0);
}

.mobile-menu-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-drawer-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.mobile-menu-drawer-close:hover {
    color: var(--primary);
}

.mobile-menu-drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 2rem;
    overflow-y: auto;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.menu-link-item {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.menu-link-item .link-num {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--secondary);
    opacity: 0.5;
}

.menu-link-item:hover, .menu-link-item.active {
    color: #ffffff;
    transform: translateX(8px);
}

.menu-link-item.active .link-num {
    color: var(--primary);
    opacity: 1;
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.mobile-menu-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.mobile-menu-socials a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    transition: color 0.3s;
}

.mobile-menu-socials a:hover {
    color: var(--primary);
}

/* Responsive adjustment for Arena 3D button */
@media (max-width: 768px) {
    .btn-arena {
        padding: 0.45rem 0.95rem !important;
        font-size: 9px !important;
        gap: 0.4rem !important;
        letter-spacing: 0.08em !important;
    }
    .btn-arena-icon {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .btn-arena {
        padding: 0.4rem 0.8rem !important;
        font-size: 8px !important;
        gap: 0.35rem !important;
    }
    .btn-arena-icon {
        font-size: 0.75rem !important;
    }
    .btn-arena span:not(.btn-arena-shimmer) {
        display: inline !important; /* Ensure text is visible on small mobile screens */
    }
}

/* Mobile Hero Card & Layout Refinements */
.hero-content {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .hero {
        align-items: flex-start !important;
    }
    
    .hero .container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        min-height: 100vh !important;
        padding-top: 105px !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    
    .hero-content {
        padding: 1.25rem !important;
        border-radius: 2rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
        margin-top: 0 !important;
    }
    
    .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-content p {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-content .reveal-mask {
        margin-bottom: 0.15rem !important;
    }
    
    .hero-content #hero-loader-container {
        margin-bottom: 0.75rem !important;
        font-size: 8.5px !important;
    }
    
    .hero-content .btn-primary {
        padding: 0.65rem 1.35rem !important;
        font-size: 8.5px !important;
    }
    
    .hero-content a:not(.btn-primary) {
        font-size: 8.5px !important;
    }
    

}

/* Mobile 3D Arena Cockpit Layout Optimizations */
@media (max-width: 991px) {
    /* Hide the right static text panel completely on mobile */
    .arena-hud-right {
        display: none !important;
    }
    
    /* Make the top info panel very compact and centered */
    .arena-hud-top-info {
        max-width: 100% !important;
        padding: 1.25rem !important;
        border-radius: 1.5rem !important;
        margin-top: 4.5rem !important; /* Move below nav bar */
        background: rgba(5, 5, 5, 0.85) !important;
        pointer-events: auto !important;
    }
    
    .arena-hud-top-info h1 {
        font-size: 1.35rem !important;
        margin-bottom: 0.15rem !important;
    }
    
    .arena-hud-top-info p {
        font-size: 0.78rem !important;
        display: none; /* Hide description on mobile to save height */
    }

    /* Convert left downloads panel into a compact slide-up drawer */
    .arena-hud-left-panel {
        position: fixed !important;
        bottom: 85px !important; /* Above bottom control bar */
        left: 1.5rem !important;
        right: 1.5rem !important;
        width: auto !important;
        max-height: 55vh !important;
        overflow-y: auto !important;
        z-index: 120 !important;
        transform: translateY(150%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 1.5rem !important;
        background: rgba(5, 5, 5, 0.95) !important;
        border-radius: 2rem !important;
        box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.8) !important;
        pointer-events: auto !important;
    }
    
    .arena-hud-left-panel.active {
        transform: translateY(0);
    }
    
    /* Create a floating toggle button to open downloads drawer on mobile */
    .arena-hud-downloads-trigger {
        display: flex !important;
        position: fixed !important;
        bottom: 95px !important;
        right: 1.5rem !important;
        z-index: 110 !important;
        pointer-events: auto !important;
    }
    
    /* Reposition and scale down main controls */
    .arena-hud-controls-wrapper {
        position: fixed !important;
        bottom: 1.5rem !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
        width: calc(100% - 1rem) !important;
        max-width: 100% !important;
        z-index: 100 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .arena-hud-controls-wrapper .bg-black\/60 {
        padding: 0.4rem 0.6rem !important;
        gap: 0.2rem !important;
        border-radius: 9999px !important;
        width: 100% !important;
        justify-content: center !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
    
    .arena-hud-controls-wrapper button {
        padding: 0.45rem 0.75rem !important;
        font-size: 8px !important;
        letter-spacing: 0.5px !important;
    }
    
    #btn-load-real {
        font-size: 8.5px !important;
        padding: 0.4rem 1rem !important;
        max-width: 250px !important;
    }
}


/* ==========================================
   INTERACTIVE MAP STYLING
   ========================================== */

#brazil-svg-map-wrapper svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.6));
}

#brazil-svg-map-wrapper path {
    fill: rgba(255, 255, 255, 0.04);
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1.2px;
    transition: fill 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                stroke 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

#brazil-svg-map-wrapper path.state-active {
    fill: rgba(48, 199, 181, 0.22); /* SCB Teal/Cyan semitransparent */
    stroke: var(--secondary); /* SCB Teal/Cyan (#30C7B5) */
    stroke-width: 1.6px;
}

#brazil-svg-map-wrapper path.state-active:hover {
    fill: var(--secondary) !important;
    stroke: #ffffff;
    filter: drop-shadow(0 0 18px rgba(48, 199, 181, 0.65));
}

#brazil-svg-map-wrapper path.state-inactive:hover {
    fill: rgba(255, 255, 255, 0.12);
    stroke: rgba(255, 255, 255, 0.25);
}

.state-item {
    position: relative;
    padding-left: 1.25rem !important;
}

.state-item .dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: rgba(48, 199, 181, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.state-item:hover, .state-item.active {
    color: var(--secondary) !important;
}

.state-item[data-state="df"]:hover, .state-item[data-state="df"].active {
    color: var(--primary) !important;
}

.state-item:hover .dot, .state-item.active .dot {
    background-color: var(--secondary) !important;
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 8px var(--secondary);
}

.state-item[data-state="df"]:hover .dot, .state-item[data-state="df"].active .dot {
    background-color: var(--primary) !important;
    box-shadow: 0 0 8px var(--primary);
}

#map-tooltip {
    pointer-events: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(48, 199, 181, 0.1);
    transform: translate(-50%, -100%);
    margin-top: -10px;
    z-index: 1000;
}


/* Marquee Reverse Animation */
.animate-marquee-reverse {
    display: flex;
    animation: marquee-reverse 60s linear infinite;
    width: max-content;
}

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

.animate-marquee-reverse:hover {
    animation-play-state: paused;
}

.animate-marquee-reverse img {
    filter: none !important;
    opacity: 1 !important;
    grayscale: 0 !important;
}
\n\n.carousel-pause-hover:hover {\n    animation-play-state: paused;\n}\n