:root {
    --bg-color: #0B0F14;
    --panel-surface: #121A22;
    --border-color: #2C3B49;
    --accent: #3DDC97;
    --secondary: #FFB454;
    --text-main: #E6EDF3;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-body: 'Noto Sans SC', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 100px 100px;
    background-position: center;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(11, 15, 20, 0.85); /* Dimming the background grid */
    z-index: -1;
}

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

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

/* Typography */
h1, h2, h3, .numeral {
    font-family: var(--font-heading);
    font-weight: 700;
}

.micro-label, .btn, nav a, .table-cell {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
}

/* Panels */
.panel {
    background-color: var(--panel-surface);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    position: relative;
    background-image: 
        linear-gradient(rgba(44, 59, 73, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 59, 73, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
}

.panel-header {
    border-bottom: 1px solid var(--border-color);
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(11, 15, 20, 0.5);
}

.panel-content {
    padding: 40px;
}

/* Live Dots */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.7); }
    50% { opacity: 0.5; box-shadow: 0 0 0 4px rgba(61, 220, 151, 0); }
    100% { opacity: 1; box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

.blink {
    animation: blinker 1s step-end infinite;
    color: var(--accent);
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Navbar */
.navbar {
    border-bottom: 1px solid var(--border-color);
    background: var(--panel-surface);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-main);
}

.nav-links a {
    margin-left: 30px;
    color: var(--text-main);
    opacity: 0.7;
    transition: all 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
    opacity: 1;
}

/* Logo Radar */
.logo-radar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    position: relative;
    margin-right: 15px;
    overflow: hidden;
}

.radar-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed var(--border-color);
    border-radius: 50%;
    width: 100%; height: 100%;
}

.radar-ring.inner {
    width: 50%; height: 50%;
}

.radar-sweep {
    position: absolute;
    top: 50%; left: 50%;
    width: 50%; height: 50%;
    background: conic-gradient(from 0deg, rgba(61, 220, 151, 0) 0%, rgba(61, 220, 151, 0.1) 100%);
    transform-origin: 0% 0%;
    animation: sweep 4s linear infinite;
}

@keyframes sweep {
    to { transform: rotate(360deg); }
}

.flight-route {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.flight-route polyline {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
}

.flight-route circle {
    fill: var(--accent);
}

.pulsing-waypoint {
    fill: var(--accent);
    filter: drop-shadow(0 0 4px var(--accent));
}

/* Hero */
.hero {
    margin-top: 40px;
}

.headline {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero p {
    font-size: 16px;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
    line-height: 20px;
}

.btn:hover {
    background: var(--accent);
    color: var(--bg-color);
}

.btn.alt-btn {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn.alt-btn:hover {
    background: var(--secondary);
    color: var(--bg-color);
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.data-card {
    border: 1px solid var(--border-color);
    padding: 20px;
    background: rgba(18, 26, 34, 0.8);
}

.data-card-header {
    font-family: var(--font-mono);
    color: var(--secondary);
    font-size: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.data-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.data-card p {
    font-size: 14px;
    opacity: 0.7;
}

/* Pricing Table */
.data-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.data-table th {
    font-family: var(--font-mono);
    font-weight: normal;
    font-size: 12px;
    color: var(--secondary);
    background: rgba(11, 15, 20, 0.8);
}

.data-table td {
    font-family: var(--font-mono);
    font-size: 14px;
}

.data-table tr:hover {
    background: rgba(44, 59, 73, 0.3);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.numeral {
    color: var(--accent);
    font-size: 18px;
}

/* Footer Links */
.footer-panel {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.footer-panel a {
    font-family: var(--font-mono);
    font-size: 12px;
    opacity: 0.5;
}

.footer-panel a:hover {
    opacity: 1;
    color: var(--accent);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .btn { text-align: center; }
    .headline { font-size: 28px; }
}

/* Article Cards */
.article-card {
    border: 1px solid var(--border-color);
    background: rgba(18, 26, 34, 0.8);
    padding: 25px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.article-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(61, 220, 151, 0.1);
}
.card-meta {
    font-family: var(--font-mono);
    color: var(--secondary);
    font-size: 11px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}
.article-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-main);
}
.article-card p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 25px;
    flex-grow: 1;
}
.article-card .btn {
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 12px;
    min-height: 36px;
}

/* Article Page */
.article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}
.breadcrumb {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--secondary);
    margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-main); }
.breadcrumb a:hover { color: var(--accent); }
.article-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    opacity: 0.6;
    margin-top: 15px;
    display: flex;
    gap: 20px;
}
.article-body h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--text-main);
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 10px;
}
.article-body h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 30px 0 15px;
}
.article-body p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #cbd5e1;
}
.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: #cbd5e1;
}
.article-body li {
    margin-bottom: 10px;
}
.article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 4px;
}
.article-body a:hover {
    color: var(--secondary);
}
.related-articles {
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

/* Floating Tools */
.floating-tools {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}
.float-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    background: rgba(11, 15, 20, 0.85);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
    text-decoration: none;
}
.float-btn:hover {
    background: var(--accent);
    color: var(--bg-color);
    border-color: var(--accent);
}

/* Hero Image */
.hero-image-wrapper {
    margin-top: 30px;
    border: 1px solid var(--border-color);
    padding: 10px;
    background: rgba(18, 26, 34, 0.5);
    position: relative;
}
.hero-image-wrapper::before {
    content: "SYS.VISUAL // MISSION_CONTROL";
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--bg-color);
    padding: 0 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--secondary);
}
.hero-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
    filter: contrast(1.1) brightness(0.9);
    transition: all 0.5s;
}
.hero-img:hover {
    opacity: 1;
    filter: contrast(1) brightness(1);
}
