/* Design tokens and layout utilities */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.circuit-bg {
    background-image: radial-gradient(circle at 2px 2px, rgba(132, 147, 150, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

/* Animations from the reference */
@keyframes dna-pulse {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 5px #00daf3); }
    50% { opacity: 0.8; filter: drop-shadow(0 0 15px #00daf3); }
}

.text-dna-anim {
    animation: dna-pulse 3s infinite ease-in-out;
}

/* Navigation & Global */
html {
    scroll-behavior: smooth;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 10px;
    font-weight: 700;
    color: #bac9cc;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #c3f5ff;
}

.tag {
    background-color: #353535;
    padding: 0.25rem 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    color: #bac9cc;
    border-radius: 0.125rem;
}

/* Language Visibility */
[data-lang] {
    transition: opacity 0.3s ease;
}

/* Timeline Creative Styles */
.timeline-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 2px solid rgba(195, 245, 255, 0.1);
}

.timeline-card:hover {
    border-left: 2px solid #c3f5ff;
    background: linear-gradient(90deg, rgba(195, 245, 255, 0.05) 0%, transparent 100%);
    transform: translateX(10px);
}

.year-badge {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #1c1b1b;
    border: 1px solid rgba(205, 255, 19, 0.2);
    color: #cdff13;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    transition: all 0.3s;
}

.timeline-card:hover .year-badge {
    background: #cdff13;
    color: #131313;
    box-shadow: 0 0 20px rgba(205, 255, 19, 0.4);
}

.tech-tag-mini {
    font-size: 9px;
    padding: 2px 6px;
    border: 1px solid rgba(132, 147, 150, 0.2);
    color: #849396;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
}

/* Neural Globe Styles */
#neural-globe canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

#node-focus-label {
    backdrop-filter: blur(12px);
    pointer-events: none;
    user-select: none;
}

#node-focus-label::before {
    content: 'DATA_STREAM_CAPTURED';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 8px;
    color: #cdff13;
    letter-spacing: 2px;
    opacity: 0.6;
}

@keyframes neural-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.neural-active-indicator {
    animation: neural-pulse 2s infinite ease-in-out;
}

/* Vertical line for the whole timeline */
.timeline-container {
    position: relative;
}
.timeline-container::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(195, 245, 255, 0.2) 10%, rgba(195, 245, 255, 0.2) 90%, transparent);
}
@media (max-width: 768px) {
    .timeline-container::before { display: none; }
}
