@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --font-fraunces: "Fraunces", Georgia, serif;
  --font-ibm: "IBM Plex Sans", "Noto Sans Devanagari", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body, #root, #app { min-height: 100%; }
body {
  margin: 0;
  background: #0b1c2c;
  color: #e8eef2;
  font-family: var(--font-ibm);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.landing-hero {
  min-height: calc(100vh - 4.5rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(232,163,23,0.2), transparent 28rem),
    radial-gradient(circle at 74% 10%, rgba(47,158,107,0.2), transparent 24rem),
    linear-gradient(135deg, #08131f 0%, #0b1c2c 44%, #101827 100%);
}
.landing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}
.landing-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.signal-rail {
  background: linear-gradient(90deg, transparent, rgba(232,163,23,0.75), rgba(47,158,107,0.65), transparent);
  animation: railFlow 5.5s linear infinite;
}
.sector-orb {
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.92), rgba(232,163,23,0.92) 24%, rgba(26,51,72,0.2) 58%, rgba(11,28,44,0.05) 72%),
    conic-gradient(from 160deg, rgba(232,163,23,0.18), rgba(47,158,107,0.26), rgba(196,165,116,0.2), rgba(232,163,23,0.18));
  box-shadow: inset 0 0 40px rgba(255,255,255,0.12), 0 0 70px rgba(232,163,23,0.18);
}
.metric-tick {
  animation: metricPulse 2.8s ease-in-out infinite;
}
.glass {
  background: rgba(26, 51, 72, 0.72);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
}
.focus-ring:focus-visible {
  outline: 2px solid #e8a317;
  outline-offset: 2px;
}
.maplibregl-popup-content {
  border-radius: 0.5rem !important;
  background: rgba(26,51,72,0.95) !important;
  color: #e8eef2 !important;
  border: 1px solid rgba(196,165,116,0.3) !important;
  padding: 0 !important;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}
@keyframes railFlow {
  0% { transform: translateX(-55%); }
  100% { transform: translateX(55%); }
}
@keyframes metricPulse {
  0%, 100% { opacity: 0.55; transform: scaleX(0.92); }
  50% { opacity: 1; transform: scaleX(1); }
}
