/* VFX Tech Lab Style - Cyberpunk Command Center */

/* Matrix Digital Rain */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    top: -100%;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 12px;
    white-space: nowrap;
    text-shadow: 0 0 5px #00ff41;
    animation: matrix-fall linear infinite;
    opacity: 0.7;
}

.matrix-column.bright {
    color: #ffffff;
    text-shadow: 0 0 10px #00ff41;
    opacity: 1;
}

/* Ensure main content appears above matrix rain */
.navbar, .hero, section, .stats-panel, .terminal, .radar-container {
    position: relative;
    z-index: 10;
}

@keyframes matrix-fall {
    0% { 
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% { 
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 20px currentColor;
    }
    50% { 
        box-shadow: 0 0 35px currentColor, 0 0 50px currentColor;
    }
}

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

body {
    background: #0a0a0a;
    color: #00ff41;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    overflow-x: hidden;
    position: relative;
}

/* Scanlines overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.03) 2px,
        rgba(0, 255, 65, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1000;
}

/* Grid overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 65, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 999;
    animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.1; }
}

/* Navigation - Command Bar */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid #00ff41;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    backdrop-filter: blur(10px);
    min-height: 90px;
}

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

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

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.3));
    transition: filter 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.4));
}

.logo-text {
    color: #00ff41;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff41;
    animation: textGlow 2s ease-in-out infinite alternate;
    letter-spacing: 1px;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px #00ff41; }
    to { text-shadow: 0 0 20px #00ff41, 0 0 30px #00ff41; }
}

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

/* Ensure navigation shows on desktop */
@media (min-width: 769px) {
    .nav-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        flex-direction: row !important;
        background: transparent !important;
        width: auto !important;
        text-align: left !important;
        transition: none !important;
        box-shadow: none !important;
        z-index: auto !important;
        padding: 0 !important;
        backdrop-filter: none !important;
        border-top: none !important;
    }
    
    .nav-link {
        margin: 0 !important;
        font-size: 0.9rem !important;
        display: inline-block !important;
        padding: 0.5rem 1rem !important;
    }
    
    .nav-toggle {
        display: none !important;
    }
}

.nav-link {
    color: #00ff41;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:hover {
    border: 1px solid #00ff41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    background: rgba(0, 255, 65, 0.1);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #00ff41;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section - Command Center */
.hero {
    height: 100vh;
    background: 
        linear-gradient(135deg, rgba(0,10,20,0.8) 0%, rgba(0,0,0,0.9) 100%),
        url('../images/bg-cyberpunk.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,255,65,0.1) 0%, transparent 70%);
    animation: backgroundPulse 4s ease-in-out infinite;
}

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

.hero-title {
    font-size: 3rem;
    color: #00ff41;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: titlePulse 2s ease-in-out infinite;
    position: relative;
    z-index: 100;
    padding: 0 450px;
    max-width: none;
}

@keyframes titlePulse {
    0%, 100% { 
        text-shadow: 0 0 20px #00ff41;
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 40px #00ff41, 0 0 60px #00ff41;
        transform: scale(1.02);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    animation: blink 1.5s infinite;
    position: relative;
    z-index: 100;
    padding: 0 450px;
}

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

.hero-status {
    font-size: 1rem;
    color: #00d4ff;
    margin-bottom: 2rem;
    position: relative;
    z-index: 100;
    padding: 0 450px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 100;
    padding: 0 450px;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #00ff41 0%, #00d4ff 100%);
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.6);
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn-secondary:hover {
    background: #ff6b35;
    color: #000;
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.6);
    transform: translateY(-2px);
}

/* Radar Component */
.radar-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    z-index: 50;
}

.radar-circle {
    width: 100%;
    height: 100%;
    border: 2px solid #00ff41;
    border-radius: 50%;
    position: relative;
    animation: radarPulse 3s ease-in-out infinite;
}

@keyframes radarPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(0, 255, 65, 0.8);
        transform: scale(1.05);
    }
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 50%;
    background: linear-gradient(to bottom, #00ff41, transparent);
    transform-origin: bottom;
    animation: radarSweep 2s linear infinite;
}

@keyframes radarSweep {
    from { transform: translate(-50%, 0) rotate(0deg); }
    to { transform: translate(-50%, 0) rotate(360deg); }
}

.radar-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ff6b35;
    border-radius: 50%;
    animation: dotBlink 1s infinite;
}

.radar-dot:nth-child(3) { top: 30%; left: 60%; animation-delay: 0.2s; }
.radar-dot:nth-child(4) { top: 70%; left: 40%; animation-delay: 0.5s; }
.radar-dot:nth-child(5) { top: 50%; left: 80%; animation-delay: 0.8s; }

@keyframes dotBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Terminal Component */
.terminal {
    position: absolute;
    bottom: 15%;
    left: 2%;
    width: 380px;
    height: 180px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #00ff41;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    overflow: hidden;
    z-index: 50;
    backdrop-filter: blur(5px);
}

.terminal-header {
    color: #00ff41;
    border-bottom: 1px solid #00ff41;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.terminal-content {
    height: 140px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00ff41 transparent;
}

.terminal-line {
    margin-bottom: 0.3rem;
    animation: typewriter 0.5s ease-in-out;
}

.terminal-line.success { color: #00ff41; }
.terminal-line.warning { color: #ff6b35; }
.terminal-line.error { color: #ff4757; }
.terminal-line.info { color: #00d4ff; }

@keyframes typewriter {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* System Stats Panel */
.stats-panel {
    position: absolute;
    top: 25%;
    left: 2%;
    width: 280px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #00ff41;
    padding: 1rem;
    z-index: 50;
    backdrop-filter: blur(5px);
}

.stats-header {
    color: #00ff41;
    text-transform: uppercase;
    border-bottom: 1px solid #00ff41;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.stat-label {
    color: #00d4ff;
}

.stat-value {
    color: #00ff41;
    font-weight: bold;
}

.stat-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 255, 65, 0.2);
    margin-top: 0.3rem;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff41, #00d4ff);
    animation: statFill 3s ease-in-out infinite;
}

@keyframes statFill {
    0%, 100% { width: 75%; }
    50% { width: 90%; }
}

/* Section Separator */
.section-separator {
    height: 80px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 65, 0.3) 20%, 
        rgba(0, 212, 255, 0.3) 50%, 
        rgba(255, 107, 53, 0.3) 80%, 
        transparent 100%);
    position: relative;
    overflow: hidden;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff41, #00d4ff, #ff6b35, transparent);
    animation: separatorSweep 4s ease-in-out infinite;
}

@keyframes separatorSweep {
    0% { left: -100%; }
    50% { left: 50%; }
    100% { left: 200%; }
}

/* Operations Section */
.operations-section {
    padding: 100px 0;
    background: 
        linear-gradient(180deg, rgba(255,107,53,0.1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.9) 100%),
        url('../images/bg-danger.jpg') center/cover;
    position: relative;
}

.operations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(255,107,53,0.05) 100px,
        rgba(255,107,53,0.05) 102px
    );
    animation: dangerSweep 8s linear infinite;
}

@keyframes dangerSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

.section-title {
    font-size: 2.5rem;
    color: #00ff41;
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px #00ff41;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ff41, transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px #00ff41;
}

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

.operation-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff41;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.operation-card:hover {
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    transform: translateY(-5px);
}

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

.card-header i {
    font-size: 1.5rem;
    color: #00ff41;
}

.card-header span {
    color: #00d4ff;
    font-weight: bold;
    text-transform: uppercase;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff41;
    box-shadow: 0 0 10px #00ff41;
    animation: pulse 2s infinite;
}

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

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 255, 65, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff41, #00d4ff);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Threat Map Section */
.threat-map-section {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, rgba(0,212,255,0.1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,20,40,0.9) 100%),
        url('../images/bg-hightech.jpg') center/cover;
    position: relative;
}

.threat-map-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0,212,255,0.15) 0%, transparent 50%);
    animation: threatScan 6s ease-in-out infinite;
}

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

.map-container {
    position: relative;
    text-align: center;
}

#threatMap {
    border: 1px solid #00ff41;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin: 2rem 0;
}

.threat-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.legend-dot.active { background: #00ff41; box-shadow: 0 0 10px #00ff41; }
.legend-dot.warning { background: #ff6b35; box-shadow: 0 0 10px #ff6b35; }
.legend-dot.critical { background: #ff4757; box-shadow: 0 0 10px #ff4757; }

/* Deploy Section */
.deploy-section {
    padding: 80px 0;
    background: 
        linear-gradient(45deg, rgba(0,255,65,0.1) 0%, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0.9) 70%, rgba(255,107,53,0.1) 100%),
        url('../images/bg-cyberpunk.jpg') center/cover;
    position: relative;
}

.deploy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0,255,65,0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255,107,53,0.2) 0%, transparent 40%);
    animation: deployPulse 5s ease-in-out infinite alternate;
}

@keyframes deployPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

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

.deploy-info h3 {
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.deploy-info p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.response-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid #00ff41;
    border-radius: 5px;
}

.metric-value {
    display: block;
    color: #00ff41;
    font-size: 1.5rem;
    font-weight: bold;
}

.metric-label {
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-btn {
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-btn.primary {
    background: #ff6b35;
    color: #000;
    border: 2px solid #ff6b35;
}

.contact-btn.primary:hover {
    background: transparent;
    color: #ff6b35;
    box-shadow: 0 0 20px #ff6b35;
    transform: translateY(-3px) scale(1.05);
    animation: pulse 1.5s infinite;
}

.contact-btn.secondary {
    background: transparent;
    color: #00ff41;
    border: 2px solid #00ff41;
}

.contact-btn.secondary:hover {
    background: #00ff41;
    color: #000;
    box-shadow: 0 0 20px #00ff41;
    transform: translateY(-3px) scale(1.05);
    animation: pulse 1.5s infinite;
}

.contact-btn:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 0 10px currentColor;
}

.contact-btn::before {
    content: '→';
    opacity: 0;
    transition: all 0.3s ease;
    margin-right: -10px;
}

.contact-btn:hover::before {
    opacity: 1;
    margin-right: 5px;
}

.deploy-terminal {
    position: relative;
}

.terminal-window {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff41;
    border-radius: 10px;
    overflow: hidden;
}

.terminal-window .terminal-header {
    background: #00ff41;
    color: #000;
    padding: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    line-height: 1.8;
}

.command-line {
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.output-line {
    margin-bottom: 0.5rem;
}

.output-line.success {
    color: #00ff41;
}

.output-line.warning {
    color: #ff6b35;
}

.cursor-blink {
    color: #00ff41;
    animation: blink 1s infinite;
}

/* Background Enhancement Effects */
.glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0,255,65,0.03) 2px,
            rgba(0,255,65,0.03) 4px
        );
    animation: glitchMove 0.5s linear infinite;
    pointer-events: none;
}

@keyframes glitchMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(100px); }
}

/* Digital Rain Effect */
.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="100"><text y="20" font-family="monospace" font-size="12" fill="%2300ff4130">01</text><text y="40" font-family="monospace" font-size="12" fill="%2300ff4120">10</text><text y="60" font-family="monospace" font-size="12" fill="%2300ff4110">11</text></svg>') repeat;
    animation: rainFall 3s linear infinite;
    pointer-events: none;
    opacity: 0.1;
}

@keyframes rainFall {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(100px); }
}

/* Circuit Board Pattern */
.circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="2" fill="%2300ff4150"/><path d="M15,30 L45,30 M30,15 L30,45" stroke="%2300ff4130" stroke-width="1"/></svg>') repeat;
    animation: circuitFlow 4s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.2;
}

@keyframes circuitFlow {
    0%, 100% { 
        filter: brightness(1) hue-rotate(0deg);
    }
    50% { 
        filter: brightness(1.5) hue-rotate(90deg);
    }
}



/* Responsive */
@media (max-width: 768px) {
    .hero-title { 
        font-size: 2rem; 
        padding: 0 20px;
    }
    .hero-subtitle {
        padding: 0 20px;
    }
    .hero-status {
        padding: 0 20px;
    }
    .hero-cta {
        padding: 0 20px;
    }
    .radar-container { display: none; }
    .terminal { display: none; }
    .stats-panel { display: none; }
    .logo-img {
        height: 45px;
    }
    .logo-text {
        font-size: 1.6rem;
    }
    .navbar {
        padding: 1rem 0;
        min-height: 70px;
    }
    .nav-logo {
        gap: 15px;
    }
    
    /* Show hamburger menu on mobile */
    .nav-toggle {
        display: flex;
    }
    
    /* Mobile navigation menu */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 255, 65, 0.2);
        z-index: 1999;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
        border-top: 2px solid #00ff41;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 0.5rem 0;
        font-size: 1.1rem;
        display: block;
        padding: 1rem 2rem;
    }
}
}

@media (max-width: 1024px) {
    .hero-title { 
        padding: 0 320px;
    }
    .hero-subtitle {
        padding: 0 320px;
    }
    .hero-status {
        padding: 0 320px;
    }
    .hero-cta {
        padding: 0 320px;
    }
    .stats-panel { 
        width: 250px; 
        left: 1%;
    }
    .terminal { 
        width: 300px; 
        left: 1%;
    }
    .radar-container {
        width: 150px;
        height: 150px;
        right: 2%;
    }
    .logo-img {
        height: 50px;
    }
    .logo-text {
        font-size: 1.8rem;
    }
    .navbar {
        padding: 1.2rem 0;
        min-height: 80px;
    }
}
    
    .deploy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .response-metrics {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    .operations-grid {
        grid-template-columns: 1fr;
    }
}

/* Mission Brief Section */
.mission-section {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(0,255,65,0.1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.9) 100%),
        url('../images/bg-cyberpunk.jpg') center/cover;
    position: relative;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.mission-card {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff41;
    padding: 3rem 2.5rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.4s ease;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff41, #00d4ff, #ff6b35, #00ff41);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mission-card:hover::before {
    opacity: 1;
    animation: borderGlow 1.5s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { 
        background: linear-gradient(45deg, #00ff41, #00d4ff, #ff6b35, #00ff41);
        transform: scale(1);
    }
    50% { 
        background: linear-gradient(45deg, #ff6b35, #00ff41, #00d4ff, #ff6b35);
        transform: scale(1.02);
    }
}

.mission-card:hover {
    box-shadow: 0 20px 60px rgba(0, 255, 65, 0.2);
    transform: translateY(-10px);
    border-color: #00d4ff;
}

.card-icon {
    font-size: 4rem;
    color: #00ff41;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px #00ff41;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.3);
    }
}

.mission-card h3 {
    color: #00d4ff;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.mission-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.mission-card p {
    color: #ccc;
    line-height: 1.8;
    font-size: 1rem;
    text-align: left;
}

.promo-alert {
    background: rgba(255, 107, 53, 0.15);
    border: 3px solid #ff6b35;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    animation: alertPulse 2s ease-in-out infinite;
    margin: 5rem auto 4rem auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.promo-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent);
    animation: alertSweep 3s ease-in-out infinite;
}

@keyframes alertSweep {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.alert-content i {
    font-size: 2rem;
    animation: bolt 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #ff6b35);
}

@keyframes alertPulse {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
        border-color: #ff6b35;
    }
    50% { 
        box-shadow: 0 0 60px rgba(255, 107, 53, 0.8);
        border-color: #ff4757;
    }
}

@keyframes bolt {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
    }
    50% { 
        transform: scale(1.3) rotate(15deg);
    }
}

/* Allied Forces Section */
.allies-section {
    padding: 100px 0;
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,20,40,0.8) 100%),
        #000;
    position: relative;
}

.allies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 100px,
        rgba(0, 255, 65, 0.02) 100px,
        rgba(0, 255, 65, 0.02) 102px
    );
    animation: allyScroll 10s linear infinite;
}

@keyframes allyScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.allies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.8rem;
    margin: 4rem auto 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.ally-badge {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff41;
    padding: 1.8rem 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.ally-badge::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: linear-gradient(45deg, 
        rgba(0, 255, 65, 0.1), 
        rgba(0, 212, 255, 0.1), 
        rgba(0, 255, 65, 0.1));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ally-badge:hover::before {
    opacity: 1;
}

.ally-badge:hover {
    border-color: #00d4ff;
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.4);
    transform: translateY(-8px) scale(1.05);
}

.ally-badge i {
    font-size: 2rem;
    color: #00ff41;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px #00ff41);
}

.ally-badge:hover i {
    color: #00d4ff;
    filter: drop-shadow(0 0 15px #00d4ff);
    transform: scale(1.1);
}

.ally-badge span {
    color: #ccc;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.4s ease;
    line-height: 1.2;
}

.ally-badge:hover span {
    color: #fff;
}

/* Contact Protocols Section */
.contact-section {
    padding: 80px 0;
    background: 
        linear-gradient(45deg, rgba(0,212,255,0.1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.9) 100%),
        url('../images/bg-hightech.jpg') center/cover;
    position: relative;
    scroll-margin-top: 100px;
}

/* Secure Connection Animation */
.secure-connection-active {
    animation: secureConnection 2s ease-out;
}

@keyframes secureConnection {
    0% {
        box-shadow: inset 0 0 0 3px transparent;
        filter: brightness(1);
    }
    25% {
        box-shadow: inset 0 0 0 3px rgba(0, 255, 65, 0.5);
        filter: brightness(1.1);
    }
    50% {
        box-shadow: inset 0 0 0 3px rgba(0, 255, 65, 1);
        filter: brightness(1.2);
    }
    100% {
        box-shadow: inset 0 0 0 3px transparent;
        filter: brightness(1);
    }
}

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

.contact-info h3 {
    color: #00ff41;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.contact-methods-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff41;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.3);
    border-color: #00d4ff;
}

.contact-method i {
    font-size: 1.5rem;
    color: #00ff41;
    width: 30px;
    text-align: center;
}

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

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

.method-value {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.method-value:hover {
    color: #00ff41;
}

.contact-form-container h3 {
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.cyber-form input,
.cyber-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff41;
    border-radius: 5px;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cyber-form input::placeholder,
.cyber-form textarea::placeholder {
    color: #666;
}

.cyber-form input:focus,
.cyber-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.submit-btn-cyber {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4757 100%);
    color: #fff;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn-cyber:hover {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

/* Additional Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .allies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        margin: 2rem auto 0 auto;
        padding: 0 1rem;
    }
    
    .ally-badge {
        padding: 1.5rem 0.8rem;
    }
    
    .ally-badge i {
        font-size: 1.8rem;
    }
    
    .ally-badge span {
        font-size: 0.8rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .mission-card {
        padding: 2rem 1.5rem;
    }
    
    .promo-alert {
        margin: 3rem auto;
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .mission-section {
        padding: 60px 0;
    }
    
    .allies-section {
        padding: 60px 0;
    }
}

@media (max-width: 1024px) {
    .allies-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .ally-badge {
        padding: 1.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .allies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 1.5rem auto 0 auto;
        padding: 0 0.5rem;
    }
    
    .ally-badge {
        padding: 1.2rem 0.5rem;
    }
    
    .ally-badge i {
        font-size: 1.5rem;
    }
    
    .ally-badge span {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 250px;
        justify-content: center;
    }
}