:root {
  /* Color Palette - Deep Space & Neon */
  --bg-body: #0f172a;
  --bg-glass: rgba(30, 41, 59, 0.7);
  --bg-card: rgba(30, 41, 59, 0.5);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  --primary: #60a5fa;   /* Bright Blue */
  --secondary: #34d399; /* Emerald Green (Meshtastic-ish) */
  --accent: #e26d2b;    /* Orange from original site */
  
  --border-glass: rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 20px rgba(96, 165, 250, 0.15);
  
  /* Spacing */
  --header-height: 80px;
  --container-width: 1200px;
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Light Mode Override (if class added) */
body.light-mode {
  --bg-body: #f6f1e8;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-card: rgba(255, 255, 255, 0.6);
  --text-main: #0f172a;
  --text-muted: #5b6472;
  --border-glass: rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 10px 30px rgba(0,0,0,0.05);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  background-image: 
    radial-gradient(at 0% 0%, rgba(96, 165, 250, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(52, 211, 153, 0.1) 0px, transparent 50%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Layout */
.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
