:root {
    --primary-color: #00f7ff; /* Ciano neon */
    --secondary-color: #ff00aa; /* Rosa neon */
    --dark-color: #0a0a1a; /* Azul escuro quase preto */
    --light-color: #f0f8ff; /* Azul claro quase branco */
    --text-color: #e0e0ff; /* Azul claro para texto */
    --text-light: #a0a0ff; /* Azul mais suave */
    --accent-color: #7b00ff; /* Roxo neon */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 1px 3px rgba(0, 247, 255, 0.3), 0 1px 2px rgba(255, 0, 170, 0.3);
    --shadow-md: 0 10px 20px rgba(0, 247, 255, 0.2), 0 6px 6px rgba(255, 0, 170, 0.2);
    --shadow-lg: 0 14px 28px rgba(0, 247, 255, 0.2), 0 10px 10px rgba(255, 0, 170, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: linear-gradient(-45deg, #0a0a1a, #1a0a2a, #0a1a2a, #0a0a2a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text-color);
    line-height: 1.6;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    margin-right: 10px;
    transition: var(--transition);
}

.logo:hover img {
    transform: rotate(10deg);
}

.logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::before {
    width: 100%;
}

.language-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 30px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.language-toggle:hover {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    top: -300px;
    right: -300px;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content {
    flex: 0 1 55%;
    padding-right: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -5px;
    left: 0;
    border-radius: 2px;
}

.hero h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 400;
}

.hero p {
    margin-bottom: 25px;
    color: var(--text-light);
    max-width: 600px;
    font-size: 1rem;
}

.hero-image {
    flex: 0 1 45%;
    text-align: right;
}

.hero-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
    transition: var(--transition);
}

.hero-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    min-height: 44px;
    min-width: 120px;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.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: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    margin-left: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.btn-trajectory {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    margin-top: 15px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 36px;
}

.btn-trajectory:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-primary);
}

.btn-trajectory::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: 0.5s;
}

.btn-trajectory:hover::before {
    left: 100%;
}

/* Social Icons */
.social-icons {
    display: flex;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    margin-right: 12px;
    margin-bottom: 12px;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    text-decoration: none !important;
    min-height: 44px;
    min-width: 44px;
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(-5px); }
    50% { transform: translateY(5px); }
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: #fff;
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.section-title p {
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.about-text {
    flex: 1;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    z-index: -1;
    animation: borderAnimation 4s linear infinite;
}

.about-text h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 15px;
    color: #000;
    font-size: 1rem;
}

.about-audio {
    margin-top: 25px;
}

.about-audio h4 {
    margin-bottom: 12px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.about-audio h4 i {
    margin-right: 8px;
    color: var(--primary-color);
}

.audio-player {
    width: 100%;
    background-color: white;
    border-radius: 10px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.audio-player:hover {
    box-shadow: var(--shadow-md);
}

audio::-webkit-media-controls-panel {
    background-color: white;
    border-radius: 5px;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
    background-color: var(--primary-color);
    border-radius: 50%;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: var(--text-color);
}

.about-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(0deg);
}

.about-image:hover img {
    transform: perspective(1000px) rotateY(10deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.skill-category {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.skill-category:hover::before {
    height: 100%;
}

.skill-category h3 {
    margin-bottom: 15px;
    color: #000;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
}

.skill-category h3 i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.skill-item {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 500;
    color: #000;
    font-size: 0.95rem;
}

.skill-bar {
    height: 8px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease-out, background 0.3s ease;
}

/* Experience Section */
.experience-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    max-width: 450px;
    margin: 0 auto 35px;
}

.tab-btn {
    padding: 8px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: var(--transition);
    border-radius: 30px;
    z-index: 1;
    min-height: 36px;
}

.tab-btn.active {
    color: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    top: 0;
    left: 0;
    border-radius: 30px;
    z-index: -1;
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 15px 35px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    animation: fadeIn 0.6s ease-out;
}

.timeline-item:nth-child(odd) {
    left: 0;
    animation-delay: 0.2s;
}

.timeline-item:nth-child(even) {
    left: 50%;
    animation-delay: 0.4s;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 25px;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.2);
    transition: var(--transition);
}

.timeline-item:hover::after {
    transform: scale(1.1);
    background: var(--gradient-primary);
    border-color: white;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: white;
    top: 25px;
    transform: rotate(45deg);
    z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -9px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -9px;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.timeline-date i {
    margin-right: 6px;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.timeline-company {
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.timeline-company i {
    margin-right: 6px;
    font-size: 0.85rem;
}

.timeline-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.timeline-description ul {
    padding-left: 18px;
}

.timeline-description li {
    margin-bottom: 6px;
    position: relative;
}

.timeline-description li::before {
    content: '▹';
    position: absolute;
    left: -18px;
    color: var(--primary-color);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    perspective: 1000px;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    z-index: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1) rotate(1deg);
}

.project-info {
    padding: 20px;
    position: relative;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
    transition: var(--transition);
}

.project-card:hover .project-title {
    color: var(--primary-color);
}

.project-description {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tag {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.project-card:hover .project-tag {
    background-color: var(--primary-color);
    color: white;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-links a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    min-height: 36px;
    min-width: 100px;
    text-align: center;
}

.project-links a:first-child {
    background: var(--gradient-primary);
    color: white;
}

.project-links a:first-child:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.project-links a:last-child {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.project-links a:last-child:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* Certificates Section */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.certificate-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.certificate-card:hover::before {
    height: 8px;
}

.certificate-card h3 {
    margin-bottom: 12px;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

.certificate-card p {
    color: var(--text-light);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.certificate-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.certificate-meta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.certificate-meta a i {
    margin-left: 4px;
    transition: var(--transition);
}

.certificate-meta a:hover {
    color: var(--secondary-color);
}

.certificate-meta a:hover i {
    transform: translateX(3px);
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    padding: 25px;
    border-radius: 10px;
    background-color: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--gradient-primary);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: var(--transition);
    padding: 8px;
    border-radius: 5px;
}

.contact-item:hover {
    background-color: rgba(108, 99, 255, 0.05);
    transform: translateX(5px);
}

.contact-item i {
    width: 45px;
    height: 45px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-right: 15px;
    transition: var(--transition);
}

.contact-item:hover i {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.contact-text h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.contact-text p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-form::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.contact-form:hover::before {
    height: 8px;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: rgba(108, 99, 255, 0.02);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 44px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover::after {
    left: 100%;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23F8F9FA" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23F8F9FA" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23F8F9FA"/></svg>') no-repeat;
    background-size: cover;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    padding: 0 15px;
    margin-bottom: 25px;
    min-width: 250px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    text-decoration: none !important;
    min-height: 44px;
    min-width: 44px;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
    min-height: 44px;
    min-width: 44px;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Neon Effects */
.neon-text {
    text-shadow: 0 0 5px var(--primary-color), 
                 0 0 10px var(--primary-color), 
                 0 0 20px var(--primary-color);
    animation: neon-glow 1.5s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    from {
        text-shadow: 0 0 5px var(--primary-color), 
                     0 0 10px var(--primary-color);
    }
    to {
        text-shadow: 0 0 10px var(--primary-color), 
                     0 0 20px var(--primary-color), 
                     0 0 30px var(--accent-color);
    }
}

.neon-border {
    position: relative;
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: border-pulse 2s infinite;
}

@keyframes border-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle background effect */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(108, 99, 255, 0.2);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: var(--transition);
    font-size: 0.9rem;
}

.tooltip .tooltiptext::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-color) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-image img {
        width: 280px;
        height: 280px;
    }
    
    .section {
        padding: 90px 0;
    }
}

@media (max-width: 992px) {
     .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 0 70px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 0;
        margin-top: 40px; /* Adiciona espaço entre a imagem e o texto */
        flex: 1 1 100%;
    }

    .hero-image {
        flex: 1 1 100%;
        text-align: center;
        margin-bottom: 0;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 15px;
    }

    .timeline-item:nth-child(odd)::after {
        right: auto;
        left: 15px;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-col {
        flex: 1 1 50%;
        margin-bottom: 25px;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 12px 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }

  .hero .container {
    display: flex;
    flex-direction: column; /* Coluna normal (não reversa) */
  }

  .hero-content {
    order: 2; /* Texto vem depois */
    margin-top: 0px; /* Espaço entre imagem e texto */
    padding-right: 0;
    text-align: center;
  }

  .hero-image {
    margin-bottom: 25px; /* Espaço entre imagem e texto */
    text-align: center;
  }

 .hero-image img {
    margin: 0 auto; /* Centraliza */
    width: 200px; /* Tamanho ajustável */
    height: 200px;
  }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-tabs {
        flex-direction: column;
        border-radius: 10px;
        padding: 5px;
    }
    
    .tab-btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .section {
        padding: 70px 0;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 12px 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .hamburger {
        width: 25px;
        height: 18px;
    }
    
    .nav-links {
        top: 65px;
        height: calc(100vh - 65px);
    }
    
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
     .hero-image img {
        width: 180px;
        height: 180px;
        margin-bottom: 20px; /* Espaço entre imagem e texto */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn, .btn-outline {
        width: 100%;
        max-width: 250px;
        margin: 5px 0;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about-text, .contact-info, .contact-form {
        padding: 20px;
    }
    
    .footer-col {
        flex: 1 1 100%;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Ajustes para melhor legibilidade em telas pequenas */
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Garante que inputs tenham tamanho de fonte adequado */
    input, select, textarea, button {
        font-size: 16px !important;
    }
    
    /* Remove animações complexas em dispositivos móveis quando preferido */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation: none !important;
            transition: none !important;
        }
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-image img {
        width: 180px;
        height: 180px;
    }
    
    .btn, .btn-outline {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-links a {
        width: 100%;
    }
    
    .footer-col {
        min-width: 100%;
    }
}