/* Mission Section */
.mission {
    position: relative;
    overflow: hidden;
}

/* Neural Network Background Container */
.neural-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Neural Canvas */
.neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all;
}

/* Mission Content */
.mission-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.mission h2 {
    font-size: 56px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
}

.mission h2 span:not(.highlight-green) {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #e0e0e0 10%,
        #cccccc 20%,
        #b3b3b3 30%,
        #999999 40%,
        #808080 50%,
        #999999 60%,
        #b3b3b3 70%,
        #cccccc 80%,
        #e0e0e0 90%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission .highlight-green {
    background: linear-gradient(
        180deg,
        #FF7107 0%,
        #FF8C42 20%,
        #FF7107 40%,
        #FF5500 50%,
        #FF7107 60%,
        #FF8C42 80%,
        #FF7107 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Mobile Optimizations Only */
@media (max-width: 768px) {
    /* GPU acceleration for mobile */
    .neural-canvas {
        transform: translateZ(0);
        will-change: transform;
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .mission h2 {
        font-size: 42px;
        padding: 0 20px;
        line-height: 1.3;
    }
    
    .mission p {
        font-size: 18px;
        padding: 0 20px;
        line-height: 1.5;
    }
    
    /* Disable complex animations on touch devices */
    @media (hover: none) and (pointer: coarse) {
        .mission h2 span {
            transition: none;
        }
    }
}

/* Very small mobile */
@media (max-width: 480px) {
    .mission h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .mission p {
        font-size: 16px;
    }
    
    .mission-content {
        padding: 20px 15px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .neural-canvas {
        opacity: 0.3;
    }
}