/* Cyber-Physical Matrix Design System - Promotor.biz */
:root {
  --surface-default: #0f131c;
  --surface-lowest: #0a0e17;
  --surface-low: #131722;
  --surface-mid: #181f2f;
  --surface-high: #222a3e;
  --surface-highest: #2c364e;
  --cyan-glow: #00f0ff;
  --cyan-muted: #00bcd4;
  --magenta-glow: #ff007f;
  --telemetry-green: #00e676;
  --telemetry-yellow: #ffd600;
  --telemetry-red: #ff1744;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--surface-default);
  color: #f1f5f9;
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}

/* Subtle Cyber Grid Background */
.cyber-grid {
  background-image:
    linear-gradient(to right, rgba(0, 240, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Glow Utilities */
.shadow-cyan-glow {
  box-shadow: 0 0 25px -5px rgba(0, 240, 255, 0.25);
}

.shadow-magenta-glow {
  box-shadow: 0 0 25px -5px rgba(255, 0, 127, 0.25);
}

.card-cyber {
  background-color: var(--surface-low);
  border: 1px solid #1f2636;
  border-radius: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card-cyber:hover {
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 0 25px -5px rgba(0, 240, 255, 0.2);
}

.card-cyber-magenta:hover {
  border-color: rgba(255, 0, 127, 0.45);
  box-shadow: 0 0 25px -5px rgba(255, 0, 127, 0.2);
}

/* Custom Range Input for Calculators & Smart Home Controls */
input[type="range"].cyber-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #1f2636;
  border-radius: 9999px;
  outline: none;
}

input[type="range"].cyber-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00f0ff;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
  border: 2px solid #0a0e17;
}

input[type="range"].cyber-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00f0ff;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
  border: 2px solid #0a0e17;
}

/* Mobile Menu */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
}
#mobile-menu.hidden-menu {
  transform: translateX(100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0e17;
}
::-webkit-scrollbar-thumb {
  background: #222a3e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00bcd4;
}
