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

:root {
    --silver: #c0c0c0;
    --liquid-silver: linear-gradient(135deg, #e8e8e8, #b8b8b8, #d0d0d0);
    --dark: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-heavy: rgba(255, 255, 255, 0.08);
    --text: #f0f0f0;
    --text-muted: #a0a0a0;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 300;
}

/* Liquid Silver Background Effect */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--dark);
}

.liquid-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, transparent 40%, rgba(192, 192, 192, 0.03) 50%, transparent 60%),
                radial-gradient(circle at 80% 20%, transparent 40%, rgba(192, 192, 192, 0.02) 50%, transparent 60%),
                radial-gradient(circle at 40% 40%, transparent 30%, rgba(192, 192, 192, 0.02) 40%, transparent 50%);
    animation: liquidFlow 20s ease-in-out infinite;
}

@keyframes liquidFlow {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
}

/* Liquid Silver Lines */
.liquid-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.liquid-line {
    position: absolute;
    height: 1px;
    background: var(--liquid-silver);
    opacity: 0.3;
    filter: blur(0.5px);
}

.liquid-line:nth-child(1) {
    top: 20%;
    left: -100%;
    width: 200%;
    transform: rotate(-5deg);
    animation: flowRight 30s linear infinite;
}

.liquid-line:nth-child(2) {
    top: 50%;
    right: -100%;
    width: 200%;
    transform: rotate(3deg);
    animation: flowLeft 25s linear infinite;
}

.liquid-line:nth-child(3) {
    bottom: 30%;
    left: -100%;
    width: 250%;
    transform: rotate(-2deg);
    animation: flowRight 35s linear infinite;
}

@keyframes flowRight {
    to { transform: translateX(50%) rotate(-5deg); }
}

@keyframes flowLeft {
    to { transform: translateX(-50%) rotate(3deg); }
}

/* Non-linear Navigation */
nav#navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    gap: 3rem;
    padding: 1.5rem 3rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav#navbar.scrolled {
    top: 1rem;
    padding: 1rem 2rem;
    gap: 2rem;
    background: var(--glass-heavy);
}

nav#navbar a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

nav#navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--liquid-silver);
    transition: width 0.3s ease;
}

nav#navbar a:hover {
    color: var(--text);
}

nav#navbar a:hover::after {
    width: 100%;
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 100;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    background: var(--liquid-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    cursor: pointer;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--silver);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Timeline Section */
.timeline-section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    background: var(--liquid-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Futuristic Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-path {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(192, 192, 192, 0.3), transparent);
    transform: translateX(-50%);
}

.timeline-node {
    position: relative;
    margin: 8rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-node.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-node:nth-child(even) .node-content {
    margin-left: auto;
    text-align: right;
}

.node-content {
    width: 45%;
    padding: 2rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-content:hover {
    background: var(--glass-heavy);
    transform: scale(1.02);
}

.node-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--liquid-silver);
    opacity: 0.5;
}

.node-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--silver);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

.node-year {
    font-size: 0.8rem;
    color: var(--silver);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.node-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text);
}

.node-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Lab Section */
.lab-section {
    padding: 8rem 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.lab-visual {
    position: relative;
    height: 400px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.lab-visual::after {
    content: 'ETC LAB';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 100;
    letter-spacing: 10px;
    background: var(--liquid-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

/* Connect Section */
.connect-section {
    padding: 8rem 0;
    text-align: center;
}

.connect-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.connect-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.connect-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--liquid-silver);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.connect-link:hover {
    color: var(--text);
}

.connect-link:hover::after {
    transform: scaleX(1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav#navbar {
        gap: 1.5rem;
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .timeline-node:nth-child(even) .node-content {
        margin-left: 0;
        text-align: left;
    }
    
    .node-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-path {
        left: 30px;
    }
    
    .node-marker {
        left: 30px;
    }
    
    .lab-content {
        grid-template-columns: 1fr;
    }
    
    .connect-links {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}