/* ====================================
   RESET E CONFIGURAÇÕES GLOBAIS
==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS para cores e gradientes */
:root {
    /* Cores primárias */
    --primary: #00f5ff;
    --primary-dark: #0066ff;
    --secondary: #ff006e;
    --accent: #8338ec;

    /* Cores neon */
    --neon-blue: #00d4ff;
    --neon-purple: #b967ff;
    --neon-pink: #ff4081;

    /* Cores de background */
    --dark: #0a0a0a;
    --dark-surface: #121212;
    --dark-elevated: #1e1e1e;

    /* Cores de glass/transparência */
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Cores de texto */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);

    /* Gradientes */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-tech: linear-gradient(135deg, var(--neon-blue), var(--accent), var(--neon-pink));
}

/* Configuração de scroll suave */
html {
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Configurações base do body */
body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

/* ====================================
   BACKGROUND ANIMADO
==================================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--dark);
}

.bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Formas geométricas flutuantes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 20s infinite ease-in-out;
    opacity: 0.3;
}

/* Primeira forma - azul */
.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--gradient-3);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

/* Segunda forma - rosa */
.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

/* Terceira forma - verde */
.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--gradient-4);
    bottom: 20%;
    left: 30%;
    animation-delay: -14s;
}

/* Animação das formas flutuantes */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(100px, -100px) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translate(-50px, -150px) rotate(180deg) scale(0.9);
    }

    75% {
        transform: translate(-100px, 50px) rotate(270deg) scale(1.05);
    }
}

/* ====================================
   SISTEMA DE PARTÍCULAS
==================================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-blue);
    border-radius: 50%;
    animation: particleMove 15s infinite linear;
    opacity: 0.6;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Animação das partículas */
@keyframes particleMove {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) translateX(200px);
        opacity: 0;
    }
}

/* ====================================
   CURSOR PERSONALIZADO
==================================== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-blue);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    box-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue);
}

.cursor-trail {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.3), transparent);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

/* ====================================
   NAVEGAÇÃO FLUTUANTE
==================================== */
.nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: row !important;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    opacity: 1;
    visibility: visible;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav.hidden {
    transform: translateX(-50%) translateY(-120px);
    opacity: 0;
    visibility: hidden;
}

.nav-item {
    min-width: 120px;
    height: 50px;
    border-radius: 25px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 0 1rem;
}

/* Efeito de background no hover da navegação */
.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-tech);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Efeitos de hover na navegação */
.nav-item:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-item:hover i {
    transform: scale(1.1);
}

.nav-item:hover span {
    transform: scale(1.05);
}

/* Estado ativo da navegação */
.nav-item.active {
    background: var(--gradient-tech) !important;
    color: var(--dark) !important;
}

/* ====================================
   SEÇÃO HERO
==================================== */
.hero {
    height: 100vh;
    width: 100vw;
    display: grid;
    place-items: center;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Avatar com efeito pulsante */
.hero-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
    background: var(--gradient-tech);
    padding: 4px;
    animation: pulse 2s infinite;
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 3;
    border: 3px solid var(--dark-surface);
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--dark-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.avatar-inner::before {
    content: '👨‍💻';
    z-index: 2;
}

.avatar-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-tech);
    opacity: 0.1;
    z-index: 1;
}

/* Animação de pulso do avatar */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 50px rgba(0, 245, 255, 0.5);
    }

    50% {
        box-shadow: 0 0 100px rgba(0, 245, 255, 0.8), 0 0 150px rgba(139, 92, 246, 0.3);
    }
}

/* Badge de destaque */
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    margin-top: 8rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neon-blue);
    animation: slideDown 1s ease 0.5s both;
}

/* Título principal com gradiente */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 1s ease 0.7s both;
    line-height: 1.1;
}

/* Subtítulo */
.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    animation: slideUp 1s ease 0.9s both;
}

/* Descrição do hero */
.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease 1.1s both;
    line-height: 1.7;
}

/* Botões de call-to-action */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 1.3s both;
}

/* ====================================
   BOTÕES GLOBAIS
==================================== */
.btn {
    position: relative;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

/* Efeito de brilho nos botões */
.btn::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 ease;
}

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

/* Botão primário */
.btn-primary {
    background: var(--gradient-tech);
    color: var(--dark);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.3);
}

/* Botão secundário */
.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-primary);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-secondary::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.6s;
}

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

.btn-secondary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 20px 60px rgba(118, 75, 162, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Efeito hover nos botões */
.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.4);
}

/* Estilo específico para botão de download */
.btn-download {
    position: relative;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000 !important;
}

.btn-download i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-download:hover i {
    transform: translateY(-2px);
    animation: bounce 0.6s infinite;
}

.download-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    pointer-events: none;
}

.btn-download:hover .download-effect {
    width: 300px;
    height: 300px;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounce {

    0%,
    20%,
    60%,
    100% {
        transform: translateY(-2px);
    }

    40% {
        transform: translateY(-8px);
    }

    80% {
        transform: translateY(-4px);
    }
}

/* ====================================
   SEÇÕES GLOBAIS
==================================== */
.section {
    padding: 8rem 2rem 3rem 2rem;
    position: relative;
}

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

/* Cabeçalho das seções */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Badge das seções */
.section-badge {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--neon-blue);
}

/* Títulos das seções */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Descrição das seções */
.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================
   SEÇÃO DE SKILLS
==================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Cards de skills */
.skill-card {
    position: relative;
    padding: 3rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    overflow: hidden;
}

/* Borda superior dos cards */
.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-tech);
}

/* Efeito de luz de fundo */
.skill-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.05), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover nos cards de skill */
.skill-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.2);
}

.skill-card:hover::after {
    opacity: 1;
}

/* Ícone da skill */
.skill-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gradient-tech);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Título da skill */
.skill-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

/* Descrição da skill */
.skill-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Container das tags de skill */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

/* Tags individuais de skill */
.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--dark-elevated);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--neon-blue);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

/* ====================================
   SEÇÃO DE PROJETOS
==================================== */
.projects {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

/* Cards de projetos */
.project-card {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transform-style: preserve-3d;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover 3D nos cards de projeto */
.project-card:hover {
    box-shadow: 0 30px 80px rgba(0, 245, 255, 0.3);
    border-color: var(--neon-blue);
}

/* Imagem/Ícone do projeto */
.project-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-tech);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--dark);
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

/* Estilo para imagens reais dos projetos */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

/* Efeito de brilho na imagem */
.project-image::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 ease;
    z-index: 2;
}

.project-card:hover .project-image::before {
    left: 100%;
}

/* Conteúdo do projeto */
.project-content {
    padding: 1.4rem;
}

/* Título do projeto */
.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: var(--text-primary);
    line-height: 1.3;
}

/* Descrição do projeto */
.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 1rem;
}

/* Container das tecnologias */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

/* Tags de tecnologia */
.tech-tag {
    padding: 0.4rem 0.8rem;
    background: var(--dark-elevated);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--neon-pink);
    border: 1px solid rgba(255, 64, 129, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(255, 64, 129, 0.1);
    border-color: var(--neon-pink);
    transform: translateY(-1px);
}

/* Container das tecnologias dos demais projetos */
.more-project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
}

/* Tags de tecnologia menores para demais projetos */
.more-tech-tag {
    padding: 0.25rem 0.6rem;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--neon-pink);
    border: 1px solid rgba(255, 64, 129, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.more-tech-tag:hover {
    background: rgba(255, 64, 129, 0.1);
    border-color: var(--neon-pink);
    transform: translateY(-1px);
}

/* Links do projeto */
.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

/* Link primário */
.project-link.primary {
    background: var(--gradient-tech);
    color: var(--dark);
}

/* Link secundário */
.project-link.secondary {
    background: var(--glass);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

/* Hover nos links */
.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

/* ====================================
   SEÇÃO DE CONTATO
==================================== */
.contact {
    background: radial-gradient(ellipse at center, rgba(255, 0, 110, 0.05) 0%, transparent 70%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

/* Cards de contato */
.contact-card {
    padding: 2rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

/* Hover nos cards de contato */
.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-pink);
    box-shadow: 0 15px 40px rgba(255, 64, 129, 0.2);
}

/* Ícone do contato */
.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--gradient-tech);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

/* Título do contato */
.contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Texto do contato */
.contact-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ====================================
   ANIMAÇÕES DE ENTRADA
==================================== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Classe para revelação no scroll - TEMPORARIAMENTE DESABILITADA */
.scroll-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Animação de ripple para cliques */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ====================================
   FOOTER
==================================== */
.footer {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    margin-top: 5rem;
    text-align: center;
}

.footer-text p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-text p:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* ====================================
   BOTÃO VOLTAR AO TOPO
==================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: auto;
    min-width: 140px;
    height: 50px;
    border-radius: 25px;
    background: var(--gradient-tech);
    border: none;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    transform: translateY(120px);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0 1.5rem;
}

.back-to-top.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-tech);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 245, 255, 0.4);
    filter: brightness(1.1);
}

.back-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.back-to-top i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

.back-to-top span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ====================================
   RESPONSIVIDADE
==================================== */
/* ====================================
   RESPONSIVIDADE MOBILE (TABLETS E MOBILES)
==================================== */
@media (max-width: 768px) {

    /* Navegação mobile - Reposicionamento */
    .nav {
        top: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row !important;
        gap: 0.3rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        max-width: 98vw;
        padding: 0.3rem 0.5rem;
        border-radius: 30px;
        overflow-x: auto;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav-item {
        min-width: 70px;
        height: 36px;
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.1rem;
    }

    .nav-item i {
        font-size: 0.9rem;
    }

    .nav-item span {
        font-size: 0.65rem;
        font-weight: 500;
    }

    /* Hero mobile - Espaçamento para header */
    .hero {
        height: auto;
        min-height: 100vh;
        width: 100vw;
        display: grid;
        place-items: center;
        padding: 5.5rem 1rem 4rem 1rem;
        margin: 0;
        box-sizing: border-box;
    }

    .hero-content {
        padding: 0 0 2rem 0;
        max-width: 100%;
        text-align: center;
    }

    /* Badge mobile */
    .hero-badge {
        margin-top: 2rem;
        margin-bottom: 2rem;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    /* Botões mobile */
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        z-index: 1;
        position: relative;
    }

    .btn {
        width: 80%;
        max-width: 220px;
        min-width: 120px;
        justify-content: center;
        padding: 0.9rem 1rem;
        font-size: 0.98rem;
        border-radius: 28px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Seções mobile - Espaçamento para header */
    .section {
        padding: 6rem 0.5rem 2.5rem 0.5rem;
        margin-top: 0;
    }

    /* Primeira seção após hero - espaçamento especial */
    .section:first-of-type {
        padding-top: 4rem;
    }

    /* Grids mobile */
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        gap: 1.5rem;
    }

    /* Cards responsivos */
    .project-card {
        margin: 0;
    }

    .project-card .project-content {
        padding: 1.2rem 1rem 1.3rem 1rem;
    }

    .project-links {
        flex-direction: column;
        gap: 0.7rem;
    }

    .project-link {
        width: 100%;
        min-width: 120px;
        max-width: 100%;
        font-size: 0.95rem;
        padding: 1rem 0.5rem;
        border-radius: 30px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Remover efeito 3D no mobile */
    .project-card:hover {
        transform: translateY(-5px);
    }

    /* Títulos mobile */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
}

/* ====================================
   SEÇÃO DEMAIS PROJETOS
==================================== */
.more-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.more-project-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.more-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.2);
    border-color: var(--neon-blue);
}

.more-project-image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-tech);
}

.more-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.more-project-card:hover .more-project-img {
    transform: scale(1.05);
}

.more-project-content {
    padding: 1.5rem;
}

.more-project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.more-project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.more-project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.more-project-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.more-project-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.more-project-link:hover i {
    transform: translateX(3px);
}

/* Responsivo para cards menores */
@media (max-width: 768px) {
    .more-projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .more-project-image {
        height: 150px;
    }

    .more-project-content {
        padding: 1.2rem;
    }

    .more-project-title {
        font-size: 1.1rem;
    }

    .more-project-description {
        font-size: 0.85rem;
    }

    /* Footer responsivo */
    .footer {
        padding: 1rem 0;
        margin-top: 3rem;
    }

    .footer-text p {
        font-size: 0.85rem;
    }

    /* Botão voltar ao topo responsivo */
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        min-width: 120px;
        height: 45px;
        font-size: 0.85rem;
    }

    .nav.hidden {
        transform: translateX(-50%) translateY(-80px);
    }

    /* Container responsivo */
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    /* Footer mobile */
    .footer {
        padding: 2rem 1rem;
        margin-top: 3rem;
    }

    .footer-text p {
        font-size: 0.85rem;
        text-align: center;
    }

    /* Botão voltar ao topo responsivo */
    .back-to-top {
        bottom: 2rem;
        right: 1.5rem;
        min-width: 100px;
        height: 45px;
        font-size: 0.8rem;
        padding: 0.8rem;
    }
}

/* ====================================
   RESPONSIVIDADE MOBILE EXTRA PEQUENO
==================================== */
@media (max-width: 480px) {

    /* Navegação ultra responsiva */
    .nav {
        top: 0.2rem;
        max-width: 99vw;
        gap: 0.2rem;
        padding: 0.2rem 0.3rem;
    }

    .nav-item {
        min-width: 70px;
        height: 35px;
        font-size: 0.7rem;
    }

    .nav-item i {
        font-size: 0.8rem;
    }

    .nav-item span {
        font-size: 0.6rem;
    }

    /* Hero ajustes para telas pequenas */
    .hero {
        padding: 5rem 0.5rem 2rem 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* Seções com menos padding */
    .section {
        padding: 5.5rem 0.2rem 2rem 0.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    /* Cards mais compactos */
    .project-card,
    .skill-item {
        padding: 1rem;
    }

    /* Botões menores */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* ====================================
   RESPONSIVIDADE TABLET
==================================== */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Navegação tablet */
    .nav {
        gap: 1rem;
        max-width: 70vw;
    }

    .nav-item {
        min-width: 110px;
        height: 48px;
    }

    /* Hero tablet */
    .hero {
        padding: 4rem 2rem 2rem 2rem;
    }

    /* Grids tablet */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .more-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Seções tablet */
    .section {
        padding: 5rem 2rem;
    }
}