/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais - Tema Digital Unique */
    --bg-primary: #000008;
    --bg-secondary: #0a0a15;
    --bg-tertiary: #111122;
    
    /* Cores neon únicas */
    --neon-cyan: #00ffff;
    --neon-magenta: #ff00ff;
    --neon-electric: #00d4ff;
    --neon-violet: #7c3aed;
    --neon-orange: #ff6b35;
    
    /* Cores de texto melhoradas */
    --text-primary: #f8f9fa;
    --text-secondary: #e9ecef;
    --text-muted: #adb5bd;
    
    /* Cores de acento */
    --accent-1: #ff6b6b;
    --accent-2: #4ecdc4;
    
    /* Tema claro */
    --bg-primary-light: #ffffff;
    --bg-secondary-light: #f8f9fa;
    --bg-tertiary-light: #e9ecef;
    --text-primary-light: #212529;
    --text-secondary-light: #495057;
    --text-muted-light: #6c757d;
    
    /* Fontes */
    --font-primary: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.5);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

.code-block {
    font-family: var(--font-code);
    font-size: 2rem;
    color: var(--neon-blue);
    animation: pulse 1.5s infinite;
}

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

/* Navegação */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    font-family: var(--font-code);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neon-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-normal);
}

/* Botão de alternância de tema */
.theme-toggle {
    background: none;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
}

.theme-toggle:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    transform: scale(1.1);
}

/* Tema claro */
body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .nav-link {
    color: var(--text-primary) !important;
}

body.light-theme .nav-logo span {
    color: var(--text-primary) !important;
}

body.light-theme .section {
    background: var(--bg-primary);
    color: var(--text-primary);
}

body.light-theme .hero {
    background: var(--bg-primary);
}

body.light-theme .hero-title .highlight {
    background: linear-gradient(135deg, #0066cc, #6600cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .project-image {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    opacity: 0.8;
}

body.light-theme .code-window {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-theme .nav-link::after {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

body.light-theme #particles {
    opacity: 0.3;
}

body.light-theme #neural-network {
    background: radial-gradient(circle at 25% 25%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
                var(--bg-primary-light);
}

body.light-theme .neural-node {
    background: radial-gradient(circle, rgba(0, 150, 100, 0.6) 0%, rgba(0, 150, 100, 0.1) 70%, transparent 100%);
    box-shadow: 0 0 15px rgba(0, 150, 100, 0.3);
}

body.light-theme .neural-node.purple {
    background: radial-gradient(circle, rgba(120, 80, 200, 0.6) 0%, rgba(120, 80, 200, 0.1) 70%, transparent 100%);
    box-shadow: 0 0 15px rgba(120, 80, 200, 0.3);
}

body.light-theme .neural-connection {
    background: linear-gradient(90deg, 
        rgba(0, 150, 100, 0.2) 0%, 
        rgba(0, 150, 180, 0.25) 50%, 
        rgba(120, 80, 200, 0.2) 100%);
}

body.light-theme .code-matrix {
    color: rgba(0, 150, 100, 0.4);
}

body.light-theme .skill-item {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .experience-item {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

body.light-theme .blog-item {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

body.light-theme .contact-item {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .btn-primary {
    background: linear-gradient(135deg, #0066cc, #6600cc);
    border: none;
}

body.light-theme .btn-secondary {
    background: transparent;
    border: 2px solid #0066cc;
    color: #0066cc;
}

body.light-theme .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

/* Partículas de fundo */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Neural Network Background */
#neural-network {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 25% 25%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                var(--bg-primary);
}

/* Professional Code Background */
#professional-bg {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
    overflow: hidden;
}

#code-canvas {
    width: 100%;
    height: 100%;
    background: transparent;
}

#floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, 
        rgba(0, 212, 255, 0.3), 
        rgba(139, 92, 246, 0.3));
    border: 1px solid rgba(0, 212, 255, 0.5);
    animation: float-cube 8s infinite ease-in-out;
    transform-style: preserve-3d;
}

.floating-cube::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 5px;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, 
        rgba(0, 255, 136, 0.2), 
        rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(0, 255, 136, 0.4);
    transform: rotateX(45deg) rotateY(-45deg);
}

.floating-hex {
    position: absolute;
    width: 30px;
    height: 26px;
    background: rgba(0, 212, 255, 0.2);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: float-hex 6s infinite ease-in-out;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.floating-circle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, 
        rgba(0, 255, 136, 0.4), 
        rgba(0, 255, 136, 0.1));
    border-radius: 50%;
    animation: float-circle 10s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.code-fragment {
    position: absolute;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: rgba(0, 212, 255, 0.4);
    animation: code-drift 12s infinite linear;
    white-space: nowrap;
}

@keyframes float-cube {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotateX(90deg) rotateY(45deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotateX(180deg) rotateY(90deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) rotateX(270deg) rotateY(135deg);
        opacity: 0.5;
    }
}

@keyframes float-hex {
    0%, 100% {
        transform: translateX(0px) rotate(0deg);
        opacity: 0.4;
    }
    33% {
        transform: translateX(-15px) rotate(120deg);
        opacity: 0.7;
    }
    66% {
        transform: translateX(15px) rotate(240deg);
        opacity: 0.6;
    }
}

@keyframes float-circle {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-25px) scale(1.3);
        opacity: 0.8;
    }
}

@keyframes code-drift {
    0% {
        transform: translateX(100vw) translateY(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(-100px) translateY(-20px);
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    #professional-bg {
        width: 100%;
        opacity: 0.5;
    }
    
    .floating-cube, .floating-hex {
        display: none;
    }
}

/* Tema claro */
body.light-theme #professional-bg {
    opacity: 0.3;
}

body.light-theme .floating-cube {
    background: linear-gradient(45deg, 
        rgba(0, 100, 150, 0.2), 
        rgba(100, 60, 180, 0.2));
    border-color: rgba(0, 100, 150, 0.4);
}

body.light-theme .code-fragment {
    color: rgba(0, 100, 150, 0.3);
}

/* Seção Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 20px 0 20px; /* Aumentado padding-top para não cortar o título */
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 1.5rem 0 1rem 0;
    /* Melhorado: texto mais visível com cor sólida e sombra */
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(0, 212, 255, 0.4);
    line-height: 1.2;
}

.typing-animation {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--neon-blue);
    white-space: nowrap;
    animation: typing 3s steps(20) infinite;
}

@keyframes typing {
    0%, 90%, 100% {
        width: 0;
    }
    30%, 60% {
        width: 100%;
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.highlight {
    /* Melhorado para melhor visibilidade e destaque */
    color: var(--neon-green);
    font-weight: 700;
    text-shadow: 
        0 0 15px var(--neon-green),
        0 0 25px var(--neon-green),
        0 0 35px rgba(0, 255, 127, 0.5);
    animation: neonGlow 2s ease-in-out infinite alternate;
}

/* Animação de brilho neon para o nome */
@keyframes neonGlow {
    from {
        text-shadow: 
            0 0 15px var(--neon-green),
            0 0 25px var(--neon-green),
            0 0 35px rgba(0, 255, 127, 0.5);
    }
    to {
        text-shadow: 
            0 0 20px var(--neon-green),
            0 0 30px var(--neon-green),
            0 0 40px var(--neon-green),
            0 0 50px rgba(0, 255, 127, 0.8);
    }
}

/* Animações para mensagens de contato */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Estatísticas rápidas no hero */
.hero-stats-quick {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-quick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-quick-number {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Courier New', monospace;
}

.stat-quick-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.greeting {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
}

.btn-secondary:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    transform: translateY(-2px) scale(1.05);
}

.btn-outline-hero {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.btn-outline-hero:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px) scale(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--neon-blue);
    transform: translateY(-3px);
}

/* Visual do Hero */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 500px;
}

.window-header {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-buttons {
    display: flex;
    gap: 8px;
}

.btn-close,
.btn-minimize,
.btn-maximize {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close {
    background: #ff5f56;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #27ca3f;
}

.window-title {
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.code-content {
    padding: 20px;
    font-family: var(--font-code);
    position: relative;
    min-height: 200px;
}

#typing-code {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: var(--neon-blue);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    animation: float 3s ease-in-out infinite;
}

.scroll-arrow {
    margin-top: 8px;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

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

/* Seções */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-number {
    font-family: var(--font-code);
    color: var(--neon-blue);
    font-size: 1.5rem;
}

/* Seção Sobre */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--neon-blue);
}

.github-stats {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.github-stats h4 {
    color: var(--neon-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 0.2rem;
}

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

.project-meta {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-meta small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.stars {
    background: var(--accent-1) !important;
    color: var(--text-primary) !important;
}

/* Seção Experiência */
.experience {
    background: var(--bg-secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-purple));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: center;
}

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

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

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    z-index: 2;
}

.timeline-content {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: calc(50% - 40px);
    position: relative;
    transition: var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--neon-blue);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: var(--bg-tertiary);
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: var(--bg-tertiary);
    transform: translateY(-50%);
}

.timeline-date {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-skills span {
    background: var(--bg-secondary);
    color: var(--neon-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Responsividade da Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        left: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
        border-right-color: var(--bg-tertiary) !important;
        border-left-color: transparent !important;
    }
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-category h4 {
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.tech-item:hover {
    color: var(--neon-blue);
    transform: translateX(5px);
}

.tech-item i {
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-blue);
    border-radius: 12px;
    z-index: -1;
}

/* Seção Habilidades */
.skills-content {
    display: grid;
    gap: 4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Adicionado fundo borrado para seção Estudando Atualmente */
.skill-category {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(124, 58, 237, 0.05));
    pointer-events: none;
}

.skill-category:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.skill-category h3 {
    /* Melhorado para melhor visibilidade */
    color: #ffffff;
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem; /* Aumentado para melhor legibilidade */
    font-weight: 600; /* Fonte mais pesada */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative; /* Para ficar acima do ::before */
    z-index: 1;
}

.skill-category h3::before {
    content: '';
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.skill-item:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.1);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-percentage {
    font-size: 0.9rem;
    color: var(--neon-blue);
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 20px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff 0%, #8b5cf6 50%, #00ff88 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6), inset 0 1px 3px rgba(255, 255, 255, 0.3);
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
    animation: shimmer 3s infinite;
}

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

.skills-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.summary-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--neon-blue);
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.summary-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.summary-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Seção Projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.project-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.project-link:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.featured-tag {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: var(--bg-tertiary);
    color: var(--neon-blue);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: var(--font-code);
}

/* Novos estilos para os projetos do GitHub */
.project-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.project-icon i {
    font-size: 2rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.tech-tag {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple)) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars-tag {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #000 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.stars-tag i {
    margin-right: 4px;
}

.project-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--neon-blue);
}

/* Loading e estado vazio */
.loading-projects {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading-projects i {
    font-size: 2rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.no-projects {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.no-projects i {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    display: block;
}

/* Indicador do GitHub */
.github-indicator {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
}

.github-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.github-badge:hover {
    border-color: var(--neon-blue);
    transform: translateY(-2px);
}

.github-badge i {
    color: var(--neon-blue);
    font-size: 1.2rem;
}

.more-projects {
    text-align: center;
}

/* Seção Blog */
.blog {
    background: var(--bg-secondary);
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.blog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--neon-blue);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.filter-btn i {
    font-size: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.blog-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.read-more-btn {
    background: var(--neon-blue);
    border: none;
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.read-more-btn:hover {
    background: var(--neon-purple);
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-tertiary);
    color: var(--neon-blue);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Animações do blog */
@keyframes blogCardIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card.animate-in {
    animation: blogCardIn 0.6s ease forwards;
}

/* Seção Contato */
.contact {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.contact-method:hover {
    background: var(--bg-tertiary);
    color: var(--neon-blue);
}

.contact-method i {
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--bg-primary);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--neon-blue);
}

/* Responsividade */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card.featured {
        grid-column: span 1;
        display: block;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        max-width: 250px;
    }
    
    .tech-stack {
        grid-template-columns: 1fr;
    }
}

/* Animações personalizadas */
@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.animate-slide-left {
    animation: slideInLeft 0.8s ease;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease;
}

.animate-slide-up {
    animation: slideInUp 0.8s ease;
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidden {
    display: none !important;
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Neural Network 3D Styles */
.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.8) 0%, rgba(0, 255, 136, 0.2) 70%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    animation: pulse-node 3s infinite ease-in-out;
}

.neural-node.purple {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.8) 0%, rgba(139, 92, 246, 0.2) 70%, transparent 100%);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 255, 136, 0.3) 0%, 
        rgba(0, 212, 255, 0.4) 50%, 
        rgba(139, 92, 246, 0.3) 100%);
    transform-origin: left center;
    opacity: 0;
    animation: connect-pulse 4s infinite ease-in-out;
}

.neural-floating {
    position: absolute;
    width: 12px;
    height: 12px;
    background: conic-gradient(from 0deg, 
        rgba(0, 255, 136, 0.6), 
        rgba(0, 212, 255, 0.6), 
        rgba(139, 92, 246, 0.6), 
        rgba(0, 255, 136, 0.6));
    border-radius: 50%;
    animation: float-rotate 8s infinite linear;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

@keyframes pulse-node {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes connect-pulse {
    0%, 100% {
        opacity: 0;
        transform: scaleX(0);
    }
    25% {
        opacity: 0.6;
        transform: scaleX(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    75% {
        opacity: 0.6;
        transform: scaleX(0.5);
    }
}

@keyframes float-rotate {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Code Matrix Effect */
.code-matrix {
    position: absolute;
    font-family: var(--font-code);
    font-size: 14px;
    color: rgba(0, 255, 136, 0.3);
    white-space: nowrap;
    animation: matrix-fall 10s infinite linear;
    opacity: 0.7;
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Hero Tech Icons */
.hero-tech-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.tech-icon:hover::before {
    left: 100%;
}

.tech-icon:hover {
    transform: translateY(-10px) scale(1.1);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.tech-icon i {
    font-size: 2rem;
    color: var(--neon-blue);
    transition: all var(--transition-normal);
}

.tech-icon:hover i {
    color: var(--neon-green);
    transform: scale(1.2);
}

.tech-icon::after {
    content: attr(data-tech);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    color: var(--neon-blue);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0;
    transition: all var(--transition-normal);
    pointer-events: none;
    white-space: nowrap;
}

.tech-icon:hover::after {
    bottom: -35px;
    opacity: 1;
}

/* Animação dos ícones */
.tech-icon {
    animation: float-tech 3s ease-in-out infinite;
}

.tech-icon:nth-child(2n) {
    animation-delay: 0.5s;
}

.tech-icon:nth-child(3n) {
    animation-delay: 1s;
}

.tech-icon:nth-child(4n) {
    animation-delay: 1.5s;
}

@keyframes float-tech {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsividade dos ícones tech */
@media (max-width: 768px) {
    .hero-tech-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        max-width: 300px;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
    }
    
    .tech-icon i {
        font-size: 1.5rem;
    }
}

/* Profile Image */
.hero-profile {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: profile-glow 3s ease-in-out infinite alternate;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.profile-image:hover img {
    transform: scale(1.1);
}

.profile-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.placeholder-avatar {
    color: white;
    font-size: 4rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.profile-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: conic-gradient(
        var(--neon-blue),
        var(--neon-purple),
        var(--neon-green),
        var(--neon-blue)
    );
    z-index: -1;
    animation: rotate-glow 4s linear infinite;
    opacity: 0.8;
}

@keyframes profile-glow {
    0% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 50px rgba(0, 212, 255, 0.8), 0 0 70px rgba(139, 92, 246, 0.4);
    }
}

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

/* Responsividade da foto */
@media (max-width: 768px) {
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .hero-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-item i {
    font-size: 2rem;
    color: var(--neon-blue);
}

.stat-item h4 {
    margin: 0;
    color: var(--neon-blue);
    font-size: 1.2rem;
}

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

.about-goals {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.about-goals h4 {
    color: var(--neon-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-goals ul {
    list-style: none;
}

.about-goals li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.about-goals li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--neon-green);
}

/* Skills - Studying Items - MELHORADO PARA MELHOR VISIBILIDADE */
.studying-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem; /* Aumentado o gap para melhor espaçamento */
    margin-top: 1rem;
    position: relative; /* Para ficar acima do fundo borrado */
    z-index: 1;
}

.studying-tag {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: #ffffff;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.studying-tag.graduate {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: graduateGlow 3s infinite;
}

@keyframes graduateGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
}

.studying-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.studying-tag.graduate:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.experience-item {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.experience-item.featured {
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(0, 212, 255, 0.05));
}

.experience-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.collab-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(139, 92, 246, 0.2);
    color: var(--neon-purple);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 1rem;
    border: 1px solid var(--neon-purple);
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.experience-item:hover::before {
    transform: scaleX(1);
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--neon-blue);
}

.experience-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.experience-icon i {
    font-size: 1.5rem;
    color: white;
}

.experience-content h3 {
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.experience-tech {
    color: var(--neon-purple);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.experience-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.experience-links a:hover {
    color: var(--neon-purple);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-item {
    background: var(--bg-tertiary);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all var(--transition-normal);
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--neon-blue);
}

.blog-image {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 3rem;
    color: white;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--neon-green);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 {
    color: var(--text-primary);
    margin: 0.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.blog-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(0, 212, 255, 0.2);
    color: var(--neon-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* GitHub Stats */
.github-stats {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    text-align: center;
}

.github-stats h3 {
    color: var(--neon-blue);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-tertiary);
    padding: 2rem 1rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all var(--transition-normal);
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

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

.github-profile-link {
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

/* Contact Info Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    border-color: var(--neon-blue);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--neon-blue);
    min-width: 40px;
}

.contact-item h4 {
    margin: 0 0 0.2rem 0;
    color: var(--neon-blue);
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

/* Responsividade para novas seções */
@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .studying-items {
        justify-content: center;
    }
    
    .github-stats {
        padding: 2rem 1rem;
    }
}

/* ===============================================
   DIGITAL DEVELOPER MATRIX - TEMA ÚNICO
   =============================================== */

/* Background Digital Matrix */
#digital-matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at center, 
        rgba(0, 20, 40, 0.8) 0%, 
        rgba(0, 0, 8, 0.95) 70%, 
        #000008 100%);
}

#matrix-canvas, #hex-canvas, #particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Digital DNA Sequence Loader Único */
.dna-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(0, 20, 40, 0.95) 0%, 
        rgba(0, 0, 8, 0.98) 70%, 
        #000008 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: all 1.5s ease;
    overflow: hidden;
}

.dna-loader.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.dna-container {
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 800px;
}

.dna-title {
    margin-bottom: 2rem;
}

.dna-text {
    font-family: var(--font-code);
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, 
        var(--neon-cyan), 
        var(--neon-magenta), 
        var(--neon-violet),
        var(--neon-cyan));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: dnaGradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    margin: 0;
}

@keyframes dnaGradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.dna-subtitle {
    font-family: var(--font-code);
    font-size: 1.2rem;
    color: var(--neon-cyan);
    margin: 0.5rem 0 0 0;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

.dna-helix-container {
    position: relative;
    height: 300px;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#dna-canvas {
    width: 100%;
    height: 100%;
    max-width: 500px;
}

.dna-info {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.dna-code {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.code-line {
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: var(--neon-magenta);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
    animation: binaryFlicker 1.5s ease-in-out infinite;
}

.code-line:nth-child(2) {
    animation-delay: 0.5s;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.code-line:nth-child(3) {
    animation-delay: 1s;
    color: var(--neon-violet);
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.8);
}

@keyframes binaryFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.dna-progress {
    margin-top: 2rem;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-family: var(--font-code);
}

#progress-percentage {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

#progress-status {
    color: var(--neon-magenta);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
    animation: statusPulse 1s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.progress-bar-container {
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    border: 2px solid var(--neon-cyan);
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.progress-bar-dna {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--neon-cyan) 0%, 
        var(--neon-magenta) 30%,
        var(--neon-violet) 60%, 
        var(--neon-cyan) 100%);
    background-size: 200% 100%;
    border-radius: 20px;
    width: 0%;
    position: relative;
    animation: 
        dnaProgressLoad 5s ease-out forwards,
        dnaProgressFlow 2s linear infinite;
    box-shadow: 
        0 0 25px rgba(0, 255, 255, 0.8),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes dnaProgressLoad {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes dnaProgressFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Responsividade para DNA Loader */
@media (max-width: 768px) {
    .dna-text {
        font-size: 2.5rem;
    }
    
    .dna-subtitle {
        font-size: 1rem;
    }
    
    .dna-helix-container {
        height: 250px;
    }
    
    .dna-info {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 1rem;
    }
    
    .code-line {
        font-size: 0.8rem;
    }
}

/* Efeitos únicos nos elementos existentes */
.hero-title .highlight {
    background: linear-gradient(45deg, 
        var(--neon-cyan), 
        var(--neon-magenta), 
        var(--neon-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Navegação com tema único */
.navbar {
    background: rgba(0, 0, 8, 0.95) !important;
    border-bottom: 2px solid var(--neon-cyan);
    box-shadow: 0 5px 30px rgba(0, 255, 255, 0.3);
}

.nav-logo a {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    position: relative;
    transition: all var(--transition-normal);
}

.nav-link:hover {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

/* Botões com tema único */
.btn-primary {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-violet)) !important;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

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

.btn-secondary {
    background: transparent !important;
    border: 2px solid var(--neon-magenta) !important;
    color: var(--neon-magenta) !important;
}

.btn-secondary:hover {
    background: var(--neon-magenta) !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5) !important;
}

/* ===============================================
   FOTO DE PERFIL CENTRALIZADA
   =============================================== */

.hero-profile-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

.hero-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
}

.profile-image-center {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--neon-cyan);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.6),
        0 0 60px rgba(0, 255, 255, 0.3),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
    animation: profilePulse 3s ease-in-out infinite alternate;
}

@keyframes profilePulse {
    0% {
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.6),
            0 0 60px rgba(0, 255, 255, 0.3),
            inset 0 0 30px rgba(0, 255, 255, 0.1);
        transform: scale(1);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(255, 0, 255, 0.7),
            0 0 80px rgba(255, 0, 255, 0.4),
            inset 0 0 40px rgba(255, 0, 255, 0.2);
        transform: scale(1.05);
    }
}

.profile-image-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image-center:hover img {
    transform: scale(1.1);
}

.profile-image-center .profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--neon-cyan),
        var(--neon-magenta),
        var(--neon-violet),
        var(--neon-orange),
        var(--neon-cyan)
    );
    z-index: -1;
    animation: rotateGlow 4s linear infinite;
    opacity: 0.7;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-image-center .placeholder-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    color: var(--bg-primary);
    font-size: 4rem;
}

/* ===============================================
   MELHORIAS NA LEGIBILIDADE DO TEXTO
   =============================================== */

/* Títulos mais legíveis */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Centralização do título principal */
.hero-title.text-center {
    text-align: center !important;
    margin-bottom: 2rem !important;
}

/* Ícones de tecnologia com fundo borrado */
.hero-tech-icons {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

.tech-icon {
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 15px !important;
    border: 2px solid rgba(0, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 0 15px rgba(0, 255, 255, 0.1) !important;
}

.tech-icon:hover {
    transform: translateY(-10px) scale(1.05) !important;
    border-color: var(--neon-cyan) !important;
    box-shadow: 
        0 15px 40px rgba(0, 255, 255, 0.4),
        inset 0 0 25px rgba(0, 255, 255, 0.2) !important;
}

.tech-icon i {
    font-size: 2.5rem !important;
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
}

.tech-icon:hover i {
    color: var(--neon-magenta) !important;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.9) !important;
    transform: scale(1.1) !important;
}

/* Parágrafos mais legíveis */
p {
    color: var(--text-secondary) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
    line-height: 1.8 !important;
}

/* Descrições com melhor contraste */
.hero-description {
    color: var(--text-secondary) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 1.5rem !important;
    border-radius: 15px !important;
    border: 2px solid rgba(0, 255, 255, 0.4) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 255, 255, 0.1) !important;
}

/* Links da navegação mais legíveis */
.nav-link {
    color: var(--text-primary) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    font-weight: 500 !important;
}

/* Textos de seções com melhor legibilidade */
.section-title {
    color: var(--text-primary) !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9) !important;
}

.section-description {
    color: var(--text-secondary) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Cards com melhor legibilidade */
.card, .project-card, .skill-card {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
}

.card h3, .project-card h3, .skill-card h3 {
    color: var(--neon-cyan) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
}

.card p, .project-card p, .skill-card p {
    color: var(--text-secondary) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}