:root {
    --primary-color: #00c6ff;
    --secondary-color: #0072ff;
    --dark-color: #121212;
    --darker-color: #0a0a0a;
    --light-color: #f8f9fa;
    --accent-color: #4deeea;
    --accent-2: #74ee15;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

header {
    display: none;
}

nav {
    margin: 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
}

nav a:hover {
    background: none;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Scroll bar styling */
::-webkit-scrollbar {
    width: 10px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-weight: bold;
}

.skip-link:focus {
    top: 6px;
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

/* Navigation */
.navbar {
    background-color: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
    padding: 25px 0;
    transition: all 0.3s ease;
}

/* Logo styling - enhanced for new animated logos */
.navbar-brand {
    display: flex;
    align-items: center;
    position: relative;
}

.navbar-brand i {
    color: var(--primary-color);
}

.brand-logo {
    display: flex;
    align-items: center;
}

.navbar-brand .logo-primary {
    height: 85px;
    width: auto;
    max-width: 420px;
    transition: all 0.4s ease;
    filter: brightness(1) contrast(1.1);
}

.navbar-brand:hover .logo-primary {
    transform: scale(1.02);
    filter: brightness(1.1) contrast(1.2);
}

/* Responsive logo sizing */
@media (max-width: 992px) {
    .navbar-brand .logo-primary {
        height: 75px;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .navbar-brand .logo-primary {
        height: 65px;
        max-width: 45px; /* Icon only on mobile */
    }
}

@media (max-width: 576px) {
    .navbar-brand .logo-primary {
        height: 55px;
        max-width: 55px;
    }
}

/* Enhanced logo effects and animations */
.navbar-brand .logo-primary svg {
    width: 100%;
    height: 100%;
}

/* Ensure SVG animations work */
.brand-logo svg * {
    animation-play-state: running !important;
}

/* Logo loading effect */
.navbar-brand .logo-primary {
    animation: logoFadeIn 1s ease-out;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Enhanced hover effects for the logo container */
.navbar-brand {
    border-radius: 8px;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    background: rgba(0, 198, 255, 0.05);
    backdrop-filter: blur(5px);
}

/* Navbar scroll effects with logo adjustments */
.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(8, 8, 8, 0.98) !important;
}

.navbar.scrolled .logo-primary {
    height: 65px;
}

@media (max-width: 768px) {
    .navbar.scrolled .logo-primary {
        height: 55px;
        max-width: 55px;
    }
}

.nav-link {
    position: relative;
    margin: 0 5px;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
    color: var(--light-color) !important;
    font-weight: 500;
}

.nav-link .nav-text {
    position: relative;
    z-index: 2;
}

.nav-link:hover .nav-text {
    color: var(--primary-color);
}

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

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

/* Hero Section */
.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--darker-color), #1a2a3a);
    min-height: 85vh;
}

.hero-section .container-xxl,
.hero-section .container {
    position: relative;
    z-index: 5;
    max-width: 1320px; /* Match Bootstrap's xxl container width */
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1399.98px) {
    .hero-section .container-xxl {
        max-width: 1140px; /* Match Bootstrap's xl container */
    }
}

.hero-section .row {
    width: 100%;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://placehold.co/1200x800?text=Grid+Pattern') center/cover;
    opacity: 0.1;
}

.hero-section h1 {
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(90deg, var(--light-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hexagon-wrap {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.2));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.tech-circles {
    position: absolute;
    top: 5%;
    right: -10%;
    width: 180px;
    height: 180px;
    border: 2px dashed rgba(0,198,255,0.3);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
    z-index: 1;
}

.tech-circles::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    border: 1px solid rgba(0,198,255,0.4);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

.tech-circles::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 35%;
    border: 1px solid rgba(0,198,255,0.6);
    border-radius: 50%;
    animation: rotate 7s linear infinite;
}

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

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

/* Fix the hero text being hidden behind radar elements */
.hero-section .container {
    position: relative;
    z-index: 5; /* Higher z-index to ensure text appears above radar elements */
}

.hero-section h1, 
.hero-section p, 
.hero-section .btn {
    position: relative;
    z-index: 10; /* Even higher z-index for text elements */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Optional: add shadow to improve legibility */
}

/* Fix the radar container positioning */
.radar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible; /* Allow control panel to extend outside */
}

/* Adjust the radar elements' z-index to be below the text */
.radar::before,
.radar::after,
.radar-grid,
.range-ring,
.directional-line,
.sweep {
    z-index: 1;
}

/* Keep interactive elements like signals above the grid but below the text */
.signal,
.signal-echo,
.data-point,
.cell-tower,
.cell-radius,
.triangulation-line {
    z-index: 2;
}

/* Keep alerts and important data above most elements */
.data-point.military,
.data-point.imsi,
.target-lock,
.captured-device {
    z-index: 4;
}

/* Enhanced Radar Animation for professional threat detection */
.radar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible; /* Allow control panel to extend outside */
    z-index: 1;
}

/* Radar Grid Pattern */
.radar-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140vmin;
    height: 140vmin;
    max-width: 140vh;
    max-height: 140vh;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.radar-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: 
        /* Concentric circles */
        radial-gradient(circle, transparent 24%, rgba(0,198,255,0.15) 25%, rgba(0,198,255,0.15) 25.5%, transparent 26%),
        radial-gradient(circle, transparent 49%, rgba(0,198,255,0.15) 50%, rgba(0,198,255,0.15) 50.5%, transparent 51%),
        radial-gradient(circle, transparent 74%, rgba(0,198,255,0.15) 75%, rgba(0,198,255,0.15) 75.5%, transparent 76%);
    animation: gridPulse 3s ease-in-out infinite;
}

.radar-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: 
        /* Cross lines */
        linear-gradient(0deg, transparent 49.5%, rgba(0,198,255,0.2) 50%, transparent 50.5%),
        linear-gradient(90deg, transparent 49.5%, rgba(0,198,255,0.2) 50%, transparent 50.5%),
        linear-gradient(45deg, transparent 49.5%, rgba(0,198,255,0.1) 50%, transparent 50.5%),
        linear-gradient(-45deg, transparent 49.5%, rgba(0,198,255,0.1) 50%, transparent 50.5%);
}

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

/* Main Radar Display */
.radar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140vmin;
    height: 140vmin;
    max-width: 140vh;
    max-height: 140vh;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: 
        radial-gradient(circle at 50% 50%, rgba(0,12,35,0.98) 0%, rgba(5,20,45,0.95) 70%, rgba(8,25,55,0.9) 100%),
        radial-gradient(circle at 30% 30%, rgba(0,255,100,0.02) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(0,198,255,0.02) 0%, transparent 30%);
    box-shadow: 
        0 0 60px rgba(0,198,255,0.4) inset, 
        0 0 30px rgba(0,114,255,0.3),
        0 0 80px rgba(0,198,255,0.1);
    border: 2px solid rgba(0,198,255,0.4);
    overflow: hidden;
    animation: radarPulse 4s ease-in-out infinite;
}

@keyframes radarPulse {
    0%, 100% {
        box-shadow: 
            0 0 60px rgba(0,198,255,0.4) inset, 
            0 0 30px rgba(0,114,255,0.3),
            0 0 80px rgba(0,198,255,0.1);
        border-color: rgba(0,198,255,0.4);
    }
    50% {
        box-shadow: 
            0 0 80px rgba(0,198,255,0.6) inset, 
            0 0 50px rgba(0,114,255,0.5),
            0 0 120px rgba(0,198,255,0.2);
        border-color: rgba(0,198,255,0.6);
    }
}

/* Add cellular tower grid pattern overlay */
.radar::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(0,255,100,0.8);
    box-shadow: 
        0 0 8px rgba(0,255,100,0.6),
        20px 30px 0 0 rgba(255,100,0,0.8),
        -15px 40px 0 0 rgba(0,198,255,0.8),
        35px -20px 0 0 rgba(255,255,0,0.8),
        -25px -10px 0 0 rgba(255,0,255,0.8);
    animation: signalBlink 2s infinite ease-in-out;
    z-index: 3;
}

.radar::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 25%;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255,100,0,0.8);
    box-shadow: 
        0 0 6px rgba(255,100,0,0.6),
        -30px -20px 0 0 rgba(0,255,100,0.8),
        25px 15px 0 0 rgba(0,198,255,0.8),
        -40px 30px 0 0 rgba(255,255,0,0.8),
        15px -35px 0 0 rgba(255,0,255,0.8);
    animation: signalBlink 3s infinite ease-in-out reverse;
    z-index: 3;
}

/* Range rings */
.range-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(0,198,255,0.4);
    box-shadow: 0 0 5px rgba(0,198,255,0.1);
    z-index: 1;
}

/* Directional grid lines */
.directional-line {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 1px;
    background: rgba(0,198,255,0.15);
    transform-origin: bottom center;
    z-index: 1;
}

/* Cardinal direction markers */
.cardinal-direction {
    position: absolute;
    color: rgba(0,198,255,0.8);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0,198,255,0.5);
    z-index: 3;
}

/* Range indicators */
.range-indicator {
    position: absolute;
    color: rgba(0,198,255,0.6);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    z-index: 2;
}

/* Frequency band indicators */
.frequency-band {
    position: absolute;
    color: rgba(0,198,255,0.7);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    z-index: 3;
    text-shadow: 0 0 5px rgba(0,198,255,0.5);
}

/* Mobile signal indicators */
.signal-strength {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 2px;
    z-index: 5;
}

.signal-bar {
    width: 3px;
    height: 12px;
    background-color: rgba(0,198,255,0.6);
    border-radius: 1px;
    animation: signalPulse 3s infinite;
}

.signal-bar:nth-child(2) {
    height: 8px;
    animation-delay: 0.2s;
}

.signal-bar:nth-child(3) {
    height: 5px;
    animation-delay: 0.4s;
}

.signal-bar:nth-child(4) {
    height: 3px;
    animation-delay: 0.6s;
}

/* Center point */
.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px 5px rgba(0,198,255,0.8);
    animation: pulse 2s infinite;
    z-index: 3;
}

/* Sweep animation */
.sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0,198,255,0) 0%, 
        rgba(0,198,255,0.05) 70%, 
        rgba(0,198,255,0.2) 90%, 
        rgba(0,198,255,0.4) 100%
    );
    transform-origin: right center;
    animation: sweepRotation 4s infinite linear;
    border-radius: 100% 0 0 100%;
    box-shadow: 
        0 0 20px rgba(0,198,255,0.3),
        inset 0 0 15px rgba(0,198,255,0.1);
    filter: blur(2px);
    z-index: 3;
}

.sweep::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0,255,150,0.8) 50%, 
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(0,255,150,0.8);
    animation: sweepLine 4s infinite linear;
}

@keyframes sweepRotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Radar signal dots */
.radar::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(0,255,100,0.8);
    box-shadow: 
        0 0 8px rgba(0,255,100,0.6),
        20px 30px 0 0 rgba(255,100,0,0.8),
        -15px 40px 0 0 rgba(0,198,255,0.8),
        35px -20px 0 0 rgba(255,255,0,0.8),
        -25px -10px 0 0 rgba(255,0,255,0.8);
    animation: signalBlink 2s infinite ease-in-out;
}

.radar::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 25%;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255,100,0,0.8);
    box-shadow: 
        0 0 6px rgba(255,100,0,0.6),
        -30px -20px 0 0 rgba(0,255,100,0.8),
        25px 15px 0 0 rgba(0,198,255,0.8),
        -40px 30px 0 0 rgba(255,255,0,0.8),
        15px -35px 0 0 rgba(255,0,255,0.8);
    animation: signalBlink 3s infinite ease-in-out reverse;
}

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

/* Horizontal scan line */
.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,198,255,0.1), rgba(0,198,255,0.5), rgba(0,198,255,0.1));
    box-shadow: 0 0 5px rgba(0,198,255,0.5);
    animation: scanLine 3s infinite ease-in-out;
    z-index: 2;
}

/* Signal styles */
.signal {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 8px 2px var(--primary-color);
    opacity: 0;
    animation: signalPulse 3s infinite;
    z-index: 3;
}

/* Signal types */
.signal.civilian {
    background-color: #2eccfa;
    box-shadow: 0 0 10px 3px rgba(46, 204, 250, 0.8);
}

.signal.military {
    background-color: #ff3e3e;
    box-shadow: 0 0 15px 4px rgba(255, 62, 62, 0.8);
}

.signal.aerial {
    background-color: #ffcc00;
    box-shadow: 0 0 12px 3px rgba(255, 204, 0, 0.8);
}

.signal.unknown {
    background-color: #b97eff;
    box-shadow: 0 0 10px 3px rgba(185, 126, 255, 0.7);
}

.signal.gsm {
    background-color: #38e8ff;
    box-shadow: 0 0 10px 3px rgba(56, 232, 255, 0.8);
}

.signal.umts {
    background-color: #29d6ff;
    box-shadow: 0 0 10px 3px rgba(41, 214, 255, 0.8);
}

.signal.lte {
    background-color: #00c6ff;
    box-shadow: 0 0 12px 3px rgba(0, 198, 255, 0.8);
}

.signal.fiveg {
    background-color: #0095ff;
    box-shadow: 0 0 15px 4px rgba(0, 149, 255, 0.8);
}

/* Echo animations */
.signal-echo {
    position: absolute;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    opacity: 1;
    animation: echo 3s infinite;
    z-index: 2;
}

.signal-echo.military {
    border-color: rgba(255, 62, 62, 0.7);
    box-shadow: 0 0 5px rgba(255, 62, 62, 0.3);
}

.signal-echo.civilian {
    border-color: rgba(46, 204, 250, 0.7);
    box-shadow: 0 0 5px rgba(46, 204, 250, 0.3);
}

.signal-echo.aerial {
    border-color: rgba(255, 204, 0, 0.7);
    box-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
}

.signal-echo.unknown {
    border-color: rgba(185, 126, 255, 0.7);
    box-shadow: 0 0 5px rgba(185, 126, 255, 0.3);
}

/* IMSI/IMEI specific data points */
.data-point.imsi {
    color: #38e8ff;
    text-shadow: 0 0 5px rgba(56, 232, 255, 0.8);
    border: 1px solid rgba(56, 232, 255, 0.3);
    font-family: monospace;
}

/* Data points */
.data-point {
    position: absolute;
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 0.65rem;
    text-shadow: 0 0 5px rgba(0,198,255,0.8);
    opacity: 0;
    animation: fadeInOut 4s infinite;
    z-index: 5;
    pointer-events: none;
    background: rgba(0, 20, 40, 0.7);
    padding: 3px 6px;
    border-radius: 3px;
    border: 1px solid rgba(0,198,255,0.3);
    white-space: nowrap;
}

.data-point.military {
    color: #ff3e3e;
    text-shadow: 0 0 5px rgba(255, 62, 62, 0.8);
    border: 1px solid rgba(255, 62, 62, 0.3);
}

.data-point.aerial {
    color: #ffcc00;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.8);
    border: 1px solid rgba(255, 204, 0, 0.3);
}

/* Cell towers */
.cell-tower {
    position: absolute;
    width: 8px;
    height: 12px;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.cell-tower::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(0,198,255,0.7);
    transform: rotate(45deg);
}

.cell-tower::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 3px;
    width: 2px;
    height: 6px;
    background-color: rgba(0,198,255,0.7);
}

/* Cell radius visualization */
.cell-radius {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0,198,255,0.2);
    opacity: 0.5;
    animation: pulseCell 4s infinite;
}

@keyframes pulseCell {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.3;
    }
}

/* Captured device indicator */
.captured-device {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff3e3e;
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.8);
    z-index: 4;
    animation: capturedPulse 2s infinite;
}

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

/* Triangulation lines */
.triangulation-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,62,62,0.1), rgba(255,62,62,0.5), rgba(255,62,62,0.1));
    transform-origin: 0 0;
    z-index: 2;
    opacity: 0.7;
}

/* Animation keyframes */
@keyframes sweep {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes scanLine {
    0%, 100% {
        top: 10%;
    }
    50% {
        top: 90%;
    }
}

@keyframes signalPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1);
        opacity: 0.9;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes echo {
    0% {
        width: 4px;
        height: 4px;
        opacity: 0.8;
    }
    100% {
        width: 40px;
        height: 40px;
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 0.9; }
}

@keyframes targetLock {
    0% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: scale(0.9) rotate(90deg);
        opacity: 0.7;
    }
}

/* Make radar responsive on mobile */
@media (max-width: 767.98px) {
    .radar {
        width: 100vw;
        height: 100vw;
    }
    
    .cardinal-direction {
        font-size: 0.7rem;
    }
    
    .range-indicator {
        font-size: 0.6rem;
    }
    
    .data-point {
        font-size: 0.6rem;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(90deg, var(--darker-color), #141e2a, var(--darker-color));
    border-top: 1px solid rgba(0, 198, 255, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
    padding: 30px 0;
}

.stat-item {
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-color);
    font-family: 'Orbitron', sans-serif;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.7);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-transform: uppercase;
    background: transparent;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Solution Cards */
.solution-card {
    background-color: rgba(28, 28, 38, 0.8);
    border: 1px solid rgba(0, 198, 255, 0.2);
    transition: all 0.4s ease;
    border-radius: 10px;
    overflow: hidden;
}

.solution-card:hover, 
.solution-card.active {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 198, 255, 0.2);
    border-color: var(--primary-color);
}

.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.2));
    position: relative;
}

.icon-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    z-index: -1;
    opacity: 0.7;
}

.card i {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.card-text {
    color: rgba(255, 255, 255, 0.85);
}

/* About Section */
.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.shape-1, .shape-2 {
    position: absolute;
    border-radius: 10px;
    z-index: -1;
}

.shape-1 {
    width: 60%;
    height: 60%;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    opacity: 0.3;
}

.shape-2 {
    width: 40%;
    height: 40%;
    top: -20px;
    right: -20px;
    background: linear-gradient(45deg, transparent, var(--secondary-color));
    opacity: 0.3;
}

.feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    font-size: 0.8rem;
}

/* Improved About Section Styling */
.about-panel {
    background: rgba(10, 15, 20, 0.7);
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: auto; /* Change from 100% to auto */
    min-height: 210px; /* Set minimum height */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 198, 255, 0.1);
    border-color: rgba(0, 198, 255, 0.4);
}

.about-panel-header {
    background: rgba(0, 114, 255, 0.15);
    border-bottom: 1px solid rgba(0, 198, 255, 0.3);
    padding: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    color: rgba(0, 198, 255, 0.9);
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.about-panel-header i {
    color: rgba(0, 198, 255, 1);
    margin-right: 10px;
}

.about-panel-body {
    padding: 20px;
    flex: 1;
    overflow: auto; /* Allow scrolling if content is too long */
}

.about-credentials-wrapper {
    background: rgba(10, 15, 20, 0.7);
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.credentials-header {
    background: rgba(0, 114, 255, 0.15);
    border-bottom: 1px solid rgba(0, 198, 255, 0.3);
    padding: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    color: rgba(0, 198, 255, 0.9);
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.credentials-grid {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    overflow: auto;
    flex: 1;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 5px;
}

.credential-icon {
    background: rgba(0, 114, 255, 0.1);
    width: 36px;
    height: 36px;
    min-width: 36px; /* Prevent icon from shrinking */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    color: rgba(0, 198, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.2);
}

.credential-content {
    flex: 1;
}

.credential-content h5 {
    font-size: 0.85rem;
    margin-bottom: 4px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.credential-content p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.3;
}

/* Clearance Alerts */
.clearance-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: rgba(0, 198, 255, 0.9);
    border: 1px solid rgba(0, 198, 255, 0.2);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: max-content;
}

.clearance-alert i {
    margin-right: 8px;
    flex-shrink: 0;
}

/* Container for centering clearance alerts */
.clearance-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 15px 0;
}

/* For text-center wrappers */
.text-center .clearance-alert {
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .clearance-alert {
        padding: 8px 12px;
        font-size: 0.75rem;
        flex-direction: row;
        width: auto;
        max-width: 90%;
    }
}

.credential-notice {
    background: rgba(0, 0, 0, 0.25);
    padding: 12px 15px;
    border-radius: 4px;
    border-left: 3px solid rgba(0, 198, 255, 0.7);
    color: rgba(255, 255, 255, 0.8);
}

.credential-notice i {
    color: rgba(0, 198, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .credential-item {
        margin-bottom: 10px;
    }
    
    .about-panel {
        min-height: 180px;
        margin-bottom: 15px;
    }
    
    .security-clearance-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .clearance-icon {
        margin: 0 0 15px 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .credentials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.security-clearance-banner {
    background: linear-gradient(90deg, rgba(0, 114, 255, 0.15), rgba(10, 15, 20, 0.7), rgba(0, 114, 255, 0.15));
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 15px;
}

.clearance-icon {
    background: rgba(0, 114, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: rgba(0, 198, 255, 1);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
    font-size: 1.2rem;
}

.clearance-text h5 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin-bottom: 5px;
    color: rgba(0, 198, 255, 0.9);
    letter-spacing: 1px;
}

.clearance-text p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .credentials-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .security-clearance-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .clearance-icon {
        margin: 0 0 15px 0;
    }

    .about-panel {
        height: auto;
        min-height: 200px;
    }

    .credential-item {
        margin-bottom: 15px;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(28, 28, 38, 0.8), rgba(18, 18, 28, 0.8));
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://placehold.co/1200x400?text=Tech+Pattern') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.2));
    color: var(--primary-color);
    font-size: 1rem;
}

.contact-form-card {
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-radius: 5px;
    padding: 10px 15px;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 198, 255, 0.25);
    color: var(--light-color);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Improved contrast for contact form confirmation checkbox */
.form-check-label {
    color: rgba(255, 255, 255, 0.9); /* Increased contrast from default text-muted */
    font-size: 0.9rem;
}

.form-check-input:checked {
    background-color: rgba(0, 198, 255, 0.8);
    border-color: rgba(0, 198, 255, 0.9);
    box-shadow: 0 0 5px rgba(0, 198, 255, 0.5);
}

.form-check {
    background: rgba(10, 15, 25, 0.5);
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid rgba(0, 198, 255, 0.2);
    margin-bottom: 15px;
}

/* Also improve contrast for contact form labels */
.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(0, 198, 255, 0.2);
}

footer img {
    filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.5));
    height: 40px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
    padding-left: 5px;
}

.social-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--dark-color) !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary-color);
}

.newsletter-form .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.4);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(10, 10, 10, 0.95);
        border-radius: 10px;
        padding: 15px;
        margin-top: 10px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

/* Device showcase styling */
.device-showcase {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    margin-top: 20px;
    position: relative;
}

.device-container {
    position: relative;
    z-index: 3;
    transform: rotate(-5deg) perspective(1000px) rotateY(5deg);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.device-container:hover {
    transform: rotate(-3deg) perspective(1000px) rotateY(2deg) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.device-frame {
    width: 340px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 114, 255, 0.15) inset;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.device-screen {
    width: 100%;
    height: calc(100% - 10px);
    background: #050f16;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.device-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background-color: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 4;
}

.device-buttons {
    position: absolute;
    right: -2px;
    top: 100px;
    width: 3px;
    height: 70px;
    background: linear-gradient(to bottom, #333, #222);
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.device-buttons::before {
    content: "";
    position: absolute;
    left: 0;
    top: -80px;
    width: 3px;
    height: 50px;
    background: linear-gradient(to bottom, #333, #222);
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

/* Enhanced device content */
.device-content {
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #050f16;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 198, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%),
        linear-gradient(rgba(0, 114, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 114, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
    position: relative;
    overflow: hidden;
}

/* Status bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
}

.status-indicator {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-indicator.active {
    color: rgba(0, 198, 255, 0.9);
    font-weight: bold;
}

.status-indicator.active::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00c6ff;
    border-radius: 50%;
    margin-right: 4px;
    box-shadow: 0 0 5px rgba(0, 198, 255, 0.8);
    animation: pulse 2s infinite;
}

.blink {
    animation: blink 1.5s infinite;
}

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

/* Heat map visualization */
.heat-map {
    flex: 1;
    background: #000;
    position: relative;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 198, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) inset;
}

.heat-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzPgogICAgPHJhZGlhbEdyYWRpZW50IGlkPSJoZWF0IiBjeD0iNTAlIiBjeT0iNTAlIiByPSI1MCUiIGZ4PSI1MCUiIGZ5PSI1MCUiPgogICAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdHlsZT0ic3RvcC1jb2xvcjojZmYwMDAwO3N0b3Atb3BhY2l0eTowLjYiIC8+CiAgICAgIDxzdG9wIG9mZnNldD0iMjUlIiBzdHlsZT0ic3RvcC1jb2xvcjojZmY2NjAwO3N0b3Atb3BhY2l0eTowLjQiIC8+CiAgICAgIDxzdG9wIG9mZnNldD0iNTAlIiBzdHlsZT0ic3RvcC1jb2xvcjojZmZmZjAwO3N0b3Atb3BhY2l0eTowLjMiIC8+CiAgICAgIDxzdG9wIG9mZnNldD0iNzUlIiBzdHlsZT0ic3RvcC1jb2xvcjojMDBjNmZmO3N0b3Atb3BhY2l0eTowLjIiIC8+CiAgICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3R5bGU9InN0b3AtY29sb3I6IzAwNzJmZjtzdG9wLW9wYWNpdHk6MC4xIiAvPgogICAgPC9yYWRpYWxHcmFkaWVudD4KICA8L2RlZnM+CiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNoZWF0KSIvPgo8L3N2Zz4=');
    opacity: 0.7;
    mix-blend-mode: screen;
    background-size: 100% 100%;
    animation: pulse 4s infinite alternate;
    pointer-events: none;
}

.heat-map::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 198, 255, 0.1) 25%, rgba(0, 198, 255, 0.1) 26%, transparent 27%, transparent 74%, rgba(0, 198, 255, 0.1) 75%, rgba(0, 198, 255, 0.1) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 198, 255, 0.1) 25%, rgba(0, 198, 255, 0.1) 26%, transparent 27%, transparent 74%, rgba(0, 198, 255, 0.1) 75%, rgba(0, 198, 255, 0.1) 76%, transparent 77%, transparent);
    background-size: 30px 30px;
    z-index: 0;
}

.crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 1;
}

.crosshair::before,
.crosshair::after {
    content: "";
    position: absolute;
    background-color: rgba(255, 0, 0, 0.5);
}

.crosshair::before {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

.crosshair::after {
    top: 50%;
    left: 0;
    height: 1px;
    width: 100%;
    transform: translateY(-50%);
}

/* Enhanced IMSI data panel */
.data-panel {
    background: rgba(5, 15, 25, 0.7);
    border: 1px solid rgba(0, 198, 255, 0.4);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.panel-header {
    background: rgba(0, 114, 255, 0.2);
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 198, 255, 0.3);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: rgba(0, 198, 255, 0.9);
    text-transform: uppercase;
    font-weight: bold;
}

.led-indicator {
    width: 8px;
    height: 8px;
    background-color: #ff3e3e;
    border-radius: 50%;
    box-shadow: 0 0 5px #ff3e3e;
    animation: blinkRed 1s infinite alternate;
}

@keyframes blinkRed {
    from { opacity: 1; box-shadow: 0 0 5px #ff3e3e; }
    to { opacity: 0.5; box-shadow: 0 0 10px #ff3e3e; }
}

.panel-content {
    padding: 8px;
    max-height: 140px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 198, 255, 0.5) rgba(0, 0, 0, 0.2);
}

.panel-content::-webkit-scrollbar {
    width: 5px;
}

.panel-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.panel-content::-webkit-scrollbar-thumb {
    background: rgba(0, 198, 255, 0.5);
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
}

.data-row .label {
    color: rgba(0, 198, 255, 0.8);
    width: 40px;
}

.data-row .value {
    text-align: right;
    font-weight: 600;
}

.imsi-value {
    color: #ff3e3e;
    animation: pulse 2s infinite alternate;
}

/* Screen animations */
.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 198, 255, 0.03) 51%,
        transparent 52%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
}

.device-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0) 40%
    );
    pointer-events: none;
    z-index: 3;
}

/* Enhanced tech circles */
.tech-circles {
    position: absolute;
    top: -10%;
    right: -20%;
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(0, 198, 255, 0.3);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
    z-index: 1;
}

.tech-circles::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 65%;
    height: 65%;
    border: 2px dotted rgba(0, 198, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite reverse;
}

.tech-circles::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35%;
    height: 35%;
    border: 1px solid rgba(0, 198, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 10s linear infinite;
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .device-showcase {
        padding-right: 120px; /* Create space on the right side */
    }
}

@media (max-width: 1199.98px) {
    .tech-element {
        position: relative; /* Change to relative positioning on smaller screens */
        right: auto;
        top: auto;
        margin: 10px 0;
        max-width: 100%;
        animation: fadeIn 0.5s forwards;
        transform: translateY(0);
    }
    
    .device-showcase {
        display: flex;
        flex-direction: column;
    }
    
    .tech-specs-container {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Ensure consistent spacing between About panels */
.row.gx-5 {
    row-gap: 20px;
}

/* Advanced Capabilities Section Styling */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.capability-card {
    background: rgba(10, 15, 20, 0.75);
    border: 1px solid rgba(0, 198, 255, 0.25);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 198, 255, 0.1);
    border-color: rgba(0, 198, 255, 0.5);
}

.capability-icon {
    width: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 114, 255, 0.15), rgba(10, 15, 20, 0.9));
    color: rgba(0, 198, 255, 0.9);
    font-size: 1.8rem;
}

.capability-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.capability-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: rgba(0, 198, 255, 0.9);
    letter-spacing: 1px;
    font-weight: 600;
}

.capability-spec {
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    border-left: 3px solid rgba(0, 198, 255, 0.6);
}

.spec-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.capability-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    flex: 1;
}

.capability-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 198, 255, 0.2);
}

.compliance-tag {
    background: rgba(0, 114, 255, 0.15);
    color: rgba(0, 198, 255, 0.9);
    padding: 4px 10px;
    font-size: 0.65rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.capabilities-footer {
    margin-top: 40px;
}

.clearance-notice {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 198, 255, 0.3);
}

.clearance-notice i {
    color: rgba(0, 198, 255, 0.9);
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .capability-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .capability-card {
        flex-direction: column;
    }
    
    .capability-icon {
        width: 100%;
        height: 60px;
        min-width: auto;
    }
    
    .capability-content h3 {
        text-align: center;
    }
    
    .clearance-notice {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* Tagline styling */
.tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(0, 198, 255, 0.9);
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.tagline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 198, 255, 0.8), rgba(0, 198, 255, 0));
}

@media (max-width: 767.98px) {
    .tagline {
        font-size: 1rem;
    }
    
    .tagline::after {
        width: 40%;
        left: 30%;
    }
}

/* Deployment section styling */
.deployment-banner {
    background: linear-gradient(90deg, rgba(8, 15, 25, 0.8), rgba(10, 15, 25, 0.9), rgba(8, 15, 25, 0.8));
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 800px;
}

.deployment-icon {
    background: rgba(0, 114, 255, 0.15);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: rgba(0, 198, 255, 1);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
    font-size: 1.2rem;
}

.deployment-content {
    flex: 1;
}

.deployment-content p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-align: center;
}

@media (max-width: 767.98px) {
    .deployment-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .deployment-icon {
        margin: 0 0 15px 0;
    }
    
    .deployment-content p {
        font-size: 0.9rem;
    }
}

/* Light Theme Support (for future theme switching) */
body.light-theme {
    background-color: #f8fafc;
    color: #334155;
}

body.light-theme .navbar {
    background-color: rgba(248, 250, 252, 0.95) !important;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

body.light-theme .navbar-brand .logo-primary {
    content: url('images/argus-eyes-logo-light-horizontal.svg');
}

body.light-theme .nav-link {
    color: #334155 !important;
}

body.light-theme .nav-link:hover .nav-text {
    color: #0ea5e9;
}

/* Theme Toggle Button (for future implementation) */
.theme-toggle {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(0, 198, 255, 0.1);
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.theme-toggle:hover {
    background: rgba(0, 198, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.theme-toggle i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Enhanced Contact Form Styles */
.argus-contact-form .form-control,
.argus-contact-form .form-select {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.3);
    color: var(--light-color);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.argus-contact-form .form-control:focus,
.argus-contact-form .form-select:focus {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
    color: var(--light-color);
}

.argus-contact-form .form-control::placeholder {
    color: rgba(248, 249, 250, 0.6);
}

.argus-contact-form .form-label {
    color: var(--light-color);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.argus-contact-form .form-control.is-valid {
    border-color: var(--accent-2);
    box-shadow: 0 0 10px rgba(116, 238, 21, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

.argus-contact-form .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
    background: rgba(40, 0, 0, 0.3);
}

.argus-contact-form .invalid-feedback {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 5px;
    font-weight: 500;
}

.argus-contact-form .form-check-input {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.3);
}

.argus-contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.argus-contact-form .form-check-label {
    color: var(--light-color);
    font-size: 0.9rem;
}

.argus-contact-form .form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.argus-contact-form .form-check-label a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.argus-contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.argus-contact-form .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.argus-contact-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.argus-contact-form .credential-notice {
    background: rgba(0, 198, 255, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 12px 15px;
    border-radius: 0 6px 6px 0;
    color: rgba(248, 249, 250, 0.9);
}

.argus-contact-form .form-text {
    color: #94a3b8;
    font-size: 0.8rem;
}

#char-count {
    font-weight: 500;
}

/* Form result alerts */
#form-result.alert {
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    font-weight: 500;
}

#form-result.alert-success {
    background: rgba(116, 238, 21, 0.15);
    color: var(--accent-2);
    border-left: 4px solid var(--accent-2);
}

#form-result.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    border-left: 4px solid #dc3545;
}

/* Contact form card enhancements */
.contact-form-card {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(0, 198, 255, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form-card .card-body {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.375rem;
}

/* Responsive form adjustments */
@media (max-width: 768px) {
    .argus-contact-form .btn-primary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .argus-contact-form .form-control,
    .argus-contact-form .form-select {
        padding: 10px 12px;
    }
}

/* ============================================================================
   PHASE 3: ADVANCED RADAR FEATURES - Enhanced Controls & Analytics
   ============================================================================ */

/* Geographic Grid Overlay */
.geographic-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

.grid-overlay {
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    opacity: 0.3;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.grid-lines.horizontal::before,
.grid-lines.horizontal::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.grid-lines.horizontal::before { top: 33.33%; }
.grid-lines.horizontal::after { top: 66.66%; }

.grid-lines.vertical::before,
.grid-lines.vertical::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(0deg, transparent, var(--primary-color), transparent);
}

.grid-lines.vertical::before { left: 33.33%; }
.grid-lines.vertical::after { left: 66.66%; }

.coordinate-display {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: var(--accent-color);
    border: 1px solid rgba(0, 198, 255, 0.3);
    pointer-events: auto;
}

/* Enhanced Signal Styling */
.signal.classified {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(77, 238, 234, 0.6);
}

.signal.high-power {
    transform: scale(1.3);
    animation: highPowerPulse 1.5s infinite;
}

@keyframes highPowerPulse {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.8; filter: brightness(1.2); }
}

/* ============================================================================
   IMSI REDACTION AND PRIVACY PROTECTION SYSTEM
   ============================================================================ */

/* IMSI Control Panel Styling */
.imsi-controls {
    border-top: 1px solid rgba(0, 198, 255, 0.2);
    padding-top: 15px;
    margin-top: 15px;
}

.imsi-level-buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.imsi-level-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.imsi-level-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: scale(1.05);
}

.imsi-level-btn.active {
    background: #ef4444;
    color: white;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.imsi-status {
    margin-top: 8px;
}

.imsi-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    letter-spacing: 0.3px;
}

.imsi-count span {
    color: #ef4444;
    font-weight: 600;
}

/* IMSI Display on Signals */
.imsi-display {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ef4444;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
    white-space: nowrap;
    z-index: 10;
}

.imsi-display:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

/* Different redaction level styling */
.signal[data-redaction-level="low"] .imsi-display {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
}

.signal[data-redaction-level="low"] .imsi-display:hover {
    border-color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.signal[data-redaction-level="medium"] .imsi-display {
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.3);
}

.signal[data-redaction-level="medium"] .imsi-display:hover {
    border-color: #f97316;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.signal[data-redaction-level="full"] .imsi-display {
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.5);
    background: rgba(220, 38, 38, 0.1);
}

.signal[data-redaction-level="full"] .imsi-display:hover {
    border-color: #dc2626;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

/* IMSI Access Animation */
.imsi-display.accessing {
    animation: imsiAccess 0.5s ease-in-out;
}

@keyframes imsiAccess {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); color: #fbbf24; }
    100% { transform: translateX(-50%) scale(1); }
}

/* Privacy Protection Indicator */
.privacy-indicator {
    position: absolute;
    top: -12px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.5rem;
    padding: 1px 4px;
    border-radius: 6px;
    font-weight: 600;
}

/* Security Badge for Protected Signals */
.signal.imsi-protected::before {
    content: '🔒';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.6rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px;
    border-radius: 50%;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* IMSI Audit Log Styling */
.imsi-audit-indicator {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-family: 'Orbitron', sans-serif;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.imsi-audit-indicator.show {
    opacity: 1;
}

/* Warning overlay for IMSI access */
.imsi-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(239, 68, 68, 0.1);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.imsi-warning-content {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #ef4444;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    color: white;
    max-width: 400px;
}

.imsi-warning-content h3 {
    color: #ef4444;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.imsi-warning-content p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.imsi-warning-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.imsi-warning-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.imsi-warning-btn.approve {
    background: #ef4444;
    color: white;
}

.imsi-warning-btn.deny {
    background: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.imsi-warning-btn:hover {
    transform: scale(1.05);
}

/* Responsive IMSI controls */
@media (max-width: 768px) {
    .imsi-level-buttons {
        gap: 3px;
    }
    
    .imsi-level-btn {
        padding: 3px 6px;
        font-size: 0.6rem;
    }
    
    .imsi-display {
        font-size: 0.55rem;
        padding: 1px 4px;
    }
    
    .imsi-audit-indicator {
        top: 10px;
        left: 10px;
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* Responsive Design for Advanced Features */
@media (max-width: 1024px) {
    .radar-control-panel,
    .metrics-panel {
        min-width: 200px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .radar-control-panel {
        top: 10px;
        right: 10px;
        min-width: 180px;
        font-size: 0.8rem;
    }
    
    .metrics-panel {
        bottom: 10px;
        right: 10px;
        min-width: 180px;
    }
    
    .coordinate-display {
        bottom: 10px;
        left: 10px;
        font-size: 0.6rem;
    }
    
    .filter-buttons {
        gap: 3px;
    }
    
    .filter-btn {
        padding: 4px 8px;
        font-size: 0.6rem;
    }
}

/* ============================================================================
   SPECIALIZED VERSIONS SECTION
   ============================================================================ */

#versions {
    background: linear-gradient(180deg, var(--dark-color) 0%, var(--darker-color) 100%);
    position: relative;
}

#versions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 198, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.version-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.version-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 198, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 198, 255, 0.1);
}

.version-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.version-card:hover::before {
    opacity: 1;
}

.version-header {
    display: flex;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.version-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.version-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
}

.version-icon i {
    position: relative;
    z-index: 1;
}

/* Version-specific colors */
.version-card.securitas .version-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.version-card.penates .version-icon {
    background: linear-gradient(135deg, #ffd93d, #ffcd3c);
    color: #333;
}

.version-card.concordia .version-icon {
    background: linear-gradient(135deg, #6bcf7f, #4fc3f7);
    color: white;
}

.version-card.mercurius .version-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
}

.version-info {
    flex: 1;
}

.version-info h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: var(--light-color);
    font-weight: 400;
}

.version-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.version-card.securitas .version-name {
    color: #ff6b6b;
}

.version-card.penates .version-name {
    color: #ffd93d;
}

.version-card.concordia .version-name {
    color: #6bcf7f;
}

.version-card.mercurius .version-name {
    color: #a8edea;
}

.version-purpose {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.version-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 198, 255, 0.2);
    border: 1px solid rgba(0, 198, 255, 0.4);
    border-radius: 20px;
    padding: 4px 12px;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.version-content {
    padding: 24px;
}

.version-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.version-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    width: 20px;
    margin-right: 10px;
    font-size: 0.9rem;
}

.version-card.securitas .feature-item i {
    color: #ff6b6b;
}

.version-card.penates .feature-item i {
    color: #ffd93d;
}

.version-card.concordia .feature-item i {
    color: #6bcf7f;
}

.version-card.mercurius .feature-item i {
    color: #a8edea;
}

.version-specs {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-label {
    color: rgba(255, 255, 255, 0.7);
}

.spec-value {
    color: var(--primary-color);
    font-weight: 500;
}

.version-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-version-details {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(0, 114, 255, 0.1));
    border: 1px solid rgba(0, 198, 255, 0.3);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-version-details:hover {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.2));
    border-color: rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.versions-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.versions-footer .clearance-notice {
    background: rgba(0, 198, 255, 0.1);
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 25px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-notice {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive design for versions */
@media (max-width: 768px) {
    .version-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .version-icon {
        margin-right: 0;
        margin-bottom: 12px;
        width: 50px;
        height: 50px;
    }
    
    .version-badge {
        position: static;
        align-self: flex-end;
        margin-top: 10px;
    }
    
    .spec-item {
        flex-direction: column;
        gap: 2px;
    }
    
    .version-content {
        padding: 20px;
    }
}

/* ============================================================================
   PRESENTATION MODAL STYLES
   ============================================================================ */

.presentation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.presentation-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.95), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 16px;
    overflow-y: auto;
    transition: transform 0.3s ease;
    backdrop-filter: blur(20px);
}

.presentation-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 1.5rem;
    color: white;
}

.modal-title {
    flex: 1;
}

.modal-title h2 {
    margin: 0 0 4px 0;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-family: 'Orbitron', sans-serif;
}

.modal-title p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.modal-body {
    padding: 24px;
}

.modal-body h3 {
    color: var(--primary-color);
    margin: 0 0 16px 0;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
}

.description-section {
    margin-bottom: 32px;
}

.description-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

.features-section {
    margin-bottom: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.features-grid .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.features-grid .feature-item i {
    margin-top: 2px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.features-grid .feature-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}

.specs-section {
    margin-bottom: 32px;
}

.specs-grid {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.spec-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.spec-value {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.presentation-section {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.presentation-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.btn-presentation {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(0, 114, 255, 0.1));
    border: 1px solid rgba(0, 198, 255, 0.3);
    color: var(--primary-color);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-presentation:hover {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.2));
    border-color: rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.btn-presentation.pptx i {
    color: #d24726;
}

.btn-presentation.canva i {
    color: #00c4cc;
}

.clearance-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.clearance-warning i {
    color: #ffc107;
    flex-shrink: 0;
}

.clearance-warning span {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .modal-icon {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .presentation-buttons {
        grid-template-columns: 1fr;
    }
    
    .spec-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .spec-value {
        text-align: left;
        max-width: 100%;
    }
}

/* Responsive radar control panel */
@media (max-width: 768px) {
    .radar-control-panel {
        position: static;
        margin: 10px auto;
        max-width: 100%;
        justify-content: center;
        padding: 8px;
        gap: 10px;
    }
    
    .metrics-panel {
        position: absolute;
        top: 10px;
        right: 10px;
        min-width: 180px;
        font-size: 0.75rem;
    }
    
    .control-group {
        min-width: 80px;
    }
    
    .control-slider {
        width: 60px;
    }
    
    .filter-btn {
        padding: 3px 6px;
        font-size: 0.55rem;
    }
    
    .filter-buttons-label {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .radar-control-panel {
        flex-direction: column;
        gap: 8px;
        padding: 6px;
    }
    
    .filter-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .filter-buttons-label {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
        margin-right: 0;
    }
}