:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --primary-color: #00f0ff;
    --secondary-color: #0066cc;
    --alert-color: #ff003c;
    --hud-color: rgba(0, 240, 255, 0.3);
    
    --font-display: 'Orbitron', sans-serif;
    --font-data: 'Space Mono', monospace;
    
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-data);
    overflow-x: hidden;
    font-size: 14px;
}

/* HUD Overlay */
.hud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1000;
}

.hud-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
}

.top-left { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.top-right { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.bottom-right { bottom: 20px; right: 20px; border-left: none; border-top: none; }

.hud-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.hud-line.top { top: 20px; }
.hud-line.bottom { bottom: 20px; }

.hud-center-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--hud-color);
}

.hud-center-crosshair::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    transform: translate(-50%, -50%);
}

.coordinates {
    position: fixed;
    bottom: 30px;
    right: 40px;
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 12px;
    color: var(--primary-color);
    z-index: 1001;
    font-family: var(--font-data);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #fff;
}

.highlight { color: var(--primary-color); }

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 10px;
    transition: var(--transition);
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
    padding: 5px 10px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.nav-link:hover {
    color: transparent;
}

.nav-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-btn {
    border: 1px solid var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
}

.contact-btn:hover {
    background: var(--primary-color);
    color: #000 !important;
}

.contact-btn:hover::before {
    color: #000;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* For parallax */
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: contrast(1.2) saturate(0) brightness(0.8);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    opacity: 0.3;
    box-shadow: 0 0 10px var(--primary-color);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { top: 100%; opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-left: 10%;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 10px;
    margin-bottom: 20px;
    background: rgba(0, 240, 255, 0.1);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.glitch {
    position: relative;
    color: #fff;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--alert-color);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: 1px 0 var(--secondary-color);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 20% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(30% 0 10% 0); }
    40% { clip-path: inset(80% 0 5% 0); }
    60% { clip-path: inset(40% 0 40% 0); }
    80% { clip-path: inset(60% 0 30% 0); }
    100% { clip-path: inset(10% 0 80% 0); }
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #aaa;
    border-left: 2px solid var(--primary-color);
    padding-left: 20px;
}

.btn-hud {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--font-display);
    font-size: 1.2rem;
    padding: 15px 30px;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-hud:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

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

.btn-hud:hover::before {
    left: 100%;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    border-bottom: 1px solid #222;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.data-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #ccc;
}

.mission-stats {
    list-style: none;
    display: flex;
    gap: 40px;
}

.stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #777;
    letter-spacing: 1px;
}

.img-frame {
    position: relative;
    padding: 10px;
    border: 1px solid #333;
}

.img-frame img {
    width: 100%;
    display: block;
    filter: grayscale(100%);
    transition: var(--transition);
}

.img-frame:hover img {
    filter: grayscale(0%);
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
}

.c-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.c-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #080808;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.text-center { text-align: center; }
.section-title.text-center::after { left: 50%; transform: translateX(-50%); }

.container-fluid {
    width: 100%;
    padding: 0 50px;
}

.services-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    position: relative;
    background: #111;
    border: 1px solid #333;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.card-img {
    height: 250px;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%);
    transition: var(--transition);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #111, transparent);
}

.service-card:hover .card-img img {
    filter: grayscale(0%);
}

.card-content {
    padding: 20px;
    position: relative;
}

.card-id {
    font-size: 10px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 2px 5px;
    margin-bottom: 10px;
    display: inline-block;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-content p {
    color: #888;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-terminal {
    background: #000;
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    font-family: var(--font-data);
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    font-size: 10px;
    color: #666;
}

.terminal-body {
    padding: 30px;
}

.terminal-line {
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 5px var(--primary-color);
}

.hud-form {
    margin-top: 30px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    color: #666;
    font-size: 10px;
    margin-bottom: 5px;
}

.form-row input, .form-row textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: #fff;
    font-family: var(--font-data);
    padding: 10px 0;
    transition: var(--transition);
}

.form-row input:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.wide { width: 100%; margin-top: 20px; background: transparent; }

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.info-block h4 {
    color: #666;
    font-size: 10px;
    margin-bottom: 10px;
}

.info-block p {
    font-size: 1.1rem;
}

.mono {
    font-family: var(--font-data);
    color: var(--primary-color);
}

/* Footer */
.footer {
    border-top: 1px solid #222;
    padding: 20px 0;
    font-size: 10px;
    color: #555;
    background: #050505;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

/* Responsive */
@media (max-width: 768px) {
    .header { padding: 20px; }
    .nav { display: none; }
    .hero-title { font-size: 3rem; }
    .mission-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .coordinates { display: none; }
}
