
:root {
  --iot-dark: #09090b;
  --iot-dark-card: #141418;
  --iot-purple: #8b5cf6;
  --iot-purple-hover: #7c3aed;
  --iot-cyan: #06b6d4;
  --iot-border: #27272a;
  --iot-text: #f4f4f5;
  --iot-muted: #a1a1aa;
}
body.theme-electronics {
  background-color: var(--iot-dark);
  color: var(--iot-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.iot-topbar {
  background-color: #030304;
  color: #71717a;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
}
.iot-header {
  background-color: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--iot-border);
  padding: 0.85rem 0;
  position: sticky;
  top: 36px;
  z-index: 999;
}
.iot-brand-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.btn-iot-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  padding: 0.65rem 1.35rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.btn-iot-primary:hover {
  background: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
}
.tech-spec-diagram {
  background: #141418;
  border: 1px solid var(--iot-border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.tech-spec-diagram::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.iot-card {
  background: var(--iot-dark-card);
  border: 1px solid var(--iot-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.iot-card:hover {
  border-color: var(--iot-purple);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.2);
}
.iot-card-thumb {
  height: 200px;
  background: radial-gradient(circle at center, #1f1f28 0%, #141418 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--iot-border);
}
.iot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}
.iot-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.iot-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}
.iot-spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.iot-spec-label {
  color: var(--iot-muted);
}
.iot-spec-val {
  color: #f4f4f5;
  font-weight: 600;
  font-family: ui-monospace, monospace;
}
