/* Satellite Navigation Monitoring Style - Split GIS Layout */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Exo+2:wght@300;400;600&display=swap');

:root {
    --sat-bg-dark: #050b14;
    --sat-bg-panel: #0a111c;
    --sat-border: #1e3a5f;
    --sat-accent: #00ffcc; /* Radar Green */
    --sat-alert: #ff3366;
    --sat-text: #8b9bb4;
    --sat-white: #e2e8f0;
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--sat-bg-dark);
    color: var(--sat-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow: hidden; /* Prevent body scroll, handle in panels */
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--sat-white); text-transform: uppercase; letter-spacing: 2px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border: 1px solid var(--sat-border); filter: grayscale(100%) sepia(50%) hue-rotate(100deg) brightness(1.2); }
img:hover { filter: none; }

/* Layout: Split GIS Interface */
.gis-interface {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* --- LEFT PANEL (Control & Info Stream) --- */
.gis-sidebar {
    width: 40%;
    min-width: 400px;
    max-width: 600px;
    height: 100vh;
    overflow-y: auto;
    background: var(--sat-bg-panel);
    border-right: 1px solid var(--sat-border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.gis-sidebar::-webkit-scrollbar { width: 6px; }
.gis-sidebar::-webkit-scrollbar-track { background: var(--sat-bg-dark); }
.sidebar-scrollbar::-webkit-scrollbar-thumb { background: var(--sat-border); }

/* Top Nav in Sidebar */
.sat-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-bottom: 1px solid var(--sat-border);
    padding-bottom: 20px;
}
.sat-brand { font-family: var(--font-head); font-size: 2rem; color: var(--sat-accent); font-weight: 900; }
.sat-brand span { font-size: 0.8rem; color: var(--sat-text); border: 1px solid var(--sat-text); padding: 2px 5px; margin-left: 10px; vertical-align: middle; }
.nav-links { display: flex; flex-wrap: wrap; gap: 15px; font-size: 0.85rem; font-family: var(--font-head); }
.nav-links a:hover { color: var(--sat-accent); }
.nav-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.lang-switch { font-size: 0.8rem; border: 1px solid var(--sat-border); padding: 2px 8px; }

/* Buttons */
.btn-sat {
    display: inline-block;
    background: rgba(0, 255, 204, 0.1);
    color: var(--sat-accent);
    border: 1px solid var(--sat-accent);
    font-family: var(--font-head);
    padding: 12px 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
}
.btn-sat:hover { background: var(--sat-accent); color: var(--sat-bg-dark); box-shadow: 0 0 15px rgba(0, 255, 204, 0.4); }
.btn-sat.alert { border-color: var(--sat-alert); color: var(--sat-alert); background: rgba(255, 51, 102, 0.1); }
.btn-sat.alert:hover { background: var(--sat-alert); color: var(--sat-white); box-shadow: 0 0 15px rgba(255, 51, 102, 0.4); }

/* Hero Text in Sidebar */
.sat-hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sat-hero h1 { font-size: 3rem; line-height: 1.1; }
.sat-hero p { font-size: 1.1rem; }
.hero-actions { display: flex; gap: 15px; }

/* Features (Payloads) */
.sat-section-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--sat-white);
    border-left: 3px solid var(--sat-accent);
    padding-left: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}
.sat-section-title::after { content: 'SYS.OK'; font-size: 0.7rem; color: var(--sat-accent); }

.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feat-item { border: 1px solid var(--sat-border); padding: 20px; background: rgba(0,0,0,0.2); }
.feat-item img { height: 100px; width: 100%; object-fit: cover; margin-bottom: 15px; }
.feat-item h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--sat-accent); }

/* Pricing (Bandwidth Leases) */
.price-list { display: flex; flex-direction: column; gap: 15px; }
.price-tier { border: 1px solid var(--sat-border); padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.price-tier.pro { border-color: var(--sat-accent); background: rgba(0, 255, 204, 0.05); }
.tier-info h4 { font-size: 1.1rem; margin-bottom: 5px; }
.tier-info .price { font-family: var(--font-head); font-size: 1.8rem; color: var(--sat-white); }
.tier-info .price span { font-size: 0.9rem; color: var(--sat-text); }
.tier-specs { list-style: none; font-size: 0.85rem; margin-top: 10px; }
.tier-specs li::before { content: '+ '; color: var(--sat-accent); }

/* FAQ (Troubleshooting) */
.faq-list { display: flex; flex-direction: column; gap: 15px; }
.faq-item { border-bottom: 1px dashed var(--sat-border); padding-bottom: 15px; }
.faq-q { font-family: var(--font-head); font-size: 0.95rem; color: var(--sat-white); margin-bottom: 5px; }
.faq-q::before { content: 'Q: '; color: var(--sat-alert); }
.faq-a { font-size: 0.9rem; padding-left: 20px; }

.sat-footer { margin-top: 40px; border-top: 1px solid var(--sat-border); padding-top: 20px; font-size: 0.8rem; text-align: center; }

/* --- RIGHT PANEL (Satellite Map View) --- */
.gis-map-view {
    flex: 1;
    position: relative;
    background-color: #020408;
    background-image: 
        radial-gradient(circle at center, rgba(0, 255, 204, 0.05) 0%, transparent 60%),
        linear-gradient(rgba(30, 58, 95, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.2) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    background-position: center;
    overflow: hidden;
}

/* Scanning Line Animation */
.gis-map-view::after {
    content: '';
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 20%;
    background: linear-gradient(to bottom, transparent, rgba(0, 255, 204, 0.1), transparent);
    animation: scan 6s linear infinite;
    pointer-events: none;
}
@keyframes scan { 0% { top: -20%; } 100% { top: 120%; } }

/* Floating Overlays on Map */
.map-overlay {
    position: absolute;
    background: rgba(10, 17, 28, 0.8);
    border: 1px solid var(--sat-border);
    backdrop-filter: blur(5px);
    padding: 20px;
}
.overlay-title { font-family: var(--font-head); font-size: 0.8rem; color: var(--sat-accent); margin-bottom: 15px; border-bottom: 1px solid var(--sat-border); padding-bottom: 5px; }

/* Top Left: Trust Signals */
.overlay-trust { top: 30px; left: 30px; width: 250px; }
.trust-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.85rem; }
.trust-item::before { content: ''; width: 8px; height: 8px; background: var(--sat-accent); border-radius: 50%; box-shadow: 0 0 5px var(--sat-accent); }

/* Top Right: Telemetry Data */
.overlay-data { top: 30px; right: 30px; width: 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.data-metric { text-align: right; }
.data-metric .val { font-family: var(--font-head); font-size: 1.5rem; color: var(--sat-white); line-height: 1; }
.data-metric .lbl { font-size: 0.75rem; text-transform: uppercase; }

/* Center: Node Constellation */
.overlay-nodes { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; max-width: 600px; background: transparent; border: none; backdrop-filter: none; }
.node-map-container { position: relative; width: 100%; padding-top: 60%; border: 1px dashed var(--sat-border); border-radius: 50%; }
.node-point { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -50%); }
.np-dot { width: 12px; height: 12px; background: var(--sat-accent); border-radius: 50%; box-shadow: 0 0 10px var(--sat-accent); animation: pulse 2s infinite; }
.np-label { font-family: var(--font-head); font-size: 0.75rem; color: var(--sat-white); margin-top: 5px; background: rgba(0,0,0,0.5); padding: 2px 5px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(0, 255, 204, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0); } }

/* Positioning Nodes */
.np-1 { top: 30%; left: 80%; } /* Tokyo */
.np-2 { top: 60%; left: 75%; } /* SGP */
.np-3 { top: 40%; left: 20%; } /* NYC */
.np-4 { top: 35%; left: 45%; } /* LON */
.np-5 { top: 45%; left: 78%; } /* HKG */

/* Bottom: Intercepted Reviews */
.overlay-reviews { bottom: 30px; left: 30px; right: 30px; display: flex; gap: 20px; }
.review-card { flex: 1; border-left: 2px solid var(--sat-accent); padding-left: 15px; }
.rev-meta { font-family: var(--font-head); font-size: 0.75rem; color: var(--sat-text); margin-bottom: 5px; display: flex; justify-content: space-between; }
.rev-text { font-size: 0.9rem; color: var(--sat-white); font-style: italic; }

/* Subpages Setup */
.sub-content { padding: 40px 0; }
.dl-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.dl-card { border: 1px solid var(--sat-border); padding: 30px; display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.2); }
.dl-info h3 { color: var(--sat-accent); margin-bottom: 5px; }

/* Responsive */
@media (max-width: 1200px) {
    .gis-sidebar { width: 45%; }
    .overlay-reviews { flex-direction: column; width: 300px; right: auto; }
}
@media (max-width: 992px) {
    .gis-interface { flex-direction: column; overflow: auto; }
    .gis-sidebar { width: 100%; max-width: none; height: auto; border-right: none; border-bottom: 1px solid var(--sat-border); overflow: visible; }
    .gis-map-view { width: 100%; height: 800px; flex: none; }
    .overlay-nodes { width: 90%; }
}
@media (max-width: 768px) {
    .hero-actions { flex-direction: column; }
    .price-tier { grid-template-columns: 1fr; text-align: center; }
    .overlay-data { position: static; width: 100%; margin-bottom: 20px; }
    .overlay-trust { position: static; width: 100%; margin-bottom: 20px; }
    .gis-map-view { display: flex; flex-direction: column; padding: 20px; height: auto; }
    .overlay-nodes { position: relative; transform: none; top: 0; left: 0; width: 100%; margin: 40px 0; }
    .overlay-reviews { position: static; width: 100%; }
}
