* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --secondary: #00b894;
    --dark: #0a0a0f;
    --gray: #1a1a2e;
    --light-gray: #2d2d44;
    --text: #e0e0e0;
    --text-light: #8888aa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Particles Background */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%, #1a1a2e 0%, #0a0a0f 100%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-talk {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
}

.btn-talk:hover {
    background: var(--primary-dark);
    transform: scale(0.96);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 5rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: #00b894;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.main-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.main-title span {
    color: var(--primary);
}

.typing-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.description {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -10px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--light-gray);
    color: var(--text);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-4px);
}

/* Code Card */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(10px);
}

.code-line {
    color: var(--text-light);
    padding: 0.2rem 0;
}

.code-line.indent {
    padding-left: 1.5rem;
}

.keyword {
    color: #c084fc;
}

.string {
    color: #34d399;
}

.method {
    color: #60a5fa;
}

/* Sobre */
.sobre {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.avatar-box {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

.avatar-box i {
    font-size: 7rem;
    color: white;
    z-index: 1;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(108, 92, 231, 0.3);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.tag {
    display: inline-block;
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.sobre-texto h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.sobre-texto h2 span {
    color: var(--primary);
}

.sobre-texto p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.assinatura {
    font-family: 'Space Grotesk', cursive;
    font-size: 2rem;
    color: var(--primary);
    margin-top: 1rem;
    opacity: 0.8;
}

/* Habilidades */
.habilidades {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.skill-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px -10px rgba(108, 92, 231, 0.2);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.skill-card h4 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: 1.5s ease;
}

.skill-percent {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Projetos */
.projetos {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.projeto-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
    transition: 0.3s;
}

.projeto-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
}

.projeto-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(108, 92, 231, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.projeto-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.projeto-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.projeto-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.link-projeto {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.link-projeto:hover {
    gap: 1rem;
}

/* Formação */
.formacao {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.formacao-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: -2.4rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--dark);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin: 0.2rem 0;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.certificados-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-content: start;
}

.certificado-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1rem;
    transition: 0.3s;
}

.certificado-card:hover {
    border-color: var(--primary);
}

.certificado-card i {
    font-size: 1.8rem;
    color: var(--primary);
}

.certificado-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.certificado-card p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Contato */
.contato {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 3rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(108, 92, 231, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.info-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.info-item p {
    font-size: 1rem;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato-form input,
.contato-form textarea {
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    transition: 0.3s;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.contato-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.contato-form button:hover {
    background: var(--primary-dark);
}

#formFeedback {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Responsivo */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .sobre-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .formacao-wrapper {
        grid-template-columns: 1fr;
    }
    .contato-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 1rem;
    }
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-title {
        font-size: 2.8rem;
    }
    .hero-illustration {
        display: none;
    }
    .certificados-grid {
        grid-template-columns: 1fr;
    }
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
    .projetos-grid {
        grid-template-columns: 1fr;
    }
    .contato-wrapper {
        padding: 1.5rem;
    }
    .avatar-box {
        width: 200px;
        height: 200px;
    }
    .avatar-box i {
        font-size: 4rem;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 0 1rem;
    }
    .main-title {
        font-size: 2.2rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
} 