/* ================================================
   Hero Network Graph — Estilos do header
   ================================================ */

#hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #0a0a0f;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Conteúdo do header — alinhado à esquerda */
.header-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 4rem clamp(2rem, 5vw, 5rem) 4rem clamp(4rem, 10vw, 10rem);
    pointer-events: none;
}

.header-content > * {
    pointer-events: auto;
}

/* Greeting */
.greeting {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: #64ffda;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.greeting.initial-load {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Nome */
.name {
    font-size: clamp(2.5rem, 7vw, 4.2rem);
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

/* Tagline */
.tagline {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #9c9cac;
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 420px;
}

.tagline.initial-load {
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

/* Social links */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.social-links a {
    color: #9c9cac;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.social-links a:hover {
    color: #64ffda;
    transform: translateY(-3px);
}

/* Language selector in header */
.header-links {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.8s forwards;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
}

.header-links button {
    background: none;
    border: none;
    color: #9c9cac;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: inherit;
}

.header-links button:hover {
    color: #e8e8e8;
}

.header-links button.active {
    color: #64ffda;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header-links span {
    color: #9c9cac;
    font-size: 0.9rem;
    line-height: 1;
}

/* Down arrow - centralizado */
.down {
    color: #9c9cac;
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUpCenter 0.6s ease 1s forwards;
}

@keyframes fadeInUpCenter {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.down .icon {
    display: inline-block;
    animation: bounce 2s infinite 1s;
}

.down:hover {
    color: #64ffda;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-content {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .header-links {
        justify-content: center;
    }
}
