:root {
  /* Colors - Deep Tech / Cyberpunk Minimalist */
  --bg-primary: #0a0a0c;
  --bg-secondary: #141417;
  --accent-primary: #00f2ff;
  --accent-glow: rgba(0, 242, 255, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #8e8e93;
  --border-color: #2c2c2e;
  
  /* Typography */
  --font-main: 'JetBrains Mono', monospace;
  --font-display: 'Inter', system-ui, sans-serif;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 80px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

/* Background Texture */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: var(--space-lg);
}

.interface-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.interface-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
}

.brand-tag {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
}

.status-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.status-label.state-off {
  color: var(--text-secondary);
  opacity: 0.5;
}

.status-label.state-on {
  color: var(--accent-primary);
  text-shadow: 0 0 20px var(--accent-glow);
}

/* The Switch */
.switch-container {
  position: relative;
  width: 120px;
  height: 50px;
}

.switch-link {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  position: relative;
  text-decoration: none;
  transition: border-color 0.3s ease;
}

.switch-link:hover {
  border-color: var(--text-secondary);
}

.switch-toggle {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 40px;
  height: 40px;
  background: var(--text-secondary);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.27, 1.55);
}

.switch-link.on .switch-toggle {
  left: calc(100% - 45px);
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
}

.switch-labels {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  pointer-events: none;
  font-size: 10px;
  font-weight: 900;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.switch-link.on .switch-labels .label-yes {
  color: #000;
  z-index: 2;
}

.switch-link:not(.on) .switch-labels .label-no {
  color: #000;
  z-index: 2;
}

/* Decorative Elements */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 242, 255, 0.05);
  animation: scan 4s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { top: 0%; }
  100% { top: 100%; }
}

.system-meta {
  margin-top: var(--space-2xl);
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 9px;
  color: var(--text-secondary);
  font-family: var(--font-main);
  opacity: 0.4;
}
