:root {
    --electric-green: #39ff14;
}

html, body {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e5e2e1;
    overflow-x: hidden;
    max-width: 100%;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.125rem;
}

.intensity-glow {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.text-glow {
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.logo {
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 30px rgba(57, 255, 20, 0.4));
    animation: logo-pulse 3s ease-in-out infinite;
    width: 200px;
    height: 140px;
    margin: 0 auto;
    padding-bottom: 10px;
}

.logo img {
    width: 100%;
    height: 100%;
}

@keyframes logo-pulse {
    0%, 100% {
        filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 30px rgba(57, 255, 20, 0.4));
    }
    50% {
        filter: brightness(1.5) contrast(1.3) drop-shadow(0 0 40px rgba(57, 255, 20, 0.6));
    }
}

.section-divider {
    height: 60px;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Responsividade mobile-first */
@media (max-width: 768px) {
    .section-gap {
        margin-bottom: 60px;
    }
    
    h1, h2, h3 {
        word-spacing: -0.05em;
    }

    #metodologia .glass-card {
        padding: 1.25rem;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    #metodologia .grid {
        gap: 1.25rem;
    }

    #metodologia .glass-card .material-symbols-outlined {
        font-size: 2rem;
    }

    #metodologia .glass-card h3 {
        font-size: 1.25rem;
        line-height: 1.2;
    }

    #metodologia .glass-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (min-width: 769px) {
    .section-gap {
        margin-bottom: 120px;
    }
}

section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 769px) {
    section {
        padding-top: 7.5rem !important;
        padding-bottom: 7.5rem !important;
    }
}



/* Melhorar alinhamento de elementos interativos */
a {
    transition: all 0.3s ease;
}

/* Grid responsivo aprimorado */
.auto-rows-max {
    grid-auto-rows: max-content;
}

/* Hero Section Mobile - Inverte ordem e reduz espaçamento */
@media (max-width: 768px) {
    #hero .grid {
        gap: 3px !important;
    }
    
    #hero .grid > div:first-child {
        order: 2;
    }
    
    #hero .grid > div:last-child {
        order: 1;
    }
}

/* --- Premium Marquee Section Styles --- */
.marquee-track {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.animate-marquee-left {
    display: flex;
    flex-shrink: 0;
    animation: marquee-left 25s linear infinite;
}

.animate-marquee-right {
    display: flex;
    flex-shrink: 0;
    animation: marquee-right 25s linear infinite;
}

.animate-marquee-left *,
.animate-marquee-right * {
    flex-shrink: 0;
}

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

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

/* Pause animation on hover for interactive feel (optional, but premium) */
#marquee-transition:hover .animate-marquee-left,
#marquee-transition:hover .animate-marquee-right {
    animation-play-state: paused;
}

.marquee-fade-x {
    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);
}