/* Dark, technical aesthetic embodying algorithmic fragmentation */

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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #e0e0e0;
    --text-secondary: #888888;
    --accent: #00ffff;
    --accent-dim: #006666;
    --border: #222222;
}

body {
    font-family: 'Space Mono', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
}

/* CRT scanline overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 1000;
    opacity: 0.3;
}

/* Header */
header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.header-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0;
    line-height: 1.2;
    color: var(--text-primary);
}

.line-1, .line-2 {
    display: block;
    padding: 0.25rem 0;
}

.tagline {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.tagline-1, .tagline-2 {
    display: block;
    padding: 0.15rem 0;
}

/* Concept Text */
.concept-text {
    margin-top: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 3rem;
}

.concept-text p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.concept-text p:last-child {
    margin-bottom: 0;
}

/* Concept Section */
.concept {
    margin-bottom: 4rem;
}

.description {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 2rem;
    border-left: 3px solid var(--accent);
}

.description p {
    margin-bottom: 1.5rem;
}

.description p:last-child {
    margin-bottom: 0;
}

.reveal-on-hover {
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.description:hover .reveal-on-hover {
    opacity: 1;
    transform: translateY(0);
}

/* Details Section */
.details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

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

.label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.value {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Mission Section */
.mission {
    margin-bottom: 4rem;
}

.mission h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mission-grid {
    display: grid;
    gap: 2rem;
}

.mission-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.mission-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mission-item:hover::before {
    transform: translateX(0);
}

.mission-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mission-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.cta-content p {
    margin-bottom: 0.75rem;
}

.cta-content p:first-child {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.contact {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Bottom Content */
.bottom-content {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.bottom-content h1 {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin: 0;
}

.bottom-content .line-1,
.bottom-content .line-2 {
    display: block;
}

.pilot-info {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #00ffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: #00ffff;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    color: var(--text-secondary);
}

footer p {
    margin: 0;
}

.copyright {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.system-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
}

.status-indicator {
    color: var(--accent);
    animation: pulse 2s infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }

    header {
        margin-bottom: 3rem;
    }

    .description {
        padding: 1.5rem;
    }

    .details {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .mission-grid {
        gap: 1.5rem;
    }

    .mission-item {
        padding: 1.25rem;
    }

    .cta {
        padding: 2rem 1.5rem;
    }

    .bottom-content {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }

    .bottom-content h1 {
        font-size: 1.4rem;
    }

    .pilot-info {
        font-size: 0.8rem;
    }

    .contact-info {
        font-size: 0.9rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Selection */
::selection {
    background: var(--accent-dim);
    color: var(--text-primary);
}