body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 20px;
  background: linear-gradient(135deg, #243a9d 0%, #4e1488 100%);
  min-height: 100vh;
}
.demo-container {
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}
.demo-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.demo-header h1 {
  margin: 0;
  font-size: 2em;
  font-weight: 300;
}
.demo-header p {
  margin: 10px 0 0 0;
  opacity: 0.9;
}
.demo-controls {
  padding: 20px 30px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
select, button {
  padding: 8px 16px;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}
select:focus, button:focus {
  outline: none;
  border-color: #667eea;
}
button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.status-bar {
  padding: 15px 30px;
  background: #e8f5e8;
  color: #2d5a2d;
  border-bottom: 1px solid #c3e6cb;
  font-weight: 500;
}
.builder-wrapper {
  height: 700px;
  position: relative;
}
#bee-plugin-container {
  width: 100%;
  height: 100%;
}
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #667eea;
  z-index: 1000;
}
.loading-overlay.hidden {
  display: none;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 15px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.feature-showcase {
  padding: 30px;
  background: #f8f9fa;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.feature-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.feature-card h3 {
  margin: 0 0 10px 0;
  color: #667eea;
}
.feature-card p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
}