        :root {
            --primary-color: #5B8DEE;
            --accent-color: #48C9B0;
            --dark-bg: #0A0B0F;
            --section-bg: #12131A;
            --card-bg: #1A1B23;
            --text-primary: #FFFFFF;
            --text-secondary: #9CA3AF;
            --text-muted: #6B7280;
            --border-color: #2A2B35;
            --glow-color: #5B8DEE;
        }

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

        body {
            background: var(--dark-bg);
            color: var(--text-primary);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Typography */
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .mono {
            font-family: 'JetBrains Mono', monospace;
        }

        /* Navbar */
        .navbar {
            background: rgba(10, 11, 15, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s ease;
            padding: 1rem 0;
        }

        .navbar-brand {
            font-weight: 600;
            font-size: 1.2rem;
            color: var(--text-primary) !important;
        }

        .navbar-nav .nav-link {
            color: var(--text-secondary) !important;
            font-weight: 500;
            transition: color 0.3s ease;
            margin: 0 1rem;
        }

        .navbar-nav .nav-link:hover {
            color: var(--primary-color) !important;
        }

        /* Button Styles */
        .btn-glow {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border: none;
            color: white;
            padding: 12px 32px;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn-glow:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(91, 141, 238, 0.3);
            color: white;
        }

        .btn-glow::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn-glow:hover::before {
            left: 100%;
        }

        /* Hero Section */
        .hero-section {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            overflow: hidden;
        }

        .hero-canvas-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        #heroCanvas {
            width: 100%;
            height: 100%;
            display: block;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-block;
            padding: 8px 16px;
            background: rgba(91, 141, 238, 0.1);
            border: 1px solid rgba(91, 141, 238, 0.3);
            border-radius: 50px;
            font-size: 0.875rem;
            color: var(--primary-color);
            margin-bottom: 2rem;
            font-weight: 500;
        }

        .hero-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.3rem);
            color: var(--text-secondary);
            margin-bottom: 3rem;
            line-height: 1.8;
            max-width: 600px;
        }

        .hero-image {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-image img {
            width: 320px;
            height: 320px;
            object-fit: cover;
            border-radius: 20px;
            position: relative;
            z-index: 2;
        }

        .hero-image::before {
            content: '';
            position: absolute;
            width: 340px;
            height: 340px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 20px;
            filter: blur(40px);
            opacity: 0.5;
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.5;
            }

            50% {
                transform: scale(1.1);
                opacity: 0.3;
            }
        }

        /* Section Styles */
        section {
            padding: 100px 0;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-badge {
            display: inline-block;
            padding: 6px 12px;
            background: rgba(91, 141, 238, 0.1);
            border-radius: 6px;
            font-size: 0.875rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-weight: 500;
            font-family: 'JetBrains Mono', monospace;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 1rem;
            font-weight: 800;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Stats Cards */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        .stat-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 40px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary-color);
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

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

        .stat-icon {
            width: 60px;
            height: 60px;
            background: rgba(91, 141, 238, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 1.5rem;
            color: var(--primary-color);
        }

        .stat-value {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 10px;
            font-family: 'JetBrains Mono', monospace;
        }

        .stat-label {
            color: var(--text-secondary);
            font-size: 1rem;
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }

        .project-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 40px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            text-decoration: none !important;
            display: block;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(91, 141, 238, 0.1), rgba(72, 201, 176, 0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

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

        .project-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-color);
            box-shadow: 0 20px 40px rgba(91, 141, 238, 0.2);
        }

        .project-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            font-size: 2rem;
            color: white;
            position: relative;
            z-index: 1;
        }

        .project-card h4 {
            color: var(--text-primary);
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 700;
            position: relative;
            z-index: 1;
        }

        .project-card p {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .project-link {
            color: var(--primary-color);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            z-index: 1;
            transition: gap 0.3s ease;
        }

        .project-card:hover .project-link {
            gap: 12px;
        }

        /* Timeline */
        .timeline {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
        }

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

        .timeline-item {
            position: relative;
            padding: 40px;
            width: 50%;
            margin-bottom: 40px;
        }

        .timeline-item:nth-child(odd) {
            left: 0;
            padding-right: 60px;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
            padding-left: 60px;
        }

        .timeline-dot {
            position: absolute;
            width: 20px;
            height: 20px;
            background: var(--primary-color);
            border-radius: 50%;
            top: 50px;
            z-index: 1;
        }

        .timeline-item:nth-child(odd) .timeline-dot {
            right: -10px;
        }

        .timeline-item:nth-child(even) .timeline-dot {
            left: -10px;
        }

        .timeline-content {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 30px;
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            border-color: var(--primary-color);
            transform: scale(1.02);
        }

        .timeline-date {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 10px;
            font-family: 'JetBrains Mono', monospace;
        }

        .timeline-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .timeline-description {
            color: var(--text-secondary);
            line-height: 1.8;
        }

        /* Media Logos - FIXED */
        .media-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        a.media-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none !important;
            display: block;
        }

        a.media-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary-color);
            text-decoration: none !important;
        }

        .media-card h5 {
            color: var(--text-primary);
            margin-bottom: 10px;
            font-weight: 600;
            text-decoration: none !important;
        }

        .media-card p {
            color: var(--text-muted);
            margin: 0;
            font-size: 0.9rem;
            text-decoration: none !important;
        }

        .media-logo {
            width: 100px;
            height: 60px;
            object-fit: contain;
            filter: grayscale(100%) brightness(150%);
            transition: filter 0.3s ease;
            margin-bottom: 20px;
        }

        .media-card:hover .media-logo {
            filter: none;
        }

        /* About Section */
        .about-content {
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-secondary);
        }

        .about-content strong {
            color: var(--text-primary);
        }

        .about-highlight {
            background: linear-gradient(135deg, rgba(91, 141, 238, 0.2), rgba(72, 201, 176, 0.2));
            padding: 4px 8px;
            border-radius: 4px;
            color: var(--text-primary);
        }

        /* Skills Grid - FIXED */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .skill-item {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 25px;
            display: flex;
            align-items: center;
            gap: 20px;
            transition: all 0.3s ease;
        }

        .skill-item:hover {
            border-color: var(--primary-color);
            transform: translateX(5px);
            background: rgba(91, 141, 238, 0.05);
        }

        .skill-icon {
            color: var(--primary-color);
            font-size: 1.8rem;
            flex-shrink: 0;
            width: 40px;
            text-align: center;
        }

        .skill-item h5 {
            color: var(--text-primary);
            font-size: 1.1rem;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .skill-item p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin: 0;
            line-height: 1.4;
        }

        /* Contact Section */
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 30px;
        }

        .form-label {
            color: var(--text-secondary);
            margin-bottom: 10px;
            font-weight: 500;
        }

        .form-control {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 15px 20px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            background: var(--card-bg);
            border-color: var(--primary-color);
            color: var(--text-primary);
            box-shadow: 0 0 0 3px rgba(91, 141, 238, 0.1);
            outline: none;
        }

        /* Footer */
        footer {
            background: var(--section-bg);
            padding: 30px 0;
            text-align: center;
            border-top: 1px solid var(--border-color);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-content {
                text-align: center;
                margin-bottom: 3rem;
            }

            .hero-subtitle {
                margin: 0 auto 3rem;
            }

            .timeline::before {
                left: 30px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 80px !important;
                padding-right: 20px !important;
                left: 0 !important;
            }

            .timeline-dot {
                left: 20px !important;
            }

            .stats-grid,
            .media-grid,
            .projects-grid {
                grid-template-columns: 1fr;
            }
        }

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

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.8s ease-out;
        }

        /* Google Translate customization */
        #google_translate_element {
            display: inline-block;
        }

        .goog-te-gadget {
            font-family: inherit !important;
        }

        .goog-te-gadget-simple {
            background-color: transparent !important;
            border: 1px solid var(--border-color) !important;
            padding: 8px 12px !important;
            border-radius: 6px !important;
        }

        .goog-te-gadget-simple span {
            color: var(--text-secondary) !important;
        }

        .ai-assistant-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 10px;
        }

        .ai-assistant-btn {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 24px;
            background: linear-gradient(135deg, #5b8dee 0%, #3a6ff1 100%);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            box-shadow: 0 4px 20px rgba(91, 141, 238, 0.4);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .ai-assistant-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .ai-assistant-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(91, 141, 238, 0.6);
            color: white;
        }

        .ai-assistant-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .ai-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            animation: pulse-icon 2s infinite;
        }

        .ai-text {
            font-weight: 600;
            font-size: 15px;
            letter-spacing: 0.3px;
            white-space: nowrap;
        }

        .ai-tooltip {
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 14px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
            pointer-events: none;
            white-space: nowrap;
        }

        .ai-assistant-container:hover .ai-tooltip {
            opacity: 1;
            transform: translateY(0);
        }

        /* Animação de pulse no ícone */
        @keyframes pulse-icon {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.1);
            }

            100% {
                transform: scale(1);
            }
        }

        /* Animação de entrada */
        .ai-assistant-container {
            animation: slideInUp 0.5s ease-out;
        }

        @keyframes slideInUp {
            from {
                transform: translateY(100px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* Responsivo para Mobile */
        @media (max-width: 768px) {
            .ai-assistant-container {
                bottom: 20px;
                right: 20px;
            }

            .ai-assistant-btn {
                padding: 14px 20px;
            }

            .ai-text {
                font-size: 14px;
            }

            .ai-tooltip {
                font-size: 12px;
                padding: 6px 12px;
            }
        }

        /* Telas muito pequenas - apenas ícone */
        @media (max-width: 480px) {
            .ai-assistant-container {
                bottom: 15px;
                right: 15px;
            }

            .ai-assistant-btn {
                padding: 12px;
                border-radius: 50%;
                width: 56px;
                height: 56px;
                justify-content: center;
            }

            .ai-text {
                display: none;
            }

            .ai-icon {
                width: 24px;
                height: 24px;
            }
        }

        /* Efeito de brilho adicional */
        .ai-assistant-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg,
                    transparent 30%,
                    rgba(255, 255, 255, 0.1) 50%,
                    transparent 70%);
            transform: rotate(45deg) translateY(100%);
            transition: transform 0.8s;
        }

        .ai-assistant-btn:hover::after {
            transform: rotate(45deg) translateY(-100%);
        }

        /* Dark mode compatibility */
        @media (prefers-color-scheme: dark) {
            .ai-assistant-btn {
                background: linear-gradient(135deg, #3a6ff1 0%, #5b8dee 100%);
            }
        }