/* Configurações Globais */
:root {
    --bg: #0D0D0D;
    --bg-alt: #141414;
    --accent-blue: #00D2FF;
    --accent-purple: #9D50BB;
    --accent-teal: #00F2FE;
    --text: #E0E0E0;
    --text-dim: #A0A0A0;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: 100px 0;
}

.dark-bg-alt {
    background: var(--bg-alt);
}

/* Header */
#header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.img-container {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
    z-index: 2;
    margin-bottom: 30px;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(157, 80, 187, 0.15) 0%, transparent 70%);
    z-index: 1;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 35px;
}

/* Botão Glow */
.btn-glow {
    padding: 15px 40px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(157, 80, 187, 0.5);
}

/* Timeline Modernizada */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 30px;
    border-left: 2px solid var(--border);
}

.timeline-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-card::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 25px;
    width: 20px;
    height: 20px;
    background: var(--bg);
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
}

.timeline-card h3 {
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.timeline-card .company {
    font-weight: 700;
    color: #fff;
    display: block;
}

.timeline-card .date {
    font-size: 0.85rem;
    color: var(--accent-purple);
    margin-bottom: 10px;
    display: block;
}

/* Grids */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
}

.about-content {
    background: var(--glass);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-bottom: 50px;
}

.values-grid,
.test-grid,
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-card,
.test-card,
.edu-card {
    background: var(--bg-alt);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.value-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2rem;
    color: var(--accent-teal);
    margin-bottom: 15px;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.tech-item {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    position: relative;
    cursor: help;
    font-weight: 600;
}

.tech-item:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.05);
}

/* Tooltip */
.tooltip {
    visibility: hidden;
    width: 180px;
    background: #222;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: 0.3s;
    font-size: 0.75rem;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.tech-item:hover .tooltip {
    visibility: visible;
    opacity: 1;
    bottom: 115%;
}

/* Contato Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

input,
textarea {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    outline: none;
}

textarea {
    width: 100%;
    margin-bottom: 20px;
}

input:focus,
textarea:focus {
    border-color: var(--accent-blue);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-social {
    margin-top: 20px;
    font-size: 1.5rem;
}

.footer-social a {
    color: var(--text-dim);
    margin: 0 10px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--accent-blue);
}

/* Mobile Responsividade */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    .form-row {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    /* O menu mobile exigiria lógica de toggle em JS */
    .mobile-toggle {
        display: block;
    }
}