:root {
    --primary: #00ff88;
    --secondary: #0099ff;
    --accent: #ff0088;
    --bg-dark: #000000;
    --bg-dark-alt: #0a0a0a;
    --bg-card: #111111;
    --text-light: #ffffff;
    --text-gray: #888888;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 50px rgba(0, 255, 136, 0.3);
}


/* Light Theme Variables */

[data-theme="light"] {
    --primary: #00cc6a;
    --secondary: #0077cc;
    --accent: #cc0066;
    --bg-dark: #ffffff;
    --bg-dark-alt: #f8f9fa;
    --bg-card: #ffffff;
    --text-light: #333333;
    --text-gray: #666666;
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 50px rgba(0, 204, 106, 0.3);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    transition: all 0.3s ease;
}


/* Loading Screen */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 2s ease-in-out infinite;
}

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

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

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


/* Cursor */

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9998;
    transition: transform 0.1s ease;
}

.custom-cursor.hover {
    transform: scale(2);
    background: var(--accent);
}


/* Header */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.9);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--primary);
    box-shadow: 0 5px 30px rgba(0, 255, 136, 0.1);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 30px rgba(0, 204, 106, 0.1);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--primary);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: rotate(180deg);
}


/* Hero Section */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 1000px;
    padding: 0 2rem;
}


/* CORREÇÃO: Badge menor */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(20px);
    font-size: 0.8rem;
    color: var(--primary);
}

.badge-text {
    font-weight: 500;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
    min-height: 60px;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--primary);
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--text-light);
    font-size: 1.1rem;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

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

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* Sections */

.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 2px;
}


/* About Section */

.about {
    background: var(--bg-dark-alt);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.profile-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-glow);
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    border: 2px solid transparent;
    background: conic-gradient(var(--primary), var(--secondary), var(--accent), var(--primary));
    animation: rotate 4s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}


/* Info Grid */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.info-item i {
    color: var(--primary);
    font-size: 1rem;
}


/* Skills Section */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.05);
}


/* ===== EXPERIENCE SECTION CORRIGIDA ===== */

.experience {
    background: var(--bg-dark-alt);
    position: relative;
    padding-bottom: 6rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    border-radius: 2px;
}

.timeline-item {
    padding: 20px 50px;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--bg-card);
    border: 3px solid var(--primary);
    border-radius: 50%;
    top: 30px;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--bg-dark-alt), var(--shadow-glow);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -12px;
}

.right::after {
    left: -12px;
}

.timeline-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: timelineSlide 0.6s ease forwards;
    animation-delay: calc(var(--timeline-order, 0) * 0.1s);
}

.timeline-item:nth-child(1) .timeline-content {
    --timeline-order: 0;
}

.timeline-item:nth-child(2) .timeline-content {
    --timeline-order: 1;
}

.timeline-item:nth-child(3) .timeline-content {
    --timeline-order: 2;
}

.timeline-item:nth-child(4) .timeline-content {
    --timeline-order: 3;
}

.timeline-item.right .timeline-content {
    transform: translateY(30px);
}

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

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

.timeline-content:hover {
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
    transform: translateY(-5px) scale(1.02);
}

.timeline-icon {
    position: absolute;
    top: -15px;
    left: 1.5rem;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1rem;
    box-shadow: var(--shadow-glow);
}

.timeline-content h3 {
    margin: 1rem 0 0.5rem 0;
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline-content .company {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.timeline-content .period {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Projects Section */

.projects {
    background: var(--bg-dark);
}

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

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.project-card.professional {
    border: 1px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.project-card.professional:hover {
    border-color: #ffd700;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.project-card.professional .project-image::after {
    content: 'Profissional';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffd700;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: var(--bg-dark);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.project-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(0, 153, 255, 0.1);
    color: var(--secondary);
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 153, 255, 0.2);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    background: var(--primary);
    color: var(--bg-dark);
}


/* Contact Section */

.contact {
    background: linear-gradient(135deg, var(--bg-dark-alt), var(--bg-dark));
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}


/* Footer */

.footer {
    background: var(--bg-dark-alt);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.social-link i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    line-height: 1;
    pointer-events: none;
}

.social-link:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}


/* Mobile Menu */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    right: -250px;
    width: 250px;
    height: calc(100vh - 80px);
    background: var(--bg-dark-alt);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    z-index: 999;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    padding: 2rem 0;
}

.mobile-nav-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-nav-link:hover {
    background: var(--glass-bg);
    color: var(--primary);
}


/* Glassmorphism utilities */

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}


/* CORREÇÃO: Fade animations mais rápidas */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
        white-space: normal;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        min-width: 250px;
        padding: 1.2rem 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-container {
        width: 250px;
        height: 250px;
    }

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

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

    .project-image img {
        object-fit: contain !important;
        background-color: #000;
    }

    /* Timeline responsive */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid var(--text-light);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--text-light) transparent transparent;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 23px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .hero-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}


/* CHATBOT STYLES */

.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.chatbot-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ff88, #0099ff);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000000;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chatbot-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.chatbot-trigger::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.chatbot-trigger:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.chatbot-window.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

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

.chatbot-header {
    background: linear-gradient(45deg, #00ff88, #0099ff);
    padding: 1rem;
    color: #000000;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.chatbot-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.chatbot-status {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: statusBlink 2s infinite;
}

@keyframes statusBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 2px;
}

.message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.message.user {
    background: #00ff88;
    color: #000000;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message.bot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    position: relative;
    padding-bottom: 35px;
    /* Espaço para os botões */
}

.tts-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    transition: all 0.3s ease;
}

.tts-btn:hover {
    color: #00ff88;
    transform: scale(1.1);
}

.tts-btn.speaking {
    color: #00ff88;
    animation: pulse-speak 1s infinite;
}

@keyframes pulse-speak {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.chatbot-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.chatbot-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.8rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input:focus {
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.chatbot-input::placeholder {
    color: #888888;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    border-bottom-left-radius: 5px;
    align-self: flex-start;
    max-width: 80px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0;
}

@keyframes typingDot {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header right (voice menu + close btn container) */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Voice menu button */
.voice-menu-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.voice-menu-btn:hover {
    color: #00ff88;
    transform: scale(1.1);
}

/* Voice dropdown menu */
.voice-dropdown-menu {
    position: absolute;
    top: 60px;
    right: 10px;
    background: rgba(20, 20, 30, 0.98);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.voice-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.8);
}

.voice-option:hover {
    background: rgba(0, 255, 136, 0.1);
    color: #ffffff;
}

.voice-option.active {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.voice-flag {
    font-size: 1.5rem;
}

.voice-name {
    flex: 1;
    font-size: 0.9rem;
}

.voice-option i {
    color: #00ff88;
    font-size: 1rem;
}


/* Responsive */

@media (max-width: 768px) {
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }

    .chatbot-window {
        width: 300px;
        height: 450px;
        right: -25px;
    }

    .chatbot-trigger {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: 280px;
        height: 400px;
        bottom: 70px;
        right: -10px;
    }

    .voice-dropdown-menu {
        min-width: 180px;
        right: 5px;
        top: 55px;
    }
}


/* Theme support */

[data-theme="light"] .chatbot-trigger {
    background: linear-gradient(45deg, #00cc6a, #0077cc);
    box-shadow: 0 0 50px rgba(0, 204, 106, 0.3);
}

[data-theme="light"] .chatbot-window {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .chatbot-header {
    background: linear-gradient(45deg, #00cc6a, #0077cc);
}

[data-theme="light"] .message.bot {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333333;
}

[data-theme="light"] .chatbot-input {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333333;
}

[data-theme="light"] .typing-indicator {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== MESSAGE SECTION ===== */
.message-section {
    background: var(--bg-dark-alt);
    position: relative;
}

.message-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    background: rgba(0, 255, 136, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }

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

    .message-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Light theme support */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    background: rgba(0, 204, 106, 0.05);
    box-shadow: 0 0 15px rgba(0, 204, 106, 0.2);
}

/* ===== NOTIFICAÇÕES DO FORMULÁRIO ===== */
.form-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    min-width: 300px;
    max-width: 500px;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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

.form-notification.notification-exit {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-content i {
    font-size: 1.5rem;
}

.notification-success {
    border-left: 4px solid var(--primary);
}

.notification-success i {
    color: var(--primary);
}

.notification-error {
    border-left: 4px solid var(--accent);
}

.notification-error i {
    color: var(--accent);
}

.notification-info {
    border-left: 4px solid var(--secondary);
}

.notification-info i {
    color: var(--secondary);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .form-notification {
        top: 80px;
        right: 20px;
        left: 20px;
        min-width: unset;
    }
}

/* Chatbot Styles - Enhanced */
.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1rem;
    color: var(--bg-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-chat-btn {
    background: none;
    border: none;
    color: var(--bg-dark);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-chat-btn:hover {
    transform: rotate(90deg);
    color: white;
}

.chatbot-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
}

.send-message-btn {
    background: var(--primary);
    border: none;
    color: var(--bg-dark);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-message-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--glow);
}

/* Mockups CSS Pure */
.mockup-container {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-window {
    width: 80%;
    height: 70%;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover .mockup-window {
    transform: scale(1.05);
}

.mockup-header {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 4px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.mockup-body {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

/* OrganizePY Theme */
.mockup-organizepy .mockup-body {
    background: linear-gradient(135deg, #1e1e1e 0%, #0d0d0d 100%);
    justify-content: space-between;
}

.folder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mock-folder {
    height: 30px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
}

.mock-folder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 4px;
    background: rgba(0, 255, 136, 0.3);
    border-top-left-radius: 4px;
}

.mock-organizing {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: auto;
}

.mock-progress {
    width: 30%;
    height: 100%;
    background: var(--primary);
    animation: organizingLoad 2s infinite ease-in-out;
}

@keyframes organizingLoad {
    0% {
        width: 10%;
        transform: translateX(-50%);
    }

    50% {
        width: 60%;
        transform: translateX(50%);
    }

    100% {
        width: 10%;
        transform: translateX(200%);
    }
}

/* Login/Security Theme */
.mockup-security .mockup-body {
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    gap: 12px;
}

.mock-lock {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
    filter: drop-shadow(0 0 10px rgba(0, 153, 255, 0.4));
}

.mock-input {
    width: 80%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mock-btn {
    width: 50%;
    height: 12px;
    background: var(--secondary);
    border-radius: 4px;
    margin-top: 5px;
    box-shadow: 0 0 10px rgba(0, 153, 255, 0.3);
}

/* Certifications & Recognitions Custom Styles */
.cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.cert-item:hover {
    background: rgba(0, 255, 136, 0.08);
    border-color: var(--primary);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.1);
}

.cert-item i {
    font-size: 1.4rem;
    color: var(--primary);
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.4));
}

.cert-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.badge-certified {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
    text-transform: uppercase;
}

/* Awards Cards */
.award-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.award-card:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.award-icon-large {
    font-size: 3rem;
    background: linear-gradient(45deg, #ffd700, #ffa500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.award-info h4 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.award-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}