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

html {
    overflow-x: hidden;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #6366f1;
    --accent-secondary: #10b981;
    --card-bg: rgba(255, 255, 255, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* Animated Background */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    transition: opacity 3s ease, visibility 3s ease;
}

.gradient-bg {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 20% 50%, var(--accent-primary) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, var(--accent-secondary) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, #ec4899 0%, transparent 50%);
    opacity: 0.3;
    animation: gradient-shift 20s ease infinite;
    filter: blur(100px);
    pointer-events: none;
}

@keyframes gradient-shift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.5); }
}

/* Floating Code Particles */
.code-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    color: var(--accent-primary);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    opacity: 0.3;
    animation: float-up 12s linear infinite;
    pointer-events: none;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Content */
.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1000px;
    padding: 0 20px;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 3s ease infinite;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
}

@keyframes gradient-text {
    0%, 100% { filter: hue-rotate(0deg) drop-shadow(0 0 30px rgba(99, 102, 241, 0.5)); }
    50% { filter: hue-rotate(30deg) drop-shadow(0 0 40px rgba(99, 102, 241, 0.7)); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    opacity: 0;
    animation: fade-in-up 1s ease forwards 0.5s;
}

.typewriter {
    display: inline-block;
    border-right: 3px solid var(--accent-primary);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Buttons */
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    opacity: 0;
    animation: fade-in-up 1s ease forwards 1.5s;
}

.btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

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

.btn-secondary:hover {
    background: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: fade-in 1s ease 2s both, bounce 2s ease-in-out 3s infinite;
    transition: opacity 0.5s ease;
    z-index: 100;
    pointer-events: auto;
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-primary);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mouse:hover {
    border-color: var(--accent-secondary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.mouse:hover .wheel {
    background: var(--accent-secondary);
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-down 2s ease infinite;
}

@keyframes scroll-down {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scroll-indicator p {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: fade-in 1s ease 2.2s both;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0.95;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 50px;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Section Styles */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    
}

section:not(.hero) {
    z-index: 1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

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

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover APENAS para cards do grid principal (não do carrossel) */
.projects-grid .project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 35px 70px rgba(99, 102, 241, 0.3);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    position: relative;
    overflow: hidden;
}

.project-image img {
position: absolute;
    width: 479px;
    top: -3px;
    left: -5px;
    height: 251px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-links {
position: absolute;
    display: flex;
    gap: 20px;
    top: 192px;
}

.project-link {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
}

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

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

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    padding: 5px 15px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--accent-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-primary);
}

/* NOVOS ESTILOS PARA O CARROSSEL */
.more-projects-section {
    margin-top: 100px;
    position: relative;
}

.carousel-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

/* Wrapper para adicionar padding extra ao carrossel */
.carousel-wrapper {
    padding: 20px 0;
    overflow: visible;
}

/* Customização do Glide */
.glide {
    position: relative;
    max-width: 1200px;
    height: 700px;
    margin: 0 auto;
}

.glide__track {
    overflow: hidden;
    border-radius: 20px;
}

.glide__slides {
    display: flex;
    height: 620px;
    align-items: stretch;
}

.glide__slide {
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

/* Override do hover APENAS para cards dentro do carrossel */
.glide__slide .project-card {
    transition: all 0.3s ease;
}

.glide__slide .project-card:hover {
    /* Remove translateY, usa apenas borda e shadow aprimorados */
    transform: none !important;
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    border-width: 2px;
}

/* Garante que os cards no carrossel tenham a mesma altura */
.glide__slide .project-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.glide__slide .project-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.glide__slide .project-description {
    flex-grow: 1;
}

/* Botões de navegação customizados */
.glide__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.glide__arrow {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    z-index: 2;
}

.glide__arrow:hover {
    background: var(--accent-secondary);
 
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.glide__arrow--left {
    left: -25px;
}

.glide__arrow--right {
    right: -25px;
}

.glide__arrow svg {
    width: 24px;
    height: 24px;
}

/* Bullets customizados */
.glide__bullets {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.glide__bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glide__bullet:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.glide__bullet--active {
    background: var(--accent-primary);
    width: 30px;
    border-radius: 5px;
}

/* Skills Section - New Design */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.skill-card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
    pointer-events: none;
}

.skill-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.skill-card:hover::before {
    opacity: 0.1;
}

.skill-card:hover::after {
    animation: shine 0.5s ease-in-out;
}

@keyframes shine {
    0% {
        top: -50%;
        left: -50%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 150%;
        left: 150%;
        opacity: 0;
    }
}

/* Skill tooltip */
.skill-card {
    position: relative;
}

.skill-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.skill-card:hover .skill-tooltip {
    top: -45px;
    opacity: 1;
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.skill-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon svg {
    transform: scale(1.2) rotate(5deg);
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.skill-level {
    display: flex;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.level-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.level-dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.skill-card:hover .level-dot {
    animation: pulse 1s ease infinite;
}

.skill-card:hover .level-dot:nth-child(1) { animation-delay: 0s; }
.skill-card:hover .level-dot:nth-child(2) { animation-delay: 0.1s; }
.skill-card:hover .level-dot:nth-child(3) { animation-delay: 0.2s; }
.skill-card:hover .level-dot:nth-child(4) { animation-delay: 0.3s; }
.skill-card:hover .level-dot:nth-child(5) { animation-delay: 0.4s; }

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

.skill-card:hover .level-dot.active {
    background: var(--accent-secondary);
}

/* Skill Categories Tabs */
.skill-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.skill-tab {
    padding: 12px 30px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transition: left 0.5s ease;
}

.skill-tab:hover::before {
    left: 100%;
}

.skill-tab.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-color: transparent;
}

.skill-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Alternative: Hexagon Grid */
.skills-hexagon {
    display: none;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 60px auto;
}

.hex {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 10px;
    transform: rotate(30deg);
    overflow: hidden;
    visibility: hidden;
}

.hex::before,
.hex::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    visibility: visible;
}

.hex::before {
    transform: rotate(60deg);
}

.hex::after {
    transform: rotate(-60deg);
}

.hex-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    text-align: center;
    visibility: visible;
    z-index: 10;
    width: 100%;
}

.hex:hover::before,
.hex:hover::after {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: var(--accent-primary);
}

.hex:hover {
    transform: rotate(30deg) scale(1.1);
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-primary);
    border: 4px solid var(--bg-primary);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

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

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

.timeline-item:nth-child(odd)::after {
    right: -13px;
}

.timeline-item:nth-child(even)::after {
    left: -13px;
}

.timeline-content {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.timeline-date {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

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

.timeline-company {
    color: var(--accent-secondary);
    margin-bottom: 15px;
}

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

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-details h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-details a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

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

.form-submit {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        position: fixed;
    }
    
    .gradient-bg {
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
    }
    
    nav {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Responsividade do carrossel */
    .glide__arrow {
        width: 40px;
        height: 40px;
    }

    .glide__arrow--left {
        left: 10px;
    }

    .glide__arrow--right {
        right: 10px;
    }
    
    .skills-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 20px;
    }
    
    .skill-card {
        padding: 20px 15px;
    }
    
    .skill-icon {
        width: 40px;
        height: 40px;
    }
    
    .skill-name {
        font-size: 0.9rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .mouse {
        width: 25px;
        height: 40px;
    }
    
    .scroll-indicator p {
        font-size: 0.75rem;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left !important;
    }
    
    .timeline-item::after {
        left: 21px !important;
        right: auto !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 70px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}