/* --- Reset and Variables --- */
:root {
    --bg-primary: #050810;
    --bg-secondary: #0a0f1d;
    --bg-card: rgba(13, 22, 41, 0.6);
    --border-color: rgba(16, 133, 255, 0.15);
    --border-glow: rgba(16, 133, 255, 0.35);
    
    --text-primary: #f0f4f8;
    --text-secondary: #8a9fc4;
    --text-muted: #536b94;
    
    --color-primary: #1085ff;
    --color-primary-glow: rgba(16, 133, 255, 0.5);
    --color-secondary: #ffd000;
    --color-danger: #ff2c55;
    --color-success: #00e676;
    
    --status-0: #ff007f;
    --status-1: #00ff00;
    --status-2: #00cc00;
    --status-3: #ff8800;
    --status-4: #ff8b8b;
    --status-5: #ffff00;
    --status-6: #9e9e9e;
    --status-7: #ff55ff;
    --status-8: #55ccff;
    --status-9: #88ff88;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-telemetry: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-glow: 0 0 20px rgba(16, 133, 255, 0.25);
    --shadow-danger-glow: 0 0 20px rgba(255, 44, 85, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- Grid and Scanline Effects --- */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.35;
}

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(16, 133, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 133, 255, 0.04) 1px, transparent 1px);
    z-index: -1;
    pointer-events: none;
}

/* --- Container --- */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 133, 255, 0.3);
}

.btn-primary:hover {
    background-color: #3399ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 133, 255, 0.5);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 208, 0, 0.2);
}

.btn-secondary:hover {
    background-color: #ffe04d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 208, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: rgba(250, 250, 250, 0.15);
    color: var(--text-primary);
}

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

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    box-shadow: 0 0 12px var(--color-primary-glow);
    opacity: 0.5;
    transition: var(--transition);
}

.btn-glow:hover::after {
    box-shadow: 0 0 24px var(--color-primary);
    opacity: 0.8;
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.main-header {
    background-color: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.logo-img {
    height: 38px;
    width: auto;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-icon {
    font-size: 1.5rem;
}

.accent-text {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(16, 133, 255, 0.4);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* --- Hero Section --- */
.hero-section {
    padding: 6rem 0 4rem;
    position: relative;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge-new {
    align-self: flex-start;
    background: rgba(16, 133, 255, 0.15);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 8px rgba(16, 133, 255, 0.25);
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    background: linear-gradient(to right, #ffffff 60%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-telemetry);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(16, 133, 255, 0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Radar Simulator --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar-container {
    width: 320px;
    height: 320px;
    border: 1px solid rgba(16, 133, 255, 0.2);
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle, rgba(16, 133, 255, 0.05) 0%, transparent 70%);
    box-shadow: inset 0 0 30px rgba(16, 133, 255, 0.1);
}

.radar-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(16, 133, 255, 0.15);
}

.radar-container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(16, 133, 255, 0.15);
}

.radar-grid {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border: 1px dashed rgba(16, 133, 255, 0.15);
    border-radius: 50%;
}

.radar-grid::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border: 1px dotted rgba(16, 133, 255, 0.1);
    border-radius: 50%;
}

.radar-sweep {
    position: absolute;
    width: 160px;
    height: 160px;
    background: linear-gradient(45deg, rgba(16, 133, 255, 0.3) 0%, transparent 80%);
    transform-origin: bottom right;
    top: 0;
    left: 0;
    border-radius: 100% 0 0 0;
    animation: radar-sweep-anim 8s linear infinite;
}

.radar-target {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--color-danger);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-danger);
    animation: target-blink 2s ease-in-out infinite;
}

@keyframes radar-sweep-anim {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes target-blink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* --- Features Section --- */
.features-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 8px var(--color-primary);
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Simulator Section --- */
.simulator-section {
    padding: 5rem 0;
}

.simulator-wrapper {
    background: #090e18;
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    margin-top: 1.5rem;
}

.simulator-header {
    background: #0d1624;
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.online {
    background-color: var(--color-success);
    box-shadow: 0 0 8px var(--color-success);
    animation: target-blink 1.5s ease-in-out infinite;
}

.simulator-time {
    color: var(--color-secondary);
    text-shadow: 0 0 6px rgba(255, 208, 0, 0.3);
}

.simulator-grid {
    display: grid;
    grid-template-columns: 320px 1fr 340px;
    min-height: 480px;
}

.sim-panel {
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.sim-panel:last-child {
    border-right: none;
}

.panel-header {
    background-color: #0b121f;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #ffffff;
}

.sim-controls {
    padding: 1.25rem;
    background-color: #070b13;
}

.sim-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-select, .form-input {
    background-color: #0d1522;
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 0.65rem 0.8rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-select:focus, .form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 8px rgba(16, 133, 255, 0.25);
}

.sim-incidents {
    padding: 1.25rem;
    background-color: #06090f;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.sim-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.sim-table th {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.sim-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.sim-table tr:hover {
    background-color: rgba(16, 133, 255, 0.05);
}

.sim-resources {
    padding: 1.25rem;
    background-color: #080d16;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.resource-box {
    background: #0d1522;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.resource-box:hover {
    border-color: var(--color-primary);
}

.resource-name {
    font-family: var(--font-telemetry);
    font-weight: 700;
    font-size: 0.95rem;
}

.resource-type {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.resource-status-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.25rem;
}

.badge-status {
    font-family: var(--font-mono);
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000000;
}

.status-0 { background-color: var(--status-0); color: #ffffff; }
.status-1 { background-color: var(--status-1); }
.status-2 { background-color: var(--status-2); }
.status-3 { background-color: var(--status-3); }
.status-4 { background-color: var(--status-4); }
.status-5 { background-color: var(--status-5); }
.status-6 { background-color: var(--status-6); color: #ffffff; }
.status-7 { background-color: var(--status-7); color: #ffffff; }
.status-8 { background-color: var(--status-8); }
.status-9 { background-color: var(--status-9); }

.resource-box.active-dispatch {
    animation: glow-pulse-blue 1.5s infinite alternate;
}

@keyframes glow-pulse-blue {
    from {
        border-color: var(--border-color);
        box-shadow: 0 0 2px rgba(16, 133, 255, 0.1);
    }
    to {
        border-color: var(--color-primary);
        box-shadow: 0 0 10px rgba(16, 133, 255, 0.4);
    }
}

.simulator-footer {
    background: #0b121f;
    border-top: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.legend-title {
    font-weight: 700;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
}

.sim-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.center-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.premium-card {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-glow);
    background: rgba(16, 133, 255, 0.03);
}

.premium-card:hover {
    border-color: var(--color-primary-glow);
    box-shadow: 0 0 35px rgba(16, 133, 255, 0.4);
}

.plan-badge {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.flagship-badge {
    background-color: var(--color-danger);
    border-color: var(--color-danger);
    color: #ffffff;
    box-shadow: var(--shadow-danger-glow);
    animation: target-blink 2.5s infinite;
}

.plan-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--color-success);
    font-weight: 700;
}

.plan-features li strong {
    color: #ffffff;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 5rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(16, 133, 255, 0.3);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 200px;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-column a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1.5rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .simulator-grid {
        grid-template-columns: 1fr;
    }
    
    .sim-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .sim-panel:last-child {
        border-bottom: none;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .pricing-container {
        grid-template-columns: 1fr;
    }
}

/* --- Map Simulator Styles --- */
.map-vehicle-tag {
    display: flex;
    align-items: center;
    background: #0d1522;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: var(--font-sans);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
}
@keyframes status-3-blink {
    0%, 100% {
        border-color: var(--status-3);
        box-shadow: 0 0 8px rgba(255, 208, 0, 0.3);
    }
    50% {
        border-color: #0066ff;
        box-shadow: 0 0 16px rgba(0, 102, 255, 0.8);
    }
}
@keyframes status-0-blink {
    0%, 100% {
        border-color: var(--status-0);
        box-shadow: 0 0 8px rgba(255, 0, 127, 0.4);
    }
    50% {
        border-color: #ff0044;
        box-shadow: 0 0 20px rgba(255, 0, 68, 1);
    }
}
.map-vehicle-tag.status-border-0 {
    animation: status-0-blink 0.8s infinite ease-in-out;
}
.map-vehicle-tag.status-border-1 { border-color: var(--status-1); box-shadow: 0 0 8px rgba(0, 255, 0, 0.25); }
.map-vehicle-tag.status-border-2 { border-color: var(--status-2); box-shadow: 0 0 8px rgba(0, 204, 0, 0.25); }
.map-vehicle-tag.status-border-3 { 
    animation: status-3-blink 1.2s infinite ease-in-out; 
}
.map-vehicle-tag.status-border-4 { border-color: var(--status-4); box-shadow: 0 0 8px rgba(255, 139, 139, 0.25); }
.map-vehicle-tag.status-border-5 { border-color: var(--status-5); box-shadow: 0 0 8px rgba(255, 255, 0, 0.25); }
.map-vehicle-tag.status-border-6 { border-color: var(--status-6); box-shadow: 0 0 8px rgba(158, 158, 158, 0.25); }
.map-vehicle-tag.status-border-7 { border-color: var(--status-7); box-shadow: 0 0 8px rgba(255, 85, 255, 0.25); }
.map-vehicle-tag.status-border-8 { border-color: var(--status-8); box-shadow: 0 0 8px rgba(85, 204, 255, 0.25); }
.map-vehicle-tag.status-border-9 { border-color: var(--status-9); box-shadow: 0 0 8px rgba(136, 255, 136, 0.25); }


.map-vehicle-status {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border-radius: 2px;
    margin-right: 6px;
    color: #000000;
}
.map-vehicle-details {
    display: flex;
    flex-direction: column;
}
.map-vehicle-name {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-telemetry);
}
.map-vehicle-type {
    font-size: 0.6rem;
    color: var(--text-muted);
    line-height: 1;
    margin-top: 1px;
}

/* Incident Pulse */
.map-incident-pulse {
    width: 12px;
    height: 12px;
    background: var(--color-danger);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-danger);
    position: relative;
}
.map-incident-pulse::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    border: 2px solid var(--color-danger);
    border-radius: 50%;
    top: -12px;
    left: -12px;
    animation: map-pulse-anim 1.5s infinite ease-out;
    opacity: 0;
}
@keyframes map-pulse-anim {
    0% { transform: scale(0.3); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* Leaflet Custom Overrides */
.leaflet-container {
    background: #050810 !important;
}
.leaflet-bar {
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-glow) !important;
}
.leaflet-bar a {
    background-color: #0d1522 !important;
    color: #ffffff !important;
    border-bottom: 1px solid var(--border-color) !important;
}
.leaflet-bar a:hover {
    background-color: #1085ff !important;
}

.ecosystem-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow) !important;
    box-shadow: var(--shadow-glow);
}

