/* 
 * UAISINT - Main Styles
 * Main CSS file for the website
 */

:root {
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --dark-bg: #0a0e27;
            --darker-bg: #060818;
            --card-bg: rgba(17, 24, 39, 0.8);
            --accent-cyan: #00d2ff;
            --accent-purple: #667eea;
            --accent-pink: #f5576c;
            --accent-green: #10b981;
            --text-primary: #ffffff;
            --text-secondary: #a1a1aa;
            --glass-bg: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.1);
            --read-mode-overlay: rgba(10, 14, 39, 0.8);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

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

        /* Fundo com blur para todo o site */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--darker-bg);
            backdrop-filter: blur(30px); /* Aumentado para 30px como na apresentação */
            z-index: -2;
            opacity: 0.9; /* Aumentado para maior destaque */
        }

        /* Matrix Rain Effect */
        .matrix-rain {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }

        .matrix-column {
            position: absolute;
            top: -100%;
            color: #0f9d58;
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            line-height: 12px;
            text-shadow: 0 0 5px #0f9d58;
            animation: matrixFall linear infinite;
            opacity: 0.25; /* Reduzido para ficar mais sutil */
        }

        @keyframes matrixFall {
            0% {
                opacity: 0; /* Começa invisível */
                transform: translateY(0);
            }
            10% {
                opacity: 0.25; /* Fade in */
            }
            90% {
                opacity: 0.25; /* Mantém visibilidade */
            }
            100% {
                opacity: 0; /* Fade out no final */
                transform: translateY(200vh);
            }
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0; /* Sempre visível */
            width: 250px;
            height: 100vh;
            background: rgba(10, 14, 39, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            overflow-y: auto;
            box-shadow: 3px 0 15px rgba(0, 0, 0, 0.2);
            border-right: 1px solid var(--glass-border);
        }

        .nav-container {
            display: flex;
            flex-direction: column; /* Alterado para coluna */
            align-items: center;
            padding: 1.5rem 0.8rem;
            width: 100%;
            box-sizing: border-box;
            height: 100%;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
        }

        .nav-logo img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

        .nav-logo span {
            font-size: 1.5rem;
            font-weight: 700;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Menu de Navegação estilo Timeline */
        .nav-links {
            display: flex;
            flex-direction: column;
            list-style: none;
            gap: 0; /* Sem espaçamento entre itens */
            width: 100%;
            padding: 1rem 0;
            margin-top: 1.5rem;
            position: relative;
        }
        
        /* Linha vertical da timeline */
        .nav-links::before {
            content: '';
            position: absolute;
            top: 0;
            left: 18px; /* Alinhado com os pontos */
            width: 2px;
            height: 100%;
            background: var(--glass-border);
            z-index: 1;
        }
        
        .nav-links li {
            position: relative;
            margin-bottom: 5px;
        }
        
        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            font-size: 0.9rem;
            padding: 0.7rem 1rem 0.7rem 2.5rem; /* Espaço à esquerda para os pontos */
            display: block;
            width: 100%;
            text-align: left;
            z-index: 2;
        }
        
        /* Pontos da timeline */
        .nav-link::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            background: var(--accent-cyan);
            border-radius: 50%;
            z-index: 2;
            transition: all 0.3s ease;
        }
        
        .nav-link:hover::before {
            background: var(--accent-purple);
            box-shadow: 0 0 10px var(--accent-purple);
            transform: translateY(-50%) scale(1.2);
        }
        
        .nav-link:hover {
            color: var(--text-primary);
            background: var(--glass-bg);
        }
        
        /* Efeito de destaque para o item ativo */
        .nav-link.active {
            color: var(--accent-cyan);
            background: var(--glass-bg);
        }
        
        .nav-link.active::before {
            background: var(--accent-cyan);
            box-shadow: 0 0 10px var(--accent-cyan);
            transform: translateY(-50%) scale(1.3);
        }

        /* Nav Controls, Language Selector & Read Mode Toggle */
        .nav-controls {
            display: flex;
            flex-direction: column; /* Alterado para coluna */
            align-items: center;
            gap: 15px;
            margin-top: auto; /* Empurra para o fim da barra lateral */
            margin-bottom: 20px;
            width: 100%;
        }
        .lang-selector {
            display: flex;
            gap: 4px; /* Reduzido o espaçamento */
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            padding: 4px;
            border-radius: 20px;
            border: 1px solid var(--glass-border);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            flex-shrink: 0; /* Impede o seletor de encolher */
            flex-wrap: nowrap; /* Mantém os botões na mesma linha */
        }

        .lang-btn {
            padding: 4px 8px; /* Reduzido o padding */
            border: none;
            background: transparent;
            color: var(--text-secondary);
            cursor: pointer;
            border-radius: 16px;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 11px; /* Reduzido o tamanho da fonte */
            display: flex;
            align-items: center;
            gap: 3px; /* Reduzido o espaçamento entre ícone e texto */
        }
        
        .flag-icon {
            width: 16px; /* Reduzido o tamanho da bandeira */
            height: 18px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
        }

        .lang-btn.active {
            background: var(--primary-gradient);
            color: white;
        }

        .lang-btn:hover:not(.active) {
            background: rgba(102, 126, 234, 0.1);
            color: var(--accent-purple);
        }
        
        /* Read Mode Toggle */
        .read-mode-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            padding: 6px 12px;
            border-radius: 24px;
            border: 1px solid var(--glass-border);
            margin-left: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            min-width: 180px; /* Aumenta a largura mínima para evitar quebras de linha */
            flex-shrink: 0; /* Impede o botão de encolher */
        }
        
        .read-mode-label {
            color: var(--text-secondary);
            font-weight: 600;
            font-size: 13px;
            white-space: nowrap; /* Evita quebra de linha no texto */
            flex: 1; /* Faz o texto ocupar o espaço disponível */
        }
        
        /* Toggle Switch */
        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }
        
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--glass-bg);
            transition: .4s;
            border: 1px solid var(--glass-border);
        }
        
        .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 3px;
            background: var(--text-secondary);
            transition: .4s;
        }
        
        input:checked + .slider {
            background: var(--primary-gradient);
        }
        
        input:checked + .slider:before {
            transform: translateX(26px);
            background: white;
        }
        
        .slider.round {
            border-radius: 24px;
        }
        
        .slider.round:before {
            border-radius: 50%;
        }
        
        /* Read Mode Overlay */
        .read-mode-active {
            background-color: #0a1128 !important; /* Cor de fundo sólida mais escura */
            transition: all 0.5s ease;
        }
        
        .read-mode-active body::before {
            backdrop-filter: none !important; /* Remove o efeito de blur */
            background-color: #0a1128 !important; /* Cor de fundo sólida */
            opacity: 1 !important;
        }
        
        /* Oculta completamente a animação matrix no modo leitura */
        .read-mode-active .matrix-rain,
        .read-mode-active .matrix-column {
            display: none !important;
            opacity: 0 !important;
        }
        
        .read-mode-active .animated-bg::before {
            opacity: 0.04 !important;
            transition: opacity 0.5s ease;
            filter: saturate(0.5) brightness(0.6);
        }
        
        .read-mode-active .feature-card,
        .read-mode-active .ethics-card,
        .read-mode-active .tool-card {
            background: rgba(17, 21, 54, 0.6);
            border-color: rgba(102, 126, 234, 0.15);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 0 20px;
            margin-top: 80px;
        }

        .hero-content {
            text-align: center;
            max-width: 900px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            padding: 10px 20px;
            border-radius: 30px;
            border: 1px solid var(--glass-border);
            margin-bottom: 30px;
        }

        .hero-title {
            font-size: clamp(3rem, 7vw, 6rem);
            font-weight: 900;
            margin-bottom: 20px;
            line-height: 1.1;
        }

        .gradient-text {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: clamp(1.2rem, 2vw, 1.6rem);
            color: var(--text-secondary);
            margin-bottom: 40px;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            padding: 15px 30px;
            border: none;
            border-radius: 30px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-primary {
            background: var(--primary-gradient);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        .btn-secondary {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            color: var(--text-primary);
            border: 1px solid var(--glass-border);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--accent-purple);
        }

        /* Sections */
        section {
            padding: 30px 20px; /* Reduzido de 80px para 30px */
            position: relative;
            margin-bottom: 15px; /* Reduzido de 30px para 15px */
            margin-left: 250px; /* Espaço para o menu lateral */
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            width: 95%;
            box-sizing: border-box;
            padding: 20px; /* Reduzido de 30px para 20px */
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 15px; /* Reduzido de 20px para 15px */
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25); /* Sombra reduzida */
        }

        .section-header {
            text-align: center;
            margin-bottom: 25px; /* Reduzido para condensar mais o conteúdo */
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3.5rem); /* Reduzido o tamanho */
            font-weight: 900;
            margin-bottom: 10px; /* Reduzido de 20px para 10px */
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.1; /* Compactado */
        }

        .section-subtitle {
            font-size: clamp(1rem, 1.8vw, 1.4rem); /* Reduzido o tamanho da fonte */
            color: var(--text-secondary);
            margin-bottom: 10px; /* Adicionado margin reduzido */
        }

        /* Feature Grid */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
            width: 100%;
        }

        .feature-card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 40px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--primary-gradient);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-purple);
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--primary-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            font-size: 36px;
            color: white;
        }

        .feature-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--text-primary);
        }

        .feature-desc {
            color: var(--text-secondary);
            line-height: 1.8;
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text h3 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--accent-cyan);
        }

        .about-text p {
            color: var(--text-secondary);
            margin-bottom: 20px;
            line-height: 1.8;
        }

        .about-image {
            position: relative;
        }

        .about-image img {
            width: 100%;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        /* Timeline */
        .timeline {
            position: relative;
            padding: 10px 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 3px;
            height: 100%;
            background: var(--glass-border);
        }

        .timeline-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            position: relative;
        }

        .timeline-item:nth-child(odd) {
            flex-direction: row-reverse;
        }

        .timeline-content {
            width: 45%;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 15px;
            position: relative;
        }

        .timeline-dot {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary-gradient);
            border: 4px solid var(--dark-bg);
            z-index: 1;
        }

        .timeline-time {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--accent-cyan);
            margin-bottom: 2px;
        }

        .timeline-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--text-primary);
        }

        .timeline-desc {
            color: var(--text-secondary);
            line-height: 1.3;
            margin-bottom: 0;
        }

        /* Tools Section */
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .tool-card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            display: block;
        }

        .tool-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-purple);
        }

        .tool-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .tool-name {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .tool-desc {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Ethics Section */
        .ethics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
        }

        .ethics-card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 50px;
            position: relative;
            overflow: hidden;
        }

        .ethics-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
            opacity: 0.1;
        }

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

        .ethics-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--secondary-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            font-size: 36px;
            color: white;
        }

        .ethics-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--text-primary);
        }

        .ethics-desc {
            font-size: 1.1rem;
            color: var(--text-secondary);
            line-height: 1.8;
        }

        /* CTA Section */
        .cta-section {
            background: var(--primary-gradient);
            padding: 100px 20px;
            text-align: center;
        }

        .cta-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 900;
            color: white;
            margin-bottom: 20px;
        }

        .cta-subtitle {
            font-size: clamp(1.2rem, 2vw, 1.6rem);
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 40px;
        }

        /* Contact Section */
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .contact-info h3 {
            font-size: 2rem;
            margin-bottom: 30px;
            color: var(--accent-cyan);
        }

        .contact-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-width: 350px;
        }

        .contact-btn {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 25px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 50px;
            color: var(--text-primary);
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .contact-btn:hover {
            background: var(--primary-gradient);
            border-color: transparent;
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .contact-btn i {
            font-size: 1.3rem;
            width: 25px;
            text-align: center;
        }

        .contact-qr {
            text-align: center;
        }

        .qr-code {
            background: white;
            padding: 15px;
            border-radius: 16px;
            display: inline-block;
            margin-bottom: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .qr-code img {
            width: 150px;
            height: 150px;
        }

        /* Floating Info Button */
        .floating-info {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
        }

        .floating-button {
            width: 60px;
            height: 60px;
            background: var(--primary-gradient);
            border-radius: 50%;
            border: none;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        .floating-button:hover {
            transform: scale(1.1);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
        }

        .floating-button i {
            font-size: 24px;
            color: white;
        }

        .info-content {
            position: absolute;
            bottom: 65px;
            right: 0;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 20px;
            width: 280px;
            max-width: 90vw;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .info-content.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .developer-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 12px;
        }

        .developer-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--primary-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
            font-weight: bold;
        }

        .developer-details {
            flex: 1;
        }

        .developer-name {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 4px;
        }
        
        .developer-company {
            font-size: 0.75rem;
            color: var(--accent-cyan);
            font-weight: 500;
        }

        .developer-role {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-bottom: 2px;
        }

        .developer-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
        }

        .skill-tag {
            background: rgba(102, 126, 234, 0.1);
            color: var(--accent-purple);
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            border: 1px solid rgba(102, 126, 234, 0.2);
            margin-right: 5px;
            margin-bottom: 5px;
        }

        .developer-links {
            display: flex;
            gap: 10px;
            margin-top: 10px;
            flex-wrap: wrap;
        }

        .developer-link {
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.75rem;
            transition: color 0.3s ease;
        }

        .developer-link:hover {
            color: var(--accent-cyan);
        }
        
        /* Event/UAISINT Styles */
        .event-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 15px;
        }

        .event-logo {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: contain;
        }

        .event-details {
            flex: 1;
        }

        .event-title {
            font-size: 1.3rem;
            font-weight: 700;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 5px;
        }

        .event-subtitle {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .event-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .event-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            color: var(--text-primary);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .event-link:hover {
            background: rgba(102, 126, 234, 0.1);
            border-color: var(--accent-purple);
            transform: translateX(5px);
        }

        .event-link i {
            font-size: 14px;
            color: var(--accent-cyan);
            width: 16px;
            text-align: center;
        }

        .event-link span {
            font-size: 0.7rem;
        }

        /* Welcome Modal */
        /* Estilos do modal removidos */

        /* Footer */
        footer {
            background: var(--darker-bg);
            padding: 60px 20px 30px;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-logo {
            width: 80px;
            height: 80px;
            margin: 0 auto 30px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .footer-link {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-link:hover {
            color: var(--accent-purple);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--glass-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--accent-purple);
            color: white;
            transform: translateY(-3px);
        }

        .copyright {
            color: var(--text-secondary);
            padding-top: 30px;
            border-top: 1px solid var(--glass-border);
        }

        /* Mineiro Badge */
        .mineiro-badge {
            background: var(--glass-bg);
            border: 2px solid var(--accent-cyan);
            border-radius: 30px;
            padding: 10px 20px;
            display: block;
            margin: 20px auto;
            animation: pulse 2s infinite;
            text-align: center;
            width: fit-content;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .mineiro-text {
            color: var(--accent-cyan);
            font-weight: 700;
            font-style: italic;
            display: inline-block;
            overflow: hidden;
            white-space: nowrap;
            margin: 0;
            letter-spacing: 0.15em;
            animation: typing 8s steps(40, end) infinite;
            border-right: 3px solid var(--accent-cyan);
            max-width: 0;
        }

        @keyframes typing {
            0% { max-width: 0; }
            40% { max-width: 100%; }
            60% { max-width: 100%; }
            70% { max-width: 80%; }
            80% { max-width: 90%; }
            85% { max-width: 80%; }
            90% { max-width: 0; }
            100% { max-width: 0; }
        }

        .mineiro-text::after {
            content: '';
            position: absolute;
            right: -3px;
            background: var(--accent-cyan);
            animation: blink-caret 0.75s step-end infinite;
        }

        @keyframes blink-caret {
            from, to { border-color: transparent; }
            50% { border-color: var(--accent-cyan); }
        }

        /* Center mineiro badges */
        section .mineiro-badge {
            text-align: center;
            margin: 20px auto;
            display: table;
        }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 80px;
                left: 0;
                right: 0;
                background: var(--dark-bg);
                flex-direction: column;
                padding: 20px;
                transform: translateX(-100%);
                transition: transform 0.3s ease;
            }

            .nav-links.active {
                transform: translateX(0);
            }

            .mobile-menu-toggle {
                display: block;
            }
            
            .nav-controls {
                flex-wrap: nowrap;
                gap: 8px; /* Reduz o espaçamento em telas menores */
            }
            
            .read-mode-toggle {
                min-width: auto; /* Adapta o tamanho em telas menores */
                flex: 0;
            }
            
            .hero-content {
                padding: 60px 20px;
            }
            
            .hero-title {
                font-size: clamp(2rem, 8vw, 3rem);
                margin-bottom: 15px;
            }
            
            .hero-subtitle {
                font-size: clamp(1rem, 3vw, 1.3rem);
                margin-bottom: 30px;
            }

            .hero-buttons {
                flex-direction: column;
                width: 100%;
                max-width: 300px;
                margin: 0 auto;
                gap: 15px;
            }
            
            .hero-buttons .btn {
                width: 100%;
                padding: 15px 30px;
                font-size: 1rem;
            }
            
            section {
                padding: 60px 20px;
            }
            
            .section-title {
                font-size: clamp(1.8rem, 6vw, 2.5rem);
                margin-bottom: 15px;
            }

            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .about-card {
                padding: 25px;
            }
            
            .tool-card,
            .case-card {
                padding: 25px;
            }
            
            .resource-item {
                padding: 20px;
            }

            .timeline-item {
                flex-direction: column !important;
            }

            .timeline-content {
                width: 100%;
                margin-bottom: 40px;
                padding: 25px;
            }

            .timeline::before {
                display: none;
            }
            
            .timeline-icon {
                position: static;
                margin: 0 auto 20px;
            }
            
            .contact-form input,
            .contact-form textarea {
                font-size: 16px; /* Prevent zoom on iOS */
            }
            
            .contact-info-item {
                font-size: 0.95rem;
            }
            
            .hero-animation {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            body {
                font-size: 14px;
            }
            
            .nav-container {
                padding: 1rem;
            }
            
            .nav-logo img {
                width: 35px;
                height: 35px;
            }
            
            .nav-logo span {
                font-size: 1rem;
                display: none;
            }
            
            .lang-selector {
                transform: scale(0.85);
                gap: 5px;
            }
            
            .lang-btn {
                padding: 6px 12px;
                font-size: 12px;
            }
            
            .hero {
                padding: 0 15px;
                margin-top: 60px;
            }
            
            .hero-badge {
                font-size: 0.8rem;
                padding: 8px 15px;
                margin-bottom: 20px;
            }
            
            .hero-title {
                font-size: 1.8rem;
                line-height: 1.2;
                margin-bottom: 15px;
            }
            
            .hero-subtitle {
                font-size: 0.95rem;
                padding: 0 10px;
                margin-bottom: 25px;
            }
            
            .hero-buttons {
                gap: 10px;
            }
            
            .hero-buttons .btn {
                padding: 12px 25px;
                font-size: 0.9rem;
            }
            
            section {
                padding: 50px 15px;
            }
            
            .section-header {
                margin-bottom: 40px;
            }
            
            .section-title {
                font-size: 1.6rem;
                margin-bottom: 10px;
            }
            
            .section-subtitle {
                font-size: 0.9rem;
            }
            
            .feature-grid,
            .tool-grid,
            .case-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .feature-card,
            .tool-card,
            .case-card {
                padding: 20px;
            }
            
            .feature-icon {
                width: 60px;
                height: 60px;
                font-size: 28px;
                margin-bottom: 20px;
            }
            
            .feature-title {
                font-size: 1.3rem;
                margin-bottom: 15px;
            }
            
            .about-card h3,
            .tool-card h3,
            .case-card h3 {
                font-size: 1.2rem;
            }
            
            .about-card p,
            .tool-card p,
            .case-card p,
            .feature-desc {
                font-size: 0.9rem;
                line-height: 1.6;
            }
            
            .timeline-year {
                font-size: 1.5rem;
            }
            
            .timeline-content h4 {
                font-size: 1.1rem;
            }
            
            .timeline-content {
                padding: 20px;
            }
            
            .modal-content {
                width: 95%;
                max-width: 400px;
                margin: 10px;
                padding: 20px;
            }
            
            .contact-form {
                padding: 0;
            }
            
            .contact-form button {
                font-size: 0.9rem;
                padding: 12px 25px;
            }
            
            footer {
                padding: 30px 15px;
            }
            
            .footer-section h4 {
                font-size: 1.1rem;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 30px;
            }
            
            .footer-links {
                justify-content: center;
                margin: 15px 0;
                flex-wrap: wrap;
            }
            
            .footer-bottom {
                font-size: 0.8rem;
                padding-top: 20px;
            }
            
            /* Fix overlapping elements */
            .floating-button {
                width: 45px;
                height: 45px;
                font-size: 20px;
            }
            
            .scroll-to-top {
                bottom: 20px;
                right: 20px;
                width: 40px;
                height: 40px;
            }
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Scroll Progress */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 0;
            height: 4px;
            background: var(--primary-gradient);
            z-index: 1001;
            transition: width 0.3s ease;
        }
        
        /* Responsividade do novo footer */
        @media (max-width: 768px) {
            footer, 
            div[style*="gradient"] {
                margin-left: 0 !important;
            }
            
            footer .container {
                margin: 0 auto !important;
                grid-template-columns: 1fr !important;
                gap: 30px !important;
            }
            
            .floating-button {
                width: 55px !important;
                height: 55px !important;
            }
            
            .floating-button i {
                font-size: 22px !important;
            }
        }
