body {
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Anti-FOUC: hide content until Tailwind CDN has injected its styles.
   Without this, the Play CDN (cdn.tailwindcss.com) can take several seconds
   on mobile networks, during which users see unstyled markup. */
html {
    background-color: #0a0a0a;
}

body:not(.tw-ready) > * {
    visibility: hidden;
}

body:not(.tw-ready)::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 202, 0, 0.2);
    border-top-color: #ffca00;
    border-radius: 50%;
    animation: fouc-spin 0.8s linear infinite;
    z-index: 99999;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Syne', sans-serif;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Menu Flutuante Específico */
.glass-nav-floating {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: #ffca00;
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(255, 202, 0, 0.1);
}

/* Stats Card specific styling */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 202, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

/* Glow Effects */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
}

/* Marquee for logos */
.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-row {
    display: flex;
    gap: 4rem;
    animation: marquee-left 30s linear infinite;
}

.marquee-row-reverse {
    display: flex;
    gap: 4rem;
    animation: marquee-right 30s linear infinite;
}

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

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

    100% {
        transform: translateX(-50%);
    }
}

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

    100% {
        transform: translateX(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffca00;
}

/* Dropdown Menu Styles */
.nav-item {
    position: relative;
    padding: 10px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

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

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #ccc;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(255, 202, 0, 0.1);
    color: #ffca00;
}

/* Wide Dropdown for Services */
.dropdown-menu-wide {
    min-width: 750px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 24px;
}

.dropdown-menu-wide::before {
    /* Inherits default centering from .dropdown-menu::before */
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 1280px) {
    .dropdown-menu-wide {
        min-width: 650px;
    }
}

/* =============================================
   LIGHT (YELLOW) THEME OVERRIDES
   ============================================= */

body.light-theme {
    background-color: #ffca00;
    color: #000000;
}

/* Navigation */
body.light-theme .glass-nav-floating {
    background: rgba(255, 202, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.light-theme .glass-nav-floating a,
body.light-theme .glass-nav-floating span,
body.light-theme .glass-nav-floating button {
    color: #000;
}

body.light-theme .glass-nav-floating .text-brand-yellow {
    color: #000 !important;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.light-theme .glass-nav-floating .hover\:text-brand-yellow:hover {
    color: #333 !important;
}

body.light-theme .glass-nav-floating .text-gray-300,
body.light-theme .glass-nav-floating .text-gray-400 {
    color: #000;
}

body.light-theme .glass-nav-floating .text-white\/30 {
    color: rgba(0, 0, 0, 0.3);
}

body.light-theme .glass-nav-floating .bg-brand-yellow {
    background-color: #ff8b00;
    color: #fff;
}

body.light-theme .glass-nav-floating .bg-brand-yellow:hover {
    background-color: #e67a00;
}

body.light-theme .glass-nav-floating .shadow-\[0_0_15px_rgba\(255\,202\,0\,0\.3\)\] {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Logo invert in light theme */
body.light-theme .nav-logo-img {
    filter: brightness(0);
}

body.light-theme footer .nav-logo-img {
    filter: none;
}

/* Dropdown */
body.light-theme .dropdown-menu {
    background: rgba(255, 202, 0, 0.97);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body.light-theme .dropdown-menu::before {
    background: rgba(255, 202, 0, 0.97);
    border-top-color: rgba(0, 0, 0, 0.1);
    border-left-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .dropdown-item {
    color: #333;
}

body.light-theme .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

body.light-theme .dropdown-item.text-brand-yellow {
    color: #000 !important;
    font-weight: 700;
}

/* Mobile Menu */
body.light-theme #mobileMenu {
    background: rgba(255, 202, 0, 0.98);
}

body.light-theme #mobileMenu a,
body.light-theme #mobileMenu span {
    color: #000;
}

body.light-theme #mobileMenu .text-brand-yellow {
    color: #000 !important;
    font-weight: 800;
}

body.light-theme #mobileMenu .text-gray-400 {
    color: #333;
}

body.light-theme #mobileMenu .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme #mobileMenu .bg-brand-yellow {
    background-color: #ff8b00;
    color: #fff;
}

/* Glass Panels */
body.light-theme .glass-panel {
    background: rgba(255, 139, 0, 0.08);
    border-color: rgba(255, 139, 0, 0.15);
    box-shadow: 0 4px 30px rgba(255, 139, 0, 0.08);
}

/* Glass Cards */
body.light-theme .glass-card {
    background: linear-gradient(145deg, rgba(255, 139, 0, 0.08) 0%, rgba(255, 139, 0, 0.03) 100%);
    border-color: rgba(255, 139, 0, 0.15);
}

body.light-theme .glass-card:hover {
    background: linear-gradient(145deg, rgba(255, 139, 0, 0.12) 0%, rgba(255, 139, 0, 0.04) 100%);
    border-color: #ff8b00;
    box-shadow: 0 10px 40px -10px rgba(255, 139, 0, 0.2);
}

/* Glow Orbs - hide on light theme */
body.light-theme .glow-orb {
    opacity: 0.08;
}

/* Text Color Overrides */
body.light-theme .text-white {
    color: #000 !important;
}

body.light-theme .text-gray-300 {
    color: #222 !important;
}

body.light-theme .text-gray-400 {
    color: #333 !important;
}

body.light-theme .text-gray-500 {
    color: #444 !important;
}

body.light-theme .text-gray-600 {
    color: #555 !important;
}

body.light-theme .text-brand-yellow {
    color: #ff8b00 !important;
}

/* Background overrides */
body.light-theme .bg-black {
    background-color: #ffca00 !important;
}

body.light-theme .bg-brand-dark {
    background-color: #ffca00 !important;
}

body.light-theme .bg-brand-gray {
    background-color: #ffca00 !important;
}

body.light-theme .bg-black\/95 {
    background-color: #ffca00 !important;
}

body.light-theme .bg-brand-dark\/50 {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .bg-white\/\[0\.02\] {
    background-color: transparent !important;
}

body.light-theme .bg-white\/5 {
    background-color: rgba(255, 139, 0, 0.06) !important;
}

body.light-theme .bg-white\/10 {
    background-color: rgba(255, 139, 0, 0.1) !important;
}

body.light-theme .bg-brand-yellow\/10 {
    background-color: rgba(255, 139, 0, 0.12) !important;
}

body.light-theme .bg-brand-yellow\/20 {
    background-color: rgba(255, 139, 0, 0.18) !important;
}

body.light-theme .bg-brand-yellow\/5 {
    background-color: rgba(255, 139, 0, 0.06) !important;
}

/* Border overrides */
body.light-theme .border-white\/10 {
    border-color: rgba(255, 139, 0, 0.15) !important;
}

body.light-theme .border-white\/5 {
    border-color: rgba(255, 139, 0, 0.08) !important;
}

body.light-theme .border-brand-yellow\/20 {
    border-color: rgba(255, 139, 0, 0.25) !important;
}

body.light-theme .border-brand-yellow\/30 {
    border-color: rgba(255, 139, 0, 0.35) !important;
}

/* Brand yellow elements - use orange in light theme */
body.light-theme .bg-brand-yellow {
    background-color: #ff8b00 !important;
    color: #fff !important;
}

body.light-theme .bg-brand-yellow:hover {
    background-color: #e67a00 !important;
}

/* VS Comparison Cards - Light Theme */
body.light-theme .vs-card-other {
    background: rgba(0, 0, 0, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-theme .vs-card-other .text-white,
body.light-theme .vs-card-other h3 {
    color: #fff !important;
}

body.light-theme .vs-card-other .text-gray-400 {
    color: #aaa !important;
}

body.light-theme .vs-card-other .border-white\/5 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.light-theme .vs-card-resultz {
    background: rgba(255, 202, 0, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .vs-card-resultz .text-gray-300 {
    color: #1a1a1a !important;
}

body.light-theme .vs-card-resultz .text-white {
    color: #000 !important;
}

body.light-theme .vs-card-resultz .border-white\/5 {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .vs-card-resultz .bg-brand-yellow {
    background-color: transparent !important;
}

body.light-theme .vs-card-resultz .bg-brand-yellow i {
    color: #000 !important;
}

body.light-theme .vs-card-resultz .border-brand-yellow\/30 {
    border-color: rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .vs-card-resultz .bg-brand-yellow\/30 {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

/* Hero Funnel Card - Light Theme */
body.light-theme .hero-funnel-card {
    background: rgba(0, 0, 0, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(20px);
}

body.light-theme .hero-funnel-card .text-white,
body.light-theme .hero-funnel-card .text-gray-300,
body.light-theme .hero-funnel-card h3 {
    color: #fff !important;
}

body.light-theme .hero-funnel-card .text-gray-400 {
    color: #aaa !important;
}

body.light-theme .hero-funnel-card .text-gray-500 {
    color: #888 !important;
}

body.light-theme .hero-funnel-card .text-brand-yellow {
    color: #ffca00 !important;
}

body.light-theme .hero-funnel-card .text-green-400 {
    color: #4ade80 !important;
}

body.light-theme .hero-funnel-card .bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

body.light-theme .hero-funnel-card .bg-brand-yellow\/60,
body.light-theme .hero-funnel-card .bg-brand-yellow\/70,
body.light-theme .hero-funnel-card .bg-brand-yellow\/80,
body.light-theme .hero-funnel-card .bg-brand-yellow\/90 {
    background-color: rgba(255, 202, 0, 0.7) !important;
}

body.light-theme .hero-funnel-card .bg-brand-yellow {
    background-color: #ffca00 !important;
    color: #000 !important;
}

body.light-theme .hero-funnel-card .bg-green-500\/20 {
    background-color: rgba(74, 222, 128, 0.2) !important;
}

body.light-theme .hero-funnel-card .border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.light-theme .hero-funnel-card .border-t {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.light-theme .hero-funnel-badge {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(255, 202, 0, 0.5) !important;
}

body.light-theme .hero-funnel-badge .text-brand-yellow {
    color: #ffca00 !important;
}

body.light-theme .hero-funnel-badge .text-gray-400,
body.light-theme .hero-funnel-badge .text-\[10px\] {
    color: #aaa !important;
}

/* CTA buttons */
body.light-theme .hover\:bg-white:hover {
    background-color: #ff8b00 !important;
    color: #fff !important;
}

/* WhatsApp button */
body.light-theme .fixed.bottom-6.right-6 {
    background-color: #ff8b00 !important;
    color: #fff !important;
}

body.light-theme .fixed.bottom-6.right-6 svg {
    color: #fff !important;
}

/* Scrollbar */
body.light-theme::-webkit-scrollbar-track {
    background: #ffca00;
}

body.light-theme::-webkit-scrollbar-thumb {
    background: rgba(255, 139, 0, 0.4);
}

body.light-theme::-webkit-scrollbar-thumb:hover {
    background: #ff8b00;
}

/* Footer - light theme */
body.light-theme footer {
    background-color: #ffca00 !important;
}

body.light-theme footer .text-white {
    color: #000 !important;
}

body.light-theme footer .text-gray-500 {
    color: #333 !important;
}

body.light-theme footer .text-gray-600 {
    color: #444 !important;
}

body.light-theme footer .text-brand-yellow {
    color: #000 !important;
}

body.light-theme footer .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-theme footer .hover\:text-brand-yellow:hover {
    color: #333 !important;
}

body.light-theme footer .border-brand-yellow\/30 {
    border-color: rgba(0, 0, 0, 0.15) !important;
}

body.light-theme footer .glass-panel {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-theme footer .bg-brand-yellow {
    background-color: rgba(0, 0, 0, 0.08) !important;
    color: #000 !important;
}

body.light-theme footer .border-brand-yellow {
    border-color: #000 !important;
}

body.light-theme footer svg,
body.light-theme footer i {
    color: #000 !important;
}

body.light-theme footer a:hover svg,
body.light-theme footer a:hover i,
body.light-theme footer button:hover svg,
body.light-theme footer button:hover i {
    color: #fff !important;
}

body.light-theme footer .hover\:bg-brand-yellow:hover {
    background-color: #000 !important;
    color: #ffca00 !important;
}

body.light-theme footer .nav-logo-img {
    filter: brightness(0) !important;
}

/* Nav Contact CTA button - fix text color */
body.light-theme .glass-nav-floating .bg-brand-yellow.text-black,
body.light-theme .glass-nav-floating .bg-brand-yellow.text-black * {
    background-color: #ff8b00 !important;
    color: #fff !important;
}

body.light-theme .glass-nav-floating .bg-brand-yellow.text-black * {
    background-color: transparent !important;
}

/* Nav Contact CTA button - hover state */
body.light-theme .glass-nav-floating .bg-brand-yellow.text-black:hover,
body.light-theme .glass-nav-floating .bg-brand-yellow.text-black:hover * {
    background-color: #000 !important;
    color: #ffca00 !important;
}

body.light-theme .glass-nav-floating .bg-brand-yellow.text-black:hover * {
    background-color: transparent !important;
}

/* Gradient text override - orange gradient in light theme */
body.light-theme .bg-clip-text.text-transparent {
    background-image: linear-gradient(to right, #ff8b00, #e05a00) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* Quote icons - make visible on yellow background */
body.light-theme .text-brand-yellow\/30 {
    color: rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .text-brand-yellow\/20 {
    color: rgba(0, 0, 0, 0.12) !important;
}

body.light-theme .text-brand-yellow\/10 {
    color: rgba(0, 0, 0, 0.08) !important;
}

/* Logo-row invert in light theme */
body.light-theme .filter.brightness-0.invert {
    filter: brightness(0) !important;
}

/* Contact Modal */
body.light-theme #contactModal .glass-panel {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-theme #contactModal .bg-\[\#0a0a0a\] {
    background-color: #fff !important;
}

body.light-theme #contactModal .text-white {
    color: #000 !important;
}

body.light-theme #contactModal .text-gray-400 {
    color: #555 !important;
}

body.light-theme #contactModal .text-gray-300 {
    color: #333 !important;
}

body.light-theme #contactModal input,
body.light-theme #contactModal textarea {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #000 !important;
}

body.light-theme #contactModal input::placeholder,
body.light-theme #contactModal textarea::placeholder {
    color: #999 !important;
}

/* Marquee logos */
body.light-theme .marquee-row img,
body.light-theme .marquee-row-reverse img {
    filter: brightness(0) opacity(0.5);
}

body.light-theme .marquee-row img:hover,
body.light-theme .marquee-row-reverse img:hover {
    filter: brightness(0) opacity(0.8);
}

/* Selection */
body.light-theme::selection,
body.light-theme *::selection {
    background: #000;
    color: #ffca00;
}

/* Theme toggle button */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.theme-toggle-btn:hover {
    border-color: #ffca00;
    background: rgba(255, 202, 0, 0.1);
}

body.light-theme .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .theme-toggle-btn:hover {
    border-color: #000;
    background: rgba(0, 0, 0, 0.1);
}

/* Smooth transition for theme change */
body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

.glass-nav-floating,
.glass-panel,
.glass-card,
.dropdown-menu,
#mobileMenu {
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

/* Video Carousel */
.video-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.video-carousel-track {
    display: flex;
    gap: 1rem;
    animation: video-scroll 40s linear infinite;
    width: max-content;
}

.video-carousel-track:hover {
    animation-play-state: paused;
}

.video-card {
    flex-shrink: 0;
    width: 280px;
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.video-card:hover {
    border-color: rgba(255, 202, 0, 0.5);
    transform: scale(1.03);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

@media (max-width: 768px) {
    .video-card {
        width: 200px;
        height: 360px;
    }
}

/* Creative Image Carousel */
.creative-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.creative-carousel-track {
    display: flex;
    gap: 1rem;
    animation: video-scroll 50s linear infinite;
    width: max-content;
}

.creative-carousel-track:hover {
    animation-play-state: paused;
}

.creative-card {
    flex-shrink: 0;
    width: 240px;
    height: 420px;
    border-radius: 1rem;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.creative-card:hover {
    border-color: rgba(255, 202, 0, 0.5);
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .creative-card {
        width: 180px;
        height: 320px;
    }
}

/* Raio-X Stories Grid */
.stories-grid-raio {
    top: -4rem;
    right: -4rem;
    transform: rotate(-15deg);
    flex-direction: row;
}

/* Raio-X Card - Light Theme */
body.light-theme .raio-x-card {
    background: #000 !important;
    border-color: rgba(255, 202, 0, 0.2) !important;
}

body.light-theme .raio-x-card .text-white,
body.light-theme .raio-x-card h2 {
    color: #fff !important;
}

body.light-theme .raio-x-card .text-gray-400 {
    color: #aaa !important;
}

body.light-theme .raio-x-card .text-gray-500 {
    color: #888 !important;
}

body.light-theme .raio-x-card .border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body.light-theme .raio-x-card .bg-brand-yellow {
    background-color: #ffca00 !important;
    color: #000 !important;
}

/* Office Cards - Light Theme */
body.light-theme .office-card {
    background: transparent !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .office-card .text-brand-yellow {
    color: #000 !important;
    font-weight: 700;
}

body.light-theme .office-card .bg-brand-yellow {
    background-color: rgba(0, 0, 0, 0.08) !important;
    color: #000 !important;
}

body.light-theme .office-card .bg-brand-yellow i,
body.light-theme .office-card .bg-brand-yellow svg {
    color: #000 !important;
}

/* Mobile floating nav: fit logo, theme toggle, language switcher, and hamburger */
@media (max-width: 640px) {
    .glass-nav-floating {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        gap: 0.5rem;
    }

    .glass-nav-floating > a {
        flex-shrink: 1;
        min-width: 0;
    }

    .glass-nav-floating .nav-logo-img {
        height: 2.5rem;
    }

    .glass-nav-floating > div:last-child {
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .glass-nav-floating .theme-toggle-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 380px) {
    .glass-nav-floating {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .glass-nav-floating .nav-logo-img {
        height: 2.25rem;
    }

    .glass-nav-floating > div:last-child {
        gap: 0.5rem;
    }
}