:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --dark-color: #1a1a2e;
    --light-color: #f4f4f9;
    --gray-color: #e0e0e0;
    --text-color: #dcdcdc;
    --card-bg: #1f1f3a;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; color: var(--light-color); }
h3 { font-size: 1.5rem; color: var(--light-color); }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: var(--secondary-color);
}

section {
    padding: 6rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    border-color: var(--secondary-color);
    color: var(--light-color);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Header */
#main-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(37, 117, 252, 0.2);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#main-header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

#main-header .logo span {
    color: var(--secondary-color);
}

#main-header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

#main-header nav ul li a {
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: var(--transition);
}

#main-header nav ul li a:hover {
    color: var(--secondary-color);
}

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

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #fff;
    margin: 4px 0;
    transition: var(--transition);
}

/* Hero Section com Fundo Tecnológico */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0a0a1a;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Fundo Tecnológico */
.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Grid Lines */
.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(37, 117, 252, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 117, 252, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Circuit Lines */
.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(106, 17, 203, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(37, 117, 252, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(102, 126, 234, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

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

/* Matrix Canvas */
#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

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

/* Animação Glitch para o título */
.glitch-text {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    position: relative;
}

.glitch-line {
    display: block;
    animation: glitch 3s infinite;
    text-shadow: 
        2px 2px 0 rgba(102, 126, 234, 0.7),
        -2px -2px 0 rgba(118, 75, 162, 0.7);
}

.glitch-line:nth-child(2) {
    animation-delay: 0.5s;
}

.glitch-line:nth-child(3) {
    animation-delay: 1s;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
        text-shadow: 
            2px 2px 0 rgba(102, 126, 234, 0.7),
            -2px -2px 0 rgba(118, 75, 162, 0.7);
    }
    91% {
        transform: translate(-2px, 2px);
        text-shadow: 
            4px 0 0 rgba(102, 126, 234, 0.7),
            -4px 0 0 rgba(118, 75, 162, 0.7);
    }
    93% {
        transform: translate(2px, -2px);
        text-shadow: 
            0 4px 0 rgba(102, 126, 234, 0.7),
            0 -4px 0 rgba(118, 75, 162, 0.7);
    }
    95% {
        transform: translate(0);
    }
}

/* Container de digitação */
.typing-container {
    font-size: 1.5rem;
    color: var(--secondary-color);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
}

.typing-text {
    font-weight: 300;
    letter-spacing: 1px;
}

.cursor {
    font-weight: 300;
    animation: blink 1s infinite;
    color: var(--secondary-color);
}

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

/* Partículas tecnológicas */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: float linear infinite;
    box-shadow: 0 0 10px var(--secondary-color);
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

#about {
    text-align: center;
    padding: 4rem 0;
}

.about-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #1f1f3a 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(37, 117, 252, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 2rem auto 0;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 117, 252, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 117, 252, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.about-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 117, 252, 0.4);
    border-color: var(--secondary-color);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 117, 252, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

.about-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(37, 117, 252, 0.6);
}

.about-card:hover .about-icon::before {
    opacity: 0.3;
}

.about-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.about-card:hover p {
    color: #e0e0e0;
}

.about-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}

.about-particles::before,
.about-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 4s ease-in-out infinite;
}

.about-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.about-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.about-card:hover .about-particles::before,
.about-card:hover .about-particles::after {
    opacity: 0.6;
}

.social-links-card a {
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: var(--transition);
    display: inline-block;
}

.social-links-card a:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.2);
}

/* Seção de Projetos Modernizada */
#projects {
    background: var(--card-bg);
    position: relative;
}

.section-title-glow {
    text-align: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4rem;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(118, 75, 162, 0.6));
    }
}

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

.project-card-modern {
    background: linear-gradient(145deg, #1a1a2e 0%, #1f1f3a 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(37, 117, 252, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.project-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.7) 0%, 
        rgba(31, 31, 58, 0.5) 50%, 
        rgba(37, 117, 252, 0.1) 100%
    );
    z-index: 1;
}

.project-card-modern:hover .project-bg-image {
    opacity: 0.20;
}

.project-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 117, 252, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.project-card-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 117, 252, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-card-modern:hover::after {
    opacity: 1;
}

.project-card-modern:hover {
transform: translateY(-15px) scale(1.02);
box-shadow: 0 20px 50px rgba(37, 117, 252, 0.4);
border-color: var(--secondary-color);
}

.project-icon {
width: 80px;
height: 80px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 2rem;
font-size: 2.2rem;
color: white;
box-shadow: 0 10px 25px rgba(37, 117, 252, 0.5);
position: relative;
transition: all 0.3s ease;
z-index: 1;
}

.project-icon::before {
content: '';
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 20px;
z-index: -1;
opacity: 0;
transition: opacity 0.3s ease;
}

.project-card-modern:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(37, 117, 252, 0.6);
}

.project-card-modern:hover .project-icon::before {
    opacity: 0.3;
}

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

.project-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--light-color);
}

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

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.status-badge.development {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border: 1px solid #f39c12;
}

.project-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 80px;
    position: relative;
    z-index: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.tech-tag {
    background: rgba(37, 117, 252, 0.1);
    color: var(--secondary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(37, 117, 252, 0.3);
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.project-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.4);
}

.project-link.disabled {
    background: rgba(100, 100, 100, 0.3);
    color: #888;
    cursor: not-allowed;
    pointer-events: none;
}

.project-link i {
    font-size: 1.2rem;
}

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

.skills-column h3 {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.skills-column ul {
    list-style: none;
}

.skills-column li {
    background: var(--card-bg);
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: var(--border-radius);
}

.skills-column li:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateX(5px);
    border-color: var(--primary-color);
}

/* Seção de Diferenciais */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.diferencial-item {
    background: linear-gradient(145deg, #1a1a2e 0%, #1f1f3a 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(37, 117, 252, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.diferencial-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.diferencial-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.7) 0%, 
        rgba(31, 31, 58, 0.5) 50%, 
        rgba(37, 117, 252, 0.1) 100%
    );
    z-index: 1;
}

.diferencial-item:hover .diferencial-bg-image {
    opacity: 0.20;
}

.diferencial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 117, 252, 0.1), transparent);
    transition: left 0.6s ease;
}

.diferencial-item:hover::before {
    left: 100%;
}

.diferencial-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 117, 252, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.diferencial-item:hover::after {
    opacity: 1;
}

.diferencial-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 117, 252, 0.4);
    border-color: var(--secondary-color);
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 117, 252, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

.diferencial-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diferencial-item:hover .diferencial-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(37, 117, 252, 0.6);
}

.diferencial-item:hover .diferencial-icon::before {
    opacity: 0.3;
}

.diferencial-item h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.4rem;
    color: var(--light-color);
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.diferencial-item:hover h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.diferencial-item p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.diferencial-item:hover p {
    color: #e0e0e0;
}

.diferencial-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}

.diferencial-particles::before,
.diferencial-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 4s ease-in-out infinite;
}

.diferencial-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.diferencial-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.diferencial-item:hover .diferencial-particles::before,
.diferencial-item:hover .diferencial-particles::after {
    opacity: 0.6;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
    80% {
        opacity: 0.6;
    }
}

#contact {
    text-align: center;
    padding: 4rem 0;
padding: 4rem 0;
}

.contact-card {
background: linear-gradient(145deg, #1a1a2e 0%, #1f1f3a 100%);
border-radius: 20px;
padding: 3rem;
border: 1px solid rgba(37, 117, 252, 0.2);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
text-align: center;
position: relative;
overflow: hidden;
max-width: 600px;
margin: 2rem auto 0;
}

.contact-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(37, 117, 252, 0.1), transparent);
transition: left 0.6s ease;
}

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

.contact-card::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(37, 117, 252, 0.05) 0%, transparent 70%);
opacity: 0;
transition: opacity 0.4s ease;
pointer-events: none;
}

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

.contact-card:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0 20px 50px rgba(37, 117, 252, 0.4);
border-color: var(--secondary-color);
}

.contact-icon-large {
width: 80px;
height: 80px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 2rem;
font-size: 2.2rem;
color: white;
box-shadow: 0 10px 25px rgba(37, 117, 252, 0.5);
position: relative;
transition: all 0.3s ease;
}

.contact-icon-large::before {
content: '';
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 50%;
z-index: -1;
opacity: 0;
transition: opacity 0.3s ease;
}

.contact-card:hover .contact-icon-large {
transform: scale(1.1) rotate(5deg);
box-shadow: 0 15px 35px rgba(37, 117, 252, 0.6);
}

.contact-card:hover .contact-icon-large::before {
opacity: 0.3;
}

.contact-card p {
color: var(--text-color);
line-height: 1.7;
margin: 0 0 2rem 0;
font-size: 1.1rem;
position: relative;
z-index: 1;
transition: color 0.3s ease;
}

.contact-card:hover p {
color: #e0e0e0;
}

.contact-particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
overflow: hidden;
border-radius: 20px;
}

.contact-particles::before,
.contact-particles::after {
content: '';
position: absolute;
width: 4px;
height: 4px;
background: var(--secondary-color);
border-radius: 50%;
opacity: 0;
animation: floatParticle 4s ease-in-out infinite;
}

.contact-particles::before {
top: 20%;
left: 20%;
animation-delay: 0s;
}

.contact-particles::after {
top: 60%;
right: 20%;
animation-delay: 2s;
}

.contact-card:hover .contact-particles::before,
.contact-card:hover .contact-particles::after {
opacity: 0.6;
}

.social-links a {
font-size: 2rem;
margin: 0 1rem;
color: var(--light-color);
transition: var(--transition);
display: inline-block;
    transition: var(--transition);
    display: inline-block;
}

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

#contact p {
    margin: 2rem 0;
}

/* Seção de contato melhorada */
.contact-info {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    border: 1px solid #2a2a4a;
    transition: var(--transition);
    min-width: 300px;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    border-color: var(--secondary-color);
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-item a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border-radius: 50%;
    border: 1px solid #2a2a4a;
    transition: var(--transition);
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.contact-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.linkedin-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.linkedin-links .separator {
    color: var(--gray-color);
    margin: 0 5px;
}

#main-footer {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    text-align: center;
    padding: 3rem 0 1.5rem;
    color: var(--text-color);
    border-top: 2px solid rgba(37, 117, 252, 0.3);
    position: relative;
    overflow: hidden;
}

#main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
    animation: codeGlow 2s ease-in-out infinite alternate;
}

@keyframes codeGlow {
    from {
        color: var(--secondary-color);
        text-shadow: 0 0 10px rgba(37, 117, 252, 0.5);
    }
    to {
        color: var(--primary-color);
        text-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
    }
}

.footer-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
}

.footer-text span {
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-text span:hover {
    color: var(--primary-color);
    transform: scale(1.1);
    display: inline-block;
}

.footer-year {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(37, 117, 252, 0.1);
    border: 1px solid rgba(37, 117, 252, 0.3);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.footer-social-link:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social-link:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(37, 117, 252, 0.4);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(37, 117, 252, 0.2);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-bottom .fa-heart {
    color: #e74c3c;
    animation: heartPulse 1.5s ease-in-out infinite;
}

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

/* Media Queries para Responsividade */
@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .menu-toggle {
        display: flex;
    }
    
    #main-header nav {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--card-bg);
        width: 100%;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }
    
    #main-header nav.active {
        max-height: 300px;
        padding: 1rem 0;
    }
    
    #main-header nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    #main-header nav ul li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .glitch-text {
        font-size: 2.5rem;
        gap: 5px;
    }

    .typing-container {
        font-size: 1.1rem;
        height: 40px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .section-title-glow {
        font-size: 2rem;
    }

    .contact-item {
        min-width: auto;
        width: 100%;
        font-size: 1rem;
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        font-size: 1.5rem;
    }

    .linkedin-links {
        flex-direction: column;
        gap: 5px;
    }

    .linkedin-links .separator {
        display: none;
    }

    .about-card,
    .contact-card {
        padding: 2rem;
        margin: 1rem auto 0;
    }

    .about-icon,
    .contact-icon-large,
    .diferencial-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .about-card p,
    .contact-card p {
        font-size: 1rem;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .diferencial-item {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-text {
        font-size: 1.3rem;
    }

    .footer-logo i {
        font-size: 1.8rem;
    }
}

@media(max-width: 480px) {
    .glitch-text {
        font-size: 1.8rem;
    }

    .typing-container {
        font-size: 0.9rem;
    }

    .project-card-modern {
        padding: 1.5rem;
    }

    .project-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}