:root {
    --neon-cyan: #00f7ff;
    --neon-pink: #ff00aa;
    --neon-purple: #9600ff;
    --dark-bg: #0a0a14;
    --darker-bg: #050510;
    --card-bg: rgba(20, 20, 40, 0.6);
    --text-primary: #f0f0ff;
    --text-secondary: #b0b0ff;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.code-font {
    font-family: 'JetBrains Mono', monospace;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
}

/* Efeitos de texto */
.neon-text {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

/* Cards e containers */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(150, 0, 255, 0.4);
    border-color: rgba(150, 0, 255, 0.3);
}

/* Terminal moderno */
.modern-terminal {
    background: rgba(10, 10, 30, 0.8);
    border-radius: 12px;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.2), 
                inset 0 0 20px rgba(0, 247, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.terminal-header {
    background: linear-gradient(90deg, #1a1a3a, #2a2a5a);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 247, 255, 0.2);
}

.terminal-btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 10px;
}

.btn-red { background-color: #ff5f56; }
.btn-yellow { background-color: #ffbd2e; }
.btn-green { background-color: #27c93f; }

.terminal-body {
    padding: 25px;
    font-family: 'JetBrains Mono', monospace;
}

.prompt {
    color: var(--neon-cyan);
}

.command {
    color: var(--text-primary);
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background-color: var(--neon-cyan);
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 5px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Seção de skills avançada */
.skills-section {
    position: relative;
    overflow: hidden;
}

.skill-category {
    margin-bottom: 50px;
}

.skill-category-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
}

.skill-category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    border-radius: 3px;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(30, 30, 60, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent,
        rgba(0, 247, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.skill-item:hover::before {
    opacity: 1;
    animation: shine 1.5s;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 247, 255, 0.2);
    border: 1px solid rgba(0, 247, 255, 0.3);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.skill-name {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.skill-level {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 15px;
    overflow: hidden;
}

.skill-level-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    border-radius: 2px;
}

/* Efeitos de partículas */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(150, 0, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

/* Navbar premium */
.navbar {
    background: rgba(10, 10, 30, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    margin: 0 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Botões premium */
.btn-neon {
    position: relative;
    background: transparent;
    color: var(--text-primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.btn-neon:hover::before {
    opacity: 1;
}

.btn-neon::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--dark-bg);
    border-radius: 50px;
    z-index: -1;
}

.btn-neon:hover {
    color: var(--dark-bg);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Seções */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    border-radius: 2px;
}

/* Responsividade */
@media (max-width: 992px) {
    .skill-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .skill-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }
    
    section {
        padding: 60px 0;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(18, 140, 126, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(18, 140, 126, 0.4);
}

.whatsapp-button i {
    font-size: 36px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background-color: white;
    color: #128C7E;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    right: 70px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button i {
        font-size: 30px;
    }
    
    .whatsapp-tooltip {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .whatsapp-button {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button i {
        font-size: 26px;
    }
}