/* ===========================================
   DEMO PAGE STYLES
   =========================================== */

/* Navigation */
.demo-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(55, 183, 255, 0.2);
  transition: all 0.3s ease;
}

.demo-nav.scrolled {
  background: rgba(10, 15, 26, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--neon-blue);
  text-decoration: none;
}

.brand-icon {
  width: 20px;
  height: 20px;
  color: var(--neon-blue);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--neon-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Color Controls */
.color-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  height: 100%;
}

/* Floating Badge */
.floating-badge {
  position: absolute;
  top: calc(100% + 8px);
  left: calc(50% - 96px);
  transform: translateX(-50%);
  z-index: 1001;
}


/* New Feature Badge */
.new-feature-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e, #ffa8a8, #ff6b6b);
  background-size: 400% 400%;
  border-radius: 25px;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4), 0 0 30px rgba(255, 107, 107, 0.2);
  animation: pulse 1.5s infinite, gradientShift 3s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
  overflow: visible;
  width: fit-content;
}

.new-feature-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

.badge-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.badge-text {
  font-size: 14px;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  animation: textGlow 2s ease-in-out infinite alternate;
}

.badge-subtext {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  animation: textBounce 1.8s ease-in-out infinite;
}

.badge-emoji {
  width: 16px;
  height: 16px;
  animation: spin 3s linear infinite;
}

.badge-arrows {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 2px;
  z-index: 1;
}

.arrow {
  width: 16px;
  height: 16px;
  animation: bounceUp 1.2s infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.arrow-1 {
  animation-delay: 0s;
}

.arrow-2 {
  animation-delay: 0.15s;
}

.arrow-3 {
  animation-delay: 0.3s;
}

.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 12px;
  height: 12px;
  animation: sparkleFloat 2s ease-in-out infinite;
}

.sparkle-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 20%;
  right: 15%;
  animation-delay: 0.5s;
}

.sparkle-3 {
  bottom: 15%;
  left: 20%;
  animation-delay: 1s;
}

.sparkle-4 {
  bottom: 10%;
  right: 10%;
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4), 0 0 30px rgba(255, 107, 107, 0.2);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6), 0 0 40px rgba(255, 107, 107, 0.3);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
  }
  100% {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.6);
  }
}

@keyframes textBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bounceUp {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
  60% {
    transform: translateY(-2px);
  }
}

@keyframes sparkleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-8px) scale(1.2);
    opacity: 1;
  }
}

/* ===========================================
   TODO COMPONENT
   =========================================== */

.todo-container {
  background: var(--surface);
  border: 1px solid rgba(55, 183, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.todo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(55, 183, 255, 0.1);
}

.todo-header h5 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.todo-stats {
  font-size: 12px;
  color: var(--muted);
}

.todo-count {
  background: rgba(55, 183, 255, 0.1);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(55, 183, 255, 0.2);
}

.todo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.todo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(55, 183, 255, 0.05);
  border: 1px solid rgba(55, 183, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.todo-item:hover {
  background: rgba(55, 183, 255, 0.1);
  border-color: rgba(55, 183, 255, 0.3);
  transform: translateX(2px);
}

.todo-item[data-completed="true"] {
  opacity: 0.6;
  background: rgba(55, 183, 255, 0.02);
}

.todo-item[data-completed="true"] .todo-text {
  text-decoration: line-through;
  color: var(--muted);
}

.todo-checkbox {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.todo-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.todo-checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(55, 183, 255, 0.4);
  border-radius: 4px;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.todo-checkmark::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--neon-blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.3s ease;
}

.todo-input:checked + .todo-checkmark {
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: 0 0 8px rgba(55, 183, 255, 0.4);
}

.todo-input:checked + .todo-checkmark::after {
  opacity: 1;
  border-color: var(--bg);
}

.todo-text {
  flex: 1;
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s ease;
}

.todo-delete {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0;
}

.todo-item:hover .todo-delete {
  opacity: 1;
}

.todo-delete:hover {
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.todo-add {
  display: flex;
  gap: 8px;
  align-items: center;
}

.todo-input-field {
  flex: 1;
  background: rgba(55, 183, 255, 0.05);
  border: 1px solid rgba(55, 183, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s ease;
}

.todo-input-field:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 8px rgba(55, 183, 255, 0.2);
  background: rgba(55, 183, 255, 0.1);
}

.todo-input-field::placeholder {
  color: var(--muted);
}

.todo-add-btn {
  padding: 8px 16px;
  font-size: 12px;
}

.color-slider-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(55, 183, 255, 0.1);
  border: 1px solid rgba(55, 183, 255, 0.2);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.color-slider-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.color-number-display {
  font-size: 11px;
  font-weight: 500;
  color: var(--neon-blue);
  text-align: center;
  min-width: 30px;
  padding: 2px 4px;
  background: rgba(55, 183, 255, 0.1);
  border: 1px solid rgba(55, 183, 255, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.color-slider {
  width: 120px;
  height: 6px;
  background: linear-gradient(to right, 
    hsl(0, 70%, 60%) 0%, 
    hsl(60, 70%, 60%) 16.66%, 
    hsl(120, 70%, 60%) 33.33%, 
    hsl(180, 70%, 60%) 50%, 
    hsl(240, 70%, 60%) 66.66%, 
    hsl(300, 70%, 60%) 83.33%, 
    hsl(360, 70%, 60%) 100%);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

.color-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--text);
  border: 2px solid var(--bg);
  border-radius: 50%;
  cursor: grab;
  box-shadow: var(--thumb-shadow, 0 0 8px rgba(55, 183, 255, 0.5));
  transition: all 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.color-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: var(--thumb-shadow-hover, 0 0 12px rgba(55, 183, 255, 0.8));
}

.color-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
}

.color-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--text);
  border: 2px solid var(--bg);
  border-radius: 50%;
  cursor: grab;
  box-shadow: var(--thumb-shadow, 0 0 8px rgba(55, 183, 255, 0.5));
  transition: all 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.color-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: var(--thumb-shadow-hover, 0 0 12px rgba(55, 183, 255, 0.8));
}

.color-slider::-moz-range-thumb:active {
  cursor: grabbing;
}

.color-preview {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--text);
  background: hsl(200, 70%, 60%);
  box-shadow: 0 0 8px rgba(55, 183, 255, 0.3);
  transition: all 0.3s ease;
}

.restore-default-btn {
  padding: 6px 12px;
  border: none;
  background: rgba(55, 183, 255, 0.1);
  border: 1px solid rgba(55, 183, 255, 0.3);
  border-radius: 16px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.restore-default-btn:hover {
  background: rgba(55, 183, 255, 0.2);
  border-color: rgba(55, 183, 255, 0.5);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(55, 183, 255, 0.3);
}

.restore-default-btn:active {
  transform: scale(0.95);
}


/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, rgba(55, 183, 255, 0.1) 0%, rgba(154, 77, 255, 0.1) 100%);
  border-bottom: 1px solid rgba(55, 183, 255, 0.2);
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(55, 183, 255, 0.1);
  border: 1px solid rgba(55, 183, 255, 0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-blue);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 24px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(55, 183, 255, 0.3);
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Demo-specific styles moved from inline styles */
.fab-demo {
  position: relative;
  bottom: auto;
  right: auto;
}

.stats-grid-demo {
  grid-template-columns: repeat(3, 1fr);
}

.install-code-margin {
  margin-bottom: 8px;
}

.component-showcase-margin {
  margin-top: 32px;
}

.demo-description {
  margin-bottom: 16px;
}

.code-block-demo {
  display: block;
  white-space: pre-wrap;
  font-family: monospace;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--neon-blue);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Main Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Sections */
.section {
  margin-bottom: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.section-description {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Component Groups */
.component-group {
  margin-bottom: 48px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(55, 183, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.component-header {
  margin-bottom: 32px;
}

.component-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--neon-blue);
}

.component-description {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.component-showcase {
  display: grid;
  gap: 32px;
}

.showcase-group {
  padding: 24px;
  background: var(--panel);
  border: 1px solid rgba(55, 183, 255, 0.1);
  border-radius: 12px;
}

/* Showcase item */
.showcase-item {
  margin-bottom: 24px;
}

.showcase-item:last-child {
  margin-bottom: 0;
}

.showcase-item-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--neon-blue);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(55, 183, 255, 0.2);
  padding-bottom: 4px;
}

.showcase-label {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text);
}

.showcase-note {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
  font-style: italic;
}

.sidebar-demo-description {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Examples Grid */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.example-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(55, 183, 255, 0.2);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(55, 183, 255, 0.2);
}

.example-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--neon-blue);
}

.example-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.example-description {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Installation Grid */
.installation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.install-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(55, 183, 255, 0.2);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.install-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(55, 183, 255, 0.2);
}

.install-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.install-icon {
  width: 24px;
  height: 24px;
  color: var(--neon-blue);
}

.install-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.install-description {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.5;
}

.install-code {
  margin-bottom: 20px;
}

.install-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-badge {
  padding: 4px 8px;
  background: rgba(55, 183, 255, 0.1);
  border: 1px solid rgba(55, 183, 255, 0.3);
  border-radius: 12px;
  font-size: 12px;
  color: var(--neon-blue);
  font-weight: 500;
}

/* Footer */
.demo-footer {
  background: var(--panel);
  border-top: 1px solid rgba(55, 183, 255, 0.2);
  padding: 48px 0 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  text-align: center;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--neon-blue);
  margin-bottom: 16px;
}

.footer-description {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--neon-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(55, 183, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Code block styling */
.code-block {
  background: var(--panel);
  padding: 12px 16px;
  border-radius: 8px;
  display: block;
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--text);
  border: 1px solid rgba(55, 183, 255, 0.2);
  overflow-x: auto;
}

/* Progress bar demo styling */
.demo-progress {
  width: 60%;
}

/* Section heading styling */
.section-heading {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--neon-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .color-controls {
    display: flex;
  }
  
  .new-feature-badge {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .main-container {
    padding: 60px 16px;
  }
  
  .component-group {
    padding: 24px;
  }
  
  .examples-grid,
  .installation-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===========================================
   SIDEBAR DEMO MODAL STYLES
   =========================================== */

#sidebarDemoModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  overflow: auto;
}

#sidebarDemoModal.active {
  display: block;
}

.sidebar-demo-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 2px solid var(--neon-blue);
  border-radius: 12px;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  z-index: 10002;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.sidebar-demo-close-btn:hover {
  background: rgba(55, 183, 255, 0.1);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(55, 183, 255, 0.3);
}

.sidebar-demo-container {
  padding: 80px 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.sidebar-demo-title {
  text-align: center;
  margin-bottom: 32px;
  font-size: 32px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#sidebarDemoContent {
  margin-left: 300px;
  padding: 40px;
  min-height: 600px;
  transition: margin-left 0.3s ease;
}

.sidebar-demo-content-inner {
  max-width: 800px;
}

.sidebar-demo-section-title {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text);
}

.sidebar-demo-grid {
  display: grid;
  gap: 20px;
}

.sidebar-demo-feature-card {
  padding: 20px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid rgba(55, 183, 255, 0.2);
}

.sidebar-demo-feature-card h4 {
  margin: 0 0 8px;
  color: var(--neon-blue);
}

.sidebar-demo-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.sidebar-demo-tips {
  margin-top: 40px;
  padding: 24px;
  background: rgba(55, 183, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(55, 183, 255, 0.2);
}

.sidebar-demo-tips h4 {
  margin: 0 0 12px;
  color: var(--text);
}

.sidebar-demo-tips ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.sidebar-demo-tips strong {
  color: var(--text);
}

.sidebar-user-dropdown-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

@media (max-width: 768px) {
  #sidebarDemoContent {
    margin-left: 0;
  }
  
  .sidebar-demo-container {
    padding: 80px 16px 40px;
  }
}

