/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff88;
    --secondary-color: #00cc6a;
    --accent-color: #ff6b6b;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-muted: #888888;
    --neural-glow: rgba(0, 255, 136, 0.3);
    --neural-bright: rgba(0, 255, 136, 0.8);
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--neural-glow);
}

.tagline {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    margin-top: -5px;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--neural-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
}

/* Enhanced Biological Elements */
.synaptic-vesicle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: vesicleFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

@keyframes vesicleFloat {
    0%, 100% { 
        opacity: 0.4;
        transform: translateY(0) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateY(-15px) scale(1.2);
    }
}

.neurotransmitter {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: neurotransmitterFlow 2s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
}

@keyframes neurotransmitterFlow {
    0%, 100% { 
        opacity: 0.3;
        transform: translateX(0) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateX(10px) scale(1.3);
    }
}

.dna-helix-bg {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 150px;
    height: 200px;
    animation: helixRotate 15s linear infinite;
}

.dna-strand {
    position: absolute;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    animation: strandPulse 4s ease-in-out infinite;
}

.strand-1 {
    left: 0;
    animation-delay: 0s;
}

.strand-2 {
    right: 0;
    animation-delay: 2s;
}

@keyframes helixRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes strandPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.dna-base-pairs {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
}

.base-pair {
    position: absolute;
    width: 2px;
    height: 15px;
    background: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
    animation: basePairPulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes basePairPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.rna-molecule {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: rnaFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.6);
}

@keyframes rnaFloat {
    0%, 100% { 
        opacity: 0.5;
        transform: translateY(0) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateY(-25px) scale(1.3);
    }
}

.ribosome {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #4ecdc4;
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: ribosomeWork 5s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.7);
}

@keyframes ribosomeWork {
    0%, 100% { 
        opacity: 0.6;
        transform: translateY(0) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateY(-20px) scale(1.2);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neural-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: neuralPulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 20px var(--neural-glow);
}

.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    left: var(--x1);
    top: var(--y1);
    width: calc(var(--x2) - var(--x1));
    transform-origin: left center;
    animation: neuralFlow 4s ease-in-out infinite;
    box-shadow: 0 0 10px var(--neural-glow);
}

@keyframes neuralPulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.5);
    }
}

@keyframes neuralFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    animation: titleReveal 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--neural-glow);
    position: relative;
}

.highlight::after {
    content: '*';
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 0.5em;
    color: var(--accent-color);
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    animation: slideInLeft 1s ease-out 0.8s both;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.hero-visual {
    animation: slideInRight 1s ease-out 0.4s both;
}

/* Detailed Neuron Visualization */
.neuron-visualization {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.neuron-soma {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #4ecdc4, #44a08d);
    border-radius: 50%;
    animation: somaPulse 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.6);
}

@keyframes somaPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(78, 205, 196, 0.6);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 50px rgba(78, 205, 196, 0.9);
    }
}

.nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #667eea, #764ba2);
    border-radius: 50%;
    animation: nucleusPulse 2s ease-in-out infinite;
}

@keyframes nucleusPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.nucleolus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: #ffd700;
    border-radius: 50%;
    animation: nucleolusGlow 1.5s ease-in-out infinite;
}

@keyframes nucleolusGlow {
    0%, 100% { 
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

.dendrites {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dendrite {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), #4ecdc4);
    border-radius: 2px;
    animation: dendritePulse 4s ease-in-out infinite;
}

.dendrite-1 {
    top: 20%;
    left: 30%;
    width: 60px;
    height: 3px;
    transform: rotate(-30deg);
    animation-delay: 0s;
}

.dendrite-2 {
    top: 30%;
    left: 20%;
    width: 50px;
    height: 3px;
    transform: rotate(-60deg);
    animation-delay: 0.5s;
}

.dendrite-3 {
    top: 40%;
    left: 15%;
    width: 40px;
    height: 3px;
    transform: rotate(-90deg);
    animation-delay: 1s;
}

.dendrite-4 {
    top: 60%;
    left: 25%;
    width: 45px;
    height: 3px;
    transform: rotate(30deg);
    animation-delay: 1.5s;
}

.dendrite-5 {
    top: 70%;
    left: 35%;
    width: 35px;
    height: 3px;
    transform: rotate(60deg);
    animation-delay: 2s;
}

@keyframes dendritePulse {
    0%, 100% { 
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    }
}

.axon {
    position: absolute;
    top: 50%;
    right: 20%;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #4ecdc4);
    border-radius: 2px;
    animation: axonPulse 3s ease-in-out infinite;
}

@keyframes axonPulse {
    0%, 100% { 
        opacity: 0.7;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 25px rgba(0, 255, 136, 0.7);
    }
}

.axon-hillock {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: hillockPulse 2s ease-in-out infinite;
}

@keyframes hillockPulse {
    0%, 100% { 
        opacity: 0.8;
        transform: translateY(-50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
}

.myelin-sheath {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    width: 60px;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #4ecdc4 0px,
        #4ecdc4 8px,
        transparent 8px,
        transparent 12px
    );
    border-radius: 4px;
    animation: myelinPulse 2.5s ease-in-out infinite;
}

@keyframes myelinPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.axon-terminal {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff6b6b, #ff8e8e);
    border-radius: 50%;
    animation: terminalPulse 1.5s ease-in-out infinite;
}

@keyframes terminalPulse {
    0%, 100% { 
        opacity: 0.7;
        transform: translateY(-50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateY(-50%) scale(1.3);
    }
}

.synapses {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.synapse {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: synapsePulse 3s ease-in-out infinite;
}

.synapse-1 {
    top: 25%;
    right: 15%;
    animation-delay: 0s;
}

.synapse-2 {
    top: 60%;
    right: 10%;
    animation-delay: 1s;
}

.synapse-3 {
    top: 80%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes synapsePulse {
    0%, 100% { 
        opacity: 0.5;
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    }
}

.synaptic-vesicle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ffd700;
    border-radius: 50%;
    animation: vesicleRelease 2s ease-in-out infinite;
}

@keyframes vesicleRelease {
    0%, 100% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.neurotransmitter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: neurotransmitterRelease 1.5s ease-in-out infinite;
}

@keyframes neurotransmitterRelease {
    0%, 100% { 
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.action-potentials {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.action-potential {
    position: absolute;
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    border-radius: 2px;
    animation: actionPotentialFlow 2s ease-in-out infinite;
}

.ap-1 {
    top: 30%;
    left: 60%;
    animation-delay: 0s;
}

.ap-2 {
    top: 50%;
    left: 65%;
    animation-delay: 0.7s;
}

.ap-3 {
    top: 70%;
    left: 70%;
    animation-delay: 1.4s;
}

@keyframes actionPotentialFlow {
    0%, 100% { 
        opacity: 0.3;
        transform: translateY(0);
    }
    50% { 
        opacity: 1;
        transform: translateY(-30px);
    }
}

.genetic-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dna-strand-mini {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 40px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), #4ecdc4);
    border-radius: 20px;
    animation: dnaMiniRotate 8s linear infinite;
    opacity: 0.7;
}

@keyframes dnaMiniRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.rna-strand-mini {
    position: absolute;
    top: 80%;
    left: 80%;
    width: 30px;
    height: 50px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    border-radius: 15px;
    animation: rnaMiniFloat 4s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes rnaMiniFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
}

.protein-molecule {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #4ecdc4, #44a08d);
    border-radius: 50%;
    animation: proteinFold 3s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes proteinFold {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

.brain-outline {
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: brainPulse 4s ease-in-out infinite;
    box-shadow: 0 0 50px var(--neural-glow);
}

.neural-paths {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.path {
    position: absolute;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    animation: pathFlow 3s ease-in-out infinite;
}

.path-1 {
    top: 30%;
    left: 20%;
    width: 60%;
    animation-delay: 0s;
}

.path-2 {
    top: 60%;
    left: 30%;
    width: 40%;
    animation-delay: 1s;
}

.path-3 {
    top: 80%;
    left: 40%;
    width: 30%;
    animation-delay: 2s;
}

@keyframes brainPulse {
    0%, 100% { 
        box-shadow: 0 0 50px var(--neural-glow);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 80px var(--neural-bright);
        transform: scale(1.05);
    }
}

@keyframes pathFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream {
    position: absolute;
    width: 2px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 1px;
    animation: dataFlow 2s ease-in-out infinite;
}

.stream-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.stream-2 {
    top: 50%;
    left: 60%;
    animation-delay: 0.7s;
}

.stream-3 {
    top: 70%;
    left: 20%;
    animation-delay: 1.4s;
}

@keyframes dataFlow {
    0%, 100% { 
        opacity: 0;
        transform: translateY(0);
    }
    50% { 
        opacity: 1;
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--primary-color);
    margin: 0 auto 1rem;
    animation: scrollBounce 2s infinite;
}

.scroll-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Project Sections */
.project-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
}

.project-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.project-info {
    animation: slideInLeft 1s ease-out;
}

.project-number {
    font-family: 'Orbitron', monospace;
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -2rem;
    left: -2rem;
    z-index: -1;
}

.project-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-shadow: 0 0 20px var(--neural-glow);
}

.project-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-specs {
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-detail, .btn-progress {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-detail {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5);
}

.btn-progress {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-progress:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Project Detail Pages */
.project-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

/* Theme-specific styles - Modern Tech Aesthetic */
.chip-theme {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --theme-accent: #00ff88;
    --theme-glow: rgba(0, 255, 136, 0.3);
}

.dna-theme {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --theme-accent: #00d4ff;
    --theme-glow: rgba(0, 212, 255, 0.3);
}

.neural-theme {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --theme-accent: #ff6b9d;
    --theme-glow: rgba(255, 107, 157, 0.3);
}

.dream-theme {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --theme-accent: #ffd700;
    --theme-glow: rgba(255, 215, 0, 0.3);
}

.ecosystem-theme {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --theme-accent: #9d4edd;
    --theme-glow: rgba(157, 78, 221, 0.3);
}

.project-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: center;
}

.project-number {
    font-family: 'Orbitron', monospace;
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.project-hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-shadow: 0 0 30px var(--neural-glow);
}

.project-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.project-overview {
    padding: 80px 0;
    background: var(--bg-darker);
}

.project-overview.chip-theme,
.project-overview.dna-theme,
.project-overview.neural-theme,
.project-overview.dream-theme,
.project-overview.ecosystem-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.key-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.feature-item h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-family: 'Orbitron', monospace;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.overview-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-visual > div {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    position: relative;
    overflow: hidden;
}

.overview-visual > div::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.overview-visual > div::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
}

/* Enhanced Hero Section */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
}

.hero-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-stat .stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--neural-glow);
}

.hero-stat .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--theme-accent, var(--primary-color));
    transform: translateX(10px);
    box-shadow: 0 0 20px var(--theme-glow, rgba(0, 255, 136, 0.2));
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--theme-accent, var(--primary-color)), var(--theme-accent, var(--secondary-color)));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px var(--theme-glow, rgba(0, 255, 136, 0.3));
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--bg-dark);
}

.feature-content h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.feature-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Chip Diagram */
.chip-diagram {
    width: 300px;
    height: 300px;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    overflow: hidden;
}

.neural-layer, .interface-layer, .silicon-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neural-layer {
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
}

.interface-layer {
    top: 50px;
    left: 50px;
    width: calc(100% - 100px);
    height: calc(100% - 100px);
}

.silicon-layer {
    top: 80px;
    left: 80px;
    width: calc(100% - 160px);
    height: calc(100% - 160px);
}

.neuron, .electrode, .circuit {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    animation: pulse 2s infinite;
}

.neuron {
    width: 8px;
    height: 8px;
}

.electrode {
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
}

.circuit {
    width: 4px;
    height: 4px;
    background: #00ff88;
}

.synapse {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    animation: synapsePulse 1.5s infinite;
}

/* Technology Deep Dive */
.tech-deep-dive {
    padding: 80px 0;
    background: var(--bg-darker);
}

.tech-deep-dive.chip-theme,
.tech-deep-dive.dna-theme,
.tech-deep-dive.neural-theme,
.tech-deep-dive.dream-theme,
.tech-deep-dive.ecosystem-theme {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.8s ease;
}

.tech-card:hover::before {
    left: 100%;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--theme-accent, var(--primary-color));
    box-shadow: 0 20px 40px var(--theme-glow, rgba(0, 255, 136, 0.15));
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--theme-accent, var(--primary-color)), var(--theme-accent, var(--secondary-color)));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 25px var(--theme-glow, rgba(0, 255, 136, 0.3));
}

.tech-icon i {
    font-size: 2rem;
    color: var(--bg-dark);
}

.tech-card h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.tech-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-specs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

/* Enhanced Research Items */
.research-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    min-height: 300px;
}

.research-visual {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.research-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.robot-arm, .eye-diagram, .hippocampus-model {
    width: 120px;
    height: 120px;
    position: relative;
}

.arm-segment {
    position: absolute;
    background: var(--primary-color);
    border-radius: 5px;
    animation: armMove 3s infinite;
}

.arm-segment:nth-child(1) {
    width: 60px;
    height: 8px;
    top: 50px;
    left: 20px;
}

.arm-segment:nth-child(2) {
    width: 40px;
    height: 8px;
    top: 30px;
    left: 40px;
    transform: rotate(45deg);
}

.gripper {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 20px;
    left: 80px;
    animation: gripperMove 2s infinite;
}

.control-signal {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: signalFlow 1.5s infinite;
}

.control-signal:nth-child(1) { top: 20px; left: 10px; animation-delay: 0s; }
.control-signal:nth-child(2) { top: 40px; left: 30px; animation-delay: 0.5s; }
.control-signal:nth-child(3) { top: 60px; left: 50px; animation-delay: 1s; }

/* Enhanced Spec Cards */
.spec-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.6s ease;
}

.spec-card:hover::before {
    left: 100%;
}

.spec-card:hover {
    transform: translateY(-10px);
    border-color: var(--theme-accent, var(--primary-color));
    box-shadow: 0 20px 40px var(--theme-glow, rgba(0, 255, 136, 0.15));
}

.spec-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--theme-accent, var(--primary-color)), var(--theme-accent, var(--secondary-color)));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 25px var(--theme-glow, rgba(0, 255, 136, 0.3));
}

.spec-icon i {
    font-size: 2rem;
    color: var(--bg-dark);
}

.spec-details {
    margin-top: 1.5rem;
    text-align: left;
}

.detail {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.detail::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Future Applications */
.future-applications {
    padding: 80px 0;
    background: var(--bg-darker);
}

.future-applications.chip-theme,
.future-applications.dna-theme,
.future-applications.neural-theme,
.future-applications.dream-theme,
.future-applications.ecosystem-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.application-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.6s ease;
}

.application-card:hover::before {
    left: 100%;
}

.application-card:hover {
    transform: translateY(-8px);
    border-color: var(--theme-accent, var(--primary-color));
    box-shadow: 0 15px 30px var(--theme-glow, rgba(0, 255, 136, 0.1));
}

.app-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--theme-accent, var(--primary-color)), var(--theme-accent, var(--secondary-color)));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px var(--theme-glow, rgba(0, 255, 136, 0.3));
}

.app-icon i {
    font-size: 1.8rem;
    color: var(--bg-dark);
}

.application-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.application-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Animations */
@keyframes armMove {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

@keyframes gripperMove {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes signalFlow {
    0% { opacity: 0; transform: translateX(-20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(20px); }
}

@keyframes synapsePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* DNA Theme Visualizations */
.molecular-diagram {
    width: 300px;
    height: 300px;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    overflow: hidden;
}

/* DNA Progress Timeline Effect */
.dna-progress-timeline {
    position: relative;
    margin-top: 2rem;
}

.dna-progress-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--theme-accent, #00d4ff) 20%, 
        var(--theme-accent, #00d4ff) 80%, 
        transparent 100%);
    transform: translateX(-50%);
    opacity: 0.6;
}

.dna-progress-timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--theme-accent, #00d4ff) 10%, 
        var(--theme-accent, #00d4ff) 90%, 
        transparent 100%);
    transform: translateX(-50%);
    animation: dnaFlow 3s infinite linear;
}

.dna-timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    align-items: center;
}

.dna-timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 20px var(--theme-glow, rgba(0, 212, 255, 0.5));
    animation: dnaPulse 2s infinite;
}

.dna-timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-left: 2rem;
    position: relative;
}

.dna-timeline-content::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 2rem;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(0, 212, 255, 0.2);
}

.dna-timeline-date {
    width: 120px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--theme-accent, #00d4ff);
    text-align: right;
    padding-right: 2rem;
    font-size: 0.9rem;
}

@keyframes dnaFlow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes dnaPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.dna-helix {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.helix-strand {
    position: absolute;
    width: 4px;
    height: 180px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: helixRotate 4s infinite linear;
}

.strand-1 {
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation: helixRotate1 4s infinite linear;
}

.strand-2 {
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    animation: helixRotate2 4s infinite linear;
}

.base-pairs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.base-pair {
    position: absolute;
    width: 2px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 1px;
    animation: basePairPulse 2s infinite;
}

.base-pair:nth-child(1) { top: 10px; left: 20px; animation-delay: 0s; }
.base-pair:nth-child(2) { top: 30px; left: 40px; animation-delay: 0.5s; }
.base-pair:nth-child(3) { top: 50px; left: 60px; animation-delay: 1s; }
.base-pair:nth-child(4) { top: 70px; left: 80px; animation-delay: 1.5s; }

.molecular-computing {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
}

.protein-complex {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 10px;
    left: 10px;
    animation: proteinFold 3s infinite;
}

.enzyme-activity {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 40px;
    left: 40px;
    animation: enzymeActivity 2s infinite;
}

@keyframes helixRotate1 {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

@keyframes helixRotate2 {
    0% { transform: translateX(-50%) rotate(180deg); }
    100% { transform: translateX(-50%) rotate(540deg); }
}

@keyframes basePairPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes proteinFold {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

@keyframes enzymeActivity {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.stat-card h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.current-research {
    padding: 80px 0;
    background: var(--bg-darker);
}

.current-research.chip-theme,
.current-research.dna-theme,
.current-research.neural-theme,
.current-research.dream-theme,
.current-research.ecosystem-theme {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.research-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.research-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.research-item:hover::before {
    left: 100%;
}

.research-item:hover {
    transform: translateY(-5px);
    border-color: var(--theme-accent, var(--primary-color));
    box-shadow: 0 20px 40px var(--theme-glow, rgba(0, 255, 136, 0.1));
}

.research-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--theme-accent, var(--primary-color)), var(--theme-accent, var(--secondary-color)));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--theme-glow, rgba(0, 255, 136, 0.3));
}

.research-icon i {
    font-size: 1.5rem;
    color: var(--bg-dark);
}

.research-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.research-item p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.research-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.research-metrics .metric {
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.tech-specs {
    padding: 80px 0;
    background: var(--bg-darker);
}

.tech-specs.chip-theme,
.tech-specs.dna-theme,
.tech-specs.neural-theme,
.tech-specs.dream-theme,
.tech-specs.ecosystem-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.spec-card h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1rem;
}

.spec-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.progress-timeline {
    margin-top: 3rem;
    position: relative;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-date {
    width: 120px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    padding-right: 2rem;
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-left: 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 2rem;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(0, 255, 136, 0.2);
}

.timeline-content h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.timeline-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.progress-metrics {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.metric-value {
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
}

.research-team {
    padding: 100px 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.member-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 2rem;
}

.team-member h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-expertise {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.credential {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.publications {
    padding: 100px 0;
    background: var(--bg-darker);
}

.publications-list {
    margin-top: 3rem;
}

.publication-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.publication-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.pub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.pub-header h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    margin-right: 1rem;
}

.pub-year {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pub-authors {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.pub-journal {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.pub-abstract {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pub-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pub-metrics .metric {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

/* New Layout System for Detail Pages */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Project Hero Section */
.project-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    z-index: 2;
}

.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--theme-accent, #00d4ff), var(--theme-glow, #0099cc));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, var(--theme-accent, #00d4ff));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-accent, #00d4ff);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--theme-accent, #00d4ff), var(--theme-glow, #0099cc));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section */
.overview-section {
    padding: 4rem 0;
    position: relative;
}

.overview-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.overview-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.overview-card:hover {
    transform: translateY(-5px);
    border-color: var(--theme-accent, rgba(0, 212, 255, 0.3));
    box-shadow: 0 10px 30px var(--theme-glow, rgba(0, 212, 255, 0.1));
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--theme-accent, #00d4ff), var(--theme-glow, #0099cc));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.overview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.overview-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Tech Section */
.tech-section {
    padding: 4rem 0;
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--theme-accent, rgba(0, 212, 255, 0.3));
    box-shadow: 0 10px 30px var(--theme-glow, rgba(0, 212, 255, 0.1));
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: var(--theme-accent, linear-gradient(135deg, #00d4ff, #0099cc));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
}

.tech-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.tech-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tech-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spec {
    background: var(--theme-accent, rgba(0, 212, 255, 0.2));
    color: var(--theme-accent, #00d4ff);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Research Section */
.research-section {
    padding: 4rem 0;
    position: relative;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.research-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.research-item:hover {
    transform: translateY(-3px);
    border-color: var(--theme-accent, rgba(0, 212, 255, 0.3));
    box-shadow: 0 8px 25px var(--theme-glow, rgba(0, 212, 255, 0.1));
}

.research-visual {
    width: 80px;
    height: 80px;
    background: var(--theme-accent, linear-gradient(135deg, #00d4ff, #0099cc));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.research-content {
    flex: 1;
}

.research-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.research-content p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.research-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.metric {
    background: var(--theme-accent, rgba(0, 212, 255, 0.2));
    color: var(--theme-accent, #00d4ff);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Specs Section */
.specs-section {
    padding: 4rem 0;
    position: relative;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.spec-card:hover {
    transform: translateY(-3px);
    border-color: var(--theme-accent, rgba(0, 212, 255, 0.3));
    box-shadow: 0 8px 25px var(--theme-glow, rgba(0, 212, 255, 0.1));
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: var(--theme-accent, linear-gradient(135deg, #00d4ff, #0099cc));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
}

.spec-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.spec-card ul {
    list-style: none;
}

.spec-card li {
    color: #b0b0b0;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-card li:last-child {
    border-bottom: none;
}

/* Applications Section */
.applications-section {
    padding: 4rem 0;
    position: relative;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.application-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.application-card:hover {
    transform: translateY(-3px);
    border-color: var(--theme-accent, rgba(0, 212, 255, 0.3));
    box-shadow: 0 8px 25px var(--theme-glow, rgba(0, 212, 255, 0.1));
}

.app-icon {
    width: 50px;
    height: 50px;
    background: var(--theme-accent, linear-gradient(135deg, #00d4ff, #0099cc));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin: 0 auto 1rem;
}

.application-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.application-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Progress Section */
.progress-section {
    padding: 4rem 0;
    position: relative;
}

.progress-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--theme-accent, #00d4ff), transparent);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-date {
    width: 4rem;
    text-align: center;
    font-weight: 700;
    color: var(--theme-accent, #00d4ff);
    font-size: 0.9rem;
    margin-right: 2rem;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.timeline-content p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* DNA Progress Timeline */
.dna-progress-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.dna-progress-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(45deg, 
        var(--theme-accent, #00d4ff) 0%, 
        var(--theme-glow, #0099cc) 25%, 
        var(--theme-accent, #00d4ff) 50%, 
        var(--theme-glow, #0099cc) 75%, 
        var(--theme-accent, #00d4ff) 100%);
    background-size: 20px 20px;
    animation: dnaFlow 3s linear infinite;
}

.dna-progress-timeline::after {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        var(--theme-accent, rgba(0, 212, 255, 0.3)) 25%, 
        transparent 50%, 
        var(--theme-glow, rgba(0, 153, 204, 0.3)) 75%, 
        transparent 100%);
    background-size: 20px 20px;
    animation: dnaFlow 3s linear infinite reverse;
}

@keyframes dnaFlow {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

.dna-timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.dna-timeline-date {
    width: 4rem;
    text-align: center;
    font-weight: 700;
    color: var(--theme-accent, #00d4ff);
    font-size: 0.9rem;
    margin-right: 2rem;
    flex-shrink: 0;
    position: relative;
}

.dna-timeline-date::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--theme-glow, rgba(0, 212, 255, 0.5));
    animation: dnaPulse 2s ease-in-out infinite;
}

@keyframes dnaPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.dna-timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.dna-timeline-content::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid rgba(255, 255, 255, 0.1);
}

.dna-timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.dna-timeline-content p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Theme-specific Backgrounds and Animations */
.chip-theme {
    --theme-accent: #00d4ff;
    --theme-glow: rgba(0, 212, 255, 0.3);
}

.dna-theme {
    --theme-accent: #00ff88;
    --theme-glow: rgba(0, 255, 136, 0.3);
}

.neural-theme {
    --theme-accent: #ff6b6b;
    --theme-glow: rgba(255, 107, 107, 0.3);
}

.dream-theme {
    --theme-accent: #9c88ff;
    --theme-glow: rgba(156, 136, 255, 0.3);
}

.ecosystem-theme {
    --theme-accent: #ffd93d;
    --theme-glow: rgba(255, 217, 61, 0.3);
}

/* Circuit Pattern Background */
.circuit-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.circuit-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--theme-accent, #00d4ff), transparent);
    animation: circuitFlow 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes circuitFlow {
    0%, 100% { opacity: 0.3; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Floating Chips */
.floating-chips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chip-particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 4px;
    animation: chipFloat 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0.6;
}

@keyframes chipFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* DNA Helix Background */
.dna-helix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.dna-strand {
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--theme-accent, #00ff88);
    border-radius: 2px;
    animation: dnaRotate 8s linear infinite;
}

.strand-1 {
    left: 20%;
    animation-delay: 0s;
}

.strand-2 {
    left: 22%;
    animation-delay: 0.5s;
}

@keyframes dnaRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.dna-base-pairs {
    position: absolute;
    top: 0;
    left: 20%;
    width: 4px;
    height: 100%;
}

.base-pair {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--theme-glow, rgba(0, 255, 136, 0.5));
    border-radius: 50%;
    left: -2px;
    animation: basePairFloat 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes basePairFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.2); }
}

/* Floating Molecules */
.floating-molecules {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.molecule-particle {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--theme-accent, #00ff88);
    border-radius: 50%;
    animation: moleculeFloat 5s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0.7;
}

@keyframes moleculeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 1; }
}

/* Neural Chip Visualization */
.neural-chip-visualization {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.chip-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    border: 2px solid var(--theme-accent, #00d4ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.electrode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 120px;
    height: 120px;
}

.electrode {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.electrode.active {
    background: var(--theme-accent, #00d4ff);
    box-shadow: 0 0 20px var(--theme-glow, rgba(0, 212, 255, 0.5));
    animation: electrodePulse 2s ease-in-out infinite;
}

@keyframes electrodePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.signal-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    width: 2px;
    height: 100px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: waveAnimation 2s ease-in-out infinite;
}

.wave-1 {
    left: 20%;
    animation-delay: 0s;
}

.wave-2 {
    left: 50%;
    animation-delay: 0.5s;
}

.wave-3 {
    left: 80%;
    animation-delay: 1s;
}

@keyframes waveAnimation {
    0%, 100% { height: 20px; opacity: 0.3; }
    50% { height: 100px; opacity: 1; }
}

.chip-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, var(--theme-glow, rgba(0, 212, 255, 0.2)), transparent);
    border-radius: 40px;
    animation: chipGlow 3s ease-in-out infinite;
}

@keyframes chipGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* DNA Processor Visualization */
.dna-processor-visualization {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.molecular-computing-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    border: 2px solid var(--theme-accent, #00ff88);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-helix {
    position: relative;
    width: 80px;
    height: 120px;
}

.helix-strand {
    position: absolute;
    width: 3px;
    height: 100%;
    background: var(--theme-accent, #00ff88);
    border-radius: 2px;
    animation: helixRotate 6s linear infinite;
}

.strand-1 {
    left: 0;
    animation-delay: 0s;
}

.strand-2 {
    left: 6px;
    animation-delay: 0.3s;
}

.helix-bases {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.base-pair {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--theme-glow, rgba(0, 255, 136, 0.5));
    border-radius: 50%;
    left: 1.5px;
    animation: basePairFloat 2s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.protein-complex {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}

.enzyme {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--theme-accent, #00ff88);
    border-radius: 50%;
    animation: enzymeActivity 3s ease-in-out infinite;
}

.enzyme-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.enzyme-2 {
    top: 20px;
    left: 20px;
    animation-delay: 1s;
}

.enzyme-3 {
    top: 40px;
    left: 10px;
    animation-delay: 2s;
}

@keyframes enzymeActivity {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.molecular-computing {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 40px;
}

.computation-path {
    position: absolute;
    width: 2px;
    height: 20px;
    background: var(--theme-accent, #00ff88);
    border-radius: 1px;
    animation: computationFlow 2s ease-in-out infinite;
}

.path-1 {
    left: 0;
    animation-delay: 0s;
}

.path-2 {
    left: 20px;
    animation-delay: 0.5s;
}

.path-3 {
    left: 40px;
    animation-delay: 1s;
}

@keyframes computationFlow {
    0%, 100% { height: 10px; opacity: 0.5; }
    50% { height: 30px; opacity: 1; }
}

.dna-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, var(--theme-glow, rgba(0, 255, 136, 0.2)), transparent);
    border-radius: 40px;
    animation: dnaGlow 4s ease-in-out infinite;
}

@keyframes dnaGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Tech Showcase Layout */
.tech-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.tech-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--theme-accent, rgba(0, 212, 255, 0.2));
    transform: translateY(-5px);
}

.tech-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--theme-accent, linear-gradient(135deg, #00d4ff, #0099cc));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.tech-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.tech-content p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.tech-specs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.spec {
    background: var(--theme-accent, rgba(0, 212, 255, 0.2));
    color: var(--theme-accent, #00d4ff);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tech-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

/* Research Showcase Layout */
.research-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.research-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.research-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--theme-accent, rgba(0, 212, 255, 0.2));
    transform: translateY(-5px);
}

.research-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.research-icon {
    width: 60px;
    height: 60px;
    background: var(--theme-accent, linear-gradient(135deg, #00d4ff, #0099cc));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.research-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.research-content p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.research-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.metric {
    background: var(--theme-accent, rgba(0, 212, 255, 0.2));
    color: var(--theme-accent, #00d4ff);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.research-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

/* Experiments Showcase Layout */
.experiments-section {
    padding: 4rem 0;
    position: relative;
}

.experiments-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.experiment-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.experiment-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--theme-accent, rgba(0, 212, 255, 0.2));
    transform: translateY(-5px);
}

.experiment-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experiment-icon {
    width: 60px;
    height: 60px;
    background: var(--theme-accent, linear-gradient(135deg, #00d4ff, #0099cc));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.experiment-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.experiment-content p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.experiment-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experiment-details li {
    color: #b0b0b0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 1.5rem;
}

.experiment-details li:before {
    content: '•';
    color: var(--theme-accent, #00d4ff);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.experiment-details li:last-child {
    border-bottom: none;
}

.experiment-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.experiment-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

/* Enhanced Tech Visual Effects */
.optogenetic-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neuron-structure {
    position: relative;
    width: 120px;
    height: 120px;
}

.soma {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: somaPulse 2s ease-in-out infinite;
}

@keyframes somaPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: nucleusGlow 3s ease-in-out infinite;
}

@keyframes nucleusGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.dendrites {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dendrite {
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 2px;
    animation: dendritePulse 2.5s ease-in-out infinite;
}

.d1 {
    transform: rotate(45deg);
    top: -15px;
    left: -15px;
    animation-delay: 0s;
}

.d2 {
    transform: rotate(-45deg);
    top: -15px;
    right: -15px;
    animation-delay: 0.5s;
}

.d3 {
    transform: rotate(90deg);
    bottom: -15px;
    left: -15px;
    animation-delay: 1s;
}

@keyframes dendritePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.axon {
    position: absolute;
    width: 3px;
    height: 40px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 2px;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    animation: axonPulse 2s ease-in-out infinite;
}

@keyframes axonPulse {
    0%, 100% { height: 30px; opacity: 0.7; }
    50% { height: 50px; opacity: 1; }
}

.myelin-sheath {
    position: absolute;
    top: 0;
    left: -2px;
    width: 7px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    animation: myelinPulse 1.5s ease-in-out infinite;
}

@keyframes myelinPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.nodes-of-ranvier {
    position: absolute;
    top: 25px;
    left: -1px;
    width: 5px;
    height: 2px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: nodePulse 1s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.light-stimulation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.light-beam {
    position: absolute;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: lightBeam 2s ease-in-out infinite;
}

.beam-1 {
    transform: translate(-50%, -50%) rotate(30deg);
    animation-delay: 0s;
}

.beam-2 {
    transform: translate(-50%, -50%) rotate(-30deg);
    animation-delay: 0.7s;
}

.beam-3 {
    transform: translate(-50%, -50%) rotate(0deg);
    animation-delay: 1.4s;
}

@keyframes lightBeam {
    0%, 100% { width: 0; opacity: 0; }
    50% { width: 80px; opacity: 1; }
}

.neural-response {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.action-potential {
    position: absolute;
    width: 4px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 2px;
    animation: actionPotential 1.5s ease-in-out infinite;
}

.ap1 {
    top: 20px;
    left: 60px;
    animation-delay: 0s;
}

.ap2 {
    top: 40px;
    left: 70px;
    animation-delay: 0.5s;
}

.ap3 {
    top: 60px;
    left: 80px;
    animation-delay: 1s;
}

@keyframes actionPotential {
    0%, 100% { height: 10px; opacity: 0.5; }
    50% { height: 30px; opacity: 1; }
}

/* Recording Animation */
.recording-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.microelectrode-array {
    position: relative;
    width: 100px;
    height: 100px;
}

.electrode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    height: 100%;
}

.electrode {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: electrodePulse 2s ease-in-out infinite;
}

.e1, .e3, .e5, .e7, .e9 {
    background: var(--theme-accent, #00d4ff);
    box-shadow: 0 0 15px var(--theme-glow, rgba(0, 212, 255, 0.5));
    animation-delay: 0s;
}

.e2, .e4, .e6, .e8 {
    animation-delay: 0.5s;
}

@keyframes electrodePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.neural-signals {
    position: relative;
    width: 200px;
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.signal-trace {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: signalTrace 2s ease-in-out infinite;
}

.trace-1 {
    top: 20px;
    animation-delay: 0s;
}

.trace-2 {
    top: 40px;
    animation-delay: 0.7s;
}

.trace-3 {
    top: 60px;
    animation-delay: 1.4s;
}

@keyframes signalTrace {
    0%, 100% { width: 0; opacity: 0.3; }
    50% { width: 100%; opacity: 1; }
}

.spike {
    position: absolute;
    width: 2px;
    height: 15px;
    background: #ff6b6b;
    border-radius: 1px;
    animation: spikeAnimation 1s ease-in-out infinite;
}

.spike:nth-child(1) { left: 20px; animation-delay: 0s; }
.spike:nth-child(2) { left: 50px; animation-delay: 0.3s; }
.spike:nth-child(3) { left: 80px; animation-delay: 0.6s; }

@keyframes spikeAnimation {
    0%, 100% { height: 5px; opacity: 0.5; }
    50% { height: 20px; opacity: 1; }
}

.data-processing {
    position: relative;
    width: 60px;
    height: 40px;
}

.processor-core {
    width: 40px;
    height: 20px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 10px;
    animation: processorPulse 1.5s ease-in-out infinite;
}

@keyframes processorPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-flow::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: dataFlow 2s linear infinite;
}

@keyframes dataFlow {
    0% { transform: translateX(0) translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(40px) translateY(20px); opacity: 0; }
}

/* Processing Animation */
.processing-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-network-core {
    position: relative;
    width: 150px;
    height: 120px;
}

.input-neurons, .hidden-neurons, .output-neurons {
    position: absolute;
    display: flex;
    gap: 15px;
}

.input-neurons {
    top: 0;
    left: 0;
}

.hidden-neurons {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.output-neurons {
    bottom: 0;
    right: 0;
}

.neuron {
    width: 15px;
    height: 15px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: neuronPulse 2s ease-in-out infinite;
}

.n1, .n4, .n7 { animation-delay: 0s; }
.n2, .n5, .n8 { animation-delay: 0.5s; }
.n3, .n6 { animation-delay: 1s; }

@keyframes neuronPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.synaptic-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connection {
    position: absolute;
    height: 2px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: connectionFlow 2s ease-in-out infinite;
}

.c1 {
    top: 20px;
    left: 20px;
    width: 40px;
    transform: rotate(30deg);
    animation-delay: 0s;
}

.c2 {
    top: 50px;
    left: 30px;
    width: 50px;
    transform: rotate(-20deg);
    animation-delay: 0.5s;
}

.c3 {
    top: 80px;
    left: 40px;
    width: 35px;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.c4 {
    top: 100px;
    left: 60px;
    width: 25px;
    transform: rotate(-30deg);
    animation-delay: 1.5s;
}

@keyframes connectionFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.signal-processing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.spike-sorting, .feature-extraction {
    position: absolute;
    width: 60px;
    height: 20px;
}

.spike-sorting {
    top: 10px;
    right: 10px;
}

.feature-extraction {
    bottom: 10px;
    right: 10px;
}

.spike-cluster, .feature-vector {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: clusterPulse 1.5s ease-in-out infinite;
}

.cluster-1, .v1 { top: 0; left: 0; animation-delay: 0s; }
.cluster-2, .v2 { top: 0; right: 0; animation-delay: 0.5s; }
.cluster-3, .v3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1s; }

@keyframes clusterPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

.pattern-recognition {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.pattern-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--theme-accent, #00d4ff);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: patternPulse 2s ease-out infinite;
}

.p1 { animation-delay: 0s; }
.p2 { animation-delay: 0.7s; }
.p3 { animation-delay: 1.4s; }

@keyframes patternPulse {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }
    100% {
        width: 40px;
        height: 40px;
        opacity: 0;
    }
}

/* Robotic Control Animation */
.robotic-control-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.neural-interface {
    position: relative;
    width: 80px;
    height: 80px;
}

.brain-implant {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid var(--theme-accent, #00d4ff);
}

.electrode-array {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 40px;
    height: 40px;
}

.electrode {
    width: 8px;
    height: 8px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: electrodePulse 1.5s ease-in-out infinite;
}

.e1, .e3 { animation-delay: 0s; }
.e2, .e4 { animation-delay: 0.5s; }

.neural-signals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.signal-wave {
    position: absolute;
    width: 2px;
    height: 20px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: signalWave 1s ease-in-out infinite;
}

.w1 { top: 10px; left: 10px; animation-delay: 0s; }
.w2 { top: 30px; left: 20px; animation-delay: 0.3s; }
.w3 { top: 50px; left: 30px; animation-delay: 0.6s; }

@keyframes signalWave {
    0%, 100% { height: 10px; opacity: 0.5; }
    50% { height: 25px; opacity: 1; }
}

.robotic-arm {
    position: relative;
    width: 80px;
    height: 60px;
}

.arm-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #666;
    border-radius: 50%;
}

.arm-segment {
    position: absolute;
    background: #888;
    border-radius: 5px;
    animation: armMove 3s ease-in-out infinite;
}

.s1 {
    width: 30px;
    height: 8px;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) rotate(30deg);
    animation-delay: 0s;
}

.s2 {
    width: 25px;
    height: 6px;
    bottom: 25px;
    left: 60%;
    transform: rotate(60deg);
    animation-delay: 1s;
}

@keyframes armMove {
    0%, 100% { transform: translateX(-50%) rotate(30deg); }
    50% { transform: translateX(-50%) rotate(60deg); }
}

.gripper {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 15px;
    background: #ff6b6b;
    border-radius: 3px;
    animation: gripperMove 2s ease-in-out infinite;
}

@keyframes gripperMove {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.control-feedback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.feedback-loop {
    position: absolute;
    width: 2px;
    height: 30px;
    background: #ff6b6b;
    border-radius: 1px;
    animation: feedbackPulse 1.5s ease-in-out infinite;
}

.loop1 { top: 20px; left: 20px; animation-delay: 0s; }
.loop2 { top: 40px; left: 30px; animation-delay: 0.5s; }
.loop3 { top: 60px; left: 40px; animation-delay: 1s; }

@keyframes feedbackPulse {
    0%, 100% { height: 15px; opacity: 0.5; }
    50% { height: 35px; opacity: 1; }
}

/* Experiment Progress Bars */
.experiment-progress {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 500;
}

.progress-bar {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--theme-accent, #00d4ff), var(--theme-glow, rgba(0, 212, 255, 0.8)));
    border-radius: 4px;
    animation: progressFill 2s ease-out;
}

@keyframes progressFill {
    0% { width: 0; }
    100% { width: var(--width, 100%); }
}

.progress-value {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--theme-accent, #00d4ff);
    font-weight: 600;
}

/* Optogenetic Lab Experiment */
.optogenetic-lab-experiment {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.lab-setup {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.microscope {
    position: relative;
    width: 60px;
    height: 80px;
}

.microscope-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    background: #666;
    border-radius: 8px;
    animation: microscopePulse 3s ease-in-out infinite;
}

@keyframes microscopePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.microscope-arm {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 40px;
    background: #888;
    border-radius: 2px;
}

.objective-lens {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 15px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 10px;
    animation: lensGlow 2s ease-in-out infinite;
}

@keyframes lensGlow {
    0%, 100% { box-shadow: 0 0 10px var(--theme-glow, rgba(0, 212, 255, 0.5)); }
    50% { box-shadow: 0 0 20px var(--theme-glow, rgba(0, 212, 255, 0.8)); }
}

.neural-culture-dish {
    position: relative;
    width: 80px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: dishGlow 2.5s ease-in-out infinite;
}

@keyframes dishGlow {
    0%, 100% { border-color: var(--theme-accent, #00d4ff); }
    50% { border-color: var(--theme-glow, rgba(0, 212, 255, 0.8)); }
}

.culture-medium {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 50px;
}

.neuron-cluster {
    position: absolute;
    display: flex;
    gap: 5px;
}

.cluster-1 {
    top: 10px;
    left: 10px;
}

.cluster-2 {
    bottom: 10px;
    right: 10px;
}

.neuron {
    width: 8px;
    height: 8px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: neuronPulse 2s ease-in-out infinite;
}

.n1, .n4 { animation-delay: 0s; }
.n2, .n5 { animation-delay: 0.5s; }
.n3, .n6 { animation-delay: 1s; }

.light-delivery-system {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.laser-source {
    position: relative;
    width: 30px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 15px;
    animation: laserPulse 1.5s ease-in-out infinite;
}

@keyframes laserPulse {
    0%, 100% { box-shadow: 0 0 5px #ff6b6b; }
    50% { box-shadow: 0 0 15px #ff6b6b; }
}

.laser-beam {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, transparent);
    border-radius: 1px;
    animation: beamPulse 2s ease-in-out infinite;
}

@keyframes beamPulse {
    0%, 100% { width: 0; opacity: 0; }
    50% { width: 40px; opacity: 1; }
}

.optical-fiber {
    position: relative;
    width: 60px;
    height: 4px;
    background: #888;
    border-radius: 2px;
}

.fiber-core {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: fiberGlow 1.5s ease-in-out infinite;
}

@keyframes fiberGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.light-pattern {
    position: relative;
    width: 40px;
    height: 40px;
}

.light-spot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: spotPulse 2s ease-in-out infinite;
}

.spot-1 { top: 10px; left: 10px; animation-delay: 0s; }
.spot-2 { top: 20px; left: 20px; animation-delay: 0.7s; }
.spot-3 { bottom: 10px; right: 10px; animation-delay: 1.4s; }

@keyframes spotPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

.data-acquisition {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.recording-electrodes {
    position: relative;
    display: flex;
    gap: 8px;
}

.electrode {
    width: 6px;
    height: 6px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: electrodePulse 1.5s ease-in-out infinite;
}

.e1 { animation-delay: 0s; }
.e2 { animation-delay: 0.5s; }
.e3 { animation-delay: 1s; }

.signal-display {
    position: relative;
    width: 80px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.oscilloscope {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.trace {
    position: absolute;
    height: 2px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: traceAnimation 2s ease-in-out infinite;
}

.trace-1 { top: 10px; left: 0; width: 100%; animation-delay: 0s; }
.trace-2 { top: 20px; left: 0; width: 100%; animation-delay: 0.7s; }
.trace-3 { top: 30px; left: 0; width: 100%; animation-delay: 1.4s; }

@keyframes traceAnimation {
    0%, 100% { width: 0; opacity: 0.3; }
    50% { width: 100%; opacity: 1; }
}

/* Recording Lab Experiment */
.recording-lab-experiment {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.electrode-array-setup {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.array-chip {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--theme-accent, #00d4ff);
    border-radius: 10px;
    animation: chipPulse 3s ease-in-out infinite;
}

@keyframes chipPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.electrode-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 60px;
    height: 60px;
}

.electrode {
    width: 12px;
    height: 12px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: electrodePulse 2s ease-in-out infinite;
}

.e1, .e3, .e5, .e7, .e9 { animation-delay: 0s; }
.e2, .e4, .e6, .e8 { animation-delay: 0.5s; }

.neural-tissue {
    position: relative;
    width: 60px;
    height: 40px;
}

.tissue-layer {
    position: absolute;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    animation: tissuePulse 2.5s ease-in-out infinite;
}

.layer-1 { top: 0; animation-delay: 0s; }
.layer-2 { top: 16px; animation-delay: 0.8s; }
.layer-3 { bottom: 0; animation-delay: 1.6s; }

@keyframes tissuePulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.signal-acquisition {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.amplifier-rack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amplifier {
    width: 40px;
    height: 15px;
    background: #666;
    border-radius: 3px;
    animation: amplifierPulse 2s ease-in-out infinite;
}

.amp-1 { animation-delay: 0s; }
.amp-2 { animation-delay: 0.7s; }
.amp-3 { animation-delay: 1.4s; }

@keyframes amplifierPulse {
    0%, 100% { background: #666; }
    50% { background: var(--theme-accent, #00d4ff); }
}

.data-cables {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cable {
    width: 60px;
    height: 3px;
    background: #888;
    border-radius: 2px;
    animation: cablePulse 1.5s ease-in-out infinite;
}

.cable-1 { animation-delay: 0s; }
.cable-2 { animation-delay: 0.5s; }
.cable-3 { animation-delay: 1s; }

@keyframes cablePulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.real-time-analysis {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.computer-interface {
    position: relative;
    width: 80px;
    height: 60px;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--theme-accent, #00d4ff);
    border-radius: 5px;
    overflow: hidden;
}

.waveform-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neural-spike {
    position: absolute;
    width: 2px;
    height: 15px;
    background: #ff6b6b;
    border-radius: 1px;
    animation: spikeAnimation 1s ease-in-out infinite;
}

.spike-1 { left: 20px; top: 10px; animation-delay: 0s; }
.spike-2 { left: 40px; top: 15px; animation-delay: 0.3s; }
.spike-3 { left: 60px; top: 8px; animation-delay: 0.6s; }

@keyframes spikeAnimation {
    0%, 100% { height: 5px; opacity: 0.5; }
    50% { height: 20px; opacity: 1; }
}

.keyboard {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background: #444;
    border-radius: 2px;
}

.processing-indicators {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.indicator {
    width: 8px;
    height: 8px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: indicatorBlink 1.5s ease-in-out infinite;
}

.led-1 { animation-delay: 0s; }
.led-2 { animation-delay: 0.5s; }
.led-3 { animation-delay: 1s; }

@keyframes indicatorBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Neural Control Lab Experiment */
.neural-control-lab-experiment {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.human-testing-station {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.subject-chair {
    position: relative;
    width: 40px;
    height: 30px;
    background: #666;
    border-radius: 5px;
    animation: chairPulse 3s ease-in-out infinite;
}

@keyframes chairPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.headrest {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 8px;
    background: #666;
    border-radius: 4px;
}

.armrests {
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    width: 8px;
    height: 20px;
    background: #666;
    border-radius: 4px;
}

.neural-interface-helmet {
    position: relative;
    width: 50px;
    height: 40px;
}

.helmet-shell {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--theme-accent, #00d4ff);
    border-radius: 25px;
    animation: helmetGlow 2s ease-in-out infinite;
}

@keyframes helmetGlow {
    0%, 100% { border-color: var(--theme-accent, #00d4ff); }
    50% { border-color: var(--theme-glow, rgba(0, 212, 255, 0.8)); }
}

.electrode-pads {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 30px;
    height: 20px;
}

.pad {
    width: 8px;
    height: 8px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: padPulse 1.5s ease-in-out infinite;
}

.pad-1, .pad-3 { animation-delay: 0s; }
.pad-2, .pad-4 { animation-delay: 0.5s; }

@keyframes padPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.neural-signal-monitor {
    position: relative;
    width: 60px;
    height: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.eeg-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.eeg-wave {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: eegWave 2s ease-in-out infinite;
}

.wave-1 { top: 8px; animation-delay: 0s; }
.wave-2 { top: 15px; animation-delay: 0.7s; }
.wave-3 { top: 22px; animation-delay: 1.4s; }

@keyframes eegWave {
    0%, 100% { width: 0; opacity: 0.3; }
    50% { width: 100%; opacity: 1; }
}

.robotic-control-station {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.robot-arm-assembly {
    position: relative;
    width: 60px;
    height: 80px;
}

.arm-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #666;
    border-radius: 50%;
}

.arm-joint {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #888;
    border-radius: 50%;
    animation: jointRotate 3s ease-in-out infinite;
}

.joint-1 {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.joint-2 {
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

@keyframes jointRotate {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(180deg); }
}

.arm-segment {
    position: absolute;
    background: #888;
    border-radius: 3px;
    animation: segmentMove 3s ease-in-out infinite;
}

.segment-1 {
    width: 25px;
    height: 6px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(30deg);
    animation-delay: 0s;
}

.segment-2 {
    width: 20px;
    height: 5px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) rotate(60deg);
    animation-delay: 1s;
}

@keyframes segmentMove {
    0%, 100% { transform: translateX(-50%) rotate(30deg); }
    50% { transform: translateX(-50%) rotate(60deg); }
}

.gripper-assembly {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 10px;
}

.gripper-finger {
    position: absolute;
    width: 6px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 3px;
    animation: gripperMove 2s ease-in-out infinite;
}

.finger-1 { left: 0; animation-delay: 0s; }
.finger-2 { right: 0; animation-delay: 0.5s; }

@keyframes gripperMove {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.control-interface {
    position: relative;
    width: 50px;
    height: 30px;
}

.control-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--theme-accent, #00d4ff);
    border-radius: 5px;
}

.control-button {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: buttonPulse 1.5s ease-in-out infinite;
}

.btn-1 { top: 5px; left: 5px; animation-delay: 0s; }
.btn-2 { top: 5px; right: 5px; animation-delay: 0.5s; }
.btn-3 { bottom: 5px; left: 50%; transform: translateX(-50%); animation-delay: 1s; }

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.data-analysis-station {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.computer-workstation {
    position: relative;
    width: 60px;
    height: 50px;
}

.monitor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--theme-accent, #00d4ff);
    border-radius: 5px;
    overflow: hidden;
}

.screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.performance-graph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.graph-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: graphLine 2s ease-in-out infinite;
}

.line-1 { top: 8px; animation-delay: 0s; }
.line-2 { top: 15px; animation-delay: 0.7s; }
.line-3 { top: 22px; animation-delay: 1.4s; }

@keyframes graphLine {
    0%, 100% { width: 0; opacity: 0.3; }
    50% { width: 100%; opacity: 1; }
}

.keyboard {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 8px;
    background: #444;
    border-radius: 2px;
}

.data-recording {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recording-indicator {
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: recordingBlink 1s ease-in-out infinite;
}

@keyframes recordingBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.data-storage {
    width: 20px;
    height: 15px;
    background: #666;
    border-radius: 2px;
    animation: storagePulse 2s ease-in-out infinite;
}

@keyframes storagePulse {
    0%, 100% { background: #666; }
    50% { background: var(--theme-accent, #00d4ff); }
}

.neuron-cell {
    position: relative;
    width: 80px;
    height: 80px;
}

.cell-body {
    width: 40px;
    height: 40px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: cellPulse 2s ease-in-out infinite;
}

@keyframes cellPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.dendrites {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dendrite {
    position: absolute;
    width: 20px;
    height: 3px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 2px;
    animation: dendritePulse 3s ease-in-out infinite;
}

.dendrite:nth-child(1) {
    transform: rotate(45deg);
    top: -10px;
    left: -10px;
    animation-delay: 0s;
}

.dendrite:nth-child(2) {
    transform: rotate(-45deg);
    top: -10px;
    right: -10px;
    animation-delay: 0.5s;
}

.dendrite:nth-child(3) {
    transform: rotate(90deg);
    bottom: -10px;
    left: -10px;
    animation-delay: 1s;
}

@keyframes dendritePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.axon {
    position: absolute;
    width: 3px;
    height: 30px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 2px;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    animation: axonPulse 2.5s ease-in-out infinite;
}

@keyframes axonPulse {
    0%, 100% { height: 20px; opacity: 0.7; }
    50% { height: 40px; opacity: 1; }
}

.light-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pulse-wave {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--theme-accent, #00d4ff);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseExpand 2s ease-out infinite;
}

.pulse-wave:nth-child(1) {
    animation-delay: 0s;
}

.pulse-wave:nth-child(2) {
    animation-delay: 0.7s;
}

.pulse-wave:nth-child(3) {
    animation-delay: 1.4s;
}

@keyframes pulseExpand {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

.activation-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.activation-dot {
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: activationBlink 1s ease-in-out infinite;
}

@keyframes activationBlink {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Recording Demo Effects */
.recording-demo {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.electrode-array {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 120px;
    height: 120px;
}

.electrode {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.electrode.active {
    background: var(--theme-accent, #00d4ff);
    box-shadow: 0 0 20px var(--theme-glow, rgba(0, 212, 255, 0.5));
    animation: electrodePulse 2s ease-in-out infinite;
}

@keyframes electrodePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.signal-display {
    position: relative;
    width: 200px;
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.signal-wave {
    position: absolute;
    height: 2px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: waveAnimation 2s ease-in-out infinite;
}

.wave-1 {
    top: 20px;
    left: 0;
    width: 100%;
    animation-delay: 0s;
}

.wave-2 {
    top: 40px;
    left: 0;
    width: 100%;
    animation-delay: 0.5s;
}

.wave-3 {
    top: 60px;
    left: 0;
    width: 100%;
    animation-delay: 1s;
}

.wave-4 {
    top: 80px;
    left: 0;
    width: 100%;
    animation-delay: 1.5s;
}

@keyframes waveAnimation {
    0%, 100% { width: 0; opacity: 0.3; }
    50% { width: 100%; opacity: 1; }
}

/* Processing Demo Effects */
.processing-demo {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-network {
    position: relative;
    width: 200px;
    height: 150px;
}

.input-layer,
.hidden-layer,
.output-layer {
    position: absolute;
    display: flex;
    gap: 10px;
}

.input-layer {
    top: 0;
    left: 0;
}

.hidden-layer {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.output-layer {
    bottom: 0;
    right: 0;
}

.neuron {
    width: 20px;
    height: 20px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 50%;
    animation: neuronPulse 3s ease-in-out infinite;
}

.neuron:nth-child(1) { animation-delay: 0s; }
.neuron:nth-child(2) { animation-delay: 0.5s; }
.neuron:nth-child(3) { animation-delay: 1s; }

@keyframes neuronPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connection {
    position: absolute;
    height: 2px;
    background: var(--theme-accent, #00d4ff);
    border-radius: 1px;
    animation: connectionFlow 2s ease-in-out infinite;
}

.connection:nth-child(1) {
    top: 30px;
    left: 30px;
    width: 60px;
    transform: rotate(30deg);
    animation-delay: 0s;
}

.connection:nth-child(2) {
    top: 60px;
    left: 50px;
    width: 80px;
    transform: rotate(-20deg);
    animation-delay: 0.5s;
}

.connection:nth-child(3) {
    top: 90px;
    left: 70px;
    width: 60px;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.connection:nth-child(4) {
    top: 120px;
    left: 90px;
    width: 40px;
    transform: rotate(-30deg);
    animation-delay: 1.5s;
}

@keyframes connectionFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: dataFlow 3s linear infinite;
}

.data-particle:nth-child(1) {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.data-particle:nth-child(2) {
    top: 50px;
    left: 30px;
    animation-delay: 1s;
}

.data-particle:nth-child(3) {
    top: 80px;
    left: 40px;
    animation-delay: 2s;
}

@keyframes dataFlow {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(150px, 100px);
        opacity: 0;
    }
}

/* Responsive Design for Detail Pages */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .tech-item,
    .research-item,
    .experiment-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-visual,
    .research-visual,
    .experiment-visual {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .project-hero-title {
        font-size: 2.5rem;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        width: 100%;
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .progress-timeline::before {
        left: 1rem;
    }
    
    .dna-timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .dna-timeline-date {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .dna-timeline-content {
        margin-left: 0;
    }
    
    .dna-timeline-content::before {
        display: none;
    }
    
    .dna-progress-timeline::before,
    .dna-progress-timeline::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .project-hero-title {
        font-size: 2rem;
    }
    
    .tech-grid,
    .research-grid,
    .specs-grid,
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.project-visual {
    animation: slideInRight 1s ease-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
}

/* Project Image Container */
.project-image-container {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 400px;
    height: 300px;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
    padding: 3px;
    animation: borderGlow 3s ease-in-out infinite;
}

.project-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
    border-radius: 20px;
    z-index: -1;
    animation: borderPulse 2s ease-in-out infinite;
}

.project-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 255, 136, 0.4);
    animation: borderGlowHover 1.5s ease-in-out infinite;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
    transition: all 0.3s ease;
    filter: sepia(0.3) hue-rotate(120deg) saturate(0.8) brightness(0.9);
    display: block;
}

.project-image:hover {
    transform: scale(1.05);
    filter: sepia(0.2) hue-rotate(100deg) saturate(1) brightness(1);
}

.image-overlay {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 136, 0.15) 0%,
        rgba(0, 212, 255, 0.1) 50%,
        rgba(255, 107, 53, 0.1) 100%
    );
    backdrop-filter: blur(2px);
    border-radius: 17px;
    z-index: 2;
    pointer-events: none;
    animation: overlayPulse 4s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.3), 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.6), 0 20px 40px rgba(0, 0, 0, 0.3);
    }
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes borderGlowHover {
    0%, 100% {
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.8), 0 25px 50px rgba(0, 255, 136, 0.4);
    }
    50% {
        box-shadow: 0 0 60px rgba(0, 255, 136, 1), 0 25px 50px rgba(0, 255, 136, 0.6);
    }
}

/* Adjust existing visual elements to work with images */
.bci-device,
.biochip,
.rodent-control,
.dream-device,
.virtual-universe {
    position: relative;
    z-index: 3;
    opacity: 0.9;
}

/* Enhanced visual effects for better integration */
.bci-device::before,
.biochip::before,
.rodent-control::before,
.dream-device::before,
.virtual-universe::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(
        45deg,
        rgba(0, 255, 136, 0.1),
        rgba(0, 212, 255, 0.1),
        rgba(255, 107, 53, 0.1)
    );
    border-radius: 30px;
    z-index: -1;
    animation: visualGlow 3s ease-in-out infinite;
}

@keyframes visualGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* Project 1 Visual */
.bci-device {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.device-frame {
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    background: rgba(0, 255, 136, 0.05);
    box-shadow: 0 0 50px var(--neural-glow);
}

.neural-interface {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
}

.electrode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.electrode {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: electrodePulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--neural-glow);
}

.electrode:nth-child(1) { animation-delay: 0s; }
.electrode:nth-child(2) { animation-delay: 0.2s; }
.electrode:nth-child(3) { animation-delay: 0.4s; }
.electrode:nth-child(4) { animation-delay: 0.6s; }
.electrode:nth-child(5) { animation-delay: 0.8s; }
.electrode:nth-child(6) { animation-delay: 1s; }
.electrode:nth-child(7) { animation-delay: 1.2s; }
.electrode:nth-child(8) { animation-delay: 1.4s; }
.electrode:nth-child(9) { animation-delay: 1.6s; }

@keyframes electrodePulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

.signal-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
    animation: waveFlow 3s ease-in-out infinite;
}

.wave-1 {
    top: 20%;
    left: 0;
    width: 100%;
    animation-delay: 0s;
}

.wave-2 {
    top: 50%;
    left: 0;
    width: 100%;
    animation-delay: 1s;
}

.wave-3 {
    top: 80%;
    left: 0;
    width: 100%;
    animation-delay: 2s;
}

@keyframes waveFlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Project 2 Visual */
.biochip {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.chip-surface {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.chip-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--neural-glow), transparent);
    animation: chipGlow 3s ease-in-out infinite;
}

@keyframes chipGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.circuit-line {
    position: absolute;
    height: 2px;
    background: var(--primary-color);
    animation: circuitFlow 4s ease-in-out infinite;
}

.circuit-line:nth-child(1) {
    top: 30%;
    left: 10%;
    width: 80%;
    animation-delay: 0s;
}

.circuit-line:nth-child(2) {
    top: 60%;
    left: 20%;
    width: 60%;
    animation-delay: 1s;
}

.circuit-line:nth-child(3) {
    top: 80%;
    left: 30%;
    width: 40%;
    animation-delay: 2s;
}

@keyframes circuitFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.molecular-structures {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.molecule {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: moleculeFloat 3s ease-in-out infinite;
}

.molecule-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.molecule-2 {
    top: 60%;
    left: 70%;
    animation-delay: 1s;
}

.molecule-3 {
    top: 80%;
    left: 40%;
    animation-delay: 2s;
}

@keyframes moleculeFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* Project 3 Visual */
.rodent-control {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.rodent-silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #333, #555);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: rodentPulse 3s ease-in-out infinite;
}

.brain-highlight {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    animation: brainGlow 2s ease-in-out infinite;
}

@keyframes rodentPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes brainGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.neural-stimulation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stim-pulse {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: stimPulse 1.5s ease-in-out infinite;
}

.stim-pulse:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.stim-pulse:nth-child(2) {
    top: 60%;
    left: 70%;
    animation-delay: 0.5s;
}

.stim-pulse:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 1s;
}

@keyframes stimPulse {
    0%, 100% { 
        opacity: 0;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(2);
    }
}

.control-interface {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 100px;
}

.control-panel {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.control-button {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: buttonPulse 2s ease-in-out infinite;
}

.control-button:nth-child(1) { animation-delay: 0s; }
.control-button:nth-child(2) { animation-delay: 0.3s; }
.control-button:nth-child(3) { animation-delay: 0.6s; }

@keyframes buttonPulse {
    0%, 100% { 
        opacity: 0.5;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Project 4 Visual */
.dream-device {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.sleep-monitor {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.eeg-waves {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80%;
    height: 20%;
}

.wave-line {
    position: absolute;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    animation: eegWave 2s ease-in-out infinite;
}

.wave-line:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    animation-delay: 0s;
}

.wave-line:nth-child(2) {
    top: 50%;
    left: 0;
    width: 100%;
    animation-delay: 0.5s;
}

.wave-line:nth-child(3) {
    top: 100%;
    left: 0;
    width: 100%;
    animation-delay: 1s;
}

@keyframes eegWave {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.dream-visualization {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
}

.dream-scene {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    animation: dreamShift 4s ease-in-out infinite;
}

.scene-1 {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    animation-delay: 0s;
}

.scene-2 {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    animation-delay: 1.3s;
}

.scene-3 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation-delay: 2.6s;
}

@keyframes dreamShift {
    0%, 30% { opacity: 1; }
    33%, 100% { opacity: 0; }
}

/* Project 5 Visual */
.virtual-universe {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.universe-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: universeRotate 10s linear infinite;
}

.core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--neural-glow), transparent);
    border-radius: 50%;
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes universeRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes corePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connection {
    position: absolute;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    animation: connectionFlow 3s ease-in-out infinite;
}

.connection-1 {
    top: 20%;
    left: 20%;
    width: 60%;
    animation-delay: 0s;
}

.connection-2 {
    top: 60%;
    left: 30%;
    width: 40%;
    animation-delay: 1s;
}

.connection-3 {
    top: 80%;
    left: 40%;
    width: 30%;
    animation-delay: 2s;
}

@keyframes connectionFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream {
    position: absolute;
    width: 2px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 1px;
    animation: dataStream 2s ease-in-out infinite;
}

.stream-1 {
    top: 10%;
    left: 30%;
    animation-delay: 0s;
}

.stream-2 {
    top: 50%;
    left: 70%;
    animation-delay: 0.7s;
}

.stream-3 {
    top: 80%;
    left: 20%;
    animation-delay: 1.4s;
}

@keyframes dataStream {
    0%, 100% { 
        opacity: 0;
        transform: translateY(0);
    }
    50% { 
        opacity: 1;
        transform: translateY(-30px);
    }
}

/* Background Elements */
.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 L20,10 M10,0 L10,20" stroke="%2300ff88" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>') repeat;
    opacity: 0.1;
}

.dna-helix {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 300px;
}

.helix-strand {
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    animation: helixRotate 8s linear infinite;
}

.strand-1 {
    left: 0;
    animation-delay: 0s;
}

.strand-2 {
    right: 0;
    animation-delay: 4s;
}

@keyframes helixRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.helix-bases {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
}

.base-pair {
    position: absolute;
    width: 2px;
    height: 20px;
    background: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
    animation: basePair 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes basePair {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.neural-pathways {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pathway {
    position: absolute;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    animation: pathwayFlow 4s ease-in-out infinite;
}

.pathway-1 {
    top: 30%;
    left: 0;
    width: 100%;
    animation-delay: 0s;
}

.pathway-2 {
    top: 60%;
    left: 0;
    width: 80%;
    animation-delay: 1s;
}

.pathway-3 {
    top: 80%;
    left: 0;
    width: 60%;
    animation-delay: 2s;
}

@keyframes pathwayFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.dream-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dream-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: dreamFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 10px var(--accent-color);
}

@keyframes dreamFloat {
    0%, 100% { 
        opacity: 0.3;
        transform: translateY(0) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateY(-30px) scale(1.2);
    }
}

.universe-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: var(--primary-color);
    opacity: 0.1;
}

.grid-line:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
}

.grid-line:nth-child(2) {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
}

.grid-line:nth-child(3) {
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
}

.grid-line:nth-child(4) {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
}

.consciousness-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.consciousness-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: consciousnessFloat 5s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 15px var(--neural-glow);
}

@keyframes consciousnessFloat {
    0%, 100% { 
        opacity: 0.3;
        transform: translateY(0) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateY(-40px) scale(1.3);
    }
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content,
    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .brain-visualization,
    .bci-device,
    .biochip,
    .rodent-control,
    .dream-device,
    .virtual-universe {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .project-number {
        font-size: 4rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .project-image-container {
        width: 300px;
        height: 200px;
        top: 10px;
        right: 10px;
    }
}

/* Responsive Design for Project Images */
@media (max-width: 1024px) {
    .project-image-container {
        width: 350px;
        height: 250px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    .project-image-container {
        width: 300px;
        height: 200px;
        top: 10px;
        right: 10px;
    }
    
    .project-visual {
        min-height: 400px;
    }
}

/* Web3.0 Section Styles */
.web3-section {
    position: relative;
    min-height: 100vh;
    background: var(--bg-darker);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.web3-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blockchain-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.blockchain-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00ff88;
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: blockchainPulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

.blockchain-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    left: var(--x1);
    top: var(--y1);
    width: 100px;
    transform-origin: left center;
    transform: rotate(45deg);
    animation: blockchainFlow 4s ease-in-out infinite;
    opacity: 0.6;
}

.data-block {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00d4ff;
    left: var(--x);
    top: var(--y);
    animation: dataBlockFloat 5s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.smart-contract {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b35;
    border-radius: 2px;
    left: var(--x);
    top: var(--y);
    animation: smartContractGlow 2s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

.neural-blockchain-fusion {
    position: absolute;
    width: 100%;
    height: 100%;
}

.fusion-node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: fusionPulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.8);
}

.fusion-connection {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00d4ff, #ff6b35);
    left: var(--x1);
    top: var(--y1);
    width: 100px;
    transform-origin: left center;
    transform: rotate(45deg);
    animation: fusionFlow 3s ease-in-out infinite;
    opacity: 0.8;
}

.web3-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.web3-header {
    text-align: center;
    margin-bottom: 4rem;
}

.web3-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: #00ff88;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.web3-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.web3-title .title-line {
    display: block;
}

.web3-title .highlight {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.web3-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.web3-features {
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: #000;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

.web3-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contract-address {
    margin-bottom: 4rem;
}

.ca-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.ca-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ca-header h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.ca-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ff88;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

.ca-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ca-address {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00ff88;
    word-break: break-all;
}

.copy-button {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    border: none;
    color: #000;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.copy-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.ca-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.ca-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ca-detail .label {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.ca-detail .value {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.web3-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.web3-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.web3-button.primary {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    color: #000;
}

.web3-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.web3-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.web3-button.primary:hover {
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.4);
}

.web3-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 255, 136, 0.3);
}

/* Web3.0 Animations */
@keyframes blockchainPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes blockchainFlow {
    0%, 100% { 
        opacity: 0.3;
    }
    50% { 
        opacity: 0.8;
    }
}

@keyframes dataBlockFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    50% { 
        transform: translateY(-10px) rotate(180deg);
    }
}

@keyframes smartContractGlow {
    0%, 100% { 
        opacity: 0.7;
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 25px rgba(255, 107, 53, 0.9);
    }
}

@keyframes fusionPulse {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes fusionFlow {
    0%, 100% { 
        opacity: 0.5;
    }
    50% { 
        opacity: 1;
    }
}

@keyframes statusBlink {
    0%, 100% { 
        opacity: 1;
    }
    50% { 
        opacity: 0.3;
    }
}

/* Responsive Design for Web3.0 Section */
@media (max-width: 1024px) {
    .web3-content {
        padding: 0 2rem;
    }
    
    .web3-title {
        font-size: 2.8rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .web3-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .web3-content {
        padding: 0 1.5rem;
    }
    
    .web3-title {
        font-size: 2.2rem;
    }
    
    .web3-subtitle {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .web3-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .ca-details {
        grid-template-columns: 1fr;
    }
    
    .web3-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .web3-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .web3-title {
        font-size: 1.8rem;
    }
    
    .web3-stats {
        grid-template-columns: 1fr;
    }
    
    .ca-display {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-button {
        align-self: center;
        width: fit-content;
    }
}